diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..8c39c0594bb61cdd7c95a1e2ea886d39ba2387df 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +cache/webpack/client-production/0.pack filter=lfs diff=lfs merge=lfs -text +cache/webpack/client-production/index.pack filter=lfs diff=lfs merge=lfs -text +cache/webpack/edge-server-production/0.pack filter=lfs diff=lfs merge=lfs -text +cache/webpack/server-production/0.pack filter=lfs diff=lfs merge=lfs -text +cache/webpack/server-production/index.pack filter=lfs diff=lfs merge=lfs -text +static/media/EmojiOneColor.0121da88.woff2 filter=lfs diff=lfs merge=lfs -text diff --git a/BUILD_ID b/BUILD_ID new file mode 100644 index 0000000000000000000000000000000000000000..f59cab92de23f49b76b7beac0b38a0a654fe38e9 --- /dev/null +++ b/BUILD_ID @@ -0,0 +1 @@ +YqlqDnQDm-iyhuuwlKaBS \ No newline at end of file diff --git a/app-build-manifest.json b/app-build-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..65d942b9beeb311bbecbf01a9e7c99e41bd550ed --- /dev/null +++ b/app-build-manifest.json @@ -0,0 +1,44 @@ +{ + "pages": { + "/_not-found/page": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/fd9d1056-43fa94a246f00ae5.js", + "static/chunks/23-d9753b926737e028.js", + "static/chunks/main-app-569fa6067ce26e25.js", + "static/chunks/app/_not-found/page-9364bf4ad247e60b.js" + ], + "/layout": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/fd9d1056-43fa94a246f00ae5.js", + "static/chunks/23-d9753b926737e028.js", + "static/chunks/main-app-569fa6067ce26e25.js", + "static/css/b316092d6e638128.css", + "static/css/82f62eb1d3c473d2.css", + "static/chunks/app/layout-1681915e2606683d.js" + ], + "/login/page": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/fd9d1056-43fa94a246f00ae5.js", + "static/chunks/23-d9753b926737e028.js", + "static/chunks/main-app-569fa6067ce26e25.js", + "static/chunks/231-bbb88541883d0442.js", + "static/chunks/app/login/page-0c9bac9b8c54aa9c.js" + ], + "/page": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/fd9d1056-43fa94a246f00ae5.js", + "static/chunks/23-d9753b926737e028.js", + "static/chunks/main-app-569fa6067ce26e25.js", + "static/css/780e3421e6a81e10.css", + "static/css/fdd0463956fb52ba.css", + "static/css/c75df1c048895661.css", + "static/css/d0d9d365675bcf3b.css", + "static/chunks/609137f5-4bd446340650f68b.js", + "static/chunks/3baf5dbb-ed8dea615ac54336.js", + "static/chunks/b714f034-8213c9155ace647b.js", + "static/chunks/231-bbb88541883d0442.js", + "static/chunks/956-8850d7531e12447d.js", + "static/chunks/app/page-941f86cb5e7d79ba.js" + ] + } +} \ No newline at end of file diff --git a/app-path-routes-manifest.json b/app-path-routes-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..c7c09a565fea60d33fc0ab78a175155694bf6951 --- /dev/null +++ b/app-path-routes-manifest.json @@ -0,0 +1 @@ +{"/_not-found/page":"/_not-found","/login/page":"/login","/favicon.ico/route":"/favicon.ico","/api/create-user/route":"/api/create-user","/page":"/","/auth/sign-up/route":"/auth/sign-up","/auth/sign-out/route":"/auth/sign-out","/auth/callback/route":"/auth/callback","/auth/sign-in/route":"/auth/sign-in"} \ No newline at end of file diff --git a/build-manifest.json b/build-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..3d9c27f7fe00c39d4a055f302e671174ef53370b --- /dev/null +++ b/build-manifest.json @@ -0,0 +1,32 @@ +{ + "polyfillFiles": [ + "static/chunks/polyfills-78c92fac7aa8fdd8.js" + ], + "devFiles": [], + "ampDevFiles": [], + "lowPriorityFiles": [ + "static/YqlqDnQDm-iyhuuwlKaBS/_buildManifest.js", + "static/YqlqDnQDm-iyhuuwlKaBS/_ssgManifest.js" + ], + "rootMainFiles": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/fd9d1056-43fa94a246f00ae5.js", + "static/chunks/23-d9753b926737e028.js", + "static/chunks/main-app-569fa6067ce26e25.js" + ], + "pages": { + "/_app": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/framework-00a8ba1a63cfdc9e.js", + "static/chunks/main-4821cc7b300ef656.js", + "static/chunks/pages/_app-037b5d058bd9a820.js" + ], + "/_error": [ + "static/chunks/webpack-2466ab9636493fdd.js", + "static/chunks/framework-00a8ba1a63cfdc9e.js", + "static/chunks/main-4821cc7b300ef656.js", + "static/chunks/pages/_error-6ae619510b1539d6.js" + ] + }, + "ampFirstPages": [] +} \ No newline at end of file diff --git a/cache/.tsbuildinfo b/cache/.tsbuildinfo new file mode 100644 index 0000000000000000000000000000000000000000..55ba426dfb436c2198a260ea347540a1b665087c --- /dev/null +++ b/cache/.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/next/dist/styled-jsx/types/css.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/next/dist/styled-jsx/types/index.d.ts","../../node_modules/next/dist/styled-jsx/types/macro.d.ts","../../node_modules/next/dist/styled-jsx/types/style.d.ts","../../node_modules/next/dist/styled-jsx/types/global.d.ts","../../node_modules/next/dist/shared/lib/amp.d.ts","../../node_modules/next/amp.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/next/dist/server/get-page-files.d.ts","../../node_modules/@types/react/next.d.ts","../../node_modules/@types/react/experimental.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/react-dom/next.d.ts","../../node_modules/@types/react-dom/experimental.d.ts","../../node_modules/next/dist/compiled/webpack/webpack.d.ts","../../node_modules/next/dist/server/config.d.ts","../../node_modules/next/dist/lib/load-custom-routes.d.ts","../../node_modules/next/dist/shared/lib/image-config.d.ts","../../node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.d.ts","../../node_modules/next/dist/server/body-streams.d.ts","../../node_modules/next/dist/server/future/route-kind.d.ts","../../node_modules/next/dist/server/future/route-definitions/route-definition.d.ts","../../node_modules/next/dist/server/future/route-matches/route-match.d.ts","../../node_modules/next/dist/client/components/app-router-headers.d.ts","../../node_modules/next/dist/server/request-meta.d.ts","../../node_modules/next/dist/server/lib/revalidate.d.ts","../../node_modules/next/dist/server/config-shared.d.ts","../../node_modules/next/dist/server/base-http/index.d.ts","../../node_modules/next/dist/server/api-utils/index.d.ts","../../node_modules/next/dist/server/node-environment.d.ts","../../node_modules/next/dist/server/require-hook.d.ts","../../node_modules/next/dist/server/node-polyfill-crypto.d.ts","../../node_modules/next/dist/lib/page-types.d.ts","../../node_modules/next/dist/build/analysis/get-page-static-info.d.ts","../../node_modules/next/dist/build/webpack/loaders/get-module-build-info.d.ts","../../node_modules/next/dist/build/webpack/plugins/middleware-plugin.d.ts","../../node_modules/next/dist/server/render-result.d.ts","../../node_modules/next/dist/server/future/helpers/i18n-provider.d.ts","../../node_modules/next/dist/server/web/next-url.d.ts","../../node_modules/next/dist/compiled/@edge-runtime/cookies/index.d.ts","../../node_modules/next/dist/server/web/spec-extension/cookies.d.ts","../../node_modules/next/dist/server/web/spec-extension/request.d.ts","../../node_modules/next/dist/server/web/spec-extension/fetch-event.d.ts","../../node_modules/next/dist/server/web/spec-extension/response.d.ts","../../node_modules/next/dist/server/web/types.d.ts","../../node_modules/next/dist/lib/setup-exception-listeners.d.ts","../../node_modules/next/dist/lib/constants.d.ts","../../node_modules/next/dist/build/index.d.ts","../../node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.d.ts","../../node_modules/next/dist/shared/lib/router/utils/route-regex.d.ts","../../node_modules/next/dist/shared/lib/router/utils/route-matcher.d.ts","../../node_modules/next/dist/shared/lib/router/utils/parse-url.d.ts","../../node_modules/next/dist/server/base-http/node.d.ts","../../node_modules/next/dist/server/font-utils.d.ts","../../node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.d.ts","../../node_modules/next/dist/server/future/route-modules/route-module.d.ts","../../node_modules/next/dist/server/load-components.d.ts","../../node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.d.ts","../../node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.d.ts","../../node_modules/next/dist/server/future/route-definitions/locale-route-definition.d.ts","../../node_modules/next/dist/server/future/route-definitions/pages-route-definition.d.ts","../../node_modules/next/dist/shared/lib/mitt.d.ts","../../node_modules/next/dist/client/with-router.d.ts","../../node_modules/next/dist/client/router.d.ts","../../node_modules/next/dist/client/route-loader.d.ts","../../node_modules/next/dist/client/page-loader.d.ts","../../node_modules/next/dist/shared/lib/bloom-filter.d.ts","../../node_modules/next/dist/shared/lib/router/router.d.ts","../../node_modules/next/dist/shared/lib/router-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/loadable.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/image-config-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.d.ts","../../node_modules/next/dist/server/future/route-definitions/app-page-route-definition.d.ts","../../node_modules/next/dist/shared/lib/modern-browserslist-target.d.ts","../../node_modules/next/dist/shared/lib/constants.d.ts","../../node_modules/next/dist/build/webpack/loaders/metadata/types.d.ts","../../node_modules/next/dist/build/page-extensions-type.d.ts","../../node_modules/next/dist/build/webpack/loaders/next-app-loader.d.ts","../../node_modules/next/dist/server/lib/app-dir-module.d.ts","../../node_modules/next/dist/server/response-cache/types.d.ts","../../node_modules/next/dist/server/response-cache/index.d.ts","../../node_modules/next/dist/server/lib/incremental-cache/index.d.ts","../../node_modules/next/dist/client/components/hooks-server-context.d.ts","../../node_modules/next/dist/server/app-render/dynamic-rendering.d.ts","../../node_modules/next/dist/client/components/static-generation-async-storage-instance.d.ts","../../node_modules/next/dist/client/components/static-generation-async-storage.external.d.ts","../../node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.d.ts","../../node_modules/next/dist/server/async-storage/draft-mode-provider.d.ts","../../node_modules/next/dist/server/web/spec-extension/adapters/headers.d.ts","../../node_modules/next/dist/client/components/request-async-storage-instance.d.ts","../../node_modules/next/dist/client/components/request-async-storage.external.d.ts","../../node_modules/next/dist/server/app-render/create-error-handler.d.ts","../../node_modules/next/dist/server/app-render/app-render.d.ts","../../node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/amp-context.shared-runtime.d.ts","../../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/entrypoints.d.ts","../../node_modules/next/dist/server/future/route-modules/app-page/module.compiled.d.ts","../../node_modules/@types/react/jsx-runtime.d.ts","../../node_modules/next/dist/client/components/error-boundary.d.ts","../../node_modules/next/dist/client/components/router-reducer/create-initial-router-state.d.ts","../../node_modules/next/dist/client/components/app-router.d.ts","../../node_modules/next/dist/client/components/layout-router.d.ts","../../node_modules/next/dist/client/components/render-from-template-context.d.ts","../../node_modules/next/dist/client/components/action-async-storage-instance.d.ts","../../node_modules/next/dist/client/components/action-async-storage.external.d.ts","../../node_modules/next/dist/client/components/client-page.d.ts","../../node_modules/next/dist/client/components/search-params.d.ts","../../node_modules/next/dist/client/components/not-found-boundary.d.ts","../../node_modules/next/dist/server/app-render/rsc/preloads.d.ts","../../node_modules/next/dist/server/app-render/rsc/postpone.d.ts","../../node_modules/next/dist/server/app-render/rsc/taint.d.ts","../../node_modules/next/dist/server/app-render/entry-base.d.ts","../../node_modules/next/dist/build/templates/app-page.d.ts","../../node_modules/next/dist/server/future/route-modules/app-page/module.d.ts","../../node_modules/next/dist/server/app-render/types.d.ts","../../node_modules/next/dist/client/components/router-reducer/fetch-server-response.d.ts","../../node_modules/next/dist/client/components/router-reducer/router-reducer-types.d.ts","../../node_modules/next/dist/shared/lib/app-router-context.shared-runtime.d.ts","../../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/entrypoints.d.ts","../../node_modules/next/dist/server/future/route-modules/pages/module.compiled.d.ts","../../node_modules/next/dist/build/templates/pages.d.ts","../../node_modules/next/dist/server/future/route-modules/pages/module.d.ts","../../node_modules/next/dist/server/render.d.ts","../../node_modules/next/dist/server/future/route-definitions/pages-api-route-definition.d.ts","../../node_modules/next/dist/server/future/route-matches/pages-api-route-match.d.ts","../../node_modules/next/dist/server/future/route-matchers/route-matcher.d.ts","../../node_modules/next/dist/server/future/route-matcher-providers/route-matcher-provider.d.ts","../../node_modules/next/dist/server/future/route-matcher-managers/route-matcher-manager.d.ts","../../node_modules/next/dist/server/future/normalizers/normalizer.d.ts","../../node_modules/next/dist/server/future/normalizers/locale-route-normalizer.d.ts","../../node_modules/next/dist/server/future/normalizers/request/pathname-normalizer.d.ts","../../node_modules/next/dist/server/future/normalizers/request/suffix.d.ts","../../node_modules/next/dist/server/future/normalizers/request/rsc.d.ts","../../node_modules/next/dist/server/future/normalizers/request/prefix.d.ts","../../node_modules/next/dist/server/future/normalizers/request/postponed.d.ts","../../node_modules/next/dist/server/future/normalizers/request/action.d.ts","../../node_modules/next/dist/server/future/normalizers/request/prefetch-rsc.d.ts","../../node_modules/next/dist/server/future/normalizers/request/next-data.d.ts","../../node_modules/next/dist/server/base-server.d.ts","../../node_modules/next/dist/server/image-optimizer.d.ts","../../node_modules/next/dist/server/next-server.d.ts","../../node_modules/next/dist/lib/coalesced-function.d.ts","../../node_modules/next/dist/server/lib/router-utils/types.d.ts","../../node_modules/next/dist/trace/types.d.ts","../../node_modules/next/dist/trace/trace.d.ts","../../node_modules/next/dist/trace/shared.d.ts","../../node_modules/next/dist/trace/index.d.ts","../../node_modules/next/dist/build/load-jsconfig.d.ts","../../node_modules/next/dist/build/webpack-config.d.ts","../../node_modules/next/dist/build/webpack/plugins/define-env-plugin.d.ts","../../node_modules/next/dist/build/swc/index.d.ts","../../node_modules/next/dist/server/dev/parse-version-info.d.ts","../../node_modules/next/dist/server/dev/hot-reloader-types.d.ts","../../node_modules/next/dist/telemetry/storage.d.ts","../../node_modules/next/dist/server/lib/types.d.ts","../../node_modules/next/dist/server/lib/render-server.d.ts","../../node_modules/next/dist/server/lib/router-server.d.ts","../../node_modules/next/dist/shared/lib/router/utils/path-match.d.ts","../../node_modules/next/dist/server/lib/router-utils/filesystem.d.ts","../../node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.d.ts","../../node_modules/next/dist/server/lib/dev-bundler-service.d.ts","../../node_modules/next/dist/server/dev/static-paths-worker.d.ts","../../node_modules/next/dist/server/dev/next-dev-server.d.ts","../../node_modules/next/dist/server/next.d.ts","../../node_modules/next/dist/lib/metadata/types/alternative-urls-types.d.ts","../../node_modules/next/dist/lib/metadata/types/extra-types.d.ts","../../node_modules/next/dist/lib/metadata/types/metadata-types.d.ts","../../node_modules/next/dist/lib/metadata/types/manifest-types.d.ts","../../node_modules/next/dist/lib/metadata/types/opengraph-types.d.ts","../../node_modules/next/dist/lib/metadata/types/twitter-types.d.ts","../../node_modules/next/dist/lib/metadata/types/metadata-interface.d.ts","../../node_modules/next/types/index.d.ts","../../node_modules/next/dist/shared/lib/html-context.shared-runtime.d.ts","../../node_modules/@next/env/dist/index.d.ts","../../node_modules/next/dist/shared/lib/utils.d.ts","../../node_modules/next/dist/pages/_app.d.ts","../../node_modules/next/app.d.ts","../../node_modules/next/dist/server/web/spec-extension/unstable-cache.d.ts","../../node_modules/next/dist/server/web/spec-extension/revalidate.d.ts","../../node_modules/next/dist/server/web/spec-extension/unstable-no-store.d.ts","../../node_modules/next/cache.d.ts","../../node_modules/next/dist/shared/lib/runtime-config.external.d.ts","../../node_modules/next/config.d.ts","../../node_modules/next/dist/pages/_document.d.ts","../../node_modules/next/document.d.ts","../../node_modules/next/dist/shared/lib/dynamic.d.ts","../../node_modules/next/dynamic.d.ts","../../node_modules/next/dist/pages/_error.d.ts","../../node_modules/next/error.d.ts","../../node_modules/next/dist/shared/lib/head.d.ts","../../node_modules/next/head.d.ts","../../node_modules/next/dist/client/components/draft-mode.d.ts","../../node_modules/next/dist/client/components/headers.d.ts","../../node_modules/next/headers.d.ts","../../node_modules/next/dist/shared/lib/get-img-props.d.ts","../../node_modules/next/dist/client/image-component.d.ts","../../node_modules/next/dist/shared/lib/image-external.d.ts","../../node_modules/next/image.d.ts","../../node_modules/next/dist/client/link.d.ts","../../node_modules/next/link.d.ts","../../node_modules/next/dist/client/components/redirect-status-code.d.ts","../../node_modules/next/dist/client/components/redirect.d.ts","../../node_modules/next/dist/client/components/not-found.d.ts","../../node_modules/next/dist/client/components/navigation.react-server.d.ts","../../node_modules/next/dist/client/components/navigation.d.ts","../../node_modules/next/navigation.d.ts","../../node_modules/next/router.d.ts","../../node_modules/next/dist/client/script.d.ts","../../node_modules/next/script.d.ts","../../node_modules/next/dist/server/web/spec-extension/user-agent.d.ts","../../node_modules/next/dist/compiled/@edge-runtime/primitives/url.d.ts","../../node_modules/next/dist/server/web/spec-extension/image-response.d.ts","../../node_modules/next/dist/compiled/@vercel/og/satori/index.d.ts","../../node_modules/next/dist/compiled/@vercel/og/emoji/index.d.ts","../../node_modules/next/dist/compiled/@vercel/og/types.d.ts","../../node_modules/next/server.d.ts","../../node_modules/next/types/global.d.ts","../../node_modules/next/types/compiled.d.ts","../../node_modules/next/index.d.ts","../../node_modules/next/image-types/global.d.ts","../../next-env.d.ts","../../node_modules/@supabase/functions-js/dist/module/types.d.ts","../../node_modules/@supabase/functions-js/dist/module/FunctionsClient.d.ts","../../node_modules/@supabase/functions-js/dist/module/index.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/types.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/PostgrestBuilder.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/select-query-parser.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/PostgrestTransformBuilder.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/PostgrestFilterBuilder.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/PostgrestQueryBuilder.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/PostgrestClient.d.ts","../../node_modules/@supabase/postgrest-js/dist/cjs/index.d.ts","../../node_modules/@types/ws/index.d.ts","../../node_modules/@supabase/realtime-js/dist/module/lib/constants.d.ts","../../node_modules/@supabase/realtime-js/dist/module/lib/serializer.d.ts","../../node_modules/@supabase/realtime-js/dist/module/lib/timer.d.ts","../../node_modules/@supabase/realtime-js/dist/module/lib/push.d.ts","../../node_modules/@types/phoenix/index.d.ts","../../node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts","../../node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts","../../node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts","../../node_modules/@supabase/realtime-js/dist/module/index.d.ts","../../node_modules/@supabase/storage-js/dist/module/lib/errors.d.ts","../../node_modules/@supabase/storage-js/dist/module/lib/types.d.ts","../../node_modules/@supabase/storage-js/dist/module/lib/fetch.d.ts","../../node_modules/@supabase/storage-js/dist/module/packages/StorageFileApi.d.ts","../../node_modules/@supabase/storage-js/dist/module/packages/StorageBucketApi.d.ts","../../node_modules/@supabase/storage-js/dist/module/StorageClient.d.ts","../../node_modules/@supabase/storage-js/dist/module/index.d.ts","../../node_modules/@supabase/auth-js/dist/module/lib/error-codes.d.ts","../../node_modules/@supabase/auth-js/dist/module/lib/errors.d.ts","../../node_modules/@supabase/auth-js/dist/module/lib/types.d.ts","../../node_modules/@supabase/auth-js/dist/module/lib/fetch.d.ts","../../node_modules/@supabase/auth-js/dist/module/GoTrueAdminApi.d.ts","../../node_modules/@supabase/auth-js/dist/module/lib/helpers.d.ts","../../node_modules/@supabase/auth-js/dist/module/GoTrueClient.d.ts","../../node_modules/@supabase/auth-js/dist/module/AuthAdminApi.d.ts","../../node_modules/@supabase/auth-js/dist/module/AuthClient.d.ts","../../node_modules/@supabase/auth-js/dist/module/lib/locks.d.ts","../../node_modules/@supabase/auth-js/dist/module/index.d.ts","../../node_modules/@supabase/supabase-js/dist/module/lib/types.d.ts","../../node_modules/@supabase/supabase-js/dist/module/lib/SupabaseAuthClient.d.ts","../../node_modules/@supabase/supabase-js/dist/module/SupabaseClient.d.ts","../../node_modules/@supabase/supabase-js/dist/module/index.d.ts","../../node_modules/@supabase/auth-helpers-shared/dist/index.d.ts","../../node_modules/@supabase/auth-helpers-nextjs/dist/index.d.ts","../../middleware.ts","../../node_modules/stream-chat/dist/types/base64.d.ts","../../node_modules/axios/index.d.ts","../../node_modules/stream-chat/node_modules/@types/ws/index.d.ts","../../node_modules/stream-chat/node_modules/isomorphic-ws/index.d.ts","../../node_modules/stream-chat/dist/types/connection.d.ts","../../node_modules/stream-chat/dist/types/events.d.ts","../../node_modules/stream-chat/dist/types/permissions.d.ts","../../node_modules/stream-chat/dist/types/types.d.ts","../../node_modules/stream-chat/dist/types/channel_state.d.ts","../../node_modules/stream-chat/dist/types/channel.d.ts","../../node_modules/stream-chat/dist/types/client_state.d.ts","../../node_modules/@types/jsonwebtoken/index.d.ts","../../node_modules/stream-chat/dist/types/token_manager.d.ts","../../node_modules/stream-chat/dist/types/connection_fallback.d.ts","../../node_modules/stream-chat/dist/types/campaign.d.ts","../../node_modules/stream-chat/dist/types/segment.d.ts","../../node_modules/stream-chat/dist/types/insights.d.ts","../../node_modules/stream-chat/dist/types/thread.d.ts","../../node_modules/stream-chat/dist/types/client.d.ts","../../node_modules/stream-chat/dist/types/signing.d.ts","../../node_modules/form-data/index.d.ts","../../node_modules/stream-chat/dist/types/utils.d.ts","../../node_modules/stream-chat/dist/types/index.d.ts","../../app/api/create-user/route.ts","../../app/auth/callback/route.ts","../../app/auth/sign-in/route.ts","../../app/auth/sign-out/route.ts","../../app/auth/sign-up/route.ts","../../app/hooks/useDraggable.ts","../../app/hooks/index.ts","../../node_modules/react-player/base.d.ts","../../node_modules/react-player/dailymotion.d.ts","../../node_modules/react-player/facebook.d.ts","../../node_modules/react-player/file.d.ts","../../node_modules/react-player/mixcloud.d.ts","../../node_modules/react-player/soundcloud.d.ts","../../node_modules/react-player/twitch.d.ts","../../node_modules/react-player/vidyard.d.ts","../../node_modules/react-player/vimeo.d.ts","../../node_modules/react-player/wistia.d.ts","../../node_modules/react-player/youtube.d.ts","../../node_modules/react-player/lib/index.d.ts","../../node_modules/stream-chat-react/dist/components/Loading/LoadingIndicator.d.ts","../../node_modules/stream-chat-react/dist/types/types.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileIcon/mimeTypes.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileIcon/iconMap.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileIcon/index.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/types.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FilePreviewer.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/FileUploadButton.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/ImageDropzone.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/ImagePreviewer.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/ImageUploadButton.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/LoadingIndicator.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/Thumbnail.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/UploadButton.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/utils.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/icons/index.d.ts","../../node_modules/stream-chat-react/dist/components/ReactFileUtilities/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/utils.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/SearchInput.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/SearchBar.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/SearchResults.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/hooks/useChannelSearch.d.ts","../../node_modules/stream-chat-react/dist/components/Channel/channelState.d.ts","../../node_modules/stream-chat-react/node_modules/i18next/index.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useDeleteHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useEditHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useFlagHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useMuteHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useOpenThreadHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/usePinHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useReactionHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useRetryHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useUserHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useUserRole.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/index.d.ts","../../node_modules/stream-chat-react/dist/context/ChannelListContext.d.ts","../../node_modules/stream-chat-react/dist/components/Chat/hooks/useCustomStyles.d.ts","../../node_modules/dayjs/locale/types.d.ts","../../node_modules/dayjs/locale/index.d.ts","../../node_modules/dayjs/index.d.ts","../../node_modules/stream-chat-react/dist/context/TranslationContext.d.ts","../../node_modules/stream-chat-react/dist/i18n/de.json","../../node_modules/stream-chat-react/dist/i18n/en.json","../../node_modules/stream-chat-react/dist/i18n/es.json","../../node_modules/stream-chat-react/dist/i18n/fr.json","../../node_modules/stream-chat-react/dist/i18n/hi.json","../../node_modules/stream-chat-react/dist/i18n/it.json","../../node_modules/stream-chat-react/dist/i18n/ja.json","../../node_modules/stream-chat-react/dist/i18n/ko.json","../../node_modules/stream-chat-react/dist/i18n/nl.json","../../node_modules/stream-chat-react/dist/i18n/pt.json","../../node_modules/stream-chat-react/dist/i18n/ru.json","../../node_modules/stream-chat-react/dist/i18n/tr.json","../../node_modules/stream-chat-react/dist/i18n/translations.d.ts","../../node_modules/stream-chat-react/dist/i18n/Streami18n.d.ts","../../node_modules/stream-chat-react/dist/components/Chat/Chat.d.ts","../../node_modules/stream-chat-react/dist/components/Chat/hooks/useChannelsQueryState.d.ts","../../node_modules/stream-chat-react/dist/context/ChatContext.d.ts","../../node_modules/stream-chat-react/dist/components/Avatar/Avatar.d.ts","../../node_modules/stream-chat-react/dist/components/DateSeparator/DateSeparator.d.ts","../../node_modules/stream-chat-react/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts","../../node_modules/stream-chat-react/dist/components/Avatar/index.d.ts","../../node_modules/stream-chat-react/dist/components/EventComponent/EventComponent.d.ts","../../node_modules/stream-chat-react/dist/components/Message/FixedHeightMessage.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageDeleted.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/GiphyPreviewMessage.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/MessageNotification.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/MessageListNotifications.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/utils.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/hast/index.d.ts","../../node_modules/react-markdown/lib/complex-types.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/Mention.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/regex.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/types.d.ts","../../node_modules/hast-util-is-element/index.d.ts","../../node_modules/unist-util-is/lib/index.d.ts","../../node_modules/unist-util-is/index.d.ts","../../node_modules/unist-util-visit-parents/lib/complex-types.d.ts","../../node_modules/unist-util-visit-parents/lib/index.d.ts","../../node_modules/unist-util-visit-parents/index.d.ts","../../node_modules/hast-util-find-and-replace/lib/index.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/rehypePlugins/index.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/remarkPlugins/htmlToTextPlugin.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/remarkPlugins/index.d.ts","../../node_modules/react-markdown/lib/uri-transformer.d.ts","../../node_modules/vfile-message/lib/index.d.ts","../../node_modules/vfile-message/index.d.ts","../../node_modules/vfile/lib/minurl.shared.d.ts","../../node_modules/vfile/lib/index.d.ts","../../node_modules/vfile/index.d.ts","../../node_modules/unified/index.d.ts","../../node_modules/react-markdown/lib/rehype-filter.d.ts","../../node_modules/style-to-object/index.d.ts","../../node_modules/property-information/lib/util/info.d.ts","../../node_modules/property-information/lib/util/schema.d.ts","../../node_modules/property-information/lib/find.d.ts","../../node_modules/property-information/lib/hast-to-react.d.ts","../../node_modules/property-information/lib/normalize.d.ts","../../node_modules/property-information/index.d.ts","../../node_modules/react-markdown/lib/ast-to-react.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/mdast-util-to-hast/lib/state.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/break.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/code.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/delete.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/emphasis.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/footnote.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/html.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/image.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/link-reference.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/link.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/list-item.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/list.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/paragraph.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/root.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/strong.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/table.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/table-cell.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/table-row.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/text.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/thematic-break.d.ts","../../node_modules/mdast-util-to-hast/lib/handlers/index.d.ts","../../node_modules/mdast-util-to-hast/lib/index.d.ts","../../node_modules/mdast-util-to-hast/index.d.ts","../../node_modules/remark-rehype/lib/index.d.ts","../../node_modules/remark-rehype/index.d.ts","../../node_modules/react-markdown/lib/react-markdown.d.ts","../../node_modules/react-markdown/index.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/renderText.d.ts","../../node_modules/stream-chat-react/dist/components/Message/renderText/index.d.ts","../../node_modules/stream-chat-react/dist/context/MessageContext.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageOptions.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/QuotedMessagePreview.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageRepliesCountButton.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageStatus.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageTimestamp.d.ts","../../node_modules/stream-chat-react/dist/components/Gallery/ModalGallery.d.ts","../../node_modules/stream-chat-react/dist/context/EmojiContext.d.ts","../../node_modules/stream-chat-react/dist/components/Channel/emojiData.d.ts","../../node_modules/stream-chat-react/dist/components/Reactions/ReactionSelector.d.ts","../../node_modules/stream-chat-react/dist/components/Reactions/ReactionsList.d.ts","../../node_modules/stream-chat-react/dist/components/CommandItem/CommandItem.d.ts","../../node_modules/stream-chat-react/dist/components/EmoticonItem/EmoticonItem.d.ts","../../node_modules/stream-chat-react/dist/components/UserItem/UserItem.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/DefaultTriggerProvider.d.ts","../../node_modules/stream-chat-react/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts","../../node_modules/stream-chat-react/dist/components/AutoCompleteTextarea/Item.d.ts","../../node_modules/stream-chat-react/dist/components/AutoCompleteTextarea/List.d.ts","../../node_modules/stream-chat-react/dist/components/AutoCompleteTextarea/Header.d.ts","../../node_modules/stream-chat-react/dist/components/AutoCompleteTextarea/utils.d.ts","../../node_modules/stream-chat-react/dist/components/AutoCompleteTextarea/Textarea.d.ts","../../node_modules/stream-chat-react/dist/components/AutoCompleteTextarea/index.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/icons.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/hooks/useChannelPreviewInfo.d.ts","../../node_modules/stream-chat-react/dist/components/Thread/ThreadHeader.d.ts","../../node_modules/stream-chat-react/dist/components/TypingIndicator/TypingIndicator.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/types.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/LinkPreviewList.d.ts","../../node_modules/stream-chat-react/dist/context/ComponentContext.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/AttachmentPreviewList.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/CooldownTimer.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/EditMessageForm.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/EmojiPicker.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/hooks/useCooldownTimer.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/hooks/index.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/MessageInputFlat.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/MessageInputSmall.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/UploadsPreview.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/index.d.ts","../../node_modules/stream-chat-react/dist/context/MessageInputContext.d.ts","../../node_modules/stream-chat-react/dist/context/MessageListContext.d.ts","../../node_modules/stream-chat-react/dist/context/TypingContext.d.ts","../../node_modules/stream-chat-react/dist/context/index.d.ts","../../node_modules/stream-chat-react/dist/components/Message/utils.d.ts","../../node_modules/stream-chat-react/dist/components/Message/types.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useMentionsHandler.d.ts","../../node_modules/stream-chat-react/dist/context/ChannelActionContext.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/MessageInput.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/hooks/useMessageInputState.d.ts","../../node_modules/stream-chat-react/dist/components/MessageInput/hooks/useLinkPreviews.d.ts","../../node_modules/stream-chat-react/dist/context/ChannelStateContext.d.ts","../../node_modules/stream-chat-react/dist/components/Message/hooks/useActionHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/AttachmentActions.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/Audio.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/utils.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/Card.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/FileAttachment.d.ts","../../node_modules/stream-chat-react/dist/components/Gallery/BaseImage.d.ts","../../node_modules/stream-chat-react/dist/components/Gallery/Gallery.d.ts","../../node_modules/stream-chat-react/dist/components/Gallery/Image.d.ts","../../node_modules/stream-chat-react/dist/components/Gallery/index.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/UnsupportedAttachment.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/Attachment.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/AttachmentContainer.d.ts","../../node_modules/stream-chat-react/dist/components/Attachment/index.d.ts","../../node_modules/stream-chat-react/dist/components/Channel/hooks/useMentionsHandlers.d.ts","../../node_modules/stream-chat-react/dist/components/Loading/LoadingChannels.d.ts","../../node_modules/stream-chat-react/dist/components/Loading/LoadingErrorIndicator.d.ts","../../node_modules/stream-chat-react/dist/components/Loading/index.d.ts","../../node_modules/stream-chat-react/dist/components/Channel/Channel.d.ts","../../node_modules/stream-chat-react/dist/components/Channel/hooks/useEditMessageHandler.d.ts","../../node_modules/stream-chat-react/dist/components/Channel/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelHeader/ChannelHeader.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelHeader/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChatDown/ChatDown.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/ChannelListMessenger.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/hooks/useMessageDeliveryStatus.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/ChannelPreview.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/ChannelSearch.d.ts","../../node_modules/stream-chat-react/dist/components/EmptyStateIndicator/index.d.ts","../../node_modules/stream-chat-react/dist/components/LoadMore/LoadMoreButton.d.ts","../../node_modules/stream-chat-react/dist/components/LoadMore/LoadMorePaginator.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/ChannelList.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useChannelDeletedListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useChannelHiddenListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useChannelTruncatedListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useChannelUpdatedListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useChannelVisibleListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useConnectionRecoveredListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useMessageNewListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useMobileNavigation.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/usePaginatedChannels.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/hooks/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/utils.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelList/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/hooks/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/utils.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelPreview/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChannelSearch/index.d.ts","../../node_modules/stream-chat-react/dist/i18n/index.d.ts","../../node_modules/stream-chat-react/dist/components/Chat/hooks/useChat.d.ts","../../node_modules/stream-chat-react/dist/components/Chat/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChatAutoComplete/index.d.ts","../../node_modules/stream-chat-react/dist/components/ChatDown/index.d.ts","../../node_modules/stream-chat-react/dist/components/CommandItem/index.d.ts","../../node_modules/stream-chat-react/dist/components/DateSeparator/index.d.ts","../../node_modules/stream-chat-react/dist/components/EmoticonItem/index.d.ts","../../node_modules/stream-chat-react/dist/components/EventComponent/index.d.ts","../../node_modules/stream-chat-react/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts","../../node_modules/stream-chat-react/dist/components/InfiniteScrollPaginator/index.d.ts","../../node_modules/stream-chat-react/dist/components/LoadMore/index.d.ts","../../node_modules/stream-chat-react/dist/components/Message/icons.d.ts","../../node_modules/stream-chat-react/dist/components/Message/Message.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageSimple.d.ts","../../node_modules/stream-chat-react/dist/components/Message/MessageText.d.ts","../../node_modules/stream-chat-react/dist/components/Message/QuotedMessage.d.ts","../../node_modules/stream-chat-react/dist/components/Message/index.d.ts","../../node_modules/stream-chat-react/dist/components/MessageActions/MessageActions.d.ts","../../node_modules/stream-chat-react/dist/components/MessageActions/MessageActionsBox.d.ts","../../node_modules/stream-chat-react/dist/components/MessageActions/index.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/ConnectionStatus.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/MessageList.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/ScrollToBottomButton.d.ts","../../node_modules/react-virtuoso/dist/index.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/VirtualizedMessageList.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/MessageList/useEnrichedMessages.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/MessageList/useMessageListElements.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/MessageList/useMessageListScrollManager.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/useLastReadData.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/VirtualizedMessageList/useNewMessageNotification.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/VirtualizedMessageList/usePrependMessagesCount.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/VirtualizedMessageList/useShouldForceScrollToBottom.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/hooks/index.d.ts","../../node_modules/stream-chat-react/dist/components/MessageList/index.d.ts","../../node_modules/stream-chat-react/dist/components/MML/MML.d.ts","../../node_modules/stream-chat-react/dist/components/MML/index.d.ts","../../node_modules/stream-chat-react/dist/components/Modal/Modal.d.ts","../../node_modules/stream-chat-react/dist/components/Modal/index.d.ts","../../node_modules/stream-chat-react/dist/components/Reactions/SimpleReactionsList.d.ts","../../node_modules/stream-chat-react/dist/components/Reactions/index.d.ts","../../node_modules/stream-chat-react/dist/components/SafeAnchor/SafeAnchor.d.ts","../../node_modules/stream-chat-react/dist/components/SafeAnchor/index.d.ts","../../node_modules/stream-chat-react/dist/components/Thread/Thread.d.ts","../../node_modules/stream-chat-react/dist/components/Thread/ThreadStart.d.ts","../../node_modules/stream-chat-react/dist/components/Thread/index.d.ts","../../node_modules/@popperjs/core/lib/enums.d.ts","../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts","../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts","../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts","../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts","../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts","../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts","../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts","../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts","../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts","../../node_modules/@popperjs/core/lib/types.d.ts","../../node_modules/@popperjs/core/lib/modifiers/index.d.ts","../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts","../../node_modules/@popperjs/core/lib/createPopper.d.ts","../../node_modules/@popperjs/core/lib/popper-lite.d.ts","../../node_modules/@popperjs/core/lib/popper.d.ts","../../node_modules/@popperjs/core/lib/index.d.ts","../../node_modules/@popperjs/core/index.d.ts","../../node_modules/react-popper/typings/react-popper.d.ts","../../node_modules/stream-chat-react/dist/components/Tooltip/Tooltip.d.ts","../../node_modules/stream-chat-react/dist/components/Tooltip/index.d.ts","../../node_modules/stream-chat-react/dist/components/TypingIndicator/index.d.ts","../../node_modules/stream-chat-react/dist/components/UserItem/index.d.ts","../../node_modules/stream-chat-react/dist/components/Window/Window.d.ts","../../node_modules/stream-chat-react/dist/components/Window/index.d.ts","../../node_modules/stream-chat-react/dist/components/index.d.ts","../../node_modules/nanoid/index.d.ts","../../node_modules/stream-chat-react/dist/utils/generateRandomId.d.ts","../../node_modules/stream-chat-react/dist/utils/getChannel.d.ts","../../node_modules/stream-chat-react/dist/utils/getWholeChar.d.ts","../../node_modules/stream-chat-react/dist/utils/index.d.ts","../../node_modules/stream-chat-react/dist/index.d.ts","../../node_modules/webrtc-adapter/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/gen/coordinator/index.d.ts","../../node_modules/isomorphic-ws/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/coordinator/connection/token_manager.d.ts","../../node_modules/@stream-io/video-client/dist/src/coordinator/connection/connection_fallback.d.ts","../../node_modules/@stream-io/video-client/dist/src/coordinator/connection/insights.d.ts","../../node_modules/@stream-io/video-client/dist/src/coordinator/connection/client.d.ts","../../node_modules/@stream-io/video-client/dist/src/coordinator/connection/connection.d.ts","../../node_modules/@stream-io/video-client/dist/src/coordinator/connection/types.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/json-typings.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/base64.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/protobufjs-utf8.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/pb-long.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/binary-format-contract.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/binary-reader.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/binary-writer.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-info.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/message-type-contract.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/json-format-contract.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-type-check.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/unknown-types.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-json-reader.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-json-writer.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-binary-reader.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-binary-writer.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/message-type.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-create.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-scalar-default.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-merge-partial.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-equals.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/reflection-contains-message-type.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/oneof.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/enum-object.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/lower-camel-case.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/assert.d.ts","../../node_modules/@protobuf-ts/runtime/build/types/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/gen/google/protobuf/struct.d.ts","../../node_modules/@stream-io/video-client/dist/src/gen/google/protobuf/timestamp.d.ts","../../node_modules/@stream-io/video-client/dist/src/gen/video/sfu/models/models.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/reflection-info.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/service-type.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-metadata.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-error.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-status.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-call-shared.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-output-stream.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/server-streaming-call.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-input-stream.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/client-streaming-call.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/duplex-streaming-call.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/unary-call.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-transport.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-interceptor.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/rpc-options.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/test-transport.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/deferred.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/server-call-context.d.ts","../../node_modules/@protobuf-ts/runtime-rpc/build/types/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/gen/video/sfu/signal_rpc/signal.d.ts","../../node_modules/@stream-io/video-client/dist/src/gen/video/sfu/event/events.d.ts","../../node_modules/@stream-io/video-client/dist/src/sorting/comparator.d.ts","../../node_modules/@stream-io/video-client/dist/src/sorting/participants.d.ts","../../node_modules/@stream-io/video-client/dist/src/sorting/presets.d.ts","../../node_modules/@stream-io/video-client/dist/src/sorting/index.d.ts","../../node_modules/rxjs/dist/types/internal/Subscription.d.ts","../../node_modules/rxjs/dist/types/internal/Subscriber.d.ts","../../node_modules/rxjs/dist/types/internal/Operator.d.ts","../../node_modules/rxjs/dist/types/internal/Observable.d.ts","../../node_modules/rxjs/dist/types/internal/types.d.ts","../../node_modules/rxjs/dist/types/internal/operators/audit.d.ts","../../node_modules/rxjs/dist/types/internal/operators/auditTime.d.ts","../../node_modules/rxjs/dist/types/internal/operators/buffer.d.ts","../../node_modules/rxjs/dist/types/internal/operators/bufferCount.d.ts","../../node_modules/rxjs/dist/types/internal/operators/bufferTime.d.ts","../../node_modules/rxjs/dist/types/internal/operators/bufferToggle.d.ts","../../node_modules/rxjs/dist/types/internal/operators/bufferWhen.d.ts","../../node_modules/rxjs/dist/types/internal/operators/catchError.d.ts","../../node_modules/rxjs/dist/types/internal/operators/combineLatestAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/combineAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/combineLatest.d.ts","../../node_modules/rxjs/dist/types/internal/operators/combineLatestWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/concat.d.ts","../../node_modules/rxjs/dist/types/internal/operators/concatAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/concatMap.d.ts","../../node_modules/rxjs/dist/types/internal/operators/concatMapTo.d.ts","../../node_modules/rxjs/dist/types/internal/operators/concatWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/connect.d.ts","../../node_modules/rxjs/dist/types/internal/operators/count.d.ts","../../node_modules/rxjs/dist/types/internal/operators/debounce.d.ts","../../node_modules/rxjs/dist/types/internal/operators/debounceTime.d.ts","../../node_modules/rxjs/dist/types/internal/operators/defaultIfEmpty.d.ts","../../node_modules/rxjs/dist/types/internal/operators/delay.d.ts","../../node_modules/rxjs/dist/types/internal/operators/delayWhen.d.ts","../../node_modules/rxjs/dist/types/internal/operators/dematerialize.d.ts","../../node_modules/rxjs/dist/types/internal/operators/distinct.d.ts","../../node_modules/rxjs/dist/types/internal/operators/distinctUntilChanged.d.ts","../../node_modules/rxjs/dist/types/internal/operators/distinctUntilKeyChanged.d.ts","../../node_modules/rxjs/dist/types/internal/operators/elementAt.d.ts","../../node_modules/rxjs/dist/types/internal/operators/endWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/every.d.ts","../../node_modules/rxjs/dist/types/internal/operators/exhaustAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/exhaust.d.ts","../../node_modules/rxjs/dist/types/internal/operators/exhaustMap.d.ts","../../node_modules/rxjs/dist/types/internal/operators/expand.d.ts","../../node_modules/rxjs/dist/types/internal/operators/filter.d.ts","../../node_modules/rxjs/dist/types/internal/operators/finalize.d.ts","../../node_modules/rxjs/dist/types/internal/operators/find.d.ts","../../node_modules/rxjs/dist/types/internal/operators/findIndex.d.ts","../../node_modules/rxjs/dist/types/internal/operators/first.d.ts","../../node_modules/rxjs/dist/types/internal/Subject.d.ts","../../node_modules/rxjs/dist/types/internal/operators/groupBy.d.ts","../../node_modules/rxjs/dist/types/internal/operators/ignoreElements.d.ts","../../node_modules/rxjs/dist/types/internal/operators/isEmpty.d.ts","../../node_modules/rxjs/dist/types/internal/operators/last.d.ts","../../node_modules/rxjs/dist/types/internal/operators/map.d.ts","../../node_modules/rxjs/dist/types/internal/operators/mapTo.d.ts","../../node_modules/rxjs/dist/types/internal/Notification.d.ts","../../node_modules/rxjs/dist/types/internal/operators/materialize.d.ts","../../node_modules/rxjs/dist/types/internal/operators/max.d.ts","../../node_modules/rxjs/dist/types/internal/operators/merge.d.ts","../../node_modules/rxjs/dist/types/internal/operators/mergeAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/mergeMap.d.ts","../../node_modules/rxjs/dist/types/internal/operators/flatMap.d.ts","../../node_modules/rxjs/dist/types/internal/operators/mergeMapTo.d.ts","../../node_modules/rxjs/dist/types/internal/operators/mergeScan.d.ts","../../node_modules/rxjs/dist/types/internal/operators/mergeWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/min.d.ts","../../node_modules/rxjs/dist/types/internal/observable/ConnectableObservable.d.ts","../../node_modules/rxjs/dist/types/internal/operators/multicast.d.ts","../../node_modules/rxjs/dist/types/internal/operators/observeOn.d.ts","../../node_modules/rxjs/dist/types/internal/operators/onErrorResumeNextWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/pairwise.d.ts","../../node_modules/rxjs/dist/types/internal/operators/partition.d.ts","../../node_modules/rxjs/dist/types/internal/operators/pluck.d.ts","../../node_modules/rxjs/dist/types/internal/operators/publish.d.ts","../../node_modules/rxjs/dist/types/internal/operators/publishBehavior.d.ts","../../node_modules/rxjs/dist/types/internal/operators/publishLast.d.ts","../../node_modules/rxjs/dist/types/internal/operators/publishReplay.d.ts","../../node_modules/rxjs/dist/types/internal/operators/race.d.ts","../../node_modules/rxjs/dist/types/internal/operators/raceWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/reduce.d.ts","../../node_modules/rxjs/dist/types/internal/operators/repeat.d.ts","../../node_modules/rxjs/dist/types/internal/operators/repeatWhen.d.ts","../../node_modules/rxjs/dist/types/internal/operators/retry.d.ts","../../node_modules/rxjs/dist/types/internal/operators/retryWhen.d.ts","../../node_modules/rxjs/dist/types/internal/operators/refCount.d.ts","../../node_modules/rxjs/dist/types/internal/operators/sample.d.ts","../../node_modules/rxjs/dist/types/internal/operators/sampleTime.d.ts","../../node_modules/rxjs/dist/types/internal/operators/scan.d.ts","../../node_modules/rxjs/dist/types/internal/operators/sequenceEqual.d.ts","../../node_modules/rxjs/dist/types/internal/operators/share.d.ts","../../node_modules/rxjs/dist/types/internal/operators/shareReplay.d.ts","../../node_modules/rxjs/dist/types/internal/operators/single.d.ts","../../node_modules/rxjs/dist/types/internal/operators/skip.d.ts","../../node_modules/rxjs/dist/types/internal/operators/skipLast.d.ts","../../node_modules/rxjs/dist/types/internal/operators/skipUntil.d.ts","../../node_modules/rxjs/dist/types/internal/operators/skipWhile.d.ts","../../node_modules/rxjs/dist/types/internal/operators/startWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/subscribeOn.d.ts","../../node_modules/rxjs/dist/types/internal/operators/switchAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/switchMap.d.ts","../../node_modules/rxjs/dist/types/internal/operators/switchMapTo.d.ts","../../node_modules/rxjs/dist/types/internal/operators/switchScan.d.ts","../../node_modules/rxjs/dist/types/internal/operators/take.d.ts","../../node_modules/rxjs/dist/types/internal/operators/takeLast.d.ts","../../node_modules/rxjs/dist/types/internal/operators/takeUntil.d.ts","../../node_modules/rxjs/dist/types/internal/operators/takeWhile.d.ts","../../node_modules/rxjs/dist/types/internal/operators/tap.d.ts","../../node_modules/rxjs/dist/types/internal/operators/throttle.d.ts","../../node_modules/rxjs/dist/types/internal/operators/throttleTime.d.ts","../../node_modules/rxjs/dist/types/internal/operators/throwIfEmpty.d.ts","../../node_modules/rxjs/dist/types/internal/operators/timeInterval.d.ts","../../node_modules/rxjs/dist/types/internal/operators/timeout.d.ts","../../node_modules/rxjs/dist/types/internal/operators/timeoutWith.d.ts","../../node_modules/rxjs/dist/types/internal/operators/timestamp.d.ts","../../node_modules/rxjs/dist/types/internal/operators/toArray.d.ts","../../node_modules/rxjs/dist/types/internal/operators/window.d.ts","../../node_modules/rxjs/dist/types/internal/operators/windowCount.d.ts","../../node_modules/rxjs/dist/types/internal/operators/windowTime.d.ts","../../node_modules/rxjs/dist/types/internal/operators/windowToggle.d.ts","../../node_modules/rxjs/dist/types/internal/operators/windowWhen.d.ts","../../node_modules/rxjs/dist/types/internal/operators/withLatestFrom.d.ts","../../node_modules/rxjs/dist/types/internal/operators/zip.d.ts","../../node_modules/rxjs/dist/types/internal/operators/zipAll.d.ts","../../node_modules/rxjs/dist/types/internal/operators/zipWith.d.ts","../../node_modules/rxjs/dist/types/operators/index.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/Action.d.ts","../../node_modules/rxjs/dist/types/internal/Scheduler.d.ts","../../node_modules/rxjs/dist/types/internal/testing/TestMessage.d.ts","../../node_modules/rxjs/dist/types/internal/testing/SubscriptionLog.d.ts","../../node_modules/rxjs/dist/types/internal/testing/SubscriptionLoggable.d.ts","../../node_modules/rxjs/dist/types/internal/testing/ColdObservable.d.ts","../../node_modules/rxjs/dist/types/internal/testing/HotObservable.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/AsyncScheduler.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/timerHandle.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/AsyncAction.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/VirtualTimeScheduler.d.ts","../../node_modules/rxjs/dist/types/internal/testing/TestScheduler.d.ts","../../node_modules/rxjs/dist/types/testing/index.d.ts","../../node_modules/rxjs/dist/types/internal/symbol/observable.d.ts","../../node_modules/rxjs/dist/types/internal/observable/dom/animationFrames.d.ts","../../node_modules/rxjs/dist/types/internal/BehaviorSubject.d.ts","../../node_modules/rxjs/dist/types/internal/ReplaySubject.d.ts","../../node_modules/rxjs/dist/types/internal/AsyncSubject.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/AsapScheduler.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/asap.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/async.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/QueueScheduler.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/queue.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/AnimationFrameScheduler.d.ts","../../node_modules/rxjs/dist/types/internal/scheduler/animationFrame.d.ts","../../node_modules/rxjs/dist/types/internal/util/identity.d.ts","../../node_modules/rxjs/dist/types/internal/util/pipe.d.ts","../../node_modules/rxjs/dist/types/internal/util/noop.d.ts","../../node_modules/rxjs/dist/types/internal/util/isObservable.d.ts","../../node_modules/rxjs/dist/types/internal/lastValueFrom.d.ts","../../node_modules/rxjs/dist/types/internal/firstValueFrom.d.ts","../../node_modules/rxjs/dist/types/internal/util/ArgumentOutOfRangeError.d.ts","../../node_modules/rxjs/dist/types/internal/util/EmptyError.d.ts","../../node_modules/rxjs/dist/types/internal/util/NotFoundError.d.ts","../../node_modules/rxjs/dist/types/internal/util/ObjectUnsubscribedError.d.ts","../../node_modules/rxjs/dist/types/internal/util/SequenceError.d.ts","../../node_modules/rxjs/dist/types/internal/util/UnsubscriptionError.d.ts","../../node_modules/rxjs/dist/types/internal/observable/bindCallback.d.ts","../../node_modules/rxjs/dist/types/internal/observable/bindNodeCallback.d.ts","../../node_modules/rxjs/dist/types/internal/AnyCatcher.d.ts","../../node_modules/rxjs/dist/types/internal/observable/combineLatest.d.ts","../../node_modules/rxjs/dist/types/internal/observable/concat.d.ts","../../node_modules/rxjs/dist/types/internal/observable/connectable.d.ts","../../node_modules/rxjs/dist/types/internal/observable/defer.d.ts","../../node_modules/rxjs/dist/types/internal/observable/empty.d.ts","../../node_modules/rxjs/dist/types/internal/observable/forkJoin.d.ts","../../node_modules/rxjs/dist/types/internal/observable/from.d.ts","../../node_modules/rxjs/dist/types/internal/observable/fromEvent.d.ts","../../node_modules/rxjs/dist/types/internal/observable/fromEventPattern.d.ts","../../node_modules/rxjs/dist/types/internal/observable/generate.d.ts","../../node_modules/rxjs/dist/types/internal/observable/iif.d.ts","../../node_modules/rxjs/dist/types/internal/observable/interval.d.ts","../../node_modules/rxjs/dist/types/internal/observable/merge.d.ts","../../node_modules/rxjs/dist/types/internal/observable/never.d.ts","../../node_modules/rxjs/dist/types/internal/observable/of.d.ts","../../node_modules/rxjs/dist/types/internal/observable/onErrorResumeNext.d.ts","../../node_modules/rxjs/dist/types/internal/observable/pairs.d.ts","../../node_modules/rxjs/dist/types/internal/observable/partition.d.ts","../../node_modules/rxjs/dist/types/internal/observable/race.d.ts","../../node_modules/rxjs/dist/types/internal/observable/range.d.ts","../../node_modules/rxjs/dist/types/internal/observable/throwError.d.ts","../../node_modules/rxjs/dist/types/internal/observable/timer.d.ts","../../node_modules/rxjs/dist/types/internal/observable/using.d.ts","../../node_modules/rxjs/dist/types/internal/observable/zip.d.ts","../../node_modules/rxjs/dist/types/internal/scheduled/scheduled.d.ts","../../node_modules/rxjs/dist/types/internal/config.d.ts","../../node_modules/rxjs/dist/types/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/store/rxUtils.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/codecs.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/Dispatcher.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/IceTrickleBuffer.d.ts","../../node_modules/@stream-io/video-client/dist/src/StreamSfuClient.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/Publisher.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/Subscriber.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/signal.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/videoLayers.d.ts","../../node_modules/@stream-io/video-client/dist/src/rtc/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/helpers/ViewportTracker.d.ts","../../node_modules/@stream-io/video-client/dist/src/helpers/DynascaleManager.d.ts","../../node_modules/@stream-io/video-client/dist/src/permissions/PermissionsContext.d.ts","../../node_modules/@stream-io/video-client/dist/src/permissions/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/devices.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/InputMediaDeviceManagerState.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/InputMediaDeviceManager.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/CameraManagerState.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/CameraManager.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/MicrophoneManagerState.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/MicrophoneManager.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/ScreenShareState.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/ScreenShareManager.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/SpeakerState.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/SpeakerManager.d.ts","../../node_modules/@stream-io/video-client/dist/src/devices/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/Call.d.ts","../../node_modules/@stream-io/video-client/dist/src/store/stateStore.d.ts","../../node_modules/@stream-io/video-client/dist/src/stats/types.d.ts","../../node_modules/@stream-io/video-client/dist/src/store/CallState.d.ts","../../node_modules/@stream-io/video-client/dist/src/store/index.d.ts","../../node_modules/@stream-io/video-client/dist/src/types.d.ts","../../node_modules/@stream-io/video-client/dist/src/CallType.d.ts","../../node_modules/@stream-io/video-client/dist/src/StreamVideoClient.d.ts","../../node_modules/@stream-io/video-client/dist/src/StreamVideoServerClient.d.ts","../../node_modules/@stream-io/video-client/dist/src/helpers/sound-detector.d.ts","../../node_modules/@stream-io/video-client/dist/src/helpers/browsers.d.ts","../../node_modules/@stream-io/video-client/dist/src/client-details.d.ts","../../node_modules/@stream-io/video-client/dist/src/logger.d.ts","../../node_modules/@stream-io/video-client/dist/index.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/contexts/StreamCallContext.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/i18n/types.d.ts","../../node_modules/i18next/typescript/helpers.d.ts","../../node_modules/i18next/typescript/options.d.ts","../../node_modules/i18next/typescript/t.d.ts","../../node_modules/i18next/index.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/i18n/StreamI18n.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/i18n/utils.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/i18n/index.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/contexts/StreamI18nContext.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/contexts/StreamVideoContext.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/contexts/index.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/hooks/callStateHooks.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/hooks/permissions.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/hooks/store.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/hooks/index.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/wrappers/Restricted.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/src/wrappers/index.d.ts","../../node_modules/@stream-io/video-react-bindings/dist/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Audio/Audio.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Audio/ParticipantsAudio.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Audio/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Video/BaseVideo.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Video/DefaultVideoPlaceholder.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Video/Video.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/Video/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/ParticipantView/ParticipantView.d.ts","../../node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts","../../node_modules/@floating-ui/core/dist/floating-ui.core.d.ts","../../node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts","../../node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts","../../node_modules/@floating-ui/react-dom/src/arrow.d.ts","../../node_modules/@floating-ui/react-dom/src/useFloating.d.ts","../../node_modules/@floating-ui/react-dom/src/types.d.ts","../../node_modules/@floating-ui/react-dom/index.d.ts","../../node_modules/@floating-ui/react/src/hooks/useDismiss.d.ts","../../node_modules/@floating-ui/react/src/components/FloatingArrow.d.ts","../../node_modules/@floating-ui/react/src/components/FloatingDelayGroup.d.ts","../../node_modules/@floating-ui/react/src/components/FloatingFocusManager.d.ts","../../node_modules/@floating-ui/react/src/components/FloatingOverlay.d.ts","../../node_modules/@floating-ui/react/src/components/FloatingPortal.d.ts","../../node_modules/@floating-ui/react/src/components/FloatingTree.d.ts","../../node_modules/@floating-ui/react/src/hooks/useClick.d.ts","../../node_modules/@floating-ui/react/src/hooks/useClientPoint.d.ts","../../node_modules/@floating-ui/react/src/hooks/useFocus.d.ts","../../node_modules/@floating-ui/react/src/hooks/useHover.d.ts","../../node_modules/@floating-ui/react/src/hooks/useId.d.ts","../../node_modules/@floating-ui/react/src/hooks/useListNavigation.d.ts","../../node_modules/@floating-ui/react/src/hooks/useMergeRefs.d.ts","../../node_modules/@floating-ui/react/src/hooks/useRole.d.ts","../../node_modules/@floating-ui/react/src/hooks/useTransition.d.ts","../../node_modules/@floating-ui/react/src/hooks/useTypeahead.d.ts","../../node_modules/@floating-ui/react/src/inner.d.ts","../../node_modules/@floating-ui/react/src/safePolygon.d.ts","../../node_modules/@floating-ui/react/src/useFloating.d.ts","../../node_modules/@floating-ui/react/src/useInteractions.d.ts","../../node_modules/@floating-ui/react/src/index.d.ts","../../node_modules/@floating-ui/react/src/types.d.ts","../../node_modules/@floating-ui/react/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/ParticipantView/DefaultParticipantViewUI.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/ParticipantView/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/contexts/MediaDevicesContext.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/contexts/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/StreamCall/StreamCall.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/StreamCall/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/StreamVideo/StreamVideo.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/StreamVideo/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/CallLayout/LivestreamLayout.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/CallLayout/PaginatedGridLayout.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/CallLayout/SpeakerLayout.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/CallLayout/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/components/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/hooks/useAudioPublisher.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/hooks/useDevices.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/hooks/useVideoPublisher.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/hooks/useTrackElementVisibility.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/hooks/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/core/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Avatar/Avatar.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Avatar/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Button/CompositeButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Button/CopyToClipboardButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Icon/Icon.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Icon/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Button/IconButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Button/TextButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Button/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/AcceptCallButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/CallControls.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/CallStatsButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/CancelCallButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/ReactionsButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/RecordCallButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/ScreenShareButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/ToggleAudioButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/ToggleAudioOutputButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/ToggleVideoButton.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallControls/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Search/hooks/useSearch.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Search/hooks/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallParticipantsList/CallParticipantsList.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallParticipantsList/CallParticipantListing.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallParticipantsList/CallParticipantListingItem.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallParticipantsList/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallPreview/CallPreview.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallPreview/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallRecordingList/CallRecordingListHeader.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallRecordingList/CallRecordingListItem.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallRecordingList/LoadingCallRecordingListing.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallRecordingList/CallRecordingList.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallRecordingList/EmptyCallRecordingListing.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/CallRecordingList/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/DeviceSettings/DeviceSettings.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/DeviceSettings/DeviceSelector.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/DeviceSettings/DeviceSelectorAudio.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/DeviceSettings/DeviceSelectorVideo.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/DeviceSettings/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/LoadingIndicator/LoadingIndicator.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/LoadingIndicator/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Menu/MenuToggle.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Menu/GenericMenu.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Menu/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Notification/Notification.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Notification/PermissionNotification.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Notification/SpeakingWhileMutedNotification.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Notification/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/RingingCall/RingingCallControls.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/RingingCall/RingingCall.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/RingingCall/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Permissions/PermissionRequests.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Permissions/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/StreamTheme/StreamTheme.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/StreamTheme/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Search/SearchInput.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Search/SearchResults.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Search/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Tooltip/Tooltip.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Tooltip/WithTooltip.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Tooltip/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Video/VideoPreview.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/Video/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/components/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/types/components.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/types/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/translations/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useFloatingUIPreset.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useScrollPosition.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useToggleAudioMuteState.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useToggleVideoMuteState.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useToggleScreenShare.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useToggleCallRecording.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/useRequestPermission.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/src/hooks/index.d.ts","../../node_modules/@stream-io/video-react-sdk/dist/index.d.ts","../../components/CreateCallButton/CreateCallButton.tsx","../../components/CreateCallButton/index.ts","../../components/ChannelHeader/ChannelHeader.tsx","../../components/ChannelHeader/index.ts","../../components/Channel/Channel.tsx","../../components/Channel/index.ts","../../components/Video/Video.tsx","../../components/Video/index.ts","../../app/layout.tsx","../../components/LogoutButton.tsx","../../components/ChannelListHeader.tsx","../../components/UnBabelerChat.tsx","../../app/page.tsx","../../app/login/messages.tsx","../../app/login/page.tsx","../types/app/layout.ts","../types/app/page.ts","../types/app/api/create-user/route.ts","../types/app/auth/callback/route.ts","../types/app/auth/sign-in/route.ts","../types/app/auth/sign-out/route.ts","../types/app/auth/sign-up/route.ts","../types/app/login/page.ts","../../node_modules/@types/ms/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/linkifyjs/index.d.ts","../../node_modules/@types/scheduler/index.d.ts"],"fileInfos":[{"version":"f59215c5f1d886b05395ee7aca73e0ac69ddfad2843aa88530e797879d511bad","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"3dda5344576193a4ae48b8d03f105c86f20b2f2aff0a1d1fd7935f5d68649654","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"9d9885c728913c1d16e0d2831b40341d6ad9a0ceecaabc55209b306ad9c736a5","affectsGlobalScope":true},{"version":"17bea081b9c0541f39dd1ae9bc8c78bdd561879a682e60e2f25f688c0ecab248","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f06948deb2a51aae25184561c9640fb66afeddb34531a9212d011792b1d19e0a","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"0990a7576222f248f0a3b888adcb7389f957928ce2afb1cd5128169086ff4d29",{"version":"549df62b64a71004aee17685b445a8289013daf96246ce4d9b087d13d7a27a61","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","247a952efd811d780e5630f8cfd76f495196f5fa74f6f0fee39ac8ba4a3c9800",{"version":"59112973598601bb6c1970c0dd5eee78f9a440d8ffb76534d8fcde15c59830bf","affectsGlobalScope":true},"cc69795d9954ee4ad57545b10c7bf1a7260d990231b1685c147ea71a6faa265c","8bc6c94ff4f2af1f4023b7bb2379b08d3d7dd80c698c9f0b07431ea16101f05f","1b61d259de5350f8b1e5db06290d31eaebebc6baafd5f79d314b5af9256d7153","57194e1f007f3f2cbef26fa299d4c6b21f4623a2eddc63dfeef79e38e187a36e","0f6666b58e9276ac3a38fdc80993d19208442d6027ab885580d93aec76b4ef00","05fd364b8ef02fb1e174fbac8b825bdb1e5a36a016997c8e421f5fab0a6da0a0","587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"a7534271773a27ff7d136d550e86b41894d8090fa857ba4c02b5bb18d2eb1c8e","affectsGlobalScope":true},"db71be322f07f769200108aa19b79a75dd19a187c9dca2a30c4537b233aa2863","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","b8e431e9b9bb2dc832b23d4e3e02774e953d5537998923f215ea446169e9a61e","3690133deae19c8127c5505fcb67b04bdc9eb053796008538a9b9abbb70d85aa","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"b85c02e14ecb2a873dad5a1de72319b265160ba48f1b83661aeb3bba1366c1bc","affectsGlobalScope":true},"7a2ba0c9af860ac3e77b35ed01fd96d15986f17aa22fe40f188ae556fb1070df","fc3764040518a1008dd04bdc80964591b566b896283e00df85c95851c1f46237","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","790623a47c5eda62910098884ecb154dc0e5f3a23fc36c1bfb3b5b9ed44e2c2d","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true},"f5490f53d40291cc8607f5463434d1ac6c5564bc4fbb03abceb03a8f6b014457","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"14a50dafe3f45713f7f27cb6320dff07c6ac31678f07959c2134260061bf91ff","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","0cab4d7d4edc40cd3af9eea7c3ed6d1016910c0954c49c4297e479bf3822a625","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270","1fb6c5ec52332a8b531a8d7a5300ac9301f98c4fe62f68e744e0841ccba65e7e",{"version":"ab294c4b7279318ee2a8fdf681305457ecc05970c94108d304933f18823eeac1","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","bbda6ea452a2386093a1eda18a6e26a989e98869f1b9f37e46f510a986d2e740","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"75dd741ca6a6c8d2437a6ca8349b64b816421dbf9fe82dd026afaba965576962","affectsGlobalScope":true},{"version":"8799401a7ab57764f0d464513a7fa7c72e1d70a226b172ec60fff534ea94d108","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"247aa3419c98713231952b33801d4f46563fe542e03604acd8c63ac45a32409c","8caa5c86be1b793cd5f599e27ecb34252c41e011980f7d61ae4989a149ff6ccc","b186209db0039208e98815f84b729409647f338ca2faa9099ce1d866caf98e7a","44ba44ced68f94d007007c30be960ae1864b306edb63ef939dee698e73fc7c3f","a95b76aef31395752eb5cb7b386be2e287fdc32dfdf7bdbbb666e333133b1ef7","15b9e87ecd2243e804d8020b7ca53b11f1b8402835d3feeb8aa945bd3150ef53","25dfdc5e587333d6d9d8e13ffe07511f6a878c18bbb9fd82b2b359697cf70748","db6d2d9daad8a6d83f281af12ce4355a20b9a3e71b82b9f57cddcca0a8964a96","cfe4ef4710c3786b6e23dae7c086c70b4f4835a2e4d77b75d39f9046106e83d3","cbea99888785d49bb630dcbb1613c73727f2b5a2cf02e1abcaab7bcf8d6bf3c5","98817124fd6c4f60e0b935978c207309459fb71ab112cf514f26f333bf30830e","a86f82d646a739041d6702101afa82dcb935c416dd93cbca7fd754fd0282ce1f","2dad084c67e649f0f354739ec7df7c7df0779a28a4f55c97c6b6883ae850d1ce","fa5bbc7ab4130dd8cdc55ea294ec39f76f2bc507a0f75f4f873e38631a836ca7","df45ca1176e6ac211eae7ddf51336dc075c5314bc5c253651bae639defd5eec5","cf86de1054b843e484a3c9300d62fbc8c97e77f168bbffb131d560ca0474d4a8","196c960b12253fde69b204aa4fbf69470b26daf7a430855d7f94107a16495ab0","fb760b3dded1fadb56c3dde1992b6068bb64d65c4d60d65dc93659f5f44ccddf","bf24f6d35f7318e246010ffe9924395893c4e96d34324cde77151a73f078b9ad","596ccf4070268c4f5a8c459d762d8a934fa9b9317c7bf7a953e921bc9d78ce3c","10595c7ff5094dd5b6a959ccb1c00e6a06441b4e10a87bc09c15f23755d34439","9620c1ff645afb4a9ab4044c85c26676f0a93e8c0e4b593aea03a89ccb47b6d0","e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","a9af0e608929aaf9ce96bd7a7b99c9360636c31d73670e4af09a09950df97841","e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","c86fe861cf1b4c46a0fb7d74dffe596cf679a2e5e8b1456881313170f092e3fa","08ed0b3f0166787f84a6606f80aa3b1388c7518d78912571b203817406e471da","47e5af2a841356a961f815e7c55d72554db0c11b4cba4d0caab91f8717846a94","9a1a0dc84fecc111e83281743f003e1ae9048e0f83c2ae2028d17bc58fd93cc7","f5f541902bf7ae0512a177295de9b6bcd6809ea38307a2c0a18bfca72212f368","e8da637cbd6ed1cf6c36e9424f6bcee4515ca2c677534d4006cbd9a05f930f0c","ca1b882a105a1972f82cc58e3be491e7d750a1eb074ffd13b198269f57ed9e1b","fc3e1c87b39e5ba1142f27ec089d1966da168c04a859a4f6aab64dceae162c2b","3867ca0e9757cc41e04248574f4f07b8f9e3c0c2a796a5eb091c65bfd2fc8bdb","61888522cec948102eba94d831c873200aa97d00d8989fdfd2a3e0ee75ec65a2","4e10622f89fea7b05dd9b52fb65e1e2b5cbd96d4cca3d9e1a60bb7f8a9cb86a1","74b2a5e5197bd0f2e0077a1ea7c07455bbea67b87b0869d9786d55104006784f","59bf32919de37809e101acffc120596a9e45fdbab1a99de5087f31fdc36e2f11","e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","3df3abb3e7c1a74ab419f95500a998b55dd9bc985e295de96ff315dd94c7446f","c40c848daad198266370c1c72a7a8c3d18d2f50727c7859fcfefd3ff69a7f288","ac60bbee0d4235643cc52b57768b22de8c257c12bd8c2039860540cab1fa1d82","973b59a17aaa817eb205baf6c132b83475a5c0a44e8294a472af7793b1817e89","ada39cbb2748ab2873b7835c90c8d4620723aedf323550e8489f08220e477c7f","6e5f5cee603d67ee1ba6120815497909b73399842254fc1e77a0d5cdc51d8c9c","8dba67056cbb27628e9b9a1cba8e57036d359dceded0725c72a3abe4b6c79cd4","70f3814c457f54a7efe2d9ce9d2686de9250bb42eb7f4c539bd2280a42e52d33","5cbd32af037805215112472e35773bad9d4e03f0e72b1129a0d0c12d9cd63cc7","ef61792acbfa8c27c9bd113f02731e66229f7d3a169e3c1993b508134f1a58e0","afcb759e8e3ad6549d5798820697002bc07bdd039899fad0bf522e7e8a9f5866","f6404e7837b96da3ea4d38c4f1a3812c96c9dcdf264e93d5bdb199f983a3ef4b","c5426dbfc1cf90532f66965a7aa8c1136a78d4d0f96d8180ecbfc11d7722f1a5","65a15fc47900787c0bd18b603afb98d33ede930bed1798fc984d5ebb78b26cf9","9d202701f6e0744adb6314d03d2eb8fc994798fc83d91b691b75b07626a69801","de9d2df7663e64e3a91bf495f315a7577e23ba088f2949d5ce9ec96f44fba37d","c7af78a2ea7cb1cd009cfb5bdb48cd0b03dad3b54f6da7aab615c2e9e9d570c5","1ee45496b5f8bdee6f7abc233355898e5bf9bd51255db65f5ff7ede617ca0027",{"version":"566e5fb812082f8cf929c6727d40924843246cf19ee4e8b9437a6315c4792b03","affectsGlobalScope":true},{"version":"db01d18853469bcb5601b9fc9826931cc84cc1a1944b33cad76fd6f1e3d8c544","affectsGlobalScope":true},"dba114fb6a32b355a9cfc26ca2276834d72fe0e94cd2c3494005547025015369",{"version":"903e299a28282fa7b714586e28409ed73c3b63f5365519776bf78e8cf173db36","affectsGlobalScope":true},"fa6c12a7c0f6b84d512f200690bfc74819e99efae69e4c95c4cd30f6884c526e","f1c32f9ce9c497da4dc215c3bc84b722ea02497d35f9134db3bb40a8d918b92b",{"version":"b73c319af2cc3ef8f6421308a250f328836531ea3761823b4cabbd133047aefa","affectsGlobalScope":true},"e433b0337b8106909e7953015e8fa3f2d30797cea27141d1c5b135365bb975a6","dd3900b24a6a8745efeb7ad27629c0f8a626470ac229c1d73f1fe29d67e44dca","ddff7fc6edbdc5163a09e22bf8df7bef75f75369ebd7ecea95ba55c4386e2441","106c6025f1d99fd468fd8bf6e5bda724e11e5905a4076c5d29790b6c3745e50c","ec29be0737d39268696edcec4f5e97ce26f449fa9b7afc2f0f99a86def34a418","68a06fb972b2c7e671bf090dc5a5328d22ba07d771376c3d9acd9e7ed786a9db","ec6cba1c02c675e4dd173251b156792e8d3b0c816af6d6ad93f1a55d674591aa","b620391fe8060cf9bedc176a4d01366e6574d7a71e0ac0ab344a4e76576fcbb8","d729408dfde75b451530bcae944cf89ee8277e2a9df04d1f62f2abfd8b03c1e1","e15d3c84d5077bb4a3adee4c791022967b764dc41cb8fa3cfa44d4379b2c95f5","78244a2a8ab1080e0dd8fc3633c204c9a4be61611d19912f4b157f7ef7367049","e1fc1a1045db5aa09366be2b330e4ce391550041fc3e925f60998ca0b647aa97","73636e5e138db738b0e1e00c17bcd688c45eead3798d0d585e0bd9ff98262ebe","43ba4f2fa8c698f5c304d21a3ef596741e8e85a810b7c1f9b692653791d8d97a","31fb49ef3aa3d76f0beb644984e01eab0ea222372ea9b49bb6533be5722d756c","33cd131e1461157e3e06b06916b5176e7a8ec3fce15a5cfe145e56de744e07d2","889ef863f90f4917221703781d9723278db4122d75596b01c429f7c363562b86","3556cfbab7b43da96d15a442ddbb970e1f2fc97876d055b6555d86d7ac57dae5","437751e0352c6e924ddf30e90849f1d9eb00ca78c94d58d6a37202ec84eb8393","48e8af7fdb2677a44522fd185d8c87deff4d36ee701ea003c6c780b1407a1397","d11308de5a36c7015bb73adb5ad1c1bdaac2baede4cc831a05cf85efa3cc7f2f","8c9f19c480c747b6d8067c53fcc3cef641619029afb0a903672daed3f5acaed2",{"version":"f9812cfc220ecf7557183379531fa409acd249b9e5b9a145d0d52b76c20862de","affectsGlobalScope":true},"7b068371563d0396a065ed64b049cffeb4eed89ad433ae7730fc31fb1e00ebf3","2e4f37ffe8862b14d8e24ae8763daaa8340c0df0b859d9a9733def0eee7562d9","13283350547389802aa35d9f2188effaeac805499169a06ef5cd77ce2a0bd63f","680793958f6a70a44c8d9ae7d46b7a385361c69ac29dcab3ed761edce1c14ab8","6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","de618fec44f70765cc7bbc30c9049b1c31f3cfb3824e7a7731121ca1785998e4","913ddbba170240070bd5921b8f33ea780021bdf42fbdfcd4fcb2691b1884ddde","74c105214ddd747037d2a75da6588ec8aa1882f914e1f8a312c528f86feca2b9","5fe23bd829e6be57d41929ac374ee9551ccc3c44cee893167b7b5b77be708014","4d85f80132e24d9a5b5c5e0734e4ecd6878d8c657cc990ecc70845ef384ca96f","438c7513b1df91dcef49b13cd7a1c4720f91a36e88c1df731661608b7c055f10","cf185cc4a9a6d397f416dd28cca95c227b29f0f27b160060a95c0e5e36cda865","0086f3e4ad898fd7ca56bb223098acfacf3fa065595182aaf0f6c4a6a95e6fbd","efaa078e392f9abda3ee8ade3f3762ab77f9c50b184e6883063a911742a4c96a","54a8bb487e1dc04591a280e7a673cdfb272c83f61e28d8a64cf1ac2e63c35c51","021a9498000497497fd693dd315325484c58a71b5929e2bbb91f419b04b24cea","9385cdc09850950bc9b59cca445a3ceb6fcca32b54e7b626e746912e489e535e","2894c56cad581928bb37607810af011764a2f511f575d28c9f4af0f2ef02d1ab","0a72186f94215d020cb386f7dca81d7495ab6c17066eb07d0f44a5bf33c1b21a","84124384abae2f6f66b7fbfc03862d0c2c0b71b826f7dbf42c8085d31f1d3f95","63a8e96f65a22604eae82737e409d1536e69a467bb738bec505f4f97cce9d878","3fd78152a7031315478f159c6a5872c712ece6f01212c78ea82aef21cb0726e2","3a6ed8e1d630cfa1f7edf0dc46a6e20ca6c714dbe754409699008571dfe473a6","512fc15cca3a35b8dbbf6e23fe9d07e6f87ad03c895acffd3087ce09f352aad0","9a0946d15a005832e432ea0cd4da71b57797efb25b755cc07f32274296d62355","a52ff6c0a149e9f370372fc3c715d7f2beee1f3bab7980e271a7ab7d313ec677","fd933f824347f9edd919618a76cdb6a0c0085c538115d9a287fa0c7f59957ab3","6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","6a1aa3e55bdc50503956c5cd09ae4cd72e3072692d742816f65c66ca14f4dfdd","ab75cfd9c4f93ffd601f7ca1753d6a9d953bbedfbd7a5b3f0436ac8a1de60dfa","59c68235df3905989afa0399381c1198313aaaf1ed387f57937eb616625dff15","b73cbf0a72c8800cf8f96a9acfe94f3ad32ca71342a8908b8ae484d61113f647","bae6dd176832f6423966647382c0d7ba9e63f8c167522f09a982f086cd4e8b23","1364f64d2fb03bbb514edc42224abd576c064f89be6a990136774ecdd881a1da","c9958eb32126a3843deedda8c22fb97024aa5d6dd588b90af2d7f2bfac540f23","950fb67a59be4c2dbe69a5786292e60a5cb0e8612e0e223537784c731af55db1","e927c2c13c4eaf0a7f17e6022eee8519eb29ef42c4c13a31e81a611ab8c95577","07ca44e8d8288e69afdec7a31fa408ce6ab90d4f3d620006701d5544646da6aa","70246ad95ad8a22bdfe806cb5d383a26c0c6e58e7207ab9c431f1cb175aca657","f00f3aa5d64ff46e600648b55a79dcd1333458f7a10da2ed594d9f0a44b76d0b","772d8d5eb158b6c92412c03228bd9902ccb1457d7a705b8129814a5d1a6308fc","4e4475fba4ed93a72f167b061cd94a2e171b82695c56de9899275e880e06ba41","97c5f5d580ab2e4decd0a3135204050f9b97cd7908c5a8fbc041eadede79b2fa","c99a3a5f2215d5b9d735aa04cec6e61ed079d8c0263248e298ffe4604d4d0624","49b2375c586882c3ac7f57eba86680ff9742a8d8cb2fe25fe54d1b9673690d41","802e797bcab5663b2c9f63f51bdf67eff7c41bc64c0fd65e6da3e7941359e2f7","b98ce74c2bc49a9b79408f049c49909190c747b0462e78f91c09618da86bae53","3ecfccf916fea7c6c34394413b55eb70e817a73e39b4417d6573e523784e3f8e","c05bc82af01e673afc99bdffd4ebafde22ab027d63e45be9e1f1db3bc39e2fc0","6459054aabb306821a043e02b89d54da508e3a6966601a41e71c166e4ea1474f","f416c9c3eee9d47ff49132c34f96b9180e50485d435d5748f0e8b72521d28d2e","05c97cddbaf99978f83d96de2d8af86aded9332592f08ce4a284d72d0952c391","14e5cdec6f8ae82dfd0694e64903a0a54abdfe37e1d966de3d4128362acbf35f","bbc183d2d69f4b59fd4dd8799ffdf4eb91173d1c4ad71cce91a3811c021bf80c","7b6ff760c8a240b40dab6e4419b989f06a5b782f4710d2967e67c695ef3e93c4","8dbc4134a4b3623fc476be5f36de35c40f2768e2e3d9ed437e0d5f1c4cd850f6","4e06330a84dec7287f7ebdd64978f41a9f70a668d3b5edc69d5d4a50b9b376bb","65bfa72967fbe9fc33353e1ac03f0480aa2e2ea346d61ff3ea997dfd850f641a","8f88c6be9803fe5aaa80b00b27f230c824d4b8a33856b865bea5793cb52bb797","f974e4a06953682a2c15d5bd5114c0284d5abf8bc0fe4da25cb9159427b70072","872caaa31423f4345983d643e4649fb30f548e9883a334d6d1c5fff68ede22d4","94404c4a878fe291e7578a2a80264c6f18e9f1933fbb57e48f0eb368672e389c","5c1b7f03aa88be854bc15810bfd5bd5a1943c5a7620e1c53eddd2a013996343e","09dfc64fcd6a2785867f2368419859a6cc5a8d4e73cbe2538f205b1642eb0f51","bcf6f0a323653e72199105a9316d91463ad4744c546d1271310818b8cef7c608","01aa917531e116485beca44a14970834687b857757159769c16b228eb1e49c5f","351475f9c874c62f9b45b1f0dc7e2704e80dfd5f1af83a3a9f841f9dfe5b2912","ac457ad39e531b7649e7b40ee5847606eac64e236efd76c5d12db95bf4eacd17","187a6fdbdecb972510b7555f3caacb44b58415da8d5825d03a583c4b73fde4cf","d4c3250105a612202289b3a266bb7e323db144f6b9414f9dea85c531c098b811","95b444b8c311f2084f0fb51c616163f950fb2e35f4eaa07878f313a2d36c98a4","741067675daa6d4334a2dc80a4452ca3850e89d5852e330db7cb2b5f867173b1","f8acecec1114f11690956e007d920044799aefeb3cece9e7f4b1f8a1d542b2c9","131b1475d2045f20fb9f43b7aa6b7cb51f25250b5e4c6a1d4aa3cf4dd1a68793","3a17f09634c50cce884721f54fd9e7b98e03ac505889c560876291fcf8a09e90","32531dfbb0cdc4525296648f53b2b5c39b64282791e2a8c765712e49e6461046","0ce1b2237c1c3df49748d61568160d780d7b26693bd9feb3acb0744a152cd86d","e489985388e2c71d3542612685b4a7db326922b57ac880f299da7026a4e8a117","e1437c5f191edb7a494f7bbbc033b97d72d42e054d521402ee194ac5b6b7bf49",{"version":"04d3aad777b6af5bd000bfc409907a159fe77e190b9d368da4ba649cdc28d39e","affectsGlobalScope":true},"fd1b9d883b9446f1e1da1e1033a6a98995c25fbf3c10818a78960e2f2917d10c","19252079538942a69be1645e153f7dbbc1ef56b4f983c633bf31fe26aeac32cd","bc11f3ac00ac060462597add171220aed628c393f2782ac75dd29ff1e0db871c","616775f16134fa9d01fc677ad3f76e68c051a056c22ab552c64cc281a9686790","65c24a8baa2cca1de069a0ba9fba82a173690f52d7e2d0f1f7542d59d5eb4db0","f9fe6af238339a0e5f7563acee3178f51db37f32a2e7c09f85273098cee7ec49","3b0b1d352b8d2e47f1c4df4fb0678702aee071155b12ef0185fce9eb4fa4af1e","77e71242e71ebf8528c5802993697878f0533db8f2299b4d36aa015bae08a79c","a344403e7a7384e0e7093942533d309194ad0a53eca2a3100c0b0ab4d3932773","b7fff2d004c5879cae335db8f954eb1d61242d9f2d28515e67902032723caeab","5f3dc10ae646f375776b4e028d2bed039a93eebbba105694d8b910feebbe8b9c","bb18bf4a61a17b4a6199eb3938ecfa4a59eb7c40843ad4a82b975ab6f7e3d925","4545c1a1ceca170d5d83452dd7c4994644c35cf676a671412601689d9a62da35","e9b6fc05f536dfddcdc65dbcf04e09391b1c968ab967382e48924f5cb90d88e1","a2d648d333cf67b9aeac5d81a1a379d563a8ffa91ddd61c6179f68de724260ff","2b664c3cc544d0e35276e1fb2d4989f7d4b4027ffc64da34ec83a6ccf2e5c528","a3f41ed1b4f2fc3049394b945a68ae4fdefd49fa1739c32f149d32c0545d67f5","3cd8f0464e0939b47bfccbb9bb474a6d87d57210e304029cd8eb59c63a81935d","47699512e6d8bebf7be488182427189f999affe3addc1c87c882d36b7f2d0b0e","3026abd48e5e312f2328629ede6e0f770d21c3cd32cee705c450e589d015ee09","8b140b398a6afbd17cc97c38aea5274b2f7f39b1ae5b62952cfe65bf493e3e75","7663d2c19ce5ef8288c790edba3d45af54e58c84f1b37b1249f6d49d962f3d91","30112425b2cf042fca1c79c19e35f88f44bfb2e97454527528cd639dd1a460ca","00bd6ebe607246b45296aa2b805bd6a58c859acecda154bfa91f5334d7c175c6","ad036a85efcd9e5b4f7dd5c1a7362c8478f9a3b6c3554654ca24a29aa850a9c5","fedebeae32c5cdd1a85b4e0504a01996e4a8adf3dfa72876920d3dd6e42978e7","504f37ba38bfea8394ec4f397c9a2ade7c78055e41ef5a600073b515c4fd0fc9","cdf21eee8007e339b1b9945abf4a7b44930b1d695cc528459e68a3adc39a622e","db036c56f79186da50af66511d37d9fe77fa6793381927292d17f81f787bb195","87ac2fb61e629e777f4d161dff534c2023ee15afd9cb3b1589b9b1f014e75c58","13c8b4348db91e2f7d694adc17e7438e6776bc506d5c8f5de9ad9989707fa3fe","3c1051617aa50b38e9efaabce25e10a5dd9b1f42e372ef0e8a674076a68742ed","07a3e20cdcb0f1182f452c0410606711fbea922ca76929a41aacb01104bc0d27","1de80059b8078ea5749941c9f863aa970b4735bdbb003be4925c853a8b6b4450","1d079c37fa53e3c21ed3fa214a27507bda9991f2a41458705b19ed8c2b61173d","4cd4b6b1279e9d744a3825cbd7757bbefe7f0708f3f1069179ad535f19e8ed2c","5835a6e0d7cd2738e56b671af0e561e7c1b4fb77751383672f4b009f4e161d70","c0eeaaa67c85c3bb6c52b629ebbfd3b2292dc67e8c0ffda2fc6cd2f78dc471e6","4b7f74b772140395e7af67c4841be1ab867c11b3b82a51b1aeb692822b76c872","27be6622e2922a1b412eb057faa854831b95db9db5035c3f6d4b677b902ab3b7","b95a6f019095dd1d48fd04965b50dfd63e5743a6e75478343c46d2582a5132bf","c2008605e78208cfa9cd70bd29856b72dda7ad89df5dc895920f8e10bcb9cd0a","b97cb5616d2ab82a98ec9ada7b9e9cabb1f5da880ec50ea2b8dc5baa4cbf3c16",{"version":"d23df9ff06ae8bf1dcb7cc933e97ae7da418ac77749fecee758bb43a8d69f840","affectsGlobalScope":true},{"version":"040c71dde2c406f869ad2f41e8d4ce579cc60c8dbe5aa0dd8962ac943b846572","affectsGlobalScope":true},"3586f5ea3cc27083a17bd5c9059ede9421d587286d5a47f4341a4c2d00e4fa91","a6df929821e62f4719551f7955b9f42c0cd53c1370aec2dd322e24196a7dfe33","b789bf89eb19c777ed1e956dbad0925ca795701552d22e68fd130a032008b9f9","9269d492817e359123ac64c8205e5d05dab63d71a3a7a229e68b5d9a0e8150bf","4b2aab41b7e2a4295d252aff47b99f1c0ddc74bc9284dd0e8bda296ced817a61","a01035ec8ac796e720532f76a2f5ef957ec5ec6f022e5854e8522fa4fec3dd3a","a3628f430f8d502a5c026a0c932a5c41e6361d8e0248287872cd8999bc534399","29c305205822f6f7d2409743f4f403796c75a04cdc4ea463fd69e62694f524d5","9d5cb39dff5049bdfc2c80a2221e665b883471039b5b6553ef71bfb34128f8c1","603b7abaddadf30611ab2369f7b30bf9798e90bf68d1c8ad55a96b47330fc235","2f9cb7be9bed0caee7ceeab438324022150f0905cc40c3f5a22059651f573bfe","cc05693d8409bd042f41ba994122c982d5ddb63325852fcb65a861542f6a3fc4","1e0abf741dcc23fd73e407fe20e80ffb79c4ccbe492fc55f8fb123d8c6b2ddbf","43d5cf77dc7f72626440861b0f974ed6aabddbb08f0a5924611165f60d1a6287","4e9f1c1198d858d6ae7770f470bdcfc5500ed36d080942ca04ecd69e87df5c72","f7163a5d37d21f636f6a5cd1c064ce95fada21917859a64b6cc49a8b6fd5c1a8","403d2da1db9a4b1790adb3c9a95afa7cc573e8a4348f64f047375ee10434f5a2","381b623c9ee962965cc3684ee45de6236f91cf24eb845dafc3a74a27d1eed070","1f84dff7964146377785aa684028ca62290e0639ac41fd0c5f391a5f5d414adc","4edf6371c3fd1f12c91cab0b0c42340ba0205e1a24f95757551ba46b6ab0e8a4","a2ad3487215f4257d4e5915a9c72ecf750e040856b13363f5498f718f2708109","dd033bfb97f7ce5f1d1443dbe8426c71fd7bed6ed37a17e9ecdf860d2e1927ac","b3e693e175e7562b99a7bb61a69c742edca2b5ba7781233592f32bf2ea32341b","40fb0c96a1f8695321ad62b19784855a21b3ce6291a73acd69b7fc13abb26c58","87b87f8f8e2e159f09fc254553c9f217ea9cf5d21f25714d8b528768d36b2818","9f673a4953dc682735441e2eba5275f59dbc63a4372f02a55293864bd5185669","61850c6574b708865448d5f7cd01a2a7fbb7794c7d61984b09465d2a6fb340bd","a9bd1e3a2c88ec655ec893f0f2ac5fc7f9ce860ba0cf236f05976b47a434c00f","1c2f7a82450d9a73df5a5655bf7309ac20af15d245cfd93f11d0c9df0bd34f3f","6b3d312e4a3be452af9aad07d1cc6036ef4a4d7571141f6d4ad820b86ef24ad8","f2737fe8c9a990d1963bf940e9e4fbb2c44dc2179b5f00accc548949aa0082ce","33899c60aea8188645a90bc029c0a98d18c5cb271de8a967c0a7e45698a28007","6802c4b9b61748d8f998f5de5daa6ea8503fafc523a9ff4ee928d626c7d8d25e","a79cb26880cd89a7169e175143885511b67a73368890c9741e391269a30369a0","d96e54beb58131d76e404e4d3fb4a0f62422cb200225f2439cf0728baf938b4b","dc18979157d4d0c265fa5284b7f600e6c1946b0a40f173a96217bd3d2bdd206a","b218e161e51df887331af185c6085ab82605c890f665372c6e1ab98b6185c9d8","2b2d4641747f9a2f8212814763e7c47c001f325c5b07cfbd92b9f53fb20a0e21","b6c319b159fff6baff81618c5fcb66d7b98a1e95cc8ff7af9fb564af00c52323","4ae9b50481136302de9c77668621ed3a0b34998f3e091ca3701426f4fe369c8a","9ba9ecc57d2f52b3ed3ac229636ee9a36e92e18b80eeae11ffb546c12e56d5e5","ecb56b93fa199a65b8b4269157b00f18277b5abb5b5d2209fcaf2268e8f69207","88b9f1dbe21ff13bc0a472af9e78b0fbdda6c7478f59e6a5ac205b61ecd4ae6a","c6ba26c569675bc62ca22d8f6cb3ead1d9a49f037e7306b4a31ceec322449bfb","ec3e143e22d0b8828c2b99ef926af7ef05475421866ca9915444b383cd9e1db1","ed40c29fadeb347fc396ee8d38289252d3c4c5623a66422da612a379ce1e64f4","3174188c428eb97055806b7cab1d5cd6d8a2eae81208dd801e890960f84bcdec","a8a84a92753c37b23766e201bb6f3eddcac891c4a60d881ece851b9e51278c31","1bce4eff735766d88309c8c34f8213502f5c84ca463ecec75223bdf48f905e36","4b5096536d78198029acecafd3a35b51600211f81fd30b81cdf6da6b142c5f3e","fe0015f71644abd8738a6db80ea67be5c2068842e77b0438dcb7209145252314","01ba761ce6d75a4142858a053f45d64d255e057049ab1cc4d9a93e76b8b5c444","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","ea2052c5a763067e9c3598d7f3cc2797acefbef6739f73104d9a8d6545f36bc8","9c183cba8ef53076bfb5ae0120e6541945d7995d8dd8e10ee456a5077cd61e77","0b968f19038ce1fca50f8f7272269b1f180a0501ca9db3bf79c541dc5c5a975e","223d1202fc428423e5469c06cd18a4988f1fb611ec08a138b4627e03bd038cfb","e3e8073cde00480df5fc61e0dda4466ff1908c6a82efd197983026956b6a38e3","c73f4871916122180097b604cf2a44cf5fe062c3f8587840ed16d4ceda012136","0103b8cb3cab9e352821810e5128fcf73ea3503755f7ae9f0cb864528028fe0b","97e0fc5fb970657971e04cb0c694a4b2318ba30ed3dd7bbb282d2eef3fd26925","f6aaa1d437012e75c8f0d3355a9d11c6073983e966f09d4bd84cec9c9243ae5d","0c1b4571038b3156148c9177d8b2a4ea25bf4d20d229e8a276c52fa2dcd1dc5e","d05757bfcfd4c7a4222bc8dce28eaff1fc737fbb176ebe1ce722dac405b861a7","7e640b49480ccccfee2c04eb05f94ff882642419432e1f7f2c07cf470b8cc0dd","28d17bdf4d49835fbce0869faecb79e469e152f5c1628ecee3fb8dbe2533c793","ae65d45de78b631673b68f677f7912a3b51242f2853763384b19de521d64eb0d","91a06a72570950230aaaff48316df8406af301af91da2d6da6f482509864b4fa","b9f9f0633f637dd3ab941fb2c3da135914cc2f4fafeec4e892ea026ac94a2546","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","c303ddb5363f3579e72e1b8c82677099f89b743e2b0bfdf9949ec8ee1d131d58","953c7216ff3ca743e34e3e8943134d70db0fd61b8be89ff34c8db540d930d45c","d1bab031270c841b5d6ea6f04dbb628797f94a9b63df849ca74876442cdccca4","d26139d64b745ea820e59d5ebde8855b0fa9441fb5884537d1eb1e5b75d5ce76","ff07ed774390d92ef44613d66bcefbb73ee7152334e38196b35bf3bff3f6f644","2a38431d4c2a695bbc48228426ce2daa971bbe4b49c5fbb4830f7bcfd5dc57ae","e6e5151e0d552630920156e7789815c072c889f39f50cdac05743e711355b10d","65072f57b690c18072b35cf645983c61ff9e84f5ad6d7a548f3463bf100af371","5e98fc3e8a25cc06c0d2f4ca708be1bcf57dc3e089a2b02698d0ef56a0248278","bfeff70f66695918b81a351eb5800f1aebcd2ba88b9b73c4d0fe5c52d3f2e002","cd0f578dd2bc8c468386f69ed9ca8c298f00ad8180b4aede711e8ccf87ca508f","9592556f990701954b2de407f553cd2fbe39f22cb2426590099c7defc0dd5674","d145623372072d5168eeff8b696c0cf9a088c1de71ef9000e617b80825cb43b8","26a5da5e59545b43ca2a6f4d0d352f2917ea78f1e412118560ac878698e3dd69","c3e96fce52318b2bd76ada7a1b25eb5e25af9d009609d4f0ccb0c410c40e4d8d","519b33d77559ed21872b5393297c83fded402ce85f113b598417b69a58532688","163b9020ae1aa75f79c3127cc7424f6a684fee34f4781cf38c47539d809171cc","77ea8d859bd29f432b88f5871bbf668ef03f880ff6c728b14d0f00515ebb17d2","7d11568e5c8d0c450b1fb03ca3d42ab51e60a1beb2c66b2636a5fcbc1a2bb443","df2f3fcba4ca4198a025a8135154c40a64814bdc3a6cc795f70aa135a2310cc8","e1de913a73e7a024e1c7afd76a833f1683df4c99dfcf75d29bda5a88f69a4311","8da07306adb05b9cc48a4cf31a43e665e642be63d39ba540b1e56899b1216b1a","f67fc03482f35cdded6a1c0c8701edd3c5146df8bf40923f133f7b25f06c2d42","f01f9d0bd16f68ab930404b9493fe00d403cc36798c985c05235baa5489a64c9","1d7fab10b3526aa45977d7a02414414c03aa23b9509121b3672ce4341e846f50","9299f07388e904c7da39fd421b9555a696e3345bb6cac939eb5dd8daf966a3cd","cc2fdd1aeb59438fa9bb20e94e25446f935c474ce7682ad2b74dc46d251dfec1","2475474a2f40ad6ce63f8c76855e80b5553820583f5fc073f01657e987ed51a5","ce43232b33c8dd4388a687c25206c7cfcd4126edf379ac5cac11f7e283ffc57d","24c0c5f441c7da368c5c3708770fbe6fb4b59e5237d074df6d3d9c0a24b70ba1","2a3a53cc247fae4d745281a8866d88440624991d1164cbe58f201eab4c18e506","744ae8b93309cf9f7369734cbd4f4049f6513639a2c4543fb74414001e21b7f3","52abff5726951e4bcaab4f8560d8335c81581680b5b1992c069c234b51713cfb","458baaadc92f1b6b0dde4ad5b24818ec770aaf7eec0e52fc6797a651209eed10","c109e09d4b027d319ec08417bce3e2ad8982581f0a08909f31b3c1d1afc5fb99","deb784b454896073e8ebd2ccfb85c5016392451b9e68894352105913d8e2d5ed","5062ea72cb452eaf799e0488b76373b5d95d14b946f62d8400654816f44c0886","31db00295647af7b15d364c1fc96ca24e82a1cda089c918cb7152eb9e55eb0d4","58845e5bc5abf92456094a1478052ea96644851da24598b0b53bffc376ecbde7","dc918cb6c9c67cd5db04639552e6db2ad3454f3089a06f519c1e6a6c8093576b","ba75c52be0b2c9858e6225eacdc3063256004260c6fed0e2132f1796ba6faf44","b2c5d7314cb9c7a65bc21b82c5f3722e159c8c1ee8db4ffb4e0bc1e4ef569897","09509769caf68c69423e42465300ee2df102d25434862240fd82294781738f67","c2d3e50e682b0d560dcf2d79a9b7eeb2d98b91a23b5b87a74bb9d5e5004839d7","c546ca0b8382102c8f0648dda0e62669197b4e39cb3ba30c1e44258dcbc072b9","f9d0907513bbd01477389c5b6b559841e55a8496d3d7a88556cb508714aa73a5","305db15721f4d21239249d944fa69c9b96df5c03eb6955735d65a179e7012aee","cba6499bf33178c7653433922bd527ddcf4be0bcce1f52392262c89b29629c1e","9870d452de96b7d905d7dcf89f681d03b9bbd9bfa9255685ab82972c607ad216","150a311cd489d4035149c9c6d4ddf8280039810aef7a04ab20364a0055a1410d","01c87480d7e827a2f9063d8a86cd93a32f16ea888b3434f77cce656ad3801b9c","6c9abe37dff677c96f73c49010e3eddcb8f81742301ea14ddc6eec261d6963a9","097491eed26f74769efd80dc9c6af8a5c18076c08d498005fe33ae54594ca46d","c1a660a90d6565c602fa458f53849140c9008b7000ce8823443a2b1ae9ca46a3","b7d24a9e99dfbdd1404691330dd7b4a849601a8ae318a25c1fb2901a3f309b4a","ada36de8fdcc25c4ee9e37dc91a01da05902378a29d6d3127549663a366936cc","3ee003ffc82ad984aee59853acbf6801b2e8e3ff268490839f2ba99701dbaea4","0afa81026df4ee3b6563aa148ea163aeff1454787a4e9bcfbf3baab73629ecf2","c816a0b15a19c1433216f2fe1535cda5d4b595efb62b0d73500c6eb303e2f441","2c505669e2269156f058c7ccbcb3a2536a238d2a8b4065461f57878f4d15e8aa","9ee22ada6c9a833b93443daf5cfced565a49e3cf1208fb682bf6e2885cd40da8","0ee96a6477fff343cb489399ce06904654cb0bebe97f812860b45df46bb07782","4e22c38dc98a108ba5548487b0bb2ee1dbe2fb7335b1f098ff61d22ab4a30770","8d1b74313b425e1c556dd09eb9d8fb68fcc326b4bed16938931953dd49f45ddf","0a6fd15167ac1e2a5014b59953326d4dd4dd41b2c001b7aebb52935faf9ac8e0","2eefa442b19a4f91518448f23b2357bb3569be7362e060c3b9696de791e86417","68482f264d04e2645bf6e3a4c6e1304c295689b308b1b4641350caf572091377",{"version":"73a0ee6395819b063df4b148211985f2e1442945c1a057204cf4cf6281760dc3","affectsGlobalScope":true},"d05d8c67116dceafc62e691c47ac89f8f10cf7313cd1b2fb4fe801c2bf1bb1a7","3c5bb5207df7095882400323d692957e90ec17323ccff5fd5f29a1ecf3b165d0","b7edb0405fccfd589e3dea1cd3fa70649059983a294ddf8559c0680bd8b9ce09","f747f9aac19660b411bd1e63b6e69035bfb0e54ad399e3a0043f49905e3e0093","b242b3e743a92db4e94bbcb02cb5c1d979c3926614894c326c207cb7a26e860b","68c5d10dd7540a35b4e3b50921d0173749610a25360d57eae35f181323df534d","55a082cfd7133ea88561efe8b866a343f2d96c0f57df9bd28ab9c993ff5266d5","2eec28aa8b20497fac517a9908e5c4d7aff6003d8de47f161045e25e7b4d85db","2256373d80b29ef2b044207da2b6c7b07795ce953788f24019225dbc8667022f","21ee965d842bea8b5cb578b1771a80df284d022eff685a0bb242ea364b45781e","2e3241059b3f6872035bb49f6faa092a4c0a10fa3d7949fba01840d02583a847","48686f89635291d6716891ae9cd998a68217bc60557b90cd4e96e5fe3b241549","e935c5ff443dfc0dc45496acc1be22561bc2d1fea49d84d74a1a95f0f8f5643b","1f235af8efb1cac64740e5e38a2b062c0a6e490b52d402ed0bacffebd8b81842","eb671bb70411c38a7812b084dab7464187166da5014da772c1f0c6d72e27f7c2","3c9411b4cb38c6fbf7023791ea172e55cb5c0448730070f755b8f0b3bf7ab87d","8a92bce9b48cc03c9c5ef304794214cd5131bf8dde22eda43576808ff47f7157","39fc466e8b8dcdb95ebb9e1fcea060f86118f22b0ce4489f71338a9ca8a255e8","d0a16637798aa5782359f92ddb998d97f48b24203e81f7686b4f71188cc208f4","44b6d92b4d60b325a7841c52445d6c5680353d792bc6a52c94b2b03da187d99a","5b022afd1e71ba731b9f1125aa34f52746ef7854afecad4ef3070222303c7c14","22410197112071d3e4db27163dade83ed9059809f3b1bfc6ee09c34377958e86","739502388a016768cb8d1433c370aa646597cf12e0a52f200671af413ba01a15","93afcab54c10fb39e0a804b10ac53748b7b2e2ca746bdbb5c27f1d6178de0f01","f1476fb575fba80fd91cac4543f69f67bee319e4f805a900e79811daf8ac52c1","2656f4f47607a47d0fc44e361a56db89a8d4bedc0fb1c0a7f103893ea033f9ef","e6dae686b9df43fb6838b9f13afc98214d84c524592c96fb21c34e321b36ebb7","48912fdbc863ecac2d0a738460aa6392a09017ba62218ed61287899825591ee9","e261cf63c8b3eca1b39140294c4312416d9da13b11a77aab855be8a4d888b0bd","4ace1e4c929b57afe38ca2d7bbe0a11c411e136cfb2cf994e2a17f8cd832a190","ad3c0f0de3310fbeb3de69c8fba86c2c0c7ba6f37df689b49f15b014f73ffd0b","6d09838b65c3c780513878793fc394ae29b8595d9e4729246d14ce69abc71140","fefa1d4c62ddb09c78d9f46e498a186e72b5e7aeb37093aa6b2c321b9d6ecd14","2f46dd1d337850c110a6cda34072880992c1c22fe93550291ef42fc506f9fc6f","b654eb417a524411f2b09ae7728d40f1fb5462385879c15c90328185d8eca1dc","9532f37dc779d667f75e8c12bc6faa31bc4da79f852b708ea6478ed59c2ab69e","aab13e4007e81e86a1ee2b0186223a47d4c70caf4369f5d464fb1820bb623b14","9691ea7fbb97b0f4b0b8ce69d07b3f928800882e3b806bcd0b3bba12d2c7f443","63c010c8e3e0c33bfe2c4fffca858f9a7a28ee84c090652ae9f8501a6037afe5","c8abd849f7fdb1e4787b53520896cf142f2e19821f9af86615a6af4436074eef","cab76feb8bdafd8f888d060a7a014f5a407c7599e0b0d1f85e4e36694248a1f8","41a2c5474756ee1b12e5502bcaadddd6daa9b79e5fbed24b5c9e7d4352383170","cee0181994c0afe05ffc4bfc05ffdf4eba3275cef012c562b23572056e8b3466","1746e36a770ed7dc23f46f13dc916d64a74d826be19a5d80187d01bdda7f7e37","cb0cf5f5d206e674a8c741d6f13abad5fd6ff2ace140f630f93ed5f439247aa7","a788be6947ad10e002ec03b411c7c8deb2867bd9ed477dee2d09616fac585e41","468e8cbacad1354f175aaeba36c05fce8e77f5d8c0f4eafe6782dd6c72d2ad63","9c716d0149b9ef47422a5dee0425881d46b74ec0e06e78aa2c25f1cec6afd5fe","28725c21608a319c62da4015909eb2d66539963c1c80caf16296e888c6357028","87bfca9c407cd0bc99d397645bd625ee0149bac162552c2098f2c86e0c743cb2","952ef3116b3bcd456de226a7e313fcd6eb0e2d31aefff8677816a1880c839bf6","e0c7d85789b8811c90a8d21e25021349e8a756a256ae42d9e816ecd392f00f71","bb8aba28c9589792407d6ae0c1a6568f3ddc40be20da25bc1939e2c9d76436bb","8fa1868ab5af3818ff4746f383ea84206596e284f7dc5ffd40a0fac08ed093f9","8d4537ea6fcdde620af5bfb4e19f88db40d44073f76f567283aa043b81ef8a3e","0bb848976eff244e33741d63372cbfb4d15153a92c171d0a374a3c0ef327a175","af79b166f5d41ec2ebae57e9b67df564452b90ae3f0af4cb3c2d8ad5adbfd2db","001015983957b034f5cca374ac142cfaae853903bf102f369e0f9b873630765f","90742d515c380b0ad3ff1ad08cf2849e24446141727f8749223612cf467fe2c9","f1226c85c75dba57bf83b0df3fcf20af9c8d8a6f1043f33a637425bc41abda85","f2d80ce361931836b85db164e993b2770538c0ca2c13119dcbcdbc8962e2fdaf","a38fbe9176d15bbdfc75bec1e64c8adee2fdc1a3c9c65c1fb15d66ce764cc881","7a819c7133551418f5dcdbf7038879edcf2392baefde8296389f5c3c20cec2e7","a458446a6e4ef3db8be5f214f42490acd6d2bebc9c15c397077b0aae75da6a74","0413281c480cbe10fc6de715e912bf05688c53024884c57d0433981c06e5eb7d","66b96fcb89d40c04f29c2e9d379511f7b77920fad349a6bf977d06b1b3ccbd10","202f8582ee3cd89e06c4a17d8aabb925ff8550370559c771d1cc3ec3934071c2","8b0a2400ba7522569871331988f820ba4cfc386f845b01058c63a62ad9db8d03","d3e29566a694a4068d450a58f59e3a3662fc12f74345343d441ef4d954984503","f7b3e68f7972250809e5b0cbd8f0e1f9da8c1dbf70244f289b204f1b49c2d398","4c7c99f7787c5c2ea6cbd911a7b5c7c2a4ee1cb9d7f538805ee2550cf1f1fb99","1557bf37fc8d5f129436caa0212f25d6cbeaf9d20e2e3a60b13306ff62a1d7a0","9a1e77270d63875c9a38630f9a7a9126f9a8df0245d5eb220832a65d408079eb","e48d0036e626bb40f236e236670722445ffff854908c2d9515b2b5b7f677794f","30f9018873d6d80256298011161a664a14b927f719f8a7605ceb8b49bc8808da","f543ea0fe820064a2cdbb39d2b2846c507467c4771eafcda2091da43b05c077b","9066d02264a67aae05410c340c8fa41a79bb076c33d1c6ae3ec29a05828f4c05","00435c177c3da6998c2f95b9e71239f00cfabd3461401cc4d8606ee3afb732b1","d432a2956d1efa172e1c60a8186a81657f2f9f4ba449c6abdfa9d057d484c45d","bc6679207eccaa45e49b930ad45ec8e7903bd8b0868e086d8bad91f79c914ca0","4dd35e71d52007465787dd2f374cc756a29e6c9b96dc237d0465d0294170c529","7ebf1f440efe6efebeb58a44000820cbe959da9d9496621fa6dcbc02666e3002","08a9e70641597e23d00be62e3a94b69ad93c5cf5541ec7bfdeb5e9f69c845507","ded59c554118589a8729fb70429318e41e7e8155b2aff5f3d7a77933e49dbc10","3af507089e65c1472a87e5f7345ec18838d7e923c2c06fdad3d31543278af762","c867e6d7de78f96eb55b534b3aca1da4e029a6ab0e4ea9d0610acf11d737f8a0","2df075b38e2135201202640fe92bce8d03fb319fece410b088a22ab4e1be7702","b9f07153f8e881c4cca036abccaa134df30cf09a3381772d089d1eeabe45770d","88213e972b5989f217627bdcb79a697f66821e8ff135265712346d532243084f","bf6122555f34582e6d5424a88676d90f2333e0e920764895c15d39b6c856053c","bf04a1c9ccfeabf521b7b97f388d05bc5f628422253399eb157fec0d9cd213ce","3c6ecfcc6ac82b5866368d1efbddeeb3bfae03962747bf6928d8faa092e5b369","06d19317f4c8474255b3ceab7102763faf7ff0aa4cc305384b13ccb6d27b2e50","ebe1694b3a7a0265b9cf8fb3bfed6575907247b61add671ea9771fd6715d1b29","bdf4a7242e5cce621b5ba689351af780b0b665d97ea88c71f50801aa80560236","6bd6ae32288500128ae355de57d6bc3b5884f37e1e5d5ac597b142f63b3c8121","a6634dbc56e3d75efac697e59fef032aa15cc537acf7f6ad3a045001f48483f8","b1034ebae57552a5728364b92fd226100bd0a55c7a5190ef890efa9952aa9f0a","2a208dc26ffe03d3415a07083b9c80488031bcf38a1c3a36cbce3b32616a31e5","658193d49be9f6f58719cac3fd10dfb967e71782125022a18167d89c690f3a4b","e4455f54088ef99f20da7278aee31d7a166abd58b2e17abea53e5b9e5daf3da5","34c9d4e5034f9b29d22ce7b62cd1db65c7990fb79d981ba2fe25263e58ca4352","def6fb9eb18e83dee49d27ecaf1b179347e2a7b8f35c59e5c9eb9e3995a96615","33a76500c5b4b742d44d47656ab22c60a90ef2ff85c527cf4351611fdda2ead8","4ddff6b56e4648893b7cd7f42267ac5553c9db751722da88f839465bb3e0850a","2d9c6bda68e7d2dd8a3bdb8c5fad799052247a4e4927fcdb16527292a67770dd","e2b65ea0e7ec2c881a7ad1e179d706ad540ce2ca3f19d60964353fb0c7effbf1","9a1ef520e6a4bd7fb75fa0376387b5785e0bf71ebfc5f4f79eb4d2fe3f2ba578","d6dee095f7c8ee400ad6ad4d673eb9046370e6b1253a6fe953dcb29c66b374b1","418ccc2330a5920e943f3ec24a43b3be7668e44004f370c0edd0866c800bc37f","24e78bf0277487ca69d4d1823874c60453b8adb1266da97ca2bc98aece613702","bd39b3ce8e4cf1ce0587d583f1c4248398f39337409ef92f73ab161737ba0e1f","eb94e717a28fe0ea7d52b4820ccd7707173b1aa6d0e5fd7c83d81c40af5340b8","d6430f6d821ed78d95852d0138f7b0c87a898368b547cfe2eb50cfdb4f021e07","f8295d9f231afa7e83b4687b50d70b72af9a87efd4b619973f1bd440eab0dd89","522850d4c02c0e23ac4cb14f692078fbebe4d710c8dbfcf35a57b849662cbeed","f73f432189b21a5b1d25472fdd6cea05adcbabf39d66cceec33cf1c49a97d1d1","565c65af75017da6d2064881a095c4a07cbe73454e928c721dd6b956e1af263d","7f331c1a1b0ebfb03a75526a065d37aba96d389382b2cc78499c8f80cb156b6e","5ccac35c2124df6338e25d5874230e2926738bbec5acdc5383cd4fcf5e9c1eb6","1a6d72fa9b56b900300ebe1738e822255753d6b27af13bd67eba2f329d3d2c67","c84acaa35bdaa0327d04399cfd9794111262d1a5d9c44aafadb93819884efa43","6b6a60d9bbfc6414ea3b406a84309f1bb302465942b15895a78fdce426d916a0","b907902dfca5e8d41be3d3b56cccff6b24049009b333ff819a9075a24dceabc1","e23ddb286b3061b6aab241dbf347388b62eb1b71233fd2f08c17769ae119e693","e94f44f405f4b85dcd6ae3b25042785e3ac90cfff8534292ace4bc7df2e6921e","f0236f53f1679d3375f074891235af5bf78b60edc2fac02abf186e9472e5379f","74d75afe23a291fbd13c4249b8fa67c4602d16872896cbfd7afdd5b937ff64ad","2d70fb4f406de3dfbdf29a12b26111a634d5efeb8fa431f2356970093dfc60f0","1c5c103f8031bbf05747b8f7efb864fe4cc15e0d3020d4df3ae1aa58c2ebed67","6d2c837ff8a55f5d545e6e7a2832b1a1d5dd383768dfb9694f9993ac127a6cc3","a5a15b15bd6bb0b31c6ae449ff2e396aae9582a4e5519f8ab7bf34af4e187b22","0511fbe920d0c279f7ee0f8699037e95d46be150f87637337439048047a891f1","ad9c424895d94db8dbebc8105e6b1943f2b08cd10544847f30d92268dfc56eca","5484774cbff758a781e7eee31972ee695c333e28e1614ddf2b484a4fb4457689","f04394febdaddf381d737932f3ff573cd6371fe56d4ae6c208f08ec86c631267","6f235b589459d6b40818b2b293e8d6a54fe66f1154dc41f91488443255b928f4","0da7d20ef63ac65562a2cb7c268d8f779dec6ff470ae4e011b2f906c58011039","494a36569a43f639a9fe6502885eb8b18dc9f3a6595cdf00f86005a994847a13","31ded97b6c602308ceb9147d2b54932f7ecc7c0e39599c9f99b36f4c1288257d","fcb8b12e4a4318b46c819f714f04763ec7d19a72d7a0d390cbc20c77f1180fad","bb50783a9a3ba383a7233534056d6beb9c11166d7cfccaa1f4e7da62379337eb","3bb45f6437563799319eff7c1c2019c801b78dbf6056325a5c133fda6b3517af","efb655fd3a04e5c0b144a46720eded1fa25a4c3678d7ecdb42f5de4944da182e","3f80b2001ba070aa001fee71815e8a8802e3b29944e3b60d29592abbd3967093","63b2744f372b84fda73db856d861cc86a8af87cfa8b5d4cb7b11a06cc1aac430","a995035280dcae9038194a3ee97731027921b2e64b90c8ea0cec42745be219df","a7775af5d52b1b6d407e3071efec847dc21a0d46124467134aff94544cece8ac","21045b581ede713d522d8bb4f41c6b84756e2992cfcadf9981fbbcec4da17ce9","16ab240800c733ea11515971b9a6499a56dd3e8cb2b6e6e982feded316fbf2a1","3943ed37dba17d512c75b3887ff0c459d4aaf7b80f025c71ae70f3f596e04847","b67b3bbca8a2e45e28acfefe2e0f5645a78f7aefcb8a1159773e516280d14c94","1cbea377fd2b28f7e9387e86bf643be28fb6730d65b83324e71af5de81b6b15d","885b65db59ec41c4a44343b3a6e8505ecfcb6aade1dc7f056efe63e42557656f","a369096080bc24377b62e87a258062f37cd5111eb90118e0d956390e48eb191b","2677de76c2adeef6df117e679d2827a498809cae6a3d55f74560e422662f81a8","0b7294bdfb8f246a4afa8824893bdd1bbf9a3b8ea4f68b92d31123b01f03241d","cedf0d9c9534d29706795cdff9e4d3902ee8e49844b460598e6fb12d771d5429","4be7da45c5f92d59f19553ee0a1e316395b6da387601da774c1bdcc5306f2028","b55a3da96a651479ec7b29489307fc6d7d6616c5483072ae96733ac646e8eab3","aa8fcbc0004fbeb6f72a6977d7f6f556edd78ff524fdde357f7a6592d7bb55b6","813f5bfbf1e8efd48cbb765d38d3981c2c2cbacea2b9991255f04cfc968600af","e45fc8fc4238ebb7d456607b75a41cac60fad2283649752c8de0c0d513ea6862","ae9c47cf09b248b07b718687a047fd18be78bd5e5fff9f8ff5bf15ec19c8d92c","75ceca199186d31a40fabb2d4864e72f302e55400fc858cacf7e4f83cabb46cd","1ea27357efcb2729c59d92c26804eab2dddc3bb74b327db895d2728c6caa2857","0a094a1a8ac101b16ebe785e50ffb85f26b78ea4b4cc1c5e8ec4a171a66a8c4a","58a5051068bac78b1bf3030f954a56e28f5928f12b64a892b11bba5f6faeec37","ccc4e2df8339929ed1dfaac2d88aaba548c197392082a80f6dc3f4acbdf10727","727a675d0e2d5faa560e18587cc5f4f2ec2db9bd9b4ada8a35caa4cd2ddbed04","1765fee866cc0d7ff1778753c589fc68c03140a39171331e5e717f6eb1fdff2e","6f375193517ec498e46fcd2ac73f74e0a9d5feed1f334c143e793d278be5f696","5fc404826cb02a57200d7c3d6c42b8a477684f8bc030289465cd4217d2470972","e3b0d8bf54afe242e91eeed342eda292517b6d06c44a39ea81be58eb13e8ccfa","fbd5b25c3d0dc73174e2482b3e3f7a521b881805cae5412f97312d0913d09908","a3d9b9111a6be76e607fd19ff16807bec1ca207ac1febb16eb3e9731a67cdbd8","54b1e5798fd050e843d213c6e50f56ae1d0d6150cc2e25825a6dd325f8d55625","aacf8e417040d159b9fc4ca73566631d243017bad436e665ed8ef819229cbffb","abf5e570fc0ae5bba4f25bc3965bc39293ae529c5c22c84b167426642cfa7c49","1142c48404613a9d30109ca93cb8480401ce950d1bb4790053bea1c6c361f43d","f13ee9aea5254d5b91bafbf9d1373014cc2e4e59b1eca37c520bff3821570e60","5326e00372561c378ac1cd902ff158a22d28c9ebaecc3fafecab110cf0a6f86b","ab56c5ea3c415c74d8a081d943b3be9e26de5366eb26401896176bf7c591aef9","eb42992007c11573b6203cafdffc9a803807aba8a5186a44003ae317a56513cd","cc79de2a6c43bc819ff5fb46c870ec14bfc4de8f2456478fb6f8e7f1046223fc","99f2d0c27e6bb1394f5ffaff73c8655d395e2c91fdf9d6eff521062868422989","1fc9396b23cbfc7eadf104a760b872af3ec3c7ce936209a7d254c1f1e1271ed0","7a7d1ab46cf691cce3570f1cc26e21a4fe407a4e0bd131070eb9602587d816da","9aff3114e215021925d83700671648eace108758976252ddcce0d307e44c77a1","0f27ae3f22bb1c64131af079cb1d22b5d4b86e47460654bb6881439d18ed0216","11136c29f8f18348397c049870ce1a95470827d70d87cf9b7f844751af081317","fdfd6477dbd8231862ae529ad95e36bf87c4db319e1553368221c8ccd7abed98","ec8f13d7c45932d1274e35c20f402b1172d31e76bf6653e72b2713cbbff35930","d1e5970400e8b43a94d4803e57910c1489c4f77238c6191cc9ac3b935ffdeccf","8fdc7b00903a7588987078f48d2ba3292b1736bda33a77918095b6b9449e9bbc","4bea8c0ba9f84728d8ada98c1b6f5d19c706101372d556f8441625fe63cc9483","b27e28d57aba8f5c57fb63339a4738651a29a2376acd6a3bf8e4697102fbe8f3","8972c5914cf911e916daf9e8e615f5430f69c3a90a08bda84590f5439a646b32","18401257b39a521e9d7e051ba28ecd2f124ce41a3f06192baa13aee7fbc9f52a","46812c5d165d5b2f2afbf9c774780353033e29118fd7ee2ff0af606c9b0083a9","6204aa0d36272fbd2fabe84bfc45d4c0943053e4cf489687434bb6ae7fad72a0","e8d2fc84b4577cdfc4ec0d3bf8d23b2a64d2f5db9ed10e8dbf3669a1f23ed424","704c6a90deceb62649e91177b621fb30dd3b7ba0a3f3841259b5adc7736665a9","404131f89d191b04d13b98ebc658e37be1980f0b14a180dd3a6ffa1aec077658","9c58eaa8ba93de0702f55ea21b4d81091b347ddf54e8707db89cdfc2f0847daf","e5e10e2cf3027c4f0c2ce67b0e17f6c805fe26230b67d1c955f687ebf8e5aca8","af2a8d87f310ca0108c11c63a0a60d3ccdd7795b71489dc4c9260ca76cc68e73","f320d21d08dd30a9aeef72d3077d0bc333aaf387936a56ce25d8c30de58e5a9a","0dd2827ed3b810c0df391106acc000e5363dc1d2a9744b68dc532825e60b5d51","8eecb2e37031c4b29da2e023c1fa9ce19b1b4bfe690c2fa7765ddfb39fb38787","b9f1d8be8213e62d58c188735d528b4f727be4648b4eb79f028f50e15f607571","14ba9d94eba52bee252494006e5acce20f9f1103d2391784ece34ef50d2dc690","ea98e3383c31b5ffc42fb7d306cd6ef38b11a1b879071e939dc60c9c8a78a58a","78d7fb3baf84d1e3a2f1c45b3a0641660d2aaeed74dea805d0ca623ccb05d7dd","0c195380a73ef0dd0ce9014d271c11c5e991df2a6888e570b8a52b8f990351cc","3f2d59072af335dc1220af3a6880b0266ca58965a752b8302603796016a5462c","e8beb5a190769dc74f9a224c244dc0cbd30a76dd64cc58131da7161c7eb78f5b","373c9380eb08d7384c984056120eeb6df31aac502f3b09f29ddf6142f160e178","fb74a24596d4a4068c02335228fa629e19d6fa0318780eb302d08ad811d06176","c8069873491ecd87181cc69d5ce8a55e04f643f1f6d7eac52bebdce219a6dec9","2c6e0ff405a1f089e1a2595706a02154ea445c2fa5786858c12c0d7460ef2430","3762c10bb043b9323b8837040fb272c05c6f432fbf9e7f2718315b76720f0060","84d417d01f58ba6a6a054ae8dba354a0fbbadae8676ff523297fc8012301a679","418fda21b1ff2f675bb8eab863fd484e9b973859dbd8d45f8042c101a68d95b1","104e38ac85e5104c24d3326d2926173b37c5b158eec84e76e0ada67764c15e5e","7d6e9b21d059fc08de91c30113dbc03866cb8126eeca3816b2fb3e09b677b0bd","a73c9c1a1af31a7c5b6cb15cdb7d859585f7dce7430c9285b199e3b8d7ec6335","4231ac83694e804cc3f4e900c10ac09a2bf81ae55af64ac5abc431662cc3f55f","0e645c02890f16c6f172f254d30656ba092d5dd49da88d1a3c820410fc75a9a0","c24380240fea33a1e050d5b59f21618ae8547abd197c5d898669a2c0a6b68a11","de01557821bcf859037b45e1438334599db262527c8979e1db265a0a6c14f211","136482ddb3abe0323d0adbe27c02874e38bee206ec652eb691be2563cdc3d50a","15d14f4327ad79f210a489a2a454025ac544075c3bc17d8a6d5e47dde0796c2e","2829973c75bd0027e58da60fea8b600bf4d1e7b20a99c92f2013bef845e6bf9f","e6aab267dc435eba7431e5a0a6c7d9888e5853b814286e23780ae514621f9478","904a1a9e0b414e1fd79761b5a18a90481b3b2889d4dc2b006b71553795fe25a9","89d16d78558396317fa2301fa64f9eeb79ddc0433ff05eb7c4ae088ace63bc37","1736935b447753954e3563b4cbf9e70a5f4ca11f97d1f0fbe80989f51e944906","1330d34eb1d1c230f24843efb7616859768a4769bcd6ee646988c09299cf55bf","709bc0afa98d01cad597f80784c2abe504a3d4efb46416b058bcc6b8520a9888","2f2b9d7904781991e63b87ee51682b19a64563d5953886c645a49cc3d290bb1e","fd928ebbb191a81cce81282323b764a5684a1b6919052c5b9106d039f7f33d89","96e8b9815c44db07ed2f268b55ac703502d384b3cc15654a2728c7f38915f01f","c317f17faa8404ef35f68b93a5fabdf312d2c1563217e602ae9e3f23b5413553","5a7c9743a09592454e10262de0da224dddae9b274de7308a8a2421bba0c68407","25973a95aca8d23fd39658456b51eeae35b0ab3b7590f421510b483455fb4b0d","3f2845d28d1febdfead55207d97775ae412697af3b78fc63a3670ecee20fc876","355c92eeda250f194aedf42bd6dec88ca198d9c40cfd511f1fa99a8c087832d2","6dd39a111b72592f9cfeddffb873380e943606e0916a6e1d4bd703c83cb95830","7ac0f69bc68c9add342e13919714edde3498225372b60f5662225192fabb059a","b05475979450be59391ffcbcf2e765c211fe28186bc7eb0f319ebd06aa65551f","131845a7c32fdc1fff87b90d912a003b10f3bea3fdd5a29333a7c4b3705f2537","70a29119482d358ab4f28d28ee2dcd05d6cbf8e678068855d016e10a9256ec12","869ac759ae8f304536d609082732cb025a08dcc38237fe619caf3fcdd41dde6f","0ea900fe6565f9133e06bce92e3e9a4b5a69234e83d40b7df2e1752b8d2b5002","e5408f95ca9ac5997c0fea772d68b1bf390e16c2a8cad62858553409f2b12412","3c1332a48695617fc5c8a1aead8f09758c2e73018bd139882283fb5a5b8536a6","9260b03453970e98ce9b1ad851275acd9c7d213c26c7d86bae096e8e9db4e62b","083838d2f5fea0c28f02ce67087101f43bd6e8697c51fd48029261653095080c","969132719f0f5822e669f6da7bd58ea0eb47f7899c1db854f8f06379f753b365","94ca5d43ff6f9dc8b1812b0770b761392e6eac1948d99d2da443dc63c32b2ec1","2cbc88cf54c50e74ee5642c12217e6fd5415e1b35232d5666d53418bae210b3b","ccb226557417c606f8b1bba85d178f4bcea3f8ae67b0e86292709a634a1d389d","5ea98f44cc9de1fe05d037afe4813f3dcd3a8c5de43bdd7db24624a364fad8e6","5260a62a7d326565c7b42293ed427e4186b9d43d6f160f50e134a18385970d02","0b3fc2d2d41ad187962c43cb38117d0aee0d3d515c8a6750aaea467da76b42aa","ed219f328224100dad91505388453a8c24a97367d1bc13dcec82c72ab13012b7","6847b17c96eb44634daa112849db0c9ade344fe23e6ced190b7eeb862beca9f4","d479a5128f27f63b58d57a61e062bd68fa43b684271449a73a4d3e3666a599a7","6f308b141358ac799edc3e83e887441852205dc1348310d30b62c69438b93ca0","7ed8a817989d55241e710dd80af79d02004ca675ad73d92894c0d61248ad423d","d2e9afac395463dd0b4249fdcd3db0175eb5131e7e58b4906d532d436a97790a","09e932bfd57138291461a07bcb46d1e397e6f9cdb5238210a87e742570cc6ed2","146ca1f7d8d841dfafa95d7370b4b1e24b6a801e827230890c19c494a9a655cd","8a2ebb62a8378b556c700d558c7122fb9a9a8b6d54311c604c99cf982cb6102c","a9c18a09b5b96281071be5dc6e330a62764a6aadb73759712350a7a345f5c78f","e6d648e74cccbe0db0ea2412a34d5566cf37c61449f8d5e20cb8728d97936a6f","75918a5c69ca682cbfe4c7f37dc3efc04754129e572498e6a6f81ff0bf7976f2","a45ee7555d019a67fbe092898d1aef0b1d02a9f6679ab84461ff515b4460d706","43265d3e9d2614984fc3cb7eb0ffe6c9d702ad916404daaf831ac8b5996868df","d175b5b5f572950b266de1c585df8f7fda801f056acf37d940e44ea6bdbb6850","88e3cdb958e6af2b3eb897ce3f2d4124df2126c77d3220542e365256732717ca","c3911920f572e7611bb8aaae46e7ba5caf641f7d8b87b6f929a97e62a7fce078","6393eafa92cf91c78d4b9e7d932ade043abf73ab4a5a23043a9fb4251d72e28e","03bfb55fe04f475dcc034fdfc351f6e3789d0fecba2a46779427f15b5475806a","2afaa588adaad90109f93379434438b7a2e4839721b6609c70894b7da4a431c8","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","8eb175545d85d04929b0daa4aa49577c691c508aeceda1f1c6877e0e36f75998","0f912cb50cce43af03d32518602a6da53a768f6840c8b68cbe79ec37132f08a5","0d4f1cc4e806e284737e5a5d78bcfea5a5479d6b7e130463b295e7dd587e4169","03c07e03e5f86c70e83eed2e6eb08c62beb43c63b40d4cec7ec696900f7d2207","85b0a9467612fa30580ee881e4896cb86ae8e41ae04602cb30a900f853d0db9b","94ce13c311bf4ac29ee2237bdd5061b2e90b2b7a5256343b12ef0ad55dd86bc4","b9c2e963ceafd1244a49bbaa2ef751095994b38b642671bad77c794eba393303","d2288d07514c8b1007cd07f11e402d6cfc641c4f24cfd761494b22e72400223b","d1c3effc42c664bddefde512e7a587026a0846a1e5fa873116a5238214bb7a47","510cff805b79c8daac02920a2af6d11b3546ce4ccc44408d9946454656183ccf","34d77a3dda8829e072659383887c249db235d5d55071f9ab1bdd9a47fbe0b2e1","3fccd72f0755e1ed358f3a5408894b138a8d919d5ba8a23f74c83fb0145d9af1","12db12ca1e22c768881b4fa7af4b57e0c81674f64ab719a27f60380c160c6f82","d9e9086c27d769560e3eb26f71da89f246a45f8c8d65f71257a70c19ec8e8897","531c4689922fe53152ccd2b6656c1d0a0b9b4da17c5ecd19ef3566c2ec5549ee","ec2e3381bfe61123fdcf8e81f242c65ccfa714dea4ad95650c14fd001f35ae76","65b411940fdd26bbb4b97f593fd7d54cd078b13530694790103bd8dc53f656ae","156d5f51ff096b116bf3435b91c34952756c2875d4a8b913cbe5fc5c0410fac6","70dc24c86d2b5d6e7a70ecd4eb10492959b8ba8535396ce78bb32e1ebde650ca","8e3ace652adb2b5e18782b0df4cb73fec48129174242c4332e239420b717bbb3","4f5e1ef39c47a9bcabb48f2d0b95cc8d70775d5ca8baf734d01c83a05bcd35ef","e05534e945692c073e21669045bbd84fdaee56ac912c3e9ac33209c2b5ad0bf6","3d83fff340b527865fd0b5cb4d615302618dd51ce972cc9d622234b4b512caa7","bc6c3eea02aa460310a7a2457726138ed0f016e943a452c8a7d366ff068edff9","99f5b05d5a29cef51a5f77abbc3f8ee0a319042ecaaf1e7eb1ab602fedea3f40","15155cb804d20453d0bda407e1e6dc4c2cf3d0a2278f69de9dd56eed0f69a20f","63cf34f9707e9e3faea53d8226150b801b56e037f9f88f49215f80a9315f7215","40e5e457514dff6960c865b9281a1096f4c3dab429441b8c71fe02dd706f0eac","4b5278ac3200a9a348f6adeca2750b94af86e6c9196e7441563c6d63b13e34ea","011a78ddb9ab7909ee80c1bffa706ac30e0abe152c4fd38fb1577c4cfba85e3d","d41cf63d8ad12033cd3911b96eaa2567b259ba8bc6332d0624de8b57a7a6a6c2","7cc6662d61a40f44aa8446b68de47a4633a5e8b24c1f5089c80284b6693303c1","d27e4fe0afa8e55acb02a057bd7cfe87c43f657c8113a72bfd9f05e205c6a687","35de6270623e120516e54370c8585a0b922168bde5df75eb7612e200483951ba","6d60cb73085b04ac89facb074b9025f6c1f35ca0713b3c5981126e736d87b0c0","94070d86eb10b7782b75c5a1aa4f92224c7ea43eb43e10c19003c486b041308a","a7341f3ae95fe70a8023ce34cc7022e493f93de2bb389faa94ac4cc7b505f19b","a715c766c3a38f904dd8a22f2761f4fbbc6827e58bb77cd9f194b67d66588a6e","299e9f5508125dbe175da6336961b00cee87764f5ce4ab0651b67fac7c07f1bf","d3ce4df104da2eb71fd3df0d1794014dc8f4ab3f8a5c90cf50b56331e8a29fac","aa359299975d40bcaeeec35dd71502c51fb05c25c94e135290b0441e62906903","f16fe3da1f9527a8d0286bbeaf335a125f8282771be4ca31b6aaff1f26dbab88","f6277341446feeedf2e7a067234e01ecd4f47363e5b943949ee87a59fb3d9c4d","1a2d5ff9a5c8ea2863f2e5372473010654fa96f66dd321472dea7e7bf7a189fa","aa34dd12db0a2cbb6ab2042ad60f00137d0fef9dfc874db6626312831fa7acd7","8cff85891e43c22234d2f28c09c8a2263413554e43ec5830620f5093a1fd1564","b61e500242afb8122934f47f053a5f52f68e7ddd15a0ee8b422c94dd545a249e","da304f2e6d1b0be58ffad8f2df60751017eac487f5535a1341808ea728113e1d","1b0fbe670d42a996a119e7ba0d84e4b07c9df3d51f8f4fbfe6e789a08aaa8093","6d8384230e9acfdae36ec3390bc1f86acde9b996dcaa774d4eb7663b5ecc69f0","9893b9ea57ef4c298ccf02c80dda8422881fe3442be0b3cc6b7be06701a22786","4561d92fc60010f03330a286f7a4c9208116e79f0ae491f2956af8c5732ed7e5","48cb91ab0d3d3168532d57e85558bb985bb722eed680f8194d9dd81b15e6623c","43c04dba0e3352cd61cf6f59604b1a89cd71b5c88934a763137597b5459c00da","e049b868d2f5ff9a6b65f47c9a54d2a3b28d21b4aa328c96b5c1a9077c2ed5ee","e671b822a4bfd3088246e7678e38356183adc38f561d7a7c00806f262ea3d384","0d078eaf3f4aa272493005ccc0a55b3d97ec99e5c9c988e97d7e67a684363f64","ac990363d5eb37783f4d193dd9ee3909c4ffd55f9f73b386f52956efbe169d00","12e47104b5350e5039a481fc49df1cbd4cd70090fac80fc431edebf822f0e737","d2958e99d1f4caa6240b34f7c6e61e1eafc97765f14d837e150f83b949040b2e","33f45db3f0f6d4bf4028725e26982a7133cd6a5211a427bdcb2fa9d43a6d7a76","ecf5cb089ea438f2545e04b6c52828c68d0b0f4bfaa661986faf36da273e9892","95444fb6292d5e2f7050d7021383b719c0252bf5f88854973977db9e3e3d8006","241bd4add06f06f0699dcd58f3b334718d85e3045d9e9d4fa556f11f4d1569c1","06540a9f3f2f88375ada0b89712de1c4310f7398d821c4c10ab5c6477dafb4bc",{"version":"de2d3120ed0989dbc776de71e6c0e8a6b4bf1935760cf468ff9d0e9986ef4c09","affectsGlobalScope":true},"b8bff8a60af0173430b18d9c3e5c443eaa3c515617210c0c7b3d2e1743c19ecb","97bdf234f5db52085d99c6842db560bca133f8a0413ff76bf830f5f38f088ce3","a76ebdf2579e68e4cfe618269c47e5a12a4e045c2805ed7f7ab37af8daa6b091","b493ff8a5175cbbb4e6e8bcfa9506c08f5a7318b2278365cfca3b397c9710ebc","e59d36b7b6e8ba2dd36d032a5f5c279d2460968c8b4e691ca384f118fb09b52a","e96885c0684c9042ec72a9a43ef977f6b4b4a2728f4b9e737edcbaa0c74e5bf6","303ee143a869e8f605e7b1d12be6c7269d4cab90d230caba792495be595d4f56","89e061244da3fc21b7330f4bd32f47c1813dd4d7f1dc3d0883d88943f035b993","e46558c2e04d06207b080138678020448e7fc201f3d69c2601b0d1456105f29a","71549375db52b1163411dba383b5f4618bdf35dc57fa327a1c7d135cf9bf67d1","7e6b2d61d6215a4e82ea75bc31a80ebb8ad0c2b37a60c10c70dd671e8d9d6d5d","78bea05df2896083cca28ed75784dde46d4b194984e8fc559123b56873580a23","5dd04ced37b7ea09f29d277db11f160df7fd73ba8b9dba86cb25552e0653a637","f74b81712e06605677ae1f061600201c425430151f95b5ef4d04387ad7617e6a","9a72847fcf4ac937e352d40810f7b7aec7422d9178451148296cf1aa19467620","3ae18f60e0b96fa1e025059b7d25b3247ba4dcb5f4372f6d6e67ce2adac74eac","2b9260f44a2e071450ae82c110f5dc8f330c9e5c3e85567ed97248330f2bf639","4f196e13684186bda6f5115fc4677a87cf84a0c9c4fc17b8f51e0984f3697b6d","61419f2c5822b28c1ea483258437c1faab87d00c6f84481aa22afb3380d8e9a4","64479aee03812264e421c0bf5104a953ca7b02740ba80090aead1330d0effe91","a5eb4835ab561c140ffc4634bb039387d5d0cceebb86918f1696c7ac156d26fd","c5570e504be103e255d80c60b56c367bf45d502ca52ee35c55dec882f6563b5c","4252b852dd791305da39f6e1242694c2e560d5e46f9bb26e2aca77252057c026","0520b5093712c10c6ef23b5fea2f833bf5481771977112500045e5ea7e8e2b69","5c3cf26654cf762ac4d7fd7b83f09acfe08eef88d2d6983b9a5a423cb4004ca3","e60fa19cf7911c1623b891155d7eb6b7e844e9afdf5738e3b46f3b687730a2bd","b1fd72ff2bb0ba91bb588f3e5329f8fc884eb859794f1c4657a2bfa122ae54d0","6cf42a4f3cfec648545925d43afaa8bb364ac10a839ffed88249da109361b275","ba13c7d46a560f3d4df8ffb1110e2bbec5801449af3b1240a718514b5576156e","6df52b70d7f7702202f672541a5f4a424d478ee5be51a9d37b8ccbe1dbf3c0f2","0ca7f997e9a4d8985e842b7c882e521b6f63233c4086e9fe79dd7a9dc4742b5e","91046b5c6b55d3b194c81fd4df52f687736fad3095e9d103ead92bb64dc160ee","db5704fdad56c74dfc5941283c1182ed471bd17598209d3ac4a49faa72e43cfc","758e8e89559b02b81bc0f8fd395b17ad5aff75490c862cbe369bb1a3d1577c40","2ee64342c077b1868f1834c063f575063051edd6e2964257d34aad032d6b657c","6f6b4b3d670b6a5f0e24ea001c1b3d36453c539195e875687950a178f1730fa7","05c4e2a992bb83066a3a648bad1c310cecd4d0628d7e19545bb107ac9596103a","b48b83a86dd9cfe36f8776b3ff52fcd45b0e043c0538dc4a4b149ba45fe367b9","792de5c062444bd2ee0413fb766e57e03cce7cdaebbfc52fc0c7c8e95069c96b","a79e3e81094c7a04a885bad9b049c519aace53300fb8a0fe4f26727cb5a746ce","dd6c3362aaaec60be028b4ba292806da8e7020eef7255c7414ce4a5c3a7138ef","8a4e89564d8ea66ad87ee3762e07540f9f0656a62043c910d819b4746fc429c5","b9011d99942889a0f95e120d06b698c628b0b6fdc3e6b7ecb459b97ed7d5bcc6","4d639cbbcc2f8f9ce6d55d5d503830d6c2556251df332dc5255d75af53c8a0e7","cdb48277f600ab5f429ecf1c5ea046683bc6b9f73f3deab9a100adac4b34969c","75be84956a29040a1afbe864c0a7a369dfdb739380072484eff153905ef867ee","b06b4adc2ae03331a92abd1b19af8eb91ec2bf8541747ee355887a167d53145e","3114b315cd0687aad8b57cff36f9c8c51f5b1bc6254f1b1e8446ae583d8e2474","0d417c15c5c635384d5f1819cc253a540fe786cc3fda32f6a2ae266671506a21","af733cb878419f3012f0d4df36f918a69ba38d73f3232ba1ab46ef9ede6cb29c","cb59317243a11379a101eb2f27b9df1022674c3df1df0727360a0a3f963f523b","0a01b0b5a9e87d04737084731212106add30f63ec640169f1462ba2e44b6b3a8","06b8a7d46195b6b3980e523ef59746702fd210b71681a83a5cf73799623621f9","860e4405959f646c101b8005a191298b2381af8f33716dc5f42097e4620608f8","f7e32adf714b8f25d3c1783473abec3f2e82d5724538d8dcf6f51baaaff1ca7a","e07d62a8a9a3bb65433a62e9bbf400c6bfd2df4de60652af4d738303ee3670a1","bfbf80f9cd4558af2d7b2006065340aaaced15947d590045253ded50aabb9bc5","851e8d57d6dd17c71e9fa0319abd20ab2feb3fb674d0801611a09b7a25fd281c","c3bd2b94e4298f81743d92945b80e9b56c1cdfb2bef43c149b7106a2491b1fc9","a246cce57f558f9ebaffd55c1e5673da44ea603b4da3b2b47eb88915d30a9181","d993eacc103c5a065227153c9aae8acea3a4322fe1a169ee7c70b77015bf0bb2","fc2b03d0c042aa1627406e753a26a1eaad01b3c496510a78016822ef8d456bb6","063c7ebbe756f0155a8b453f410ca6b76ffa1bbc1048735bcaf9c7c81a1ce35f","748e79252a7f476f8f28923612d7696b214e270cc909bc685afefaac8f052af0","9669075ac38ce36b638b290ba468233980d9f38bdc62f0519213b2fd3e2552ec","4d123de012c24e2f373925100be73d50517ac490f9ed3578ac82d0168bfbd303","656c9af789629aa36b39092bee3757034009620439d9a39912f587538033ce28","3ac3f4bdb8c0905d4c3035d6f7fb20118c21e8a17bee46d3735195b0c2a9f39f","1f453e6798ed29c86f703e9b41662640d4f2e61337007f27ac1c616f20093f69","af43b7871ff21c62bf1a54ec5c488e31a8d3408d5b51ff2e9f8581b6c55f2fc7","70550511d25cbb0b6a64dcac7fffc3c1397fd4cbeb6b23ccc7f9b794ab8a6954","af0fbf08386603a62f2a78c42d998c90353b1f1d22e05a384545f7accf881e0a","c3f32a185cd27ac232d3428a8d9b362c3f7b4892a58adaaa022828a7dcd13eed","3139c3e5e09251feec7a87f457084bee383717f3626a7f1459d053db2f34eb76","4888fd2bcfee9a0ce89d0df860d233e0cee8ee9c479b6bd5a5d5f9aae98342fe","3be870c8e17ec14f1c18fc248f5d2c4669e576404744ff5c63e6dafcf05b97ea","56654d2c5923598384e71cb808fac2818ca3f07dd23bb018988a39d5e64f268b","8b6719d3b9e65863da5390cb26994602c10a315aa16e7d70778a63fee6c4c079","6ab380571d87bd1d6f644fb6ab7837239d54b59f07dc84347b1341f866194214","547d3c406a21b30e2b78629ecc0b2ddaf652d9e0bdb2d59ceebce5612906df33","b3a4f9385279443c3a5568ec914a9492b59a723386161fd5ef0619d9f8982f97","3fe66aba4fbe0c3ba196a4f9ed2a776fe99dc4d1567a558fb11693e9fcc4e6ed","140eef237c7db06fc5adcb5df434ee21e81ee3a6fd57e1a75b8b3750aa2df2d8","0944ec553e4744efae790c68807a461720cff9f3977d4911ac0d918a17c9dd99","7c9ed7ffdc6f843ab69e5b2a3e7f667b050dd8d24d0052db81e35480f6d4e15d","7c7d9e116fe51100ff766703e6b5e4424f51ad8977fe474ddd8d0959aa6de257","af70a2567e586be0083df3938b6a6792e6821363d8ef559ad8d721a33a5bcdaf","006cff3a8bcb92d77953f49a94cd7d5272fef4ab488b9052ef82b6a1260d870b","7d44bfdc8ee5e9af70738ff652c622ae3ad81815e63ab49bdc593d34cb3a68e5","339814517abd4dbc7b5f013dfd3b5e37ef0ea914a8bbe65413ecffd668792bc6","34d5bc0a6958967ec237c99f980155b5145b76e6eb927c9ffc57d8680326b5d8","9eae79b70c9d8288032cbe1b21d0941f6bd4f315e14786b2c1d10bccc634e897","18ce015ed308ea469b13b17f99ce53bbb97975855b2a09b86c052eefa4aa013a","5a931bc4106194e474be141e0bc1046629510dc95b9a0e4b02a3783847222965","5e5f371bf23d5ced2212a5ff56675aefbd0c9b3f4d4fdda1b6123ac6e28f058c","907c17ad5a05eecb29b42b36cc8fec6437be27cc4986bb3a218e4f74f606911c","3656f0584d5a7ee0d0f2cc2b9cffbb43af92e80186b2ce160ebd4421d1506655","a726ad2d0a98bfffbe8bc1cd2d90b6d831638c0adc750ce73103a471eb9a891c","f44c0c8ce58d3dacac016607a1a90e5342d830ea84c48d2e571408087ae55894","75a315a098e630e734d9bc932d9841b64b30f7a349a20cf4717bf93044eff113","9131d95e32b3d4611d4046a613e022637348f6cebfe68230d4e81b691e4761a1","b03aa292cfdcd4edc3af00a7dbd71136dd067ec70a7536b655b82f4dd444e857","90f690a1c5fcb4c2d19c80fea05c8ab590d8f6534c4c296d70af6293ede67366","be95e987818530082c43909be722a838315a0fc5deb6043de0a76f5221cbad24","9ed5b799c50467b0c9f81ddf544b6bcda3e34d92076d6cab183c84511e45c39f","b4fa87cc1833839e51c49f20de71230e259c15b2c9c3e89e4814acc1d1ef10de","e90ac9e4ac0326faa1bc39f37af38ace0f9d4a655cd6d147713c653139cf4928","ea27110249d12e072956473a86fd1965df8e1be985f3b686b4e277afefdde584","1f6058d60eaa8825f59d4b76bbf6cc0e6ad9770948be58de68587b0931da00cc","5666075052877fe2fdddd5b16de03168076cf0f03fbca5c1d4a3b8f43cba570c","50100b1a91f61d81ca3329a98e64b7f05cddc5e3cb26b3411adc137c9c631aca","11aceaee5663b4ed597544567d6e6a5a94b66857d7ebd62a9875ea061018cd2c","6e30d0b5a1441d831d19fe02300ab3d83726abd5141cbcc0e2993fa0efd33db4","423f28126b2fc8d8d6fa558035309000a1297ed24473c595b7dec52e5c7ebae5","fb30734f82083d4790775dae393cd004924ebcbfde49849d9430bf0f0229dd16","2c92b04a7a4a1cd9501e1be338bf435738964130fb2ad5bd6c339ee41224ac4c","c5c5f0157b41833180419dacfbd2bcce78fb1a51c136bd4bcba5249864d8b9b5","669b754ec246dd7471e19b655b73bda6c2ca5bb7ccb1a4dff44a9ae45b6a716a","4bb6035e906946163ecfaec982389d0247ceeac6bdee7f1d07c03d9c224db3aa","8a44b424edee7bb17dc35a558cc15f92555f14a0441205613e0e50452ab3a602","24a00d0f98b799e6f628373249ece352b328089c3383b5606214357e9107e7d5","33637e3bc64edd2075d4071c55d60b32bdb0d243652977c66c964021b6fc8066","0f0ad9f14dedfdca37260931fac1edf0f6b951c629e84027255512f06a6ebc4c","16ad86c48bf950f5a480dc812b64225ca4a071827d3d18ffc5ec1ae176399e36","8cbf55a11ff59fd2b8e39a4aa08e25c5ddce46e3af0ed71fb51610607a13c505","d5bc4544938741f5daf8f3a339bfbf0d880da9e89e79f44a6383aaf056fe0159","c82857a876075e665bbcc78213abfe9e9b0206d502379576d7abd481ade3a569","4f71d883ed6f398ba8fe11fcd003b44bb5f220f840b3eac3c395ad91304e4620","5229c3934f58413f34f1b26c01323c93a5a65a2d9f2a565f216590dfbed1fe32","9fd7466b77020847dbc9d2165829796bf7ea00895b2520ff3752ffdcff53564b","fbfc12d54a4488c2eb166ed63bab0fb34413e97069af273210cf39da5280c8d6","85a84240002b7cf577cec637167f0383409d086e3c4443852ca248fc6e16711e","4c754b03f36ff35fc539f9ebb5f024adbb73ec2d3e4bfb35b385a05abb36a50e","59507446213e73654d6979f3b82dadc4efb0ed177425ae052d96a3f5a5be0d35","a914be97ca7a5be670d1545fc0691ac3fbabd023d7d084b338f6934349798a1f","8f62cbd3afbd6a07bb8c934294b6bfbe437021b89e53a4da7de2648ecfc7af25","62c3621d34fb2567c17a2c4b89914ebefbfbd1b1b875b070391a7d4f722e55dc","c05ac811542e0b59cb9c2e8f60e983461f0b0e39cea93e320fad447ff8e474f3","8e7a5b8f867b99cc8763c0b024068fb58e09f7da2c4810c12833e1ca6eb11c4f","132351cbd8437a463757d3510258d0fa98fd3ebef336f56d6f359cf3e177a3ce","df877050b04c29b9f8409aa10278d586825f511f0841d1ec41b6554f8362092b","33d1888c3c27d3180b7fd20bac84e97ecad94b49830d5dd306f9e770213027d1","ee942c58036a0de88505ffd7c129f86125b783888288c2389330168677d6347f","a3f317d500c30ea56d41501632cdcc376dae6d24770563a5e59c039e1c2a08ec","eb21ddc3a8136a12e69176531197def71dc28ffaf357b74d4bf83407bd845991","0c1651a159995dfa784c57b4ea9944f16bdf8d924ed2d8b3db5c25d25749a343","aaa13958e03409d72e179b5d7f6ec5c6cc666b7be14773ae7b6b5ee4921e52db","0a86e049843ad02977a94bb9cdfec287a6c5a0a4b6b5391a6648b1a122072c5a","87437ca9dabab3a41d483441696ff9220a19e713f58e0b6a99f1731af10776d7","26c5dfa9aa4e6428f4bb7d14cbf72917ace69f738fa92480b9749eebce933370","8e94328e7ca1a7a517d1aa3c569eac0f6a44f67473f6e22c2c4aff5f9f4a9b38","d604d413aff031f4bfbdae1560e54ebf503d374464d76d50a2c6ded4df525712","299f0af797897d77685d606502be72846b3d1f0dc6a2d8c964e9ea3ccbacf5bc","12bfd290936824373edda13f48a4094adee93239b9a73432db603127881a300d","340ceb3ea308f8e98264988a663640e567c553b8d6dc7d5e43a8f3b64f780374","c5a769564e530fba3ec696d0a5cff1709b9095a0bdf5b0826d940d2fc9786413","7124ef724c3fc833a17896f2d994c368230a8d4b235baed39aa8037db31de54f","5de1c0759a76e7710f76899dcae601386424eab11fb2efaf190f2b0f09c3d3d3","9c5ee8f7e581f045b6be979f062a61bf076d362bf89c7f966b993a23424e8b0d","1a11df987948a86aa1ec4867907c59bdf431f13ed2270444bf47f788a5c7f92d","3c97b5ea66276cf463525a6aa9d5bb086bf5e05beac70a0597cda2575503b57b","b756781cd40d465da57d1fc6a442c34ae61fe8c802d752aace24f6a43fedacee","0fe76167c87289ea094e01616dcbab795c11b56bad23e1ef8aba9aa37e93432a","3a45029dba46b1f091e8dc4d784e7be970e209cd7d4ff02bd15270a98a9ba24b","032c1581f921f8874cf42966f27fd04afcabbb7878fa708a8251cac5415a2a06","69c68ed9652842ce4b8e495d63d2cd425862104c9fb7661f72e7aa8a9ef836f8","a31383256374723b47d8b5497a9558bbbcf95bcecfb586a36caf7bfd3693eb0e","06f62a14599a68bcde148d1efd60c2e52e8fa540cc7dcfa4477af132bb3de271","64aa66c7458cbfd0f48f88070b08c2f66ae94aba099dac981f17c2322d147c06","11f19ce32d21222419cecab448fa335017ebebf4f9e5457c4fa9df42fa2dcca7","2e8ee2cbb5e9159764e2189cf5547aebd0e6b0d9a64d479397bb051cd1991744","1b0471d75f5adb7f545c1a97c02a0f825851b95fe6e069ac6ecaa461b8bb321d","1d157c31a02b1e5cca9bc495b3d8d39f4b42b409da79f863fb953fbe3c7d4884","07baaceaec03d88a4b78cb0651b25f1ae0322ac1aa0b555ae3749a79a41cba86","619a132f634b4ebe5b4b4179ea5870f62f2cb09916a25957bff17b408de8b56d","f60fa446a397eb1aead9c4e568faf2df8068b4d0306ebc075fb4be16ed26b741","f3cb784be4d9e91f966a0b5052a098d9b53b0af0d341f690585b0cc05c6ca412","350f63439f8fe2e06c97368ddc7fb6d6c676d54f59520966f7dbbe6a4586014e","eba613b9b357ac8c50a925fa31dc7e65ff3b95a07efbaa684b624f143d8d34ba","9814545517193cf51127d7fbdc3b7335688206ec04ee3a46bba2ee036bd0dcac","0f6199602df09bdb12b95b5434f5d7474b1490d2cd8cc036364ab3ba6fd24263","c8ca7fd9ec7a3ec82185bfc8213e4a7f63ae748fd6fced931741d23ef4ea3c0f","5c6a8a3c2a8d059f0592d4eab59b062210a1c871117968b10797dee36d991ef7","ad77fd25ece8e09247040826a777dc181f974d28257c9cd5acb4921b51967bd8","d5ea3eeb475943132544c5ce139bcf5f2be38e256371e801b8035ab131dbf9c5","c73420f16415600e17cc878d17d234d522689ac3b63c759e0f76589a83bb55e8","7dbb072c01fa11c69077201bc4e01f8aed4f9975333cd76c3ef35f7bde019e4e","a114b94d91b1881b9ef88226fb8f712fe4c40869bd9b264329bbe9273807df63","9574b5cde601c1570a469658754ec150621e00cc3c6d7cff051dbc774fe34b3b","9ba866124e26cbfc6f0938b20022189458018667257047e8c0669ffcbf1cdaca","33f1fb868931c5a30799c63eea3374ee86ad8f3920e1e40d48e36e762fc16cf9","01b5f55da3df66f38a1fe9d52af7cafd264ebf3dd825e2a350e551a23e6bf836","6d8b0e4276c0b7d5f8ee3e8deee0b7396966b46b5bed08559798a7a21d35fde1","abd6bc2fed00c6b9f0a9456232fa231956bf698b9c9021c25f15dd1384ef11da","e793665dd4a3346d10ffadb9de01faff1e1cf58ca3e5172fdc3067577a78e6fd","38b4b0c8f4d03de7db8e18878c9a85b8d6b4515ef2539b87abcebc155fe54384","25f5a78f87174a462f598c386822e7b442b8eb443533e1b469dba48592c95dc3","5d90b99081154f70a3f41bb3af28251805cad06bf6d838e6ac4375bb53dab010","1ac484be28eafcf3ebca309e46590796296a005b4d573b9d2adad2fd9515898f","32347a94a016f01caf1fba474a2bbea82d60f181f9066d74086846bb790b5aeb","ca78947c69728e4908b6702553f98f24ebc40d7349b694a6ff66159bba9f0d5e","ec755e807102eb8df23b8cb4d2e9d3cd49a5251e4228dd54c5c19339eef0a614","65d9f0bafdb3a29d2a35cca223025b625e2cc13c652827ee41e5f9bb14a00d43","234c8f78f0d9fb69555762d9d1c86fa8ee87b544280b67197cbb5d2423f8bd81","f394e073328199c11a9405097cca94bfda3950b087421d38941a3b02bfc9253c","3bf8cfbc468af72ff6d3cd28f03f0080466682698b843a61cd1971aef2c4d09a","aabcc4d7f26d6a8d6c40a6a4bb87d18edf909b1ad26f2bff56665ba7c3eaff98","aca28251e93cbe011410c1893e536415c0720b039e0b4d24835ae17ec5cda8a1","6bf42b802f40739bb6a9b24a77c92130fe34c326f2056ff03104beea208508bc","39083ec2d4f6a0a322603bf20fd0e5a3c7ebcd75404344ec6541b32219d41e44","735d498fac234086a89ca4ff17fc44dd2c4c42276d19e09d53e3539b236f068b","12632f7a32f40b3d93898b30df421e0c61f3d02879830c56190853002faaea5c","b7f8a3359dc81dc4eec642e7868c77e63aa35f8a283a662d15cca26fd14c3e88","82365d5661abd4ca8fa4bc57763ad005276d6c123822ffe70ca6dc8bf497553c","16fa5ccdc8f4669b45ad6780e69a84fd45d78edec1b2abedb7e89570cab41d95","407eec8a3ec6d9df61d52eeee451cc19be336e61d88f007e11290a5b462f2795","dfc75cbae914aa30c767ca98508c3b1dae2769d3b28fff88de69d6c6540270aa","3e1fa79ae77f2bb960280d8f049564c630ee16c29d08e587cd231d5a0cc76bd8","0883f702dffd960d7b40057cd4d28a424edd3db0cf6f515d04cc223524e08eff","9d25e06012a8f8610c2ff4535a4a5f53b511de031b9796d0647138377ae17f9d","f57c63ce08a4cab92fb056c575bd5d56b9a02e83f4fa362e1f39d15b6502c3f2","70890f8db5b17aea73af99510dbb9676e1af3021ae0a7c492b11b35ff4c8387f","81ded4ab4a1943b47ac7028c85fad060b70e2461b8fd9b8f8c51fa951ee801fd","76d474c0b2bae03a6500513c76d2d1054ad038474fbc901e1d3f64bd64f9e831","5b3b12bb3518f7e6374c59096afe0dbb80961b226f94e1983fc668ff6d72e30e","df3847e0dc44006afcdaaeba73541ef80efe815247687e56f2ed4e3ff632b904","251a1c5478e2a771c4b375028331f71f0d9e4416bb7845832aec9fccfb2656f8","14ebc955b44627c8c31d5cbab04ec92b0a31d01c058cfdeedd427c0305649c8a","f2d2cc02bc76f6dc38112a954fadb956d92a141db93224f6378c036a505f1aeb","ca1495c5560ab3ed0f7da01267a8ac4a92c612d0fc13d56c4ebd5a2e3f595679","25799b2dc6e80e37c670700d9dab0088c859251800514e59d7aad87811391c8c","f9aa2cd726d9e659d6171fe3e5e74b6c0bc14908643cf3024f9d45fd4aeb2a9b","39dba7c0ab75df6977e6f4ef47cae2ade5775c25cd9351e25d69be5da9001a49","89d77a67437627e9510d96fa9be53d8370a64f4b98ee9f2434d8c58548d8ae42","55832b21333d91a238c5022952610a0db0f2c713cd4bbf29deaa94c811a46b17","69c94ff6968eea50fc6f6711c4d03016cd2165dce695cf7234ba0f5b659fb2bb","d029916217a3da33ba30a34bf6fe1766abc34a58defd361600c8f9d8120ebdad","4fa25b4d45a28074e1e6d26c136ad57bd83756d1e4f1f6b14c0beee42c4465fc","a024bf51a805123fbec4fb43a37f36901353df26b5e4fde453d3e6a245bc2fa0","74a633c18dadc73914252e0c499e38769a459573cc3131d3e3db1523d293091e","855e69e82972365731764f367e6e7786bedb4b1dc99a3fad34d7c2ce6b5a9045","261ff617fc09b19aa72b5990dc579cb0b45667263477b6a290f177bb4c3fe689","79d2b89a54111d277a9e18517addfcf7af3464afe2530393780659596eb0c83d","450f0e35bfa506e3fb476326748975732355c59154bdd71ffb766a7f65ead197","95951cd4478289c6f0059c89b36f9b3742a417a576d5abcc6e0dd19b7ed9c866","a313c6d4266e1a5c5376eeb5952bb6766a24056b67475c5be2b8ad38ec32e97d","f433e2cfec5903993f1de97f7af97423f6726b64231dc39820de314a16dae1f1","e4153c489cb41112664d4ae36ad7684847fd85f57659714fc7084d65fb625b13","b9638dd6964ce0fa969f6f90b2880c353aecad894a79fb7540b1db79c72ae6ed","741c1eafcee21142dbd1bc2b8c11b662e93df08417ade0172466e895fe08a6dd","0571c95f301c6ebc2c55c4209bca9d5ffd93fe0bae6fd0db9ab344d9dc196c75","2b4276dde46aa2faf0dd86119999c76b81e6488cd6b0d0fcf9fb985769cd11c0","19d09e5760e743edbd022ee2ede1d6910c3bacc0e99079564adf276617ad0963","265c496d208471908b0863a55d88617288c7cbacbe531ecd85c9308737a67a10","b50ee4bde16b52ecb08e2407dca49a5649b38e046e353485335aa024f6efb8ef","22d9c01b962658016759e1cd80bc4e38bf03f53b6c3c604f614c361a0be697f0","e3f0f564301a28aaf2041c93a277be57ff4ec16fabebec0a36e7e99e9069aaa4","2c65cf9693f7ef3be5d69a9195ab4393232c18d3109602ddd18ad4e1b6fbdf3d","b42d535c794251030828022716b5c1d526014d71a1b868679ecbe6599bb3fea1","1acac972cff48108a3dcf403fe6560f9307e5ea60d323008f4ec80812c46d050","15ea9d9dfa5dd97888c72e631368ce80c5b802f34f46317d0db9b0d8dd779f7c","96829ccb36a2c925db6fae5a050e16a69f8eba3a8f672ae69123b22df2ec3909","b653a84ba245e6fad08aef5078e16477ffb22249796fce36175ef52352b2b73c","db3f4c30a1c61447687dab0185608906e9e69212c2120f19a947b2078573ca41","e674b3aa917a699c2610475dc6e4302e65dd82d053cbd05746f8cd4580cb3413","47ba445c283bd3e7edbd04f0ad9394f2811877100b13f4c15a660daf26785063","a1a739dffd55002ba51c8dbc19a77072c1f2e46bbe6aa50f8fcffae23858d704","8c65069fd646404de95e143a8b6838ac54a3ccf95ee8118e47d1a70651d3ede5","6992a25b3df455d77764e78cbcab3114e432b996908ce10c8c1817482b6411d1","4dbef09ce71cee052488b04a19d272c6f9594581ff5d81d72d4a82931ea209ee","56c90a2b4699433a11ee09e068e59e0135340213a41046a4c11cfc9ed5ccef77","b8366bd68108c8edd42205776a26b00952c2566edd484511576aaf0e9fb870a1","57bdc185ea37eb09202ca4d5b4ae2c660a3bdeb572dec8ce9bac05922c85f1ef","0a835ff7d20a81e6292c1dcf8e91331c8e16ee84a06788d8c3d0dbcdfdb201cb","98f845d67c77718f03f2b3203f2dc19fe59d25fd571e6e42a5230daea22ce0ef","3e903d687b55842e5369f52a8bb30e638a311ec245ff43fd548040dac94fab8c","2bbb8e9867c2e338fdabe3583386fc43bf521e18a8a3f99b1546a2bea0d16246","8e0058e1de6bdbfd819560c2a5d932e93564e59e5de2e64ff5a904b8a4342a95","03081971a883247291c0b3920c1232c47c4be87b3dc6387c5645f5c9f634b8d3","844adf84719d53ae043a7643e6de50b8c530d3591de984c244b22c52c9d150ca","fc30c60a18ee06f19bc686c479446124ea672ad7b0fa798b8d4954a5f06c4000","fc666dced2ce7c03e44450b5c223237f4aeb1d759724a5191dc993984c744018","b42d535c794251030828022716b5c1d526014d71a1b868679ecbe6599bb3fea1","732c4dd80f4a55b9196f47ddf658ee728d25d624f8bb69de30d6f67a373d36fb","bdd04c2bc7954dca04ac5212610b71fcb05d9336c1cfe4f210e659bfb8a21f24","f3e9deeb66dceee20d71b4bfa0a43a44b0fd36dfe30466cf877b53f05e48e381","a81f5983ae3b471cabff6797af7d6a55bea28180d99e7f87d330272d100300f6","af31027198c08128838878fbc6e6266e260f3ba188f40af37f4e6a23958143fc","86130df8304c112b51395633da48d9667565e21ee6236328fecc43a2abcc3f04","99640c9ebd903eb32ebf7ed5dcbaa5c85e9b3862987ca025c70ed45dba8e4ef6","bbae5405f5c56b67dbef95fee7bb3eca7e39bcfe79a046069d1f3322ba59bf28","208430abc83535b3b2963b6468f5e31e78f30777714478448b7f44db1bb39d67","1414f5d1a91cf35ba1cb2d0a0d3edc42629552023b9641229f2aa23338ee853e","92e784e96633ee8c9bb9e58a012b5b39f86a3fd4b9459c6a1bb00000f31ce9ce","dd9ca028e0704d2c5b03dee6bde39d5082f03019699c5fd60d702bcd78a74442","586a75e50a9e1cceb30947b9af88d0ca1fe78f8a547266039da76bb0c6b8a4ed","46083d817f4804a1e26306351907820f8bd488dc3b0a2ae1e37b67d22810dbc9","6f53c445385d539dce38fbb8426802473a4e4b81e8aee61c5bf88858a865ddde","253c787fed69de900e7e30d3aa35bf0cd0ea18f3becfcd93bc1d4c8817a5ddf9","71103b3578dafed49ab7a73258815592799bbbe4cc52ba2463036dd990235892","9c2b1fd44728f94273d178c331aff4bacc1f54a2c1ca77cbfe4a14c345dc0926","a4cf5ec786eeca17f1bb82063ec078f046eff8722a8bb3bfb6dfb201c461f7c6","603b3086ea31771e28ea0f49dba2dba812eb21829efc71394ee19abedf2849f6","93afcab54c10fb39e0a804b10ac53748b7b2e2ca746bdbb5c27f1d6178de0f01","050d9fcf39c263269f304db7a96ebfde0f43622b1530911d614ee4dfc7dcb4ca","0f742db78876d3ebd908285ebc0cd8f43a0b6d7bf9f6a49a71695bb8b7f7d040","bf8d5f5a12339adb8ef4ab39c20e12739d374268c20ccedffa4ef35193165502","1055ab329107f5416f88dfed11b6a2a3b111104ff0922936cb7e421bcdf3c7d6","1298f616fda3e145cd00e2a0a125fd9535f9e23ed2674a5a07bfc7ee18cecd6c","f97bb8293ae93d4434c451e88d8ab96138d584e684ffe13757e14bf3ce4babe0","699d1d072b86cf7da053729cfe9fc00008299143a353ed9c2ce4b72d780b63d1","139be88acf51c13a43466d72ddfa89b45cb34d3a58f8c9592e64d10b7471bbbd","1472ff02d8f62ef566975548491d9110946c66283db67dbc9cd1aaae8908faa1","c594f0e15270833f666b7f3439513af1458ce953139c78a2bb4230eff26a8066","0d1ff9688784fa9caf5f7d4af1cef2c85c03cecaef50b2a4a052cdc7858f36fe","5b3b2ee0df06687f9ae4e3306b44b10ddce39064771c826c1121a5a49182ca13","404bb37e9432ba3248adc0776cc3e4fb2c84d3ba7d8f89c4e25c73344cf5d471","7ece0ccd41f1283ff2323b1974775e4af1d5a9a4fb9d4e589c7dd20aeb308548","609886ed9a85590d68624ed307a6ec1a22f8e33a50acabd896c88edb02d8cf00","9d5f7bd29589fe738b0cb84cb7f7368b8e63fdaf3e87e12823d63497534fe23d","532a9a42c0c9b2268f2f9b552ecd3c46f68f266a6fdf60ab9fc8a644619e23a6","b5188d4766c097fd5524357ba682918881c0c0ba85dd143de68239b27c3ee9fa","224b0cf3edc192277ffffdfac4af13eba05a8dad957c9ec524a09fdbd1eec28c","35121e225c5c7630ea3f03f01b6f1b269f00111c5f048753dcce7f858f09485e","259615d17a0ea07941aea00c453396226a8bd372e2f1dca538a8193f494e974c","3341b883073b771327239e831a30367f7cccf95b9c2ea51e5f194dfd1295fca2","f26a579d5e658ce0605174ca93ae2bf2168e62f8776bf6199694b72498dbc9af","60a7e68afdd1a2a55830fcf32fed22588e304a2a707f793038e5715980abbb40","ac2fa68eaf4dd30fc21fc1ff95147299f0b15f0ef9d2ce0ed7b4c17f61c3f7be","af60ade678dbc8be352b46136a3a50948c16fe9c0804bb812e70f9013f7f0edf","1cdc638f8f605b825ed8e321c3b3c861a64954099f97c48a1624a9d56620eda5","ded115a5dd770b06e3bf7a4288b7836f669178cc90e08094d208964c5d028c5e","3724872b65efaa6926b7b7d8245b4280a3aadab3552228a03f8f6f2f3e59a704","f10da12b21a12e61895139c6a580afbbc632e3b741179bc320f7667b4c8d428b","fe3dd4b230e6c10ba0c2f595e0237ebe21db234a2d57adbb1339dd088192586c","165c5551213620bf6728c914cb2c5c22988caf71a40b52cba6c9925936c494e3","f14cdf9388ffd9c264c041e4c467072b16ab12f91479bc8ba91c4fb9d6aca37f","085d64d22eaefab3bfc7c04b62da17ad82381c012381378eab08f1a23b42ddac","5d61e45e25731515ea240a7fff2b51c67f359e2f1c31dbbdfbcf6792a9fbb813","493082a12d157440526def15a004b119ea7c18a55b4e4b422e1a50234dc7e281","98d989b51ae1217aea54880cd0347b8cd840b90b45c1ec201258940ffacd27c5","2200761d6dc2d457fcfbdb877dc392e881d863e0df760fc412197224e76c0334","235132e845deb7904042f4cf8378e0de4a9d7ed3cf1c3ebc2b40d61f3da488d0","3b15c76a5c40a9aa66b9dd68fbf02199c52b94e64be628aaf6251a4525e615ef","1b768931b32df3467899956e4b5d00a78b9847a1b171bf68dcdefd0691754257","220c0f9310dfe8482b9cd5e0e70dee8b56c6c78302da097e7ba7aa82ec56c0c2","ed6d74f3e04dd3d3e568f150b88e6b58964fc67df23b5e7c9ed88fb07ab460f6","36ea4e0f219857fadace361dd3e009d0f543f6ba8b3dca1aadb4c402c0d20628","3ac5071b51cea799386b37441a52d8bd7cfae89d7e352a8a102da707d255899b","86210ee91a4bcdad09db0fa2723628d2327ae77494ac1892a14b3552ae4a20a6","c7a7fc6e0cff2c8c0ff5eb0d7e5ec89932f11f43b393a23cc055720b60d2366f","874ffad2a413dfb7e264e93894a0725df264ab37e67d20c866d13be0606ec918","1c48816efb59312da9ab63e63c329ef78e7698c19cbf14eeab004801f90eafa6","5bf75434254cb2430bb3aefebdc220db325492f491e2d4f58fc73113f4c5fa76","a39643ae3d9d7bf706bd7d105500da497b39a43e536e26e00a092f16b8a93732","7bbe7f841563ad450d237b3a9523e29a85d6de650051beef429b8e8cdde2ed24","beb61b1dccfc79a6112fcecab123214a8d8aa0645ff8e1ef0be56adf08cc4595","42fc5dfd93ce1555b76f08ed54ed7f3346d06287d3b5893e5beafca455cfc920","e5be054bffdab1e6067c0b47a2bb661389f410bef89ba03c554ebfb9b5c51e0e","0185fbcf37f4569ae88ae28d98babaa7971ede701446c23a0f320aa15cd4f8b0","3cd26e9a36da086bbe1300a24f52aff19e016bfc7a7a8c1dfaf4b17f031b2caf","e8732c7f722e0d1b1aa0ad5946b869d4c1d53b9dfdaad12470c039d788a98a4a","8c8acd0aabd26e2264fc9c70f2e9956b18823d7a6c6dd395c2230aeccb69f12a","16ab32eb3b1d0278cab7dbf92ca526fe79c4bfa9f9348e47e8830c5add56ce24","2812f01820e765112c93b8dde1a5e9342667cf7e19ebd3fdb6db7c13dff9c9c9","5ca29fbf9f81cd52ef52997cdbe304fe768f428a60f8de8e2a1f43684a2c2fb6","cd7b315885587f4003ab8bfddb65bea0b63be54c5e850d2df28e89a9a426ac5e","f73b596cb4b4860fd0a3ea8cab67a42ad344d95a392ca986ca4588f59ea8c2cf","eb30a9448e254b9633760c2623ceba844ae0a915b902cfc4dd2d8cb3da49608b","8d089a9b8c39e14358f177ca8107b533feb227d9cf6f6c11eafe94c43d16db14","4936cfcc247e8f65c11348d688193bcf17dd05481da277f81102b4c501fcc772","57c5be4239c819d19dfc0c42355b4469860f77881352c2197ee30f5a65c1541c","e5e36fa0f37e4355c651e9f3aad31a6df81f5f453561f8f24ee10585f28997dc","fada486e08c4afe09f916b2c1351ed033ab236c00ab43064472e2ca8fbdf21ea","2df021c5aa0a49fb2a8ed530aafa450490d04d80c28905db439fbf53c8351e24","0e818d959e9ff7a7bb117d1c59be012f9138005b0a25ca01a21576913d3affb5","75a4785747fe7b10545584cea4c6ca8eabef43d68ade01cda87e351a9eeac8c7","e59ad36606cddb43b64dc117dd4958bad8e2b09346a873a248ae9ab3e59dc34f","9e0ef541398f7d7e5d8962c26c7266cbf5b2953427e3a4c553e68f2a70431d84","d15367dd1784faa0e639792bc5c1e96715a1da9284b3076288e80b84ba51a8e1","43d53b0fe976ac6416fd91a6d438e70ddc3d1d39a64fbfec34e1b2ce3ce528be","fbd5b25c3d0dc73174e2482b3e3f7a521b881805cae5412f97312d0913d09908","168a74cd231666dc937308d5154ee554823cd9ca78b36be8a75598dd6d47cfe9","5a2e695a43c4aba5bbfbf599d3fc6f028da443efacf8b11c71473a925d70d4e4","7e027247f6d76beccf64fff84da2720b07872d8baf5533031d7ab15a64fbba4e","20ed1b5f64fddad0fdb3fca1b4984dfd0acf144d16727e21b7819d57fe2b6463","ef3e115c636f28e5553311a6d3b7f1cf494f9c60ff2b0a22637eaf796474943e","a29d26ada353b80aa21a474820ab4f11a40b7cc035f74680a37bdc235fcc821e","b089f493a2392e3de13f8863f482b35794ee31d8a649e96035ddf9d6922ebe12","e308594d29f341f5571f7ec7a33aac2dc8458a3b1f770b367fa05dd44eea95a3","c96518fd8a521cc08ac3e3ae847bf58fbd6a1c01a069f5e11cc543b37586b4de","7fd0c035ba4d31fe546d6640777e9d215d67422cc9425c1662f6d12a62886114","18483132ac7daf9fc992c38967265e3511e46efcc40f7ed193b8d63e59c8f948","8a8146e998ab4cc0cf79fd326ccb6033d70582de6a83e62e34ef5cecdff5f15e","b56a0b65a4b13657a1c4a7c75016e63b0068a8f3d5da92090e562cf912bdc0c1","6e53407d728dc0a29fa3ead03d93dfa1b2db365d288629a5f7084a3d195f9ce5","f6d71080c52602694decdc26f2464a6ad90ab54947fbf78921895a38bbbf73f2","b3079f980bf6ea339362b44be550ac57e1f4434ad0ff3a8eaee5258ea40c003a","51cb1fc1d8debac2fd67f2f0658626868561acaf02f05ff381863f67fff4352f","af174fe65eec8049b2d4f67114b6e00637c245b63a864da2fb8dc184a2e23c76","974eabbabc226611d94dee6a14094e02c9d1201fccf85812442924f1abbdde8f","68cc8d6fcc2f270d7108f02f3ebc59480a54615be3e09a47e14527f349e9d53e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","53a19869f45ed016b079c4287bd79dd373b2dcdddeb6f7bec58419cdb9565862","4ef960df4f672e93b479f88211ed8b5cfa8a598b97aafa3396cacdc3341e3504"],"root":[341,387,[411,417],[1208,1230]],"options":{"composite":false,"declarationMap":false,"emitDeclarationOnly":false,"esModuleInterop":true,"jsx":1,"module":99,"skipLibCheck":true,"strict":true,"target":1,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[119,336,411],[119,336,412],[119,336,413],[119,336,414],[119,336,415],[119,291,1216],[119,291,1222],[119,291,1220],[119,336,410],[119,314,336,386],[119,416],[66,119],[119],[119,326],[66,119,320,1221],[119,314,320,386,1219],[119,760,1211],[119,1212],[66,119,410,760,1209],[119,1210],[119,410,760,1217],[66,119,410,755,760,1207],[119,1208],[66,119,384,410,760,1207,1213,1215,1218],[66,119,417,760,1207],[119,1214],[119,336,386],[119,339,340],[119,1081],[119,1082,1083],[119,1087],[66,119,1082],[66,119,1084,1085,1086],[119,1111],[66,119,1111],[66,119,1088,1111],[119,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109],[119,1099,1111],[66,119,1088,1089,1090,1096,1097,1098,1099,1101,1103,1104,1105,1106,1110],[119,745],[119,739,741],[119,729,739,740,742,743,744],[119,739],[119,729,739],[119,730,731,732,733,734,735,736,737,738],[119,730,734,735,738,739,742],[119,730,731,732,733,734,735,736,737,738,739,740,742,743],[119,729,730,731,732,733,734,735,736,737,738],[119,800,802,804,805,808],[119,800,802,804,805,806,808],[119,800,801,802,803,804,806,807,808,809,810,811,812,813,814,815,816,817],[119,796],[119,800,802,804],[119,802],[119,800,807,809,810,811,812,814],[119,796,802,813],[119,800,807,809,810,811,814],[119,800,802,804,805,806],[119,796,800],[119,800,802,803,804,807,809,810,811,812,814],[119,800,802,804,805],[119,773],[119,773,774],[119,774],[119,777],[119,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795],[119,778],[119,770,774,777,779],[119,770,774,777,778,779,780,782,783,784,785],[119,781],[119,774,777,781],[119,774,777,778],[119,777,781],[119,770,778],[119,770,777,779,781],[119,770,777,778,779],[119,777,778],[119,761,762,769,799,820,824,1018,1024,1025,1039,1040,1042,1044,1045,1046,1047,1048,1049,1050,1051,1052],[119,762,767,769,799,820,1023,1025,1027,1039,1044,1045],[119,824,1045],[119,353,762,799,818,819,820,1023],[119,762,767,769,1040,1044],[119,762,769,1047],[119,799],[119,126,389,762,763,764,765,766,768,769],[119,126,353,762,763,767,769],[119,389,762,767,769],[119,353,768,769],[119,399,769],[119,389,762,768],[119,1013,1030,1031,1040],[119,1013,1029],[119,769,799,1013,1029,1040],[119,1013,1044],[119,1013,1030,1033,1040],[119,1013,1030,1035,1040,1045],[119,1013,1029,1045],[119,1013,1037],[119,1013],[119,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038],[119,796,799,819],[119,796,797,798],[119,796,799,818],[119,1024,1040,1045],[119,769],[119,762],[119,1026],[119,769,820],[119,799,1013],[119,799,820,1016,1018,1044,1045],[119,1016,1018,1044],[119,1015,1016,1017,1019,1020,1021,1022],[119,763,820],[119,762,1045],[119,821,822,823],[119,821,1045],[119,762,769,799,824,1013,1014,1042,1045],[119,1014,1041,1043],[119,769,1013,1014,1040],[119,389,762,767,799,824,1044],[119,1062,1065,1069,1071],[66,119,218,1053],[66,119,218,1062],[66,119,218,1053,1063],[119,1054,1063,1064],[119,1053],[119,1066,1067,1068],[119,1055,1059],[119,1055,1060,1061],[119,1055],[119,1070],[119,1053,1072,1131,1195,1197,1198,1206],[66,119,218],[119,1132],[66,119,1112],[66,119,218,1112],[66,119,1137],[119,1134,1135,1138,1139],[119,218],[119,218,1053],[119,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150],[119,218,1053,1153],[119,1154,1155,1156],[119,1158],[66,119,218,1053,1160,1161,1162],[119,1160,1161,1162,1163,1164],[119,1166,1167,1168,1169],[119,1136],[119,1171],[119,1173,1174],[119,1176,1177,1178],[119,1183],[119,1180,1181],[66,119,218,1153],[119,1152],[119,1187,1188],[119,1185],[66,119,218,1190],[119,1190,1191],[119,1076,1077,1078,1193],[119,1133,1137,1140,1151,1157,1159,1165,1170,1172,1175,1179,1182,1184,1186,1189,1192,1194],[66,119,218,1053,1073],[119,1073,1074],[119,218,1114],[119,1121,1122,1123],[119,218,1112],[66,119,1053,1079],[119,1080,1113],[66,119,218,1053,1116],[119,1117],[66,119,218,1072],[119,1119],[66,119,1053],[66,119,218,1053,1077],[119,1076,1078],[119,1075,1079,1114,1118,1120,1124],[119,1115],[119,1126,1127,1128,1129],[119,1116,1125,1130],[119,1199,1200,1201,1202,1203,1204,1205],[119,1081,1112],[119,1196],[119,314,336,339,381,384,385],[119,381,384],[119,374],[119,376],[119,371,372,373],[119,371,372,373,374,375],[119,371,372,374,376,377,378,379],[119,370,372],[119,372],[119,371,373],[119,342],[119,342,343],[119,345],[119,345,349,350],[119,345,348],[119,345,347,349],[119,345,346,347],[119,345,346,348,349,350,351],[119,354,356,357,359,361],[119,353,354,355,356,360],[119,358,360],[119,359,360,361],[119,360],[119,365,366,367],[119,363,364,368],[119,364],[119,363,364,365],[119,126,363,364,365],[119,344,352,362,369,381,382],[119,344,352,362,380,381,383],[119,380,381],[119,352,362,380],[119,1231],[119,508],[82,119,126],[73,119],[76,119],[77,82,110,119],[78,89,90,97,107,118,119],[78,79,89,97,119],[80,119],[81,82,90,98,119],[82,107,115,119],[83,85,89,97,119],[84,119],[85,86,119],[89,119],[87,89,119],[89,90,91,107,118,119],[89,90,91,104,107,110,119],[119,123],[85,89,92,97,107,118,119],[89,90,92,93,97,107,115,118,119],[92,94,107,115,118,119],[73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125],[89,95,119],[96,118,119],[85,89,97,107,119],[98,119],[99,119],[76,100,119],[101,117,119,123],[102,119],[103,119],[89,104,105,119],[104,106,119,121],[77,89,107,108,109,110,119],[77,107,109,119],[107,108,119],[110,119],[111,119],[107,119],[89,113,114,119],[113,114,119],[82,97,107,115,119],[116,119],[97,117,119],[77,92,103,118,119],[82,119],[107,119,120],[119,121],[119,122],[77,82,89,91,100,107,118,119,121,123],[107,119,124],[66,119,130,131],[66,119,130,131,132],[66,70,119,128,292,335],[63,64,65,119],[66,70,119,129,292,335],[89,92,94,107,115,118,119,124,126],[119,477],[119,476],[92,107,119,126],[119,509,514,519,571],[119,508,509,571],[119,1056,1057,1058],[119,1056],[119,1056,1057],[119,353],[119,509,544,569,570,571],[119,509,543,544,571],[119,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568],[119,509,543,571],[71,119],[119,296],[119,298,299,300],[119,302],[119,135,145,151,153,292],[119,135,142,144,147,165],[119,145],[119,145,270],[119,199,217,232,338],[119,240],[119,135,145,152,185,195,267,268,338],[119,152,338],[119,145,195,196,197,338],[119,145,152,185,338],[119,338],[119,135,152,153,338],[119,225],[76,119,126,224],[66,119,218,219,220,237,238],[119,208],[119,207,209,312],[66,119,218,219,235],[119,214,238,324],[119,322,323],[119,159,321],[119,211],[76,119,126,159,207,208,209,210],[66,119,235,237,238],[119,235,237],[119,235,236,238],[103,119,126],[119,206],[76,119,126,144,146,202,203,204,205],[66,119,136,315],[66,118,119,126],[66,119,152,183],[66,119,152],[119,181,186],[66,119,182,295],[66,70,92,119,126,128,129,292,333,334],[119,292],[119,134],[119,285,286,287,288,289,290],[119,287],[66,119,182,218,295],[66,119,218,293,295],[66,119,218,295],[92,119,126,146,295],[92,119,126,143,144,155,173,206,211,212,234,235],[119,203,206,211,219,221,222,223,225,226,227,228,229,230,231,338],[119,204],[66,103,119,126,144,145,173,175,177,202,234,238,292,338],[92,119,126,146,147,159,160,207],[92,119,126,145,147],[92,107,119,126,143,146,147],[92,103,118,119,126,143,144,145,146,147,152,155,156,166,167,169,172,173,175,176,177,201,202,235,243,245,248,250,253,255,256,257,258],[119,135,136,137,143,144,292,295,338],[92,107,118,119,126,140,269,271,272,338],[103,118,119,126,140,143,146,163,167,169,170,171,175,202,248,259,261,267,281,282],[119,145,149,202],[119,143,145],[119,156,249],[119,251,252],[119,251],[119,249],[119,251,254],[119,139,140],[119,139,178],[119,139],[119,141,156,247],[119,246],[119,140,141],[119,141,244],[119,140],[119,234],[92,119,126,143,155,174,193,199,213,216,233,235],[119,187,188,189,190,191,192,214,215,238,293],[119,242],[92,119,126,143,155,174,179,239,241,243,292,295],[92,118,119,126,136,143,145,201],[119,198],[92,119,126,275,280],[119,166,201,295],[119,263,267,281,284],[92,119,149,267,275,276,284],[119,135,145,166,176,278],[92,119,126,145,152,176,262,263,273,274,277,279],[119,127,173,174,292,295],[92,103,118,119,126,141,143,144,146,149,154,155,163,166,167,169,170,171,172,175,177,201,202,245,259,260,295],[92,119,126,143,145,149,261,283],[92,119,126,144,146],[66,92,103,119,126,134,136,143,144,147,155,172,173,175,177,242,292,295],[92,103,118,119,126,138,141,142,146],[119,139,200],[92,119,126,139,144,155],[92,119,126,145,156],[92,119,126],[119,159],[119,158],[119,160],[119,145,157,159,163],[119,145,157,159],[92,119,126,138,145,146,152,160,161,162],[66,119,235,236,237],[119,194],[66,119,136],[66,119,169],[66,119,127,172,177,292,295],[119,136,315,316],[66,119,186],[66,103,118,119,126,134,180,182,184,185,295],[119,146,152,169],[119,168],[66,90,92,103,119,126,134,186,195,292,293,294],[62,66,67,68,69,119,128,129,292,335],[119,264,265,266],[119,264],[119,304],[119,306],[119,308],[119,310],[119,313],[119,317],[70,72,119,292,297,301,303,305,307,309,311,314,318,320,326,327,329,336,337,338],[119,319],[119,325],[119,182],[119,328],[76,119,160,161,162,163,330,331,332,335],[119,126],[66,70,92,94,103,119,126,128,129,130,132,134,147,284,291,295,335],[119,536,537,538,539,540],[119,536,537],[119,536],[119,527,542,574],[66,119,508,509,510,535,541,571],[66,119,508,509,571],[65,66,119,509,533,534,542,571,573],[119,508,509,533,571],[66,119,429],[119,418],[119,418,419,420,421,422,423,424,425,426,427,428],[66,119,746],[119,571,572],[119,509,533,543,570,571],[119,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,841,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,881,882,883,884,885,886,887,888,889,890,891,892,894,895,896,897,898,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,944,945,946,948,957,959,960,961,962,963,964,966,967,969,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012],[119,870],[119,828,829],[119,825,826,827,829],[119,826,829],[119,829,870],[119,825,829,947],[119,827,828,829],[119,825,829],[119,829],[119,828],[119,825,828,870],[119,826,828,829,986],[119,828,829,986],[119,828,994],[119,826,828,829],[119,838],[119,861],[119,882],[119,828,829,870],[119,829,877],[119,828,829,870,888],[119,828,829,888],[119,829,929],[119,825,829,948],[119,954,956],[119,825,829,947,954,955],[119,947,948,956],[119,954],[119,825,829,954,955,956],[119,970],[119,965],[119,968],[119,826,828,948,949,950,951],[119,870,948,949,950,951],[119,948,950],[119,828,949,950,952,953,957],[119,825,828],[119,829,972],[119,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,871,872,873,874,875,876,878,879,880,881,882,883,884,885,886,887,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945],[119,958],[66,119,410,429,431,629,630,631,633,634,638,639],[119,410,431,629],[66,119,431,632],[66,119,410,431],[119,631,632],[119,410,431],[119,630,631,632,633,634,639,640,641],[66,119,410,431,640],[65,66,119,597],[119,594,595,596,597,598],[119,497],[66,119,410,431,585,606,622,625,627,628,643,646],[66,119,410,431,628],[119,585],[119,643,647,648],[66,119,431,500],[119,650],[66,119,410,431,497,652,653,655,656,657,659],[66,119,410,431,652],[119,661,662,663,664,665,666,667,668,669,670,671,672,673],[119,431],[119,653,660,674,675],[66,119,410,431,496,497,628,654],[119,431,655],[119,601,654],[119,410,431,620],[119,655,677,678,679],[119,410,431,479],[66,119,431,457,458,459,460],[66,119,457],[66,119,431,456],[66,119,410,431,456,457,458,459],[119,456,457,458,459,460,656],[66,119,410,431,475,479,493,496],[66,119,410],[119,410,431,479,682],[119,475,494,683],[66,119,410,431,592],[119,593],[119,652],[119,589],[119,498],[119,590],[119,499],[66,119,431,500,628],[119,501],[119,584,635,636,637],[66,119,431],[119,691],[66,119,431,658],[119,658,659],[119,430,644,645],[119,629],[119,718],[119,431,628],[119,431,622],[66,119,431,578],[119,431,578,622],[66,119,431,500,621],[119,431,620],[119,463,464,465,466,467,468,469,470,471,472,623,629],[66,119,431,628],[119,431,622,628],[66,119,622],[66,119,410,431,622,628],[119,410,431,622,628],[66,119,431,622,628],[119,431,624],[119,473,502,503,577,579,581,582,583,621,622,694,695,696,697,698],[119,410,431,510],[119,511,512,513,523,526,576],[119,513,520],[119,521,522],[119,410,431,513],[119,513],[119,524,525],[66,119,410,431,510,511,574,575],[119,509,571],[66,119,410,431,462,473,507,577,578,606,621,624,625,628],[119,410,431,462,473,620,622],[119,431,578,628],[119,700,701],[66,119,431,589,590,591,593],[119,604],[66,119,410,431,460,604,624,627,628],[119,611,626],[66,119,431,604,626],[66,119,410,431,455,604,625,627],[119,580,592,600,604,605,607,608,609,610,612,613,614,615,625],[66,119,431,507,622,624,628,691],[66,119,505,628],[119,505],[66,119,410,431,496,507,606,624,628,699,706],[119,410,431,507,628],[66,119,410,431,507,622,628],[119,708,709,710,711,712,713,714,715],[119,410,431,628],[119,504,505,506,507,703,704,705,707,716],[119,720],[66,119,432,433,435],[66,119,432,433,434],[119,436],[119,436,438],[66,119,438],[119,449,450,451,452,453],[119,437,438,439,440,441,442,443,444,445,446,447,448,454],[66,119,410,431,500,586],[119,410,431,586,622],[66,119,410,431,586],[119,587,588,722],[119,724],[66,119,431,616,621,622,717],[66,119,431,601,628],[119,602,726,727],[66,119,747],[119,748],[119,603],[66,119,500],[119,591],[119,752],[119,455,500,599,616,638,642,646,649,651,657,676,680,681,684,685,686,687,688,689,690,692,693,699,702,717,719,721,723,725,728,749,750,751,753],[66,119,410,431,461,623,628],[66,119,410,431,627],[66,119,410,431,494,495],[66,119,430,431,497,498,499,501,502,503,504,505,506,579,580,581,582,583,584,587,588,593,599,600,602,603,605,622,625,640,754],[66,119,410,431,468,507,577,621,622,624,625,628,629],[66,119,410,431,592,616,626,627],[66,119,410,431,462,478],[119,474,479,496,578,585,606,617,618,619,624,628],[119,410,431,462,477,478,479,492],[119,492,493],[119,480,481,482,483,484,485,486,487,488,489,490,491],[119,620,682,754,759],[66,119,410,430],[119,755],[119,756,757,758],[119,395,406],[119,126,394,395,396,406],[119,395,397],[119,126,389,391,392,395,397,398,400,401,402,403,404,405],[119,395],[119,126,353,391,395,406],[119,389,395,406],[119,388,392,393,394,395,396,397,398,400,402,403,404,405,406,407,409],[119,353,390,392,395],[119,126,395,399],[119,395,399],[119,389,392,393,394],[119,126,389,395,408],[89,92,94,97,107,115,118,119,124,126],[119,390],[119,508,532],[119,508,515],[119,516,518],[119,508,516,518],[119,508,515,516,517],[119,528],[119,531],[119,508,529,530,532]],"referencedMap":[[1225,1],[1226,2],[1227,3],[1228,4],[1229,5],[1223,6],[1230,7],[1224,8],[411,9],[412,10],[413,10],[414,10],[415,10],[417,11],[416,12],[1216,13],[1221,14],[1222,15],[1220,16],[1212,17],[1213,18],[1210,19],[1211,20],[1218,21],[1208,22],[1209,23],[1217,13],[1219,24],[1214,25],[1215,26],[387,27],[341,28],[1082,29],[1084,30],[1088,31],[1085,32],[1087,33],[1086,31],[1112,34],[1090,35],[1091,35],[1092,35],[1093,12],[1094,35],[1095,35],[1096,35],[1097,35],[1089,36],[1098,35],[1099,35],[1100,13],[1101,35],[1102,12],[1103,35],[1104,35],[1105,35],[1110,37],[1106,35],[1107,38],[1111,39],[1108,34],[1109,35],[1081,13],[1083,13],[294,13],[746,40],[742,41],[729,13],[745,42],[738,43],[736,44],[735,44],[734,43],[731,44],[732,43],[740,45],[733,44],[730,43],[737,44],[743,46],[744,47],[739,48],[741,44],[809,49],[816,13],[810,50],[818,51],[800,52],[805,53],[803,54],[808,13],[813,55],[802,13],[814,56],[806,13],[804,13],[812,57],[817,53],[807,58],[801,59],[815,60],[811,61],[795,13],[771,13],[774,62],[775,63],[776,64],[793,65],[796,66],[779,67],[770,13],[794,13],[778,68],[786,69],[792,70],[773,13],[772,13],[784,71],[785,72],[791,67],[787,67],[790,73],[777,74],[782,75],[783,76],[789,77],[788,65],[780,65],[781,13],[1053,78],[1040,79],[1046,80],[1018,81],[1047,82],[1048,83],[1051,84],[767,85],[768,86],[765,87],[766,88],[764,89],[769,90],[1032,91],[1031,92],[1030,93],[1029,94],[1034,95],[1033,92],[1036,96],[1035,97],[1038,98],[1037,94],[1028,99],[1039,100],[762,13],[797,52],[798,52],[820,101],[799,102],[819,103],[1025,104],[1024,13],[1050,13],[1049,13],[1052,105],[1026,106],[1027,107],[1016,108],[1017,109],[1019,110],[1020,111],[1015,13],[1023,112],[1021,113],[1022,114],[821,13],[824,115],[822,80],[823,116],[1042,13],[1043,117],[1044,118],[1014,99],[1041,119],[1045,120],[1072,121],[1054,122],[1063,123],[1064,124],[1065,125],[1066,126],[1069,127],[1067,126],[1068,126],[1060,128],[1062,129],[1055,13],[1061,130],[1070,122],[1071,131],[1207,132],[1132,133],[1133,134],[1134,135],[1135,136],[1138,137],[1139,133],[1140,138],[1141,133],[1142,139],[1143,139],[1144,133],[1145,140],[1146,139],[1147,139],[1148,133],[1149,133],[1150,133],[1151,141],[1155,122],[1156,122],[1154,142],[1157,143],[1158,133],[1159,144],[1163,145],[1160,140],[1161,140],[1164,139],[1162,140],[1165,146],[1167,139],[1168,139],[1169,139],[1166,139],[1170,147],[1136,139],[1137,148],[1171,139],[1172,149],[1174,133],[1173,136],[1175,150],[1176,136],[1177,122],[1178,133],[1179,151],[1183,122],[1184,152],[1181,139],[1180,139],[1182,153],[1187,133],[1188,154],[1153,155],[1152,13],[1189,156],[1185,133],[1186,157],[1190,136],[1191,158],[1192,159],[1193,133],[1194,160],[1195,161],[1073,122],[1074,162],[1075,163],[1121,139],[1122,164],[1123,164],[1124,165],[1113,166],[1080,167],[1114,168],[1117,169],[1118,170],[1119,171],[1120,172],[1076,12],[1077,173],[1078,174],[1079,175],[1125,176],[1115,122],[1116,177],[1130,178],[1126,13],[1127,99],[1129,126],[1128,13],[1131,179],[1206,180],[1199,181],[1205,126],[1200,13],[1201,13],[1204,13],[1203,13],[1202,13],[1198,13],[1196,12],[1197,182],[386,183],[385,184],[377,185],[378,186],[374,187],[376,188],[380,189],[370,13],[371,190],[373,191],[375,191],[379,13],[372,192],[343,193],[344,194],[342,13],[346,195],[351,196],[349,197],[350,198],[348,199],[352,200],[347,195],[345,13],[360,201],[361,202],[359,203],[362,204],[354,13],[357,205],[355,13],[356,13],[368,206],[369,207],[363,13],[365,208],[364,13],[367,209],[366,210],[383,211],[384,212],[382,213],[381,214],[1232,215],[509,216],[399,217],[1233,13],[543,216],[1231,13],[73,218],[74,218],[76,219],[77,220],[78,221],[79,222],[80,223],[81,224],[82,225],[83,226],[84,227],[85,228],[86,228],[88,229],[87,230],[89,229],[90,231],[91,232],[75,233],[125,13],[92,234],[93,235],[94,236],[126,237],[95,238],[96,239],[97,240],[98,241],[99,242],[100,243],[101,244],[102,245],[103,246],[104,247],[105,247],[106,248],[107,249],[109,250],[108,251],[110,252],[111,253],[112,254],[113,255],[114,256],[115,257],[116,258],[117,259],[118,260],[119,261],[120,262],[121,263],[122,264],[123,265],[124,266],[358,13],[65,13],[132,267],[130,12],[131,268],[129,269],[63,13],[66,270],[218,12],[128,271],[1234,13],[508,13],[353,272],[389,13],[64,13],[478,273],[477,274],[476,13],[408,275],[520,276],[514,277],[1059,278],[1056,13],[1057,279],[1058,280],[763,281],[571,282],[545,283],[546,283],[547,283],[548,283],[549,283],[550,283],[551,283],[552,283],[553,283],[554,283],[555,283],[569,284],[556,283],[557,283],[558,283],[559,283],[560,283],[561,283],[562,283],[563,283],[565,283],[566,283],[564,283],[567,283],[568,283],[570,283],[544,285],[755,13],[72,286],[297,287],[301,288],[303,289],[152,290],[166,291],[268,292],[197,13],[271,293],[233,294],[241,295],[269,296],[153,297],[196,13],[198,298],[270,299],[173,300],[154,301],[177,300],[167,300],[137,300],[224,302],[225,303],[142,13],[221,304],[226,133],[312,305],[219,133],[313,306],[203,13],[222,307],[325,308],[324,309],[228,133],[323,13],[321,13],[322,310],[223,12],[210,311],[211,312],[220,313],[236,314],[237,315],[227,316],[205,317],[206,318],[316,319],[319,320],[184,321],[183,322],[182,323],[328,12],[181,324],[158,13],[331,13],[334,13],[333,12],[335,325],[133,13],[262,13],[165,326],[135,327],[285,13],[286,13],[288,13],[291,328],[287,13],[289,329],[290,329],[151,13],[164,13],[296,330],[304,331],[308,332],[147,333],[213,334],[212,13],[204,317],[232,335],[230,336],[229,13],[231,13],[235,337],[208,338],[146,339],[171,340],[259,341],[138,275],[145,342],[134,292],[273,343],[283,344],[272,13],[282,345],[172,13],[156,346],[250,347],[249,13],[256,348],[258,349],[251,350],[255,351],[257,348],[254,350],[253,348],[252,350],[193,352],[178,352],[244,353],[179,353],[140,354],[139,13],[248,355],[247,356],[246,357],[245,358],[141,359],[217,360],[234,361],[216,362],[240,363],[242,364],[239,362],[174,359],[127,13],[260,365],[199,366],[281,367],[202,368],[276,369],[144,13],[277,370],[279,371],[280,372],[263,13],[275,275],[175,373],[261,374],[284,375],[148,13],[150,13],[155,376],[243,377],[143,378],[149,13],[201,379],[200,380],[157,381],[209,382],[207,383],[159,384],[161,385],[332,13],[160,386],[162,387],[299,13],[298,13],[300,13],[330,13],[163,388],[215,12],[71,13],[238,389],[185,13],[195,390],[306,12],[315,391],[192,12],[310,133],[191,392],[293,393],[190,391],[136,13],[317,394],[188,12],[189,12],[180,13],[194,13],[187,395],[186,396],[176,397],[170,316],[278,13],[169,398],[168,13],[302,13],[214,12],[295,399],[62,13],[70,400],[67,12],[68,13],[69,13],[274,261],[267,401],[266,13],[265,402],[264,13],[305,403],[307,404],[309,405],[311,406],[314,407],[340,408],[318,408],[339,409],[320,410],[326,411],[327,412],[329,413],[336,414],[338,13],[337,415],[292,416],[541,417],[538,418],[539,13],[540,13],[536,13],[537,419],[575,420],[542,421],[510,422],[574,423],[534,424],[527,13],[418,425],[419,426],[420,426],[421,426],[429,427],[422,426],[423,426],[424,426],[425,426],[426,426],[427,426],[428,426],[747,428],[706,12],[573,429],[572,430],[1013,431],[986,13],[964,432],[962,432],[877,433],[828,434],[827,435],[963,436],[948,437],[870,438],[826,439],[825,440],[1012,435],[977,441],[976,441],[888,442],[984,433],[985,433],[987,443],[988,433],[989,440],[990,433],[961,433],[991,433],[992,444],[993,433],[994,441],[995,445],[996,433],[997,433],[998,433],[999,433],[1000,441],[1001,433],[1002,433],[1003,433],[1004,433],[1005,446],[1006,433],[1007,433],[1008,433],[1009,433],[1010,433],[830,440],[831,440],[832,440],[833,440],[834,440],[835,440],[836,440],[837,433],[839,447],[840,440],[838,440],[841,440],[842,440],[843,440],[844,440],[845,440],[846,440],[847,433],[848,440],[849,440],[850,440],[851,440],[852,440],[853,433],[854,440],[855,440],[856,440],[857,440],[858,440],[859,440],[860,433],[862,448],[861,440],[863,440],[864,440],[865,440],[866,440],[867,446],[868,433],[869,433],[883,449],[871,450],[872,440],[873,440],[874,433],[875,440],[876,440],[878,451],[879,440],[880,440],[881,440],[882,440],[884,440],[885,440],[886,440],[887,440],[889,452],[890,440],[891,440],[892,440],[893,433],[894,440],[895,453],[896,453],[897,453],[898,433],[899,440],[900,440],[901,440],[906,440],[902,440],[903,433],[904,440],[905,433],[907,440],[908,440],[909,440],[910,440],[911,440],[912,440],[913,433],[914,440],[915,440],[916,440],[917,440],[918,440],[919,440],[920,440],[921,440],[922,440],[923,440],[924,440],[925,440],[926,440],[927,440],[928,440],[929,440],[930,454],[931,440],[932,440],[933,440],[934,440],[935,440],[936,440],[937,433],[938,433],[939,433],[940,433],[941,433],[942,440],[943,440],[944,440],[945,440],[1011,433],[947,455],[970,456],[965,456],[956,457],[954,458],[968,459],[957,460],[971,461],[966,462],[967,459],[969,463],[955,13],[960,13],[952,464],[953,465],[950,13],[951,466],[949,440],[958,467],[829,468],[978,13],[979,13],[980,13],[981,13],[982,13],[983,13],[972,13],[975,441],[974,13],[973,469],[946,470],[959,471],[640,472],[630,473],[641,474],[631,475],[633,476],[634,477],[639,477],[642,478],[632,479],[596,13],[594,12],[595,13],[598,480],[599,481],[597,13],[497,475],[500,482],[647,483],[461,484],[586,485],[648,477],[643,475],[649,486],[650,487],[651,488],[660,489],[653,490],[674,491],[661,475],[662,475],[663,475],[664,475],[665,475],[666,492],[667,475],[668,13],[669,475],[670,475],[671,475],[672,475],[673,475],[676,493],[675,477],[655,494],[677,495],[678,496],[601,477],[654,497],[680,498],[679,499],[656,500],[458,501],[457,12],[459,502],[460,503],[681,504],[456,477],[494,505],[495,506],[683,507],[475,13],[684,508],[593,509],[685,510],[652,12],[686,511],[589,12],[687,512],[498,13],[688,513],[590,13],[689,514],[499,13],[657,515],[501,516],[690,517],[635,12],[636,475],[637,475],[584,477],[638,518],[691,519],[692,520],[658,12],[659,521],[693,522],[644,12],[645,13],[430,13],[646,523],[718,524],[719,525],[502,526],[695,527],[503,526],[579,528],[581,12],[696,529],[582,530],[697,531],[583,526],[698,492],[473,532],[629,533],[463,534],[464,535],[465,534],[623,536],[466,537],[467,534],[468,534],[469,538],[470,539],[471,536],[472,526],[694,527],[699,540],[511,541],[577,542],[512,13],[521,543],[523,544],[522,545],[524,546],[526,547],[525,546],[576,548],[513,549],[622,550],[621,551],[700,528],[701,552],[702,553],[607,13],[608,12],[592,554],[609,492],[610,492],[605,555],[625,556],[613,492],[614,492],[580,526],[615,492],[612,557],[611,519],[627,558],[626,559],[600,475],[616,560],[604,477],[703,519],[504,526],[704,561],[506,562],[505,12],[705,563],[707,564],[708,565],[709,566],[710,526],[711,533],[713,533],[714,526],[715,526],[716,567],[712,568],[717,569],[507,484],[720,12],[721,570],[436,571],[432,12],[433,12],[435,572],[437,573],[434,13],[439,574],[440,12],[441,12],[442,575],[443,12],[444,13],[445,12],[446,13],[447,12],[449,13],[450,13],[451,12],[452,13],[453,13],[454,576],[455,577],[438,13],[448,575],[587,578],[588,579],[722,580],[723,581],[724,12],[725,582],[726,583],[602,584],[727,13],[728,585],[748,586],[749,587],[603,487],[750,588],[591,589],[751,590],[752,533],[753,591],[754,592],[624,593],[474,475],[628,594],[496,595],[606,596],[585,519],[578,597],[617,598],[618,12],[479,599],[619,475],[620,600],[493,601],[480,13],[481,13],[482,13],[483,13],[484,13],[682,602],[485,13],[486,13],[487,13],[488,13],[489,13],[490,13],[491,13],[492,603],[760,604],[431,605],[756,606],[757,477],[758,13],[759,607],[462,13],[388,13],[402,608],[397,609],[396,610],[406,611],[398,612],[392,613],[401,614],[393,13],[410,615],[404,616],[394,612],[403,608],[407,617],[405,608],[400,618],[395,619],[409,620],[390,621],[391,622],[535,13],[60,13],[61,13],[12,13],[13,13],[15,13],[14,13],[2,13],[16,13],[17,13],[18,13],[19,13],[20,13],[21,13],[22,13],[23,13],[3,13],[4,13],[27,13],[24,13],[25,13],[26,13],[28,13],[29,13],[30,13],[5,13],[31,13],[32,13],[33,13],[34,13],[6,13],[38,13],[35,13],[36,13],[37,13],[39,13],[7,13],[40,13],[45,13],[46,13],[41,13],[42,13],[43,13],[44,13],[8,13],[50,13],[47,13],[48,13],[49,13],[51,13],[9,13],[52,13],[53,13],[54,13],[57,13],[55,13],[56,13],[58,13],[10,13],[1,13],[11,13],[59,13],[533,623],[516,624],[515,216],[519,625],[517,626],[518,627],[529,628],[528,216],[532,629],[531,630],[530,13],[761,13]],"exportedModulesMap":[[1225,1],[1226,2],[1227,3],[1228,4],[1229,5],[1223,6],[1230,7],[1224,8],[411,9],[412,10],[413,10],[414,10],[415,10],[417,11],[416,12],[1216,13],[1221,14],[1222,15],[1220,16],[1212,17],[1213,18],[1210,19],[1211,20],[1218,21],[1208,22],[1209,23],[1217,13],[1219,24],[1214,25],[1215,26],[387,27],[341,28],[1082,29],[1084,30],[1088,31],[1085,32],[1087,33],[1086,31],[1112,34],[1090,35],[1091,35],[1092,35],[1093,12],[1094,35],[1095,35],[1096,35],[1097,35],[1089,36],[1098,35],[1099,35],[1100,13],[1101,35],[1102,12],[1103,35],[1104,35],[1105,35],[1110,37],[1106,35],[1107,38],[1111,39],[1108,34],[1109,35],[1081,13],[1083,13],[294,13],[746,40],[742,41],[729,13],[745,42],[738,43],[736,44],[735,44],[734,43],[731,44],[732,43],[740,45],[733,44],[730,43],[737,44],[743,46],[744,47],[739,48],[741,44],[809,49],[816,13],[810,50],[818,51],[800,52],[805,53],[803,54],[808,13],[813,55],[802,13],[814,56],[806,13],[804,13],[812,57],[817,53],[807,58],[801,59],[815,60],[811,61],[795,13],[771,13],[774,62],[775,63],[776,64],[793,65],[796,66],[779,67],[770,13],[794,13],[778,68],[786,69],[792,70],[773,13],[772,13],[784,71],[785,72],[791,67],[787,67],[790,73],[777,74],[782,75],[783,76],[789,77],[788,65],[780,65],[781,13],[1053,78],[1040,79],[1046,80],[1018,81],[1047,82],[1048,83],[1051,84],[767,85],[768,86],[765,87],[766,88],[764,89],[769,90],[1032,91],[1031,92],[1030,93],[1029,94],[1034,95],[1033,92],[1036,96],[1035,97],[1038,98],[1037,94],[1028,99],[1039,100],[762,13],[797,52],[798,52],[820,101],[799,102],[819,103],[1025,104],[1024,13],[1050,13],[1049,13],[1052,105],[1026,106],[1027,107],[1016,108],[1017,109],[1019,110],[1020,111],[1015,13],[1023,112],[1021,113],[1022,114],[821,13],[824,115],[822,80],[823,116],[1042,13],[1043,117],[1044,118],[1014,99],[1041,119],[1045,120],[1072,121],[1054,122],[1063,123],[1064,124],[1065,125],[1066,126],[1069,127],[1067,126],[1068,126],[1060,128],[1062,129],[1055,13],[1061,130],[1070,122],[1071,131],[1207,132],[1132,133],[1133,134],[1134,135],[1135,136],[1138,137],[1139,133],[1140,138],[1141,133],[1142,139],[1143,139],[1144,133],[1145,140],[1146,139],[1147,139],[1148,133],[1149,133],[1150,133],[1151,141],[1155,122],[1156,122],[1154,142],[1157,143],[1158,133],[1159,144],[1163,145],[1160,140],[1161,140],[1164,139],[1162,140],[1165,146],[1167,139],[1168,139],[1169,139],[1166,139],[1170,147],[1136,139],[1137,148],[1171,139],[1172,149],[1174,133],[1173,136],[1175,150],[1176,136],[1177,122],[1178,133],[1179,151],[1183,122],[1184,152],[1181,139],[1180,139],[1182,153],[1187,133],[1188,154],[1153,155],[1152,13],[1189,156],[1185,133],[1186,157],[1190,136],[1191,158],[1192,159],[1193,133],[1194,160],[1195,161],[1073,122],[1074,162],[1075,163],[1121,139],[1122,164],[1123,164],[1124,165],[1113,166],[1080,167],[1114,168],[1117,169],[1118,170],[1119,171],[1120,172],[1076,12],[1077,173],[1078,174],[1079,175],[1125,176],[1115,122],[1116,177],[1130,178],[1126,13],[1127,99],[1129,126],[1128,13],[1131,179],[1206,180],[1199,181],[1205,126],[1200,13],[1201,13],[1204,13],[1203,13],[1202,13],[1198,13],[1196,12],[1197,182],[386,183],[385,184],[377,185],[378,186],[374,187],[376,188],[380,189],[370,13],[371,190],[373,191],[375,191],[379,13],[372,192],[343,193],[344,194],[342,13],[346,195],[351,196],[349,197],[350,198],[348,199],[352,200],[347,195],[345,13],[360,201],[361,202],[359,203],[362,204],[354,13],[357,205],[355,13],[356,13],[368,206],[369,207],[363,13],[365,208],[364,13],[367,209],[366,210],[383,211],[384,212],[382,213],[381,214],[1232,215],[509,216],[399,217],[1233,13],[543,216],[1231,13],[73,218],[74,218],[76,219],[77,220],[78,221],[79,222],[80,223],[81,224],[82,225],[83,226],[84,227],[85,228],[86,228],[88,229],[87,230],[89,229],[90,231],[91,232],[75,233],[125,13],[92,234],[93,235],[94,236],[126,237],[95,238],[96,239],[97,240],[98,241],[99,242],[100,243],[101,244],[102,245],[103,246],[104,247],[105,247],[106,248],[107,249],[109,250],[108,251],[110,252],[111,253],[112,254],[113,255],[114,256],[115,257],[116,258],[117,259],[118,260],[119,261],[120,262],[121,263],[122,264],[123,265],[124,266],[358,13],[65,13],[132,267],[130,12],[131,268],[129,269],[63,13],[66,270],[218,12],[128,271],[1234,13],[508,13],[353,272],[389,13],[64,13],[478,273],[477,274],[476,13],[408,275],[520,276],[514,277],[1059,278],[1056,13],[1057,279],[1058,280],[763,281],[571,282],[545,283],[546,283],[547,283],[548,283],[549,283],[550,283],[551,283],[552,283],[553,283],[554,283],[555,283],[569,284],[556,283],[557,283],[558,283],[559,283],[560,283],[561,283],[562,283],[563,283],[565,283],[566,283],[564,283],[567,283],[568,283],[570,283],[544,285],[755,13],[72,286],[297,287],[301,288],[303,289],[152,290],[166,291],[268,292],[197,13],[271,293],[233,294],[241,295],[269,296],[153,297],[196,13],[198,298],[270,299],[173,300],[154,301],[177,300],[167,300],[137,300],[224,302],[225,303],[142,13],[221,304],[226,133],[312,305],[219,133],[313,306],[203,13],[222,307],[325,308],[324,309],[228,133],[323,13],[321,13],[322,310],[223,12],[210,311],[211,312],[220,313],[236,314],[237,315],[227,316],[205,317],[206,318],[316,319],[319,320],[184,321],[183,322],[182,323],[328,12],[181,324],[158,13],[331,13],[334,13],[333,12],[335,325],[133,13],[262,13],[165,326],[135,327],[285,13],[286,13],[288,13],[291,328],[287,13],[289,329],[290,329],[151,13],[164,13],[296,330],[304,331],[308,332],[147,333],[213,334],[212,13],[204,317],[232,335],[230,336],[229,13],[231,13],[235,337],[208,338],[146,339],[171,340],[259,341],[138,275],[145,342],[134,292],[273,343],[283,344],[272,13],[282,345],[172,13],[156,346],[250,347],[249,13],[256,348],[258,349],[251,350],[255,351],[257,348],[254,350],[253,348],[252,350],[193,352],[178,352],[244,353],[179,353],[140,354],[139,13],[248,355],[247,356],[246,357],[245,358],[141,359],[217,360],[234,361],[216,362],[240,363],[242,364],[239,362],[174,359],[127,13],[260,365],[199,366],[281,367],[202,368],[276,369],[144,13],[277,370],[279,371],[280,372],[263,13],[275,275],[175,373],[261,374],[284,375],[148,13],[150,13],[155,376],[243,377],[143,378],[149,13],[201,379],[200,380],[157,381],[209,382],[207,383],[159,384],[161,385],[332,13],[160,386],[162,387],[299,13],[298,13],[300,13],[330,13],[163,388],[215,12],[71,13],[238,389],[185,13],[195,390],[306,12],[315,391],[192,12],[310,133],[191,392],[293,393],[190,391],[136,13],[317,394],[188,12],[189,12],[180,13],[194,13],[187,395],[186,396],[176,397],[170,316],[278,13],[169,398],[168,13],[302,13],[214,12],[295,399],[62,13],[70,400],[67,12],[68,13],[69,13],[274,261],[267,401],[266,13],[265,402],[264,13],[305,403],[307,404],[309,405],[311,406],[314,407],[340,408],[318,408],[339,409],[320,410],[326,411],[327,412],[329,413],[336,414],[338,13],[337,415],[292,416],[541,417],[538,418],[539,13],[540,13],[536,13],[537,419],[575,420],[542,421],[510,422],[574,423],[534,424],[527,13],[418,425],[419,426],[420,426],[421,426],[429,427],[422,426],[423,426],[424,426],[425,426],[426,426],[427,426],[428,426],[747,428],[706,12],[573,429],[572,430],[1013,431],[986,13],[964,432],[962,432],[877,433],[828,434],[827,435],[963,436],[948,437],[870,438],[826,439],[825,440],[1012,435],[977,441],[976,441],[888,442],[984,433],[985,433],[987,443],[988,433],[989,440],[990,433],[961,433],[991,433],[992,444],[993,433],[994,441],[995,445],[996,433],[997,433],[998,433],[999,433],[1000,441],[1001,433],[1002,433],[1003,433],[1004,433],[1005,446],[1006,433],[1007,433],[1008,433],[1009,433],[1010,433],[830,440],[831,440],[832,440],[833,440],[834,440],[835,440],[836,440],[837,433],[839,447],[840,440],[838,440],[841,440],[842,440],[843,440],[844,440],[845,440],[846,440],[847,433],[848,440],[849,440],[850,440],[851,440],[852,440],[853,433],[854,440],[855,440],[856,440],[857,440],[858,440],[859,440],[860,433],[862,448],[861,440],[863,440],[864,440],[865,440],[866,440],[867,446],[868,433],[869,433],[883,449],[871,450],[872,440],[873,440],[874,433],[875,440],[876,440],[878,451],[879,440],[880,440],[881,440],[882,440],[884,440],[885,440],[886,440],[887,440],[889,452],[890,440],[891,440],[892,440],[893,433],[894,440],[895,453],[896,453],[897,453],[898,433],[899,440],[900,440],[901,440],[906,440],[902,440],[903,433],[904,440],[905,433],[907,440],[908,440],[909,440],[910,440],[911,440],[912,440],[913,433],[914,440],[915,440],[916,440],[917,440],[918,440],[919,440],[920,440],[921,440],[922,440],[923,440],[924,440],[925,440],[926,440],[927,440],[928,440],[929,440],[930,454],[931,440],[932,440],[933,440],[934,440],[935,440],[936,440],[937,433],[938,433],[939,433],[940,433],[941,433],[942,440],[943,440],[944,440],[945,440],[1011,433],[947,455],[970,456],[965,456],[956,457],[954,458],[968,459],[957,460],[971,461],[966,462],[967,459],[969,463],[955,13],[960,13],[952,464],[953,465],[950,13],[951,466],[949,440],[958,467],[829,468],[978,13],[979,13],[980,13],[981,13],[982,13],[983,13],[972,13],[975,441],[974,13],[973,469],[946,470],[959,471],[640,472],[630,473],[641,474],[631,475],[633,476],[634,477],[639,477],[642,478],[632,479],[596,13],[594,12],[595,13],[598,480],[599,481],[597,13],[497,475],[500,482],[647,483],[461,484],[586,485],[648,477],[643,475],[649,486],[650,487],[651,488],[660,489],[653,490],[674,491],[661,475],[662,475],[663,475],[664,475],[665,475],[666,492],[667,475],[668,13],[669,475],[670,475],[671,475],[672,475],[673,475],[676,493],[675,477],[655,494],[677,495],[678,496],[601,477],[654,497],[680,498],[679,499],[656,500],[458,501],[457,12],[459,502],[460,503],[681,504],[456,477],[494,505],[495,506],[683,507],[475,13],[684,508],[593,509],[685,510],[652,12],[686,511],[589,12],[687,512],[498,13],[688,513],[590,13],[689,514],[499,13],[657,515],[501,516],[690,517],[635,12],[636,475],[637,475],[584,477],[638,518],[691,519],[692,520],[658,12],[659,521],[693,522],[644,12],[645,13],[430,13],[646,523],[718,524],[719,525],[502,526],[695,527],[503,526],[579,528],[581,12],[696,529],[582,530],[697,531],[583,526],[698,492],[473,532],[629,533],[463,534],[464,535],[465,534],[623,536],[466,537],[467,534],[468,534],[469,538],[470,539],[471,536],[472,526],[694,527],[699,540],[511,541],[577,542],[512,13],[521,543],[523,544],[522,545],[524,546],[526,547],[525,546],[576,548],[513,549],[622,550],[621,551],[700,528],[701,552],[702,553],[607,13],[608,12],[592,554],[609,492],[610,492],[605,555],[625,556],[613,492],[614,492],[580,526],[615,492],[612,557],[611,519],[627,558],[626,559],[600,475],[616,560],[604,477],[703,519],[504,526],[704,561],[506,562],[505,12],[705,563],[707,564],[708,565],[709,566],[710,526],[711,533],[713,533],[714,526],[715,526],[716,567],[712,568],[717,569],[507,484],[720,12],[721,570],[436,571],[432,12],[433,12],[435,572],[437,573],[434,13],[439,574],[440,12],[441,12],[442,575],[443,12],[444,13],[445,12],[446,13],[447,12],[449,13],[450,13],[451,12],[452,13],[453,13],[454,576],[455,577],[438,13],[448,575],[587,578],[588,579],[722,580],[723,581],[724,12],[725,582],[726,583],[602,584],[727,13],[728,585],[748,586],[749,587],[603,487],[750,588],[591,589],[751,590],[752,533],[753,591],[754,592],[624,593],[474,475],[628,594],[496,595],[606,596],[585,519],[578,597],[617,598],[618,12],[479,599],[619,475],[620,600],[493,601],[480,13],[481,13],[482,13],[483,13],[484,13],[682,602],[485,13],[486,13],[487,13],[488,13],[489,13],[490,13],[491,13],[492,603],[760,604],[431,605],[756,606],[757,477],[758,13],[759,607],[462,13],[388,13],[402,608],[397,609],[396,610],[406,611],[398,612],[392,613],[401,614],[393,13],[410,615],[404,616],[394,612],[403,608],[407,617],[405,608],[400,618],[395,619],[409,620],[390,621],[391,622],[535,13],[60,13],[61,13],[12,13],[13,13],[15,13],[14,13],[2,13],[16,13],[17,13],[18,13],[19,13],[20,13],[21,13],[22,13],[23,13],[3,13],[4,13],[27,13],[24,13],[25,13],[26,13],[28,13],[29,13],[30,13],[5,13],[31,13],[32,13],[33,13],[34,13],[6,13],[38,13],[35,13],[36,13],[37,13],[39,13],[7,13],[40,13],[45,13],[46,13],[41,13],[42,13],[43,13],[44,13],[8,13],[50,13],[47,13],[48,13],[49,13],[51,13],[9,13],[52,13],[53,13],[54,13],[57,13],[55,13],[56,13],[58,13],[10,13],[1,13],[11,13],[59,13],[533,623],[516,624],[515,216],[519,625],[517,626],[518,627],[529,628],[528,216],[532,629],[531,630],[530,13],[761,13]],"semanticDiagnosticsPerFile":[1225,1226,1227,1228,1229,1223,1230,1224,411,412,413,414,415,417,416,1216,1221,1222,1220,1212,1213,1210,1211,1218,1208,1209,1217,1219,1214,1215,387,341,1082,1084,1088,1085,1087,1086,1112,1090,1091,1092,1093,1094,1095,1096,1097,1089,1098,1099,1100,1101,1102,1103,1104,1105,1110,1106,1107,1111,1108,1109,1081,1083,294,746,742,729,745,738,736,735,734,731,732,740,733,730,737,743,744,739,741,809,816,810,818,800,805,803,808,813,802,814,806,804,812,817,807,801,815,811,795,771,774,775,776,793,796,779,770,794,778,786,792,773,772,784,785,791,787,790,777,782,783,789,788,780,781,1053,1040,1046,1018,1047,1048,1051,767,768,765,766,764,769,1032,1031,1030,1029,1034,1033,1036,1035,1038,1037,1028,1039,762,797,798,820,799,819,1025,1024,1050,1049,1052,1026,1027,1016,1017,1019,1020,1015,1023,1021,1022,821,824,822,823,1042,1043,1044,1014,1041,1045,1072,1054,1063,1064,1065,1066,1069,1067,1068,1060,1062,1055,1061,1070,1071,1207,1132,1133,1134,1135,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1155,1156,1154,1157,1158,1159,1163,1160,1161,1164,1162,1165,1167,1168,1169,1166,1170,1136,1137,1171,1172,1174,1173,1175,1176,1177,1178,1179,1183,1184,1181,1180,1182,1187,1188,1153,1152,1189,1185,1186,1190,1191,1192,1193,1194,1195,1073,1074,1075,1121,1122,1123,1124,1113,1080,1114,1117,1118,1119,1120,1076,1077,1078,1079,1125,1115,1116,1130,1126,1127,1129,1128,1131,1206,1199,1205,1200,1201,1204,1203,1202,1198,1196,1197,386,385,377,378,374,376,380,370,371,373,375,379,372,343,344,342,346,351,349,350,348,352,347,345,360,361,359,362,354,357,355,356,368,369,363,365,364,367,366,383,384,382,381,1232,509,399,1233,543,1231,73,74,76,77,78,79,80,81,82,83,84,85,86,88,87,89,90,91,75,125,92,93,94,126,95,96,97,98,99,100,101,102,103,104,105,106,107,109,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,358,65,132,130,131,129,63,66,218,128,1234,508,353,389,64,478,477,476,408,520,514,1059,1056,1057,1058,763,571,545,546,547,548,549,550,551,552,553,554,555,569,556,557,558,559,560,561,562,563,565,566,564,567,568,570,544,755,72,297,301,303,152,166,268,197,271,233,241,269,153,196,198,270,173,154,177,167,137,224,225,142,221,226,312,219,313,203,222,325,324,228,323,321,322,223,210,211,220,236,237,227,205,206,316,319,184,183,182,328,181,158,331,334,333,335,133,262,165,135,285,286,288,291,287,289,290,151,164,296,304,308,147,213,212,204,232,230,229,231,235,208,146,171,259,138,145,134,273,283,272,282,172,156,250,249,256,258,251,255,257,254,253,252,193,178,244,179,140,139,248,247,246,245,141,217,234,216,240,242,239,174,127,260,199,281,202,276,144,277,279,280,263,275,175,261,284,148,150,155,243,143,149,201,200,157,209,207,159,161,332,160,162,299,298,300,330,163,215,71,238,185,195,306,315,192,310,191,293,190,136,317,188,189,180,194,187,186,176,170,278,169,168,302,214,295,62,70,67,68,69,274,267,266,265,264,305,307,309,311,314,340,318,339,320,326,327,329,336,338,337,292,541,538,539,540,536,537,575,542,510,574,534,527,418,419,420,421,429,422,423,424,425,426,427,428,747,706,573,572,1013,986,964,962,877,828,827,963,948,870,826,825,1012,977,976,888,984,985,987,988,989,990,961,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,830,831,832,833,834,835,836,837,839,840,838,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,862,861,863,864,865,866,867,868,869,883,871,872,873,874,875,876,878,879,880,881,882,884,885,886,887,889,890,891,892,893,894,895,896,897,898,899,900,901,906,902,903,904,905,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,1011,947,970,965,956,954,968,957,971,966,967,969,955,960,952,953,950,951,949,958,829,978,979,980,981,982,983,972,975,974,973,946,959,640,630,641,631,633,634,639,642,632,596,594,595,598,599,597,497,500,647,461,586,648,643,649,650,651,660,653,674,661,662,663,664,665,666,667,668,669,670,671,672,673,676,675,655,677,678,601,654,680,679,656,458,457,459,460,681,456,494,495,683,475,684,593,685,652,686,589,687,498,688,590,689,499,657,501,690,635,636,637,584,638,691,692,658,659,693,644,645,430,646,718,719,502,695,503,579,581,696,582,697,583,698,473,629,463,464,465,623,466,467,468,469,470,471,472,694,699,511,577,512,521,523,522,524,526,525,576,513,622,621,700,701,702,607,608,592,609,610,605,625,613,614,580,615,612,611,627,626,600,616,604,703,504,704,506,505,705,707,708,709,710,711,713,714,715,716,712,717,507,720,721,436,432,433,435,437,434,439,440,441,442,443,444,445,446,447,449,450,451,452,453,454,455,438,448,587,588,722,723,724,725,726,602,727,728,748,749,603,750,591,751,752,753,754,624,474,628,496,606,585,578,617,618,479,619,620,493,480,481,482,483,484,682,485,486,487,488,489,490,491,492,760,431,756,757,758,759,462,388,402,397,396,406,398,392,401,393,410,404,394,403,407,405,400,395,409,390,391,535,60,61,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,10,1,11,59,533,516,515,519,517,518,529,528,532,531,530,761],"affectedFilesPendingEmit":[1225,1226,1227,1228,1229,1223,1230,1224,411,412,413,414,415,417,416,1216,1221,1222,1220,1212,1213,1210,1211,1218,1208,1209,1217,1219,1214,1215,387]},"version":"5.1.3"} \ No newline at end of file diff --git a/cache/webpack/client-production/0.pack b/cache/webpack/client-production/0.pack new file mode 100644 index 0000000000000000000000000000000000000000..f78e5890154e67c6370c77c2c6b6e9a1ea78f4aa --- /dev/null +++ b/cache/webpack/client-production/0.pack @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a17e0cce526625384ae146b0df82b2d34090c8f179424e56abf71c3ca797b7d3 +size 128596821 diff --git a/cache/webpack/client-production/1.pack b/cache/webpack/client-production/1.pack new file mode 100644 index 0000000000000000000000000000000000000000..df628f0fb7bde128459d362cef81cc7d1d6a22d2 Binary files /dev/null and b/cache/webpack/client-production/1.pack differ diff --git a/cache/webpack/client-production/index.pack b/cache/webpack/client-production/index.pack new file mode 100644 index 0000000000000000000000000000000000000000..d21cd91575dd499111be5b8b173d565f230d4e93 --- /dev/null +++ b/cache/webpack/client-production/index.pack @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1188e17b910411777612f7dce18117988913524bba11047151ab5a672fac5221 +size 18847398 diff --git a/cache/webpack/edge-server-production/0.pack b/cache/webpack/edge-server-production/0.pack new file mode 100644 index 0000000000000000000000000000000000000000..ffbca102afead6f329f828ea04dea616b188cd1d --- /dev/null +++ b/cache/webpack/edge-server-production/0.pack @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb90ac79a4a4deb5f229a13ce757a2340ec2e9633603e8ec5fadf5b5c3850ed9 +size 11143384 diff --git a/cache/webpack/edge-server-production/index.pack b/cache/webpack/edge-server-production/index.pack new file mode 100644 index 0000000000000000000000000000000000000000..d1c33cf4ef48ec15836e8478e8b3dff3085978f9 Binary files /dev/null and b/cache/webpack/edge-server-production/index.pack differ diff --git a/cache/webpack/server-production/0.pack b/cache/webpack/server-production/0.pack new file mode 100644 index 0000000000000000000000000000000000000000..a0dd5eabd06ad07643861f7fbc15377d613d88fc --- /dev/null +++ b/cache/webpack/server-production/0.pack @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3760148cf2ad880327ffe0548cf882ebee8817c9ad87ca5ae329830368761c80 +size 151578944 diff --git a/cache/webpack/server-production/index.pack b/cache/webpack/server-production/index.pack new file mode 100644 index 0000000000000000000000000000000000000000..3b269f07c399408d87c35c930377be0b165cfb18 --- /dev/null +++ b/cache/webpack/server-production/index.pack @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0ec37ad8b7f68b822ec4d045c2bc04e3570031e66c0a7fdb788e487327dcb9f +size 17144778 diff --git a/export-marker.json b/export-marker.json new file mode 100644 index 0000000000000000000000000000000000000000..07328d64eb76729a9daca59d88c05d74885b9d0c --- /dev/null +++ b/export-marker.json @@ -0,0 +1 @@ +{"version":1,"hasExportPathMap":false,"exportTrailingSlash":false,"isNextImageImported":false} \ No newline at end of file diff --git a/images-manifest.json b/images-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..3be04678df02be4fa70104ff7eb831f77a9c5352 --- /dev/null +++ b/images-manifest.json @@ -0,0 +1 @@ +{"version":1,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"inline","remotePatterns":[],"unoptimized":false,"sizes":[640,750,828,1080,1200,1920,2048,3840,16,32,48,64,96,128,256,384]}} \ No newline at end of file diff --git a/next-minimal-server.js.nft.json b/next-minimal-server.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..a9c5722d15922c8b93f7e32dc9ff0d9b204774b9 --- /dev/null +++ b/next-minimal-server.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/react/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/compiled/next-server/server.runtime.prod.js","../node_modules/next/package.json","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/node-html-parser/package.json","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/compiled/node-html-parser/index.js","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/client/components/async-local-storage.js","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/next/dist/compiled/debug/package.json","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/html-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/loadable.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/future/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/future/route-modules/pages/module.compiled.js"]} \ No newline at end of file diff --git a/next-server.js.nft.json b/next-server.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..fcd15bfb79a25d504790c5be6ef66472b2811a18 --- /dev/null +++ b/next-server.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/react/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/server/next-server.js","../node_modules/next/package.json","../node_modules/next/dist/server/setup-http-agent-env.js","../node_modules/next/dist/server/pipe-readable.js","../node_modules/next/dist/server/serve-static.js","../node_modules/next/dist/server/load-manifest.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/lib/format-dynamic-import-path.js","../node_modules/next/dist/lib/generate-interception-routes-rewrites.js","../node_modules/next/dist/lib/interop-default.js","../node_modules/next/dist/server/image-optimizer.js","../node_modules/next/dist/server/node-polyfill-crypto.js","../node_modules/next/dist/server/send-payload.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/server/require-hook.js","../node_modules/next/dist/server/base-server.js","../node_modules/next/dist/server/node-environment.js","../node_modules/next/dist/server/require.js","../node_modules/next/dist/server/request-meta.js","../node_modules/next/dist/server/load-components.js","../node_modules/next/dist/lib/format-server-error.js","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/lib/find-pages-dir.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/server/base-http/node.js","../node_modules/next/dist/shared/lib/utils.js","../node_modules/next/dist/server/lib/mock-request.js","../node_modules/next/dist/server/lib/node-fs-methods.js","../node_modules/next/dist/build/output/log.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/server/future/route-matches/pages-api-route-match.js","../node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/querystring.js","../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../node_modules/next/dist/server/future/helpers/module-loader/route-module-loader.js","../node_modules/next/dist/server/future/route-modules/pages/module.render.js","../node_modules/next/dist/server/future/route-modules/app-page/module.render.js","../node_modules/next/dist/server/web/spec-extension/adapters/next-request.js","../node_modules/next/dist/server/response-cache/index.js","../node_modules/next/dist/server/api-utils/index.js","../node_modules/react/jsx-runtime.js","../node_modules/next/dist/client/components/request-async-storage.external.js","../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../node_modules/next/dist/client/components/action-async-storage.external.js","../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../node_modules/next/dist/server/lib/incremental-cache/index.js","../node_modules/next/dist/server/web/sandbox/index.js","../node_modules/next/dist/server/client-component-renderer-logger.js","../node_modules/@next/env/package.json","../node_modules/next/dist/lib/detached-promise.js","../node_modules/next/dist/experimental/testmode/server.js","../node_modules/next/dist/lib/wait.js","../node_modules/next/dist/server/lib/etag.js","../node_modules/next/dist/server/lib/revalidate.js","../node_modules/next/dist/shared/lib/image-blur-svg.js","../node_modules/next/dist/shared/lib/match-remote-pattern.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/server/app-render/action-utils.js","../node_modules/next/dist/server/app-render/encryption-utils.js","../node_modules/next/dist/server/base-http/index.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../node_modules/next/dist/server/future/helpers/interception-routes.js","../node_modules/next/dist/server/lib/squoosh/main.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/@next/env/dist/index.js","../node_modules/next/dist/server/server-utils.js","../node_modules/next/dist/lib/redirect-status.js","../node_modules/next/dist/server/render-result.js","../node_modules/next/dist/server/send-response.js","../node_modules/next/dist/server/utils.js","../node_modules/next/dist/server/internal-utils.js","../node_modules/next/dist/lib/is-edge-runtime.js","../node_modules/next/dist/lib/scheduler.js","../node_modules/next/dist/lib/batcher.js","../node_modules/next/dist/server/lib/format-hostname.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/shared/lib/get-hostname.js","../node_modules/next/dist/server/lib/server-action-request-meta.js","../node_modules/next/dist/server/lib/match-next-data-pathname.js","../node_modules/next/dist/server/app-render/strip-flight-headers.js","../node_modules/next/dist/server/future/route-kind.js","../node_modules/next/dist/shared/lib/escape-regexp.js","../node_modules/next/dist/shared/lib/segment.js","../node_modules/next/dist/server/response-cache/utils.js","../node_modules/next/dist/server/response-cache/types.js","../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../node_modules/next/dist/server/future/helpers/i18n-provider.js","../node_modules/next/dist/server/future/route-matcher-providers/app-page-route-matcher-provider.js","../node_modules/next/dist/server/future/route-matcher-managers/default-route-matcher-manager.js","../node_modules/next/dist/server/future/route-matcher-providers/app-route-route-matcher-provider.js","../node_modules/next/dist/client/components/request-async-storage-instance.js","../node_modules/next/dist/client/components/action-async-storage-instance.js","../node_modules/next/dist/server/future/route-matcher-providers/pages-route-matcher-provider.js","../node_modules/next/dist/server/future/normalizers/locale-route-normalizer.js","../node_modules/next/dist/server/future/route-modules/checks.js","../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../node_modules/next/dist/server/future/route-matcher-providers/pages-api-route-matcher-provider.js","../node_modules/next/dist/server/api-utils/node/try-get-preview-data.js","../node_modules/next/dist/server/web/spec-extension/request.js","../node_modules/next/dist/compiled/send/package.json","../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js","../node_modules/next/dist/server/future/normalizers/request/action.js","../node_modules/next/dist/server/future/normalizers/request/rsc.js","../node_modules/next/dist/server/future/normalizers/request/next-data.js","../node_modules/next/dist/server/future/normalizers/request/prefetch-rsc.js","../node_modules/next/dist/server/future/normalizers/request/postponed.js","../node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js","../node_modules/next/dist/server/future/route-modules/helpers/response-handlers.js","../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../node_modules/next/dist/server/future/route-modules/pages/module.compiled.js","../node_modules/next/dist/server/future/route-modules/app-page/module.compiled.js","../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../node_modules/next/dist/server/future/helpers/module-loader/node-module-loader.js","../node_modules/next/dist/server/web/spec-extension/adapters/headers.js","../node_modules/next/dist/server/future/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js","../node_modules/next/dist/compiled/image-size/package.json","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/get-orientation/package.json","../node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js","../node_modules/next/dist/server/lib/incremental-cache/fetch-cache.js","../node_modules/next/dist/server/lib/server-ipc/request-utils.js","../node_modules/next/dist/shared/lib/isomorphic/path.js","../node_modules/next/dist/server/web/sandbox/context.js","../node_modules/next/dist/server/web/sandbox/sandbox.js","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/node-html-parser/package.json","../node_modules/react-dom/package.json","../node_modules/next/dist/compiled/is-animated/package.json","../node_modules/next/dist/compiled/content-disposition/package.json","../node_modules/next/dist/compiled/fresh/package.json","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/experimental/testmode/fetch.js","../node_modules/next/dist/compiled/cookie/package.json","../node_modules/next/dist/experimental/testmode/context.js","../node_modules/next/dist/experimental/testmode/httpget.js","../node_modules/next/dist/shared/lib/router/utils/index.js","../node_modules/next/dist/compiled/@hapi/accept/package.json","../node_modules/next/dist/compiled/send/index.js","../node_modules/next/dist/compiled/path-to-regexp/index.js","../node_modules/next/dist/server/api-utils/get-cookie-parser.js","../node_modules/react-dom/server.browser.js","../node_modules/next/dist/client/components/redirect-status-code.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/next/dist/compiled/get-orientation/index.js","../node_modules/next/dist/compiled/image-size/index.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/compiled/node-html-parser/index.js","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/next/dist/compiled/is-animated/index.js","../node_modules/next/dist/compiled/content-disposition/index.js","../node_modules/next/dist/compiled/fresh/index.js","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/server/stream-utils/node-web-streams-helper.js","../node_modules/next/dist/compiled/cookie/index.js","../node_modules/next/dist/server/lib/is-ipv6.js","../node_modules/next/dist/compiled/@hapi/accept/index.js","../node_modules/next/dist/client/components/async-local-storage.js","../node_modules/next/dist/lib/is-api-route.js","../node_modules/next/dist/lib/is-app-page-route.js","../node_modules/next/dist/server/crypto-utils.js","../node_modules/next/dist/lib/is-app-route-route.js","../node_modules/next/dist/compiled/picomatch/package.json","../node_modules/next/dist/shared/lib/router/utils/path-match.js","../node_modules/next/dist/server/web/error.js","../node_modules/next/dist/lib/pick.js","../node_modules/next/dist/server/web/next-url.js","../node_modules/next/dist/server/future/route-matchers/pages-route-matcher.js","../node_modules/next/dist/server/future/route-matcher-providers/manifest-route-matcher-provider.js","../node_modules/next/dist/server/future/route-matchers/locale-route-matcher.js","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/server/future/route-matchers/app-route-route-matcher.js","../node_modules/next/dist/server/future/route-matchers/app-page-route-matcher.js","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/server/future/route-matchers/pages-api-route-matcher.js","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../node_modules/next/dist/server/web/spec-extension/cookies.js","../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../node_modules/next/dist/server/future/normalizers/request/suffix.js","../node_modules/next/dist/server/future/normalizers/request/prefix.js","../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js","../node_modules/next/dist/server/web/sandbox/resource-managers.js","../node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js","../node_modules/next/dist/server/lib/server-ipc/invoke-request.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware.js","../node_modules/next/dist/server/web/spec-extension/adapters/reflect.js","../node_modules/next/dist/compiled/picomatch/index.js","../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../node_modules/next/dist/server/future/normalizers/built/pages/index.js","../node_modules/next/dist/server/future/normalizers/built/app/index.js","../node_modules/next/dist/server/stream-utils/uint8array-helpers.js","../node_modules/next/dist/server/stream-utils/encodedTags.js","../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js","../node_modules/next/dist/compiled/path-browserify/package.json","../node_modules/next/dist/compiled/edge-runtime/package.json","../node_modules/next/dist/server/future/route-modules/app-page/module.js","../node_modules/next/dist/server/future/route-modules/pages/module.js","../node_modules/next/dist/compiled/debug/package.json","../node_modules/next/dist/server/future/route-matchers/route-matcher.js","../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../node_modules/next/dist/server/future/route-matcher-providers/helpers/cached-route-matcher-provider.js","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json","../node_modules/next/dist/compiled/path-browserify/index.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/compiled/edge-runtime/index.js","../node_modules/next/dist/server/lib/server-ipc/utils.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parseStack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/launchEditor.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/nodeStackFrames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/getRawSourceMap.js","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/server/render.js","../node_modules/next/dist/server/future/normalizers/built/app/app-filename-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/pages/pages-pathname-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/app/app-bundle-path-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/app/app-pathname-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/pages/pages-page-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/pages/pages-filename-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/pages/pages-bundle-path-normalizer.js","../node_modules/next/dist/server/future/normalizers/built/app/app-page-normalizer.js","../node_modules/next/dist/server/app-render/app-render.js","../node_modules/next/dist/server/future/route-modules/route-module.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/package.json","../node_modules/next/dist/server/future/route-modules/app-page/vendored/rsc/entrypoints.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/entrypoints.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/next/dist/server/post-process.js","../node_modules/next/dist/lib/is-serializable-props.js","../node_modules/next/dist/shared/lib/loadable.shared-runtime.js","../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","../node_modules/next/dist/shared/lib/head.js","../node_modules/next/dist/shared/lib/amp-mode.js","../node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js","../node_modules/next/dist/shared/lib/html-context.shared-runtime.js","../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js","../node_modules/next/dist/shared/lib/router-context.shared-runtime.js","../node_modules/next/dist/shared/lib/amp-context.shared-runtime.js","../node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js","../node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js","../node_modules/next/dist/lib/page-types.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/index.js","../node_modules/next/dist/shared/lib/router/adapters.js","../node_modules/next/dist/server/async-storage/request-async-storage-wrapper.js","../node_modules/next/dist/server/lib/patch-fetch.js","../node_modules/next/dist/server/app-render/get-segment-param.js","../node_modules/next/dist/client/components/redirect.js","../node_modules/next/dist/server/app-render/required-scripts.js","../node_modules/next/dist/server/app-render/flight-render-result.js","../node_modules/next/dist/server/app-render/get-script-nonce-from-header.js","../node_modules/next/dist/server/app-render/get-asset-query-string.js","../node_modules/next/dist/server/app-render/create-error-handler.js","../node_modules/next/dist/server/async-storage/static-generation-async-storage-wrapper.js","../node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js","../node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js","../node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js","../node_modules/next/dist/server/app-render/server-inserted-html.js","../node_modules/next/dist/server/app-render/validate-url.js","../node_modules/next/dist/server/app-render/create-component-tree.js","../node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js","../node_modules/next/dist/server/app-render/action-handler.js","../node_modules/next/dist/client/components/not-found.js","../node_modules/next/dist/server/app-render/make-get-server-inserted-html.js","../node_modules/next/dist/server/app-render/dynamic-rendering.js","../node_modules/next/dist/server/app-render/use-flight-response.js","../node_modules/next/dist/client/components/match-segments.js","../node_modules/next/dist/lib/metadata/metadata.js","../node_modules/next/dist/client/components/hooks-server-context.js","../node_modules/next/dist/client/components/dev-root-not-found-boundary.js","../node_modules/next/dist/client/components/static-generation-bailout.js","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/server/future/normalizers/prefixing-normalizer.js","../node_modules/next/dist/server/future/normalizers/normalizers.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/getSourceMapUrl.js","../node_modules/next/dist/server/future/normalizers/underscore-normalizer.js","../node_modules/next/dist/server/future/normalizers/absolute-filename-normalizer.js","../node_modules/next/dist/server/future/normalizers/wrap-normalizer-fn.js","../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../node_modules/next/dist/server/app-render/static/static-renderer.js","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/compiled/strip-ansi/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/react-is/package.json","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/server/optimize-amp.js","../node_modules/next/dist/lib/non-nullable.js","../node_modules/next/dist/compiled/nanoid/package.json","../node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js","../node_modules/react/jsx-dev-runtime.js","../node_modules/next/dist/shared/lib/image-config.js","../node_modules/next/dist/shared/lib/side-effect.js","../node_modules/next/dist/compiled/strip-ansi/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/next/dist/compiled/react-is/index.js","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/shared/lib/utils/warn-once.js","../node_modules/next/dist/compiled/nanoid/index.cjs","../node_modules/next/dist/server/htmlescape.js","../node_modules/next/dist/lib/client-reference.js","../node_modules/next/dist/lib/url.js","../node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js","../node_modules/next/dist/server/app-render/has-loading-component-in-tree.js","../node_modules/next/dist/server/app-render/parse-loader-tree.js","../node_modules/next/dist/server/app-render/get-layer-assets.js","../node_modules/next/dist/server/app-render/get-preloadable-fonts.js","../node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js","../node_modules/next/dist/client/components/parallel-route-default.js","../node_modules/next/dist/server/app-render/interop-default.js","../node_modules/next/dist/server/app-render/react-server.node.js","../node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js","../node_modules/next/dist/server/app-render/csrf-protection.js","../node_modules/next/dist/server/lib/app-dir-module.js","../node_modules/next/dist/shared/lib/encode-uri-path.js","../node_modules/next/dist/server/async-storage/draft-mode-provider.js","../node_modules/next/dist/server/app-render/types.js","../node_modules/next/dist/export/helpers/is-dynamic-usage-error.js","../node_modules/next/dist/client/components/not-found-boundary.js","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/next/dist/lib/metadata/default-metadata.js","../node_modules/next/dist/lib/metadata/resolve-metadata.js","../node_modules/react-dom/index.js","../node_modules/next/dist/lib/metadata/generate/meta.js","../node_modules/next/dist/lib/metadata/generate/basic.js","../node_modules/next/dist/lib/metadata/generate/icons.js","../node_modules/next/dist/lib/metadata/generate/alternate.js","../node_modules/busboy/package.json","../node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js","../node_modules/next/dist/lib/metadata/generate/opengraph.js","../node_modules/@swc/helpers/_/_interop_require_wildcard/package.json","../node_modules/react/cjs/react-jsx-dev-runtime.production.min.js","../node_modules/busboy/lib/index.js","../node_modules/next/dist/compiled/bytes/package.json","../node_modules/next/dist/compiled/string-hash/package.json","../node_modules/next/dist/compiled/superstruct/package.json","../node_modules/next/dist/compiled/react-is/cjs/react-is.production.min.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/next/dist/compiled/string-hash/index.js","../node_modules/next/dist/compiled/bytes/index.js","../node_modules/next/dist/client/components/navigation.js","../node_modules/next/dist/export/helpers/is-navigation-signal-error.js","../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","../node_modules/next/dist/lib/metadata/clone-metadata.js","../node_modules/next/dist/compiled/superstruct/index.cjs","../node_modules/next/dist/lib/metadata/resolvers/resolve-title.js","../node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js","../node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js","../node_modules/next/dist/lib/metadata/generate/utils.js","../node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js","../node_modules/next/dist/lib/metadata/constants.js","../node_modules/busboy/lib/utils.js","../node_modules/next/dist/lib/metadata/get-metadata-route.js","../node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js","../node_modules/busboy/lib/types/multipart.js","../node_modules/busboy/lib/types/urlencoded.js","../node_modules/scheduler/package.json","../node_modules/next/dist/client/components/navigation.react-server.js","../node_modules/next/dist/client/components/bailout-to-client-rendering.js","../node_modules/next/dist/lib/metadata/is-metadata-route.js","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/shared/lib/hash.js","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/lib/metadata/resolvers/resolve-url.js","../node_modules/streamsearch/package.json","../node_modules/scheduler/index.js","../node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/streamsearch/lib/sbmh.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/cjs/scheduler.development.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/core.js","../node_modules/caniuse-lite/package.json","../node_modules/next/dist/compiled/babel/types.js","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/html-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/loadable.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/server-inserted-html.js"]} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..7156107e3aec28c4f7cea055e4cd67b6cc1e828c --- /dev/null +++ b/package.json @@ -0,0 +1 @@ +{"type": "commonjs"} \ No newline at end of file diff --git a/prerender-manifest.js b/prerender-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..65cf0c1de753931bf2a9ff083ad4f69be843c0a5 --- /dev/null +++ b/prerender-manifest.js @@ -0,0 +1 @@ +self.__PRERENDER_MANIFEST="{\"version\":4,\"routes\":{\"/favicon.ico\":{\"initialHeaders\":{\"cache-control\":\"public, max-age=0, must-revalidate\",\"content-type\":\"image/x-icon\",\"x-next-cache-tags\":\"_N_T_/layout,_N_T_/favicon.ico/layout,_N_T_/favicon.ico/route,_N_T_/favicon.ico\"},\"experimentalBypassFor\":[{\"type\":\"header\",\"key\":\"Next-Action\"},{\"type\":\"header\",\"key\":\"content-type\",\"value\":\"multipart/form-data;.*\"}],\"initialRevalidateSeconds\":false,\"srcRoute\":\"/favicon.ico\",\"dataRoute\":null},\"/login\":{\"experimentalBypassFor\":[{\"type\":\"header\",\"key\":\"Next-Action\"},{\"type\":\"header\",\"key\":\"content-type\",\"value\":\"multipart/form-data;.*\"}],\"initialRevalidateSeconds\":false,\"srcRoute\":\"/login\",\"dataRoute\":\"/login.rsc\"}},\"dynamicRoutes\":{},\"notFoundRoutes\":[],\"preview\":{\"previewModeId\":\"process.env.__NEXT_PREVIEW_MODE_ID\",\"previewModeSigningKey\":\"process.env.__NEXT_PREVIEW_MODE_SIGNING_KEY\",\"previewModeEncryptionKey\":\"process.env.__NEXT_PREVIEW_MODE_ENCRYPTION_KEY\"}}" \ No newline at end of file diff --git a/prerender-manifest.json b/prerender-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..8f11274f25322a08b18ede926efcaa8ef6fe2200 --- /dev/null +++ b/prerender-manifest.json @@ -0,0 +1 @@ +{"version":4,"routes":{"/favicon.ico":{"initialHeaders":{"cache-control":"public, max-age=0, must-revalidate","content-type":"image/x-icon","x-next-cache-tags":"_N_T_/layout,_N_T_/favicon.ico/layout,_N_T_/favicon.ico/route,_N_T_/favicon.ico"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/favicon.ico","dataRoute":null},"/login":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/login","dataRoute":"/login.rsc"}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"c1b69476e52653b7970ed98f65eb4791","previewModeSigningKey":"5fa267bbc287c2690f35097146b4c38ee409f2761418e4b91f7a42ce86f4c045","previewModeEncryptionKey":"c896154caba76cad6ec32e629e7498e96a6d549616102834a0c14619e8743ece"}} \ No newline at end of file diff --git a/react-loadable-manifest.json b/react-loadable-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..5458c8c4b067b37f60b76f6f516c627f320da351 --- /dev/null +++ b/react-loadable-manifest.json @@ -0,0 +1,27 @@ +{ + "node_modules/stream-chat-react/dist/components/MML/MML.js -> mml-react": { + "id": 9375, + "files": [ + "static/chunks/d362c049.93b10acb34b885e3.js", + "static/chunks/375.09bdbc2183e34089.js" + ] + }, + "node_modules/stream-chat-react/dist/components/MessageInput/hooks/utils.js -> @stream-io/transliterate": { + "id": 22984, + "files": [ + "static/chunks/984.791ecf2810620410.js" + ] + }, + "node_modules/stream-chat-react/dist/context/EmojiContext.js -> ./DefaultEmoji": { + "id": 34683, + "files": [ + "static/chunks/683.136620f05c0b7154.js" + ] + }, + "node_modules/stream-chat-react/dist/context/EmojiContext.js -> ./DefaultEmojiPicker": { + "id": 5140, + "files": [ + "static/chunks/140.b7c295f762558d27.js" + ] + } +} \ No newline at end of file diff --git a/required-server-files.json b/required-server-files.json new file mode 100644 index 0000000000000000000000000000000000000000..cb97541a8dd74ae2dcdc86f3aca9a1b9e0be2b71 --- /dev/null +++ b/required-server-files.json @@ -0,0 +1 @@ +{"version":1,"config":{"env":{},"eslint":{"ignoreDuringBuilds":false},"typescript":{"ignoreBuildErrors":false,"tsconfigPath":"tsconfig.json"},"distDir":".next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.js","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"analyticsId":"","images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"inline","remotePatterns":[],"unoptimized":false},"devIndicators":{"buildActivity":true,"buildActivityPosition":"bottom-right"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"optimizeFonts":true,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactProductionProfiling":false,"reactStrictMode":null,"httpAgentOptions":{"keepAlive":true},"outputFileTracing":true,"staticPageGenerationTimeout":60,"swcMinify":true,"modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"experimental":{"prerenderEarlyExit":false,"serverMinification":true,"serverSourceMaps":false,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","middlewarePrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":3,"memoryBasedWorkersCount":false,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"outputFileTracingRoot":"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2","swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"adjustFontFallbacks":false,"adjustFontFallbacksWithSizeAdjust":false,"typedRoutes":false,"instrumentationHook":false,"bundlePagesExternals":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"missingSuspenseWithCSRBailout":true,"optimizeServerReact":true,"useEarlyImport":false,"staleTimes":{"dynamic":30,"static":300},"optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"configFileName":"next.config.js"},"appDir":"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2","relativeAppDir":"","files":[".next/routes-manifest.json",".next/server/pages-manifest.json",".next/build-manifest.json",".next/prerender-manifest.json",".next/prerender-manifest.js",".next/server/middleware-manifest.json",".next/server/middleware-build-manifest.js",".next/server/middleware-react-loadable-manifest.js",".next/server/app-paths-manifest.json",".next/app-path-routes-manifest.json",".next/app-build-manifest.json",".next/server/server-reference-manifest.js",".next/server/server-reference-manifest.json",".next/react-loadable-manifest.json",".next/server/font-manifest.json",".next/BUILD_ID",".next/server/next-font-manifest.js",".next/server/next-font-manifest.json"],"ignore":["node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"]} \ No newline at end of file diff --git a/routes-manifest.json b/routes-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..aa182a5774e53f4307a1f5e3d378b2b1169853cc --- /dev/null +++ b/routes-manifest.json @@ -0,0 +1 @@ +{"version":3,"pages404":true,"caseSensitive":false,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[],"dynamicRoutes":[],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/_not-found","regex":"^/_not\\-found(?:/)?$","routeKeys":{},"namedRegex":"^/_not\\-found(?:/)?$"},{"page":"/auth/callback","regex":"^/auth/callback(?:/)?$","routeKeys":{},"namedRegex":"^/auth/callback(?:/)?$"},{"page":"/auth/sign-in","regex":"^/auth/sign\\-in(?:/)?$","routeKeys":{},"namedRegex":"^/auth/sign\\-in(?:/)?$"},{"page":"/auth/sign-out","regex":"^/auth/sign\\-out(?:/)?$","routeKeys":{},"namedRegex":"^/auth/sign\\-out(?:/)?$"},{"page":"/auth/sign-up","regex":"^/auth/sign\\-up(?:/)?$","routeKeys":{},"namedRegex":"^/auth/sign\\-up(?:/)?$"},{"page":"/favicon.ico","regex":"^/favicon\\.ico(?:/)?$","routeKeys":{},"namedRegex":"^/favicon\\.ico(?:/)?$"},{"page":"/login","regex":"^/login(?:/)?$","routeKeys":{},"namedRegex":"^/login(?:/)?$"}],"dataRoutes":[],"rsc":{"header":"RSC","varyHeader":"RSC, Next-Router-State-Tree, Next-Router-Prefetch","prefetchHeader":"Next-Router-Prefetch","didPostponeHeader":"x-nextjs-postponed","contentTypeHeader":"text/x-component","suffix":".rsc","prefetchSuffix":".prefetch.rsc"},"rewrites":[]} \ No newline at end of file diff --git a/server/app-paths-manifest.json b/server/app-paths-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..eec5fe40328acfe9b2feea959355260597c3cb0d --- /dev/null +++ b/server/app-paths-manifest.json @@ -0,0 +1,11 @@ +{ + "/_not-found/page": "app/_not-found/page.js", + "/login/page": "app/login/page.js", + "/favicon.ico/route": "app/favicon.ico/route.js", + "/api/create-user/route": "app/api/create-user/route.js", + "/page": "app/page.js", + "/auth/sign-up/route": "app/auth/sign-up/route.js", + "/auth/sign-out/route": "app/auth/sign-out/route.js", + "/auth/callback/route": "app/auth/callback/route.js", + "/auth/sign-in/route": "app/auth/sign-in/route.js" +} \ No newline at end of file diff --git a/server/app/_not-found.html b/server/app/_not-found.html new file mode 100644 index 0000000000000000000000000000000000000000..410e50a2dd6a74a49582086aaf02c87217ad4869 --- /dev/null +++ b/server/app/_not-found.html @@ -0,0 +1 @@ +404: This page could not be found.UnBabelerChat web app

404

This page could not be found.

\ No newline at end of file diff --git a/server/app/_not-found.meta b/server/app/_not-found.meta new file mode 100644 index 0000000000000000000000000000000000000000..547abaf49121119022cdcdf188e9f67719ca59a2 --- /dev/null +++ b/server/app/_not-found.meta @@ -0,0 +1,6 @@ +{ + "status": 404, + "headers": { + "x-next-cache-tags": "_N_T_/layout,_N_T_/_not-found/layout,_N_T_/_not-found/page,_N_T_/_not-found" + } +} \ No newline at end of file diff --git a/server/app/_not-found.rsc b/server/app/_not-found.rsc new file mode 100644 index 0000000000000000000000000000000000000000..3a068e1bb655e8a3129dc54b9388b06c83997636 --- /dev/null +++ b/server/app/_not-found.rsc @@ -0,0 +1,9 @@ +2:I[39275,[],""] +3:I[61343,[],""] +4:{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"} +5:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"} +6:{"display":"inline-block"} +7:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0} +0:["YqlqDnQDm-iyhuuwlKaBS",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],null],null]},["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","main",null,{"className":"min-h-screen flex flex-col items-center","children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$4","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$5","children":"404"}],["$","div",null,{"style":"$6","children":["$","h2",null,{"style":"$7","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b316092d6e638128.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/82f62eb1d3c473d2.css","precedence":"next","crossOrigin":"$undefined"}]],[["$","meta",null,{"name":"robots","content":"noindex"}],"$L8"]]]]] +8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"UnBabelerChat web app"}],["$","meta","3",{"name":"description","content":"Created and powered by logoi.ai"}]] +1:null diff --git a/server/app/_not-found/page.js b/server/app/_not-found/page.js new file mode 100644 index 0000000000000000000000000000000000000000..e39855d728e73d3ff75bc1c1efa314f929403663 --- /dev/null +++ b/server/app/_not-found/page.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=409,e.ids=[409],e.modules={47849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},55403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},94749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},48652:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>i.a,__next_app__:()=>f,originalPathname:()=>c,pages:()=>d,routeModule:()=>p,tree:()=>u}),n(7352),n(35866),n(11506);var r=n(23191),o=n(88716),s=n(37922),i=n.n(s),a=n(95231),l={};for(let e in a)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);n.d(t,l);let u=["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.t.bind(n,35866,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(n.bind(n,11506)),"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,35866,23)),"next/dist/client/components/not-found-error"]}],d=[],c="/_not-found/page",f={require:n,loadChunk:()=>Promise.resolve()},p=new r.AppPageRouteModule({definition:{kind:o.x.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},17151:()=>{},82014:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,12994,23)),Promise.resolve().then(n.t.bind(n,96114,23)),Promise.resolve().then(n.t.bind(n,9727,23)),Promise.resolve().then(n.t.bind(n,79671,23)),Promise.resolve().then(n.t.bind(n,41868,23)),Promise.resolve().then(n.t.bind(n,84759,23))},11506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,metadata:()=>o});var r=n(19510);n(67272);let o={title:"UnBabelerChat web app",description:"Created and powered by logoi.ai"};function s({children:e}){return r.jsx("html",{lang:"en",children:r.jsx("body",{children:r.jsx("main",{className:"min-h-screen flex flex-col items-center",children:e})})})}},16399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7352:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PARALLEL_ROUTE_DEFAULT_PATH:function(){return o},default:function(){return s}});let r=n(16399),o="next/dist/client/components/parallel-route-default.js";function s(){(0,r.notFound)()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,n){let r=Reflect.get(e,t,n);return"function"==typeof r?r.bind(e):r}static set(e,t,n,r){return Reflect.set(e,t,n,r)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},67272:()=>{}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[948,471],()=>n(48652));module.exports=r})(); \ No newline at end of file diff --git a/server/app/_not-found/page.js.nft.json b/server/app/_not-found/page.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..dd0638125e4bacf44d26f3f49a25b238435f5133 --- /dev/null +++ b/server/app/_not-found/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../package.json","../../chunks/471.js","../../chunks/948.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/server/app/_not-found/page_client-reference-manifest.js b/server/app/_not-found/page_client-reference-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..8d1a5edd0bfc9aef0a7ec3197419064a7fb40f3d --- /dev/null +++ b/server/app/_not-found/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"231":{"*":{"id":"79404","name":"*","chunks":[],"async":false}},"16585":{"*":{"id":"41868","name":"*","chunks":[],"async":false}},"39275":{"*":{"id":"79671","name":"*","chunks":[],"async":false}},"55138":{"*":{"id":"4349","name":"*","chunks":[],"async":false}},"61343":{"*":{"id":"84759","name":"*","chunks":[],"async":false}},"66513":{"*":{"id":"96114","name":"*","chunks":[],"async":false}},"74320":{"*":{"id":"53980","name":"*","chunks":[],"async":false}},"76130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"95751":{"*":{"id":"12994","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/app-router.js":{"id":95751,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/app-router.js":{"id":95751,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/client-page.js":{"id":66513,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/client-page.js":{"id":66513,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/error-boundary.js":{"id":76130,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":76130,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/layout-router.js":{"id":39275,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39275,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/not-found-boundary.js":{"id":16585,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":16585,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/render-from-template-context.js":{"id":61343,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61343,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/globals.css":{"id":58877,"name":"*","chunks":["185","static/chunks/app/layout-1681915e2606683d.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/messages.tsx":{"id":74320,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/link.js":{"id":231,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/link.js":{"id":231,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/components/UnBabelerChat.tsx":{"id":55138,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false}},"entryCSSFiles":{"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/":[],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/layout":["static/css/b316092d6e638128.css","static/css/82f62eb1d3c473d2.css"],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/page":["static/css/780e3421e6a81e10.css","static/css/fdd0463956fb52ba.css","static/css/c75df1c048895661.css","static/css/d0d9d365675bcf3b.css"],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/_not-found/page":[]}} \ No newline at end of file diff --git a/server/app/api/create-user/route.js b/server/app/api/create-user/route.js new file mode 100644 index 0000000000000000000000000000000000000000..64585fe5bf267434433521afd85329f7c446b265 --- /dev/null +++ b/server/app/api/create-user/route.js @@ -0,0 +1,14 @@ +(()=>{var e={};e.id=717,e.ids=[717],e.modules={20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},39491:e=>{"use strict";e.exports=require("assert")},14300:e=>{"use strict";e.exports=require("buffer")},6113:e=>{"use strict";e.exports=require("crypto")},82361:e=>{"use strict";e.exports=require("events")},57147:e=>{"use strict";e.exports=require("fs")},13685:e=>{"use strict";e.exports=require("http")},95687:e=>{"use strict";e.exports=require("https")},41808:e=>{"use strict";e.exports=require("net")},71017:e=>{"use strict";e.exports=require("path")},12781:e=>{"use strict";e.exports=require("stream")},24404:e=>{"use strict";e.exports=require("tls")},76224:e=>{"use strict";e.exports=require("tty")},57310:e=>{"use strict";e.exports=require("url")},73837:e=>{"use strict";e.exports=require("util")},59796:e=>{"use strict";e.exports=require("zlib")},10144:()=>{},77640:()=>{},92430:(e,t,n)=>{"use strict";let i,s,a,r;n.r(t),n.d(t,{originalPathname:()=>iS,patchFetch:()=>iE,requestAsyncStorage:()=>iw,routeModule:()=>iy,serverHooks:()=>ik,staticGenerationAsyncStorage:()=>i_});var o,c,u,l={};n.r(l),n.d(l,{hasBrowserEnv:()=>eN,hasStandardBrowserEnv:()=>eD,hasStandardBrowserWebWorkerEnv:()=>eM,origin:()=>eF});var p={};n.r(p),n.d(p,{POST:()=>ib});var d=n(49303),h=n(88716),m=n(60670),f=n(87070),v=n(45017),x=n(4239),g=n.n(x),b=n(73897),y=n.n(b),w=n(29862),_=n.n(w),k=n(83470),S=n.n(k),E=n(85577),R=n.n(E),C=n(8908),O=n.n(C),j=n(85925),T=n.n(j),L=n(33679),I=n.n(L),U=n(81213),A=n.n(U);function P(e,t){return function(){return e.apply(t,arguments)}}let{toString:N}=Object.prototype,{getPrototypeOf:D}=Object,M=(i=Object.create(null),e=>{let t=N.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())}),F=e=>(e=e.toLowerCase(),t=>M(t)===e),$=e=>t=>typeof t===e,{isArray:B}=Array,q=$("undefined"),z=F("ArrayBuffer"),W=$("string"),H=$("function"),G=$("number"),V=e=>null!==e&&"object"==typeof e,K=e=>{if("object"!==M(e))return!1;let t=D(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},J=F("Date"),X=F("File"),Y=F("Blob"),Q=F("FileList"),Z=F("URLSearchParams"),[ee,et,en,ei]=["ReadableStream","Request","Response","Headers"].map(F);function es(e,t,{allOwnKeys:n=!1}={}){let i,s;if(null!=e){if("object"!=typeof e&&(e=[e]),B(e))for(i=0,s=e.length;i0;)if(t===(n=i[s]).toLowerCase())return n;return null}let er="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,eo=e=>!q(e)&&e!==er,ec=(s="undefined"!=typeof Uint8Array&&D(Uint8Array),e=>s&&e instanceof s),eu=F("HTMLFormElement"),el=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ep=F("RegExp"),ed=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),i={};es(n,(n,s)=>{let a;!1!==(a=t(n,s,e))&&(i[s]=a||n)}),Object.defineProperties(e,i)},eh="abcdefghijklmnopqrstuvwxyz",em="0123456789",ef={DIGIT:em,ALPHA:eh,ALPHA_DIGIT:eh+eh.toUpperCase()+em},ev=F("AsyncFunction"),ex={isArray:B,isArrayBuffer:z,isBuffer:function(e){return null!==e&&!q(e)&&null!==e.constructor&&!q(e.constructor)&&H(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||H(e.append)&&("formdata"===(t=M(e))||"object"===t&&H(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&z(e.buffer)},isString:W,isNumber:G,isBoolean:e=>!0===e||!1===e,isObject:V,isPlainObject:K,isReadableStream:ee,isRequest:et,isResponse:en,isHeaders:ei,isUndefined:q,isDate:J,isFile:X,isBlob:Y,isRegExp:ep,isFunction:H,isStream:e=>V(e)&&H(e.pipe),isURLSearchParams:Z,isTypedArray:ec,isFileList:Q,forEach:es,merge:function e(){let{caseless:t}=eo(this)&&this||{},n={},i=(i,s)=>{let a=t&&ea(n,s)||s;K(n[a])&&K(i)?n[a]=e(n[a],i):K(i)?n[a]=e({},i):B(i)?n[a]=i.slice():n[a]=i};for(let e=0,t=arguments.length;e(es(t,(t,i)=>{n&&H(t)?e[i]=P(t,n):e[i]=t},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let s,a,r;let o={};if(t=t||{},null==e)return t;do{for(a=(s=Object.getOwnPropertyNames(e)).length;a-- >0;)r=s[a],(!i||i(r,e,t))&&!o[r]&&(t[r]=e[r],o[r]=!0);e=!1!==n&&D(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:M,kindOfTest:F,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let i=e.indexOf(t,n);return -1!==i&&i===n},toArray:e=>{if(!e)return null;if(B(e))return e;let t=e.length;if(!G(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let i=(e&&e[Symbol.iterator]).call(e);for(;(n=i.next())&&!n.done;){let i=n.value;t.call(e,i[0],i[1])}},matchAll:(e,t)=>{let n;let i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:eu,hasOwnProperty:el,hasOwnProp:el,reduceDescriptors:ed,freezeMethods:e=>{ed(e,(t,n)=>{if(H(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(H(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(B(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:ea,global:er,isContextDefined:eo,ALPHABET:ef,generateString:(e=16,t=ef.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n},isSpecCompliantForm:function(e){return!!(e&&H(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,i)=>{if(V(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;let s=B(e)?[]:{};return es(e,(e,t)=>{let a=n(e,i+1);q(a)||(s[t]=a)}),t[i]=void 0,s}}return e};return n(e,0)},isAsyncFn:ev,isThenable:e=>e&&(V(e)||H(e))&&H(e.then)&&H(e.catch)};function eg(e,t,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}ex.inherits(eg,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ex.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let eb=eg.prototype,ey={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ey[e]={value:e}}),Object.defineProperties(eg,ey),Object.defineProperty(eb,"isAxiosError",{value:!0}),eg.from=(e,t,n,i,s,a)=>{let r=Object.create(eb);return ex.toFlatObject(e,r,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),eg.call(r,e.message,t,n,i,s),r.cause=e,r.name=e.name,a&&Object.assign(r,a),r};var ew=n(32291),e_=n.n(ew);function ek(e){return ex.isPlainObject(e)||ex.isArray(e)}function eS(e){return ex.endsWith(e,"[]")?e.slice(0,-2):e}function eE(e,t,n){return e?e.concat(t).map(function(e,t){return e=eS(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let eR=ex.toFlatObject(ex,{},null,function(e){return/^is[A-Z]/.test(e)}),eC=function(e,t,n){if(!ex.isObject(e))throw TypeError("target must be an object");t=t||new(ew||FormData);let i=(n=ex.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ex.isUndefined(t[e])})).metaTokens,s=n.visitor||u,a=n.dots,r=n.indexes,o=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ex.isSpecCompliantForm(t);if(!ex.isFunction(s))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ex.isDate(e))return e.toISOString();if(!o&&ex.isBlob(e))throw new eg("Blob is not supported. Use a Buffer instead.");return ex.isArrayBuffer(e)||ex.isTypedArray(e)?o&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,s){let o=e;if(e&&!s&&"object"==typeof e){if(ex.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(ex.isArray(e)&&(u=e,ex.isArray(u)&&!u.some(ek))||(ex.isFileList(e)||ex.endsWith(n,"[]"))&&(o=ex.toArray(e)))return n=eS(n),o.forEach(function(e,i){ex.isUndefined(e)||null===e||t.append(!0===r?eE([n],i,a):null===r?n:n+"[]",c(e))}),!1}}return!!ek(e)||(t.append(eE(s,n,a),c(e)),!1)}let l=[],p=Object.assign(eR,{defaultVisitor:u,convertValue:c,isVisitable:ek});if(!ex.isObject(e))throw TypeError("data must be an object");return function e(n,i){if(!ex.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),ex.forEach(n,function(n,a){!0===(!(ex.isUndefined(n)||null===n)&&s.call(t,n,ex.isString(a)?a.trim():a,i,p))&&e(n,i?i.concat(a):[a])}),l.pop()}}(e),t};function eO(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ej(e,t){this._pairs=[],e&&eC(e,this,t)}let eT=ej.prototype;function eL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eI(e,t,n){let i;if(!t)return e;let s=n&&n.encode||eL,a=n&&n.serialize;if(i=a?a(t,n):ex.isURLSearchParams(t)?t.toString():new ej(t,n).toString(s)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}eT.append=function(e,t){this._pairs.push([e,t])},eT.toString=function(e){let t=e?function(t){return e.call(this,t,eO)}:eO;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eU{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ex.forEach(this.handlers,function(t){null!==t&&e(t)})}}let eA={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eP={isNode:!0,classes:{URLSearchParams:n(57310).URLSearchParams,FormData:ew,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},eN="undefined"!=typeof window&&"undefined"!=typeof document,eD=(a="undefined"!=typeof navigator&&navigator.product,eN&&0>["ReactNative","NativeScript","NS"].indexOf(a)),eM="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eF=eN&&window.location.href||"http://localhost",e$={...l,...eP},eB=function(e){if(ex.isFormData(e)&&ex.isFunction(e.entries)){let t={};return ex.forEachEntry(e,(e,n)=>{!function e(t,n,i,s){let a=t[s++];if("__proto__"===a)return!0;let r=Number.isFinite(+a),o=s>=t.length;return(a=!a&&ex.isArray(i)?i.length:a,o)?ex.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n:(i[a]&&ex.isObject(i[a])||(i[a]=[]),e(t,n,i[a],s)&&ex.isArray(i[a])&&(i[a]=function(e){let t,n;let i={},s=Object.keys(e),a=s.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null},eq={transitional:eA,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let i=t.getContentType()||"",s=i.indexOf("application/json")>-1,a=ex.isObject(e);if(a&&ex.isHTMLForm(e)&&(e=new FormData(e)),ex.isFormData(e))return s?JSON.stringify(eB(e)):e;if(ex.isArrayBuffer(e)||ex.isBuffer(e)||ex.isStream(e)||ex.isFile(e)||ex.isBlob(e)||ex.isReadableStream(e))return e;if(ex.isArrayBufferView(e))return e.buffer;if(ex.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1){var r,o;return(r=e,o=this.formSerializer,eC(r,new e$.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return e$.isNode&&ex.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},o))).toString()}if((n=ex.isFileList(e))||i.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return eC(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||s?(t.setContentType("application/json",!1),function(e,t,n){if(ex.isString(e))try{return(0,JSON.parse)(e),ex.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eq.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(ex.isResponse(e)||ex.isReadableStream(e))return e;if(e&&ex.isString(e)&&(n&&!this.responseType||i)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&i){if("SyntaxError"===e.name)throw eg.from(e,eg.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:e$.classes.FormData,Blob:e$.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ex.forEach(["delete","get","head","post","put","patch"],e=>{eq.headers[e]={}});let ez=ex.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eW=e=>{let t,n,i;let s={};return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),t=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim(),!t||s[t]&&ez[t]||("set-cookie"===t?s[t]?s[t].push(n):s[t]=[n]:s[t]=s[t]?s[t]+", "+n:n)}),s},eH=Symbol("internals");function eG(e){return e&&String(e).trim().toLowerCase()}function eV(e){return!1===e||null==e?e:ex.isArray(e)?e.map(eV):String(e)}let eK=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eJ(e,t,n,i,s){if(ex.isFunction(i))return i.call(this,t,n);if(s&&(t=n),ex.isString(t)){if(ex.isString(i))return -1!==t.indexOf(i);if(ex.isRegExp(i))return i.test(t)}}class eX{constructor(e){e&&this.set(e)}set(e,t,n){let i=this;function s(e,t,n){let s=eG(t);if(!s)throw Error("header name must be a non-empty string");let a=ex.findKey(i,s);a&&void 0!==i[a]&&!0!==n&&(void 0!==n||!1===i[a])||(i[a||t]=eV(e))}let a=(e,t)=>ex.forEach(e,(e,n)=>s(e,n,t));if(ex.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(ex.isString(e)&&(e=e.trim())&&!eK(e))a(eW(e),t);else if(ex.isHeaders(e))for(let[t,i]of e.entries())s(i,t,n);else null!=e&&s(t,e,n);return this}get(e,t){if(e=eG(e)){let n=ex.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=i.exec(e);)n[t[1]]=t[2];return n}(e);if(ex.isFunction(t))return t.call(this,e,n);if(ex.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eG(e)){let n=ex.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eJ(this,this[n],n,t)))}return!1}delete(e,t){let n=this,i=!1;function s(e){if(e=eG(e)){let s=ex.findKey(n,e);s&&(!t||eJ(n,n[s],s,t))&&(delete n[s],i=!0)}}return ex.isArray(e)?e.forEach(s):s(e),i}clear(e){let t=Object.keys(this),n=t.length,i=!1;for(;n--;){let s=t[n];(!e||eJ(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){let t=this,n={};return ex.forEach(this,(i,s)=>{let a=ex.findKey(n,s);if(a){t[a]=eV(i),delete t[s];return}let r=e?s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(s).trim();r!==s&&delete t[s],t[r]=eV(i),n[r]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return ex.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ex.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[eH]=this[eH]={accessors:{}}).accessors,n=this.prototype;function i(e){let i=eG(e);t[i]||(function(e,t){let n=ex.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(e,n,s){return this[i].call(this,t,e,n,s)},configurable:!0})})}(n,e),t[i]=!0)}return ex.isArray(e)?e.forEach(i):i(e),this}}function eY(e,t){let n=this||eq,i=t||n,s=eX.from(i.headers),a=i.data;return ex.forEach(e,function(e){a=e.call(n,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function eQ(e){return!!(e&&e.__CANCEL__)}function eZ(e,t,n){eg.call(this,null==e?"canceled":e,eg.ERR_CANCELED,t,n),this.name="CanceledError"}function e0(e,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new eg("Request failed with status code "+n.status,[eg.ERR_BAD_REQUEST,eg.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function e1(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}eX.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ex.reduceDescriptors(eX.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),ex.freezeMethods(eX),ex.inherits(eZ,eg,{__CANCEL__:!0});var e2=n(21180),e3=n(13685),e4=n(95687),e8=n.n(e4),e6=n(73837),e5=n(86875),e7=n(59796);let e9="1.7.2";function te(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}let tt=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var tn=n(12781);let ti=function(e,t){let n=0,i=1e3/t,s=null;return function(){let t=Date.now();if(this===!0||t-n>i)return s&&(clearTimeout(s),s=null),n=t,e.apply(null,arguments);s||(s=setTimeout(()=>(s=null,n=Date.now(),e.apply(null,arguments)),i-(t-n)))}},ts=function(e,t){let n;let i=Array(e=e||10),s=Array(e),a=0,r=0;return t=void 0!==t?t:1e3,function(o){let c=Date.now(),u=s[r];n||(n=c),i[a]=o,s[a]=c;let l=r,p=0;for(;l!==a;)p+=i[l++],l%=e;if((a=(a+1)%e)===r&&(r=(r+1)%e),c-n!ex.isUndefined(t[e]))).chunkSize});let t=this,n=this[ta]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},i=ts(n.ticksRate*e.samplesCount,n.timeWindow);this.on("newListener",e=>{"progress"!==e||n.isCaptured||(n.isCaptured=!0)});let s=0;n.updateProgress=ti(function(){let e=n.length,a=n.bytesSeen,r=a-s;if(!r||t.destroyed)return;let o=i(r);s=a,process.nextTick(()=>{t.emit("progress",{loaded:a,total:e,progress:e?a/e:void 0,bytes:r,rate:o||void 0,estimated:o&&e&&a<=e?(e-a)/o:void 0,lengthComputable:null!=e})})},n.ticksRate);let a=()=>{n.updateProgress.call(!0)};this.once("end",a),this.once("error",a)}_read(e){let t=this[ta];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){let i=this,s=this[ta],a=s.maxRate,r=this.readableHighWaterMark,o=s.timeWindow,c=a/(1e3/o),u=!1!==s.minChunkSize?Math.max(s.minChunkSize,.01*c):0,l=(e,t)=>{let n;let l=Buffer.byteLength(e),p=null,d=r,h=0;if(a){let e=Date.now();(!s.ts||(h=e-s.ts)>=o)&&(s.ts=e,n=c-s.bytes,s.bytes=n<0?-n:0,h=0),n=c-s.bytes}if(a){if(n<=0)return setTimeout(()=>{t(null,e)},o-h);nd&&l-d>u&&(p=e.subarray(d),e=e.subarray(0,d)),function(e,t){let n=Buffer.byteLength(e);s.bytesSeen+=n,s.bytes+=n,s.isCaptured&&s.updateProgress(),i.push(e)?process.nextTick(t):s.onReadCallback=()=>{s.onReadCallback=null,process.nextTick(t)}}(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,function e(t,i){if(t)return n(t);i?l(i,e):n(null)})}setLength(e){return this[ta].length=+e,this}}var to=n(82361);let{asyncIterator:tc}=Symbol,tu=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[tc]?yield*e[tc]():yield e},tl=ex.ALPHABET.ALPHA_DIGIT+"-_",tp=new e6.TextEncoder,td=tp.encode("\r\n");class th{constructor(e,t){let{escapeName:n}=this.constructor,i=ex.isString(t),s=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}\r +`;i?t=tp.encode(String(t).replace(/\r?\n|\r\n?/g,"\r\n")):s+=`Content-Type: ${t.type||"application/octet-stream"}\r +`,this.headers=tp.encode(s+"\r\n"),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async *encode(){yield this.headers;let{value:e}=this;ex.isTypedArray(e)?yield e:yield*tu(e),yield td}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"})[e])}}let tm=(e,t,n)=>{let{tag:i="form-data-boundary",size:s=25,boundary:a=i+"-"+ex.generateString(s,tl)}=n||{};if(!ex.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");let r=tp.encode("--"+a+"\r\n"),o=tp.encode("--"+a+"--\r\n\r\n"),c=o.byteLength,u=Array.from(e.entries()).map(([e,t])=>{let n=new th(e,t);return c+=n.size,n});c+=r.byteLength*u.length;let l={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c=ex.toFiniteNumber(c))&&(l["Content-Length"]=c),t&&t(l),tn.Readable.from(async function*(){for(let e of u)yield r,yield*e.encode();yield o}())};class tf extends tn.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){let e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}let tv=(e,t)=>ex.isAsyncFn(e)?function(...n){let i=n.pop();e.apply(this,n).then(e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}},i)}:e,tx={flush:e7.constants.Z_SYNC_FLUSH,finishFlush:e7.constants.Z_SYNC_FLUSH},tg={flush:e7.constants.BROTLI_OPERATION_FLUSH,finishFlush:e7.constants.BROTLI_OPERATION_FLUSH},tb=ex.isFunction(e7.createBrotliDecompress),{http:ty,https:tw}=e5,t_=/https:?/,tk=e$.protocols.map(e=>e+":");function tS(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}let tE="undefined"!=typeof process&&"process"===ex.kindOf(process),tR=e=>new Promise((t,n)=>{let i,s;let a=(e,t)=>{!s&&(s=!0,i&&i(e,t))},r=e=>{a(e,!0),n(e)};e(e=>{a(e),t(e)},r,e=>i=e).catch(r)}),tC=({address:e,family:t})=>{if(!ex.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(0>e.indexOf(".")?6:4)}},tO=(e,t)=>tC(ex.isObject(e)?e:{address:e,family:t}),tj=tE&&function(e){return tR(async function(t,n,i){let s,a,r,o,c,u,l,{data:p,lookup:d,family:h}=e,{responseType:m,responseEncoding:f}=e,v=e.method.toUpperCase(),x=!1;if(d){let e=tv(d,e=>ex.isArray(e)?e:[e]);d=(t,n,i)=>{e(t,n,(e,t,s)=>{if(e)return i(e);let a=ex.isArray(t)?t.map(e=>tO(e)):[tO(t,s)];n.all?i(e,a):i(e,a[0].address,a[0].family)})}}let g=new to.EventEmitter,b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),g.removeAllListeners()};function y(t){g.emit("abort",!t||t.type?new eZ(null,e,c):t)}i((e,t)=>{o=!0,t&&(x=!0,b())}),g.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));let w=new URL(e1(e.baseURL,e.url),"http://localhost"),_=w.protocol||tk[0];if("data:"===_){let i;if("GET"!==v)return e0(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){let i=n&&n.Blob||e$.classes.Blob,s=te(e);if(void 0===t&&i&&(t=!0),"data"===s){e=s.length?e.slice(s.length+1):e;let n=tt.exec(e);if(!n)throw new eg("Invalid URL",eg.ERR_INVALID_URL);let a=n[1],r=n[2],o=n[3],c=Buffer.from(decodeURIComponent(o),r?"base64":"utf8");if(t){if(!i)throw new eg("Blob is not supported",eg.ERR_NOT_SUPPORT);return new i([c],{type:a})}return c}throw new eg("Unsupported protocol "+s,eg.ERR_NOT_SUPPORT)}(e.url,"blob"===m,{Blob:e.env&&e.env.Blob})}catch(t){throw eg.from(t,eg.ERR_BAD_REQUEST,e)}return"text"===m?(i=i.toString(f),f&&"utf8"!==f||(i=ex.stripBOM(i))):"stream"===m&&(i=tn.Readable.from(i)),e0(t,n,{data:i,status:200,statusText:"OK",headers:new eX,config:e})}if(-1===tk.indexOf(_))return n(new eg("Unsupported protocol "+_,eg.ERR_BAD_REQUEST,e));let k=eX.from(e.headers).normalize();k.set("User-Agent","axios/"+e9,!1);let S=e.onDownloadProgress,E=e.onUploadProgress,R=e.maxRate;if(ex.isSpecCompliantForm(p)){let e=k.getContentType(/boundary=([-_\w\d]{10,70})/i);p=tm(p,e=>{k.set(e)},{tag:`axios-${e9}-boundary`,boundary:e&&e[1]||void 0})}else if(ex.isFormData(p)&&ex.isFunction(p.getHeaders)){if(k.set(p.getHeaders()),!k.hasContentLength())try{let e=await e6.promisify(p.getLength).call(p);Number.isFinite(e)&&e>=0&&k.setContentLength(e)}catch(e){}}else if(ex.isBlob(p))p.size&&k.setContentType(p.type||"application/octet-stream"),k.setContentLength(p.size||0),p=tn.Readable.from(tu(p));else if(p&&!ex.isStream(p)){if(Buffer.isBuffer(p));else if(ex.isArrayBuffer(p))p=Buffer.from(new Uint8Array(p));else{if(!ex.isString(p))return n(new eg("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",eg.ERR_BAD_REQUEST,e));p=Buffer.from(p,"utf-8")}if(k.setContentLength(p.length,!1),e.maxBodyLength>-1&&p.length>e.maxBodyLength)return n(new eg("Request body larger than maxBodyLength limit",eg.ERR_BAD_REQUEST,e))}let C=ex.toFiniteNumber(k.getContentLength());ex.isArray(R)?(s=R[0],a=R[1]):s=a=R,p&&(E||s)&&(ex.isStream(p)||(p=tn.Readable.from(p,{objectMode:!1})),p=tn.pipeline([p,new tr({length:C,maxRate:ex.toFiniteNumber(s)})],ex.noop),E&&p.on("progress",e=>{E(Object.assign(e,{upload:!0}))})),e.auth&&(r=(e.auth.username||"")+":"+(e.auth.password||"")),!r&&w.username&&(r=w.username+":"+w.password),r&&k.delete("authorization");try{u=eI(w.pathname+w.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(i){let t=Error(i.message);return t.config=e,t.url=e.url,t.exists=!0,n(t)}k.set("Accept-Encoding","gzip, compress, deflate"+(tb?", br":""),!1);let O={path:u,method:v,headers:k.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:r,protocol:_,family:h,beforeRedirect:tS,beforeRedirects:{}};ex.isUndefined(d)||(O.lookup=d),e.socketPath?O.socketPath=e.socketPath:(O.hostname=w.hostname,O.port=w.port,function e(t,n,i){let s=n;if(!s&&!1!==s){let e=(0,e2.j)(i);e&&(s=new URL(e))}if(s){if(s.username&&(s.auth=(s.username||"")+":"+(s.password||"")),s.auth){(s.auth.username||s.auth.password)&&(s.auth=(s.auth.username||"")+":"+(s.auth.password||""));let e=Buffer.from(s.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+e}t.headers.host=t.hostname+(t.port?":"+t.port:"");let e=s.hostname||s.host;t.hostname=e,t.host=e,t.port=s.port,t.path=i,s.protocol&&(t.protocol=s.protocol.includes(":")?s.protocol:`${s.protocol}:`)}t.beforeRedirects.proxy=function(t){e(t,n,t.href)}}(O,e.proxy,_+"//"+w.hostname+(w.port?":"+w.port:"")+O.path));let j=t_.test(O.protocol);if(O.agent=j?e.httpsAgent:e.httpAgent,e.transport?l=e.transport:0===e.maxRedirects?l=j?e4:e3:(e.maxRedirects&&(O.maxRedirects=e.maxRedirects),e.beforeRedirect&&(O.beforeRedirects.config=e.beforeRedirect),l=j?tw:ty),e.maxBodyLength>-1?O.maxBodyLength=e.maxBodyLength:O.maxBodyLength=1/0,e.insecureHTTPParser&&(O.insecureHTTPParser=e.insecureHTTPParser),c=l.request(O,function(i){if(c.destroyed)return;let s=[i],r=+i.headers["content-length"];if(S){let e=new tr({length:ex.toFiniteNumber(r),maxRate:ex.toFiniteNumber(a)});S&&e.on("progress",e=>{S(Object.assign(e,{download:!0}))}),s.push(e)}let o=i,u=i.req||c;if(!1!==e.decompress&&i.headers["content-encoding"])switch(("HEAD"===v||204===i.statusCode)&&delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":s.push(e7.createUnzip(tx)),delete i.headers["content-encoding"];break;case"deflate":s.push(new tf),s.push(e7.createUnzip(tx)),delete i.headers["content-encoding"];break;case"br":tb&&(s.push(e7.createBrotliDecompress(tg)),delete i.headers["content-encoding"])}o=s.length>1?tn.pipeline(s,ex.noop):s[0];let l=tn.finished(o,()=>{l(),b()}),p={status:i.statusCode,statusText:i.statusMessage,headers:new eX(i.headers),config:e,request:u};if("stream"===m)p.data=o,e0(t,n,p);else{let i=[],s=0;o.on("data",function(t){i.push(t),s+=t.length,e.maxContentLength>-1&&s>e.maxContentLength&&(x=!0,o.destroy(),n(new eg("maxContentLength size of "+e.maxContentLength+" exceeded",eg.ERR_BAD_RESPONSE,e,u)))}),o.on("aborted",function(){if(x)return;let t=new eg("maxContentLength size of "+e.maxContentLength+" exceeded",eg.ERR_BAD_RESPONSE,e,u);o.destroy(t),n(t)}),o.on("error",function(t){c.destroyed||n(eg.from(t,null,e,u))}),o.on("end",function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"===m||(e=e.toString(f),f&&"utf8"!==f||(e=ex.stripBOM(e))),p.data=e}catch(t){return n(eg.from(t,null,e,p.request,p))}e0(t,n,p)})}g.once("abort",e=>{o.destroyed||(o.emit("error",e),o.destroy())})}),g.once("abort",e=>{n(e),c.destroy(e)}),c.on("error",function(t){n(eg.from(t,null,e,c))}),c.on("socket",function(e){e.setKeepAlive(!0,6e4)}),e.timeout){let t=parseInt(e.timeout,10);if(Number.isNaN(t)){n(new eg("error trying to parse `config.timeout` to int",eg.ERR_BAD_OPTION_VALUE,e,c));return}c.setTimeout(t,function(){if(o)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||eA;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new eg(t,i.clarifyTimeoutError?eg.ETIMEDOUT:eg.ECONNABORTED,e,c)),y()})}if(ex.isStream(p)){let t=!1,n=!1;p.on("end",()=>{t=!0}),p.once("error",e=>{n=!0,c.destroy(e)}),p.on("close",()=>{t||n||y(new eZ("Request stream has been aborted",e,c))}),p.pipe(c)}else c.end(p)})},tT=(e,t,n=3)=>{let i=0,s=ts(50,250);return ti(n=>{let a=n.loaded,r=n.lengthComputable?n.total:void 0,o=a-i,c=s(o);i=a;let u={loaded:a,total:r,progress:r?a/r:void 0,bytes:o,rate:c||void 0,estimated:c&&r&&a<=r?(r-a)/c:void 0,event:n,lengthComputable:null!=r};u[t?"download":"upload"]=!0,e(u)},n)},tL=e$.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){let i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){let n=ex.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},tI=e$.hasStandardBrowserEnv?{write(e,t,n,i,s,a){let r=[e+"="+encodeURIComponent(t)];ex.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),ex.isString(i)&&r.push("path="+i),ex.isString(s)&&r.push("domain="+s),!0===a&&r.push("secure"),document.cookie=r.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},tU=e=>e instanceof eX?{...e}:e;function tA(e,t){t=t||{};let n={};function i(e,t,n){return ex.isPlainObject(e)&&ex.isPlainObject(t)?ex.merge.call({caseless:n},e,t):ex.isPlainObject(t)?ex.merge({},t):ex.isArray(t)?t.slice():t}function s(e,t,n){return ex.isUndefined(t)?ex.isUndefined(e)?void 0:i(void 0,e,n):i(e,t,n)}function a(e,t){if(!ex.isUndefined(t))return i(void 0,t)}function r(e,t){return ex.isUndefined(t)?ex.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function o(n,s,a){return a in t?i(n,s):a in e?i(void 0,n):void 0}let c={url:a,method:a,data:a,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:o,headers:(e,t)=>s(tU(e),tU(t),!0)};return ex.forEach(Object.keys(Object.assign({},e,t)),function(i){let a=c[i]||s,r=a(e[i],t[i],i);ex.isUndefined(r)&&a!==o||(n[i]=r)}),n}let tP=e=>{let t;let n=tA({},e),{data:i,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:r,headers:o,auth:c}=n;if(n.headers=o=eX.from(o),n.url=eI(e1(n.baseURL,n.url),e.params,e.paramsSerializer),c&&o.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),ex.isFormData(i)){if(e$.hasStandardBrowserEnv||e$.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(!1!==(t=o.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...n].join("; "))}}if(e$.hasStandardBrowserEnv&&(s&&ex.isFunction(s)&&(s=s(n)),s||!1!==s&&tL(n.url))){let e=a&&r&&tI.read(r);e&&o.set(a,e)}return n},tN="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let i;let s=tP(e),a=s.data,r=eX.from(s.headers).normalize(),{responseType:o}=s;function c(){s.cancelToken&&s.cancelToken.unsubscribe(i),s.signal&&s.signal.removeEventListener("abort",i)}let u=new XMLHttpRequest;function l(){if(!u)return;let i=eX.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());e0(function(e){t(e),c()},function(e){n(e),c()},{data:o&&"text"!==o&&"json"!==o?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:i,config:e,request:u}),u=null}u.open(s.method.toUpperCase(),s.url,!0),u.timeout=s.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(n(new eg("Request aborted",eg.ECONNABORTED,s,u)),u=null)},u.onerror=function(){n(new eg("Network Error",eg.ERR_NETWORK,s,u)),u=null},u.ontimeout=function(){let e=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded",t=s.transitional||eA;s.timeoutErrorMessage&&(e=s.timeoutErrorMessage),n(new eg(e,t.clarifyTimeoutError?eg.ETIMEDOUT:eg.ECONNABORTED,s,u)),u=null},void 0===a&&r.setContentType(null),"setRequestHeader"in u&&ex.forEach(r.toJSON(),function(e,t){u.setRequestHeader(t,e)}),ex.isUndefined(s.withCredentials)||(u.withCredentials=!!s.withCredentials),o&&"json"!==o&&(u.responseType=s.responseType),"function"==typeof s.onDownloadProgress&&u.addEventListener("progress",tT(s.onDownloadProgress,!0)),"function"==typeof s.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",tT(s.onUploadProgress)),(s.cancelToken||s.signal)&&(i=t=>{u&&(n(!t||t.type?new eZ(null,e,u):t),u.abort(),u=null)},s.cancelToken&&s.cancelToken.subscribe(i),s.signal&&(s.signal.aborted?i():s.signal.addEventListener("abort",i)));let p=te(s.url);if(p&&-1===e$.protocols.indexOf(p)){n(new eg("Unsupported protocol "+p+":",eg.ERR_BAD_REQUEST,e));return}u.send(a||null)})},tD=(e,t)=>{let n,i=new AbortController,s=function(e){if(!n){n=!0,r();let t=e instanceof Error?e:this.reason;i.abort(t instanceof eg?t:new eZ(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{s(new eg(`timeout ${t} of ms exceeded`,eg.ETIMEDOUT))},t),r=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e&&(e.removeEventListener?e.removeEventListener("abort",s):e.unsubscribe(s))}),e=null)};e.forEach(e=>e&&e.addEventListener&&e.addEventListener("abort",s));let{signal:o}=i;return o.unsubscribe=r,[o,()=>{a&&clearTimeout(a),a=null}]},tM=function*(e,t){let n,i=e.byteLength;if(!t||i{let a=tF(e,t,s),r=0;return new ReadableStream({type:"bytes",async pull(e){let{done:t,value:s}=await a.next();if(t){e.close(),i();return}let o=s.byteLength;n&&n(r+=o),e.enqueue(new Uint8Array(s))},cancel:e=>(i(e),a.return())},{highWaterMark:2})},tB=(e,t)=>{let n=null!=e;return i=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:i}))},tq="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,tz=tq&&"function"==typeof ReadableStream,tW=tq&&("function"==typeof TextEncoder?(r=new TextEncoder,e=>r.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),tH=tz&&(()=>{let e=!1,t=new Request(e$.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),tG=tz&&!!(()=>{try{return ex.isReadableStream(new Response("").body)}catch(e){}})(),tV={stream:tG&&(e=>e.body)};tq&&(o=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{tV[e]||(tV[e]=ex.isFunction(o[e])?t=>t[e]():(t,n)=>{throw new eg(`Response type '${e}' is not supported`,eg.ERR_NOT_SUPPORT,n)})}));let tK=async e=>null==e?0:ex.isBlob(e)?e.size:ex.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:ex.isArrayBufferView(e)?e.byteLength:(ex.isURLSearchParams(e)&&(e+=""),ex.isString(e))?(await tW(e)).byteLength:void 0,tJ=async(e,t)=>{let n=ex.toFiniteNumber(e.getContentLength());return null==n?tK(t):n},tX={http:tj,xhr:tN,fetch:tq&&(async e=>{let t,n,i,{url:s,method:a,data:r,signal:o,cancelToken:c,timeout:u,onDownloadProgress:l,onUploadProgress:p,responseType:d,headers:h,withCredentials:m="same-origin",fetchOptions:f}=tP(e);d=d?(d+"").toLowerCase():"text";let[v,x]=o||c||u?tD([o,c],u):[],g=()=>{t||setTimeout(()=>{v&&v.unsubscribe()}),t=!0};try{if(p&&tH&&"get"!==a&&"head"!==a&&0!==(i=await tJ(h,r))){let e,t=new Request(s,{method:"POST",body:r,duplex:"half"});ex.isFormData(r)&&(e=t.headers.get("content-type"))&&h.setContentType(e),t.body&&(r=t$(t.body,65536,tB(i,tT(p)),null,tW))}ex.isString(m)||(m=m?"cors":"omit"),n=new Request(s,{...f,signal:v,method:a.toUpperCase(),headers:h.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let t=await fetch(n),o=tG&&("stream"===d||"response"===d);if(tG&&(l||o)){let e={};["status","statusText","headers"].forEach(n=>{e[n]=t[n]});let n=ex.toFiniteNumber(t.headers.get("content-length"));t=new Response(t$(t.body,65536,l&&tB(n,tT(l,!0)),o&&g,tW),e)}d=d||"text";let c=await tV[ex.findKey(tV,d)||"text"](t,e);return o||g(),x&&x(),await new Promise((i,s)=>{e0(i,s,{data:c,headers:eX.from(t.headers),status:t.status,statusText:t.statusText,config:e,request:n})})}catch(t){if(g(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new eg("Network Error",eg.ERR_NETWORK,e,n),{cause:t.cause||t});throw eg.from(t,t&&t.code,e,n)}})};ex.forEach(tX,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let tY=e=>`- ${e}`,tQ=e=>ex.isFunction(e)||null===e||!1===e,tZ={getAdapter:e=>{let t,n;let{length:i}=e=ex.isArray(e)?e:[e],s={};for(let a=0;a`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new eg("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(tY).join("\n"):" "+tY(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function t0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eZ(null,e)}function t1(e){return t0(e),e.headers=eX.from(e.headers),e.data=eY.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tZ.getAdapter(e.adapter||eq.adapter)(e).then(function(t){return t0(e),t.data=eY.call(e,e.transformResponse,t),t.headers=eX.from(t.headers),t},function(t){return!eQ(t)&&(t0(e),t&&t.response&&(t.response.data=eY.call(e,e.transformResponse,t.response),t.response.headers=eX.from(t.response.headers))),Promise.reject(t)})}let t2={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{t2[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let t3={};t2.transitional=function(e,t,n){function i(e,t){return"[Axios v"+e9+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,a)=>{if(!1===e)throw new eg(i(s," has been removed"+(t?" in "+t:"")),eg.ERR_DEPRECATED);return t&&!t3[s]&&(t3[s]=!0,console.warn(i(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,a)}};let t4={assertOptions:function(e,t,n){if("object"!=typeof e)throw new eg("options must be an object",eg.ERR_BAD_OPTION_VALUE);let i=Object.keys(e),s=i.length;for(;s-- >0;){let a=i[s],r=t[a];if(r){let t=e[a],n=void 0===t||r(t,a,e);if(!0!==n)throw new eg("option "+a+" must be "+n,eg.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new eg("Unknown option "+a,eg.ERR_BAD_OPTION)}},validators:t2},t8=t4.validators;class t6{constructor(e){this.defaults=e,this.interceptors={request:new eU,response:new eU}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,i;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:s,paramsSerializer:a,headers:r}=t=tA(this.defaults,t);void 0!==s&&t4.assertOptions(s,{silentJSONParsing:t8.transitional(t8.boolean),forcedJSONParsing:t8.transitional(t8.boolean),clarifyTimeoutError:t8.transitional(t8.boolean)},!1),null!=a&&(ex.isFunction(a)?t.paramsSerializer={serialize:a}:t4.assertOptions(a,{encode:t8.function,serialize:t8.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=r&&ex.merge(r.common,r[t.method]);r&&ex.forEach(["delete","get","head","post","put","patch","common"],e=>{delete r[e]}),t.headers=eX.concat(o,r);let c=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,c.unshift(e.fulfilled,e.rejected))});let l=[];this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let p=0;if(!u){let e=[t1.bind(this),void 0];for(e.unshift.apply(e,c),e.push.apply(e,l),i=e.length,n=Promise.resolve(t);p{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,s){n.reason||(n.reason=new eZ(e,i,s),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new t5(function(t){e=t}),cancel:e}}}let t7={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(t7).forEach(([e,t])=>{t7[t]=e});let t9=function e(t){let n=new t6(t),i=P(t6.prototype.request,n);return ex.extend(i,t6.prototype,n,{allOwnKeys:!0}),ex.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(tA(t,n))},i}(eq);t9.Axios=t6,t9.CanceledError=eZ,t9.CancelToken=t5,t9.isCancel=eQ,t9.VERSION=e9,t9.toFormData=eC,t9.AxiosError=eg,t9.Cancel=t9.CanceledError,t9.all=function(e){return Promise.all(e)},t9.spread=function(e){return function(t){return e.apply(null,t)}},t9.isAxiosError=function(e){return ex.isObject(e)&&!0===e.isAxiosError},t9.mergeConfig=tA,t9.AxiosHeaders=eX,t9.formToJSON=e=>eB(ex.isHTMLForm(e)?new FormData(e):e),t9.getAdapter=tZ.getAdapter,t9.HttpStatusCode=t7,t9.default=t9;var ne=n(60474),nt=n.n(ne),nn=n(34065),ni=n.n(nn),ns=n(41482),na=n.n(ns),nr=n(6113),no=n.n(nr),nc=n(18999),nu=n.n(nc),nl=n(23006),np=n.n(nl),nd=n(64702),nh=n.n(nd),nm=n(83968),nf=n.n(nm),nv=n(16041),nx=n.n(nv);function ng(e){return"string"==typeof e}var nb=function(e){var t,n,i,s={},a=String.fromCharCode,r=e.length,o=0,c=0,u="";for(t=0;t<64;t++)s["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(n=0;n=8;)((i=o>>>(c-=8)&255)||ne.length)&&(t=e.length);for(var n=0,i=Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){throw e}),f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){o=!0,a=e}),f:function(){try{r||null==n.return||n.return()}finally{if(o)throw a}}}}(Array.isArray(e)?e:[e]);try{for(i.s();!(t=i.n()).done;){var s=t.value,a=Object.entries(s);a.length>1&&console.warn("client._buildSort() - multiple fields in a single sort object detected. Object's field order is not guaranteed");for(var r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"created_at",s=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=s||n,r=e;n&&(r=r.filter(function(e){return!(e.id&&t.id===e.id)}));var o=r.length;if(0===o&&a)return r.concat(t);if(0===o)return S()(r);var c=t[i].getTime(),u=r[o-1][i].getTime()-1&&o.splice(c,1)}r.own_votes=o;var u=nN(nN({},a),{},{poll:r});i.addMessageSorted(u,!1,!1)}}),I()(this,"updatePoll",function(e,t){var n,s=i.findMessage(t);if(s){var a=nN(nN({},e),{},{own_votes:S()((null===(n=s.poll)||void 0===n?void 0:n.own_votes)||[])}),r=nN(nN({},s),{},{poll:a});i.addMessageSorted(r,!1,!1)}}),I()(this,"updateUserMessages",function(e){var t=function(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"latest";return this.addMessagesSorted([e],t,!1,n,i)}},{key:"formatMessage",value:function(e){return nN(nN({},e),{},{__html:e.html,pinned_at:e.pinned_at?new Date(e.pinned_at):null,created_at:e.created_at?new Date(e.created_at):new Date,updated_at:e.updated_at?new Date(e.updated_at):new Date,status:e.status||"received"})}},{key:"addMessagesSorted",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"current",a=this.findTargetMessageSet(e,i,s),r=a.messagesToAdd,o=a.targetMessageSetIndex,c=0;cthis.last_message_at.getTime()&&(this.last_message_at=new Date(p.created_at.getTime())));var d=p.parent_id;if((!d||p.show_in_channel)&&-1!==o&&(this.messageSets[o].messages=this._addToMessageList(this.messageSets[o].messages,p,t,"created_at",i)),d&&!n){var h=this.threads[d]||[];this.threads[d]=this._addToMessageList(h,p,t,"created_at",i)}}return{messageSet:this.messageSets[o]}}},{key:"addPinnedMessages",value:function(e){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"created_at",s=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return nA(e,t,n,i,s)}},{key:"removeMessage",value:function(e){var t=!1;if(e.parent_id&&this.threads[e.parent_id]){var n=this.removeMessageFromArray(this.threads[e.parent_id],e),i=n.removed,s=n.result;this.threads[e.parent_id]=s,t=i}else{var a,r=null!==(a=e.messageSetIndex)&&void 0!==a?a:this.findMessageSetIndex(e);if(-1!==r){var o=this.removeMessageFromArray(this.messageSets[r].messages,e),c=o.removed,u=o.result;this.messageSets[r].messages=u,t=c}}return t}},{key:"filterErrorMessages",value:function(){var e=this.latestMessages.filter(function(e){return"error"!==e.type});this.latestMessages=e}},{key:"clean",value:function(){for(var e=new Date,t=0,n=Object.entries(this.typing);t7e3&&(delete this.typing[s],this._channel.getClient().dispatchEvent({cid:this._channel.cid,type:"typing.stop",user:{id:s}}))}}},{key:"clearMessages",value:function(){this.initMessages(),this.pinnedMessages=[]}},{key:"initMessages",value:function(){this.messageSets=[{messages:[],isLatest:!0,isCurrent:!0}]}},{key:"loadMessageIntoState",value:(e=R()(A().mark(function e(t,n){var i,s,a,r,o,c,u=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=u.length>2&&void 0!==u[2]?u[2]:25,r=!1,o=!1,c=n||t,"latest"!==t){e.next=10;break}if(this.messages!==this.latestMessages){e.next=7;break}return e.abrupt("return");case 7:a=this.messageSets.findIndex(function(e){return e.isLatest}),e.next=11;break;case 10:a=this.findMessageSetIndex({id:c});case 11:if(-1!==a&&(this.switchToMessageSet(a),r=!0),o=!n||!!(null!==(i=this.threads[n])&&void 0!==i&&i.find(function(e){return e.id===t})),!(r&&o)){e.next=15;break}return e.abrupt("return");case 15:if(r){e.next=18;break}return e.next=18,this._channel.query({messages:{id_around:c,limit:s}},"new");case 18:if(!(!o&&n)){e.next=21;break}return e.next=21,this._channel.getReplies(n,{id_around:t,limit:s});case 21:-1!==(a=this.findMessageSetIndex({id:c}))&&this.switchToMessageSet(a);case 23:case"end":return e.stop()}},e,this)})),function(t,n){return e.apply(this,arguments)})},{key:"findMessage",value:function(e,t){if(t){var n=this.threads[t];if(!n)return;return n.find(function(t){return t.id===e})}var i=this.findMessageSetIndex({id:e});if(-1!==i)return this.messageSets[i].messages.find(function(t){return t.id===e})}},{key:"switchToMessageSet",value:function(e){var t=this.messageSets.find(function(e){return e.isCurrent});t&&(t.isCurrent=!1,this.messageSets[e].isCurrent=!0)}},{key:"areMessageSetsOverlap",value:function(e,t){return e.some(function(e){return t.find(function(t){return e.id===t.id})})}},{key:"findMessageSetIndex",value:function(e){return this.messageSets.findIndex(function(t){return!!t.messages.find(function(t){return t.id===e.id})})}},{key:"findTargetMessageSet",value:function(e){var t,n=this,i=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"current",a=e;if(i){var r=this.messageSets.map(function(e,t){return t}).filter(function(t){return n.areMessageSetsOverlap(n.messageSets[t].messages,e)});switch(s){case"new":r.length>0?t=r[0]:e.some(function(e){return!e.parent_id})&&(this.messageSets.push({messages:[],isCurrent:!1,isLatest:!1}),t=this.messageSets.length-1);break;case"current":t=this.messageSets.findIndex(function(e){return e.isCurrent});break;case"latest":t=this.messageSets.findIndex(function(e){return e.isLatest});break;default:t=-1}var o=r.splice(0,1)[0],c=S()(r);if(void 0!==o&&o!==t&&c.push(t),c.length>0){var u=this.messageSets[o],l=this.messageSets.filter(function(e,t){return -1!==c.indexOf(t)});l.forEach(function(e){u.isLatest=u.isLatest||e.isLatest,u.isCurrent=u.isCurrent||e.isCurrent,a=[].concat(S()(a),S()(e.messages))}),l.forEach(function(e){return n.messageSets.splice(n.messageSets.indexOf(e),1)}),t=this.messageSets.findIndex(function(t){return n.areMessageSetsOverlap(t.messages,e)})}}else t=this.findMessageSetIndex(e[0]);return{targetMessageSetIndex:t,messagesToAdd:a}}}]),t}();function nM(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nF(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nF(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,s=function(){};return{s:s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){o=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(o)throw a}}}}function nF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n1&&void 0!==s[1]?s[1]:{}).offset&&n.next)){e.next=3;break}throw Error("Cannot specify offset with next");case 3:if(i=nB(nB({filter_conditions:{cid:this.cid}},n),{},{sort:n.sort?nR(n.sort):void 0}),"string"!=typeof t){e.next=8;break}i.query=t,e.next=13;break;case 8:if("object"!==y()(t)){e.next=12;break}i.message_filter_conditions=t,e.next=13;break;case 12:throw Error("Invalid type ".concat(y()(t)," for query parameter"));case 13:return e.next=15,this.getClient().wsPromise;case 15:return e.next=17,this.getClient().get(this.getClient().baseURL+"/search",{payload:i});case 17:return e.abrupt("return",e.sent);case 18:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"queryMembers",value:(i=R()(A().mark(function e(t){var n,i,s,a,r,o,c=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=c.length>1&&void 0!==c[1]?c[1]:[],s=c.length>2&&void 0!==c[2]?c[2]:{},r=this.type,this.id?a=this.id:null!==(n=this.data)&&void 0!==n&&n.members&&Array.isArray(this.data.members)&&(o=this.data.members),e.next=6,this.getClient().get(this.getClient().baseURL+"/members",{payload:nB({type:r,id:a,members:o,sort:nR(i),filter_conditions:t},s)});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e){return i.apply(this,arguments)})},{key:"sendReaction",value:(s=R()(A().mark(function e(t,n,i){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Message id is missing");case 2:if(!(!n||0===Object.keys(n).length)){e.next=4;break}throw Error("Reaction object is missing");case 4:return e.next=6,this.getClient().post(this.getClient().baseURL+"/messages/".concat(t,"/reaction"),nB({reaction:n},i));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e,t,n){return s.apply(this,arguments)})},{key:"deleteReaction",value:function(e,t,n){if(this._checkInitialized(),!t||!e)throw Error("Deleting a reaction requires specifying both the message and reaction type");var i=this.getClient().baseURL+"/messages/".concat(e,"/reaction/").concat(t);return n?this.getClient().delete(i,{user_id:n}):this.getClient().delete(i,{})}},{key:"update",value:(a=R()(A().mark(function e(){var t,n,i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1?s[1]:void 0,i=s.length>2?s[2]:void 0,["config","cid","created_by","id","member_count","type","created_at","updated_at","last_message_at","own_capabilities"].forEach(function(e){delete t[e]}),e.next=7,this._update(nB({message:n,data:t},i));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"updatePartial",value:(r=R()(A().mark(function e(t){var n,i,s,a;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().patch(this._channelURL(),t);case 2:return s=e.sent,a=S()(s.channel.own_capabilities||[]).sort().join()!==S()(Array.isArray(null===(n=this.data)||void 0===n?void 0:n.own_capabilities)?null===(i=this.data)||void 0===i?void 0:i.own_capabilities:[]).sort().join(),this.data=s.channel,a&&this.getClient().dispatchEvent({type:"capabilities.changed",cid:this.cid,own_capabilities:s.channel.own_capabilities}),e.abrupt("return",s);case 7:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"enableSlowMode",value:(o=R()(A().mark(function e(t){var n;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),{cooldown:t});case 2:return n=e.sent,this.data=n.channel,e.abrupt("return",n);case 5:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)})},{key:"disableSlowMode",value:(c=R()(A().mark(function e(){var t;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),{cooldown:0});case 2:return t=e.sent,this.data=t.channel,e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)})),function(){return c.apply(this,arguments)})},{key:"delete",value:(u=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().delete(this._channelURL(),nB({},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return u.apply(this,arguments)})},{key:"truncate",value:(l=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().post(this._channelURL()+"/truncate",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return l.apply(this,arguments)})},{key:"acceptInvite",value:(p=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this._update(nB({accept_invite:!0},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return p.apply(this,arguments)})},{key:"rejectInvite",value:(d=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this._update(nB({reject_invite:!0},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"addMembers",value:(h=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(nB({add_members:t,message:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return h.apply(this,arguments)})},{key:"addModerators",value:(m=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(nB({add_moderators:t,message:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return m.apply(this,arguments)})},{key:"assignRoles",value:(f=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(nB({assign_roles:t,message:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return f.apply(this,arguments)})},{key:"inviteMembers",value:(v=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(nB({invites:t,message:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return v.apply(this,arguments)})},{key:"removeMembers",value:(x=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(nB({remove_members:t,message:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return x.apply(this,arguments)})},{key:"demoteModerators",value:(g=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(nB({demote_moderators:t,message:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return g.apply(this,arguments)})},{key:"_update",value:(b=R()(A().mark(function e(t){var n;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),t);case 2:return n=e.sent,this.data=n.channel,e.abrupt("return",n);case 5:case"end":return e.stop()}},e,this)})),function(e){return b.apply(this,arguments)})},{key:"mute",value:(w=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().post(this.getClient().baseURL+"/moderation/mute/channel",nB({channel_cid:this.cid},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return w.apply(this,arguments)})},{key:"unmute",value:(_=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().post(this.getClient().baseURL+"/moderation/unmute/channel",nB({channel_cid:this.cid},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return _.apply(this,arguments)})},{key:"muteStatus",value:function(){return this._checkInitialized(),this.getClient()._muteStatus(this.cid)}},{key:"sendAction",value:function(e,t){if(this._checkInitialized(),!e)throw Error("Message id is missing");return this.getClient().post(this.getClient().baseURL+"/messages/".concat(e,"/action"),{message_id:e,form_data:t,id:this.id,type:this.type})}},{key:"keystroke",value:(k=R()(A().mark(function e(t,n){var i,s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isTypingIndicatorsEnabled()){e.next=2;break}return e.abrupt("return");case 2:if(i=new Date,s=this.lastTypingEvent&&i.getTime()-this.lastTypingEvent.getTime(),this.lastKeyStroke=i,this.isTyping=!0,!(null===s||s>2e3)){e.next=10;break}return this.lastTypingEvent=new Date,e.next=10,this.sendEvent(nB({type:"typing.start",parent_id:t},n||{}));case 10:case"end":return e.stop()}},e,this)})),function(e,t){return k.apply(this,arguments)})},{key:"stopTyping",value:(E=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isTypingIndicatorsEnabled()){e.next=2;break}return e.abrupt("return");case 2:return this.lastTypingEvent=null,this.isTyping=!1,e.next=6,this.sendEvent(nB({type:"typing.stop",parent_id:t},n||{}));case 6:case"end":return e.stop()}},e,this)})),function(e,t){return E.apply(this,arguments)})},{key:"_isTypingIndicatorsEnabled",value:function(){var e,t,n,i,s;return null!==(e=this.getConfig())&&void 0!==e&&!!e.typing_events&&(null===(t=null===(n=this.getClient().user)||void 0===n?void 0:null===(i=n.privacy_settings)||void 0===i?void 0:null===(s=i.typing_indicators)||void 0===s?void 0:s.enabled)||void 0===t||t)}},{key:"lastMessage",value:function(){var e=this.state.latestMessages.length-5;e<0&&(e=0);var t=this.state.latestMessages.length+1,n=this.state.latestMessages.slice(e,t);return n.sort(function(e,t){return t.created_at.getTime()-e.created_at.getTime()}),n[0]}},{key:"markRead",value:(C=R()(A().mark(function e(){var t,n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.length>0&&void 0!==i[0]?i[0]:{},this._checkInitialized(),!(!(null!==(t=this.getConfig())&&void 0!==t&&t.read_events)&&!this.getClient()._isUsingServerAuth())){e.next=4;break}return e.abrupt("return",Promise.resolve(null));case 4:return e.next=6,this.getClient().post(this._channelURL()+"/read",nB({},n));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(){return C.apply(this,arguments)})},{key:"markUnread",value:(j=R()(A().mark(function e(t){var n;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._checkInitialized(),!(!(null!==(n=this.getConfig())&&void 0!==n&&n.read_events)&&!this.getClient()._isUsingServerAuth())){e.next=3;break}return e.abrupt("return",Promise.resolve(null));case 3:return e.next=5,this.getClient().post(this._channelURL()+"/unread",nB({},t));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(e){return j.apply(this,arguments)})},{key:"clean",value:function(){this.lastKeyStroke&&new Date().getTime()-this.lastKeyStroke.getTime()>1e3&&this.isTyping&&function(e,t){e.then().catch(function(e){console.warn("failed to do ".concat(t,", ran into error: "),e)})}(this.stopTyping(),"stop typing event"),this.state.clean()}},{key:"watch",value:(L=R()(A().mark(function e(t){var n,i,s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={state:!0,watch:!0,presence:!1},e.next=3,this.getClient().wsPromise;case 3:return this.getClient()._hasConnectionID()||(n.watch=!1),i=nB(nB({},n),t),e.next=7,this.query(i,"latest");case 7:return s=e.sent,this.initialized=!0,this.data=s.channel,this._client.logger("info","channel:watch() - started watching channel ".concat(this.cid),{tags:["channel"],channel:this}),e.abrupt("return",s);case 12:case"end":return e.stop()}},e,this)})),function(e){return L.apply(this,arguments)})},{key:"stopWatching",value:(U=R()(A().mark(function e(){var t;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL()+"/stop-watching",{});case 2:return t=e.sent,this._client.logger("info","channel:watch() - stopped watching channel ".concat(this.cid),{tags:["channel"],channel:this}),e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)})),function(){return U.apply(this,arguments)})},{key:"getReplies",value:(P=R()(A().mark(function e(t,n,i){var s,a;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=i?nR(i):void 0,e.next=3,this.getClient().get(this.getClient().baseURL+"/messages/".concat(t,"/replies"),nB({sort:s},n));case 3:return(a=e.sent).messages&&this.state.addMessagesSorted(a.messages),e.abrupt("return",a);case 6:case"end":return e.stop()}},e,this)})),function(e,t,n){return P.apply(this,arguments)})},{key:"getPinnedMessages",value:(N=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:[],e.next=3,this.getClient().get(this.getClient().baseURL+"/channels/".concat(this.type,"/").concat(this.id,"/pinned_messages"),{payload:nB(nB({},t),{},{sort:nR(n)})});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return N.apply(this,arguments)})},{key:"getReactions",value:function(e,t){return this.getClient().get(this.getClient().baseURL+"/messages/".concat(e,"/reactions"),nB({},t))}},{key:"getMessagesById",value:function(e){return this.getClient().get(this._channelURL()+"/messages",{ids:e.join(",")})}},{key:"lastRead",value:function(){var e=this.getClient().userID;if(e)return this.state.read[e]?this.state.read[e].last_read:null}},{key:"_countMessageAsUnread",value:function(e){var t,n,i,s;return!(e.shadowed||e.silent||e.parent_id&&!e.show_in_channel||(null===(t=e.user)||void 0===t?void 0:t.id)===this.getClient().userID||null!==(n=e.user)&&void 0!==n&&n.id&&this.getClient().userMuteStatus(e.user.id)||"system"===e.type||Array.isArray(null===(i=this.data)||void 0===i?void 0:i.own_capabilities)&&!(null!==(s=this.data)&&void 0!==s&&s.own_capabilities.includes("read-events")))&&!this.muteStatus().muted}},{key:"countUnread",value:function(e){if(!e)return this.state.unreadCount;for(var t=0,n=0;ne&&this._countMessageAsUnread(i)&&t++}return t}},{key:"countUnreadMentions",value:function(){for(var e=this.lastRead(),t=this.getClient().userID,n=0,i=0;ie)&&null!==(s=a.mentioned_users)&&void 0!==s&&s.some(function(e){return e.id===t})&&n++}return n}},{key:"query",value:(D=R()(A().mark(function e(t){var n,i,s,a,r,o,c,u,l,p=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=p.length>1&&void 0!==p[1]?p[1]:"current",e.next=3,this.getClient().wsPromise;case 3:return a="".concat(this.getClient().baseURL,"/channels/").concat(this.type),this.id&&(a+="/".concat(this.id)),e.next=7,this.getClient().post(a+"/query",nB({data:this._data,state:!0},t));case 7:return r=e.sent,this.id||(this.id=r.channel.id,this.cid=r.channel.cid,o=r.members.map(function(e){var t;return e.user_id||(null===(t=e.user)||void 0===t?void 0:t.id)}).sort().join(","),(c="".concat(this.type,":!members-").concat(o))in this.getClient().activeChannels&&delete this.getClient().activeChannels[c],this.cid in this.getClient().activeChannels||(this.getClient().activeChannels[this.cid]=this)),this.getClient()._addChannelConfig(r.channel),u=this._initializeState(r,s).messageSet,l=S()(r.channel.own_capabilities||[]).sort().join()!==S()(Array.isArray(null===(n=this.data)||void 0===n?void 0:n.own_capabilities)?null===(i=this.data)||void 0===i?void 0:i.own_capabilities:[]).sort().join(),this.data=r.channel,this.offlineMode=!1,l&&this.getClient().dispatchEvent({type:"capabilities.changed",cid:this.cid,own_capabilities:r.channel.own_capabilities}),this.getClient().dispatchEvent({type:"channels.queried",queriedChannels:{channels:[r],isLatestMessageSet:u.isLatest}}),e.abrupt("return",r);case 17:case"end":return e.stop()}},e,this)})),function(e){return D.apply(this,arguments)})},{key:"banUser",value:(M=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().banUser(t,nB(nB({},n),{},{type:this.type,id:this.id}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return M.apply(this,arguments)})},{key:"hide",value:(F=R()(A().mark(function e(){var t,n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:null,n=i.length>1&&void 0!==i[1]&&i[1],this._checkInitialized(),e.next=5,this.getClient().post("".concat(this._channelURL(),"/hide"),{user_id:t,clear_history:n});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return F.apply(this,arguments)})},{key:"show",value:($=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:null,this._checkInitialized(),e.next=4,this.getClient().post("".concat(this._channelURL(),"/show"),{user_id:t});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return $.apply(this,arguments)})},{key:"unbanUser",value:(B=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().unbanUser(t,{type:this.type,id:this.id});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return B.apply(this,arguments)})},{key:"shadowBan",value:(q=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().shadowBan(t,nB(nB({},n),{},{type:this.type,id:this.id}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return q.apply(this,arguments)})},{key:"removeShadowBan",value:(z=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().removeShadowBan(t,{type:this.type,id:this.id});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return z.apply(this,arguments)})},{key:"createCall",value:(W=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL()+"/call",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return W.apply(this,arguments)})},{key:"vote",value:(H=R()(A().mark(function e(t,n,i){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().castPollVote(t,n,i);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return H.apply(this,arguments)})},{key:"removeVote",value:(G=R()(A().mark(function e(t,n,i){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().removePollVote(t,n,i);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return G.apply(this,arguments)})},{key:"on",value:function(e,t){var n=this,i=t?e:"all",s=t||e;return i in this.listeners||(this.listeners[i]=[]),this._client.logger("info","Attaching listener for ".concat(i," event on channel ").concat(this.cid),{tags:["event","channel"],channel:this}),this.listeners[i].push(s),{unsubscribe:function(){n._client.logger("info","Removing listener for ".concat(i," event from channel ").concat(n.cid),{tags:["event","channel"],channel:n}),n.listeners[i]=n.listeners[i].filter(function(e){return e!==s})}}}},{key:"off",value:function(e,t){var n=t?e:"all",i=t||e;n in this.listeners||(this.listeners[n]=[]),this._client.logger("info","Removing listener for ".concat(n," event from channel ").concat(this.cid),{tags:["event","channel"],channel:this}),this.listeners[n]=this.listeners[n].filter(function(e){return e!==i})}},{key:"_handleChannelEvent",value:function(e){this._client.logger("info","channel:_handleChannelEvent - Received event of type { ".concat(e.type," } on ").concat(this.cid),{tags:["event","channel"],channel:this});var t,n,i,s,a,r,o,c,u=this.state;switch(e.type){case"typing.start":null!==(m=e.user)&&void 0!==m&&m.id&&(u.typing[e.user.id]=e);break;case"typing.stop":null!==(f=e.user)&&void 0!==f&&f.id&&delete u.typing[e.user.id];break;case"message.read":null!==(v=e.user)&&void 0!==v&&v.id&&e.created_at&&(u.read[e.user.id]={last_read:new Date(e.created_at),last_read_message_id:e.last_read_message_id,user:e.user,unread_messages:0},(null===(R=e.user)||void 0===R?void 0:R.id)===(null===(C=this.getClient().user)||void 0===C?void 0:C.id)&&(u.unreadCount=0));break;case"user.watching.start":case"user.updated":null!==(x=e.user)&&void 0!==x&&x.id&&(u.watchers[e.user.id]=e.user);break;case"user.watching.stop":null!==(g=e.user)&&void 0!==g&&g.id&&delete u.watchers[e.user.id];break;case"message.deleted":e.message&&(this._extendEventWithOwnReactions(e),e.hard_delete?u.removeMessage(e.message):u.addMessageSorted(e.message,!1,!1),u.removeQuotedMessageReferences(e.message),e.message.pinned&&u.removePinnedMessage(e.message));break;case"message.new":if(e.message){var l,p,d,h,m,f,v,x,g,b,y,w,_,k,S,E,R,C,O,j,T,L=(null===(O=e.user)||void 0===O?void 0:O.id)===(null===(j=this.getClient().user)||void 0===j?void 0:j.id),I=e.message.parent_id&&!e.message.show_in_channel;if((this.state.isUpToDate||I)&&u.addMessageSorted(e.message,L),e.message.pinned&&u.addPinnedMessage(e.message),L||I)break;if(null!==(T=e.user)&&void 0!==T&&T.id)for(var U in u.read)U===e.user.id?u.read[e.user.id]={last_read:new Date(e.created_at),user:e.user,unread_messages:0}:u.read[U].unread_messages+=1;this._countMessageAsUnread(e.message)&&(u.unreadCount=u.unreadCount+1)}break;case"message.updated":case"message.undeleted":e.message&&(this._extendEventWithOwnReactions(e),u.addMessageSorted(e.message,!1,!1),u._updateQuotedMessageReferences({message:e.message}),e.message.pinned?u.addPinnedMessage(e.message):u.removePinnedMessage(e.message));break;case"channel.truncated":if(null!==(b=e.channel)&&void 0!==b&&b.truncated_at){var A=+new Date(e.channel.truncated_at);u.messageSets.forEach(function(e,t){e.messages.forEach(function(e){var n=e.created_at,i=e.id;A>+n&&u.removeMessage({id:i,messageSetIndex:t})})}),u.pinnedMessages.forEach(function(e){var t=e.id;A>+e.created_at&&u.removePinnedMessage({id:t})})}else u.clearMessages();u.unreadCount=0,e.message&&(u.addMessageSorted(e.message),e.message.pinned&&u.addPinnedMessage(e.message));break;case"member.added":case"member.updated":null!==(y=e.member)&&void 0!==y&&y.user_id&&(u.members[e.member.user_id]=e.member);break;case"member.removed":null!==(w=e.user)&&void 0!==w&&w.id&&delete u.members[e.user.id];break;case"notification.mark_unread":if(!((null===(P=e.user)||void 0===P?void 0:P.id)===(null===(N=this.getClient().user)||void 0===N?void 0:N.id)&&e.user))break;var P,N,D,M=null!==(D=e.unread_messages)&&void 0!==D?D:0;u.read[e.user.id]={first_unread_message_id:e.first_unread_message_id,last_read:new Date(e.last_read_at),last_read_message_id:e.last_read_message_id,user:e.user,unread_messages:M},u.unreadCount=M;break;case"channel.updated":e.channel&&((null===(t=e.channel)||void 0===t?void 0:t.frozen)!==void 0&&e.channel.frozen!==(null===(n=this.data)||void 0===n?void 0:n.frozen)&&this.query({state:!1,messages:{limit:0},watchers:{limit:0}}),this.data=nB(nB({},e.channel),{},{hidden:null!==(i=null===(s=e.channel)||void 0===s?void 0:s.hidden)&&void 0!==i?i:null===(a=this.data)||void 0===a?void 0:a.hidden,own_capabilities:null!==(r=null===(o=e.channel)||void 0===o?void 0:o.own_capabilities)&&void 0!==r?r:null===(c=this.data)||void 0===c?void 0:c.own_capabilities}));break;case"poll.updated":e.poll&&u.updatePoll(e.poll,(null===(l=e.message)||void 0===l?void 0:l.id)||"");break;case"poll.vote_casted":e.poll_vote&&e.poll&&u.addPollVote(e.poll_vote,e.poll,(null===(p=e.message)||void 0===p?void 0:p.id)||"");break;case"poll.vote_changed":e.poll_vote&&e.poll&&u.updatePollVote(e.poll_vote,e.poll,(null===(d=e.message)||void 0===d?void 0:d.id)||"");break;case"poll.vote_removed":e.poll_vote&&e.poll&&u.removePollVote(e.poll_vote,e.poll,(null===(h=e.message)||void 0===h?void 0:h.id)||"");break;case"poll.closed":e.message&&u.addMessageSorted(e.message,!1,!1);break;case"reaction.new":e.message&&e.reaction&&(e.message=u.addReaction(e.reaction,e.message));break;case"reaction.deleted":e.reaction&&(e.message=u.removeReaction(e.reaction,e.message));break;case"reaction.updated":e.reaction&&(e.message=u.addReaction(e.reaction,e.message,!0));break;case"channel.hidden":this.data=nB(nB({},this.data),{},{hidden:!0}),e.clear_history&&u.clearMessages();break;case"channel.visible":this.data=nB(nB({},this.data),{},{hidden:!1});break;case"user.banned":if(!(null!==(_=e.user)&&void 0!==_&&_.id))break;u.members[e.user.id]=nB(nB({},u.members[e.user.id]||{}),{},{shadow_banned:!!e.shadow,banned:!e.shadow,user:nB(nB({},(null===(k=u.members[e.user.id])||void 0===k?void 0:k.user)||{}),e.user)});break;case"user.unbanned":if(!(null!==(S=e.user)&&void 0!==S&&S.id))break;u.members[e.user.id]=nB(nB({},u.members[e.user.id]||{}),{},{shadow_banned:!1,banned:!1,user:nB(nB({},(null===(E=u.members[e.user.id])||void 0===E?void 0:E.user)||{}),e.user)})}void 0!==e.watcher_count&&(this.state.watcher_count=e.watcher_count)}},{key:"_checkInitialized",value:function(){if(!this.initialized&&!this.offlineMode&&!this.getClient()._isUsingServerAuth())throw Error("Channel ".concat(this.cid," hasn't been initialized yet. Make sure to call .watch() and wait for it to resolve"))}},{key:"_initializeState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"latest",n=this.getClient(),i=n.state,s=n.user,a=n.userID;if(e.members){var r,o=nM(e.members);try{for(o.s();!(r=o.n()).done;){var c=r.value;c.user&&i.updateUserReference(c.user,this.cid)}}catch(e){o.e(e)}finally{o.f()}}this.state.membership=e.membership||{};var u=e.messages||[];this.state.messages||this.state.initMessages();var l=this.state.addMessagesSorted(u,!1,!0,!0,t).messageSet;if(this.state.pinnedMessages||(this.state.pinnedMessages=[]),this.state.addPinnedMessages(e.pinned_messages||[]),e.pending_messages&&(this.state.pending_messages=e.pending_messages),void 0!==e.watcher_count&&(this.state.watcher_count=e.watcher_count),e.watchers){var p,d=nM(e.watchers);try{for(d.s();!(p=d.n()).done;){var h=p.value;h&&(i.updateUserReference(h,this.cid),this.state.watchers[h.id]=h)}}catch(e){d.e(e)}finally{d.f()}}if(null!=a){var m=this.state.last_message_at||new Date;s&&(this.state.read[s.id]={user:s,last_read:m,unread_messages:0})}if(e.read){var f,v=nM(e.read);try{for(v.s();!(f=v.n()).done;){var x,g=f.value;this.state.read[g.user.id]={last_read:new Date(g.last_read),last_read_message_id:g.last_read_message_id,unread_messages:null!==(x=g.unread_messages)&&void 0!==x?x:0,user:g.user},g.user.id===(null==s?void 0:s.id)&&(this.state.unreadCount=this.state.read[g.user.id].unread_messages)}}catch(e){v.e(e)}finally{v.f()}}return e.members&&(this.state.members=e.members.reduce(function(e,t){return t.user&&(e[t.user.id]=t),e},{})),{messageSet:l}}},{key:"_extendEventWithOwnReactions",value:function(e){if(e.message){var t=this.state.findMessage(e.message.id,e.message.parent_id);t&&(e.message.own_reactions=t.own_reactions)}}},{key:"_disconnect",value:function(){this._client.logger("info","channel:disconnect() - Disconnecting the channel ".concat(this.cid),{tags:["connection","channel"],channel:this}),this.disconnected=!0,this.state.setIsUpToDate(!1)}}]),V}();function nz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){o=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(o)throw a}}}}(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.updateUser(i)}}catch(e){n.e(e)}finally{n.f()}}},{key:"updateUser",value:function(e){null!=e&&(this.users[e.id]=e)}},{key:"updateUserReference",value:function(e,t){null!=e&&(this.updateUser(e),this.userChannelReferences[e.id]||(this.userChannelReferences[e.id]={}),this.userChannelReferences[e.id][t]=!0)}},{key:"deleteAllChannelReference",value:function(e){for(var t in this.userChannelReferences)delete this.userChannelReferences[t][e]}}]),e}();function nH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function nG(e){for(var t=1;t1)||void 0===arguments[1]||arguments[1];void 0!==e.code&&(n=e.code,i="unknown",s=e.reason),void 0!==e.error&&(n=e.error.code,i=e.error.StatusCode,s=e.error.message),t._log("_errorFromWSEvent() - WS failed with code ".concat(n),{event:e},"warn");var r=Error("WS failed with code ".concat(n," and reason - ").concat(s));return r.code=n,r.StatusCode=i,r.isWSFailure=a,r}),I()(this,"_setupConnectionPromise",function(){t.isResolved=!1,t.connectionOpen=new Promise(function(e,n){t.resolvePromise=e,t.rejectPromise=n})}),I()(this,"scheduleNextPing",function(){t.healthCheckTimeoutRef&&clearTimeout(t.healthCheckTimeoutRef),t.healthCheckTimeoutRef=setTimeout(function(){var e,n=[{type:"health.check",client_id:t.client.clientID}];try{null===(e=t.ws)||void 0===e||e.send(JSON.stringify(n))}catch(e){}},t.pingInterval)}),I()(this,"scheduleConnectionCheck",function(){t.connectionCheckTimeoutRef&&clearTimeout(t.connectionCheckTimeoutRef),t.connectionCheckTimeoutRef=setTimeout(function(){var e=new Date;t.lastEvent&&e.getTime()-t.lastEvent.getTime()>t.connectionCheckTimeout&&(t._log("scheduleConnectionCheck - going to reconnect"),t._setHealth(!1),t._reconnect())},t.connectionCheckTimeout)}),this.client=n,this.consecutiveFailures=0,this.totalFailures=0,this.isConnecting=!1,this.isDisconnected=!1,this.isResolved=!1,this.isHealthy=!1,this.wsID=1,this.lastEvent=null,this.pingInterval=25e3,this.connectionCheckTimeout=this.pingInterval+1e4,this.onlineStatusChanged}return T()(s,[{key:"_log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(n,"connection:"+e,function(e){for(var t=1;t0&&void 0!==i[0]?i[0]:15e3,!this.isConnecting){e.next=3;break}throw Error("You've called connect twice, can only attempt 1 connection at the time");case 3:return this.isDisconnected=!1,e.prev=4,e.next=7,this._connect();case 7:n=e.sent,this.consecutiveFailures=0,this._log("connect() - Established ws connection with healthcheck: ".concat(n)),e.next=23;break;case 12:if(e.prev=12,e.t0=e.catch(4),this.isHealthy=!1,this.consecutiveFailures+=1,!(e.t0.code===nE.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())){e.next=21;break}this._log("connect() - WS failure due to expired token, so going to try to reload token and reconnect"),this._reconnect({refreshToken:!0}),e.next=23;break;case 21:if(e.t0.isWSFailure){e.next=23;break}throw Error(JSON.stringify({code:e.t0.code,StatusCode:e.t0.StatusCode,message:e.t0.message,isWSFailure:e.t0.isWSFailure}));case 23:return e.next=25,this._waitForHealthy(t);case 25:return e.abrupt("return",e.sent);case 26:case"end":return e.stop()}},e,this,[[4,12]])})),function(){return e.apply(this,arguments)})},{key:"_waitForHealthy",value:(t=R()(A().mark(function e(){var t,n=this,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:15e3,e.abrupt("return",Promise.race([R()(A().mark(function e(){var i,s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=50,s=0;case 2:if(!(s<=t)){e.next=18;break}return e.prev=3,e.next=6,n.connectionOpen;case 6:return e.abrupt("return",e.sent);case 9:if(e.prev=9,e.t0=e.catch(3),s!==t){e.next=13;break}throw Error(JSON.stringify({code:e.t0.code,StatusCode:e.t0.StatusCode,message:e.t0.message,isWSFailure:e.t0.isWSFailure}));case 13:return e.next=15,nk(i);case 15:s+=i,e.next=2;break;case 18:case"end":return e.stop()}},e,null,[[3,9]])}))(),R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nk(t);case 2:throw n.isConnecting=!1,Error(JSON.stringify({code:"",StatusCode:"",message:"initial WS connection could not be established",isWSFailure:!0}));case 4:case"end":return e.stop()}},e)}))()]));case 2:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)})},{key:"disconnect",value:function(e){var t,n=this;this._log("disconnect() - Closing the websocket connection for wsID ".concat(this.wsID)),this.wsID+=1,this.isConnecting=!1,this.isDisconnected=!0,this.healthCheckTimeoutRef&&clearInterval(this.healthCheckTimeoutRef),this.connectionCheckTimeoutRef&&clearInterval(this.connectionCheckTimeoutRef),this.onlineStatusChanged,this.isHealthy=!1,this.ws&&this.ws.removeAllListeners&&this.ws.removeAllListeners();var i=this.ws;return i&&i.close&&i.readyState===i.OPEN?(t=new Promise(function(t){var s=function(e){n._log("disconnect() - resolving isClosedPromise ".concat(e?"with":"without"," close frame"),{event:e}),t()};i.onclose=s,setTimeout(s,null!=e?e:1e3)}),this._log("disconnect() - Manually closed connection by calling client.disconnect()"),i.close(nE.WS_CLOSED_SUCCESS,"Manually closed connection by calling client.disconnect()")):(this._log("disconnect() - ws connection doesn't exist or it is already closed."),t=Promise.resolve()),delete this.ws,t}},{key:"_connect",value:(n=R()(A().mark(function e(){var t,n,i,s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this.isConnecting||this.isDisconnected&&this.client.options.enableWSFallback)){e.next=2;break}return e.abrupt("return");case 2:return this.isConnecting=!0,this.requestID=nj(),this.client.insightMetrics.connectionStartTimestamp=new Date().getTime(),t=!1,e.prev=6,this._log("_connect() - waiting for token"),e.next=10,this.client.tokenManager.tokenReady();case 10:t=!0,e.next=15;break;case 13:e.prev=13,e.t0=e.catch(6);case 15:if(e.prev=15,t){e.next=20;break}return this._log("_connect() - tokenProvider failed before, so going to retry"),e.next=20,this.client.tokenManager.loadToken();case 20:return this._setupConnectionPromise(),n=this._buildUrl(),this._log("_connect() - Connecting to ".concat(n),{wsURL:n,requestID:this.requestID}),this.ws=new(ni())(n),this.ws.onopen=this.onopen.bind(this,this.wsID),this.ws.onclose=this.onclose.bind(this,this.wsID),this.ws.onerror=this.onerror.bind(this,this.wsID),this.ws.onmessage=this.onmessage.bind(this,this.wsID),e.next=30,this.connectionOpen;case 30:if(i=e.sent,this.isConnecting=!1,!i){e.next=36;break}return this.connectionID=i.connection_id,this.client.insightMetrics.wsConsecutiveFailures>0&&this.client.options.enableInsights&&(nK("ws_success_after_failure",nJ(this)),this.client.insightMetrics.wsConsecutiveFailures=0),e.abrupt("return",i);case 36:e.next=44;break;case 38:throw e.prev=38,e.t1=e.catch(15),this.isConnecting=!1,this._log("_connect() - Error - ",e.t1),this.client.options.enableInsights&&(this.client.insightMetrics.wsConsecutiveFailures++,this.client.insightMetrics.wsTotalFailures++,s=nG(nG({},function(e){var t={};if(!e)return t;try{Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})}catch(e){return{error:"failed to serialize the error"}}return t}(e.t1)),nJ(this)),null==nK||nK("ws_fatal",s)),e.t1;case 44:case"end":return e.stop()}},e,this,[[6,13],[15,38]])})),function(){return n.apply(this,arguments)})},{key:"_reconnect",value:(i=R()(A().mark(function e(){var t,n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:{},this._log("_reconnect() - Initiating the reconnect"),!(this.isConnecting||this.isHealthy)){e.next=5;break}return this._log("_reconnect() - Abort (1) since already connecting or healthy"),e.abrupt("return");case 5:return(n=t.interval)||(n=nC(this.consecutiveFailures)),e.next=9,nk(n);case 9:if(!(this.isConnecting||this.isHealthy)){e.next=12;break}return this._log("_reconnect() - Abort (2) since already connecting or healthy"),e.abrupt("return");case 12:if(!(this.isDisconnected&&this.client.options.enableWSFallback)){e.next=15;break}return this._log("_reconnect() - Abort (3) since disconnect() is called"),e.abrupt("return");case 15:if(this._log("_reconnect() - Destroying current WS connection"),this._destroyCurrentWSConnection(),!t.refreshToken){e.next=20;break}return e.next=20,this.client.tokenManager.loadToken();case 20:return e.prev=20,e.next=23,this._connect();case 23:return this._log("_reconnect() - Waiting for recoverCallBack"),e.next=26,this.client.recoverState();case 26:this._log("_reconnect() - Finished recoverCallBack"),this.consecutiveFailures=0,e.next=38;break;case 30:if(e.prev=30,e.t0=e.catch(20),this.isHealthy=!1,this.consecutiveFailures+=1,!(e.t0.code===nE.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())){e.next=37;break}return this._log("_reconnect() - WS failure due to expired token, so going to try to reload token and reconnect"),e.abrupt("return",this._reconnect({refreshToken:!0}));case 37:e.t0.isWSFailure&&(this._log("_reconnect() - WS failure, so going to try to reconnect"),this._reconnect());case 38:this._log("_reconnect() - == END ==");case 39:case"end":return e.stop()}},e,this,[[20,30]])})),function(){return i.apply(this,arguments)})},{key:"_destroyCurrentWSConnection",value:function(){this.wsID+=1;try{var e,t;this===null||void 0===this||null===(e=this.ws)||void 0===e||e.removeAllListeners(),this===null||void 0===this||null===(t=this.ws)||void 0===t||t.close()}catch(e){}}}]),s}();function nQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function nZ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("string"!=typeof t)throw TypeError("userId should be a string");var s=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=g()({algorithm:"HS256",noTimestamp:!0},t);return na().sign({server:!0},e,n)}var n1=function e(t){var n,i=this;O()(this,e),I()(this,"loadTokenPromise",void 0),I()(this,"type",void 0),I()(this,"secret",void 0),I()(this,"token",void 0),I()(this,"tokenProvider",void 0),I()(this,"user",void 0),I()(this,"setTokenOrProvider",(n=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.validateToken(t,n),i.user=n,nS(t)&&(i.tokenProvider=t,i.type="provider"),"string"==typeof t&&(i.token=t,i.type="static"),!t&&i.user&&i.secret&&(i.token=nZ(i.secret,n.id,{},{}),i.type="static"),e.next=7,i.loadToken();case 7:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)})),I()(this,"reset",function(){i.token=void 0,i.user=void 0,i.loadTokenPromise=null}),I()(this,"validateToken",function(e,t){if(!t||!t.anon||e){if(!i.secret&&!e)throw Error("User token can not be empty");if(e&&"string"!=typeof e&&!nS(e))throw Error("user token should either be a string or a function");if("string"==typeof e){if(t.anon&&""===e)return;var n,s=3!==(n=e.split(".")).length?"":JSON.parse(nb(n[1])).user_id;if(null!=e&&(null==s||""===s||s!==t.id))throw Error("userToken does not have a user_id or is not matching with user.id")}}}),I()(this,"tokenReady",function(){return i.loadTokenPromise}),I()(this,"loadToken",function(){var e;return i.loadTokenPromise=new Promise((e=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("static"!==i.type){e.next=2;break}return e.abrupt("return",t(i.token));case 2:if(!(i.tokenProvider&&"string"!=typeof i.tokenProvider)){e.next=13;break}return e.prev=3,e.next=6,i.tokenProvider();case 6:i.token=e.sent,e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(3),e.abrupt("return",n(Error("Call to tokenProvider failed with message: ".concat(e.t0))));case 12:t(i.token);case 13:case"end":return e.stop()}},e,null,[[3,9]])})),function(t,n){return e.apply(this,arguments)})),i.loadTokenPromise}),I()(this,"getToken",function(){if(i.token||i.user&&i.user.anon&&!i.token)return i.token;if(i.secret)return n0(i.secret);throw Error("Both secret and user tokens are not set. Either client.connectUser wasn't called or client.disconnect was called")}),I()(this,"isStatic",function(){return"static"===i.type}),this.loadTokenPromise=null,t&&(this.secret=t),this.type="static",this.secret&&(this.token=n0(this.secret))},n2={"-1":{name:"InternalSystemError",retryable:!0},2:{name:"AccessKeyError",retryable:!1},3:{name:"AuthenticationFailedError",retryable:!0},4:{name:"InputError",retryable:!1},6:{name:"DuplicateUsernameError",retryable:!1},9:{name:"RateLimitError",retryable:!0},16:{name:"DoesNotExistError",retryable:!1},17:{name:"NotAllowedError",retryable:!1},18:{name:"EventNotSupportedError",retryable:!1},19:{name:"ChannelFeatureNotSupportedError",retryable:!1},20:{name:"MessageTooLongError",retryable:!1},21:{name:"MultipleNestingLevelError",retryable:!1},22:{name:"PayloadTooBigError",retryable:!1},23:{name:"RequestTimeoutError",retryable:!0},24:{name:"MaxHeaderSizeExceededError",retryable:!1},40:{name:"AuthErrorTokenExpired",retryable:!1},41:{name:"AuthErrorTokenNotValidYet",retryable:!1},42:{name:"AuthErrorTokenUsedBeforeIssuedAt",retryable:!1},43:{name:"AuthErrorTokenSignatureInvalid",retryable:!1},44:{name:"CustomCommandEndpointMissingError",retryable:!1},45:{name:"CustomCommandEndpointCallError",retryable:!0},46:{name:"ConnectionIDNotFoundError",retryable:!1},60:{name:"CoolDownError",retryable:!0},69:{name:"ErrWrongRegion",retryable:!1},70:{name:"ErrQueryChannelPermissions",retryable:!1},71:{name:"ErrTooManyConnections",retryable:!0},99:{name:"AppSuspendedError",retryable:!1}};function n3(e){if(!e.code)return!1;var t=n2["".concat(e.code)];return!!t&&t.retryable}function n4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function n8(e){for(var t=1;t0&&void 0!==s[0]&&s[0],i.state!==c.Connecting){e.next=4;break}return i._log("connect() - connecting already in progress",{reconnect:t},"warn"),e.abrupt("return");case 4:if(i.state!==c.Connected){e.next=7;break}return i._log("connect() - already connected and polling",{reconnect:t},"warn"),e.abrupt("return");case 7:return i._setState(c.Connecting),i.connectionID=void 0,e.prev=9,e.next=12,i._req({json:i.client._buildWSPayload()},{timeout:8e3},t);case 12:return n=e.sent.event,i._setState(c.Connected),i.connectionID=n.connection_id,i.client.dispatchEvent(n),i._poll(),t&&i.client.recoverState(),e.abrupt("return",n);case 22:throw e.prev=22,e.t0=e.catch(9),i._setState(c.Closed),e.t0;case 26:case"end":return e.stop()}},e,null,[[9,22]])}))),I()(this,"isHealthy",function(){return!!i.connectionID&&i.state===c.Connected}),I()(this,"disconnect",R()(A().mark(function e(){var t,n,s,a=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>0&&void 0!==a[0]?a[0]:2e3,i._onlineStatusChanged,i._setState(c.Disconnected),null===(t=i.cancelToken)||void 0===t||t.cancel("disconnect() is called"),i.cancelToken=void 0,s=i.connectionID,i.connectionID=void 0,e.prev=7,e.next=10,i._req({close:!0,connection_id:s},{timeout:n},!1);case 10:i._log("disconnect() - Closed connectionID"),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),i._log("disconnect() - Failed",{err:e.t0},"error");case 16:case"end":return e.stop()}},e,null,[[7,13]])}))),this.client=s,this.state=c.Init,this.consecutiveFailures=0,this._onlineStatusChanged}return T()(e,[{key:"_log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(n,"WSConnectionFallback:"+e,n8({tags:["connection_fallback","connection"]},t))}},{key:"_setState",value:function(e){this._log("_setState() - ".concat(e)),this.state===c.Connecting&&e===c.Connected&&this.client.dispatchEvent({type:"connection.changed",online:!0}),(e===c.Closed||e===c.Disconnected)&&this.client.dispatchEvent({type:"connection.changed",online:!1}),this.state=e}}]),e}(),n5=function(){var e,t,n,i,s,a;function r(e,t,n){O()(this,r),I()(this,"id",void 0),I()(this,"data",void 0),I()(this,"client",void 0),this.client=e,this.id=t,this.data=n}return T()(r,[{key:"create",value:(e=R()(A().mark(function e(){var t,n,i,s,a,r,o,c,u,l;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u={id:this.id,message_template:null===(t=this.data)||void 0===t?void 0:t.message_template,segment_ids:null===(n=this.data)||void 0===n?void 0:n.segment_ids,sender_id:null===(i=this.data)||void 0===i?void 0:i.sender_id,channel_template:null===(s=this.data)||void 0===s?void 0:s.channel_template,create_channels:null===(a=this.data)||void 0===a?void 0:a.create_channels,description:null===(r=this.data)||void 0===r?void 0:r.description,name:null===(o=this.data)||void 0===o?void 0:o.name,user_ids:null===(c=this.data)||void 0===c?void 0:c.user_ids},e.next=3,this.client.createCampaign(u);case 3:return l=e.sent,this.id=l.campaign.id,this.data=l.campaign,e.abrupt("return",l);case 7:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"verifyCampaignId",value:function(){if(!this.id)throw Error("Campaign id is missing. Either create the campaign using campaign.create() or set the id during instantiation - const campaign = client.campaign(id)")}},{key:"start",value:(t=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.next=3,this.client.startCampaign(this.id,t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"update",value:(n=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.updateCampaign(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"delete",value:(i=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.next=3,this.client.deleteCampaign(this.id);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"stop",value:(s=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.stopCampaign(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return s.apply(this,arguments)})},{key:"get",value:(a=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.getCampaign(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})}]),r}(),n7=function(){var e,t,n,i,s,a,r,o;function c(e,t,n,i){O()(this,c),I()(this,"type",void 0),I()(this,"id",void 0),I()(this,"client",void 0),I()(this,"data",void 0),this.client=e,this.type=t,this.id=n,this.data=i}return T()(c,[{key:"create",value:(e=R()(A().mark(function e(){var t,n,i,s,a,r;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={name:null===(t=this.data)||void 0===t?void 0:t.name,filter:null===(n=this.data)||void 0===n?void 0:n.filter,description:null===(i=this.data)||void 0===i?void 0:i.description,all_sender_channels:null===(s=this.data)||void 0===s?void 0:s.all_sender_channels,all_users:null===(a=this.data)||void 0===a?void 0:a.all_users},e.abrupt("return",this.client.createSegment(this.type,this.id,r));case 2:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"verifySegmentId",value:function(){if(!this.id)throw Error("Segment id is missing. Either create the segment using segment.create() or set the id during instantiation - const segment = client.segment(id)")}},{key:"get",value:(t=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.getSegment(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"update",value:(n=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.updateSegment(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"addTargets",value:(i=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.addSegmentTargets(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return i.apply(this,arguments)})},{key:"removeTargets",value:(s=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.removeSegmentTargets(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"delete",value:(a=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.deleteSegment(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"targetExists",value:(r=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.segmentTargetExists(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"queryTargets",value:(o=R()(A().mark(function e(){var t,n,i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],i=s.length>2&&void 0!==s[2]?s[2]:{},this.verifySegmentId(),e.abrupt("return",this.client.querySegmentTargets(this.id,t,n,i));case 5:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})}]),c}(),n9=function(e){np()(i,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=nf()(i);return e=t?Reflect.construct(n,arguments,nf()(this).constructor):n.apply(this,arguments),nh()(this,e)});function i(){var e;O()(this,i);for(var t=arguments.length,s=Array(t),a=0;ae.length)&&(t=e.length);for(var n=0,i=Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){o=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(o)throw a}}}}(u);try{for(d.s();!(p=d.n()).done;){var h=p.value;this.read[h.user.id]=ii(ii({},h),{},{last_read:new Date(h.last_read)})}}catch(e){d.e(e)}finally{d.f()}}this.data=l}return T()(e,[{key:"getClient",value:function(){return this._client}},{key:"addReply",value:function(e){if(e.parent_id!==this.message.id)throw Error("Message does not belong to this thread");this.latestReplies=nA(this.latestReplies,nU(e),!0)}},{key:"updateReply",value:function(e){this.latestReplies=this.latestReplies.map(function(t){return t.id===e.id?nU(e):t})}},{key:"updateMessageOrReplyIfExists",value:function(e){if((e.parent_id||e.id===this.message.id)&&(!e.parent_id||e.parent_id===this.message.id)){if(e.parent_id&&e.parent_id===this.message.id){this.updateReply(e);return}e.parent_id||e.id!==this.message.id||(this.message=nU(e))}}},{key:"addReaction",value:function(e,t,n){var i=this;t&&(this.latestReplies=this.latestReplies.map(function(s){return s.id===t.id?nU(i._channel.state.addReaction(e,t,n)):s}))}},{key:"removeReaction",value:function(e,t){var n=this;t&&(this.latestReplies=this.latestReplies.map(function(i){return i.id===t.id?nU(n._channel.state.removeReaction(e,t)):i}))}}]),e}(),ir=["created_at","updated_at","last_active","online"],io=["params","headers"];function ic(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return iu(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iu(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,s=function(){};return{s:s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){o=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(o)throw a}}}}function iu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n3&&void 0!==u[3]?u[3]:{},e.next=3,c.tokenManager.tokenReady();case 3:a=c._enrichAxiosOptions(s),e.prev=4,c._logApiRequest(t,n,i,a),e.t0=t,e.next="get"===e.t0?9:"delete"===e.t0?13:"post"===e.t0?17:"postForm"===e.t0?21:"put"===e.t0?25:"patch"===e.t0?29:"options"===e.t0?33:37;break;case 9:return e.next=11,c.axiosInstance.get(n,a);case 11:case 15:case 19:case 23:case 27:case 31:case 35:return r=e.sent,e.abrupt("break",38);case 13:return e.next=15,c.axiosInstance.delete(n,a);case 17:return e.next=19,c.axiosInstance.post(n,i,a);case 21:return e.next=23,c.axiosInstance.postForm(n,i,a);case 25:return e.next=27,c.axiosInstance.put(n,i,a);case 29:return e.next=31,c.axiosInstance.patch(n,i,a);case 33:return e.next=35,c.axiosInstance.options(n,a);case 37:throw Error("Invalid request type");case 38:return c._logApiResponse(t,n,r),c.consecutiveFailures=0,e.abrupt("return",c.handleResponse(r));case 43:if(e.prev=43,e.t1=e.catch(4),e.t1.client_request_id=null===(o=a.headers)||void 0===o?void 0:o["x-client-request-id"],c._logApiError(t,n,e.t1),c.consecutiveFailures+=1,!e.t1.response){e.next=60;break}if(!(e.t1.response.data.code===nE.TOKEN_EXPIRED&&!c.tokenManager.isStatic())){e.next=57;break}if(!(c.consecutiveFailures>1)){e.next=53;break}return e.next=53,nk(nC(c.consecutiveFailures));case 53:return c.tokenManager.loadToken(),e.next=56,c.doAxiosRequest(t,n,i,s);case 56:return e.abrupt("return",e.sent);case 57:return e.abrupt("return",c.handleResponse(e.t1.response));case 60:throw e.t1;case 61:case"end":return e.stop()}},e,null,[[4,43]])})),function(e,t,n){return r.apply(this,arguments)})),I()(this,"dispatchEvent",function(e){e.received_at||(e.received_at=new Date);var t=c._handleClientEvent(e),n=e.cid,i=n?c.activeChannels[n]:void 0;i&&i._handleChannelEvent(e),c._callClientListeners(e),i&&i._callChannelListeners(e),t.forEach(function(e){return e()})}),I()(this,"handleEvent",function(e){var t=JSON.parse(e.data);c.dispatchEvent(t)}),I()(this,"_updateMemberWatcherReferences",function(e){var t=c.state.userChannelReferences[e.id]||{};for(var n in t){var i=c.activeChannels[n];null!=i&&i.state&&(i.state.members[e.id]&&(i.state.members[e.id].user=e),i.state.watchers[e.id]&&(i.state.watchers[e.id]=e),i.state.read[e.id]&&(i.state.read[e.id].user=e))}}),I()(this,"_updateUserReferences",this._updateMemberWatcherReferences),I()(this,"_updateUserMessageReferences",function(e){var t=c.state.userChannelReferences[e.id]||{};for(var n in t){var i=c.activeChannels[n];if(i){var s=i.state;null==s||s.updateUserMessages(e)}}}),I()(this,"_deleteUserMessageReference",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=c.state.userChannelReferences[e.id]||{};for(var i in n){var s=c.activeChannels[i].state;null==s||s.deleteUserMessages(e,t)}}),I()(this,"_handleUserEvent",function(e){if(e.user){if("user.presence.changed"===e.type||"user.updated"===e.type){if(e.user.id===c.userID){var t=ip({},c.user||{}),n=ip({},c._user||{});for(var i in c.user)i in e.user||({channel_mutes:!0,devices:!0,mutes:!0,total_unread_count:!0,unread_channels:!0,unread_count:!0,unread_threads:!0,invisible:!0,privacy_settings:!0,roles:!0})[i]||(delete t[i],delete n[i]);for(var s in e.user)n&&s in n&&(n[s]=e.user[s]);c._user=ip({},n),c.user=ip(ip({},t),e.user)}c.state.updateUser(e.user),c._updateMemberWatcherReferences(e.user)}"user.updated"===e.type&&c._updateUserMessageReferences(e.user),"user.deleted"===e.type&&e.user.deleted_at&&(e.mark_messages_deleted||e.hard_delete)&&c._deleteUserMessageReference(e.user,e.hard_delete)}}),I()(this,"_callClientListeners",function(e){var t=[];c.listeners.all&&t.push.apply(t,S()(c.listeners.all)),c.listeners[e.type]&&t.push.apply(t,S()(c.listeners[e.type]));for(var n=0;n0&&(s.data=n,s._data=n),s}var a=new nq(c,e,t,n);return c.activeChannels[a.cid]=a,a}),I()(this,"updateUsers",this.upsertUsers),I()(this,"updateUser",this.upsertUser),I()(this,"_unblockMessage",this.unblockMessage),I()(this,"markAllRead",this.markChannelsRead),I()(this,"_isUsingServerAuth",function(){return!!c.secret}),I()(this,"_buildWSPayload",function(e){return JSON.stringify({user_id:c.userID,user_details:c._user,device:c.options.device,client_request_id:e})}),this.key=e,this.listeners={},this.state=new nW,this.mutedChannels=[],this.mutedUsers=[],t&&id(t)&&(this.secret=t);var u=n||(t&&!id(t)?t:{});this.browser=void 0!==u.browser&&u.browser,this.node=!this.browser,this.options=ip({timeout:3e3,withCredentials:!1,warmUp:!1,recoverStateOnReconnect:!0},u),this.node&&!this.options.httpsAgent&&(this.options.httpsAgent=new(e8()).Agent({keepAlive:!0,keepAliveMsecs:3e3})),this.axiosInstance=t9.create(this.options),this.setBaseURL(this.options.baseURL||"https://chat.stream-io-api.com"),"undefined"!=typeof process&&process.env.STREAM_LOCAL_TEST_RUN&&this.setBaseURL("http://localhost:3030"),"undefined"!=typeof process&&process.env.STREAM_LOCAL_TEST_HOST&&this.setBaseURL("http://"+process.env.STREAM_LOCAL_TEST_HOST),this.wsConnection=null,this.wsPromise=null,this.setUserPromise=null,this.activeChannels={},this.configs={},this.anonymous=!1,this.persistUserOnConnectionFailure=null===(o=this.options)||void 0===o?void 0:o.persistUserOnConnectionFailure,this.tokenManager=new n1(this.secret),this.consecutiveFailures=0,this.insightMetrics=new nV,this.defaultWSTimeoutWithFallback=6e3,this.defaultWSTimeout=15e3,this.axiosInstance.defaults.paramsSerializer=nI,this.logger=nS(u.logger)?u.logger:function(){return null},this.recoverStateOnReconnect=this.options.recoverStateOnReconnect}return T()(tn,[{key:"devToken",value:function(e){var t;return["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",(t=JSON.stringify({user_id:e}),(0,v.JQ)(new Uint8Array(function(e,t){var n=[];if(ng(e)&&t&&ng(e)){for(var i=0,s=e.length;i1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/check_push",ip(ip(ip(ip(ip(ip(ip({user_id:t},n.messageID?{message_id:n.messageID}:{}),n.apnTemplate?{apn_template:n.apnTemplate}:{}),n.firebaseTemplate?{firebase_template:n.firebaseTemplate}:{}),n.firebaseDataTemplate?{firebase_data_template:n.firebaseDataTemplate}:{}),n.skipDevices?{skip_devices:!0}:{}),n.pushProviderName?{push_provider_name:n.pushProviderName}:{}),n.pushProviderType?{push_provider_type:n.pushProviderType}:{}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"testSQSSettings",value:(r=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post(this.baseURL+"/check_sqs",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})},{key:"testSNSSettings",value:(o=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post(this.baseURL+"/check_sns",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})},{key:"setGuestUser",value:(c=R()(A().mark(function e(t){var n,i,s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.anonymous=!0,e.prev=1,e.next=4,this.post(this.baseURL+"/guest",{user:t});case 4:n=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),this.anonymous=!1,e.t0;case 11:return this.anonymous=!1,(i=n.user).created_at,i.updated_at,i.last_active,i.online,s=_()(i,ir),e.next=15,this.connectUser(s,n.access_token);case 15:return e.abrupt("return",e.sent);case 16:case"end":return e.stop()}},e,this,[[1,7]])})),function(e){return c.apply(this,arguments)})},{key:"createToken",value:function(e,t,n){if(null==this.secret)throw Error("tokens can only be created server-side using the API Secret");var i={};return t&&(i.exp=t),n&&(i.iat=n),nZ(this.secret,e,i,{})}},{key:"on",value:function(e,t){var n=this,i=t?e:"all",s=t||e;return i in this.listeners||(this.listeners[i]=[]),this.logger("info","Attaching listener for ".concat(i," event"),{tags:["event","client"]}),this.listeners[i].push(s),{unsubscribe:function(){n.logger("info","Removing listener for ".concat(i," event"),{tags:["event","client"]}),n.listeners[i]=n.listeners[i].filter(function(e){return e!==s})}}}},{key:"off",value:function(e,t){var n=t?e:"all",i=t||e;n in this.listeners||(this.listeners[n]=[]),this.logger("info","Removing listener for ".concat(n," event"),{tags:["event","client"]}),this.listeners[n]=this.listeners[n].filter(function(e){return e!==i})}},{key:"_logApiRequest",value:function(e,t,n,i){this.logger("info","client: ".concat(e," - Request - ").concat(t),{tags:["api","api_request","client"],url:t,payload:n,config:i})}},{key:"_logApiResponse",value:function(e,t,n){this.logger("info","client:".concat(e," - Response - url: ").concat(t," > status ").concat(n.status),{tags:["api","api_response","client"],url:t,response:n})}},{key:"_logApiError",value:function(e,t,n){this.logger("error","client:".concat(e," - Error - url: ").concat(t),{tags:["api","api_response","client"],url:t,error:n})}},{key:"get",value:function(e,t){return this.doAxiosRequest("get",e,null,{params:t})}},{key:"put",value:function(e,t){return this.doAxiosRequest("put",e,t)}},{key:"post",value:function(e,t){return this.doAxiosRequest("post",e,t)}},{key:"patch",value:function(e,t){return this.doAxiosRequest("patch",e,t)}},{key:"delete",value:function(e,t){return this.doAxiosRequest("delete",e,null,{params:t})}},{key:"sendFile",value:function(e,t,n,i,s){var a,r,o,c,u=(a=t,r=n,o=i||"multipart/form-data",c=new(e_()),null!==a&&"object"===y()(a)&&(a.readable||"function"==typeof a._read)||null!=a&&null!=a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)?r?c.append("file",a,r):c.append("file",a):c.append("file",{uri:a,name:r||a.split("/").reverse()[0],contentType:o||void 0,type:o||void 0}),c);return null!=s&&u.append("user",JSON.stringify(s)),this.doAxiosRequest("postForm",e,u,{headers:u.getHeaders?u.getHeaders():{},config:{timeout:0,maxContentLength:1/0,maxBodyLength:1/0}})}},{key:"errorFromResponse",value:function(e){var t;return t=new n9("StreamChat error HTTP code: ".concat(e.status)),e.data&&e.data.code&&((t=Error("StreamChat error code ".concat(e.data.code,": ").concat(e.data.message))).code=e.data.code),t.response=e,t.status=e.status,t}},{key:"handleResponse",value:function(e){var t=e.data;if(!e.status||e.status<200||300<=e.status)throw this.errorFromResponse(e);return t}},{key:"_handleClientEvent",value:function(e){var t,n,i,s=this,a=[];return this.logger("info","client:_handleClientEvent - Received event of type { ".concat(e.type," }"),{tags:["event","client"],event:e}),("user.presence.changed"===e.type||"user.updated"===e.type||"user.deleted"===e.type)&&this._handleUserEvent(e),"health.check"===e.type&&e.me&&(this.user=e.me,this.state.updateUser(e.me),this.mutedChannels=e.me.channel_mutes,this.mutedUsers=e.me.mutes),e.channel&&"notification.message_new"===e.type&&this._addChannelConfig(e.channel),"notification.channel_mutes_updated"===e.type&&null!==(n=e.me)&&void 0!==n&&n.channel_mutes&&(this.mutedChannels=e.me.channel_mutes),"notification.mutes_updated"===e.type&&null!==(i=e.me)&&void 0!==i&&i.mutes&&(this.mutedUsers=e.me.mutes),"notification.mark_read"===e.type&&0===e.unread_channels&&Object.keys(this.activeChannels).forEach(function(e){return s.activeChannels[e].state.unreadCount=0}),("channel.deleted"===e.type||"notification.channel_deleted"===e.type)&&e.cid&&(this.state.deleteAllChannelReference(e.cid),null===(t=this.activeChannels[e.cid])||void 0===t||t._disconnect(),a.push(function(){e.cid&&delete s.activeChannels[e.cid]})),a}},{key:"_muteStatus",value:function(e){for(var t,n=0;nnew Date().getTime(),createdAt:s.created_at?new Date(s.created_at):new Date,expiresAt:s.expires?new Date(s.expires):null};break}}return t||{muted:!1,createdAt:null,expiresAt:null}}},{key:"connect",value:(u=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!this.userID||!this._user)){e.next=2;break}throw Error("Call connectUser or connectAnonymousUser before starting the connection");case 2:if(this.wsBaseURL){e.next=4;break}throw Error("Websocket base url not set");case 4:if(this.clientID){e.next=6;break}throw Error("clientID is not set");case 6:if(!this.wsConnection&&(this.options.warmUp||this.options.enableInsights)&&this._sayHi(),this.options.wsConnection&&this.node?(this.options.wsConnection.setClient(this),this.wsConnection=this.options.wsConnection):this.wsConnection=new nY({client:this}),e.prev=8,!this.wsFallback){e.next=13;break}return e.next=12,this.wsFallback.connect();case 12:case 15:case 28:return e.abrupt("return",e.sent);case 13:return e.next=15,this.wsConnection.connect(this.options.enableWSFallback?this.defaultWSTimeoutWithFallback:this.defaultWSTimeout);case 18:if(e.prev=18,e.t0=e.catch(8),!(this.options.enableWSFallback&&function(e){if("boolean"==typeof e.isWSFailure)return e.isWSFailure;try{return JSON.parse(e.message).isWSFailure}catch(e){return!1}}(e.t0)&&function(){var e="undefined"!=typeof navigator?navigator:void 0;return e?"boolean"!=typeof e.onLine||e.onLine:(console.warn("isOnline failed to access window.navigator and assume browser is online"),!0)}())){e.next=29;break}return this.logger("info","client:connect() - WS failed, fallback to longpoll",{tags:["connection","client"]}),this.dispatchEvent({type:"transport.changed",mode:"longpoll"}),this.wsConnection._destroyCurrentWSConnection(),this.wsConnection.disconnect().then(),this.wsFallback=new n6({client:this}),e.next=28,this.wsFallback.connect();case 29:throw e.t0;case 30:case"end":return e.stop()}},e,this,[[8,18]])})),function(){return u.apply(this,arguments)})},{key:"_sayHi",value:function(){var e=this,t=nj();this.doAxiosRequest("get",this.baseURL+"/hi",null,{headers:{"x-client-request-id":t}}).catch(function(n){e.options.enableInsights&&nK("http_hi_failed",{api_key:e.key,err:n,client_request_id:t})})}},{key:"queryUsers",value:(l=R()(A().mark(function e(t){var n,i,s,a,r=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:[],i=r.length>2&&void 0!==r[2]?r[2]:{},s={presence:!1},e.next=5,this.wsPromise;case 5:return this._hasConnectionID()||(s.presence=!1),e.next=8,this.get(this.baseURL+"/users",{payload:ip(ip({filter_conditions:t,sort:nR(n)},s),i)});case 8:return a=e.sent,this.state.updateUsers(a.users),e.abrupt("return",a);case 11:case"end":return e.stop()}},e,this)})),function(e){return l.apply(this,arguments)})},{key:"queryBannedUsers",value:(p=R()(A().mark(function e(){var t,n,i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=5,this.get(this.baseURL+"/query_banned_users",{payload:ip({filter_conditions:t,sort:nR(n)},i)});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return p.apply(this,arguments)})},{key:"queryMessageFlags",value:(d=R()(A().mark(function e(){var t,n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=4,this.get(this.baseURL+"/moderation/flags/message",{payload:ip({filter_conditions:t},n)});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"queryChannels",value:(h=R()(A().mark(function e(t){var n,i,s,a,r,o,c=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:[],i=c.length>2&&void 0!==c[2]?c[2]:{},s=c.length>3&&void 0!==c[3]?c[3]:{},a={state:!0,watch:!0,presence:!1},e.next=6,this.wsPromise;case 6:return this._hasConnectionID()||(a.watch=!1),r=ip(ip({filter_conditions:t,sort:nR(n)},a),i),e.next=10,this.post(this.baseURL+"/channels",r);case 10:return o=e.sent,this.dispatchEvent({type:"channels.queried",queriedChannels:{channels:o.channels,isLatestMessageSet:!0}}),e.abrupt("return",this.hydrateActiveChannels(o.channels,s));case 13:case"end":return e.stop()}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"queryReactions",value:(m=R()(A().mark(function e(t,n){var i,s,a,r=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.length>2&&void 0!==r[2]?r[2]:[],s=r.length>3&&void 0!==r[3]?r[3]:{},e.next=4,this.wsPromise;case 4:return a=ip({filter:n,sort:nR(i)},s),e.next=7,this.post(this.baseURL+"/messages/"+t+"/reactions",a);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(e,t){return m.apply(this,arguments)})},{key:"hydrateActiveChannels",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.skipInitialization,s=n.offlineMode,a=void 0!==s&&s,r=ic(t);try{for(r.s();!(e=r.n()).done;){var o=e.value;this._addChannelConfig(o.channel)}}catch(e){r.e(e)}finally{r.f()}var c,u=[],l=ic(t);try{for(l.s();!(c=l.n()).done;){var p=c.value,d=this.channel(p.channel.type,p.channel.id);d.data=p.channel,d.offlineMode=a,d.initialized=!a,void 0===i?d._initializeState(p,"latest"):i.includes(p.channel.id)||(d.state.clearMessages(),d._initializeState(p,"latest")),u.push(d)}}catch(e){l.e(e)}finally{l.f()}return u}},{key:"search",value:(f=R()(A().mark(function e(t,n){var i,s,a=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((i=a.length>2&&void 0!==a[2]?a[2]:{}).offset&&i.next)){e.next=3;break}throw Error("Cannot specify offset with next");case 3:if(s=ip(ip({filter_conditions:t},i),{},{sort:i.sort?nR(i.sort):void 0}),"string"!=typeof n){e.next=8;break}s.query=n,e.next=13;break;case 8:if("object"!==y()(n)){e.next=12;break}s.message_filter_conditions=n,e.next=13;break;case 12:throw Error("Invalid type ".concat(y()(n)," for query parameter"));case 13:return e.next=15,this.wsPromise;case 15:return e.next=17,this.get(this.baseURL+"/search",{payload:s});case 17:return e.abrupt("return",e.sent);case 18:case"end":return e.stop()}},e,this)})),function(e,t){return f.apply(this,arguments)})},{key:"setLocalDevice",value:function(e){var t,n,i;if(null!==(t=this.wsConnection)&&void 0!==t&&t.isConnecting&&this.wsPromise||(null!==(n=this.wsConnection)&&void 0!==n&&n.isHealthy||null!==(i=this.wsFallback)&&void 0!==i&&i.isHealthy())&&this._hasConnectionID())throw Error("you can only set device before opening a websocket connection");this.options.device=e}},{key:"addDevice",value:(x=R()(A().mark(function e(t,n,i,s){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/devices",ip(ip({id:t,push_provider:n},null!=i?{user_id:i}:{}),null!=s?{push_provider_name:s}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n,i){return x.apply(this,arguments)})},{key:"getDevices",value:(b=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/devices",t?{user_id:t}:{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return b.apply(this,arguments)})},{key:"getUnreadCount",value:(w=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/unread",t?{user_id:t}:{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return w.apply(this,arguments)})},{key:"getUnreadCountBatch",value:(k=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/unread_batch",{user_ids:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return k.apply(this,arguments)})},{key:"removeDevice",value:(E=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/devices",ip({id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return E.apply(this,arguments)})},{key:"getRateLimits",value:(C=R()(A().mark(function e(t){var n,i,s,a,r,o;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=(n=t||{}).serverSide,s=n.web,a=n.android,r=n.ios,o=n.endpoints,e.abrupt("return",this.get(this.baseURL+"/rate_limits",{server_side:i,web:s,android:a,ios:r,endpoints:o?o.join(","):void 0}));case 2:case"end":return e.stop()}},e,this)})),function(e){return C.apply(this,arguments)})},{key:"_addChannelConfig",value:function(e){var t=e.cid,n=e.config;this.configs[t]=n}},{key:"channel",value:function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.userID&&!this._isUsingServerAuth())throw Error("Call connectUser or connectAnonymousUser before creating a channel");if(~e.indexOf(":"))throw Error("Invalid channel group ".concat(e,", can't contain the : character"));return t&&"object"===y()(t)?this.getChannelByMembers(e,t):!t&&"object"===y()(i)&&null!==(n=i.members)&&void 0!==n&&n.length?this.getChannelByMembers(e,i):t?this.getChannelById(e,t,i):new nq(this,e,void 0,i)}},{key:"partialUpdateUser",value:(j=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.partialUpdateUsers([t]);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return j.apply(this,arguments)})},{key:"upsertUsers",value:(L=R()(A().mark(function e(t){var n,i,s,a;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={},i=ic(t),e.prev=2,i.s();case 4:if((s=i.n()).done){e.next=11;break}if((a=s.value).id){e.next=8;break}throw Error("User ID is required when updating a user");case 8:n[a.id]=a;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),i.e(e.t0);case 16:return e.prev=16,i.f(),e.finish(16);case 19:return e.next=21,this.post(this.baseURL+"/users",{users:n});case 21:return e.abrupt("return",e.sent);case 22:case"end":return e.stop()}},e,this,[[2,13,16,19]])})),function(e){return L.apply(this,arguments)})},{key:"upsertUser",value:function(e){return this.upsertUsers([e])}},{key:"partialUpdateUsers",value:(U=R()(A().mark(function e(t){var n,i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=ic(t),e.prev=1,n.s();case 3:if((i=n.n()).done){e.next=9;break}if(i.value.id){e.next=7;break}throw Error("User ID is required when updating a user");case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:return e.next=19,this.patch(this.baseURL+"/users",{users:t});case 19:return e.abrupt("return",e.sent);case 20:case"end":return e.stop()}},e,this,[[1,11,14,17]])})),function(e){return U.apply(this,arguments)})},{key:"deleteUser",value:(P=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/users/".concat(t),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return P.apply(this,arguments)})},{key:"restoreUsers",value:(N=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/restore",{user_ids:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return N.apply(this,arguments)})},{key:"reactivateUser",value:(D=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/".concat(t,"/reactivate"),ip({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return D.apply(this,arguments)})},{key:"reactivateUsers",value:(M=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/reactivate",ip({user_ids:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return M.apply(this,arguments)})},{key:"deactivateUser",value:(F=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/".concat(t,"/deactivate"),ip({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return F.apply(this,arguments)})},{key:"deactivateUsers",value:($=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/deactivate",ip({user_ids:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return $.apply(this,arguments)})},{key:"exportUser",value:(B=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/users/".concat(t,"/export"),ip({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return B.apply(this,arguments)})},{key:"banUser",value:(q=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/moderation/ban",ip({target_user_id:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return q.apply(this,arguments)})},{key:"unbanUser",value:(z=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/moderation/ban",ip({target_user_id:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return z.apply(this,arguments)})},{key:"shadowBan",value:(W=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.banUser(t,ip({shadow:!0},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return W.apply(this,arguments)})},{key:"removeShadowBan",value:(H=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.unbanUser(t,ip({shadow:!0},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return H.apply(this,arguments)})},{key:"blockUser",value:(G=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/block",ip({blocked_user_id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return G.apply(this,arguments)})},{key:"getBlockedUsers",value:(V=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/users/block",ip({},t?{user_id:t}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return V.apply(this,arguments)})},{key:"unBlockUser",value:(K=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/unblock",ip({blocked_user_id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return K.apply(this,arguments)})},{key:"muteUser",value:(J=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this.post(this.baseURL+"/moderation/mute",ip(ip({target_id:t},n?{user_id:n}:{}),i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return J.apply(this,arguments)})},{key:"unmuteUser",value:(X=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/moderation/unmute",ip({target_id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return X.apply(this,arguments)})},{key:"userMuteStatus",value:function(e){if(!this.user||!this.wsPromise)throw Error("Make sure to await connectUser() first.");for(var t=0;t1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/flag",ip({target_message_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return Y.apply(this,arguments)})},{key:"flagUser",value:(Q=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/flag",ip({target_user_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return Q.apply(this,arguments)})},{key:"unflagMessage",value:(Z=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unflag",ip({target_message_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return Z.apply(this,arguments)})},{key:"unflagUser",value:(ee=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unflag",ip({target_user_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return ee.apply(this,arguments)})},{key:"getCallToken",value:(et=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/calls/".concat(t),ip({},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return et.apply(this,arguments)})},{key:"_queryFlags",value:(en=R()(A().mark(function e(){var t,n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=4,this.post(this.baseURL+"/moderation/flags",ip({filter_conditions:t},n));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return en.apply(this,arguments)})},{key:"_queryFlagReports",value:(ei=R()(A().mark(function e(){var t,n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=4,this.post(this.baseURL+"/moderation/reports",ip({filter_conditions:t},n));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return ei.apply(this,arguments)})},{key:"_reviewFlagReport",value:(es=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this.patch(this.baseURL+"/moderation/reports/".concat(t),ip({review_result:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return es.apply(this,arguments)})},{key:"unblockMessage",value:(ea=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unblock_message",ip({target_message_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return ea.apply(this,arguments)})},{key:"markChannelsRead",value:(er=R()(A().mark(function e(){var t,n=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post(this.baseURL+"/channels/read",ip({},t));case 3:case"end":return e.stop()}},e,this)})),function(){return er.apply(this,arguments)})},{key:"createCommand",value:function(e){return this.post(this.baseURL+"/commands",e)}},{key:"getCommand",value:function(e){return this.get(this.baseURL+"/commands/".concat(e))}},{key:"updateCommand",value:function(e,t){return this.put(this.baseURL+"/commands/".concat(e),t)}},{key:"deleteCommand",value:function(e){return this.delete(this.baseURL+"/commands/".concat(e))}},{key:"listCommands",value:function(){return this.get(this.baseURL+"/commands")}},{key:"createChannelType",value:function(e){var t=g()({},{commands:["all"]},e);return this.post(this.baseURL+"/channeltypes",t)}},{key:"getChannelType",value:function(e){return this.get(this.baseURL+"/channeltypes/".concat(e))}},{key:"updateChannelType",value:function(e,t){return this.put(this.baseURL+"/channeltypes/".concat(e),t)}},{key:"deleteChannelType",value:function(e){return this.delete(this.baseURL+"/channeltypes/".concat(e))}},{key:"listChannelTypes",value:function(){return this.get(this.baseURL+"/channeltypes")}},{key:"translateMessage",value:(eo=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/translate"),{language:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eo.apply(this,arguments)})},{key:"_normalizeExpiration",value:function(e){var t=null;if("number"==typeof e){var n=new Date;n.setSeconds(n.getSeconds()+e),t=n.toISOString()}else id(e)?t=e:e instanceof Date&&(t=e.toISOString());return t}},{key:"_validateAndGetMessageId",value:function(e,t){var n;if("string"==typeof e)n=e;else{if(!e.id)throw Error(t);n=e.id}return n}},{key:"pinMessage",value:function(e,t,n,i){var s=this._validateAndGetMessageId(e,"Please specify the message id when calling unpinMessage");return this.partialUpdateMessage(s,{set:{pinned:!0,pin_expires:this._normalizeExpiration(t),pinned_at:this._normalizeExpiration(i)}},n)}},{key:"unpinMessage",value:function(e,t){var n=this._validateAndGetMessageId(e,"Please specify the message id when calling unpinMessage");return this.partialUpdateMessage(n,{set:{pinned:!1}},t)}},{key:"updateMessage",value:(ec=R()(A().mark(function e(t,n,i){var s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.id){e.next=2;break}throw Error("Please specify the message id when calling updateMessage");case 2:return s=g()({},t),delete s.id,["command","created_at","html","latest_reactions","own_reactions","quoted_message","reaction_counts","reply_count","type","updated_at","user","__html"].forEach(function(e){null!=s[e]&&delete s[e]}),null!=n&&(id(n)?s.user_id=n:s.user={id:n.id}),Array.isArray(s.mentioned_users)&&!id(s.mentioned_users[0])&&(s.mentioned_users=s.mentioned_users.map(function(e){return e.id})),e.next=10,this.post(this.baseURL+"/messages/".concat(t.id),ip({message:s},i));case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}},e,this)})),function(e,t,n){return ec.apply(this,arguments)})},{key:"partialUpdateMessage",value:(eu=R()(A().mark(function e(t,n,i,s){var a;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Please specify the message id when calling partialUpdateMessage");case 2:return a=i,null!=i&&id(i)&&(a={id:i}),e.next=6,this.put(this.baseURL+"/messages/".concat(t),ip(ip(ip({},n),s),{},{user:a}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e,t,n,i){return eu.apply(this,arguments)})},{key:"deleteMessage",value:(el=R()(A().mark(function e(t,n){var i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i={},n&&(i={hard:!0}),e.next=4,this.delete(this.baseURL+"/messages/".concat(t),i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return el.apply(this,arguments)})},{key:"undeleteMessage",value:(ep=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/undelete"),{undeleted_by:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ep.apply(this,arguments)})},{key:"getMessage",value:(ed=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/messages/".concat(encodeURIComponent(t)),ip({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ed.apply(this,arguments)})},{key:"queryThreads",value:(eh=R()(A().mark(function e(t){var n,i,s=this;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=ip({limit:10,participant_limit:10,reply_limit:3,watch:!0},t),e.next=3,this.post(this.baseURL+"/threads",n);case 3:return i=e.sent,e.abrupt("return",{threads:i.threads.map(function(e){return new ia(s,e)}),next:i.next});case 5:case"end":return e.stop()}},e,this)})),function(e){return eh.apply(this,arguments)})},{key:"getThread",value:(em=R()(A().mark(function e(t){var n,i,s,a=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=a.length>1&&void 0!==a[1]?a[1]:{},t){e.next=3;break}throw Error("Please specify the message id when calling partialUpdateThread");case 3:return i=ip({participant_limit:100,reply_limit:3,watch:!0},n),e.next=6,this.get(this.baseURL+"/threads/".concat(t),i);case 6:return s=e.sent,e.abrupt("return",new ia(this,s.thread));case 8:case"end":return e.stop()}},e,this)})),function(e){return em.apply(this,arguments)})},{key:"partialUpdateThread",value:(ef=R()(A().mark(function e(t,n){var i,s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Please specify the message id when calling partialUpdateThread");case 2:i=["created_at","id","last_message_at","type","updated_at","user","reply_count","participants","channel"],e.t0=A().keys(ip(ip({},n.set),n.unset));case 4:if((e.t1=e.t0()).done){e.next=10;break}if(s=e.t1.value,!i.includes(s)){e.next=8;break}throw Error("You cannot set ".concat(s," field on Thread object. ").concat(s," is reserved for server-side use. Please omit ").concat(s," from your set object."));case 8:e.next=4;break;case 10:return e.next=12,this.patch(this.baseURL+"/threads/".concat(t),n);case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}},e,this)})),function(e,t){return ef.apply(this,arguments)})},{key:"getUserAgent",value:function(){return this.userAgent||"stream-chat-javascript-client-".concat(this.node?"node":"browser","-","8.37.0")}},{key:"setUserAgent",value:function(e){this.userAgent=e}},{key:"_enrichAxiosOptions",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{params:{},headers:{},config:{}},n=this._getToken(),i=null;null!==this.nextRequestAbortController&&(i=this.nextRequestAbortController.signal,this.nextRequestAbortController=null),null!==(e=t.headers)&&void 0!==e&&e["x-client-request-id"]||(t.headers=ip(ip({},t.headers),{},{"x-client-request-id":nj()}));var s=this.options.axiosRequestConfig||{},a=s.params,r=s.headers,o=_()(s,io);return ip(ip(ip({params:ip(ip({user_id:this.userID,connection_id:this._getConnectionID(),api_key:this.key},t.params),a||{}),headers:ip(ip(ip({},n?{Authorization:n}:void 0),{},{"stream-auth-type":this.getAuthType(),"X-Stream-Client":this.getUserAgent()},t.headers),r||{})},i?{signal:i}:{}),t.config),o||{})}},{key:"_getToken",value:function(){return!this.tokenManager||this.anonymous?null:this.tokenManager.getToken()}},{key:"_startCleaning",value:function(){var e=this;null==this.cleaningIntervalRef&&(this.cleaningIntervalRef=setInterval(function(){for(var t=0,n=Object.values(e.activeChannels);t2&&void 0!==arguments[2]?arguments[2]:{};return this.post("".concat(this.baseURL,"/sync"),ip({channel_cids:e,last_sync_at:t},n))}},{key:"sendUserCustomEvent",value:(ev=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post("".concat(this.baseURL,"/users/").concat(t,"/event"),{event:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ev.apply(this,arguments)})},{key:"createBlockList",value:function(e){return this.post("".concat(this.baseURL,"/blocklists"),e)}},{key:"listBlockLists",value:function(){return this.get("".concat(this.baseURL,"/blocklists"))}},{key:"getBlockList",value:function(e){return this.get("".concat(this.baseURL,"/blocklists/").concat(e))}},{key:"updateBlockList",value:function(e,t){return this.put("".concat(this.baseURL,"/blocklists/").concat(e),t)}},{key:"deleteBlockList",value:function(e){return this.delete("".concat(this.baseURL,"/blocklists/").concat(e))}},{key:"exportChannels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ip({channels:e},t);return this.post("".concat(this.baseURL,"/export_channels"),n)}},{key:"exportUsers",value:function(e){return this.post("".concat(this.baseURL,"/export/users"),e)}},{key:"exportChannel",value:function(e,t){return this.exportChannels([e],t)}},{key:"getExportChannelStatus",value:function(e){return this.get("".concat(this.baseURL,"/export_channels/").concat(e))}},{key:"campaign",value:function(e,t){return e&&"object"===y()(e)?new n5(this,null,e):new n5(this,e,t)}},{key:"segment",value:function(e,t,n){return"string"==typeof t?new n7(this,e,t,n):new n7(this,e,null,t)}},{key:"validateServerSideAuth",value:function(){if(!this.secret)throw Error("Campaigns is a server-side only feature. Please initialize the client with a secret to use this feature.")}},{key:"createSegment",value:(ex=R()(A().mark(function e(t,n,i){var s;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),s=ip({id:n,type:t},i),e.abrupt("return",this.post(this.baseURL+"/segments",s));case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return ex.apply(this,arguments)})},{key:"createUserSegment",value:(eg=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.createSegment("user",t,n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eg.apply(this,arguments)})},{key:"createChannelSegment",value:(eb=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.createSegment("channel",t,n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eb.apply(this,arguments)})},{key:"getSegment",value:(ey=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/segments/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return ey.apply(this,arguments)})},{key:"updateSegment",value:(ew=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.put(this.baseURL+"/segments/".concat(t),n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return ew.apply(this,arguments)})},{key:"addSegmentTargets",value:(ek=R()(A().mark(function e(t,n){var i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),i={target_ids:n},e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/addtargets"),i));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ek.apply(this,arguments)})},{key:"querySegmentTargets",value:(eS=R()(A().mark(function e(t){var n,i,s,a=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},i=a.length>2&&void 0!==a[2]?a[2]:[],s=a.length>3&&void 0!==a[3]?a[3]:{},this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/targets/query"),ip({filter:n||{},sort:i||[]},s)));case 5:case"end":return e.stop()}},e,this)})),function(e){return eS.apply(this,arguments)})},{key:"removeSegmentTargets",value:(eE=R()(A().mark(function e(t,n){var i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),i={target_ids:n},e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/deletetargets"),i));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eE.apply(this,arguments)})},{key:"querySegments",value:(eR=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/segments/query",ip({filter:t,sort:n},i)));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eR.apply(this,arguments)})},{key:"deleteSegment",value:(eC=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.delete(this.baseURL+"/segments/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eC.apply(this,arguments)})},{key:"segmentTargetExists",value:(eO=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/segments/".concat(t,"/target/").concat(n)));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eO.apply(this,arguments)})},{key:"createCampaign",value:(ej=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns",ip({},t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return ej.apply(this,arguments)})},{key:"getCampaign",value:(eT=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/campaigns/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eT.apply(this,arguments)})},{key:"startCampaign",value:(eL=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns/".concat(t,"/start"),{scheduled_for:null==n?void 0:n.scheduledFor,stop_at:null==n?void 0:n.stopAt}));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eL.apply(this,arguments)})},{key:"queryCampaigns",value:(eI=R()(A().mark(function e(t,n,i){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.next=3,this.post(this.baseURL+"/campaigns/query",ip({filter:t,sort:n},i||{}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t,n){return eI.apply(this,arguments)})},{key:"updateCampaign",value:(eU=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.put(this.baseURL+"/campaigns/".concat(t),n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eU.apply(this,arguments)})},{key:"deleteCampaign",value:(eA=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.delete(this.baseURL+"/campaigns/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eA.apply(this,arguments)})},{key:"stopCampaign",value:(eP=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns/".concat(t,"/stop")));case 2:case"end":return e.stop()}},e,this)})),function(e){return eP.apply(this,arguments)})},{key:"enrichURL",value:(eN=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.get(this.baseURL+"/og",{url:t}));case 1:case"end":return e.stop()}},e,this)})),function(e){return eN.apply(this,arguments)})},{key:"getTask",value:(eD=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.get("".concat(this.baseURL,"/tasks/").concat(t)));case 1:case"end":return e.stop()}},e,this)})),function(e){return eD.apply(this,arguments)})},{key:"deleteChannels",value:(eM=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/channels/delete",ip({cids:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eM.apply(this,arguments)})},{key:"deleteUsers",value:(eF=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==(n=i.length>1&&void 0!==i[1]?i[1]:{}).user&&!["soft","hard","pruning"].includes(n.user))){e.next=3;break}throw Error("Invalid delete user options. user must be one of [soft hard pruning]");case 3:if(!(void 0!==n.conversations&&!["soft","hard"].includes(n.conversations))){e.next=5;break}throw Error("Invalid delete user options. conversations must be one of [soft hard]");case 5:if(!(void 0!==n.messages&&!["soft","hard","pruning"].includes(n.messages))){e.next=7;break}throw Error("Invalid delete user options. messages must be one of [soft hard pruning]");case 7:return e.next=9,this.post(this.baseURL+"/users/delete",ip({user_ids:t},n));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}},e,this)})),function(e){return eF.apply(this,arguments)})},{key:"_createImportURL",value:(e$=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/import_urls",{filename:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return e$.apply(this,arguments)})},{key:"_createImport",value:(eB=R()(A().mark(function e(t){var n,i=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{mode:"upsert"},e.next=3,this.post(this.baseURL+"/imports",ip({path:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eB.apply(this,arguments)})},{key:"_getImport",value:(eq=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/imports/".concat(t));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eq.apply(this,arguments)})},{key:"_listImports",value:(ez=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/imports",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return ez.apply(this,arguments)})},{key:"upsertPushProvider",value:(eW=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/push_providers",{push_provider:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eW.apply(this,arguments)})},{key:"deletePushProvider",value:(eH=R()(A().mark(function e(t){var n,i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,i=t.name,e.next=3,this.delete(this.baseURL+"/push_providers/".concat(n,"/").concat(i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eH.apply(this,arguments)})},{key:"listPushProviders",value:(eG=R()(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/push_providers");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(){return eG.apply(this,arguments)})},{key:"createAbortControllerForNextRequest",value:function(){return this.nextRequestAbortController=new AbortController}},{key:"commitMessage",value:(eV=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/commit"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eV.apply(this,arguments)})},{key:"createPoll",value:(eK=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/polls",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eK.apply(this,arguments)})},{key:"getPoll",value:(eJ=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/polls/".concat(t),ip({},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eJ.apply(this,arguments)})},{key:"updatePoll",value:(eX=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.put(this.baseURL+"/polls",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eX.apply(this,arguments)})},{key:"partialUpdatePoll",value:(eY=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.patch(this.baseURL+"/polls/".concat(t),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eY.apply(this,arguments)})},{key:"deletePoll",value:(eQ=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/polls/".concat(t),ip({},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eQ.apply(this,arguments)})},{key:"closePoll",value:(eZ=R()(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.partialUpdatePoll(t,{set:{is_closed:!0}}));case 1:case"end":return e.stop()}},e,this)})),function(e){return eZ.apply(this,arguments)})},{key:"createPollOption",value:(e0=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/polls/".concat(t,"/options"),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e0.apply(this,arguments)})},{key:"getPollOption",value:(e1=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/polls/".concat(t,"/options/").concat(n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e1.apply(this,arguments)})},{key:"updatePollOption",value:(e2=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.put(this.baseURL+"/polls/".concat(t,"/options"),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e2.apply(this,arguments)})},{key:"deletePollOption",value:(e3=R()(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/polls/".concat(t,"/options/").concat(n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e3.apply(this,arguments)})},{key:"castPollVote",value:(e4=R()(A().mark(function e(t,n,i){var s,a=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=a.length>3&&void 0!==a[3]?a[3]:{},e.next=3,this.post(this.baseURL+"/messages/".concat(t,"/polls/").concat(n,"/vote"),ip({vote:i},s));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t,n){return e4.apply(this,arguments)})},{key:"addPollAnswer",value:(e6=R()(A().mark(function e(t,n,i){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.castPollVote(t,n,{answer_text:i}));case 1:case"end":return e.stop()}},e,this)})),function(e,t,n){return e6.apply(this,arguments)})},{key:"removePollVote",value:(e5=R()(A().mark(function e(t,n,i){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/messages/".concat(t,"/polls/").concat(n,"/vote/").concat(i));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return e5.apply(this,arguments)})},{key:"queryPolls",value:(e7=R()(A().mark(function e(){var t,n,i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=5,this.post(this.baseURL+"/polls/query",ip({filter:t,sort:nR(n)},i));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return e7.apply(this,arguments)})},{key:"queryPollVotes",value:(e9=R()(A().mark(function e(t){var n,i,s,a=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},i=a.length>2&&void 0!==a[2]?a[2]:[],s=a.length>3&&void 0!==a[3]?a[3]:{},e.next=5,this.post(this.baseURL+"/polls/".concat(t,"/votes"),ip({filter:n,sort:nR(i)},s));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(e){return e9.apply(this,arguments)})},{key:"queryMessageHistory",value:(te=R()(A().mark(function e(){var t,n,i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=5,this.post(this.baseURL+"/messages/history",ip({filter:t,sort:nR(n)},i));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return te.apply(this,arguments)})},{key:"updateFlags",value:(tt=R()(A().mark(function e(t,n){var i,s=arguments;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this.post(this.baseURL+"/automod/v1/moderation/update_flags",ip({message_ids:t,reviewed_by:n},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return tt.apply(this,arguments)})}],[{key:"getInstance",value:function(e,t,n){return tn._instance||("string"==typeof t?tn._instance=new tn(e,t,n):tn._instance=new tn(e,t)),tn._instance}}]),tn}();I()(ih,"_instance",void 0);var im="Allow",iv=["*"],ix=["*"],ig=function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:iv,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ix,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:im;O()(this,e),I()(this,"name",void 0),I()(this,"action",void 0),I()(this,"owner",void 0),I()(this,"priority",void 0),I()(this,"resources",void 0),I()(this,"roles",void 0),this.name=t,this.action=r,this.owner=a,this.priority=n,this.resources=i,this.roles=s};async function ib(e){console.log("POST /api/create-user");let t=(await e.json()).userId,n=process.env.REACT_APP_STREAM_SECRET||"Set API Secret",i=ih.getInstance("5nz6vmfhyptn",n);await i.upsertUser({id:t,role:"user"});let s=i.createToken(t);return f.NextResponse.json({userToken:s})}new ig("Allow all",999,iv,ix,!1,im),new ig("Deny all",1,iv,ix,!1,"Deny");let iy=new d.AppRouteRouteModule({definition:{kind:h.x.APP_ROUTE,page:"/api/create-user/route",pathname:"/api/create-user",filename:"route",bundlePath:"app/api/create-user/route"},resolvedPagePath:"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/api/create-user/route.ts",nextConfigOutput:"",userland:p}),{requestAsyncStorage:iw,staticGenerationAsyncStorage:i_,serverHooks:ik}=iy,iS="/api/create-user/route";function iE(){return(0,m.patchFetch)({serverHooks:ik,staticGenerationAsyncStorage:i_})}},16811:(e,t,n)=>{e.exports={parallel:n(65903),serial:n(11610),serialOrdered:n(37854)}},45961:e=>{e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}};function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}},96446:(e,t,n)=>{var i=n(10516);e.exports=function(e){var t=!1;return i(function(){t=!0}),function(n,s){t?e(n,s):i(function(){e(n,s)})}}},10516:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},39262:(e,t,n)=>{var i=n(96446),s=n(45961);e.exports=function(e,t,n,a){var r,o,c=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[c]=(r=e[c],o=function(e,t){c in n.jobs&&(delete n.jobs[c],e?s(n):n.results[c]=t,a(e,n.results))},2==t.length?t(r,i(o)):t(r,c,i(o)))}},66924:e=>{e.exports=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])}),i}},3528:(e,t,n)=>{var i=n(45961),s=n(96446);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,i(this),s(e)(null,this.results))}},65903:(e,t,n)=>{var i=n(39262),s=n(66924),a=n(3528);e.exports=function(e,t,n){for(var r=s(e);r.index<(r.keyedList||e).length;)i(e,t,r,function(e,t){if(e){n(e,t);return}if(0===Object.keys(r.jobs).length){n(null,r.results);return}}),r.index++;return a.bind(r,n)}},11610:(e,t,n)=>{var i=n(37854);e.exports=function(e,t,n){return i(e,t,null,n)}},37854:(e,t,n)=>{var i=n(39262),s=n(66924),a=n(3528);function r(e,t){return et?1:0}e.exports=function(e,t,n,r){var o=s(e,n);return i(e,t,o,function n(s,a){if(s){r(s,a);return}if(o.index++,o.index<(o.keyedList||e).length){i(e,t,o,n);return}r(null,o.results)}),a.bind(o,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return -1*r(e,t)}},45017:(e,t)=>{"use strict";t.JQ=function(e){for(var t,i=e.length,s=i%3,a=[],r=0,o=i-s;r>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return a.join("")}(e,r,r+16383>o?o:r+16383));return 1===s?a.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===s&&a.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),a.join("")};for(var n=[],i=[],s=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),a=0,r=s.length;a{"use strict";var i=n(14300).Buffer,s=n(14300).SlowBuffer;function a(e,t){if(!i.isBuffer(e)||!i.isBuffer(t)||e.length!==t.length)return!1;for(var n=0,s=0;s{var i=n(73837),s=n(12781).Stream,a=n(90932);function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=r,i.inherits(r,s),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof a)){var t=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return s.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},r.prototype._realGetNext=function(){var e=this._streams.shift();if(void 0===e){this.end();return}if("function"!=typeof e){this._pipeNext(e);return}e((function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}).bind(this))},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e)){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}this.write(e),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},19145:e=>{function t(e,t,n,i){return Math.round(e/n)+" "+i+(t>=1.5*n?"s":"")}e.exports=function(e,n){n=n||{};var i,s,a=typeof e;if("string"===a&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===a&&isFinite(e))return n.long?(i=Math.abs(e))>=864e5?t(e,i,864e5,"day"):i>=36e5?t(e,i,36e5,"hour"):i>=6e4?t(e,i,6e4,"minute"):i>=1e3?t(e,i,1e3,"second"):e+" ms":(s=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":s>=36e5?Math.round(e/36e5)+"h":s>=6e4?Math.round(e/6e4)+"m":s>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},93050:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,s=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(s=i))}),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(30783)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},30783:(e,t,n)=>{e.exports=function(e){function t(e){let n,s,a;let r=null;function o(...e){if(!o.enabled)return;let i=Number(new Date),s=i-(n||i);o.diff=s,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";a++;let s=t.formatters[i];if("function"==typeof s){let t=e[a];n=s.call(o,t),e.splice(a,1),a--}return n}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=i,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(s!==t.namespaces&&(s=t.namespaces,a=t.enabled(e)),a),set:e=>{r=e}}),"function"==typeof t.init&&t.init(o),o}function i(e,n){let i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(s),...t.skips.map(s).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let i=("string"==typeof e?e:"").split(/[\s,]+/),s=i.length;for(n=0;n{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"undefined"==typeof process||"renderer"===process.type||process.__nwjs?e.exports=n(93050):e.exports=n(12226)},12226:(e,t,n)=>{let i=n(76224),s=n(73837);t.init=function(e){e.inspectOpts={};let n=Object.keys(t.inspectOpts);for(let i=0;i{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=n(Object(function(){var e=Error("Cannot find module 'supports-color'");throw e.code="MODULE_NOT_FOUND",e}()));e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e},{}),e.exports=n(30783)(t);let{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts)}},90932:(e,t,n)=>{var i=n(12781).Stream,s=n(73837);function a(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=a,s.inherits(a,i),a.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var s=e.emit;return e.emit=function(){return n._handleEmit(arguments),s.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(a.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),a.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},a.prototype.resume=function(){this._released||this.release(),this.source.resume()},a.prototype.pause=function(){this.source.pause()},a.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(e){this.emit.apply(this,e)}).bind(this)),this._bufferedEvents=[]},a.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},a.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}"data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)},a.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(e))}}},97145:(e,t,n)=>{"use strict";var i=n(18243).Buffer,s=n(41457);function a(e){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function r(e,t,n){for(var i=0;t+i=128&&--i,i}e.exports={derToJose:function(e,t){e=a(e);var n=s(t),r=n+1,o=e.length,c=0;if(48!==e[c++])throw Error('Could not find expected "seq"');var u=e[c++];if(129===u&&(u=e[c++]),o-c{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var n={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=n[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}},62502:(e,t,n)=>{var i;e.exports=function(){if(!i){try{i=n(19092)("follow-redirects")}catch(e){}"function"!=typeof i&&(i=function(){})}i.apply(null,arguments)}},86875:(e,t,n)=>{var i=n(57310),s=i.URL,a=n(13685),r=n(95687),o=n(12781).Writable,c=n(39491),u=n(62502),l=!1;try{c(new s)}catch(e){l="ERR_INVALID_URL"===e.code}var p=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],h=Object.create(null);d.forEach(function(e){h[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}});var m=C("ERR_INVALID_URL","Invalid URL",TypeError),f=C("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),v=C("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",f),x=C("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),g=C("ERR_STREAM_WRITE_AFTER_END","write after end"),b=o.prototype.destroy||_;function y(e,t){o.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof f?e:new f({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(i){var a=i+":",r=n[a]=e[i],o=t[i]=Object.create(r);Object.defineProperties(o,{request:{value:function(e,i,r){var o;return(o=e,s&&o instanceof s)?e=E(e):j(e)?e=E(k(e)):(r=i,i=S(e),e={protocol:a}),T(i)&&(r=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,j(i.host)||j(i.hostname)||(i.hostname="::1"),c.equal(i.protocol,a,"protocol mismatch"),u("options",i),new y(i,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=o.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})}),t}function _(){}function k(e){var t;if(l)t=new s(e);else if(!j((t=S(i.parse(e))).protocol))throw new m({input:e});return t}function S(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname)||/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new m({input:e.href||e});return e}function E(e,t){var n=t||{};for(var i of p)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function R(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function C(e,t,n){function i(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function O(e,t){for(var n of d)e.removeListener(n,h[n]);e.on("error",_),e.destroy(t)}function j(e){return"string"==typeof e||e instanceof String}function T(e){return"function"==typeof e}y.prototype=Object.create(o.prototype),y.prototype.abort=function(){O(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},y.prototype.destroy=function(e){return O(this._currentRequest,e),b.call(this,e),this},y.prototype.write=function(e,t,n){if(this._ending)throw new g;if(!j(e)&&!("object"==typeof e&&"length"in e))throw TypeError("data should be a string, Buffer or Uint8Array");if(T(t)&&(n=t,t=null),0===e.length){n&&n();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new x),this.abort())},y.prototype.end=function(e,t,n){if(T(e)?(n=e,e=t=null):T(t)&&(n=t,t=null),e){var i=this,s=this._currentRequest;this.write(e,t,function(){i._ended=!0,s.end(null,null,n)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},y.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function s(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),i(t)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),n.removeListener("close",a),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",s)}return t&&this.on("timeout",t),this.socket?s(this.socket):this._currentRequest.once("socket",s),this.on("socket",i),this.on("abort",a),this.on("error",a),this.on("response",a),this.on("close",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){y.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})}),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},y.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var s=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(s._redirectable=this,d))s.on(a,h[a]);if(this._currentUrl=/^\//.test(this._options.path)?i.format(this._options):this._options.path,this._isRedirect){var r=0,o=this,c=this._requestBodyBuffers;!function e(t){if(s===o._currentRequest){if(t)o.emit("error",t);else if(r=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(O(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new v;var p=this._options.beforeRedirect;p&&(a=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var d=this._options.method;(301!==r&&302!==r||"POST"!==this._options.method)&&(303!==r||/^(?:GET|HEAD)$/.test(this._options.method))||(this._options.method="GET",this._requestBodyBuffers=[],R(/^content-/i,this._options.headers));var h=R(/^host$/i,this._options.headers),m=k(this._currentUrl),f=h||m.host,x=/^\w+:/.test(o)?this._currentUrl:i.format(Object.assign(m,{host:f})),g=l?new s(o,x):k(i.resolve(x,o));if(u("redirecting to",g.href),this._isRedirect=!0,E(g,this._options),(g.protocol===m.protocol||"https:"===g.protocol)&&(g.host===f||(c(j(t=g.host)&&j(f)),(n=t.length-f.length-1)>0&&"."===t[n]&&t.endsWith(f)))||R(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),T(p)){var b={headers:e.headers,statusCode:r},y={url:x,method:d,headers:a};p(this._options,b,y),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:a,https:r}),e.exports.wrap=w},32291:(e,t,n)=>{var i=n(59130),s=n(73837),a=n(71017),r=n(13685),o=n(95687),c=n(57310).parse,u=n(57147),l=n(12781).Stream,p=n(89427),d=n(16811),h=n(9060);function m(e){if(!(this instanceof m))return new m(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],i.call(this),e=e||{})this[t]=e[t]}e.exports=m,s.inherits(m,i),m.LINE_BREAK="\r\n",m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var a=i.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),s.isArray(t)){this._error(Error("Arrays are not supported."));return}var r=this._multiPartHeader(e,t,n),o=this._multiPartFooter();a(r),a(t),a(o),this._trackLength(r,t,n)},m.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+m.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},m.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?void 0!=e.end&&e.end!=1/0&&void 0!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,function(n,i){if(n){t(n);return}t(null,i.size-(e.start?e.start:0))}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(n){e.pause(),t(null,+n.headers["content-length"])}),e.resume()):t("Unknown stream")},m.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,s=this._getContentDisposition(t,n),a=this._getContentType(t,n),r="",o={"Content-Disposition":["form-data",'name="'+e+'"'].concat(s||[]),"Content-Type":[].concat(a||[])};for(var c in"object"==typeof n.header&&h(o,n.header),o)if(o.hasOwnProperty(c)){if(null==(i=o[c]))continue;Array.isArray(i)||(i=[i]),i.length&&(r+=c+": "+i.join("; ")+m.LINE_BREAK)}return"--"+this.getBoundary()+m.LINE_BREAK+r+m.LINE_BREAK},m.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=a.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=a.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=a.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},m.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=p.lookup(e.name)),!n&&e.path&&(n=p.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=p.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=m.DEFAULT_CONTENT_TYPE),n},m.prototype._multiPartFooter=function(){return(function(e){var t=m.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}).bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},m.prototype.setBoundary=function(e){this._boundary=e},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n{e.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}},42857:(e,t,n)=>{var i=n(80843);e.exports=function(e,t){t=t||{};var n=i.decode(e,t);if(!n)return null;var s=n.payload;if("string"==typeof s)try{var a=JSON.parse(s);null!==a&&"object"==typeof a&&(s=a)}catch(e){}return!0===t.complete?{header:n.header,payload:s,signature:n.signature}:s}},41482:(e,t,n)=>{e.exports={decode:n(42857),verify:n(88061),sign:n(73601),JsonWebTokenError:n(453),NotBeforeError:n(37565),TokenExpiredError:n(32658)}},453:e=>{var t=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},37565:(e,t,n)=>{var i=n(453),s=function(e,t){i.call(this,e),this.name="NotBeforeError",this.date=t};s.prototype=Object.create(i.prototype),s.prototype.constructor=s,e.exports=s},32658:(e,t,n)=>{var i=n(453),s=function(e,t){i.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};s.prototype=Object.create(i.prototype),s.prototype.constructor=s,e.exports=s},91440:(e,t,n)=>{let i=n(90799);e.exports=i.satisfies(process.version,">=15.7.0")},33051:(e,t,n)=>{var i=n(90799);e.exports=i.satisfies(process.version,"^6.12.0 || >=8.0.0")},41790:(e,t,n)=>{let i=n(90799);e.exports=i.satisfies(process.version,">=16.9.0")},73258:(e,t,n)=>{var i=n(13974);e.exports=function(e,t){var n=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var s=i(e);if(void 0===s)return;return Math.floor(n+s/1e3)}if("number"==typeof e)return n+e}},59279:(e,t,n)=>{let i=n(91440),s=n(41790),a={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},r={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e.exports=function(e,t){if(!e||!t)return;let n=t.asymmetricKeyType;if(!n)return;let o=a[n];if(!o)throw Error(`Unknown key type "${n}".`);if(!o.includes(e))throw Error(`"alg" parameter for "${n}" key type must be one of: ${o.join(", ")}.`);if(i)switch(n){case"ec":let c=t.asymmetricKeyDetails.namedCurve,u=r[e];if(c!==u)throw Error(`"alg" parameter "${e}" requires curve "${u}".`);break;case"rsa-pss":if(s){let n=parseInt(e.slice(-3),10),{hashAlgorithm:i,mgf1HashAlgorithm:s,saltLength:a}=t.asymmetricKeyDetails;if(i!==`sha${n}`||s!==i)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==a&&a>n>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},73601:(e,t,n)=>{let i=n(73258),s=n(33051),a=n(59279),r=n(80843),o=n(22086),c=n(21724),u=n(54591),l=n(59366),p=n(29080),d=n(71380),h=n(32144),{KeyObject:m,createSecretKey:f,createPrivateKey:v}=n(6113),x=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];s&&x.splice(3,0,"PS256","PS384","PS512");let g={expiresIn:{isValid:function(e){return u(e)||d(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return u(e)||d(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return d(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:o.bind(null,x),message:'"algorithm" must be a valid string enum value'},header:{isValid:p,message:'"header" must be an object'},encoding:{isValid:d,message:'"encoding" must be a string'},issuer:{isValid:d,message:'"issuer" must be a string'},subject:{isValid:d,message:'"subject" must be a string'},jwtid:{isValid:d,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:d,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},b={iat:{isValid:l,message:'"iat" should be a number of seconds'},exp:{isValid:l,message:'"exp" should be a number of seconds'},nbf:{isValid:l,message:'"nbf" should be a number of seconds'}};function y(e,t,n,i){if(!p(n))throw Error('Expected "'+i+'" to be a plain object.');Object.keys(n).forEach(function(s){let a=e[s];if(!a){if(!t)throw Error('"'+s+'" is not allowed in "'+i+'"');return}if(!a.isValid(n[s]))throw Error(a.message)})}let w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},_=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,t,n,s){var o,c;"function"==typeof n?(s=n,n={}):n=n||{};let u="object"==typeof e&&!Buffer.isBuffer(e),l=Object.assign({alg:n.algorithm||"HS256",typ:u?"JWT":void 0,kid:n.keyid},n.header);function p(e){if(s)return s(e);throw e}if(!t&&"none"!==n.algorithm)return p(Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof m))try{t=v(t)}catch(e){try{t=f("string"==typeof t?Buffer.from(t):t)}catch(e){return p(Error("secretOrPrivateKey is not valid key material"))}}if(l.alg.startsWith("HS")&&"secret"!==t.type)return p(Error(`secretOrPrivateKey must be a symmetric key when using ${l.alg}`));if(/^(?:RS|PS|ES)/.test(l.alg)){if("private"!==t.type)return p(Error(`secretOrPrivateKey must be an asymmetric key when using ${l.alg}`));if(!n.allowInsecureKeySizes&&!l.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return p(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${l.alg}`))}if(void 0===e)return p(Error("payload is required"));if(u){try{o=e,y(b,!0,o,"payload")}catch(e){return p(e)}n.mutatePayload||(e=Object.assign({},e))}else{let t=_.filter(function(e){return void 0!==n[e]});if(t.length>0)return p(Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==n.expiresIn)return p(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==n.notBefore)return p(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{c=n,y(g,!1,c,"options")}catch(e){return p(e)}if(!n.allowInvalidAsymmetricKeyTypes)try{a(l.alg,t)}catch(e){return p(e)}let d=e.iat||Math.floor(Date.now()/1e3);if(n.noTimestamp?delete e.iat:u&&(e.iat=d),void 0!==n.notBefore){try{e.nbf=i(n.notBefore,d)}catch(e){return p(e)}if(void 0===e.nbf)return p(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==n.expiresIn&&"object"==typeof e){try{e.exp=i(n.expiresIn,d)}catch(e){return p(e)}if(void 0===e.exp)return p(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(w).forEach(function(t){let i=w[t];if(void 0!==n[t]){if(void 0!==e[i])return p(Error('Bad "options.'+t+'" option. The payload already has an "'+i+'" property.'));e[i]=n[t]}});let x=n.encoding||"utf8";if("function"==typeof s)s=s&&h(s),r.createSign({header:l,privateKey:t,payload:e,encoding:x}).once("error",s).once("done",function(e){if(!n.allowInsecureKeySizes&&/^(?:RS|PS)/.test(l.alg)&&e.length<256)return s(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${l.alg}`));s(null,e)});else{let i=r.sign({header:l,payload:e,secret:t,encoding:x});if(!n.allowInsecureKeySizes&&/^(?:RS|PS)/.test(l.alg)&&i.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${l.alg}`);return i}}},88061:(e,t,n)=>{let i=n(453),s=n(37565),a=n(32658),r=n(42857),o=n(73258),c=n(59279),u=n(33051),l=n(80843),{KeyObject:p,createSecretKey:d,createPublicKey:h}=n(6113),m=["RS256","RS384","RS512"],f=["ES256","ES384","ES512"],v=["RS256","RS384","RS512"],x=["HS256","HS384","HS512"];u&&(m.splice(m.length,0,"PS256","PS384","PS512"),v.splice(v.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,n,u){let g,b,y;if("function"!=typeof n||u||(u=n,n={}),n||(n={}),n=Object.assign({},n),g=u||function(e,t){if(e)throw e;return t},n.clockTimestamp&&"number"!=typeof n.clockTimestamp)return g(new i("clockTimestamp must be a number"));if(void 0!==n.nonce&&("string"!=typeof n.nonce||""===n.nonce.trim()))return g(new i("nonce must be a non-empty string"));if(void 0!==n.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof n.allowInvalidAsymmetricKeyTypes)return g(new i("allowInvalidAsymmetricKeyTypes must be a boolean"));let w=n.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return g(new i("jwt must be provided"));if("string"!=typeof e)return g(new i("jwt must be a string"));let _=e.split(".");if(3!==_.length)return g(new i("jwt malformed"));try{b=r(e,{complete:!0})}catch(e){return g(e)}if(!b)return g(new i("invalid token"));let k=b.header;if("function"==typeof t){if(!u)return g(new i("verify must be called asynchronous if secret or public key is provided as a callback"));y=t}else y=function(e,n){return n(null,t)};return y(k,function(t,r){let u;if(t)return g(new i("error in secret or public key callback: "+t.message));let y=""!==_[2].trim();if(!y&&r)return g(new i("jwt signature is required"));if(y&&!r)return g(new i("secret or public key must be provided"));if(!y&&!n.algorithms)return g(new i('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=r&&!(r instanceof p))try{r=h(r)}catch(e){try{r=d("string"==typeof r?Buffer.from(r):r)}catch(e){return g(new i("secretOrPublicKey is not valid key material"))}}if(n.algorithms||("secret"===r.type?n.algorithms=x:["rsa","rsa-pss"].includes(r.asymmetricKeyType)?n.algorithms=v:"ec"===r.asymmetricKeyType?n.algorithms=f:n.algorithms=m),-1===n.algorithms.indexOf(b.header.alg))return g(new i("invalid algorithm"));if(k.alg.startsWith("HS")&&"secret"!==r.type)return g(new i(`secretOrPublicKey must be a symmetric key when using ${k.alg}`));if(/^(?:RS|PS|ES)/.test(k.alg)&&"public"!==r.type)return g(new i(`secretOrPublicKey must be an asymmetric key when using ${k.alg}`));if(!n.allowInvalidAsymmetricKeyTypes)try{c(k.alg,r)}catch(e){return g(e)}try{u=l.verify(e,b.header.alg,r)}catch(e){return g(e)}if(!u)return g(new i("invalid signature"));let S=b.payload;if(void 0!==S.nbf&&!n.ignoreNotBefore){if("number"!=typeof S.nbf)return g(new i("invalid nbf value"));if(S.nbf>w+(n.clockTolerance||0))return g(new s("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!n.ignoreExpiration){if("number"!=typeof S.exp)return g(new i("invalid exp value"));if(w>=S.exp+(n.clockTolerance||0))return g(new a("jwt expired",new Date(1e3*S.exp)))}if(n.audience){let e=Array.isArray(n.audience)?n.audience:[n.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some(function(t){return e.some(function(e){return e instanceof RegExp?e.test(t):e===t})}))return g(new i("jwt audience invalid. expected: "+e.join(" or ")))}if(n.issuer&&("string"==typeof n.issuer&&S.iss!==n.issuer||Array.isArray(n.issuer)&&-1===n.issuer.indexOf(S.iss)))return g(new i("jwt issuer invalid. expected: "+n.issuer));if(n.subject&&S.sub!==n.subject)return g(new i("jwt subject invalid. expected: "+n.subject));if(n.jwtid&&S.jti!==n.jwtid)return g(new i("jwt jwtid invalid. expected: "+n.jwtid));if(n.nonce&&S.nonce!==n.nonce)return g(new i("jwt nonce invalid. expected: "+n.nonce));if(n.maxAge){if("number"!=typeof S.iat)return g(new i("iat required when maxAge is specified"));let e=o(n.maxAge,S.iat);if(void 0===e)return g(new i('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(w>=e+(n.clockTolerance||0))return g(new a("maxAge exceeded",new Date(1e3*e)))}return!0===n.complete?g(null,{header:k,payload:S,signature:b.signature}):g(null,S)})}},47917:(e,t,n)=>{var i=n(89121),s=n(18243).Buffer,a=n(6113),r=n(97145),o=n(73837),c="secret must be a string or buffer",u="key must be a string or a buffer",l="function"==typeof a.createPublicKey;function p(e){if(!s.isBuffer(e)&&"string"!=typeof e&&(!l||"object"!=typeof e||"string"!=typeof e.type||"string"!=typeof e.asymmetricKeyType||"function"!=typeof e.export))throw f(u)}function d(e){if(!s.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw f("key must be a string, a buffer or an object")}function h(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function m(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var n=0;n{var i=n(61287),s=n(75640);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=i.sign,t.verify=s.verify,t.decode=s.decode,t.isValid=s.isValid,t.createSign=function(e){return new i(e)},t.createVerify=function(e){return new s(e)}},23348:(e,t,n)=>{var i=n(18243).Buffer,s=n(12781);function a(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=i.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=i.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick((function(){this.emit("end",e),this.readable=!1,this.emit("close")}).bind(this)),this;throw TypeError("Unexpected data type ("+typeof e+")")}n(73837).inherits(a,s),a.prototype.write=function(e){this.buffer=i.concat([this.buffer,i.from(e)]),this.emit("data",e)},a.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=a},61287:(e,t,n)=>{var i=n(18243).Buffer,s=n(23348),a=n(47917),r=n(12781),o=n(96107),c=n(73837);function u(e,t){return i.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(e){var t,n,i,s=e.header,r=e.payload,l=e.secret||e.privateKey,p=e.encoding,d=a(s.alg),h=(t=(t=p)||"utf8",n=u(o(s),"binary"),i=u(o(r),t),c.format("%s.%s",n,i)),m=d.sign(h,l);return c.format("%s.%s",h,m)}function p(e){var t=new s(e.secret||e.privateKey||e.key);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=t,this.payload=new s(e.payload),this.secret.once("close",(function(){!this.payload.writable&&this.readable&&this.sign()}).bind(this)),this.payload.once("close",(function(){!this.secret.writable&&this.readable&&this.sign()}).bind(this))}c.inherits(p,r),p.prototype.sign=function(){try{var e=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},p.sign=l,e.exports=p},96107:(e,t,n)=>{var i=n(14300).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||i.isBuffer(e)?e.toString():JSON.stringify(e)}},75640:(e,t,n)=>{var i=n(18243).Buffer,s=n(23348),a=n(47917),r=n(12781),o=n(96107),c=n(73837),u=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(e){var t=e.split(".",1)[0];return function(e){if("[object Object]"===Object.prototype.toString.call(e))return e;try{return JSON.parse(e)}catch(e){return}}(i.from(t,"base64").toString("binary"))}function p(e){return e.split(".")[2]}function d(e){return u.test(e)&&!!l(e)}function h(e,t,n){if(!t){var i=Error("Missing algorithm parameter for jws.verify");throw i.code="MISSING_ALGORITHM",i}var s=p(e=o(e)),r=e.split(".",2).join(".");return a(t).verify(r,s,n)}function m(e,t){if(t=t||{},!d(e=o(e)))return null;var n,s,a=l(e);if(!a)return null;var r=(n=n||"utf8",s=e.split(".")[1],i.from(s,"base64").toString(n));return("JWT"===a.typ||t.json)&&(r=JSON.parse(r,t.encoding)),{header:a,payload:r,signature:p(e)}}function f(e){var t=new s((e=e||{}).secret||e.publicKey||e.key);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=t,this.signature=new s(e.signature),this.secret.once("close",(function(){!this.signature.writable&&this.readable&&this.verify()}).bind(this)),this.signature.once("close",(function(){!this.secret.writable&&this.readable&&this.verify()}).bind(this))}c.inherits(f,r),f.prototype.verify=function(){try{var e=h(this.signature.buffer,this.algorithm,this.key.buffer),t=m(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},f.decode=m,f.isValid=d,f.verify=h,e.exports=f},22086:e=>{var t,n,i=1/0,s=0/0,a=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=/^(?:0|[1-9]\d*)$/,l=parseInt;function p(e){return e!=e}var d=Object.prototype,h=d.hasOwnProperty,m=d.toString,f=d.propertyIsEnumerable,v=(t=Object.keys,n=Object,function(e){return t(n(e))}),x=Math.max,g=Array.isArray;function b(e){var t,n;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=9007199254740991&&!("[object Function]"==(n=y(e)?m.call(e):"")||"[object GeneratorFunction]"==n)}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}e.exports=function(e,t,n,_){e=b(e)?e:(k=e)?function(e,t){for(var n=-1,i=e?e.length:0,s=Array(i);++n-1&&r%1==0&&r-1:!!O&&function(e,t,n){if(t!=t)return function(e,t,n,i){for(var s=e.length,a=n+-1;++a-1}},21724:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||!!e&&"object"==typeof e&&"[object Boolean]"==t.call(e)}},54591:e=>{var t=1/0,n=0/0,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,r=/^0o[0-7]+$/i,o=parseInt,c=Object.prototype.toString;function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){var l,p,d;return"number"==typeof e&&e==(d=(p=(l=e)?(l=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==c.call(t))return n;if(u(e)){var t,l="function"==typeof e.valueOf?e.valueOf():e;e=u(l)?l+"":l}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var p=a.test(e);return p||r.test(e)?o(e.slice(2),p?2:8):s.test(e)?n:+e}(l))===t||l===-t?(l<0?-1:1)*17976931348623157e292:l==l?l:0:0===l?l:0)%1,p==p?d?p-d:p:0)}},59366:e=>{var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||!!e&&"object"==typeof e&&"[object Number]"==t.call(e)}},29080:e=>{var t,n,i=Object.prototype,s=Function.prototype.toString,a=i.hasOwnProperty,r=s.call(Object),o=i.toString,c=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!(e&&"object"==typeof e)||"[object Object]"!=o.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=c(e);if(null===t)return!0;var n=a.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==r}},71380:e=>{var t=Object.prototype.toString,n=Array.isArray;e.exports=function(e){var i;return"string"==typeof e||!n(e)&&!!(i=e)&&"object"==typeof i&&"[object String]"==t.call(e)}},32144:e=>{var t=1/0,n=0/0,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,r=/^0o[0-7]+$/i,o=parseInt,c=Object.prototype.toString;function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return function(e,l){var p,d,h,m;if("function"!=typeof l)throw TypeError("Expected a function");return m=(h=(d=e)?(d=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==c.call(t))return n;if(u(e)){var t,l="function"==typeof e.valueOf?e.valueOf():e;e=u(l)?l+"":l}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var p=a.test(e);return p||r.test(e)?o(e.slice(2),p?2:8):s.test(e)?n:+e}(d))===t||d===-t?(d<0?-1:1)*17976931348623157e292:d==d?d:0:0===d?d:0)%1,e=h==h?m?h-m:h:0,function(){return--e>0&&(p=l.apply(this,arguments)),e<=1&&(l=void 0),p}}(2,e)}},79587:(e,t,n)=>{/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + */e.exports=n(2753)},89427:(e,t,n)=>{"use strict";/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var i=n(79587),s=n(71017).extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function o(e){if(!e||"string"!=typeof e)return!1;var t=a.exec(e),n=t&&i[t[1].toLowerCase()];return n&&n.charset?n.charset:!!(t&&r.test(t[1]))&&"UTF-8"}t.charset=o,t.charsets={lookup:o},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var i=t.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=a.exec(e),i=n&&t.extensions[n[1].toLowerCase()];return!!i&&!!i.length&&i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return!!n&&(t.types[n]||!1)},t.types=Object.create(null),function(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(i).forEach(function(s){var a=i[s],r=a.extensions;if(r&&r.length){e[s]=r;for(var o=0;ol||u===l&&"application/"===t[c].substr(0,12)))continue}t[c]=s}}})}(t.extensions,t.types)},13974:e=>{function t(e,t,n,i){return Math.round(e/n)+" "+i+(t>=1.5*n?"s":"")}e.exports=function(e,n){n=n||{};var i,s,a=typeof e;if("string"===a&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===a&&isFinite(e))return n.long?(i=Math.abs(e))>=864e5?t(e,i,864e5,"day"):i>=36e5?t(e,i,36e5,"hour"):i>=6e4?t(e,i,6e4,"minute"):i>=1e3?t(e,i,1e3,"second"):e+" ms":(s=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":s>=36e5?Math.round(e/36e5)+"h":s>=6e4?Math.round(e/6e4)+"m":s>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},79925:e=>{"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function r(e){var t;let n=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),i=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===n.length?i:`${i}; ${n.join("; ")}`}function o(e){let t=new Map;for(let n of e.split(/; */)){if(!n)continue;let e=n.indexOf("=");if(-1===e){t.set(n,"true");continue}let[i,s]=[n.slice(0,e),n.slice(e+1)];try{t.set(i,decodeURIComponent(null!=s?s:"true"))}catch{}}return t}function c(e){var t,n;if(!e)return;let[[i,s],...a]=o(e),{domain:r,expires:c,httponly:p,maxage:d,path:h,samesite:m,secure:f,partitioned:v,priority:x}=Object.fromEntries(a.map(([e,t])=>[e.toLowerCase(),t]));return function(e){let t={};for(let n in e)e[n]&&(t[n]=e[n]);return t}({name:i,value:decodeURIComponent(s),domain:r,...c&&{expires:new Date(c)},...p&&{httpOnly:!0},..."string"==typeof d&&{maxAge:Number(d)},path:h,...m&&{sameSite:u.includes(t=(t=m).toLowerCase())?t:void 0},...f&&{secure:!0},...x&&{priority:l.includes(n=(n=x).toLowerCase())?n:void 0},...v&&{partitioned:!0}})}((e,n)=>{for(var i in n)t(e,i,{get:n[i],enumerable:!0})})(a,{RequestCookies:()=>p,ResponseCookies:()=>d,parseCookie:()=>o,parseSetCookie:()=>c,stringifyCookie:()=>r}),e.exports=((e,a,r,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let c of i(a))s.call(e,c)||c===r||t(e,c,{get:()=>a[c],enumerable:!(o=n(a,c))||o.enumerable});return e})(t({},"__esModule",{value:!0}),a);var u=["strict","lax","none"],l=["low","medium","high"],p=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,n]of o(t))this._parsed.set(e,{name:e,value:n})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let n=Array.from(this._parsed);if(!e.length)return n.map(([e,t])=>t);let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return n.filter(([e])=>e===i).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,n]=1===e.length?[e[0].name,e[0].value]:e,i=this._parsed;return i.set(t,{name:t,value:n}),this._headers.set("cookie",Array.from(i).map(([e,t])=>r(t)).join("; ")),this}delete(e){let t=this._parsed,n=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>r(t)).join("; ")),n}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},d=class{constructor(e){var t,n,i;this._parsed=new Map,this._headers=e;let s=null!=(i=null!=(n=null==(t=e.getSetCookie)?void 0:t.call(e))?n:e.get("set-cookie"))?i:[];for(let e of Array.isArray(s)?s:function(e){if(!e)return[];var t,n,i,s,a,r=[],o=0;function c(){for(;o=e.length)&&r.push(e.substring(t,e.length))}return r}(s)){let t=c(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let n=Array.from(this._parsed.values());if(!e.length)return n;let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return n.filter(e=>e.name===i)}has(e){return this._parsed.has(e)}set(...e){let[t,n,i]=1===e.length?[e[0].name,e[0].value,e[0]]:e,s=this._parsed;return s.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:n,...i})),function(e,t){for(let[,n]of(t.delete("set-cookie"),e)){let e=r(n);t.append("set-cookie",e)}}(s,this._headers),this}delete(...e){let[t,n,i]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:t,path:n,domain:i,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(r).join("; ")}}},92044:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RequestCookies:function(){return i.RequestCookies},ResponseCookies:function(){return i.ResponseCookies}});let i=n(79925)},95014:(e,t)=>{"use strict";function n(e,t){let n;let i=e.split("/");return(t||[]).some(t=>!!i[1]&&i[1].toLowerCase()===t.toLowerCase()&&(n=t,i.splice(1,1),e=i.join("/")||"/",!0)),{pathname:e,detectedLocale:n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}})},37847:(e,t)=>{"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},21180:(e,t,n)=>{"use strict";var i=n(57310).parse,s={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},a=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function r(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.j=function(e){var t,n,o,c="string"==typeof e?i(e):e||{},u=c.protocol,l=c.host,p=c.port;if("string"!=typeof l||!l||"string"!=typeof u||(u=u.split(":",1)[0],t=l=l.replace(/:\d*$/,""),n=p=parseInt(p)||s[u]||0,!(!(o=(r("npm_config_no_proxy")||r("no_proxy")).toLowerCase())||"*"!==o&&o.split(/[,\s]/).every(function(e){if(!e)return!0;var i=e.match(/^(.+):(\d+)$/),s=i?i[1]:e,r=i?parseInt(i[2]):0;return!!r&&r!==n||(/^[.*]/.test(s)?("*"===s.charAt(0)&&(s=s.slice(1)),!a.call(t,s)):t!==s)}))))return"";var d=r("npm_config_"+u+"_proxy")||r(u+"_proxy")||r("npm_config_proxy")||r("all_proxy");return d&&-1===d.indexOf("://")&&(d=u+"://"+d),d}},18243:(e,t,n)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var i=n(14300),s=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function r(e,t,n){return s(e,t,n)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=r),r.prototype=Object.create(s.prototype),a(s,r),r.from=function(e,t,n){if("number"==typeof e)throw TypeError("Argument must not be a number");return s(e,t,n)},r.alloc=function(e,t,n){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=s(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},r.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return s(e)},r.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},12925:(e,t,n)=>{let i=Symbol("SemVer ANY");class s{static get ANY(){return i}constructor(e,t){if(t=a(t),e instanceof s){if(!!t.loose===e.loose)return e;e=e.value}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){let t=this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR],n=e.match(t);if(!n)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new l(n[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=a(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=s;let a=n(78949),{safeRe:r,t:o}=n(81520),c=n(43978),u=n(1410),l=n(28871),p=n(88889)},88889:(e,t,n)=>{class i{constructor(e,t){if(t=a(t),e instanceof i){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new i(e.raw,t)}if(e instanceof r)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!v(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&x(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&m)|(this.options.loose&&f))+":"+e,n=s.get(t);if(n)return n;let i=this.options.loose,a=i?u[l.HYPHENRANGELOOSE]:u[l.HYPHENRANGE];o("hyphen replace",e=e.replace(a,j(this.options.includePrerelease))),o("comparator trim",e=e.replace(u[l.COMPARATORTRIM],p)),o("tilde trim",e=e.replace(u[l.TILDETRIM],d)),o("caret trim",e=e.replace(u[l.CARETTRIM],h));let c=e.split(" ").map(e=>b(e,this.options)).join(" ").split(/\s+/).map(e=>O(e,this.options));i&&(c=c.filter(e=>(o("loose invalid filter",e,this.options),!!e.match(u[l.COMPARATORLOOSE])))),o("range list",c);let x=new Map;for(let e of c.map(e=>new r(e,this.options))){if(v(e))return[e];x.set(e.value,e)}x.size>1&&x.has("")&&x.delete("");let g=[...x.values()];return s.set(t,g),g}intersects(e,t){if(!(e instanceof i))throw TypeError("a Range is required");return this.set.some(n=>g(n,t)&&e.set.some(e=>g(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,x=e=>""===e.value,g=(e,t)=>{let n=!0,i=e.slice(),s=i.pop();for(;n&&i.length;)n=i.every(e=>s.intersects(e,t)),s=i.pop();return n},b=(e,t)=>(o("comp",e,t),o("caret",e=k(e,t)),o("tildes",e=w(e,t)),o("xrange",e=E(e,t)),o("stars",e=C(e,t)),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map(e=>_(e,t)).join(" "),_=(e,t)=>{let n=t.loose?u[l.TILDELOOSE]:u[l.TILDE];return e.replace(n,(t,n,i,s,a)=>{let r;return o("tilde",e,t,n,i,s,a),y(n)?r="":y(i)?r=`>=${n}.0.0 <${+n+1}.0.0-0`:y(s)?r=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(o("replaceTilde pr",a),r=`>=${n}.${i}.${s}-${a} <${n}.${+i+1}.0-0`):r=`>=${n}.${i}.${s} <${n}.${+i+1}.0-0`,o("tilde return",r),r})},k=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{o("caret",e,t);let n=t.loose?u[l.CARETLOOSE]:u[l.CARET],i=t.includePrerelease?"-0":"";return e.replace(n,(t,n,s,a,r)=>{let c;return o("caret",e,t,n,s,a,r),y(n)?c="":y(s)?c=`>=${n}.0.0${i} <${+n+1}.0.0-0`:y(a)?c="0"===n?`>=${n}.${s}.0${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${i} <${+n+1}.0.0-0`:r?(o("replaceCaret pr",r),c="0"===n?"0"===s?`>=${n}.${s}.${a}-${r} <${n}.${s}.${+a+1}-0`:`>=${n}.${s}.${a}-${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${a}-${r} <${+n+1}.0.0-0`):(o("no pr"),c="0"===n?"0"===s?`>=${n}.${s}.${a}${i} <${n}.${s}.${+a+1}-0`:`>=${n}.${s}.${a}${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${a} <${+n+1}.0.0-0`),o("caret return",c),c})},E=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map(e=>R(e,t)).join(" ")),R=(e,t)=>{e=e.trim();let n=t.loose?u[l.XRANGELOOSE]:u[l.XRANGE];return e.replace(n,(n,i,s,a,r,c)=>{o("xRange",e,n,i,s,a,r,c);let u=y(s),l=u||y(a),p=l||y(r);return"="===i&&p&&(i=""),c=t.includePrerelease?"-0":"",u?n=">"===i||"<"===i?"<0.0.0-0":"*":i&&p?(l&&(a=0),r=0,">"===i?(i=">=",l?(s=+s+1,a=0):a=+a+1,r=0):"<="===i&&(i="<",l?s=+s+1:a=+a+1),"<"===i&&(c="-0"),n=`${i+s}.${a}.${r}${c}`):l?n=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(n=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),o("xRange return",n),n})},C=(e,t)=>(o("replaceStars",e,t),e.trim().replace(u[l.STAR],"")),O=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),j=e=>(t,n,i,s,a,r,o,c,u,l,p,d)=>(n=y(i)?"":y(s)?`>=${i}.0.0${e?"-0":""}`:y(a)?`>=${i}.${s}.0${e?"-0":""}`:r?`>=${n}`:`>=${n}${e?"-0":""}`,c=y(u)?"":y(l)?`<${+u+1}.0.0-0`:y(p)?`<${u}.${+l+1}.0-0`:d?`<=${u}.${l}.${p}-${d}`:e?`<${u}.${l}.${+p+1}-0`:`<=${c}`,`${n} ${c}`.trim()),T=(e,t,n)=>{for(let n=0;n0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},28871:(e,t,n)=>{let i=n(1410),{MAX_LENGTH:s,MAX_SAFE_INTEGER:a}=n(73651),{safeRe:r,t:o}=n(81520),c=n(78949),{compareIdentifiers:u}=n(88178);class l{constructor(e,t){if(t=c(t),e instanceof l){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw TypeError(`version is longer than ${s} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?r[o.LOOSE]:r[o.FULL]);if(!n)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>a||this.major<0)throw TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(t===this.prerelease.join(".")&&!1===n)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let i=[t,e];!1===n&&(i=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},62485:(e,t,n)=>{let i=n(48242);e.exports=(e,t)=>{let n=i(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},43978:(e,t,n)=>{let i=n(58884),s=n(28305),a=n(58368),r=n(76483),o=n(89673),c=n(94106);e.exports=(e,t,n,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return i(e,n,u);case"!=":return s(e,n,u);case">":return a(e,n,u);case">=":return r(e,n,u);case"<":return o(e,n,u);case"<=":return c(e,n,u);default:throw TypeError(`Invalid operator: ${t}`)}}},39150:(e,t,n)=>{let i=n(28871),s=n(48242),{safeRe:a,t:r}=n(81520);e.exports=(e,t)=>{if(e instanceof i)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let i;let s=t.includePrerelease?a[r.COERCERTLFULL]:a[r.COERCERTL];for(;(i=s.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),s.lastIndex=i.index+i[1].length+i[2].length;s.lastIndex=-1}else n=e.match(t.includePrerelease?a[r.COERCEFULL]:a[r.COERCE]);if(null===n)return null;let o=n[2],c=n[3]||"0",u=n[4]||"0",l=t.includePrerelease&&n[5]?`-${n[5]}`:"",p=t.includePrerelease&&n[6]?`+${n[6]}`:"";return s(`${o}.${c}.${u}${l}${p}`,t)}},84472:(e,t,n)=>{let i=n(28871);e.exports=(e,t,n)=>{let s=new i(e,n),a=new i(t,n);return s.compare(a)||s.compareBuild(a)}},98136:(e,t,n)=>{let i=n(51586);e.exports=(e,t)=>i(e,t,!0)},51586:(e,t,n)=>{let i=n(28871);e.exports=(e,t,n)=>new i(e,n).compare(new i(t,n))},10906:(e,t,n)=>{let i=n(48242);e.exports=(e,t)=>{let n=i(e,null,!0),s=i(t,null,!0),a=n.compare(s);if(0===a)return null;let r=a>0,o=r?n:s,c=r?s:n,u=!!o.prerelease.length;if(c.prerelease.length&&!u)return c.patch||c.minor?o.patch?"patch":o.minor?"minor":"major":"major";let l=u?"pre":"";return n.major!==s.major?l+"major":n.minor!==s.minor?l+"minor":n.patch!==s.patch?l+"patch":"prerelease"}},58884:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>0===i(e,t,n)},58368:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>i(e,t,n)>0},76483:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>i(e,t,n)>=0},44580:(e,t,n)=>{let i=n(28871);e.exports=(e,t,n,s,a)=>{"string"==typeof n&&(a=s,s=n,n=void 0);try{return new i(e instanceof i?e.version:e,n).inc(t,s,a).version}catch(e){return null}}},89673:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>0>i(e,t,n)},94106:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>0>=i(e,t,n)},31148:(e,t,n)=>{let i=n(28871);e.exports=(e,t)=>new i(e,t).major},95662:(e,t,n)=>{let i=n(28871);e.exports=(e,t)=>new i(e,t).minor},28305:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>0!==i(e,t,n)},48242:(e,t,n)=>{let i=n(28871);e.exports=(e,t,n=!1)=>{if(e instanceof i)return e;try{return new i(e,t)}catch(e){if(!n)return null;throw e}}},34234:(e,t,n)=>{let i=n(28871);e.exports=(e,t)=>new i(e,t).patch},92606:(e,t,n)=>{let i=n(48242);e.exports=(e,t)=>{let n=i(e,t);return n&&n.prerelease.length?n.prerelease:null}},92490:(e,t,n)=>{let i=n(51586);e.exports=(e,t,n)=>i(t,e,n)},11302:(e,t,n)=>{let i=n(84472);e.exports=(e,t)=>e.sort((e,n)=>i(n,e,t))},24520:(e,t,n)=>{let i=n(88889);e.exports=(e,t,n)=>{try{t=new i(t,n)}catch(e){return!1}return t.test(e)}},83975:(e,t,n)=>{let i=n(84472);e.exports=(e,t)=>e.sort((e,n)=>i(e,n,t))},40628:(e,t,n)=>{let i=n(48242);e.exports=(e,t)=>{let n=i(e,t);return n?n.version:null}},90799:(e,t,n)=>{let i=n(81520),s=n(73651),a=n(28871),r=n(88178),o=n(48242),c=n(40628),u=n(62485),l=n(44580),p=n(10906),d=n(31148),h=n(95662),m=n(34234),f=n(92606),v=n(51586),x=n(92490),g=n(98136),b=n(84472),y=n(83975),w=n(11302),_=n(58368),k=n(89673),S=n(58884),E=n(28305),R=n(76483),C=n(94106),O=n(43978),j=n(39150),T=n(12925),L=n(88889),I=n(24520),U=n(19835),A=n(1446),P=n(75030),N=n(30091),D=n(16269),M=n(45400),F=n(45760),$=n(62884),B=n(53225),q=n(86861),z=n(64550);e.exports={parse:o,valid:c,clean:u,inc:l,diff:p,major:d,minor:h,patch:m,prerelease:f,compare:v,rcompare:x,compareLoose:g,compareBuild:b,sort:y,rsort:w,gt:_,lt:k,eq:S,neq:E,gte:R,lte:C,cmp:O,coerce:j,Comparator:T,Range:L,satisfies:I,toComparators:U,maxSatisfying:A,minSatisfying:P,minVersion:N,validRange:D,outside:M,gtr:F,ltr:$,intersects:B,simplifyRange:q,subset:z,SemVer:a,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:r.compareIdentifiers,rcompareIdentifiers:r.rcompareIdentifiers}},73651:e=>{let t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},1410:e=>{let t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},88178:e=>{let t=/^[0-9]+$/,n=(e,n)=>{let i=t.test(e),s=t.test(n);return i&&s&&(e=+e,n=+n),e===n?0:i&&!s?-1:s&&!i?1:en(t,e)}},50241:e=>{class t{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=t},78949:e=>{let t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},81520:(e,t,n)=>{let{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:a}=n(73651),r=n(1410),o=(t=e.exports={}).re=[],c=t.safeRe=[],u=t.src=[],l=t.t={},p=0,d="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",a],[d,s]],m=e=>{for(let[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},f=(e,t,n)=>{let i=m(t),s=p++;r(e,s,t),l[e]=s,u[s]=t,o[s]=new RegExp(t,n?"g":void 0),c[s]=new RegExp(i,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),f("FULL",`^${u[l.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),f("LOOSE",`^${u[l.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),f("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),f("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?`+`(?:${u[l.BUILD]})?`+"(?:$|[^\\d])"),f("COERCERTL",u[l.COERCE],!0),f("COERCERTLFULL",u[l.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},45760:(e,t,n)=>{let i=n(45400);e.exports=(e,t,n)=>i(e,t,">",n)},53225:(e,t,n)=>{let i=n(88889);e.exports=(e,t,n)=>(e=new i(e,n),t=new i(t,n),e.intersects(t,n))},62884:(e,t,n)=>{let i=n(45400);e.exports=(e,t,n)=>i(e,t,"<",n)},1446:(e,t,n)=>{let i=n(28871),s=n(88889);e.exports=(e,t,n)=>{let a=null,r=null,o=null;try{o=new s(t,n)}catch(e){return null}return e.forEach(e=>{o.test(e)&&(!a||-1===r.compare(e))&&(r=new i(a=e,n))}),a}},75030:(e,t,n)=>{let i=n(28871),s=n(88889);e.exports=(e,t,n)=>{let a=null,r=null,o=null;try{o=new s(t,n)}catch(e){return null}return e.forEach(e=>{o.test(e)&&(!a||1===r.compare(e))&&(r=new i(a=e,n))}),a}},30091:(e,t,n)=>{let i=n(28871),s=n(88889),a=n(58368);e.exports=(e,t)=>{e=new s(e,t);let n=new i("0.0.0");if(e.test(n)||(n=new i("0.0.0-0"),e.test(n)))return n;n=null;for(let t=0;t{let t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||a(t,r))&&(r=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),r&&(!n||a(n,r))&&(n=r)}return n&&e.test(n)?n:null}},45400:(e,t,n)=>{let i=n(28871),s=n(12925),{ANY:a}=s,r=n(88889),o=n(24520),c=n(58368),u=n(89673),l=n(94106),p=n(76483);e.exports=(e,t,n,d)=>{let h,m,f,v,x;switch(e=new i(e,d),t=new r(t,d),n){case">":h=c,m=l,f=u,v=">",x=">=";break;case"<":h=u,m=p,f=c,v="<",x="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,d))return!1;for(let n=0;n{e.semver===a&&(e=new s(">=0.0.0")),r=r||e,o=o||e,h(e.semver,r.semver,d)?r=e:f(e.semver,o.semver,d)&&(o=e)}),r.operator===v||r.operator===x||(!o.operator||o.operator===v)&&m(e,o.semver)||o.operator===x&&f(e,o.semver))return!1}return!0}},86861:(e,t,n)=>{let i=n(24520),s=n(51586);e.exports=(e,t,n)=>{let a=[],r=null,o=null,c=e.sort((e,t)=>s(e,t,n));for(let e of c)i(e,t,n)?(o=e,r||(r=e)):(o&&a.push([r,o]),o=null,r=null);r&&a.push([r,null]);let u=[];for(let[e,t]of a)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");let l=u.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return l.length{let i=n(88889),s=n(12925),{ANY:a}=s,r=n(24520),o=n(51586),c=[new s(">=0.0.0-0")],u=[new s(">=0.0.0")],l=(e,t,n)=>{let i,s,l,h,m,f,v;if(e===t)return!0;if(1===e.length&&e[0].semver===a){if(1===t.length&&t[0].semver===a)return!0;e=n.includePrerelease?c:u}if(1===t.length&&t[0].semver===a){if(n.includePrerelease)return!0;t=u}let x=new Set;for(let t of e)">"===t.operator||">="===t.operator?i=p(i,t,n):"<"===t.operator||"<="===t.operator?s=d(s,t,n):x.add(t.semver);if(x.size>1||i&&s&&((l=o(i.semver,s.semver,n))>0||0===l&&(">="!==i.operator||"<="!==s.operator)))return null;for(let e of x){if(i&&!r(e,String(i),n)||s&&!r(e,String(s),n))return null;for(let i of t)if(!r(e,String(i),n))return!1;return!0}let g=!!s&&!n.includePrerelease&&!!s.semver.prerelease.length&&s.semver,b=!!i&&!n.includePrerelease&&!!i.semver.prerelease.length&&i.semver;for(let e of(g&&1===g.prerelease.length&&"<"===s.operator&&0===g.prerelease[0]&&(g=!1),t)){if(v=v||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,i){if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if((h=p(i,e,n))===e&&h!==i)return!1}else if(">="===i.operator&&!r(i.semver,String(e),n))return!1}if(s){if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if((m=d(s,e,n))===e&&m!==s)return!1}else if("<="===s.operator&&!r(s.semver,String(e),n))return!1}if(!e.operator&&(s||i)&&0!==l)return!1}return(!i||!f||!!s||0===l)&&(!s||!v||!!i||0===l)&&!b&&!g},p=(e,t,n)=>{if(!e)return t;let i=o(e.semver,t.semver,n);return i>0?e:i<0?t:">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;let i=o(e.semver,t.semver,n);return i<0?e:i>0?t:"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new i(e,n),t=new i(t,n);let s=!1;e:for(let i of e.set){for(let e of t.set){let t=l(i,e,n);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},19835:(e,t,n)=>{let i=n(88889);e.exports=(e,t)=>new i(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},16269:(e,t,n)=>{let i=n(88889);e.exports=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}}},34065:(e,t,n)=>{"use strict";e.exports=n(83742)},83742:(e,t,n)=>{"use strict";let i=n(15418);i.createWebSocketStream=n(48845),i.Server=n(47472),i.Receiver=n(91768),i.Sender=n(47650),e.exports=i},34879:(e,t,n)=>{"use strict";let{EMPTY_BUFFER:i}=n(42479);function s(e,t){if(0===e.length)return i;if(1===e.length)return e[0];let n=Buffer.allocUnsafe(t),s=0;for(let t=0;t{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},20461:e=>{"use strict";class t{constructor(e,t){this.target=t,this.type=e}}class n extends t{constructor(e,t){super("message",t),this.data=e}}class i extends t{constructor(e,t,n){super("close",n),this.wasClean=n._closeFrameReceived&&n._closeFrameSent,this.reason=t,this.code=e}}class s extends t{constructor(e){super("open",e)}}class a extends t{constructor(e,t){super("error",t),this.message=e.message,this.error=e}}e.exports={addEventListener(e,t,r){if("function"!=typeof t)return;function o(e){t.call(this,new n(e,this))}function c(e,n){t.call(this,new i(e,n,this))}function u(e){t.call(this,new a(e,this))}function l(){t.call(this,new s(this))}let p=r&&r.once?"once":"on";"message"===e?(o._listener=t,this[p](e,o)):"close"===e?(c._listener=t,this[p](e,c)):"error"===e?(u._listener=t,this[p](e,u)):"open"===e?(l._listener=t,this[p](e,l)):this[p](e,t)},removeEventListener(e,t){let n=this.listeners(e);for(let i=0;i{"use strict";let t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n(e,t,n){void 0===e[t]?e[t]=[n]:e[t].push(n)}e.exports={format:function(e){return Object.keys(e).map(t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map(e=>[t].concat(Object.keys(e).map(t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let i,s;let a=Object.create(null);if(void 0===e||""===e)return a;let r=Object.create(null),o=!1,c=!1,u=!1,l=-1,p=-1,d=0;for(;d{"use strict";let t=Symbol("kDone"),n=Symbol("kRun");class i{constructor(e){this[t]=()=>{this.pending--,this[n]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[n]()}[n](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[t])}}}e.exports=i},51422:(e,t,n)=>{"use strict";let i;let s=n(59796),a=n(34879),r=n(18309),{kStatusCode:o,NOOP:c}=n(42479),u=Buffer.from([0,0,255,255]),l=Symbol("permessage-deflate"),p=Symbol("total-length"),d=Symbol("callback"),h=Symbol("buffers"),m=Symbol("error");class f{constructor(e,t,n){this._maxPayload=0|n,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,i||(i=new r(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[d];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,n=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!n)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(n.server_no_context_takeover=!0),t.clientNoContextTakeover&&(n.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(n.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?n.client_max_window_bits=t.clientMaxWindowBits:(!0===n.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete n.client_max_window_bits,n}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let n=e[t];if(n.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(n=n[0],"client_max_window_bits"===t){if(!0!==n){let e=+n;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${n}`)}else if("server_max_window_bits"===t){let e=+n;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==n)throw TypeError(`Invalid value for parameter "${t}": ${n}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=n})}),e}decompress(e,t,n){i.add(i=>{this._decompress(e,t,(e,t)=>{i(),n(e,t)})})}compress(e,t,n){i.add(i=>{this._compress(e,t,(e,t)=>{i(),n(e,t)})})}_decompress(e,t,n){let i=this._isServer?"client":"server";if(!this._inflate){let e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[l]=this,this._inflate[p]=0,this._inflate[h]=[],this._inflate.on("error",g),this._inflate.on("data",x)}this._inflate[d]=n,this._inflate.write(e),t&&this._inflate.write(u),this._inflate.flush(()=>{let e=this._inflate[m];if(e){this._inflate.close(),this._inflate=null,n(e);return}let s=a.concat(this._inflate[h],this._inflate[p]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[p]=0,this._inflate[h]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),n(null,s)})}_compress(e,t,n){let i=this._isServer?"server":"client";if(!this._deflate){let e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[p]=0,this._deflate[h]=[],this._deflate.on("error",c),this._deflate.on("data",v)}this._deflate[d]=n,this._deflate.write(e),this._deflate.flush(s.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=a.concat(this._deflate[h],this._deflate[p]);t&&(e=e.slice(0,e.length-4)),this._deflate[d]=null,this._deflate[p]=0,this._deflate[h]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),n(null,e)})}}function v(e){this[h].push(e),this[p]+=e.length}function x(e){if(this[p]+=e.length,this[l]._maxPayload<1||this[p]<=this[l]._maxPayload){this[h].push(e);return}this[m]=RangeError("Max payload size exceeded"),this[m].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[m][o]=1009,this.removeListener("data",x),this.reset()}function g(e){this[l]._inflate=null,e[o]=1007,this[d](e)}e.exports=f},91768:(e,t,n)=>{"use strict";let{Writable:i}=n(12781),s=n(51422),{BINARY_TYPES:a,EMPTY_BUFFER:r,kStatusCode:o,kWebSocket:c}=n(42479),{concat:u,toArrayBuffer:l,unmask:p}=n(34879),{isValidStatusCode:d,isValidUTF8:h}=n(69836);class m extends i{constructor(e,t,n,i){super(),this._binaryType=e||a[0],this[c]=void 0,this._extensions=t||{},this._isServer=!!n,this._maxPayload=0|i,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,n){if(8===this._opcode&&0==this._state)return n();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e=n.length?t.set(this._buffers.shift(),i):(t.set(new Uint8Array(n.buffer,n.byteOffset,e),i),this._buffers[0]=n.slice(e)),e-=n.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:this._loop=!1;return}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=!1;return}let e=this.consume(2);if((48&e[0])!=0)return this._loop=!1,f(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");let t=(64&e[0])==64;if(t&&!this._extensions[s.extensionName])return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=(128&e[0])==128,this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,f(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7)||!(this._opcode<11))return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,f(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,f(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&e[1])==128,this._isServer){if(!this._masked)return this._loop=!1,f(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,f(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=!1;return}return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=!1;return}let e=this.consume(8),t=e.readUInt32BE(0);return t>2097151?(this._loop=!1,f(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=4294967296*t+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=r;if(this._payloadLength){if(this._bufferedBytes7)return this.controlMessage(t);if(this._compressed){this._state=5,this.decompress(t,e);return}return t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage()}decompress(e,t){this._extensions[s.extensionName].decompress(e,this._fin,(e,n)=>{if(e)return t(e);if(n.length){if(this._messageLength+=n.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(n)}let i=this.dataMessage();if(i)return t(i);this.startLoop(t)})}dataMessage(){if(this._fin){let e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let n;n="nodebuffer"===this._binaryType?u(t,e):"arraybuffer"===this._binaryType?l(u(t,e)):t,this.emit("message",n)}else{let n=u(t,e);if(!h(n))return this._loop=!1,f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",n.toString())}}this._state=0}controlMessage(e){if(8===this._opcode){if(this._loop=!1,0===e.length)this.emit("conclude",1005,""),this.end();else{if(1===e.length)return f(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");let t=e.readUInt16BE(0);if(!d(t))return f(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");let n=e.slice(2);if(!h(n))return f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,n.toString()),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}function f(e,t,n,i,s){let a=new e(n?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(a,f),a.code=s,a[o]=i,a}e.exports=m},47650:(e,t,n)=>{"use strict";n(41808),n(24404);let{randomFillSync:i}=n(6113),s=n(51422),{EMPTY_BUFFER:a}=n(42479),{isValidStatusCode:r}=n(69836),{mask:o,toBuffer:c}=n(34879),u=Buffer.alloc(4);class l{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){let n=t.mask&&t.readOnly,s=t.mask?6:2,a=e.length;e.length>=65536?(s+=8,a=127):e.length>125&&(s+=2,a=126);let r=Buffer.allocUnsafe(n?e.length+s:s);return(r[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(r[0]|=64),r[1]=a,126===a?r.writeUInt16BE(e.length,2):127===a&&(r.writeUInt32BE(0,2),r.writeUInt32BE(e.length,6)),t.mask)?(i(u,0,4),r[1]|=128,r[s-4]=u[0],r[s-3]=u[1],r[s-2]=u[2],r[s-1]=u[3],n)?(o(e,u,r,s,e.length),[r]):(o(e,u,e,0,e.length),[r,e]):[r,e]}close(e,t,n,i){let s;if(void 0===e)s=a;else if("number"==typeof e&&r(e)){if(void 0===t||""===t)(s=Buffer.allocUnsafe(2)).writeUInt16BE(e,0);else{let n=Buffer.byteLength(t);if(n>123)throw RangeError("The message must not be greater than 123 bytes");(s=Buffer.allocUnsafe(2+n)).writeUInt16BE(e,0),s.write(t,2)}}else throw TypeError("First argument must be a valid error code number");this._deflating?this.enqueue([this.doClose,s,n,i]):this.doClose(s,n,i)}doClose(e,t,n){this.sendFrame(l.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),n)}ping(e,t,n){let i=c(e);if(i.length>125)throw RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,i,t,c.readOnly,n]):this.doPing(i,t,c.readOnly,n)}doPing(e,t,n,i){this.sendFrame(l.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:n}),i)}pong(e,t,n){let i=c(e);if(i.length>125)throw RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,i,t,c.readOnly,n]):this.doPong(i,t,c.readOnly,n)}doPong(e,t,n,i){this.sendFrame(l.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:n}),i)}send(e,t,n){let i=c(e),a=this._extensions[s.extensionName],r=t.binary?2:1,o=t.compress;if(this._firstFragment?(this._firstFragment=!1,o&&a&&(o=i.length>=a._threshold),this._compress=o):(o=!1,r=0),t.fin&&(this._firstFragment=!0),a){let e={fin:t.fin,rsv1:o,opcode:r,mask:t.mask,readOnly:c.readOnly};this._deflating?this.enqueue([this.dispatch,i,this._compress,e,n]):this.dispatch(i,this._compress,e,n)}else this.sendFrame(l.frame(i,{fin:t.fin,rsv1:!1,opcode:r,mask:t.mask,readOnly:c.readOnly}),n)}dispatch(e,t,n,i){if(!t){this.sendFrame(l.frame(e,n),i);return}let a=this._extensions[s.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,a.compress(e,n.fin,(t,s)=>{if(this._socket.destroyed){let e=Error("The socket was closed while data was being compressed");"function"==typeof i&&i(e);for(let t=0;t{"use strict";let{Duplex:i}=n(12781);function s(e){e.emit("close")}function a(){!this.destroyed&&this._writableState.finished&&this.destroy()}function r(e){this.removeListener("error",r),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let n=!0,o=!0;function c(){n&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c)}):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c));let u=new i({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t){u.push(t)||(n=!1,e._socket.pause())}),e.once("error",function(e){u.destroyed||(o=!1,u.destroy(e))}),e.once("close",function(){u.destroyed||u.push(null)}),u._destroy=function(t,n){if(e.readyState===e.CLOSED){n(t),process.nextTick(s,u);return}let i=!1;e.once("error",function(e){i=!0,n(e)}),e.once("close",function(){i||n(t),process.nextTick(s,u)}),o&&e.terminate()},u._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function(){u._final(t)});return}null!==e._socket&&(e._socket._writableState.finished?(t(),u._readableState.endEmitted&&u.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},u._read=function(){e.readyState!==e.OPEN&&e.readyState!==e.CLOSING||n||(n=!0,e._receiver._writableState.needDrain||e._socket.resume())},u._write=function(t,n,i){if(e.readyState===e.CONNECTING){e.once("open",function(){u._write(t,n,i)});return}e.send(t,i)},u.on("end",a),u.on("error",r),u}},69836:(e,t,n)=>{"use strict";function i(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function s(e){let t=e.length,n=0;for(;n=t||(192&e[n+1])!=128||(192&e[n+2])!=128||224===e[n]&&(224&e[n+1])==128||237===e[n]&&(224&e[n+1])==160)return!1;n+=3}else{if((248&e[n])!=240||n+3>=t||(192&e[n+1])!=128||(192&e[n+2])!=128||(192&e[n+3])!=128||240===e[n]&&(240&e[n+1])==128||244===e[n]&&e[n+1]>143||e[n]>244)return!1;n+=4}return!0}try{let t=n(77640);"object"==typeof t&&(t=t.Validation.isValidUTF8),e.exports={isValidStatusCode:i,isValidUTF8:e=>e.length<150?s(e):t(e)}}catch(t){e.exports={isValidStatusCode:i,isValidUTF8:s}}},47472:(e,t,n)=>{"use strict";let i=n(82361),s=n(13685);n(95687),n(41808),n(24404);let{createHash:a}=n(6113),r=n(51422),o=n(15418),{format:c,parse:u}=n(62802),{GUID:l,kWebSocket:p}=n(42479),d=/^[+/0-9A-Za-z]{22}==$/;class h extends i{constructor(e,t){if(super(),null==(e={maxPayload:104857600,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=s.createServer((e,t)=>{let n=s.STATUS_CODES[426];t.writeHead(426,{"Content-Length":n.length,"Content-Type":"text/plain"}),t.end(n)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){let e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(let n of Object.keys(t))e.on(n,t[n]);return function(){for(let n of Object.keys(t))e.removeListener(n,t[n])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,n,i)=>{this.handleUpgrade(t,n,i,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set),this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(e&&this.once("close",e),2===this._state){process.nextTick(m,this);return}if(1===this._state)return;if(this._state=1,this.clients)for(let e of this.clients)e.terminate();let t=this._server;if(t&&(this._removeListeners(),this._removeListeners=this._server=null,null!=this.options.port)){t.close(m.bind(void 0,this));return}process.nextTick(m,this)}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,n,i){t.on("error",f);let s=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"].trim(),a=e.headers.upgrade,o=+e.headers["sec-websocket-version"],c={};if("GET"!==e.method||void 0===a||"websocket"!==a.toLowerCase()||!s||!d.test(s)||8!==o&&13!==o||!this.shouldHandle(e))return v(t,400);if(this.options.perMessageDeflate){let n=new r(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let t=u(e.headers["sec-websocket-extensions"]);t[r.extensionName]&&(n.accept(t[r.extensionName]),c[r.extensionName]=n)}catch(e){return v(t,400)}}if(this.options.verifyClient){let a={origin:e.headers[`${8===o?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length){this.options.verifyClient(a,(a,r,o,u)=>{if(!a)return v(t,r||401,o,u);this.completeUpgrade(s,c,e,t,n,i)});return}if(!this.options.verifyClient(a))return v(t,401)}this.completeUpgrade(s,c,e,t,n,i)}completeUpgrade(e,t,n,i,s,u){if(!i.readable||!i.writable)return i.destroy();if(i[p])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return v(i,503);let d=a("sha1").update(e+l).digest("base64"),h=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${d}`],m=new o(null),g=n.headers["sec-websocket-protocol"];if(g&&(g=g.split(",").map(x),(g=this.options.handleProtocols?this.options.handleProtocols(g,n):g[0])&&(h.push(`Sec-WebSocket-Protocol: ${g}`),m._protocol=g)),t[r.extensionName]){let e=t[r.extensionName].params,n=c({[r.extensionName]:[e]});h.push(`Sec-WebSocket-Extensions: ${n}`),m._extensions=t}this.emit("headers",h,n),i.write(h.concat("\r\n").join("\r\n")),i.removeListener("error",f),m.setSocket(i,s,this.options.maxPayload),this.clients&&(this.clients.add(m),m.on("close",()=>this.clients.delete(m))),u(m,n)}}function m(e){e._state=2,e.emit("close")}function f(){this.destroy()}function v(e,t,n,i){e.writable&&(n=n||s.STATUS_CODES[t],i={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(n),...i},e.write(`HTTP/1.1 ${t} ${s.STATUS_CODES[t]}\r +`+Object.keys(i).map(e=>`${e}: ${i[e]}`).join("\r\n")+"\r\n\r\n"+n)),e.removeListener("error",f),e.destroy()}function x(e){return e.trim()}e.exports=h},15418:(e,t,n)=>{"use strict";let i=n(82361),s=n(95687),a=n(13685),r=n(41808),o=n(24404),{randomBytes:c,createHash:u}=n(6113),{Readable:l}=n(12781),{URL:p}=n(57310),d=n(51422),h=n(91768),m=n(47650),{BINARY_TYPES:f,EMPTY_BUFFER:v,GUID:x,kStatusCode:g,kWebSocket:b,NOOP:y}=n(42479),{addEventListener:w,removeEventListener:_}=n(20461),{format:k,parse:S}=n(62802),{toBuffer:E}=n(34879),R=["CONNECTING","OPEN","CLOSING","CLOSED"],C=[8,13];class O extends i{constructor(e,t,n){super(),this._binaryType=f[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=O.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(t)?t=t.join(", "):"object"==typeof t&&null!==t&&(n=t,t=void 0),function e(t,n,i,r){let o,l;let h={protocolVersion:C[1],maxPayload:104857600,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!C.includes(h.protocolVersion))throw RangeError(`Unsupported protocol version: ${h.protocolVersion} (supported versions: ${C.join(", ")})`);n instanceof p?(o=n,t._url=n.href):(o=new p(n),t._url=n);let m="ws+unix:"===o.protocol;if(!o.host&&(!m||!o.pathname)){let e=Error(`Invalid URL: ${t.url}`);if(0===t._redirects)throw e;j(t,e);return}let f="wss:"===o.protocol||"https:"===o.protocol,v=f?443:80,g=c(16).toString("base64"),b=f?s.get:a.get;if(h.createConnection=f?L:T,h.defaultPort=h.defaultPort||v,h.port=o.port||v,h.host=o.hostname.startsWith("[")?o.hostname.slice(1,-1):o.hostname,h.headers={"Sec-WebSocket-Version":h.protocolVersion,"Sec-WebSocket-Key":g,Connection:"Upgrade",Upgrade:"websocket",...h.headers},h.path=o.pathname+o.search,h.timeout=h.handshakeTimeout,h.perMessageDeflate&&(l=new d(!0!==h.perMessageDeflate?h.perMessageDeflate:{},!1,h.maxPayload),h.headers["Sec-WebSocket-Extensions"]=k({[d.extensionName]:l.offer()})),i&&(h.headers["Sec-WebSocket-Protocol"]=i),h.origin&&(h.protocolVersion<13?h.headers["Sec-WebSocket-Origin"]=h.origin:h.headers.Origin=h.origin),(o.username||o.password)&&(h.auth=`${o.username}:${o.password}`),m){let e=h.path.split(":");h.socketPath=e[0],h.path=e[1]}if(h.followRedirects){if(0===t._redirects){t._originalUnixSocket=m,t._originalSecure=f,t._originalHostOrSocketPath=m?h.socketPath:o.host;let e=r&&r.headers;if(r={...r,headers:{}},e)for(let[t,n]of Object.entries(e))r.headers[t.toLowerCase()]=n}else{let e=m?!!t._originalUnixSocket&&h.socketPath===t._originalHostOrSocketPath:!t._originalUnixSocket&&o.host===t._originalHostOrSocketPath;e&&(!t._originalSecure||f)||(delete h.headers.authorization,delete h.headers.cookie,e||delete h.headers.host,h.auth=void 0)}h.auth&&!r.headers.authorization&&(r.headers.authorization="Basic "+Buffer.from(h.auth).toString("base64"))}let y=t._req=b(h);h.timeout&&y.on("timeout",()=>{I(t,y,"Opening handshake has timed out")}),y.on("error",e=>{null===y||y.aborted||(y=t._req=null,j(t,e))}),y.on("response",s=>{let a=s.headers.location,o=s.statusCode;if(a&&h.followRedirects&&o>=300&&o<400){let s;if(++t._redirects>h.maxRedirects){I(t,y,"Maximum redirects exceeded");return}y.abort();try{s=new p(a,n)}catch(e){j(t,e);return}e(t,s,i,r)}else t.emit("unexpected-response",y,s)||I(t,y,`Unexpected server response: ${s.statusCode}`)}),y.on("upgrade",(e,n,s)=>{let a;if(t.emit("upgrade",e),t.readyState!==O.CONNECTING)return;y=t._req=null;let r=e.headers.upgrade;if(void 0===r||"websocket"!==r.toLowerCase()){I(t,n,"Invalid Upgrade header");return}let o=u("sha1").update(g+x).digest("base64");if(e.headers["sec-websocket-accept"]!==o){I(t,n,"Invalid Sec-WebSocket-Accept header");return}let c=e.headers["sec-websocket-protocol"],p=(i||"").split(/, */);if(!i&&c?a="Server sent a subprotocol but none was requested":i&&!c?a="Server sent no subprotocol":c&&!p.includes(c)&&(a="Server sent an invalid subprotocol"),a){I(t,n,a);return}c&&(t._protocol=c);let m=e.headers["sec-websocket-extensions"];if(void 0!==m){let e;if(!l){I(t,n,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}try{e=S(m)}catch(e){I(t,n,"Invalid Sec-WebSocket-Extensions header");return}let i=Object.keys(e);if(i.length){if(1!==i.length||i[0]!==d.extensionName){I(t,n,"Server indicated an extension that was not requested");return}try{l.accept(e[d.extensionName])}catch(e){I(t,n,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[d.extensionName]=l}}t.setSocket(n,s,h.maxPayload)})}(this,e,t,n)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){f.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){}set onclose(e){}get onerror(){}set onerror(e){}get onopen(){}set onopen(e){}get onmessage(){}set onmessage(e){}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,n){let i=new h(this.binaryType,this._extensions,this._isServer,n);this._sender=new m(e,this._extensions),this._receiver=i,this._socket=e,i[b]=this,e[b]=this,i.on("conclude",A),i.on("drain",P),i.on("error",N),i.on("message",M),i.on("ping",F),i.on("pong",$),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",q),e.on("data",z),e.on("end",W),e.on("error",H),this._readyState=O.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=O.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[d.extensionName]&&this._extensions[d.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=O.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==O.CLOSED){if(this.readyState===O.CONNECTING)return I(this,this._req,"WebSocket was closed before the connection was established");if(this.readyState===O.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=O.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)}}ping(e,t,n){if(this.readyState===O.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==O.OPEN){U(this,e,n);return}void 0===t&&(t=!this._isServer),this._sender.ping(e||v,t,n)}pong(e,t,n){if(this.readyState===O.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==O.OPEN){U(this,e,n);return}void 0===t&&(t=!this._isServer),this._sender.pong(e||v,t,n)}send(e,t,n){if(this.readyState===O.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(n=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==O.OPEN){U(this,e,n);return}let i={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[d.extensionName]||(i.compress=!1),this._sender.send(e||v,i,n)}terminate(){if(this.readyState!==O.CLOSED){if(this.readyState===O.CONNECTING)return I(this,this._req,"WebSocket was closed before the connection was established");this._socket&&(this._readyState=O.CLOSING,this._socket.destroy())}}}function j(e,t){e._readyState=O.CLOSING,e.emit("error",t),e.emitClose()}function T(e){return e.path=e.socketPath,r.connect(e)}function L(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=r.isIP(e.host)?"":e.host),o.connect(e)}function I(e,t,n){e._readyState=O.CLOSING;let i=Error(n);Error.captureStackTrace(i,I),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",i)):(t.destroy(i),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function U(e,t,n){if(t){let n=E(t).length;e._socket?e._sender._bufferedBytes+=n:e._bufferedAmount+=n}n&&n(Error(`WebSocket is not open: readyState ${e.readyState} (${R[e.readyState]})`))}function A(e,t){let n=this[b];n._closeFrameReceived=!0,n._closeMessage=t,n._closeCode=e,void 0!==n._socket[b]&&(n._socket.removeListener("data",z),process.nextTick(B,n._socket),1005===e?n.close():n.close(e,t))}function P(){this[b]._socket.resume()}function N(e){let t=this[b];void 0!==t._socket[b]&&(t._socket.removeListener("data",z),process.nextTick(B,t._socket),t.close(e[g])),t.emit("error",e)}function D(){this[b].emitClose()}function M(e){this[b].emit("message",e)}function F(e){let t=this[b];t.pong(e,!t._isServer,y),t.emit("ping",e)}function $(e){this[b].emit("pong",e)}function B(e){e.resume()}function q(){let e;let t=this[b];this.removeListener("close",q),this.removeListener("data",z),this.removeListener("end",W),t._readyState=O.CLOSING,this._readableState.endEmitted||t._closeFrameReceived||t._receiver._writableState.errorEmitted||null===(e=t._socket.read())||t._receiver.write(e),t._receiver.end(),this[b]=void 0,clearTimeout(t._closeTimer),t._receiver._writableState.finished||t._receiver._writableState.errorEmitted?t.emitClose():(t._receiver.on("error",D),t._receiver.on("finish",D))}function z(e){this[b]._receiver.write(e)||this.pause()}function W(){let e=this[b];e._readyState=O.CLOSING,e._receiver.end(),this.end()}function H(){let e=this[b];this.removeListener("error",H),this.on("error",y),e&&(e._readyState=O.CLOSING,this.destroy())}Object.defineProperty(O,"CONNECTING",{enumerable:!0,value:R.indexOf("CONNECTING")}),Object.defineProperty(O.prototype,"CONNECTING",{enumerable:!0,value:R.indexOf("CONNECTING")}),Object.defineProperty(O,"OPEN",{enumerable:!0,value:R.indexOf("OPEN")}),Object.defineProperty(O.prototype,"OPEN",{enumerable:!0,value:R.indexOf("OPEN")}),Object.defineProperty(O,"CLOSING",{enumerable:!0,value:R.indexOf("CLOSING")}),Object.defineProperty(O.prototype,"CLOSING",{enumerable:!0,value:R.indexOf("CLOSING")}),Object.defineProperty(O,"CLOSED",{enumerable:!0,value:R.indexOf("CLOSED")}),Object.defineProperty(O.prototype,"CLOSED",{enumerable:!0,value:R.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(e=>{Object.defineProperty(O.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(O.prototype,`on${e}`,{enumerable:!0,get(){let t=this.listeners(e);for(let e=0;e{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},15115:(e,t,n)=>{var i=n(84598);e.exports=function(e){if(Array.isArray(e))return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},18999:e=>{e.exports=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},85577:e=>{function t(e,t,n,i,s,a,r){try{var o=e[a](r),c=o.value}catch(e){return void n(e)}o.done?t(c):Promise.resolve(c).then(i,s)}e.exports=function(e){return function(){var n=this,i=arguments;return new Promise(function(s,a){var r=e.apply(n,i);function o(e){t(r,s,a,o,c,"next",e)}function c(e){t(r,s,a,o,c,"throw",e)}o(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},8908:e=>{e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},15182:(e,t,n)=>{var i=n(93762),s=n(20805);e.exports=function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var r=new(e.bind.apply(e,a));return n&&s(r,n.prototype),r},e.exports.__esModule=!0,e.exports.default=e.exports},85925:(e,t,n)=>{var i=n(38627);function s(e,t){for(var n=0;n{var i=n(38627);e.exports=function(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},4239:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},23006:(e,t,n)=>{var i=n(20805);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},58089:e=>{e.exports=function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},93762:e=>{function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},91781:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},15494:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,s,a,r,o=[],c=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=a.call(n)).done)&&(o.push(i.value),o.length!==t);c=!0);}catch(e){u=!0,s=e}finally{try{if(!c&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(u)throw s}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports},29150:e=>{e.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},76253:e=>{e.exports=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},29862:(e,t,n)=>{var i=n(70239);e.exports=function(e,t){if(null==e)return{};var n,s,a=i(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s{e.exports=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},64702:(e,t,n)=>{var i=n(73897).default,s=n(18999);e.exports=function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},77165:(e,t,n)=>{var i=n(73897).default;function s(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=s=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},a=Object.prototype,r=a.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",p=c.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function h(e,n,i,s){var a,r,c=Object.create((n&&n.prototype instanceof b?n:b).prototype);return o(c,"_invoke",{value:(a=new T(s||[]),r=f,function(n,s){if(r===v)throw Error("Generator is already running");if(r===x){if("throw"===n)throw s;return{value:t,done:!0}}for(a.method=n,a.arg=s;;){var o=a.delegate;if(o){var c=function e(n,i){var s=i.method,a=n.iterator[s];if(a===t)return i.delegate=null,"throw"===s&&n.iterator.return&&(i.method="return",i.arg=t,e(n,i),"throw"===i.method)||"return"!==s&&(i.method="throw",i.arg=TypeError("The iterator does not provide a '"+s+"' method")),g;var r=m(a,n.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,g;var o=r.arg;return o?o.done?(i[n.resultName]=o.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,g):o:(i.method="throw",i.arg=TypeError("iterator result is not an object"),i.delegate=null,g)}(o,a);if(c){if(c===g)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===f)throw r=x,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=v;var u=m(e,i,a);if("normal"===u.type){if(r=a.done?x:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:a.done}}"throw"===u.type&&(r=x,a.method="throw",a.arg=u.arg)}})}),c}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var f="suspendedStart",v="executing",x="completed",g={};function b(){}function y(){}function w(){}var _={};d(_,u,function(){return this});var k=Object.getPrototypeOf,S=k&&k(k(L([])));S&&S!==a&&r.call(S,u)&&(_=S);var E=w.prototype=b.prototype=Object.create(_);function R(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){var n;o(this,"_invoke",{value:function(s,a){function o(){return new t(function(n,o){!function n(s,a,o,c){var u=m(e[s],e,a);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==i(p)&&r.call(p,"__await")?t.resolve(p.__await).then(function(e){n("next",e,o,c)},function(e){n("throw",e,o,c)}):t.resolve(p).then(function(e){l.value=e,o(l)},function(e){return n("throw",e,o,c)})}c(u.arg)}(s,a,n,o)})}return n=n?n.then(o,o):o()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function n(){for(;++s=0;--s){var a=this.tryEntries[s],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var s=i.arg;j(n)}return s}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:L(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},n}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},20805:e=>{function t(n,i){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,i)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60474:(e,t,n)=>{var i=n(28304),s=n(15494),a=n(83749),r=n(29150);e.exports=function(e,t){return i(e)||s(e,t)||a(e,t)||r()},e.exports.__esModule=!0,e.exports.default=e.exports},83470:(e,t,n)=>{var i=n(15115),s=n(91781),a=n(83749),r=n(76253);e.exports=function(e){return i(e)||s(e)||a(e)||r()},e.exports.__esModule=!0,e.exports.default=e.exports},43560:(e,t,n)=>{var i=n(73897).default;e.exports=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=i(s))return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},38627:(e,t,n)=>{var i=n(73897).default,s=n(43560);e.exports=function(e){var t=s(e,"string");return"symbol"==i(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},73897:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},83749:(e,t,n)=>{var i=n(84598);e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},16041:(e,t,n)=>{var i=n(83968),s=n(20805),a=n(58089),r=n(15182);function o(t){var n="function"==typeof Map?new Map:void 0;return e.exports=o=function(e){if(null===e||!a(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return r(e,arguments,i(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},81213:(e,t,n)=>{var i=n(77165)();e.exports=i;try{regeneratorRuntime=i}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},2753:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}};var t=require("../../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),i=t.X(0,[948,972],()=>n(92430));module.exports=i})(); \ No newline at end of file diff --git a/server/app/api/create-user/route.js.nft.json b/server/app/api/create-user/route.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..c022fa782085840bf99ab37cf64fad4ed5372783 --- /dev/null +++ b/server/app/api/create-user/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/948.js","../../../chunks/972.js","../../../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/app/auth/callback/route.js b/server/app/auth/callback/route.js new file mode 100644 index 0000000000000000000000000000000000000000..9e691fcb746f75fcbd72029771c8ad7a925f4cbb --- /dev/null +++ b/server/app/auth/callback/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=936,e.ids=[936],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},14300:e=>{e.exports=require("buffer")},6113:e=>{e.exports=require("crypto")},82361:e=>{e.exports=require("events")},13685:e=>{e.exports=require("http")},95687:e=>{e.exports=require("https")},41808:e=>{e.exports=require("net")},85477:e=>{e.exports=require("punycode")},12781:e=>{e.exports=require("stream")},24404:e=>{e.exports=require("tls")},57310:e=>{e.exports=require("url")},59796:e=>{e.exports=require("zlib")},7044:(e,r,t)=>{t.r(r),t.d(r,{originalPathname:()=>q,patchFetch:()=>g,requestAsyncStorage:()=>d,routeModule:()=>x,serverHooks:()=>m,staticGenerationAsyncStorage:()=>h});var o={};t.r(o),t.d(o,{GET:()=>l,dynamic:()=>p});var s=t(49303),a=t(88716),n=t(60670),i=t(20344),u=t(71615),c=t(87070);let p="force-dynamic";async function l(e){let r=new URL(e.url),t=r.searchParams.get("code");if(t){let e=(0,i.createRouteHandlerClient)({cookies:u.cookies});await e.auth.exchangeCodeForSession(t)}return c.NextResponse.redirect(r.origin)}let x=new s.AppRouteRouteModule({definition:{kind:a.x.APP_ROUTE,page:"/auth/callback/route",pathname:"/auth/callback",filename:"route",bundlePath:"app/auth/callback/route"},resolvedPagePath:"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/auth/callback/route.ts",nextConfigOutput:"",userland:o}),{requestAsyncStorage:d,staticGenerationAsyncStorage:h,serverHooks:m}=x,q="/auth/callback/route";function g(){return(0,n.patchFetch)({serverHooks:m,staticGenerationAsyncStorage:h})}}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[948,525,972],()=>t(7044));module.exports=o})(); \ No newline at end of file diff --git a/server/app/auth/callback/route.js.nft.json b/server/app/auth/callback/route.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..9d391644a89a178ef825a0e0d4b7a9754bb854bc --- /dev/null +++ b/server/app/auth/callback/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/525.js","../../../chunks/893.js","../../../chunks/948.js","../../../chunks/972.js","../../../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/app/auth/sign-in/route.js b/server/app/auth/sign-in/route.js new file mode 100644 index 0000000000000000000000000000000000000000..43d04c5db9561d17796414122789910098ec9f80 --- /dev/null +++ b/server/app/auth/sign-in/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=80,e.ids=[80],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},14300:e=>{e.exports=require("buffer")},6113:e=>{e.exports=require("crypto")},82361:e=>{e.exports=require("events")},13685:e=>{e.exports=require("http")},95687:e=>{e.exports=require("https")},41808:e=>{e.exports=require("net")},85477:e=>{e.exports=require("punycode")},12781:e=>{e.exports=require("stream")},24404:e=>{e.exports=require("tls")},57310:e=>{e.exports=require("url")},59796:e=>{e.exports=require("zlib")},51404:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>h,patchFetch:()=>q,requestAsyncStorage:()=>x,routeModule:()=>l,serverHooks:()=>m,staticGenerationAsyncStorage:()=>g});var s={};r.r(s),r.d(s,{POST:()=>d,dynamic:()=>c});var i=r(49303),n=r(88716),o=r(60670),a=r(20344),u=r(71615),p=r(87070);let c="force-dynamic";async function d(e){let t=new URL(e.url),r=await e.formData(),s=String(r.get("email")),i=String(r.get("password")),n=(0,a.createRouteHandlerClient)({cookies:u.cookies}),{error:o}=await n.auth.signInWithPassword({email:s,password:i});return o?p.NextResponse.redirect(`${t.origin}/login?error=Could not authenticate user`,{status:301}):p.NextResponse.redirect(t.origin,{status:301})}let l=new i.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/auth/sign-in/route",pathname:"/auth/sign-in",filename:"route",bundlePath:"app/auth/sign-in/route"},resolvedPagePath:"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/auth/sign-in/route.ts",nextConfigOutput:"",userland:s}),{requestAsyncStorage:x,staticGenerationAsyncStorage:g,serverHooks:m}=l,h="/auth/sign-in/route";function q(){return(0,o.patchFetch)({serverHooks:m,staticGenerationAsyncStorage:g})}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[948,525,972],()=>r(51404));module.exports=s})(); \ No newline at end of file diff --git a/server/app/auth/sign-in/route.js.nft.json b/server/app/auth/sign-in/route.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..9d391644a89a178ef825a0e0d4b7a9754bb854bc --- /dev/null +++ b/server/app/auth/sign-in/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/525.js","../../../chunks/893.js","../../../chunks/948.js","../../../chunks/972.js","../../../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/app/auth/sign-out/route.js b/server/app/auth/sign-out/route.js new file mode 100644 index 0000000000000000000000000000000000000000..3cad709ed174a300b3a23820781a30299930c7d3 --- /dev/null +++ b/server/app/auth/sign-out/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=783,e.ids=[783],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},14300:e=>{e.exports=require("buffer")},6113:e=>{e.exports=require("crypto")},82361:e=>{e.exports=require("events")},13685:e=>{e.exports=require("http")},95687:e=>{e.exports=require("https")},41808:e=>{e.exports=require("net")},85477:e=>{e.exports=require("punycode")},12781:e=>{e.exports=require("stream")},24404:e=>{e.exports=require("tls")},57310:e=>{e.exports=require("url")},59796:e=>{e.exports=require("zlib")},80406:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>m,patchFetch:()=>h,requestAsyncStorage:()=>d,routeModule:()=>l,serverHooks:()=>q,staticGenerationAsyncStorage:()=>g});var o={};r.r(o),r.d(o,{POST:()=>x,dynamic:()=>c});var s=r(49303),n=r(88716),i=r(60670),u=r(20344),a=r(71615),p=r(87070);let c="force-dynamic";async function x(e){let t=new URL(e.url),r=(0,u.createRouteHandlerClient)({cookies:a.cookies});return await r.auth.signOut(),p.NextResponse.redirect(`${t.origin}/login`,{status:301})}let l=new s.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/auth/sign-out/route",pathname:"/auth/sign-out",filename:"route",bundlePath:"app/auth/sign-out/route"},resolvedPagePath:"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/auth/sign-out/route.ts",nextConfigOutput:"",userland:o}),{requestAsyncStorage:d,staticGenerationAsyncStorage:g,serverHooks:q}=l,m="/auth/sign-out/route";function h(){return(0,i.patchFetch)({serverHooks:q,staticGenerationAsyncStorage:g})}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),o=t.X(0,[948,525,972],()=>r(80406));module.exports=o})(); \ No newline at end of file diff --git a/server/app/auth/sign-out/route.js.nft.json b/server/app/auth/sign-out/route.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..9d391644a89a178ef825a0e0d4b7a9754bb854bc --- /dev/null +++ b/server/app/auth/sign-out/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/525.js","../../../chunks/893.js","../../../chunks/948.js","../../../chunks/972.js","../../../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/app/auth/sign-up/route.js b/server/app/auth/sign-up/route.js new file mode 100644 index 0000000000000000000000000000000000000000..074f128e2e03066172ce2564d84aab604e4f4a58 --- /dev/null +++ b/server/app/auth/sign-up/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=727,e.ids=[727],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},14300:e=>{e.exports=require("buffer")},6113:e=>{e.exports=require("crypto")},82361:e=>{e.exports=require("events")},13685:e=>{e.exports=require("http")},95687:e=>{e.exports=require("https")},41808:e=>{e.exports=require("net")},85477:e=>{e.exports=require("punycode")},12781:e=>{e.exports=require("stream")},24404:e=>{e.exports=require("tls")},57310:e=>{e.exports=require("url")},59796:e=>{e.exports=require("zlib")},61433:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>h,patchFetch:()=>q,requestAsyncStorage:()=>x,routeModule:()=>d,serverHooks:()=>m,staticGenerationAsyncStorage:()=>g});var s={};r.r(s),r.d(s,{POST:()=>l,dynamic:()=>c});var o=r(49303),i=r(88716),n=r(60670),a=r(20344),u=r(71615),p=r(87070);let c="force-dynamic";async function l(e){let t=new URL(e.url),r=await e.formData(),s=String(r.get("email")),o=String(r.get("password")),i=(0,a.createRouteHandlerClient)({cookies:u.cookies}),{error:n}=await i.auth.signUp({email:s,password:o,options:{emailRedirectTo:`${t.origin}/auth/callback`}});return n?p.NextResponse.redirect(`${t.origin}/login?error=Could not authenticate user`,{status:301}):p.NextResponse.redirect(`${t.origin}/login?message=Check email to continue sign in process`,{status:301})}let d=new o.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/auth/sign-up/route",pathname:"/auth/sign-up",filename:"route",bundlePath:"app/auth/sign-up/route"},resolvedPagePath:"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/auth/sign-up/route.ts",nextConfigOutput:"",userland:s}),{requestAsyncStorage:x,staticGenerationAsyncStorage:g,serverHooks:m}=d,h="/auth/sign-up/route";function q(){return(0,n.patchFetch)({serverHooks:m,staticGenerationAsyncStorage:g})}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[948,525,972],()=>r(61433));module.exports=s})(); \ No newline at end of file diff --git a/server/app/auth/sign-up/route.js.nft.json b/server/app/auth/sign-up/route.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..9d391644a89a178ef825a0e0d4b7a9754bb854bc --- /dev/null +++ b/server/app/auth/sign-up/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/525.js","../../../chunks/893.js","../../../chunks/948.js","../../../chunks/972.js","../../../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/app/favicon.ico.body b/server/app/favicon.ico.body new file mode 100644 index 0000000000000000000000000000000000000000..718d6fea4835ec2d246af9800eddb7ffb276240c Binary files /dev/null and b/server/app/favicon.ico.body differ diff --git a/server/app/favicon.ico.meta b/server/app/favicon.ico.meta new file mode 100644 index 0000000000000000000000000000000000000000..b5516f2f535f6648c71266fa92e6599ce99bcfde --- /dev/null +++ b/server/app/favicon.ico.meta @@ -0,0 +1 @@ +{"status":200,"headers":{"cache-control":"public, max-age=0, must-revalidate","content-type":"image/x-icon","x-next-cache-tags":"_N_T_/layout,_N_T_/favicon.ico/layout,_N_T_/favicon.ico/route,_N_T_/favicon.ico"}} \ No newline at end of file diff --git a/server/app/favicon.ico/route.js b/server/app/favicon.ico/route.js new file mode 100644 index 0000000000000000000000000000000000000000..9783c0aba378577a4a91b7132986ab91dae6dea7 --- /dev/null +++ b/server/app/favicon.ico/route.js @@ -0,0 +1,12 @@ +(()=>{var A={};A.id=155,A.ids=[155],A.modules={20399:A=>{"use strict";A.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:A=>{"use strict";A.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50423:(A,e,t)=>{"use strict";t.r(e),t.d(e,{originalPathname:()=>d,patchFetch:()=>g,requestAsyncStorage:()=>l,routeModule:()=>D,serverHooks:()=>c,staticGenerationAsyncStorage:()=>u});var i={};t.r(i),t.d(i,{GET:()=>w,dynamic:()=>P});var r=t(49303),o=t(88716),n=t(60670),s=t(73896);let a=Buffer.from("AAABAAQAEBAAAAEAIAAoBQAARgAAACAgAAABACAAKBQAAG4FAAAwMAAAAQAgACgtAACWGQAAAAAAAAEAIACNHgAAvkYAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAABdAAAAugAAALoAAABdAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAKAAAADyAAAA/wAAAP8AAAD/AAAA/wAAAPIAAACgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAOAAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAOAAAAA4AAAAAAAAAAAAAAAAAAAAHwAAAOIAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA4gAAAB8AAAAAAAAAAAAAAKEAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAChAAAAAAAAACMAAAD0AAAA/wAAAP9PT0//rq6u/6urq/+rq6v/q6ur/6urq/+tra3/Z2dn/wAAAP8AAAD/AAAA9AAAACMAAABZAAAA/wAAAP8AAAD/Hx8f/+3t7f///////////////////////f39/zU1Nf8AAAD/AAAA/wAAAP8AAABZAAAAuwAAAP8AAAD/AAAA/wAAAP9ra2v//////////////////////46Ojv8AAAD/AAAA/wAAAP8AAAD/AAAAuwAAALsAAAD/AAAA/wAAAP8AAAD/CQkJ/83Nzf///////////+Tk5P8YGBj/AAAA/wAAAP8AAAD/AAAA/wAAALsAAABZAAAA/wAAAP8AAAD/AAAA/wAAAP9KSkr//f39//////9ra2v/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAABZAAAAIwAAAPQAAAD/AAAA/wAAAP8AAAD/AQEB/7a2tv/V1dX/CQkJ/wAAAP8AAAD/AAAA/wAAAP8AAAD0AAAAIwAAAAAAAAChAAAA/wAAAP8AAAD/AAAA/wAAAP8xMTH/RERE/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAoQAAAAAAAAAAAAAAHwAAAOIAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA4gAAAB8AAAAAAAAAAAAAAAAAAAA4AAAA4AAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA4AAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAACgAAAA8gAAAP8AAAD/AAAA/wAAAP8AAADyAAAAoAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAABdAAAAugAAALoAAABdAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAsAAAAVQAAAIEAAADoAAAA6AAAAIEAAABVAAAALAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACoAAACFAAAA0gAAAPkAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD5AAAA0gAAAIUAAAAqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAACWAAAA8wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPMAAACWAAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRAAAA4QAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADhAAAAUQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcgAAAPsAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD7AAAAcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPAAAA+wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD7AAAATwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGwAAAOQAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADjAAAAGwAAAAAAAAAAAAAAAAAAAAAAAACXAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACXAAAAAAAAAAAAAAAAAAAAKAAAAPUAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPQAAAAnAAAAAAAAAAAAAACGAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ODg4/4uLi/+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+JiYn/X19f/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAIYAAAAAAAAABwAAANQAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8eHh7/7u7u//////////////////////////////////////////////////////////////////////9TU1P/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA1AAAAAcAAAArAAAA+gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9oaGj/////////////////////////////////////////////////////////////////rq6u/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD6AAAAKwAAAFQAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wgICP/Ly8v///////////////////////////////////////////////////////T09P8sLCz/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAABUAAAAggAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/0dHR//9/f3/////////////////////////////////////////////////jY2N/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAIEAAADpAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/62trf///////////////////////////////////////////+Tk5P8XFxf/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA6QAAAOkAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/Kysr//Pz8///////////////////////////////////////ampq/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADpAAAAgQAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/i4uL/////////////////////////////////8zMzP8ICAj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAIIAAABUAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8WFhb/4+Pj///////////////////////9/f3/SUlJ/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAVAAAACsAAAD6AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9oaGj//////////////////////6+vr/8BAQH/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPoAAAArAAAABwAAANQAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wgICP/Ly8v////////////09PT/LCws/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA1AAAAAcAAAAAAAAAhgAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/0dHR//9/f3//////42Njf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACGAAAAAAAAAAAAAAAnAAAA9AAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/7Gxsf/s7Oz/FxcX/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA9QAAACgAAAAAAAAAAAAAAAAAAACXAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/MzMz/19fX/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACXAAAAAAAAAAAAAAAAAAAAAAAAABoAAADjAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA5AAAABsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE8AAAD7AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPsAAABPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIAAAD7AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+wAAAHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFEAAADhAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAOEAAABRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAACWAAAA8wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPMAAACWAAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAhQAAANIAAAD5AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+QAAANIAAACFAAAAKgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAACwAAABVAAAAgQAAAOgAAADoAAAAgQAAAFUAAAAsAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAwAAAAYAAAAAEAIAAAAAAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAAKAAAAEwAAABqAAAAswAAAPgAAAD3AAAAswAAAGoAAABLAAAAKAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATAAAAVgAAAKAAAADYAAAA+AAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+AAAANgAAACgAAAAVQAAABMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQAAAIsAAADhAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAOEAAACLAAAAJgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYAAACLAAAA7wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA7wAAAIsAAAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUQAAANwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADcAAAAUgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAACKAAAA/gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/gAAAIoAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAK0AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACtAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPAAAAuAAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAuAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAACuAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAK4AAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAP0AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD9AAAATwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVAAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA3wAAABUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACLAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAIsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACMAAADxAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPEAAAAjAAAAAAAAAAAAAAAAAAAAAAAAAIwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACLAAAAAAAAAAAAAAAAAAAAEQAAAOQAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8kJCT/aGho/2VlZf9lZWX/ZWVl/2VlZf9lZWX/ZWVl/2VlZf9lZWX/ZWVl/2VlZf9lZWX/ZWVl/2VlZf9lZWX/ZWVl/2VlZf9lZWX/ZWVl/2VlZf9lZWX/ZWVl/1BQUP8BAQH/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADkAAAAEQAAAAAAAAAAAAAAVQAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8cHBz/6+vr/////////////////////////////////////////////////////////////////////////////////////////////////////////////////3Nzc/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAVQAAAAAAAAAAAAAAoQAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ZWVl////////////////////////////////////////////////////////////////////////////////////////////////////////////zMzM/wgICP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAoQAAAAAAAAAJAAAA2gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/BwcH/8nJyf/////////////////////////////////////////////////////////////////////////////////////////////////9/f3/SEhI/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA2gAAAAkAAAAoAAAA+QAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/0VFRf/8/Pz///////////////////////////////////////////////////////////////////////////////////////////+urq7/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+AAAACgAAABLAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP+qqqr///////////////////////////////////////////////////////////////////////////////////////T09P8sLCz/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAEwAAABqAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8pKSn/8vLy/////////////////////////////////////////////////////////////////////////////////4yMjP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAGoAAAC0AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/iIiI////////////////////////////////////////////////////////////////////////////4+Pj/xYWFv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAALMAAAD4AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/FBQU/+Hh4f//////////////////////////////////////////////////////////////////////aWlp/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPgAAAD4AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/2VlZf/////////////////////////////////////////////////////////////////Ly8v/CAgI/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPgAAACzAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wcHB//Jycn///////////////////////////////////////////////////////39/f9ISEj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAALQAAABqAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9FRUX//Pz8/////////////////////////////////////////////////66urv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAGoAAABMAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/qqqq////////////////////////////////////////////9PT0/ywsLP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAEsAAAAoAAAA+AAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/KSkp//Ly8v//////////////////////////////////////jIyM/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+QAAACgAAAAJAAAA2gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/4iIiP/////////////////////////////////j4+P/FhYW/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA2gAAAAkAAAAAAAAAoQAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/xQUFP/h4eH///////////////////////////9paWn/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAoQAAAAAAAAAAAAAAVQAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9lZWX//////////////////////8zMzP8ICAj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAVQAAAAAAAAAAAAAAEQAAAOQAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8HBwf/ycnJ/////////////f39/0hISP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADkAAAAEQAAAAAAAAAAAAAAAAAAAIsAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/RUVF//z8/P//////rq6u/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACMAAAAAAAAAAAAAAAAAAAAAAAAACMAAADxAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/6ysrP/7+/v/LCws/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPEAAAAjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACLAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/zIyMv99fX3/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAIsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVAAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA3wAAABUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATwAAAP0AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD9AAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAACuAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAK4AAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAuAAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAuAAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAK0AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACtAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAACKAAAA/gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/gAAAIoAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUgAAANwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADcAAAAUQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYAAACLAAAA7wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA7wAAAIsAAAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJgAAAIsAAADhAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAOEAAACLAAAAJQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATAAAAVQAAAKAAAADYAAAA+AAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+AAAANgAAACgAAAAVgAAABMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAAKAAAAEsAAABqAAAAswAAAPcAAAD4AAAAswAAAGoAAABMAAAAKAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACJUE5HDQoaCgAAAA1JSERSAAABAAAAAQAIBgAAAFxyqGYAAAABc1JHQgCuzhzpAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAAAaAAAAAAACoAIABAAAAAEAAAEAoAMABAAAAAEAAAEAAAAAAEQiOHMAAB4DSURBVHgB7V0JsBXVmW6UXQg8FhFRVkGW6MRoJAnKToyOMTMqiHGwwmSqBsSNqUmhiAiYRJNMMpOqKM4UKNSYMtbEmdEYGUcJi8FxX0DlsYjghoobEngIyJvvu9CPvo97b/e9vZ3T/f1V33t9u0+f5Tvn//v0+c853cKRZIGBrihEZ6AT0BE4CegD9AROALoBXYDuQAugDmgDeKURP3YADcBO4DPgPWA78DbwLvAmsAvgdeIT4CAgsZQBNgaJHQxQganQvYDBQP/DoFLTAFD5aQRaA3HKXkRO4+AagHdwvA3YDLwB0FjQaNCYSAxnQAbAzAo6GdniE3wI8DVgIHAiQAPAJ7zJsgeZc3sN63D8KvAywN4DjYXEIAZkANKvjJbIAhV8KDAS+AowAOCTPkvyFgqzBXgeWAOsBzYBBwBJSgzIAKRDfD8kS0UfBwwHTgHYfc+TfIrC8rXhGeB/AfYWaCAkCTIgA5AM2Xwvp8KPAC4ATgN6AJIjDLyPw1eAZcAK4DWA4w2SGBmQAYiP3LaI+gzgO8B5AJW+FSDxZ+BzBKkHHgZoEF4AGgBJxAzIAERMKKI7E7gEOB+g0h8LSGpngGMEHEh8CHgQoDGgy1IiBoxhgO/004GVAEfB2UCF6DlgL2AlMAPoDUjEQGoM8L1+LLAIoNtLCp8sB3QpLgbOAehJkYiBRBjogVSmAk8C+wEpfrocsA5WA+yBdQUkYiAWBuiqmw3QVSWlN5ODjaib+QBfySRiIBIGOEHn18AHgBTfDg74SvYzYBggEQM1MTAEd1HxPwak+HZy8NHhOvwy/kvEQCAGpPh2KnslI+0agkGBWoAC5ZKBXij1zwE98bNnAFzjwFeD2wGNEYAEySEGOuDfLGAb4DYU/c82FzQEM4E6QJJjBi5G2Z8DpPD55IB1PxHQPAKQkCfhFN0HgIOAlF8c3I92cDogyTgDHVG+mwEOCknxxYG3DXB7M87z0GsBSMiijEehngK8la5j8dG8DTyNNjImiwqQ1zJ1Q8H/BeDa8uaVrd/ipFQb+DPaCr0F6g2ABJuFO+68CJSqZJ0TL35tgL0BLviSWMZAe+R3LrAb8KtkXRdHldoAewNsS9zgRWIBA5z//ShQqVJ1TfxU2wYeQ5vS2gLDDcBk5O9dKb+MX0xt4D3E+z1AYhgDnM33S4DbR1Vr2RVenFXTBtjG2Nb4mikxgIEByAO7Z9VUosKKr7BtYDnaXH8D2n+us8BR/s1A2MrU/eKwljbwOtqe1V4Cm3esnQby7wG4RZdEDKTBAOcJ/DWwE+C6AuvERgPQBizfBtwK8FgiBtJkgG3wPIBuQn7y7AtAEhMDtLj3ArV013SPeIu7Dfw72mbePvEWk6ofHe1JOLUCiLsSFb84DtMGuEMx26okQga4lROnZYapGN0r/pJqA2yr3EVaEgEDwxHHJiCpylM64jqKNrABbfbrEbT/XEcxGqXnF2CiqBDFIR6TbgNsu2zDxorJXoBRYO23QE9j2VPGxEBlBrgBzbcBugi556RxYqoBcJX/BOMYU4bEQHUMcJq6sUbARANA5b8P0JO/uoam0OYyQCPAuQLG9QRMMwCjQZKUHyRIMscAXwdoBJ4HtgJGSAsjcnEoExzt/0/gRIPypKyIgagZ4HJ1bkdPV2HqYooBGAAmlgEDU2dEGRAD8TPARUTnA3RvpyrHpJr6ocQ5a4rdfim/AZWhLCTCAB94vwFSnzGYdg/gSyDhD8A5gEQM5I2BVSjwdwGuJkxF0hwE5Oqpu4ALUym5EhUD6TPQF1k4GXgEOAAkLmkagAUo7YzES6wExYBZDJyO7PBhyF2tEpe0DMA0lPTHgAljEImTrgTFQDMGuGbgA4DzBBKVNMYAxqKE/w3QLyoRA2LgEAP8/gDHA/6YJCFJG4B+hwvYN8lCKi0xYAkDbyCfEwC6CRORJLvgx6FEi4G+iZRMiYgB+xjgA/LfAOpKIpLkGMBPUaLLEymVEhED9jJAI9AOeDSJIiRlAKj4twNJ9jiS4E9piIE4GPgaIt0AvBpH5N44W3h/xHQ8FPEuB7S0NyaCFW0mGdiOUo0HXouzdHH3ANiV4S6+p8VZCMUtBjLIAL1kpwIPAPvjKl/cBuAmZHxqXJlXvGIg4wz0R/n2AaviKmecrwCjkemHgcRGNOMiSfGKgRQZ2IO0LwBiMQJxGYBOyPDjwFmARAyIgXAMvIzbOYHu43DRHH13XK8A85HUpKOT0xkxIAZqYIAD6BxP+58a7q14Sxw9gNFI8fcA90GTiAExEA0DnyMavgpEOlU4agPA9f10+anrDxIkYiBiBp5BfHwV2B1VvFG/AvwDMjYlqswpHjEgBooY6IVfDcDqorMhfkTZA+C65pUAv+ArEQNiIB4GPkG03Dp/XRTRHxNFJIijNTAXkPJHRGhS0XTo0MHp3bt3UskpnfAMUMcWAJHobiSRIDPc1usSQGIZA1OnTnWWLFnitGrVyrKc5zq7F6H03DvACOHA3/NAo2AXB8cff3zjli1bGimTJ09W/dnVhqlzRnjarpPi26X4bn3NmzevoPz8s379+sa6ujoZAbuMwA9Rl6lKX6TOVUtqOJZxMHjw4MYdO3Y0GQAezJ49W/VoVz2+Cd3rCaQmtyFlNRrLOGjRokXj3XffXaT8/PHhhx829u/fX/VpV33+U1raPwgJvy8DYJ8BHDt2bOO+ffuOMgA8sWjRIhkAuwzAp9BB7rmRuNyBFNVYLOOgbdu2jStWrCip/Dy5d+/exhEjRqhe7arXO5PW/mFI8GMZAPsM4JQpU8oqv3th+fLljXALygjYYwQ4OSjRXoCe/vY0jiZFpttvw4YNrp5X/C+3oHXGPbFegJ7+Fio/e2tet19F7cfF+vp6uQXtqmf2AoYAVUkti4HoexxXVSoKnDoDcPs5CxcudNq3bx8oL926dXM+++wz54knnggUXoFSZ4DfF+TankfizElfRK6Rf7ueDI3l3H5+vQC5Ba17DfgI+tk/TgMwH5E3vVPq2A4uxo0b17h//34/fS95XW5BO+rYo4uz4zIAXRDxRk9CMgQWGEM/t19JrfeclFvQOgOwBTraPQ4jwE96S+kt4yCI28+j7yUP5Ra0rt1/P2oD0AYR/kkGwK6GUI3br6Tme07KLWhV3f8fdJU6G5mcg5j4gQL1ACzioBq3n0fXSx7KLWhV2+cGomODaH9QNyAH/84MEqHCmMFAtW4/v1zTLbhr1y65Bf2IMuM69fog8GAU2eFGhNsBPf0t4aBWt1/JR7/npNyCVukA3fV9ojAAV0n5rar4Rrr9yq328+hzTYdyC1rVFjhwH0q4UdwqQE9/SzgI6/bzswpyC1qlC9TdlmEsAN/7d8sA2FPpV155pZ8Oh74ut6A17WEPdDfU2N2PpPzWVHYj3X4bN24MreBBIrj88svVK7SjV/gT6HBNwsUFLwGqaEs4iNLt52cE5Ba0Ri9ehA63q8UCjMBNe2UA7KjoUpt8+ilx2Os33XSTHg7mPxw4J+AbtRiAH0v57VB+uv3uueeesPpc9f1yC9rRPqDHt1VrANhlUPfffOteeALH6fbzswqLFy9WL8D8dvIC9Jmv9IHlDITkCKIq13AO4nb7+RkAuQWt0BG+yp9dSvvLfRuQ84hrGjgolYjOxcfAxIkTndGjR8eXgE/Mbdq0cRYsWKBvC/rwlPJlLgzimF4goVF4HNDT33AOknT7+fUE5BY0Xl8eg06Xe+AXGYa++MV5xDIAhnOQpNvPzwDQLdi5c2e1GXPbzAfQaep2kZRaDTgKIX5QFEo/jGOAq/3uuuuuwJt8xl0ArhbcvXu3s3r16riTUvy1MXAcbuPU4Hrv7aW6BBO8AXRsHgNw+zmzZs1yunbtalTmrr/+egffFjQqT8pMEQPji36V+NEa554D1JUzmIM03X5+rwJyCxqtO9Rt6nhZGYwr/MCADIChHKTt9vMzAHILGq071G3qeJM0fwXg98U6N13VgXEMTJo0KVW3nx8hcgv6MZTqdeo2v+zVJM0NwDebrujAOAa6d+/uzJkzx7h8Nc8QPj/uXHrppc1P67cZDJzrzYbXAPD4LO9FHZvFwIwZM5yBAwealakyubnlllucurq6Mld1OkUGvoK0m7x/XgNwAi4MSDFjSroCA3T7XX311RVCmHXp1FNPda66irvJSQxjgE+QnqXyxCWDBwANABrGQVqr/fwG/Pyua7WgkbpEHT/HNQDeHkBR18ANoP/pM8B36iuuuCL9jFSZA85TwJ4BVd6l4DEzwO4/B/sL4jUATSfdi/qfPgNw+xUG/lq1apV+ZmrIAQ3XiBGB16HUkIJuqYGBprE+1wDw/2k1RKRbYmYg7dV+YYsnt2BYBmO5n+MALbwx82uimwG9/xvEgUmr/fze9/2ua7WgUbrFr3zza99NywPpASg5MshAknQYsMnt58cQ3YJYLegXTNeTYYD6TjQZgJNx3J4nJGYwQLcfDUBWhG5Bm9yYWeG9TDk64nwvXnPHAPqXCajTKTBg6mq/sFRcd911Wi0YlsTo7h/CqFwDoAlA0REbOqaxY+10+/kVnHsGyC3ox1Ji1/sxJdcA9EksWSVUkQHb3X4VC4eLcgv6MZTY9cJDnwaAHw8svA8klrQSKsuA6av9ymY84AW5BQMSFX8wev6OpQHoBGjVRvyE+6YAt58Vq/18C+ITgK84Wi3oQ1L8l7mdVGfXANAISFJmgItnbFntF5aquXPnyi0YlsRw99MnKwMQjsPo7rZttV/YkmfNzRmWjxTu50O/E3sA9AnywwGSlBjIqtvPj86ZM2fKLehHUnzXuTdgRxqA3vGloZiDMJBVt59f2bVa0I+h2K+fRAOgKcCx81w+gay7/cqX/NAVuQX9GIr1eh8aAE4DlqTEQNbdfn60yi3ox1Cs13tyc4C/BbQXQKw8l46cm3wuXbrUuA98lM5tfGf79evnrF+/3nnllVfiS0Qxl2LgTb0ClKIloXNcHJMXt58fpXIL+jEUy/Vu7AFcCxSWBsaShCItyQDdYAsXLjTm234lM5ngSX1bMEGyjyS1kz0ALdI+QkgiR67bj41ecoQBrRY8wkVCR91pANollJiSOcxAXt1+fg1AqwX9GIr8+jHcF+wLgIZAkgADdPstW7bM6M97JUBD2STwbUFn/Pjxzpo1a8qG0YXIGPicii/lj4xP/4hs3+TTv4ThQtBALliwwLF1F+RwpU/87jYcBJyXeLI5TVBuv2AV37dvX6e+vl5uwWB0hQqlp38o+qq7mYNccvv5c8ZB0nnz5unbgv5UhQ6hHkBoCoNFMGzYMOfOO+902rXTmGsQxrhOoKGhwVm1alWQ4ApTIwPsAXxe4726LSADfKLdcMMNTpcuha3YA96lYNdee616TPE2g4M0AJ/Em4Zi56j2ZZddJiKqZIAGc86cOVXepeBVMPAhDcDBKm5Q0CoZYJf/5ptv1qh2lby5wWk4R40a5f7U/2gZaKAB2BFtnIrNy8DkyZOdc88913tKx1UwwNWC8+fPd1q35v4VkogZ+JSDgOyb9o04YkUHBnr06OEsWbJE7/4hW0OfPn2cjRs3OmvXrg0Zk25vxsBm9gA+anZSPyNigINYAwYMiCi2/EbDQVS+RtXVafPqiFvBe+wBsH96dsQR5z66oUOHyu0XYSuQWzBCMo9EtZw9gO1HfusoCgb4xLrxxhvV9Y+CTE8c11xzjdyCHj4iOHyLBmBbBBEpCg8DEyZMcDj4J4mWAfYC5BaMlNPtNABvRxplziOj248fwGzZkl9ck0TNgNyCkTJa2BJsF6LcF2m0OY6MDXTkyJE5ZiDeosstGBm/nAG8iz2AnYcRWcx5jYhuP3VR4699GljNrAzNc0HvaQA+PYzQMeY9Ag5Sye0XfyvgICsNrdyCobguMgCaCxCKS+yrDrff9OnTQ8ai24MyMGjQIIfLqyU1M8A1QIVNQbklmKYD18yj48jtF4K8ELdqW/UQ5DnOO7j7AF8BKK8f+qe/tTDA1X5y+9XCXLh79G3BUPwV3P+uAXgjVFQ5vpluP76Pyu2XTiOg4ZXXpSbuCw991wCsrykK3VQYjVYDTK8huN8W1GrBqutgC+9wDQDfBzgfQFIFA3L7VUFWjEHlFqya3D244y3e5RqA93BMSKpgQG6/KsiKMajcglWTy/U/BX13DQBdAuwFSAIyQLfftGnTAoZWsLgZoFuQy68lgRjg9P+C6981AI04sSnQrQpUYICbfHIUWmIOA1otGLgu1iFkYStA1wDwzucC357zgFrtZ2YDkFswcL285ob0GgCe5KQgSQUGtMlnBXIMuCS3oG8lUMdfckN5DcBWnHzfvaD/pRngIhRt8lmaGxPOyi3oWwscAGzaA8RrAHhB4wAV+JPbrwI5Bl2iW3DSpEkG5ciorHACUJPHz2sAiroGRmXZkMzI7WdIRfhkg25BbSJaliSO9TV9C4SbgnrlOPyQ6fQycvhYm3yWIMXgUxwQ3Lt3r7Ny5UqDc5lK1n6BVJtm/np7AMzNqwD3B5B4GNBqPw8ZFh1qteBRlUXdbvIA8GpzA8D5wXxHkHgY0Lf9PGRYdCi34FGVRd0urAFwrzQ3ANwb8Cn3ov47hc95c7Vfq1atRIeFDMgtWFRp1O2i/T+bGwCGfrzolpz/kNvP7gYgt2BR/T1W9As/mg8C8vpe4AqAA4K5Frr9li5dqg98WN4K9G3BQgV+gL8/AorG+Er1AN5EoJcLt+T8j9x+2WgAcgsW6pHz/6nbRVKqB8CFQd2A84pC5uwH3X533HGH0759+5yVPJvFlVvQuQM1+2Tz2i3VA2CYNQA/HJBLcd1+bDSS7DBAt+App5ySnQIFL0kDgq4oFbycAeCH2Iv8haVuzuo5uf2yWbM06JwhmEPZiDLXlyp3OQPAgcBHS92Q9XPuJp9y+2WzpnP66bY/oDbZCzhKyhkABnwIKPIZHnV3Bk/ktIFksCZLFymHbkG+yj9Smo3SbkA3LLcMugg4wT2R9f9y+2W9hg+Vj27BTZs2OWvX8k0388Lp/bcCB0qVtFIPgF2GZaVuyuo5uf2yWrPF5eIgLz/hnpNvCz6M0vOVvqSUcgN6A3LSwBQg8/Ng5fbzVnv2j7t16+Y0NDQ4q1atynJh96BwswDu9VFSWpQ8e+RkSxwuB0YeOZW9I35U4r777nMuvvji7BVOJSrLAA3A8OHDnXXrOEcmk7IapRoP7C9XOip4JeF7w31Apg0Au4JsBPX19U5jI+dBSfLAwLHHHpv1ad73ox7LKj/r2K8HwDB9gGeA4/lDIgbEgBUMcNuvs4CK3/uoNAjolpIbCNKPKBEDYsAeBjiAX1H5WZQgBoDh7gVyNyeABZeIAQsZYLf/7iD5DmoAuDbghSARKowYEAOpM8BX9meD5CKoAeBson8NEqHCiAExkDoD7LFTZ30lyCCgGwkHAbmlUD/3hP6LATFgHAObkKOvAx8HyVnQHgDj4o4ii4JEqjBiQAykxgDd9oGUnzmspgfA8P0Bvlt04Q+JGBADRjHAh/RwYGvQXFXTA2Cc3FL4t0EjVzgxIAYSZWApUttaTYrV9gAY9xCAWwt15g+JGBADRjDwCXJxLsDVf4Gl2h4AI14P8D1DIgbEgDkMUCerUn5mvZYeAO8bCnBugHoBZEMiBtJloKanP7NcSw+A970GqBdAJiRiIH0Ganr6M9u19gB4L3sBHAvoxB8SMSAGUmGAI/989+fGn1VLrT0AJsRegOYFVE25bhADkTLAOf81KT9zEaYHwPt7Ak8DJ/OHRAyIgUQZ4JLfbwBba03Vb0swv3j/jADcVGSCX0BdFwNiIHIG5iDGR8PEGrYHwLQ7AKuAr/KHRAyIgUQY4OrcMcBnYVIL2wNg2twnYAcwEYjCoCAaiRgQAz4MXI3rL/mE8b0cZhDQG/mD+PGQ94SOxYAYiI2B3yFmbvcdWqJ8Yp+G3PBVoC50rhSBGBAD5RjgpJ/RwNpyAao5H8UrgJse/ZGtgLHuCf0XA2IgcgZuRYwPRBVrlD0A5uk44I/A2fwhEQNiIFIGnkNs44BQA3/eHEXZA2C83IyQS4YnA37fHEAQiRgQAwEZoMt9KrAhYPhAwaI2AEz0DaA7wI0JJGJADETDwD8jmshn3kb9CuAWtQsOVgIcGJSIATEQjgF2/ccDO8NFc/TdUbkBm8fMPcmuA/Y0v6DfYkAMVMXAboT+IRC58jMXcbwCMF7KVoDjAGMAiRgQA7Ux8BPctrS2W/3viusVwE25PQ44SYjdF4kYEAPVMUCP2oVAQ3W3BQ8dtwFgTrhvwOMAVw5KxIAYCMYAV/rR5cdl97FJnK8Abqa5TuBt4K+AuMYc3LT0XwxkgYEDKMQ0YEXchUnCALAMrwKcIsy1yxIxIAYqM/ArXP5F5SDRXE3iFcDNKWcJcsGQpgq7jOi/GDiaAT71vwNw9D92SdIAsDADgMeAfvwhEQNioIiBrfjFByQn0yUiSb+Tv45S/R3AaY0SMSAGjjCwC4c/ABJTfiad1BgA03KFBeSSxguApHsgbh70XwyYxMAXyMxM4D+SzlQaBoBl5NTGjsA3+UMiBnLOwE9RfiJxScsAsKBPABwLOJ0/JGIgpwzci3L/I0DXX+KSdhe8E0rMmYKjEi+5EhQD6TPwJ2ThL4HI1vdXW6SkBwGb528nTvwN8GzzC/otBjLOANv85UBqyk9+0+4BMA+UgcAyYAB/SMRAxhnYhPKdD9Arlqqk3QNwC09CrgDedU/ovxjIKANs41OA1JWf/KY5CMj0vfIOfvBjB98GOngv6FgMZIQBLvD5HrDGlPKYZADIyVbgeUBGACRIMsUAlZ/v/CtNKpVpBoDcbAU4T0BGACRIMsEAlZ8b5a4yrTQmGgBytA1QT8C01qL81MKA++Q3TvlZGFMNAPO2FaAR+BbAWYMSMWAbAxzw4zv/SlMzbrIBIGdbgSeBkUBXQCIGbGFgMzLKbj8n+0hCMnAK7n8aaBTEgQVtgG11ECCJkIGTENdqQEZAHJjcBlagjbKtWiGmvwJ4SeSUyf8CSK4WEHmZ0bEpDPwGGfk+wA/lWiE2GQASuhfglGHOYOT+gqbMZERWJDlmgOv5fwlwTb82u0moIUxHOlxMZHJ3UHnLfv1Q4acl1OaVTDMGxuE351RL0cRBGm2AbW98szapnwkz0B/pLQfSaABKM7+8P442NyDhth55craNAZQigPsL/g7gZ8jOBjQuABIksTHA9/1fAX8PvB9bKoq4Jga4pJhTL/VkFgdxtAHO7OPkHonBDAxD3h4D4mgAijO/vD6KNsW2JbGAgbbI41yAI7RSWnEQpg3wCz1sS3zFlFjGwFjkV1OIZQBqNQAvof3Q0ySxmIE65P12QL0BGYKghoATzjjQ1w2QZISBMSiHegMyAn5G4Cm0E/n2M6L0zYvB3sBsgK5Dv4ag6/ni6CO0iZsB7T0BErIuXEx0PyAlFwcH0Q4eAE4DJDlioCXKOhHg/oMyBPnkgHV/CSDJMQN8LZgJbAdkCPLBAfecnAV0ACRioMBAP/ylt0CGILtG4GPU78+BXoBEDJRkgFs5/RrgoJB6BNnggIrPOh0KSMRAIAa+jFAyBHYbACl+oKauQJUY4PzvnwF6NbDHGHyA+tITv1Kr1rWqGeAYwXxgI6BXAzM52IK64TwP7iItEQOxMMDvE1wFPAHsB2QM0uWAdcBvR0wFegASMZAIA5xHcA6wGOCXjWUIkuWAr2SLAC74ag1IxEBqDPRGyjOAlUADIGMQDwd7DnM8Hf/5SiYJyUCLkPfr9mIGuB3ZGcB3gYsADiCypyCpnQFuwbUO4HbwnLL7PCCJiAEZgIiILBFNO5z7KnA+cCEwGGgDSPwZ4Hs9lZ678PweeBHgEl1JxAzIAERMaJno2uI8J6GMAWgQOMdAA1YgwSPv45hK/wiwBuBmHPsASYwMyADESG6FqPvjGleffQvgTsZ0W3UG8iSforCbgaeB5QAV/g1AkiADMgAJkl0mKY4RDASGACOAMwEaiJOBLAk9Ja8DVPTVwGvAJuAAIEmJARmAlIj3SbYXrtOz8BcABxLZWzgJ6Am0B0yWXcgcXXTvAlTwZ4H1wDbgLUBiEAMyAAZVhk9WuuM6DQANQT+Arw19ABoLLmnuBHwJ4HhDnML3cnbfdwIfATsAzsAj6gE+6WkAOA9fYjgDMgCGV1CA7NH16BoAGoGOAHsPJwJur+EEHNM48Ho7gMaked1/jnOfAJzDQKWmAn8IvAdQobcBbwN8wlP5aQRoACQWM/D/QN+5DmrsiuEAAAAASUVORK5CYII=","base64");function w(){return new s.NextResponse(a,{headers:{"Content-Type":"image/x-icon","Cache-Control":"public, max-age=0, must-revalidate"}})}let P="force-static",D=new r.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/favicon.ico/route",pathname:"/favicon.ico",filename:"favicon",bundlePath:"app/favicon.ico/route"},resolvedPagePath:"next-metadata-route-loader?page=%2Ffavicon.ico%2Froute&filePath=%2Fmnt%2Fc%2FUsers%2Fjojo%2Faimodels%2Fwebapps%2Flogoichat_v2%2Fapp%2Ffavicon.ico&isDynamic=0!?__next_metadata_route__",nextConfigOutput:"",userland:i}),{requestAsyncStorage:l,staticGenerationAsyncStorage:u,serverHooks:c}=D,d="/favicon.ico/route";function g(){return(0,n.patchFetch)({serverHooks:c,staticGenerationAsyncStorage:u})}},36637:A=>{"use strict";var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,o={};function n(A){var e;let t=["path"in A&&A.path&&`Path=${A.path}`,"expires"in A&&(A.expires||0===A.expires)&&`Expires=${("number"==typeof A.expires?new Date(A.expires):A.expires).toUTCString()}`,"maxAge"in A&&"number"==typeof A.maxAge&&`Max-Age=${A.maxAge}`,"domain"in A&&A.domain&&`Domain=${A.domain}`,"secure"in A&&A.secure&&"Secure","httpOnly"in A&&A.httpOnly&&"HttpOnly","sameSite"in A&&A.sameSite&&`SameSite=${A.sameSite}`,"partitioned"in A&&A.partitioned&&"Partitioned","priority"in A&&A.priority&&`Priority=${A.priority}`].filter(Boolean),i=`${A.name}=${encodeURIComponent(null!=(e=A.value)?e:"")}`;return 0===t.length?i:`${i}; ${t.join("; ")}`}function s(A){let e=new Map;for(let t of A.split(/; */)){if(!t)continue;let A=t.indexOf("=");if(-1===A){e.set(t,"true");continue}let[i,r]=[t.slice(0,A),t.slice(A+1)];try{e.set(i,decodeURIComponent(null!=r?r:"true"))}catch{}}return e}function a(A){var e,t;if(!A)return;let[[i,r],...o]=s(A),{domain:n,expires:a,httponly:D,maxage:l,path:u,samesite:c,secure:d,partitioned:g,priority:h}=Object.fromEntries(o.map(([A,e])=>[A.toLowerCase(),e]));return function(A){let e={};for(let t in A)A[t]&&(e[t]=A[t]);return e}({name:i,value:decodeURIComponent(r),domain:n,...a&&{expires:new Date(a)},...D&&{httpOnly:!0},..."string"==typeof l&&{maxAge:Number(l)},path:u,...c&&{sameSite:w.includes(e=(e=c).toLowerCase())?e:void 0},...d&&{secure:!0},...h&&{priority:P.includes(t=(t=h).toLowerCase())?t:void 0},...g&&{partitioned:!0}})}((A,t)=>{for(var i in t)e(A,i,{get:t[i],enumerable:!0})})(o,{RequestCookies:()=>D,ResponseCookies:()=>l,parseCookie:()=>s,parseSetCookie:()=>a,stringifyCookie:()=>n}),A.exports=((A,o,n,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let n of i(o))r.call(A,n)||void 0===n||e(A,n,{get:()=>o[n],enumerable:!(s=t(o,n))||s.enumerable});return A})(e({},"__esModule",{value:!0}),o);var w=["strict","lax","none"],P=["low","medium","high"],D=class{constructor(A){this._parsed=new Map,this._headers=A;let e=A.get("cookie");if(e)for(let[A,t]of s(e))this._parsed.set(A,{name:A,value:t})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...A){let e="string"==typeof A[0]?A[0]:A[0].name;return this._parsed.get(e)}getAll(...A){var e;let t=Array.from(this._parsed);if(!A.length)return t.map(([A,e])=>e);let i="string"==typeof A[0]?A[0]:null==(e=A[0])?void 0:e.name;return t.filter(([A])=>A===i).map(([A,e])=>e)}has(A){return this._parsed.has(A)}set(...A){let[e,t]=1===A.length?[A[0].name,A[0].value]:A,i=this._parsed;return i.set(e,{name:e,value:t}),this._headers.set("cookie",Array.from(i).map(([A,e])=>n(e)).join("; ")),this}delete(A){let e=this._parsed,t=Array.isArray(A)?A.map(A=>e.delete(A)):e.delete(A);return this._headers.set("cookie",Array.from(e).map(([A,e])=>n(e)).join("; ")),t}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(A=>`${A.name}=${encodeURIComponent(A.value)}`).join("; ")}},l=class{constructor(A){var e,t,i;this._parsed=new Map,this._headers=A;let r=null!=(i=null!=(t=null==(e=A.getSetCookie)?void 0:e.call(A))?t:A.get("set-cookie"))?i:[];for(let A of Array.isArray(r)?r:function(A){if(!A)return[];var e,t,i,r,o,n=[],s=0;function a(){for(;s=A.length)&&n.push(A.substring(e,A.length))}return n}(r)){let e=a(A);e&&this._parsed.set(e.name,e)}}get(...A){let e="string"==typeof A[0]?A[0]:A[0].name;return this._parsed.get(e)}getAll(...A){var e;let t=Array.from(this._parsed.values());if(!A.length)return t;let i="string"==typeof A[0]?A[0]:null==(e=A[0])?void 0:e.name;return t.filter(A=>A.name===i)}has(A){return this._parsed.has(A)}set(...A){let[e,t,i]=1===A.length?[A[0].name,A[0].value,A[0]]:A,r=this._parsed;return r.set(e,function(A={name:"",value:""}){return"number"==typeof A.expires&&(A.expires=new Date(A.expires)),A.maxAge&&(A.expires=new Date(Date.now()+1e3*A.maxAge)),(null===A.path||void 0===A.path)&&(A.path="/"),A}({name:e,value:t,...i})),function(A,e){for(let[,t]of(e.delete("set-cookie"),A)){let A=n(t);e.append("set-cookie",A)}}(r,this._headers),this}delete(...A){let[e,t,i]="string"==typeof A[0]?[A[0]]:[A[0].name,A[0].path,A[0].domain];return this.set({name:e,path:t,domain:i,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(n).join("; ")}}},42565:(A,e,t)=>{var i;(()=>{var r={226:function(r,o){!function(n,s){"use strict";var a="function",w="undefined",P="object",D="string",l="major",u="model",c="name",d="type",g="vendor",h="version",f="architecture",p="console",b="mobile",m="tablet",v="smarttv",B="wearable",y="embedded",x="Amazon",C="Apple",I="ASUS",k="BlackBerry",j="Browser",Q="Chrome",O="Firefox",M="Google",E="Huawei",S="Microsoft",G="Motorola",L="Opera",R="Samsung",H="Sharp",T="Sony",N="Xiaomi",U="Zebra",Y="Facebook",V="Chromium OS",q="Mac OS",F=function(A,e){var t={};for(var i in A)e[i]&&e[i].length%2==0?t[i]=e[i].concat(A[i]):t[i]=A[i];return t},J=function(A){for(var e={},t=0;t0?2===o.length?typeof o[1]==a?this[o[0]]=o[1].call(this,w):this[o[0]]=o[1]:3===o.length?typeof o[1]!==a||o[1].exec&&o[1].test?this[o[0]]=w?w.replace(o[1],o[2]):void 0:this[o[0]]=w?o[1].call(this,w,o[2]):void 0:4===o.length&&(this[o[0]]=w?o[3].call(this,w.replace(o[1],o[2])):void 0):this[o]=w||s;D+=2}},Z=function(A,e){for(var t in e)if(typeof e[t]===P&&e[t].length>0){for(var i=0;i2&&(A[u]="iPad",A[d]=m),A},this.getEngine=function(){var A={};return A[c]=s,A[h]=s,W.call(A,i,o.engine),A},this.getOS=function(){var A={};return A[c]=s,A[h]=s,W.call(A,i,o.os),p&&!A[c]&&r&&"Unknown"!=r.platform&&(A[c]=r.platform.replace(/chrome os/i,V).replace(/macos/i,q)),A},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(A){return i=typeof A===D&&A.length>350?K(A,350):A,this},this.setUA(i),this};AA.VERSION="1.0.35",AA.BROWSER=J([c,h,l]),AA.CPU=J([f]),AA.DEVICE=J([u,g,d,p,b,v,m,B,y]),AA.ENGINE=AA.OS=J([c,h]),typeof o!==w?(r.exports&&(o=r.exports=AA),o.UAParser=AA):t.amdO?void 0!==(i=(function(){return AA}).call(e,t,e,A))&&(A.exports=i):typeof n!==w&&(n.UAParser=AA);var Ae=typeof n!==w&&(n.jQuery||n.Zepto);if(Ae&&!Ae.ua){var At=new AA;Ae.ua=At.getResult(),Ae.ua.get=function(){return At.getUA()},Ae.ua.set=function(A){At.setUA(A);var e=At.getResult();for(var t in e)Ae.ua[t]=e[t]}}}("object"==typeof window?window:this)}},o={};function n(A){var e=o[A];if(void 0!==e)return e.exports;var t=o[A]={exports:{}},i=!0;try{r[A].call(t.exports,t,t.exports,n),i=!1}finally{i&&delete o[A]}return t.exports}n.ab=__dirname+"/";var s=n(226);A.exports=s})()},49303:(A,e,t)=>{"use strict";A.exports=t(30517)},46294:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{PageSignatureError:function(){return t},RemovedPageError:function(){return i},RemovedUAError:function(){return r}});class t extends Error{constructor({page:A}){super(`The middleware "${A}" accepts an async API directly with the form: + + export function middleware(request, event) { + return NextResponse.redirect('/new-location') + } + + Read more: https://nextjs.org/docs/messages/middleware-new-signature + `)}}class i extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`. + Read more: https://nextjs.org/docs/messages/middleware-request-page + `)}}class r extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function. + Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent + `)}}},73896:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{ImageResponse:function(){return i.ImageResponse},NextRequest:function(){return r.NextRequest},NextResponse:function(){return o.NextResponse},URLPattern:function(){return s.URLPattern},userAgent:function(){return n.userAgent},userAgentFromString:function(){return n.userAgentFromString}});let i=t(76274),r=t(49253),o=t(86716),n=t(27),s=t(27718)},62420:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NextURL",{enumerable:!0,get:function(){return P}});let i=t(19976),r=t(61704),o=t(48614),n=t(95393),s=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function a(A,e){return new URL(String(A).replace(s,"localhost"),e&&String(e).replace(s,"localhost"))}let w=Symbol("NextURLInternal");class P{constructor(A,e,t){let i,r;"object"==typeof e&&"pathname"in e||"string"==typeof e?(i=e,r=t||{}):r=t||e||{},this[w]={url:a(A,i??r.base),options:r,basePath:""},this.analyze()}analyze(){var A,e,t,r,s;let a=(0,n.getNextPathnameInfo)(this[w].url.pathname,{nextConfig:this[w].options.nextConfig,parseData:!0,i18nProvider:this[w].options.i18nProvider}),P=(0,o.getHostname)(this[w].url,this[w].options.headers);this[w].domainLocale=this[w].options.i18nProvider?this[w].options.i18nProvider.detectDomainLocale(P):(0,i.detectDomainLocale)(null==(e=this[w].options.nextConfig)?void 0:null==(A=e.i18n)?void 0:A.domains,P);let D=(null==(t=this[w].domainLocale)?void 0:t.defaultLocale)||(null==(s=this[w].options.nextConfig)?void 0:null==(r=s.i18n)?void 0:r.defaultLocale);this[w].url.pathname=a.pathname,this[w].defaultLocale=D,this[w].basePath=a.basePath??"",this[w].buildId=a.buildId,this[w].locale=a.locale??D,this[w].trailingSlash=a.trailingSlash}formatPathname(){return(0,r.formatNextPathnameInfo)({basePath:this[w].basePath,buildId:this[w].buildId,defaultLocale:this[w].options.forceLocale?void 0:this[w].defaultLocale,locale:this[w].locale,pathname:this[w].url.pathname,trailingSlash:this[w].trailingSlash})}formatSearch(){return this[w].url.search}get buildId(){return this[w].buildId}set buildId(A){this[w].buildId=A}get locale(){return this[w].locale??""}set locale(A){var e,t;if(!this[w].locale||!(null==(t=this[w].options.nextConfig)?void 0:null==(e=t.i18n)?void 0:e.locales.includes(A)))throw TypeError(`The NextURL configuration includes no locale "${A}"`);this[w].locale=A}get defaultLocale(){return this[w].defaultLocale}get domainLocale(){return this[w].domainLocale}get searchParams(){return this[w].url.searchParams}get host(){return this[w].url.host}set host(A){this[w].url.host=A}get hostname(){return this[w].url.hostname}set hostname(A){this[w].url.hostname=A}get port(){return this[w].url.port}set port(A){this[w].url.port=A}get protocol(){return this[w].url.protocol}set protocol(A){this[w].url.protocol=A}get href(){let A=this.formatPathname(),e=this.formatSearch();return`${this.protocol}//${this.host}${A}${e}${this.hash}`}set href(A){this[w].url=a(A),this.analyze()}get origin(){return this[w].url.origin}get pathname(){return this[w].url.pathname}set pathname(A){this[w].url.pathname=A}get hash(){return this[w].url.hash}set hash(A){this[w].url.hash=A}get search(){return this[w].url.search}set search(A){this[w].url.search=A}get password(){return this[w].url.password}set password(A){this[w].url.password=A}get username(){return this[w].url.username}set username(A){this[w].url.username=A}get basePath(){return this[w].basePath}set basePath(A){this[w].basePath=A.startsWith("/")?A:`/${A}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new P(String(this),this[w].options)}}},32205:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{RequestCookies:function(){return i.RequestCookies},ResponseCookies:function(){return i.ResponseCookies}});let i=t(36637)},76274:(A,e)=>{"use strict";function t(){throw Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead')}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageResponse",{enumerable:!0,get:function(){return t}})},49253:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{INTERNALS:function(){return s},NextRequest:function(){return a}});let i=t(62420),r=t(45724),o=t(46294),n=t(32205),s=Symbol("internal request");class a extends Request{constructor(A,e={}){let t="string"!=typeof A&&"url"in A?A.url:String(A);(0,r.validateURL)(t),A instanceof Request?super(A,e):super(t,e);let o=new i.NextURL(t,{headers:(0,r.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:e.nextConfig});this[s]={cookies:new n.RequestCookies(this.headers),geo:e.geo||{},ip:e.ip,nextUrl:o,url:o.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,geo:this.geo,ip:this.ip,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[s].cookies}get geo(){return this[s].geo}get ip(){return this[s].ip}get nextUrl(){return this[s].nextUrl}get page(){throw new o.RemovedPageError}get ua(){throw new o.RemovedUAError}get url(){return this[s].url}}},86716:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NextResponse",{enumerable:!0,get:function(){return w}});let i=t(62420),r=t(45724),o=t(32205),n=Symbol("internal response"),s=new Set([301,302,303,307,308]);function a(A,e){var t;if(null==A?void 0:null==(t=A.request)?void 0:t.headers){if(!(A.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let t=[];for(let[i,r]of A.request.headers)e.set("x-middleware-request-"+i,r),t.push(i);e.set("x-middleware-override-headers",t.join(","))}}class w extends Response{constructor(A,e={}){super(A,e),this[n]={cookies:new o.ResponseCookies(this.headers),url:e.url?new i.NextURL(e.url,{headers:(0,r.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:e.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[n].cookies}static json(A,e){let t=Response.json(A,e);return new w(t.body,t)}static redirect(A,e){let t="number"==typeof e?e:(null==e?void 0:e.status)??307;if(!s.has(t))throw RangeError('Failed to execute "redirect" on "response": Invalid status code');let i="object"==typeof e?e:{},o=new Headers(null==i?void 0:i.headers);return o.set("Location",(0,r.validateURL)(A)),new w(null,{...i,headers:o,status:t})}static rewrite(A,e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-rewrite",(0,r.validateURL)(A)),a(e,t),new w(null,{...e,headers:t})}static next(A){let e=new Headers(null==A?void 0:A.headers);return e.set("x-middleware-next","1"),a(A,e),new w(null,{...A,headers:e})}}},27718:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"URLPattern",{enumerable:!0,get:function(){return t}});let t="undefined"==typeof URLPattern?void 0:URLPattern},27:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{isBot:function(){return r},userAgent:function(){return n},userAgentFromString:function(){return o}});let i=function(A){return A&&A.__esModule?A:{default:A}}(t(42565));function r(A){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(A)}function o(A){return{...(0,i.default)(A),isBot:void 0!==A&&r(A)}}function n({headers:A}){return o(A.get("user-agent")||void 0)}},45724:(A,e)=>{"use strict";function t(A){let e=new Headers;for(let[t,i]of Object.entries(A))for(let A of Array.isArray(i)?i:[i])void 0!==A&&("number"==typeof A&&(A=A.toString()),e.append(t,A));return e}function i(A){var e,t,i,r,o,n=[],s=0;function a(){for(;s=A.length)&&n.push(A.substring(e,A.length))}return n}function r(A){let e={},t=[];if(A)for(let[r,o]of A.entries())"set-cookie"===r.toLowerCase()?(t.push(...i(o)),e[r]=1===t.length?t[0]:t):e[r]=o;return e}function o(A){try{return String(new URL(String(A)))}catch(e){throw Error(`URL is malformed "${String(A)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:e})}}Object.defineProperty(e,"__esModule",{value:!0}),function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{fromNodeOutgoingHttpHeaders:function(){return t},splitCookiesString:function(){return i},toNodeOutgoingHttpHeaders:function(){return r},validateURL:function(){return o}})},48614:(A,e)=>{"use strict";function t(A,e){let t;if((null==e?void 0:e.host)&&!Array.isArray(e.host))t=e.host.toString().split(":",1)[0];else{if(!A.hostname)return;t=A.hostname}return t.toLowerCase()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getHostname",{enumerable:!0,get:function(){return t}})},19976:(A,e)=>{"use strict";function t(A,e,t){if(A)for(let o of(t&&(t=t.toLowerCase()),A)){var i,r;if(e===(null==(i=o.domain)?void 0:i.split(":",1)[0].toLowerCase())||t===o.defaultLocale.toLowerCase()||(null==(r=o.locales)?void 0:r.some(A=>A.toLowerCase()===t)))return o}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}})},82823:(A,e)=>{"use strict";function t(A,e){let t;let i=A.split("/");return(e||[]).some(e=>!!i[1]&&i[1].toLowerCase()===e.toLowerCase()&&(t=e,i.splice(1,1),A=i.join("/")||"/",!0)),{pathname:A,detectedLocale:t}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return t}})},68277:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return o}});let i=t(49337),r=t(20234);function o(A,e,t,o){if(!e||e===t)return A;let n=A.toLowerCase();return!o&&((0,r.pathHasPrefix)(n,"/api")||(0,r.pathHasPrefix)(n,"/"+e.toLowerCase()))?A:(0,i.addPathPrefix)(A,"/"+e)}},49337:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return r}});let i=t(93415);function r(A,e){if(!A.startsWith("/")||!e)return A;let{pathname:t,query:r,hash:o}=(0,i.parsePath)(A);return""+e+t+r+o}},15366:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathSuffix",{enumerable:!0,get:function(){return r}});let i=t(93415);function r(A,e){if(!A.startsWith("/")||!e)return A;let{pathname:t,query:r,hash:o}=(0,i.parsePath)(A);return""+t+e+r+o}},61704:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let i=t(4864),r=t(49337),o=t(15366),n=t(68277);function s(A){let e=(0,n.addLocale)(A.pathname,A.locale,A.buildId?void 0:A.defaultLocale,A.ignorePrefix);return(A.buildId||!A.trailingSlash)&&(e=(0,i.removeTrailingSlash)(e)),A.buildId&&(e=(0,o.addPathSuffix)((0,r.addPathPrefix)(e,"/_next/data/"+A.buildId),"/"===A.pathname?"index.json":".json")),e=(0,r.addPathPrefix)(e,A.basePath),!A.buildId&&A.trailingSlash?e.endsWith("/")?e:(0,o.addPathSuffix)(e,"/"):(0,i.removeTrailingSlash)(e)}},95393:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getNextPathnameInfo",{enumerable:!0,get:function(){return n}});let i=t(82823),r=t(85793),o=t(20234);function n(A,e){var t,n;let{basePath:s,i18n:a,trailingSlash:w}=null!=(t=e.nextConfig)?t:{},P={pathname:A,trailingSlash:"/"!==A?A.endsWith("/"):w};s&&(0,o.pathHasPrefix)(P.pathname,s)&&(P.pathname=(0,r.removePathPrefix)(P.pathname,s),P.basePath=s);let D=P.pathname;if(P.pathname.startsWith("/_next/data/")&&P.pathname.endsWith(".json")){let A=P.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=A[0];P.buildId=t,D="index"!==A[1]?"/"+A.slice(1).join("/"):"/",!0===e.parseData&&(P.pathname=D)}if(a){let A=e.i18nProvider?e.i18nProvider.analyze(P.pathname):(0,i.normalizeLocalePath)(P.pathname,a.locales);P.locale=A.detectedLocale,P.pathname=null!=(n=A.pathname)?n:P.pathname,!A.detectedLocale&&P.buildId&&(A=e.i18nProvider?e.i18nProvider.analyze(D):(0,i.normalizeLocalePath)(D,a.locales)).detectedLocale&&(P.locale=A.detectedLocale)}return P}},93415:(A,e)=>{"use strict";function t(A){let e=A.indexOf("#"),t=A.indexOf("?"),i=t>-1&&(e<0||t-1?{pathname:A.substring(0,i?t:e),query:i?A.substring(t,e>-1?e:void 0):"",hash:e>-1?A.slice(e):""}:{pathname:A,query:"",hash:""}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}})},20234:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return r}});let i=t(93415);function r(A,e){if("string"!=typeof A)return!1;let{pathname:t}=(0,i.parsePath)(A);return t===e||t.startsWith(e+"/")}},85793:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removePathPrefix",{enumerable:!0,get:function(){return r}});let i=t(20234);function r(A,e){if(!(0,i.pathHasPrefix)(A,e))return A;let t=A.slice(e.length);return t.startsWith("/")?t:"/"+t}},4864:(A,e)=>{"use strict";function t(A){return A.replace(/\/$/,"")||"/"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}})}};var e=require("../../webpack-runtime.js");e.C(A);var t=A=>e(e.s=A),i=e.X(0,[948],()=>t(50423));module.exports=i})(); \ No newline at end of file diff --git a/server/app/favicon.ico/route.js.nft.json b/server/app/favicon.ico/route.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..87a4ba3b5474f2a554996d8daf5272bf7b7436fe --- /dev/null +++ b/server/app/favicon.ico/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/948.js","../../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/app/login.html b/server/app/login.html new file mode 100644 index 0000000000000000000000000000000000000000..84274fb62312fd503185f9739e9f5b56463eecae --- /dev/null +++ b/server/app/login.html @@ -0,0 +1 @@ +UnBabelerChat web app
Loading...
\ No newline at end of file diff --git a/server/app/login.meta b/server/app/login.meta new file mode 100644 index 0000000000000000000000000000000000000000..cf53e8727d69d666f271c974f1cf8cfc26bf135b --- /dev/null +++ b/server/app/login.meta @@ -0,0 +1,5 @@ +{ + "headers": { + "x-next-cache-tags": "_N_T_/layout,_N_T_/login/layout,_N_T_/login/page,_N_T_/login" + } +} \ No newline at end of file diff --git a/server/app/login.rsc b/server/app/login.rsc new file mode 100644 index 0000000000000000000000000000000000000000..b5fb618c000f12cc121dc209256e3694cca0a7e9 --- /dev/null +++ b/server/app/login.rsc @@ -0,0 +1,8 @@ +2:"$Sreact.suspense" +3:I[231,["231","static/chunks/231-bbb88541883d0442.js","626","static/chunks/app/login/page-0c9bac9b8c54aa9c.js"],""] +4:I[74320,["231","static/chunks/231-bbb88541883d0442.js","626","static/chunks/app/login/page-0c9bac9b8c54aa9c.js"],"default"] +5:I[39275,[],""] +6:I[61343,[],""] +0:["YqlqDnQDm-iyhuuwlKaBS",[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["login",{"children":["__PAGE__",{},[["$L1",["$","$2",null,{"fallback":["$","div",null,{"children":"Loading..."}],"children":["$","div",null,{"className":"flex-1 flex flex-col w-full px-8 sm:max-w-md justify-center gap-2","children":[["$","$L3",null,{"href":"/","className":"absolute left-8 top-8 py-2 px-4 rounded-md no-underline text-foreground bg-btn-background hover:bg-btn-background-hover flex items-center group text-sm","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","className":"mr-2 h-4 w-4 transition-transform group-hover:-translate-x-1","children":["$","polyline",null,{"points":"15 18 9 12 15 6"}]}]," ","Back"]}],["$","form",null,{"className":"flex-1 flex flex-col w-full justify-center gap-2 text-foreground","action":"/auth/sign-in","method":"post","children":[["$","label",null,{"className":"text-md text-black","htmlFor":"email","children":"Email"}],["$","input",null,{"className":"rounded-md px-4 py-2 bg-inherit border mb-6 text-black","name":"email","placeholder":"you@example.com","required":true}],["$","label",null,{"className":"text-md text-black","htmlFor":"password","children":"Password"}],["$","input",null,{"className":"rounded-md px-4 py-2 bg-inherit text-black border mb-6","type":"password","name":"password","placeholder":"••••••••","required":true}],["$","button",null,{"className":"bg-green-700 rounded px-4 py-2 text-white mb-2","children":"Sign In"}],["$","button",null,{"formAction":"/auth/sign-up","className":"border border-gray-700 rounded px-4 py-2 text-black mb-2","children":"Sign Up"}],["$","$L4",null,{}]]}]]}]}]],null],null]},["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","main",null,{"className":"min-h-screen flex flex-col items-center","children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b316092d6e638128.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/82f62eb1d3c473d2.css","precedence":"next","crossOrigin":"$undefined"}]],[null,"$L7"]]]]] +7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"UnBabelerChat web app"}],["$","meta","3",{"name":"description","content":"Created and powered by logoi.ai"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] +1:null diff --git a/server/app/login/page.js b/server/app/login/page.js new file mode 100644 index 0000000000000000000000000000000000000000..c1e26551a76252609c17f0eb11710e0c3843355c --- /dev/null +++ b/server/app/login/page.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=626,e.ids=[626],e.modules={47849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},55403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},94749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},71017:e=>{"use strict";e.exports=require("path")},57310:e=>{"use strict";e.exports=require("url")},24929:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>o.a,__next_app__:()=>u,originalPathname:()=>p,pages:()=>d,routeModule:()=>m,tree:()=>c}),r(35116),r(11506),r(35866);var s=r(23191),n=r(88716),a=r(37922),o=r.n(a),i=r(95231),l={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>i[e]);r.d(t,l);let c=["",{children:["login",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,35116)),"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,11506)),"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,35866,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/page.tsx"],p="/login/page",u={require:r,loadChunk:()=>Promise.resolve()},m=new s.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/login/page",pathname:"/login",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},17151:()=>{},32335:(e,t,r)=>{Promise.resolve().then(r.bind(r,53980)),Promise.resolve().then(r.t.bind(r,79404,23))},82014:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,12994,23)),Promise.resolve().then(r.t.bind(r,96114,23)),Promise.resolve().then(r.t.bind(r,9727,23)),Promise.resolve().then(r.t.bind(r,79671,23)),Promise.resolve().then(r.t.bind(r,41868,23)),Promise.resolve().then(r.t.bind(r,84759,23))},53980:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var s=r(10326),n=r(77389);function a(){let e=(0,n.useSearchParams)(),t=e.get("error"),r=e.get("message");return(0,s.jsxs)(s.Fragment,{children:[t&&s.jsx("p",{className:"mt-4 p-4 bg-neutral-900 text-neutral-300 text-center",children:t}),r&&s.jsx("p",{className:"mt-4 p-4 bg-neutral-900 text-neutral-300 text-center",children:r})]})}},11506:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a,metadata:()=>n});var s=r(19510);r(67272);let n={title:"UnBabelerChat web app",description:"Created and powered by logoi.ai"};function a({children:e}){return s.jsx("html",{lang:"en",children:s.jsx("body",{children:s.jsx("main",{className:"min-h-screen flex flex-col items-center",children:e})})})}},35116:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var s=r(19510),n=r(71159),a=r(57371),o=r(68570);let i=(0,o.createProxy)(String.raw`/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/messages.tsx`),{__esModule:l,$$typeof:c}=i;i.default;let d=(0,o.createProxy)(String.raw`/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/messages.tsx#default`);function p(){return s.jsx(n.Suspense,{fallback:s.jsx("div",{children:"Loading..."}),children:s.jsx(u,{})})}let u=()=>(0,s.jsxs)("div",{className:"flex-1 flex flex-col w-full px-8 sm:max-w-md justify-center gap-2",children:[(0,s.jsxs)(a.default,{href:"/",className:"absolute left-8 top-8 py-2 px-4 rounded-md no-underline text-foreground bg-btn-background hover:bg-btn-background-hover flex items-center group text-sm",children:[s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mr-2 h-4 w-4 transition-transform group-hover:-translate-x-1",children:s.jsx("polyline",{points:"15 18 9 12 15 6"})})," ","Back"]}),(0,s.jsxs)("form",{className:"flex-1 flex flex-col w-full justify-center gap-2 text-foreground",action:"/auth/sign-in",method:"post",children:[s.jsx("label",{className:"text-md text-black",htmlFor:"email",children:"Email"}),s.jsx("input",{className:"rounded-md px-4 py-2 bg-inherit border mb-6 text-black",name:"email",placeholder:"you@example.com",required:!0}),s.jsx("label",{className:"text-md text-black",htmlFor:"password",children:"Password"}),s.jsx("input",{className:"rounded-md px-4 py-2 bg-inherit text-black border mb-6",type:"password",name:"password",placeholder:"••••••••",required:!0}),s.jsx("button",{className:"bg-green-700 rounded px-4 py-2 text-white mb-2",children:"Sign In"}),s.jsx("button",{formAction:"/auth/sign-up",className:"border border-gray-700 rounded px-4 py-2 text-black mb-2",children:"Sign Up"}),s.jsx(d,{})]})]})},38238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let s=Reflect.get(e,t,r);return"function"==typeof s?s.bind(e):s}static set(e,t,r,s){return Reflect.set(e,t,r,s)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},95014:(e,t)=>{"use strict";function r(e,t){let r;let s=e.split("/");return(t||[]).some(t=>!!s[1]&&s[1].toLowerCase()===t.toLowerCase()&&(r=t,s.splice(1,1),e=s.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},37847:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},57481:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(66621);let n=e=>[{type:"image/x-icon",sizes:"16x16",url:(0,s.fillMetadataSegment)(".",e.params,"favicon.ico")+""}]},67272:()=>{}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[948,471,997],()=>r(24929));module.exports=s})(); \ No newline at end of file diff --git a/server/app/login/page.js.nft.json b/server/app/login/page.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..b22950d680e5ee3bc17d896b08c1c97f8a63968f --- /dev/null +++ b/server/app/login/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/471.js","../../chunks/948.js","../../chunks/997.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/server/app/login/page_client-reference-manifest.js b/server/app/login/page_client-reference-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..d752051aa91072496da5eb54790a5859776f3b8f --- /dev/null +++ b/server/app/login/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/login/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"231":{"*":{"id":"79404","name":"*","chunks":[],"async":false}},"16585":{"*":{"id":"41868","name":"*","chunks":[],"async":false}},"39275":{"*":{"id":"79671","name":"*","chunks":[],"async":false}},"55138":{"*":{"id":"4349","name":"*","chunks":[],"async":false}},"61343":{"*":{"id":"84759","name":"*","chunks":[],"async":false}},"66513":{"*":{"id":"96114","name":"*","chunks":[],"async":false}},"74320":{"*":{"id":"53980","name":"*","chunks":[],"async":false}},"76130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"95751":{"*":{"id":"12994","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/app-router.js":{"id":95751,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/app-router.js":{"id":95751,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/client-page.js":{"id":66513,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/client-page.js":{"id":66513,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/error-boundary.js":{"id":76130,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":76130,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/layout-router.js":{"id":39275,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39275,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/not-found-boundary.js":{"id":16585,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":16585,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/render-from-template-context.js":{"id":61343,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61343,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/globals.css":{"id":58877,"name":"*","chunks":["185","static/chunks/app/layout-1681915e2606683d.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/messages.tsx":{"id":74320,"name":"*","chunks":["231","static/chunks/231-bbb88541883d0442.js","626","static/chunks/app/login/page-0c9bac9b8c54aa9c.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/link.js":{"id":231,"name":"*","chunks":["231","static/chunks/231-bbb88541883d0442.js","626","static/chunks/app/login/page-0c9bac9b8c54aa9c.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/link.js":{"id":231,"name":"*","chunks":["231","static/chunks/231-bbb88541883d0442.js","626","static/chunks/app/login/page-0c9bac9b8c54aa9c.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/components/UnBabelerChat.tsx":{"id":55138,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false}},"entryCSSFiles":{"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/":[],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/layout":["static/css/b316092d6e638128.css","static/css/82f62eb1d3c473d2.css"],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/page":["static/css/780e3421e6a81e10.css","static/css/fdd0463956fb52ba.css","static/css/c75df1c048895661.css","static/css/d0d9d365675bcf3b.css"],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/page":[]}} \ No newline at end of file diff --git a/server/app/page.js b/server/app/page.js new file mode 100644 index 0000000000000000000000000000000000000000..827ec2c9ae27989d8df119f962755349a5af3ce1 --- /dev/null +++ b/server/app/page.js @@ -0,0 +1,36 @@ +(()=>{var e={};e.id=931,e.ids=[931],e.modules={47849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},55403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},94749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},39491:e=>{"use strict";e.exports=require("assert")},14300:e=>{"use strict";e.exports=require("buffer")},6113:e=>{"use strict";e.exports=require("crypto")},82361:e=>{"use strict";e.exports=require("events")},57147:e=>{"use strict";e.exports=require("fs")},13685:e=>{"use strict";e.exports=require("http")},95687:e=>{"use strict";e.exports=require("https")},41808:e=>{"use strict";e.exports=require("net")},71017:e=>{"use strict";e.exports=require("path")},85477:e=>{"use strict";e.exports=require("punycode")},12781:e=>{"use strict";e.exports=require("stream")},24404:e=>{"use strict";e.exports=require("tls")},76224:e=>{"use strict";e.exports=require("tty")},57310:e=>{"use strict";e.exports=require("url")},73837:e=>{"use strict";e.exports=require("util")},59796:e=>{"use strict";e.exports=require("zlib")},10144:()=>{},77640:()=>{},58359:()=>{},93739:()=>{},56974:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>s.a,__next_app__:()=>m,originalPathname:()=>f,pages:()=>p,routeModule:()=>g,tree:()=>d}),r(71852),r(11506),r(35866);var i=r(23191),a=r(88716),o=r(37922),s=r.n(o),l=r(95231),u={};for(let e in l)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>l[e]);r.d(t,u);let d=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,71852)),"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/page.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,11506)),"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,35866,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],p=["/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/page.tsx"],f="/page",m={require:r,loadChunk:()=>Promise.resolve()},g=new i.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},17151:()=>{},16497:(e,t,r)=>{Promise.resolve().then(r.bind(r,4349)),Promise.resolve().then(r.t.bind(r,79404,23))},82014:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,12994,23)),Promise.resolve().then(r.t.bind(r,96114,23)),Promise.resolve().then(r.t.bind(r,9727,23)),Promise.resolve().then(r.t.bind(r,79671,23)),Promise.resolve().then(r.t.bind(r,41868,23)),Promise.resolve().then(r.t.bind(r,84759,23))},4349:(e,t,r)=>{"use strict";let i,a,o,s,l,u,d,p,f,m,g,v;r.d(t,{default:()=>zg});var b,y,_,w,k,x,E,F,C,S,D,j,T,O,P,R,M,L,A,I,N,B,U,z,H,q,V,W,$,G,Y,K,Z,J,X,Q,ee={};r.r(ee),r.d(ee,{hasBrowserEnv:()=>tw,hasStandardBrowserEnv:()=>tk,hasStandardBrowserWebWorkerEnv:()=>tx,origin:()=>tE});var et={};r.r(et),r.d(et,{attentionMarkers:()=>lt,contentInitial:()=>s6,disable:()=>ln,document:()=>s4,flow:()=>s8,flowInitial:()=>s5,insideSpan:()=>le,string:()=>s9,text:()=>s7});var en={};r.r(en),r.d(en,{boolean:()=>lW,booleanish:()=>l$,commaOrSpaceSeparated:()=>lJ,commaSeparated:()=>lZ,number:()=>lY,overloadedBoolean:()=>lG,spaceSeparated:()=>lK});var er={};r.r(er),r.d(er,{fixNegotiationNeeded:()=>yZ,shimAddTrackRemoveTrack:()=>yY,shimAddTrackRemoveTrackWithNative:()=>yG,shimGetDisplayMedia:()=>yz,shimGetSendersWithDtmf:()=>yV,shimGetStats:()=>yW,shimGetUserMedia:()=>yU,shimMediaStream:()=>yH,shimOnTrack:()=>yq,shimPeerConnection:()=>yK,shimSenderReceiverGetStats:()=>y$});var ei={};r.r(ei),r.d(ei,{shimAddTransceiver:()=>y6,shimCreateAnswer:()=>y9,shimCreateOffer:()=>y8,shimGetDisplayMedia:()=>yX,shimGetParameters:()=>y5,shimGetUserMedia:()=>yJ,shimOnTrack:()=>yQ,shimPeerConnection:()=>y0,shimRTCDataChannel:()=>y4,shimReceiverGetStats:()=>y2,shimRemoveStream:()=>y3,shimSenderGetStats:()=>y1});var ea={};r.r(ea),r.d(ea,{shimAudioContext:()=>_s,shimCallbacksAPI:()=>_t,shimConstraints:()=>_r,shimCreateOfferLegacy:()=>_o,shimGetUserMedia:()=>_n,shimLocalStreamsAPI:()=>y7,shimRTCIceServerUrls:()=>_i,shimRemoteStreamsAPI:()=>_e,shimTrackEventTransceiver:()=>_a});var eo={};r.r(eo),r.d(eo,{removeExtmapAllowMixed:()=>_m,shimAddIceCandidateNullOrEmpty:()=>_g,shimConnectionState:()=>_h,shimMaxMessageSize:()=>_p,shimParameterlessSetLocalDescription:()=>_v,shimRTCIceCandidate:()=>_u,shimRTCIceCandidateRelayProtocol:()=>_d,shimSendThrowTypeError:()=>_f});var es=r(10326),el=r(17577),ec=r.n(el),eu=r(714),ed=r(65684),ep=r.n(ed),ef=r(12054),eh=r.n(ef),em=r(2718),eg=r.n(em),ev=r(84653),eb=r.n(ev),ey=r(50231),e_=r.n(ey),ew=r(68326),ek=r.n(ew),ex=r(42706),eE=r.n(ex),eF=r(61092),eC=r.n(eF),eS=r(16477),eD=r.n(eS);function ej(e,t){return function(){return e.apply(t,arguments)}}let{toString:eT}=Object.prototype,{getPrototypeOf:eO}=Object,eP=(f=Object.create(null),e=>{let t=eT.call(e);return f[t]||(f[t]=t.slice(8,-1).toLowerCase())}),eR=e=>(e=e.toLowerCase(),t=>eP(t)===e),eM=e=>t=>typeof t===e,{isArray:eL}=Array,eA=eM("undefined"),eI=eR("ArrayBuffer"),eN=eM("string"),eB=eM("function"),eU=eM("number"),ez=e=>null!==e&&"object"==typeof e,eH=e=>{if("object"!==eP(e))return!1;let t=eO(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},eq=eR("Date"),eV=eR("File"),eW=eR("Blob"),e$=eR("FileList"),eG=eR("URLSearchParams"),[eY,eK,eZ,eJ]=["ReadableStream","Request","Response","Headers"].map(eR);function eX(e,t,{allOwnKeys:r=!1}={}){let i,a;if(null!=e){if("object"!=typeof e&&(e=[e]),eL(e))for(i=0,a=e.length;i0;)if(t===(r=i[a]).toLowerCase())return r;return null}let e0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,e1=e=>!eA(e)&&e!==e0,e2=(m="undefined"!=typeof Uint8Array&&eO(Uint8Array),e=>m&&e instanceof m),e3=eR("HTMLFormElement"),e4=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),e6=eR("RegExp"),e5=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),i={};eX(r,(r,a)=>{let o;!1!==(o=t(r,a,e))&&(i[a]=o||r)}),Object.defineProperties(e,i)},e8="abcdefghijklmnopqrstuvwxyz",e9="0123456789",e7={DIGIT:e9,ALPHA:e8,ALPHA_DIGIT:e8+e8.toUpperCase()+e9},te=eR("AsyncFunction"),tt={isArray:eL,isArrayBuffer:eI,isBuffer:function(e){return null!==e&&!eA(e)&&null!==e.constructor&&!eA(e.constructor)&&eB(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||eB(e.append)&&("formdata"===(t=eP(e))||"object"===t&&eB(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&eI(e.buffer)},isString:eN,isNumber:eU,isBoolean:e=>!0===e||!1===e,isObject:ez,isPlainObject:eH,isReadableStream:eY,isRequest:eK,isResponse:eZ,isHeaders:eJ,isUndefined:eA,isDate:eq,isFile:eV,isBlob:eW,isRegExp:e6,isFunction:eB,isStream:e=>ez(e)&&eB(e.pipe),isURLSearchParams:eG,isTypedArray:e2,isFileList:e$,forEach:eX,merge:function e(){let{caseless:t}=e1(this)&&this||{},r={},i=(i,a)=>{let o=t&&eQ(r,a)||a;eH(r[o])&&eH(i)?r[o]=e(r[o],i):eH(i)?r[o]=e({},i):eL(i)?r[o]=i.slice():r[o]=i};for(let e=0,t=arguments.length;e(eX(t,(t,i)=>{r&&eB(t)?e[i]=ej(t,r):e[i]=t},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,i)=>{let a,o,s;let l={};if(t=t||{},null==e)return t;do{for(o=(a=Object.getOwnPropertyNames(e)).length;o-- >0;)s=a[o],(!i||i(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=!1!==r&&eO(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:eP,kindOfTest:eR,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let i=e.indexOf(t,r);return -1!==i&&i===r},toArray:e=>{if(!e)return null;if(eL(e))return e;let t=e.length;if(!eU(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let i=(e&&e[Symbol.iterator]).call(e);for(;(r=i.next())&&!r.done;){let i=r.value;t.call(e,i[0],i[1])}},matchAll:(e,t)=>{let r;let i=[];for(;null!==(r=e.exec(t));)i.push(r);return i},isHTMLForm:e3,hasOwnProperty:e4,hasOwnProp:e4,reduceDescriptors:e5,freezeMethods:e=>{e5(e,(t,r)=>{if(eB(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(eB(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(eL(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:eQ,global:e0,isContextDefined:e1,ALPHABET:e7,generateString:(e=16,t=e7.ALPHA_DIGIT)=>{let r="",{length:i}=t;for(;e--;)r+=t[Math.random()*i|0];return r},isSpecCompliantForm:function(e){return!!(e&&eB(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,i)=>{if(ez(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;let a=eL(e)?[]:{};return eX(e,(e,t)=>{let o=r(e,i+1);eA(o)||(a[t]=o)}),t[i]=void 0,a}}return e};return r(e,0)},isAsyncFn:te,isThenable:e=>e&&(ez(e)||eB(e))&&eB(e.then)&&eB(e.catch)};function tn(e,t,r,i,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a)}tt.inherits(tn,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:tt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let tr=tn.prototype,ti={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ti[e]={value:e}}),Object.defineProperties(tn,ti),Object.defineProperty(tr,"isAxiosError",{value:!0}),tn.from=(e,t,r,i,a,o)=>{let s=Object.create(tr);return tt.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),tn.call(s,e.message,t,r,i,a),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};var ta=r(54127),to=r.n(ta);function ts(e){return tt.isPlainObject(e)||tt.isArray(e)}function tl(e){return tt.endsWith(e,"[]")?e.slice(0,-2):e}function tc(e,t,r){return e?e.concat(t).map(function(e,t){return e=tl(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let tu=tt.toFlatObject(tt,{},null,function(e){return/^is[A-Z]/.test(e)}),td=function(e,t,r){if(!tt.isObject(e))throw TypeError("target must be an object");t=t||new(ta||FormData);let i=(r=tt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!tt.isUndefined(t[e])})).metaTokens,a=r.visitor||d,o=r.dots,s=r.indexes,l=(r.Blob||"undefined"!=typeof Blob&&Blob)&&tt.isSpecCompliantForm(t);if(!tt.isFunction(a))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(tt.isDate(e))return e.toISOString();if(!l&&tt.isBlob(e))throw new tn("Blob is not supported. Use a Buffer instead.");return tt.isArrayBuffer(e)||tt.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function d(e,r,a){let l=e;if(e&&!a&&"object"==typeof e){if(tt.endsWith(r,"{}"))r=i?r:r.slice(0,-2),e=JSON.stringify(e);else{var d;if(tt.isArray(e)&&(d=e,tt.isArray(d)&&!d.some(ts))||(tt.isFileList(e)||tt.endsWith(r,"[]"))&&(l=tt.toArray(e)))return r=tl(r),l.forEach(function(e,i){tt.isUndefined(e)||null===e||t.append(!0===s?tc([r],i,o):null===s?r:r+"[]",u(e))}),!1}}return!!ts(e)||(t.append(tc(a,r,o),u(e)),!1)}let p=[],f=Object.assign(tu,{defaultVisitor:d,convertValue:u,isVisitable:ts});if(!tt.isObject(e))throw TypeError("data must be an object");return function e(r,i){if(!tt.isUndefined(r)){if(-1!==p.indexOf(r))throw Error("Circular reference detected in "+i.join("."));p.push(r),tt.forEach(r,function(r,o){!0===(!(tt.isUndefined(r)||null===r)&&a.call(t,r,tt.isString(o)?o.trim():o,i,f))&&e(r,i?i.concat(o):[o])}),p.pop()}}(e),t};function tp(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function tf(e,t){this._pairs=[],e&&td(e,this,t)}let th=tf.prototype;function tm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tg(e,t,r){let i;if(!t)return e;let a=r&&r.encode||tm,o=r&&r.serialize;if(i=o?o(t,r):tt.isURLSearchParams(t)?t.toString():new tf(t,r).toString(a)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}th.append=function(e,t){this._pairs.push([e,t])},th.toString=function(e){let t=e?function(t){return e.call(this,t,tp)}:tp;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class tv{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){tt.forEach(this.handlers,function(t){null!==t&&e(t)})}}let tb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var ty=r(57310);let t_={isNode:!0,classes:{URLSearchParams:ty.URLSearchParams,FormData:ta,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},tw="undefined"!=typeof window&&"undefined"!=typeof document,tk=(g="undefined"!=typeof navigator&&navigator.product,tw&&0>["ReactNative","NativeScript","NS"].indexOf(g)),tx="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,tE=tw&&window.location.href||"http://localhost",tF={...ee,...t_},tC=function(e){if(tt.isFormData(e)&&tt.isFunction(e.entries)){let t={};return tt.forEachEntry(e,(e,r)=>{!function e(t,r,i,a){let o=t[a++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),l=a>=t.length;return(o=!o&&tt.isArray(i)?i.length:o,l)?tt.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r:(i[o]&&tt.isObject(i[o])||(i[o]=[]),e(t,r,i[o],a)&&tt.isArray(i[o])&&(i[o]=function(e){let t,r;let i={},a=Object.keys(e),o=a.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},tS={transitional:tb,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let i=t.getContentType()||"",a=i.indexOf("application/json")>-1,o=tt.isObject(e);if(o&&tt.isHTMLForm(e)&&(e=new FormData(e)),tt.isFormData(e))return a?JSON.stringify(tC(e)):e;if(tt.isArrayBuffer(e)||tt.isBuffer(e)||tt.isStream(e)||tt.isFile(e)||tt.isBlob(e)||tt.isReadableStream(e))return e;if(tt.isArrayBufferView(e))return e.buffer;if(tt.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1){var s,l;return(s=e,l=this.formSerializer,td(s,new tF.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,i){return tF.isNode&&tt.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},l))).toString()}if((r=tt.isFileList(e))||i.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return td(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||a?(t.setContentType("application/json",!1),function(e,t,r){if(tt.isString(e))try{return(0,JSON.parse)(e),tt.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||tS.transitional,r=t&&t.forcedJSONParsing,i="json"===this.responseType;if(tt.isResponse(e)||tt.isReadableStream(e))return e;if(e&&tt.isString(e)&&(r&&!this.responseType||i)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&i){if("SyntaxError"===e.name)throw tn.from(e,tn.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tF.classes.FormData,Blob:tF.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};tt.forEach(["delete","get","head","post","put","patch"],e=>{tS.headers[e]={}});let tD=tt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tj=e=>{let t,r,i;let a={};return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),t=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!t||a[t]&&tD[t]||("set-cookie"===t?a[t]?a[t].push(r):a[t]=[r]:a[t]=a[t]?a[t]+", "+r:r)}),a},tT=Symbol("internals");function tO(e){return e&&String(e).trim().toLowerCase()}function tP(e){return!1===e||null==e?e:tt.isArray(e)?e.map(tP):String(e)}let tR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tM(e,t,r,i,a){if(tt.isFunction(i))return i.call(this,t,r);if(a&&(t=r),tt.isString(t)){if(tt.isString(i))return -1!==t.indexOf(i);if(tt.isRegExp(i))return i.test(t)}}class tL{constructor(e){e&&this.set(e)}set(e,t,r){let i=this;function a(e,t,r){let a=tO(t);if(!a)throw Error("header name must be a non-empty string");let o=tt.findKey(i,a);o&&void 0!==i[o]&&!0!==r&&(void 0!==r||!1===i[o])||(i[o||t]=tP(e))}let o=(e,t)=>tt.forEach(e,(e,r)=>a(e,r,t));if(tt.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(tt.isString(e)&&(e=e.trim())&&!tR(e))o(tj(e),t);else if(tt.isHeaders(e))for(let[t,i]of e.entries())a(i,t,r);else null!=e&&a(t,e,r);return this}get(e,t){if(e=tO(e)){let r=tt.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=i.exec(e);)r[t[1]]=t[2];return r}(e);if(tt.isFunction(t))return t.call(this,e,r);if(tt.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=tO(e)){let r=tt.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||tM(this,this[r],r,t)))}return!1}delete(e,t){let r=this,i=!1;function a(e){if(e=tO(e)){let a=tt.findKey(r,e);a&&(!t||tM(r,r[a],a,t))&&(delete r[a],i=!0)}}return tt.isArray(e)?e.forEach(a):a(e),i}clear(e){let t=Object.keys(this),r=t.length,i=!1;for(;r--;){let a=t[r];(!e||tM(this,this[a],a,e,!0))&&(delete this[a],i=!0)}return i}normalize(e){let t=this,r={};return tt.forEach(this,(i,a)=>{let o=tt.findKey(r,a);if(o){t[o]=tP(i),delete t[a];return}let s=e?a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(a).trim();s!==a&&delete t[a],t[s]=tP(i),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return tt.forEach(this,(r,i)=>{null!=r&&!1!==r&&(t[i]=e&&tt.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[tT]=this[tT]={accessors:{}}).accessors,r=this.prototype;function i(e){let i=tO(e);t[i]||(function(e,t){let r=tt.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+r,{value:function(e,r,a){return this[i].call(this,t,e,r,a)},configurable:!0})})}(r,e),t[i]=!0)}return tt.isArray(e)?e.forEach(i):i(e),this}}function tA(e,t){let r=this||tS,i=t||r,a=tL.from(i.headers),o=i.data;return tt.forEach(e,function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function tI(e){return!!(e&&e.__CANCEL__)}function tN(e,t,r){tn.call(this,null==e?"canceled":e,tn.ERR_CANCELED,t,r),this.name="CanceledError"}function tB(e,t,r){let i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new tn("Request failed with status code "+r.status,[tn.ERR_BAD_REQUEST,tn.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function tU(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}tL.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),tt.reduceDescriptors(tL.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),tt.freezeMethods(tL),tt.inherits(tN,tn,{__CANCEL__:!0});var tz=r(13304),tH=r(13685),tq=r(95687),tV=r.n(tq),tW=r(73837),t$=r(19831),tG=r(59796);let tY="1.7.2";function tK(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}let tZ=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var tJ=r(12781);let tX=function(e,t){let r=0,i=1e3/t,a=null;return function(){let t=Date.now();if(this===!0||t-r>i)return a&&(clearTimeout(a),a=null),r=t,e.apply(null,arguments);a||(a=setTimeout(()=>(a=null,r=Date.now(),e.apply(null,arguments)),i-(t-r)))}},tQ=function(e,t){let r;let i=Array(e=e||10),a=Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(l){let u=Date.now(),d=a[s];r||(r=u),i[o]=l,a[o]=u;let p=s,f=0;for(;p!==o;)f+=i[p++],p%=e;if((o=(o+1)%e)===s&&(s=(s+1)%e),u-r!tt.isUndefined(t[e]))).chunkSize});let t=this,r=this[t0]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},i=tQ(r.ticksRate*e.samplesCount,r.timeWindow);this.on("newListener",e=>{"progress"!==e||r.isCaptured||(r.isCaptured=!0)});let a=0;r.updateProgress=tX(function(){let e=r.length,o=r.bytesSeen,s=o-a;if(!s||t.destroyed)return;let l=i(s);a=o,process.nextTick(()=>{t.emit("progress",{loaded:o,total:e,progress:e?o/e:void 0,bytes:s,rate:l||void 0,estimated:l&&e&&o<=e?(e-o)/l:void 0,lengthComputable:null!=e})})},r.ticksRate);let o=()=>{r.updateProgress.call(!0)};this.once("end",o),this.once("error",o)}_read(e){let t=this[t0];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,r){let i=this,a=this[t0],o=a.maxRate,s=this.readableHighWaterMark,l=a.timeWindow,u=o/(1e3/l),d=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*u):0,p=(e,t)=>{let r;let p=Buffer.byteLength(e),f=null,m=s,g=0;if(o){let e=Date.now();(!a.ts||(g=e-a.ts)>=l)&&(a.ts=e,r=u-a.bytes,a.bytes=r<0?-r:0,g=0),r=u-a.bytes}if(o){if(r<=0)return setTimeout(()=>{t(null,e)},l-g);rm&&p-m>d&&(f=e.subarray(m),e=e.subarray(0,m)),function(e,t){let r=Buffer.byteLength(e);a.bytesSeen+=r,a.bytes+=r,a.isCaptured&&a.updateProgress(),i.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}}(e,f?()=>{process.nextTick(t,null,f)}:t)};p(e,function e(t,i){if(t)return r(t);i?p(i,e):r(null)})}setLength(e){return this[t0].length=+e,this}}var t2=r(82361);let{asyncIterator:t3}=Symbol,t4=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[t3]?yield*e[t3]():yield e},t6=tt.ALPHABET.ALPHA_DIGIT+"-_",t5=new tW.TextEncoder,t8=t5.encode("\r\n");class t9{constructor(e,t){let{escapeName:r}=this.constructor,i=tt.isString(t),a=`Content-Disposition: form-data; name="${r(e)}"${!i&&t.name?`; filename="${r(t.name)}"`:""}\r +`;i?t=t5.encode(String(t).replace(/\r?\n|\r\n?/g,"\r\n")):a+=`Content-Type: ${t.type||"application/octet-stream"}\r +`,this.headers=t5.encode(a+"\r\n"),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async *encode(){yield this.headers;let{value:e}=this;tt.isTypedArray(e)?yield e:yield*t4(e),yield t8}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"})[e])}}let t7=(e,t,r)=>{let{tag:i="form-data-boundary",size:a=25,boundary:o=i+"-"+tt.generateString(a,t6)}=r||{};if(!tt.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");let s=t5.encode("--"+o+"\r\n"),l=t5.encode("--"+o+"--\r\n\r\n"),u=l.byteLength,d=Array.from(e.entries()).map(([e,t])=>{let r=new t9(e,t);return u+=r.size,r});u+=s.byteLength*d.length;let p={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(u=tt.toFiniteNumber(u))&&(p["Content-Length"]=u),t&&t(p),tJ.Readable.from(async function*(){for(let e of d)yield s,yield*e.encode();yield l}())};class ne extends tJ.Transform{__transform(e,t,r){this.push(e),r()}_transform(e,t,r){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){let e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,r)}}let nt=(e,t)=>tt.isAsyncFn(e)?function(...r){let i=r.pop();e.apply(this,r).then(e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}},i)}:e,nn={flush:tG.constants.Z_SYNC_FLUSH,finishFlush:tG.constants.Z_SYNC_FLUSH},nr={flush:tG.constants.BROTLI_OPERATION_FLUSH,finishFlush:tG.constants.BROTLI_OPERATION_FLUSH},ni=tt.isFunction(tG.createBrotliDecompress),{http:na,https:no}=t$,ns=/https:?/,nl=tF.protocols.map(e=>e+":");function nc(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}let nu="undefined"!=typeof process&&"process"===tt.kindOf(process),nd=e=>new Promise((t,r)=>{let i,a;let o=(e,t)=>{!a&&(a=!0,i&&i(e,t))},s=e=>{o(e,!0),r(e)};e(e=>{o(e),t(e)},s,e=>i=e).catch(s)}),np=({address:e,family:t})=>{if(!tt.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(0>e.indexOf(".")?6:4)}},nf=(e,t)=>np(tt.isObject(e)?e:{address:e,family:t}),nh=nu&&function(e){return nd(async function(t,r,i){let a,o,s,l,u,d,p,{data:f,lookup:m,family:g}=e,{responseType:v,responseEncoding:b}=e,y=e.method.toUpperCase(),_=!1;if(m){let e=nt(m,e=>tt.isArray(e)?e:[e]);m=(t,r,i)=>{e(t,r,(e,t,a)=>{if(e)return i(e);let o=tt.isArray(t)?t.map(e=>nf(e)):[nf(t,a)];r.all?i(e,o):i(e,o[0].address,o[0].family)})}}let w=new t2.EventEmitter,k=()=>{e.cancelToken&&e.cancelToken.unsubscribe(x),e.signal&&e.signal.removeEventListener("abort",x),w.removeAllListeners()};function x(t){w.emit("abort",!t||t.type?new tN(null,e,u):t)}i((e,t)=>{l=!0,t&&(_=!0,k())}),w.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(x),e.signal&&(e.signal.aborted?x():e.signal.addEventListener("abort",x)));let E=new URL(tU(e.baseURL,e.url),"http://localhost"),F=E.protocol||nl[0];if("data:"===F){let i;if("GET"!==y)return tB(t,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,r){let i=r&&r.Blob||tF.classes.Blob,a=tK(e);if(void 0===t&&i&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;let r=tZ.exec(e);if(!r)throw new tn("Invalid URL",tn.ERR_INVALID_URL);let o=r[1],s=r[2],l=r[3],u=Buffer.from(decodeURIComponent(l),s?"base64":"utf8");if(t){if(!i)throw new tn("Blob is not supported",tn.ERR_NOT_SUPPORT);return new i([u],{type:o})}return u}throw new tn("Unsupported protocol "+a,tn.ERR_NOT_SUPPORT)}(e.url,"blob"===v,{Blob:e.env&&e.env.Blob})}catch(t){throw tn.from(t,tn.ERR_BAD_REQUEST,e)}return"text"===v?(i=i.toString(b),b&&"utf8"!==b||(i=tt.stripBOM(i))):"stream"===v&&(i=tJ.Readable.from(i)),tB(t,r,{data:i,status:200,statusText:"OK",headers:new tL,config:e})}if(-1===nl.indexOf(F))return r(new tn("Unsupported protocol "+F,tn.ERR_BAD_REQUEST,e));let C=tL.from(e.headers).normalize();C.set("User-Agent","axios/"+tY,!1);let S=e.onDownloadProgress,D=e.onUploadProgress,j=e.maxRate;if(tt.isSpecCompliantForm(f)){let e=C.getContentType(/boundary=([-_\w\d]{10,70})/i);f=t7(f,e=>{C.set(e)},{tag:`axios-${tY}-boundary`,boundary:e&&e[1]||void 0})}else if(tt.isFormData(f)&&tt.isFunction(f.getHeaders)){if(C.set(f.getHeaders()),!C.hasContentLength())try{let e=await tW.promisify(f.getLength).call(f);Number.isFinite(e)&&e>=0&&C.setContentLength(e)}catch(e){}}else if(tt.isBlob(f))f.size&&C.setContentType(f.type||"application/octet-stream"),C.setContentLength(f.size||0),f=tJ.Readable.from(t4(f));else if(f&&!tt.isStream(f)){if(Buffer.isBuffer(f));else if(tt.isArrayBuffer(f))f=Buffer.from(new Uint8Array(f));else{if(!tt.isString(f))return r(new tn("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",tn.ERR_BAD_REQUEST,e));f=Buffer.from(f,"utf-8")}if(C.setContentLength(f.length,!1),e.maxBodyLength>-1&&f.length>e.maxBodyLength)return r(new tn("Request body larger than maxBodyLength limit",tn.ERR_BAD_REQUEST,e))}let T=tt.toFiniteNumber(C.getContentLength());tt.isArray(j)?(a=j[0],o=j[1]):a=o=j,f&&(D||a)&&(tt.isStream(f)||(f=tJ.Readable.from(f,{objectMode:!1})),f=tJ.pipeline([f,new t1({length:T,maxRate:tt.toFiniteNumber(a)})],tt.noop),D&&f.on("progress",e=>{D(Object.assign(e,{upload:!0}))})),e.auth&&(s=(e.auth.username||"")+":"+(e.auth.password||"")),!s&&E.username&&(s=E.username+":"+E.password),s&&C.delete("authorization");try{d=tg(E.pathname+E.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(i){let t=Error(i.message);return t.config=e,t.url=e.url,t.exists=!0,r(t)}C.set("Accept-Encoding","gzip, compress, deflate"+(ni?", br":""),!1);let O={path:d,method:y,headers:C.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:s,protocol:F,family:g,beforeRedirect:nc,beforeRedirects:{}};tt.isUndefined(m)||(O.lookup=m),e.socketPath?O.socketPath=e.socketPath:(O.hostname=E.hostname,O.port=E.port,function e(t,r,i){let a=r;if(!a&&!1!==a){let e=(0,tz.j)(i);e&&(a=new URL(e))}if(a){if(a.username&&(a.auth=(a.username||"")+":"+(a.password||"")),a.auth){(a.auth.username||a.auth.password)&&(a.auth=(a.auth.username||"")+":"+(a.auth.password||""));let e=Buffer.from(a.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+e}t.headers.host=t.hostname+(t.port?":"+t.port:"");let e=a.hostname||a.host;t.hostname=e,t.host=e,t.port=a.port,t.path=i,a.protocol&&(t.protocol=a.protocol.includes(":")?a.protocol:`${a.protocol}:`)}t.beforeRedirects.proxy=function(t){e(t,r,t.href)}}(O,e.proxy,F+"//"+E.hostname+(E.port?":"+E.port:"")+O.path));let P=ns.test(O.protocol);if(O.agent=P?e.httpsAgent:e.httpAgent,e.transport?p=e.transport:0===e.maxRedirects?p=P?tq:tH:(e.maxRedirects&&(O.maxRedirects=e.maxRedirects),e.beforeRedirect&&(O.beforeRedirects.config=e.beforeRedirect),p=P?no:na),e.maxBodyLength>-1?O.maxBodyLength=e.maxBodyLength:O.maxBodyLength=1/0,e.insecureHTTPParser&&(O.insecureHTTPParser=e.insecureHTTPParser),u=p.request(O,function(i){if(u.destroyed)return;let a=[i],s=+i.headers["content-length"];if(S){let e=new t1({length:tt.toFiniteNumber(s),maxRate:tt.toFiniteNumber(o)});S&&e.on("progress",e=>{S(Object.assign(e,{download:!0}))}),a.push(e)}let l=i,d=i.req||u;if(!1!==e.decompress&&i.headers["content-encoding"])switch(("HEAD"===y||204===i.statusCode)&&delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(tG.createUnzip(nn)),delete i.headers["content-encoding"];break;case"deflate":a.push(new ne),a.push(tG.createUnzip(nn)),delete i.headers["content-encoding"];break;case"br":ni&&(a.push(tG.createBrotliDecompress(nr)),delete i.headers["content-encoding"])}l=a.length>1?tJ.pipeline(a,tt.noop):a[0];let p=tJ.finished(l,()=>{p(),k()}),f={status:i.statusCode,statusText:i.statusMessage,headers:new tL(i.headers),config:e,request:d};if("stream"===v)f.data=l,tB(t,r,f);else{let i=[],a=0;l.on("data",function(t){i.push(t),a+=t.length,e.maxContentLength>-1&&a>e.maxContentLength&&(_=!0,l.destroy(),r(new tn("maxContentLength size of "+e.maxContentLength+" exceeded",tn.ERR_BAD_RESPONSE,e,d)))}),l.on("aborted",function(){if(_)return;let t=new tn("maxContentLength size of "+e.maxContentLength+" exceeded",tn.ERR_BAD_RESPONSE,e,d);l.destroy(t),r(t)}),l.on("error",function(t){u.destroyed||r(tn.from(t,null,e,d))}),l.on("end",function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"===v||(e=e.toString(b),b&&"utf8"!==b||(e=tt.stripBOM(e))),f.data=e}catch(t){return r(tn.from(t,null,e,f.request,f))}tB(t,r,f)})}w.once("abort",e=>{l.destroyed||(l.emit("error",e),l.destroy())})}),w.once("abort",e=>{r(e),u.destroy(e)}),u.on("error",function(t){r(tn.from(t,null,e,u))}),u.on("socket",function(e){e.setKeepAlive(!0,6e4)}),e.timeout){let t=parseInt(e.timeout,10);if(Number.isNaN(t)){r(new tn("error trying to parse `config.timeout` to int",tn.ERR_BAD_OPTION_VALUE,e,u));return}u.setTimeout(t,function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||tb;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new tn(t,i.clarifyTimeoutError?tn.ETIMEDOUT:tn.ECONNABORTED,e,u)),x()})}if(tt.isStream(f)){let t=!1,r=!1;f.on("end",()=>{t=!0}),f.once("error",e=>{r=!0,u.destroy(e)}),f.on("close",()=>{t||r||x(new tN("Request stream has been aborted",e,u))}),f.pipe(u)}else u.end(f)})},nm=(e,t,r=3)=>{let i=0,a=tQ(50,250);return tX(r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,l=o-i,u=a(l);i=o;let d={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&o<=s?(s-o)/u:void 0,event:r,lengthComputable:null!=s};d[t?"download":"upload"]=!0,e(d)},r)},ng=tF.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){let i=e;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){let r=tt.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},nv=tF.hasStandardBrowserEnv?{write(e,t,r,i,a,o){let s=[e+"="+encodeURIComponent(t)];tt.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),tt.isString(i)&&s.push("path="+i),tt.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},nb=e=>e instanceof tL?{...e}:e;function ny(e,t){t=t||{};let r={};function i(e,t,r){return tt.isPlainObject(e)&&tt.isPlainObject(t)?tt.merge.call({caseless:r},e,t):tt.isPlainObject(t)?tt.merge({},t):tt.isArray(t)?t.slice():t}function a(e,t,r){return tt.isUndefined(t)?tt.isUndefined(e)?void 0:i(void 0,e,r):i(e,t,r)}function o(e,t){if(!tt.isUndefined(t))return i(void 0,t)}function s(e,t){return tt.isUndefined(t)?tt.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function l(r,a,o){return o in t?i(r,a):o in e?i(void 0,r):void 0}let u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(e,t)=>a(nb(e),nb(t),!0)};return tt.forEach(Object.keys(Object.assign({},e,t)),function(i){let o=u[i]||a,s=o(e[i],t[i],i);tt.isUndefined(s)&&o!==l||(r[i]=s)}),r}let n_=e=>{let t;let r=ny({},e),{data:i,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:s,headers:l,auth:u}=r;if(r.headers=l=tL.from(l),r.url=tg(tU(r.baseURL,r.url),e.params,e.paramsSerializer),u&&l.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),tt.isFormData(i)){if(tF.hasStandardBrowserEnv||tF.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(t=l.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...r].join("; "))}}if(tF.hasStandardBrowserEnv&&(a&&tt.isFunction(a)&&(a=a(r)),a||!1!==a&&ng(r.url))){let e=o&&s&&nv.read(s);e&&l.set(o,e)}return r},nw="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let i;let a=n_(e),o=a.data,s=tL.from(a.headers).normalize(),{responseType:l}=a;function u(){a.cancelToken&&a.cancelToken.unsubscribe(i),a.signal&&a.signal.removeEventListener("abort",i)}let d=new XMLHttpRequest;function p(){if(!d)return;let i=tL.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders());tB(function(e){t(e),u()},function(e){r(e),u()},{data:l&&"text"!==l&&"json"!==l?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:i,config:e,request:d}),d=null}d.open(a.method.toUpperCase(),a.url,!0),d.timeout=a.timeout,"onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(p)},d.onabort=function(){d&&(r(new tn("Request aborted",tn.ECONNABORTED,a,d)),d=null)},d.onerror=function(){r(new tn("Network Error",tn.ERR_NETWORK,a,d)),d=null},d.ontimeout=function(){let e=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",t=a.transitional||tb;a.timeoutErrorMessage&&(e=a.timeoutErrorMessage),r(new tn(e,t.clarifyTimeoutError?tn.ETIMEDOUT:tn.ECONNABORTED,a,d)),d=null},void 0===o&&s.setContentType(null),"setRequestHeader"in d&&tt.forEach(s.toJSON(),function(e,t){d.setRequestHeader(t,e)}),tt.isUndefined(a.withCredentials)||(d.withCredentials=!!a.withCredentials),l&&"json"!==l&&(d.responseType=a.responseType),"function"==typeof a.onDownloadProgress&&d.addEventListener("progress",nm(a.onDownloadProgress,!0)),"function"==typeof a.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",nm(a.onUploadProgress)),(a.cancelToken||a.signal)&&(i=t=>{d&&(r(!t||t.type?new tN(null,e,d):t),d.abort(),d=null)},a.cancelToken&&a.cancelToken.subscribe(i),a.signal&&(a.signal.aborted?i():a.signal.addEventListener("abort",i)));let f=tK(a.url);if(f&&-1===tF.protocols.indexOf(f)){r(new tn("Unsupported protocol "+f+":",tn.ERR_BAD_REQUEST,e));return}d.send(o||null)})},nk=(e,t)=>{let r,i=new AbortController,a=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;i.abort(t instanceof tn?t:new tN(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{a(new tn(`timeout ${t} of ms exceeded`,tn.ETIMEDOUT))},t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e&&(e.removeEventListener?e.removeEventListener("abort",a):e.unsubscribe(a))}),e=null)};e.forEach(e=>e&&e.addEventListener&&e.addEventListener("abort",a));let{signal:l}=i;return l.unsubscribe=s,[l,()=>{o&&clearTimeout(o),o=null}]},nx=function*(e,t){let r,i=e.byteLength;if(!t||i{let o=nE(e,t,a),s=0;return new ReadableStream({type:"bytes",async pull(e){let{done:t,value:a}=await o.next();if(t){e.close(),i();return}let l=a.byteLength;r&&r(s+=l),e.enqueue(new Uint8Array(a))},cancel:e=>(i(e),o.return())},{highWaterMark:2})},nC=(e,t)=>{let r=null!=e;return i=>setTimeout(()=>t({lengthComputable:r,total:e,loaded:i}))},nS="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,nD=nS&&"function"==typeof ReadableStream,nj=nS&&("function"==typeof TextEncoder?(v=new TextEncoder,e=>v.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),nT=nD&&(()=>{let e=!1,t=new Request(tF.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),nO=nD&&!!(()=>{try{return tt.isReadableStream(new Response("").body)}catch(e){}})(),nP={stream:nO&&(e=>e.body)};nS&&(b=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{nP[e]||(nP[e]=tt.isFunction(b[e])?t=>t[e]():(t,r)=>{throw new tn(`Response type '${e}' is not supported`,tn.ERR_NOT_SUPPORT,r)})}));let nR=async e=>null==e?0:tt.isBlob(e)?e.size:tt.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:tt.isArrayBufferView(e)?e.byteLength:(tt.isURLSearchParams(e)&&(e+=""),tt.isString(e))?(await nj(e)).byteLength:void 0,nM=async(e,t)=>{let r=tt.toFiniteNumber(e.getContentLength());return null==r?nR(t):r},nL={http:nh,xhr:nw,fetch:nS&&(async e=>{let t,r,i,{url:a,method:o,data:s,signal:l,cancelToken:u,timeout:d,onDownloadProgress:p,onUploadProgress:f,responseType:m,headers:g,withCredentials:v="same-origin",fetchOptions:b}=n_(e);m=m?(m+"").toLowerCase():"text";let[y,_]=l||u||d?nk([l,u],d):[],w=()=>{t||setTimeout(()=>{y&&y.unsubscribe()}),t=!0};try{if(f&&nT&&"get"!==o&&"head"!==o&&0!==(i=await nM(g,s))){let e,t=new Request(a,{method:"POST",body:s,duplex:"half"});tt.isFormData(s)&&(e=t.headers.get("content-type"))&&g.setContentType(e),t.body&&(s=nF(t.body,65536,nC(i,nm(f)),null,nj))}tt.isString(v)||(v=v?"cors":"omit"),r=new Request(a,{...b,signal:y,method:o.toUpperCase(),headers:g.normalize().toJSON(),body:s,duplex:"half",withCredentials:v});let t=await fetch(r),l=nO&&("stream"===m||"response"===m);if(nO&&(p||l)){let e={};["status","statusText","headers"].forEach(r=>{e[r]=t[r]});let r=tt.toFiniteNumber(t.headers.get("content-length"));t=new Response(nF(t.body,65536,p&&nC(r,nm(p,!0)),l&&w,nj),e)}m=m||"text";let u=await nP[tt.findKey(nP,m)||"text"](t,e);return l||w(),_&&_(),await new Promise((i,a)=>{tB(i,a,{data:u,headers:tL.from(t.headers),status:t.status,statusText:t.statusText,config:e,request:r})})}catch(t){if(w(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new tn("Network Error",tn.ERR_NETWORK,e,r),{cause:t.cause||t});throw tn.from(t,t&&t.code,e,r)}})};tt.forEach(nL,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let nA=e=>`- ${e}`,nI=e=>tt.isFunction(e)||null===e||!1===e,nN={getAdapter:e=>{let t,r;let{length:i}=e=tt.isArray(e)?e:[e],a={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new tn("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(nA).join("\n"):" "+nA(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r}};function nB(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tN(null,e)}function nU(e){return nB(e),e.headers=tL.from(e.headers),e.data=tA.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),nN.getAdapter(e.adapter||tS.adapter)(e).then(function(t){return nB(e),t.data=tA.call(e,e.transformResponse,t),t.headers=tL.from(t.headers),t},function(t){return!tI(t)&&(nB(e),t&&t.response&&(t.response.data=tA.call(e,e.transformResponse,t.response),t.response.headers=tL.from(t.response.headers))),Promise.reject(t)})}let nz={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nz[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let nH={};nz.transitional=function(e,t,r){function i(e,t){return"[Axios v"+tY+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,a,o)=>{if(!1===e)throw new tn(i(a," has been removed"+(t?" in "+t:"")),tn.ERR_DEPRECATED);return t&&!nH[a]&&(nH[a]=!0,console.warn(i(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,o)}};let nq={assertOptions:function(e,t,r){if("object"!=typeof e)throw new tn("options must be an object",tn.ERR_BAD_OPTION_VALUE);let i=Object.keys(e),a=i.length;for(;a-- >0;){let o=i[a],s=t[o];if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new tn("option "+o+" must be "+r,tn.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new tn("Unknown option "+o,tn.ERR_BAD_OPTION)}},validators:nz},nV=nq.validators;class nW{constructor(e){this.defaults=e,this.interceptors={request:new tv,response:new tv}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,i;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:a,paramsSerializer:o,headers:s}=t=ny(this.defaults,t);void 0!==a&&nq.assertOptions(a,{silentJSONParsing:nV.transitional(nV.boolean),forcedJSONParsing:nV.transitional(nV.boolean),clarifyTimeoutError:nV.transitional(nV.boolean)},!1),null!=o&&(tt.isFunction(o)?t.paramsSerializer={serialize:o}:nq.assertOptions(o,{encode:nV.function,serialize:nV.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let l=s&&tt.merge(s.common,s[t.method]);s&&tt.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=tL.concat(l,s);let u=[],d=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(d=d&&e.synchronous,u.unshift(e.fulfilled,e.rejected))});let p=[];this.interceptors.response.forEach(function(e){p.push(e.fulfilled,e.rejected)});let f=0;if(!d){let e=[nU.bind(this),void 0];for(e.unshift.apply(e,u),e.push.apply(e,p),i=e.length,r=Promise.resolve(t);f{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let i=new Promise(e=>{r.subscribe(e),t=e}).then(e);return i.cancel=function(){r.unsubscribe(t)},i},e(function(e,i,a){r.reason||(r.reason=new tN(e,i,a),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new n$(function(t){e=t}),cancel:e}}}let nG={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(nG).forEach(([e,t])=>{nG[t]=e});let nY=function e(t){let r=new nW(t),i=ej(nW.prototype.request,r);return tt.extend(i,nW.prototype,r,{allOwnKeys:!0}),tt.extend(i,r,null,{allOwnKeys:!0}),i.create=function(r){return e(ny(t,r))},i}(tS);nY.Axios=nW,nY.CanceledError=tN,nY.CancelToken=n$,nY.isCancel=tI,nY.VERSION=tY,nY.toFormData=td,nY.AxiosError=tn,nY.Cancel=nY.CanceledError,nY.all=function(e){return Promise.all(e)},nY.spread=function(e){return function(t){return e.apply(null,t)}},nY.isAxiosError=function(e){return tt.isObject(e)&&!0===e.isAxiosError},nY.mergeConfig=ny,nY.AxiosHeaders=tL,nY.formToJSON=e=>tC(tt.isHTMLForm(e)?new FormData(e):e),nY.getAdapter=nN.getAdapter,nY.HttpStatusCode=nG,nY.default=nY;var nK=r(35895),nZ=r.n(nK),nJ=r(9247),nX=r.n(nJ),nQ=r(98327),n0=r.n(nQ),n1=r(6113),n2=r.n(n1),n3=r(33002),n4=r.n(n3),n6=r(59356),n5=r.n(n6),n8=r(83041),n9=r.n(n8),n7=r(89899),re=r.n(n7),rt=r(71799),rn=r.n(rt);function rr(e){return"string"==typeof e}var ri=function(e){var t,r,i,a={},o=String.fromCharCode,s=e.length,l=0,u=0,d="";for(t=0;t<64;t++)a["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(r=0;r=8;)((i=l>>>(u-=8)&255)||re.length)&&(t=e.length);for(var r=0,i=Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){throw e}),f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){l=!0,o=e}),f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}(Array.isArray(e)?e:[e]);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=Object.entries(a);o.length>1&&console.warn("client._buildSort() - multiple fields in a single sort object detected. Object's field order is not guaranteed");for(var s=0;s2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"created_at",a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=a||r,s=e;r&&(s=s.filter(function(e){return!(e.id&&t.id===e.id)}));var l=s.length;if(0===l&&o)return s.concat(t);if(0===l)return eb()(s);var u=t[i].getTime(),d=s[l-1][i].getTime()-1&&l.splice(u,1)}s.own_votes=l;var d=rk(rk({},o),{},{poll:s});i.addMessageSorted(d,!1,!1)}}),eC()(this,"updatePoll",function(e,t){var r,a=i.findMessage(t);if(a){var o=rk(rk({},e),{},{own_votes:eb()((null===(r=a.poll)||void 0===r?void 0:r.own_votes)||[])}),s=rk(rk({},a),{},{poll:o});i.addMessageSorted(s,!1,!1)}}),eC()(this,"updateUserMessages",function(e){var t=function(e,t){for(var r=0;r1&&void 0!==arguments[1]&&arguments[1],r=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"latest";return this.addMessagesSorted([e],t,!1,r,i)}},{key:"formatMessage",value:function(e){return rk(rk({},e),{},{__html:e.html,pinned_at:e.pinned_at?new Date(e.pinned_at):null,created_at:e.created_at?new Date(e.created_at):new Date,updated_at:e.updated_at?new Date(e.updated_at):new Date,status:e.status||"received"})}},{key:"addMessagesSorted",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"current",o=this.findTargetMessageSet(e,i,a),s=o.messagesToAdd,l=o.targetMessageSetIndex,u=0;uthis.last_message_at.getTime()&&(this.last_message_at=new Date(f.created_at.getTime())));var m=f.parent_id;if((!m||f.show_in_channel)&&-1!==l&&(this.messageSets[l].messages=this._addToMessageList(this.messageSets[l].messages,f,t,"created_at",i)),m&&!r){var g=this.threads[m]||[];this.threads[m]=this._addToMessageList(g,f,t,"created_at",i)}}return{messageSet:this.messageSets[l]}}},{key:"addPinnedMessages",value:function(e){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"created_at",a=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return r_(e,t,r,i,a)}},{key:"removeMessage",value:function(e){var t=!1;if(e.parent_id&&this.threads[e.parent_id]){var r=this.removeMessageFromArray(this.threads[e.parent_id],e),i=r.removed,a=r.result;this.threads[e.parent_id]=a,t=i}else{var o,s=null!==(o=e.messageSetIndex)&&void 0!==o?o:this.findMessageSetIndex(e);if(-1!==s){var l=this.removeMessageFromArray(this.messageSets[s].messages,e),u=l.removed,d=l.result;this.messageSets[s].messages=d,t=u}}return t}},{key:"filterErrorMessages",value:function(){var e=this.latestMessages.filter(function(e){return"error"!==e.type});this.latestMessages=e}},{key:"clean",value:function(){for(var e=new Date,t=0,r=Object.entries(this.typing);t7e3&&(delete this.typing[a],this._channel.getClient().dispatchEvent({cid:this._channel.cid,type:"typing.stop",user:{id:a}}))}}},{key:"clearMessages",value:function(){this.initMessages(),this.pinnedMessages=[]}},{key:"initMessages",value:function(){this.messageSets=[{messages:[],isLatest:!0,isCurrent:!0}]}},{key:"loadMessageIntoState",value:(e=e_()(eD().mark(function e(t,r){var i,a,o,s,l,u,d=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=d.length>2&&void 0!==d[2]?d[2]:25,s=!1,l=!1,u=r||t,"latest"!==t){e.next=10;break}if(this.messages!==this.latestMessages){e.next=7;break}return e.abrupt("return");case 7:o=this.messageSets.findIndex(function(e){return e.isLatest}),e.next=11;break;case 10:o=this.findMessageSetIndex({id:u});case 11:if(-1!==o&&(this.switchToMessageSet(o),s=!0),l=!r||!!(null!==(i=this.threads[r])&&void 0!==i&&i.find(function(e){return e.id===t})),!(s&&l)){e.next=15;break}return e.abrupt("return");case 15:if(s){e.next=18;break}return e.next=18,this._channel.query({messages:{id_around:u,limit:a}},"new");case 18:if(!(!l&&r)){e.next=21;break}return e.next=21,this._channel.getReplies(r,{id_around:t,limit:a});case 21:-1!==(o=this.findMessageSetIndex({id:u}))&&this.switchToMessageSet(o);case 23:case"end":return e.stop()}},e,this)})),function(t,r){return e.apply(this,arguments)})},{key:"findMessage",value:function(e,t){if(t){var r=this.threads[t];if(!r)return;return r.find(function(t){return t.id===e})}var i=this.findMessageSetIndex({id:e});if(-1!==i)return this.messageSets[i].messages.find(function(t){return t.id===e})}},{key:"switchToMessageSet",value:function(e){var t=this.messageSets.find(function(e){return e.isCurrent});t&&(t.isCurrent=!1,this.messageSets[e].isCurrent=!0)}},{key:"areMessageSetsOverlap",value:function(e,t){return e.some(function(e){return t.find(function(t){return e.id===t.id})})}},{key:"findMessageSetIndex",value:function(e){return this.messageSets.findIndex(function(t){return!!t.messages.find(function(t){return t.id===e.id})})}},{key:"findTargetMessageSet",value:function(e){var t,r=this,i=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"current",o=e;if(i){var s=this.messageSets.map(function(e,t){return t}).filter(function(t){return r.areMessageSetsOverlap(r.messageSets[t].messages,e)});switch(a){case"new":s.length>0?t=s[0]:e.some(function(e){return!e.parent_id})&&(this.messageSets.push({messages:[],isCurrent:!1,isLatest:!1}),t=this.messageSets.length-1);break;case"current":t=this.messageSets.findIndex(function(e){return e.isCurrent});break;case"latest":t=this.messageSets.findIndex(function(e){return e.isLatest});break;default:t=-1}var l=s.splice(0,1)[0],u=eb()(s);if(void 0!==l&&l!==t&&u.push(t),u.length>0){var d=this.messageSets[l],p=this.messageSets.filter(function(e,t){return -1!==u.indexOf(t)});p.forEach(function(e){d.isLatest=d.isLatest||e.isLatest,d.isCurrent=d.isCurrent||e.isCurrent,o=[].concat(eb()(o),eb()(e.messages))}),p.forEach(function(e){return r.messageSets.splice(r.messageSets.indexOf(e),1)}),t=this.messageSets.findIndex(function(t){return r.areMessageSetsOverlap(t.messages,e)})}}else t=this.findMessageSetIndex(e[0]);return{targetMessageSetIndex:t,messagesToAdd:o}}}]),t}();function rE(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return rF(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rF(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}function rF(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r1&&void 0!==a[1]?a[1]:{}).offset&&r.next)){e.next=3;break}throw Error("Cannot specify offset with next");case 3:if(i=rS(rS({filter_conditions:{cid:this.cid}},r),{},{sort:r.sort?rp(r.sort):void 0}),"string"!=typeof t){e.next=8;break}i.query=t,e.next=13;break;case 8:if("object"!==eh()(t)){e.next=12;break}i.message_filter_conditions=t,e.next=13;break;case 12:throw Error("Invalid type ".concat(eh()(t)," for query parameter"));case 13:return e.next=15,this.getClient().wsPromise;case 15:return e.next=17,this.getClient().get(this.getClient().baseURL+"/search",{payload:i});case 17:return e.abrupt("return",e.sent);case 18:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"queryMembers",value:(i=e_()(eD().mark(function e(t){var r,i,a,o,s,l,u=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=u.length>1&&void 0!==u[1]?u[1]:[],a=u.length>2&&void 0!==u[2]?u[2]:{},s=this.type,this.id?o=this.id:null!==(r=this.data)&&void 0!==r&&r.members&&Array.isArray(this.data.members)&&(l=this.data.members),e.next=6,this.getClient().get(this.getClient().baseURL+"/members",{payload:rS({type:s,id:o,members:l,sort:rp(i),filter_conditions:t},a)});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e){return i.apply(this,arguments)})},{key:"sendReaction",value:(a=e_()(eD().mark(function e(t,r,i){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Message id is missing");case 2:if(!(!r||0===Object.keys(r).length)){e.next=4;break}throw Error("Reaction object is missing");case 4:return e.next=6,this.getClient().post(this.getClient().baseURL+"/messages/".concat(t,"/reaction"),rS({reaction:r},i));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e,t,r){return a.apply(this,arguments)})},{key:"deleteReaction",value:function(e,t,r){if(this._checkInitialized(),!t||!e)throw Error("Deleting a reaction requires specifying both the message and reaction type");var i=this.getClient().baseURL+"/messages/".concat(e,"/reaction/").concat(t);return r?this.getClient().delete(i,{user_id:r}):this.getClient().delete(i,{})}},{key:"update",value:(o=e_()(eD().mark(function e(){var t,r,i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},r=a.length>1?a[1]:void 0,i=a.length>2?a[2]:void 0,["config","cid","created_by","id","member_count","type","created_at","updated_at","last_message_at","own_capabilities"].forEach(function(e){delete t[e]}),e.next=7,this._update(rS({message:r,data:t},i));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})},{key:"updatePartial",value:(s=e_()(eD().mark(function e(t){var r,i,a,o;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().patch(this._channelURL(),t);case 2:return a=e.sent,o=eb()(a.channel.own_capabilities||[]).sort().join()!==eb()(Array.isArray(null===(r=this.data)||void 0===r?void 0:r.own_capabilities)?null===(i=this.data)||void 0===i?void 0:i.own_capabilities:[]).sort().join(),this.data=a.channel,o&&this.getClient().dispatchEvent({type:"capabilities.changed",cid:this.cid,own_capabilities:a.channel.own_capabilities}),e.abrupt("return",a);case 7:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"enableSlowMode",value:(l=e_()(eD().mark(function e(t){var r;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),{cooldown:t});case 2:return r=e.sent,this.data=r.channel,e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})),function(e){return l.apply(this,arguments)})},{key:"disableSlowMode",value:(u=e_()(eD().mark(function e(){var t;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),{cooldown:0});case 2:return t=e.sent,this.data=t.channel,e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)})),function(){return u.apply(this,arguments)})},{key:"delete",value:(d=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.getClient().delete(this._channelURL(),rS({},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"truncate",value:(p=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.getClient().post(this._channelURL()+"/truncate",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return p.apply(this,arguments)})},{key:"acceptInvite",value:(f=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this._update(rS({accept_invite:!0},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return f.apply(this,arguments)})},{key:"rejectInvite",value:(m=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this._update(rS({reject_invite:!0},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return m.apply(this,arguments)})},{key:"addMembers",value:(g=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this._update(rS({add_members:t,message:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return g.apply(this,arguments)})},{key:"addModerators",value:(v=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this._update(rS({add_moderators:t,message:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return v.apply(this,arguments)})},{key:"assignRoles",value:(b=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this._update(rS({assign_roles:t,message:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return b.apply(this,arguments)})},{key:"inviteMembers",value:(y=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this._update(rS({invites:t,message:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return y.apply(this,arguments)})},{key:"removeMembers",value:(_=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this._update(rS({remove_members:t,message:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return _.apply(this,arguments)})},{key:"demoteModerators",value:(w=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this._update(rS({demote_moderators:t,message:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return w.apply(this,arguments)})},{key:"_update",value:(k=e_()(eD().mark(function e(t){var r;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),t);case 2:return r=e.sent,this.data=r.channel,e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})),function(e){return k.apply(this,arguments)})},{key:"mute",value:(x=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.getClient().post(this.getClient().baseURL+"/moderation/mute/channel",rS({channel_cid:this.cid},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return x.apply(this,arguments)})},{key:"unmute",value:(E=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.getClient().post(this.getClient().baseURL+"/moderation/unmute/channel",rS({channel_cid:this.cid},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return E.apply(this,arguments)})},{key:"muteStatus",value:function(){return this._checkInitialized(),this.getClient()._muteStatus(this.cid)}},{key:"sendAction",value:function(e,t){if(this._checkInitialized(),!e)throw Error("Message id is missing");return this.getClient().post(this.getClient().baseURL+"/messages/".concat(e,"/action"),{message_id:e,form_data:t,id:this.id,type:this.type})}},{key:"keystroke",value:(F=e_()(eD().mark(function e(t,r){var i,a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isTypingIndicatorsEnabled()){e.next=2;break}return e.abrupt("return");case 2:if(i=new Date,a=this.lastTypingEvent&&i.getTime()-this.lastTypingEvent.getTime(),this.lastKeyStroke=i,this.isTyping=!0,!(null===a||a>2e3)){e.next=10;break}return this.lastTypingEvent=new Date,e.next=10,this.sendEvent(rS({type:"typing.start",parent_id:t},r||{}));case 10:case"end":return e.stop()}},e,this)})),function(e,t){return F.apply(this,arguments)})},{key:"stopTyping",value:(C=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isTypingIndicatorsEnabled()){e.next=2;break}return e.abrupt("return");case 2:return this.lastTypingEvent=null,this.isTyping=!1,e.next=6,this.sendEvent(rS({type:"typing.stop",parent_id:t},r||{}));case 6:case"end":return e.stop()}},e,this)})),function(e,t){return C.apply(this,arguments)})},{key:"_isTypingIndicatorsEnabled",value:function(){var e,t,r,i,a;return null!==(e=this.getConfig())&&void 0!==e&&!!e.typing_events&&(null===(t=null===(r=this.getClient().user)||void 0===r?void 0:null===(i=r.privacy_settings)||void 0===i?void 0:null===(a=i.typing_indicators)||void 0===a?void 0:a.enabled)||void 0===t||t)}},{key:"lastMessage",value:function(){var e=this.state.latestMessages.length-5;e<0&&(e=0);var t=this.state.latestMessages.length+1,r=this.state.latestMessages.slice(e,t);return r.sort(function(e,t){return t.created_at.getTime()-e.created_at.getTime()}),r[0]}},{key:"markRead",value:(S=e_()(eD().mark(function e(){var t,r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=i.length>0&&void 0!==i[0]?i[0]:{},this._checkInitialized(),!(!(null!==(t=this.getConfig())&&void 0!==t&&t.read_events)&&!this.getClient()._isUsingServerAuth())){e.next=4;break}return e.abrupt("return",Promise.resolve(null));case 4:return e.next=6,this.getClient().post(this._channelURL()+"/read",rS({},r));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(){return S.apply(this,arguments)})},{key:"markUnread",value:(D=e_()(eD().mark(function e(t){var r;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._checkInitialized(),!(!(null!==(r=this.getConfig())&&void 0!==r&&r.read_events)&&!this.getClient()._isUsingServerAuth())){e.next=3;break}return e.abrupt("return",Promise.resolve(null));case 3:return e.next=5,this.getClient().post(this._channelURL()+"/unread",rS({},t));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(e){return D.apply(this,arguments)})},{key:"clean",value:function(){this.lastKeyStroke&&new Date().getTime()-this.lastKeyStroke.getTime()>1e3&&this.isTyping&&rl(this.stopTyping(),"stop typing event"),this.state.clean()}},{key:"watch",value:(j=e_()(eD().mark(function e(t){var r,i,a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={state:!0,watch:!0,presence:!1},e.next=3,this.getClient().wsPromise;case 3:return this.getClient()._hasConnectionID()||(r.watch=!1),i=rS(rS({},r),t),e.next=7,this.query(i,"latest");case 7:return a=e.sent,this.initialized=!0,this.data=a.channel,this._client.logger("info","channel:watch() - started watching channel ".concat(this.cid),{tags:["channel"],channel:this}),e.abrupt("return",a);case 12:case"end":return e.stop()}},e,this)})),function(e){return j.apply(this,arguments)})},{key:"stopWatching",value:(T=e_()(eD().mark(function e(){var t;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL()+"/stop-watching",{});case 2:return t=e.sent,this._client.logger("info","channel:watch() - stopped watching channel ".concat(this.cid),{tags:["channel"],channel:this}),e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)})),function(){return T.apply(this,arguments)})},{key:"getReplies",value:(O=e_()(eD().mark(function e(t,r,i){var a,o;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=i?rp(i):void 0,e.next=3,this.getClient().get(this.getClient().baseURL+"/messages/".concat(t,"/replies"),rS({sort:a},r));case 3:return(o=e.sent).messages&&this.state.addMessagesSorted(o.messages),e.abrupt("return",o);case 6:case"end":return e.stop()}},e,this)})),function(e,t,r){return O.apply(this,arguments)})},{key:"getPinnedMessages",value:(P=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:[],e.next=3,this.getClient().get(this.getClient().baseURL+"/channels/".concat(this.type,"/").concat(this.id,"/pinned_messages"),{payload:rS(rS({},t),{},{sort:rp(r)})});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return P.apply(this,arguments)})},{key:"getReactions",value:function(e,t){return this.getClient().get(this.getClient().baseURL+"/messages/".concat(e,"/reactions"),rS({},t))}},{key:"getMessagesById",value:function(e){return this.getClient().get(this._channelURL()+"/messages",{ids:e.join(",")})}},{key:"lastRead",value:function(){var e=this.getClient().userID;if(e)return this.state.read[e]?this.state.read[e].last_read:null}},{key:"_countMessageAsUnread",value:function(e){var t,r,i,a;return!(e.shadowed||e.silent||e.parent_id&&!e.show_in_channel||(null===(t=e.user)||void 0===t?void 0:t.id)===this.getClient().userID||null!==(r=e.user)&&void 0!==r&&r.id&&this.getClient().userMuteStatus(e.user.id)||"system"===e.type||Array.isArray(null===(i=this.data)||void 0===i?void 0:i.own_capabilities)&&!(null!==(a=this.data)&&void 0!==a&&a.own_capabilities.includes("read-events")))&&!this.muteStatus().muted}},{key:"countUnread",value:function(e){if(!e)return this.state.unreadCount;for(var t=0,r=0;re&&this._countMessageAsUnread(i)&&t++}return t}},{key:"countUnreadMentions",value:function(){for(var e=this.lastRead(),t=this.getClient().userID,r=0,i=0;ie)&&null!==(a=o.mentioned_users)&&void 0!==a&&a.some(function(e){return e.id===t})&&r++}return r}},{key:"query",value:(R=e_()(eD().mark(function e(t){var r,i,a,o,s,l,u,d,p,f=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=f.length>1&&void 0!==f[1]?f[1]:"current",e.next=3,this.getClient().wsPromise;case 3:return o="".concat(this.getClient().baseURL,"/channels/").concat(this.type),this.id&&(o+="/".concat(this.id)),e.next=7,this.getClient().post(o+"/query",rS({data:this._data,state:!0},t));case 7:return s=e.sent,this.id||(this.id=s.channel.id,this.cid=s.channel.cid,l=s.members.map(function(e){var t;return e.user_id||(null===(t=e.user)||void 0===t?void 0:t.id)}).sort().join(","),(u="".concat(this.type,":!members-").concat(l))in this.getClient().activeChannels&&delete this.getClient().activeChannels[u],this.cid in this.getClient().activeChannels||(this.getClient().activeChannels[this.cid]=this)),this.getClient()._addChannelConfig(s.channel),d=this._initializeState(s,a).messageSet,p=eb()(s.channel.own_capabilities||[]).sort().join()!==eb()(Array.isArray(null===(r=this.data)||void 0===r?void 0:r.own_capabilities)?null===(i=this.data)||void 0===i?void 0:i.own_capabilities:[]).sort().join(),this.data=s.channel,this.offlineMode=!1,p&&this.getClient().dispatchEvent({type:"capabilities.changed",cid:this.cid,own_capabilities:s.channel.own_capabilities}),this.getClient().dispatchEvent({type:"channels.queried",queriedChannels:{channels:[s],isLatestMessageSet:d.isLatest}}),e.abrupt("return",s);case 17:case"end":return e.stop()}},e,this)})),function(e){return R.apply(this,arguments)})},{key:"banUser",value:(M=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().banUser(t,rS(rS({},r),{},{type:this.type,id:this.id}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return M.apply(this,arguments)})},{key:"hide",value:(L=e_()(eD().mark(function e(){var t,r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:null,r=i.length>1&&void 0!==i[1]&&i[1],this._checkInitialized(),e.next=5,this.getClient().post("".concat(this._channelURL(),"/hide"),{user_id:t,clear_history:r});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return L.apply(this,arguments)})},{key:"show",value:(A=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:null,this._checkInitialized(),e.next=4,this.getClient().post("".concat(this._channelURL(),"/show"),{user_id:t});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return A.apply(this,arguments)})},{key:"unbanUser",value:(I=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().unbanUser(t,{type:this.type,id:this.id});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return I.apply(this,arguments)})},{key:"shadowBan",value:(N=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().shadowBan(t,rS(rS({},r),{},{type:this.type,id:this.id}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return N.apply(this,arguments)})},{key:"removeShadowBan",value:(B=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().removeShadowBan(t,{type:this.type,id:this.id});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return B.apply(this,arguments)})},{key:"createCall",value:(U=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL()+"/call",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return U.apply(this,arguments)})},{key:"vote",value:(z=e_()(eD().mark(function e(t,r,i){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().castPollVote(t,r,i);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,r){return z.apply(this,arguments)})},{key:"removeVote",value:(H=e_()(eD().mark(function e(t,r,i){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().removePollVote(t,r,i);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,r){return H.apply(this,arguments)})},{key:"on",value:function(e,t){var r=this,i=t?e:"all",a=t||e;return i in this.listeners||(this.listeners[i]=[]),this._client.logger("info","Attaching listener for ".concat(i," event on channel ").concat(this.cid),{tags:["event","channel"],channel:this}),this.listeners[i].push(a),{unsubscribe:function(){r._client.logger("info","Removing listener for ".concat(i," event from channel ").concat(r.cid),{tags:["event","channel"],channel:r}),r.listeners[i]=r.listeners[i].filter(function(e){return e!==a})}}}},{key:"off",value:function(e,t){var r=t?e:"all",i=t||e;r in this.listeners||(this.listeners[r]=[]),this._client.logger("info","Removing listener for ".concat(r," event from channel ").concat(this.cid),{tags:["event","channel"],channel:this}),this.listeners[r]=this.listeners[r].filter(function(e){return e!==i})}},{key:"_handleChannelEvent",value:function(e){this._client.logger("info","channel:_handleChannelEvent - Received event of type { ".concat(e.type," } on ").concat(this.cid),{tags:["event","channel"],channel:this});var t,r,i,a,o,s,l,u,d=this.state;switch(e.type){case"typing.start":null!==(v=e.user)&&void 0!==v&&v.id&&(d.typing[e.user.id]=e);break;case"typing.stop":null!==(b=e.user)&&void 0!==b&&b.id&&delete d.typing[e.user.id];break;case"message.read":null!==(y=e.user)&&void 0!==y&&y.id&&e.created_at&&(d.read[e.user.id]={last_read:new Date(e.created_at),last_read_message_id:e.last_read_message_id,user:e.user,unread_messages:0},(null===(j=e.user)||void 0===j?void 0:j.id)===(null===(T=this.getClient().user)||void 0===T?void 0:T.id)&&(d.unreadCount=0));break;case"user.watching.start":case"user.updated":null!==(_=e.user)&&void 0!==_&&_.id&&(d.watchers[e.user.id]=e.user);break;case"user.watching.stop":null!==(w=e.user)&&void 0!==w&&w.id&&delete d.watchers[e.user.id];break;case"message.deleted":e.message&&(this._extendEventWithOwnReactions(e),e.hard_delete?d.removeMessage(e.message):d.addMessageSorted(e.message,!1,!1),d.removeQuotedMessageReferences(e.message),e.message.pinned&&d.removePinnedMessage(e.message));break;case"message.new":if(e.message){var p,f,m,g,v,b,y,_,w,k,x,E,F,C,S,D,j,T,O,P,R,M=(null===(O=e.user)||void 0===O?void 0:O.id)===(null===(P=this.getClient().user)||void 0===P?void 0:P.id),L=e.message.parent_id&&!e.message.show_in_channel;if((this.state.isUpToDate||L)&&d.addMessageSorted(e.message,M),e.message.pinned&&d.addPinnedMessage(e.message),M||L)break;if(null!==(R=e.user)&&void 0!==R&&R.id)for(var A in d.read)A===e.user.id?d.read[e.user.id]={last_read:new Date(e.created_at),user:e.user,unread_messages:0}:d.read[A].unread_messages+=1;this._countMessageAsUnread(e.message)&&(d.unreadCount=d.unreadCount+1)}break;case"message.updated":case"message.undeleted":e.message&&(this._extendEventWithOwnReactions(e),d.addMessageSorted(e.message,!1,!1),d._updateQuotedMessageReferences({message:e.message}),e.message.pinned?d.addPinnedMessage(e.message):d.removePinnedMessage(e.message));break;case"channel.truncated":if(null!==(k=e.channel)&&void 0!==k&&k.truncated_at){var I=+new Date(e.channel.truncated_at);d.messageSets.forEach(function(e,t){e.messages.forEach(function(e){var r=e.created_at,i=e.id;I>+r&&d.removeMessage({id:i,messageSetIndex:t})})}),d.pinnedMessages.forEach(function(e){var t=e.id;I>+e.created_at&&d.removePinnedMessage({id:t})})}else d.clearMessages();d.unreadCount=0,e.message&&(d.addMessageSorted(e.message),e.message.pinned&&d.addPinnedMessage(e.message));break;case"member.added":case"member.updated":null!==(x=e.member)&&void 0!==x&&x.user_id&&(d.members[e.member.user_id]=e.member);break;case"member.removed":null!==(E=e.user)&&void 0!==E&&E.id&&delete d.members[e.user.id];break;case"notification.mark_unread":if(!((null===(N=e.user)||void 0===N?void 0:N.id)===(null===(B=this.getClient().user)||void 0===B?void 0:B.id)&&e.user))break;var N,B,U,z=null!==(U=e.unread_messages)&&void 0!==U?U:0;d.read[e.user.id]={first_unread_message_id:e.first_unread_message_id,last_read:new Date(e.last_read_at),last_read_message_id:e.last_read_message_id,user:e.user,unread_messages:z},d.unreadCount=z;break;case"channel.updated":e.channel&&((null===(t=e.channel)||void 0===t?void 0:t.frozen)!==void 0&&e.channel.frozen!==(null===(r=this.data)||void 0===r?void 0:r.frozen)&&this.query({state:!1,messages:{limit:0},watchers:{limit:0}}),this.data=rS(rS({},e.channel),{},{hidden:null!==(i=null===(a=e.channel)||void 0===a?void 0:a.hidden)&&void 0!==i?i:null===(o=this.data)||void 0===o?void 0:o.hidden,own_capabilities:null!==(s=null===(l=e.channel)||void 0===l?void 0:l.own_capabilities)&&void 0!==s?s:null===(u=this.data)||void 0===u?void 0:u.own_capabilities}));break;case"poll.updated":e.poll&&d.updatePoll(e.poll,(null===(p=e.message)||void 0===p?void 0:p.id)||"");break;case"poll.vote_casted":e.poll_vote&&e.poll&&d.addPollVote(e.poll_vote,e.poll,(null===(f=e.message)||void 0===f?void 0:f.id)||"");break;case"poll.vote_changed":e.poll_vote&&e.poll&&d.updatePollVote(e.poll_vote,e.poll,(null===(m=e.message)||void 0===m?void 0:m.id)||"");break;case"poll.vote_removed":e.poll_vote&&e.poll&&d.removePollVote(e.poll_vote,e.poll,(null===(g=e.message)||void 0===g?void 0:g.id)||"");break;case"poll.closed":e.message&&d.addMessageSorted(e.message,!1,!1);break;case"reaction.new":e.message&&e.reaction&&(e.message=d.addReaction(e.reaction,e.message));break;case"reaction.deleted":e.reaction&&(e.message=d.removeReaction(e.reaction,e.message));break;case"reaction.updated":e.reaction&&(e.message=d.addReaction(e.reaction,e.message,!0));break;case"channel.hidden":this.data=rS(rS({},this.data),{},{hidden:!0}),e.clear_history&&d.clearMessages();break;case"channel.visible":this.data=rS(rS({},this.data),{},{hidden:!1});break;case"user.banned":if(!(null!==(F=e.user)&&void 0!==F&&F.id))break;d.members[e.user.id]=rS(rS({},d.members[e.user.id]||{}),{},{shadow_banned:!!e.shadow,banned:!e.shadow,user:rS(rS({},(null===(C=d.members[e.user.id])||void 0===C?void 0:C.user)||{}),e.user)});break;case"user.unbanned":if(!(null!==(S=e.user)&&void 0!==S&&S.id))break;d.members[e.user.id]=rS(rS({},d.members[e.user.id]||{}),{},{shadow_banned:!1,banned:!1,user:rS(rS({},(null===(D=d.members[e.user.id])||void 0===D?void 0:D.user)||{}),e.user)})}void 0!==e.watcher_count&&(this.state.watcher_count=e.watcher_count)}},{key:"_checkInitialized",value:function(){if(!this.initialized&&!this.offlineMode&&!this.getClient()._isUsingServerAuth())throw Error("Channel ".concat(this.cid," hasn't been initialized yet. Make sure to call .watch() and wait for it to resolve"))}},{key:"_initializeState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"latest",r=this.getClient(),i=r.state,a=r.user,o=r.userID;if(e.members){var s,l=rE(e.members);try{for(l.s();!(s=l.n()).done;){var u=s.value;u.user&&i.updateUserReference(u.user,this.cid)}}catch(e){l.e(e)}finally{l.f()}}this.state.membership=e.membership||{};var d=e.messages||[];this.state.messages||this.state.initMessages();var p=this.state.addMessagesSorted(d,!1,!0,!0,t).messageSet;if(this.state.pinnedMessages||(this.state.pinnedMessages=[]),this.state.addPinnedMessages(e.pinned_messages||[]),e.pending_messages&&(this.state.pending_messages=e.pending_messages),void 0!==e.watcher_count&&(this.state.watcher_count=e.watcher_count),e.watchers){var f,m=rE(e.watchers);try{for(m.s();!(f=m.n()).done;){var g=f.value;g&&(i.updateUserReference(g,this.cid),this.state.watchers[g.id]=g)}}catch(e){m.e(e)}finally{m.f()}}if(null!=o){var v=this.state.last_message_at||new Date;a&&(this.state.read[a.id]={user:a,last_read:v,unread_messages:0})}if(e.read){var b,y=rE(e.read);try{for(y.s();!(b=y.n()).done;){var _,w=b.value;this.state.read[w.user.id]={last_read:new Date(w.last_read),last_read_message_id:w.last_read_message_id,unread_messages:null!==(_=w.unread_messages)&&void 0!==_?_:0,user:w.user},w.user.id===(null==a?void 0:a.id)&&(this.state.unreadCount=this.state.read[w.user.id].unread_messages)}}catch(e){y.e(e)}finally{y.f()}}return e.members&&(this.state.members=e.members.reduce(function(e,t){return t.user&&(e[t.user.id]=t),e},{})),{messageSet:p}}},{key:"_extendEventWithOwnReactions",value:function(e){if(e.message){var t=this.state.findMessage(e.message.id,e.message.parent_id);t&&(e.message.own_reactions=t.own_reactions)}}},{key:"_disconnect",value:function(){this._client.logger("info","channel:disconnect() - Disconnecting the channel ".concat(this.cid),{tags:["connection","channel"],channel:this}),this.disconnected=!0,this.state.setIsUpToDate(!1)}}]),q}();function rj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;this.updateUser(i)}}catch(e){r.e(e)}finally{r.f()}}},{key:"updateUser",value:function(e){null!=e&&(this.users[e.id]=e)}},{key:"updateUserReference",value:function(e,t){null!=e&&(this.updateUser(e),this.userChannelReferences[e.id]||(this.userChannelReferences[e.id]={}),this.userChannelReferences[e.id][t]=!0)}},{key:"deleteAllChannelReference",value:function(e){for(var t in this.userChannelReferences)delete this.userChannelReferences[t][e]}}]),e}();function rO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function rP(e){for(var t=1;t1)||void 0===arguments[1]||arguments[1];void 0!==e.code&&(r=e.code,i="unknown",a=e.reason),void 0!==e.error&&(r=e.error.code,i=e.error.StatusCode,a=e.error.message),t._log("_errorFromWSEvent() - WS failed with code ".concat(r),{event:e},"warn");var s=Error("WS failed with code ".concat(r," and reason - ").concat(a));return s.code=r,s.StatusCode=i,s.isWSFailure=o,s}),eC()(this,"_setupConnectionPromise",function(){t.isResolved=!1,t.connectionOpen=new Promise(function(e,r){t.resolvePromise=e,t.rejectPromise=r})}),eC()(this,"scheduleNextPing",function(){t.healthCheckTimeoutRef&&clearTimeout(t.healthCheckTimeoutRef),t.healthCheckTimeoutRef=setTimeout(function(){var e,r=[{type:"health.check",client_id:t.client.clientID}];try{null===(e=t.ws)||void 0===e||e.send(JSON.stringify(r))}catch(e){}},t.pingInterval)}),eC()(this,"scheduleConnectionCheck",function(){t.connectionCheckTimeoutRef&&clearTimeout(t.connectionCheckTimeoutRef),t.connectionCheckTimeoutRef=setTimeout(function(){var e=new Date;t.lastEvent&&e.getTime()-t.lastEvent.getTime()>t.connectionCheckTimeout&&(t._log("scheduleConnectionCheck - going to reconnect"),t._setHealth(!1),t._reconnect())},t.connectionCheckTimeout)}),this.client=r,this.consecutiveFailures=0,this.totalFailures=0,this.isConnecting=!1,this.isDisconnected=!1,this.isResolved=!1,this.isHealthy=!1,this.wsID=1,this.lastEvent=null,this.pingInterval=25e3,this.connectionCheckTimeout=this.pingInterval+1e4,this.onlineStatusChanged}return eE()(a,[{key:"_log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(r,"connection:"+e,function(e){for(var t=1;t0&&void 0!==i[0]?i[0]:15e3,!this.isConnecting){e.next=3;break}throw Error("You've called connect twice, can only attempt 1 connection at the time");case 3:return this.isDisconnected=!1,e.prev=4,e.next=7,this._connect();case 7:r=e.sent,this.consecutiveFailures=0,this._log("connect() - Established ws connection with healthcheck: ".concat(r)),e.next=23;break;case 12:if(e.prev=12,e.t0=e.catch(4),this.isHealthy=!1,this.consecutiveFailures+=1,!(e.t0.code===rd.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())){e.next=21;break}this._log("connect() - WS failure due to expired token, so going to try to reload token and reconnect"),this._reconnect({refreshToken:!0}),e.next=23;break;case 21:if(e.t0.isWSFailure){e.next=23;break}throw Error(JSON.stringify({code:e.t0.code,StatusCode:e.t0.StatusCode,message:e.t0.message,isWSFailure:e.t0.isWSFailure}));case 23:return e.next=25,this._waitForHealthy(t);case 25:return e.abrupt("return",e.sent);case 26:case"end":return e.stop()}},e,this,[[4,12]])})),function(){return e.apply(this,arguments)})},{key:"_waitForHealthy",value:(t=e_()(eD().mark(function e(){var t,r=this,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:15e3,e.abrupt("return",Promise.race([e_()(eD().mark(function e(){var i,a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=50,a=0;case 2:if(!(a<=t)){e.next=18;break}return e.prev=3,e.next=6,r.connectionOpen;case 6:return e.abrupt("return",e.sent);case 9:if(e.prev=9,e.t0=e.catch(3),a!==t){e.next=13;break}throw Error(JSON.stringify({code:e.t0.code,StatusCode:e.t0.StatusCode,message:e.t0.message,isWSFailure:e.t0.isWSFailure}));case 13:return e.next=15,rc(i);case 15:a+=i,e.next=2;break;case 18:case"end":return e.stop()}},e,null,[[3,9]])}))(),e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,rc(t);case 2:throw r.isConnecting=!1,Error(JSON.stringify({code:"",StatusCode:"",message:"initial WS connection could not be established",isWSFailure:!0}));case 4:case"end":return e.stop()}},e)}))()]));case 2:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)})},{key:"disconnect",value:function(e){var t,r=this;this._log("disconnect() - Closing the websocket connection for wsID ".concat(this.wsID)),this.wsID+=1,this.isConnecting=!1,this.isDisconnected=!0,this.healthCheckTimeoutRef&&clearInterval(this.healthCheckTimeoutRef),this.connectionCheckTimeoutRef&&clearInterval(this.connectionCheckTimeoutRef),this.onlineStatusChanged,this.isHealthy=!1,this.ws&&this.ws.removeAllListeners&&this.ws.removeAllListeners();var i=this.ws;return i&&i.close&&i.readyState===i.OPEN?(t=new Promise(function(t){var a=function(e){r._log("disconnect() - resolving isClosedPromise ".concat(e?"with":"without"," close frame"),{event:e}),t()};i.onclose=a,setTimeout(a,null!=e?e:1e3)}),this._log("disconnect() - Manually closed connection by calling client.disconnect()"),i.close(rd.WS_CLOSED_SUCCESS,"Manually closed connection by calling client.disconnect()")):(this._log("disconnect() - ws connection doesn't exist or it is already closed."),t=Promise.resolve()),delete this.ws,t}},{key:"_connect",value:(r=e_()(eD().mark(function e(){var t,r,i,a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this.isConnecting||this.isDisconnected&&this.client.options.enableWSFallback)){e.next=2;break}return e.abrupt("return");case 2:return this.isConnecting=!0,this.requestID=rm(),this.client.insightMetrics.connectionStartTimestamp=new Date().getTime(),t=!1,e.prev=6,this._log("_connect() - waiting for token"),e.next=10,this.client.tokenManager.tokenReady();case 10:t=!0,e.next=15;break;case 13:e.prev=13,e.t0=e.catch(6);case 15:if(e.prev=15,t){e.next=20;break}return this._log("_connect() - tokenProvider failed before, so going to retry"),e.next=20,this.client.tokenManager.loadToken();case 20:return this._setupConnectionPromise(),r=this._buildUrl(),this._log("_connect() - Connecting to ".concat(r),{wsURL:r,requestID:this.requestID}),this.ws=new(nX())(r),this.ws.onopen=this.onopen.bind(this,this.wsID),this.ws.onclose=this.onclose.bind(this,this.wsID),this.ws.onerror=this.onerror.bind(this,this.wsID),this.ws.onmessage=this.onmessage.bind(this,this.wsID),e.next=30,this.connectionOpen;case 30:if(i=e.sent,this.isConnecting=!1,!i){e.next=36;break}return this.connectionID=i.connection_id,this.client.insightMetrics.wsConsecutiveFailures>0&&this.client.options.enableInsights&&(rM("ws_success_after_failure",rL(this)),this.client.insightMetrics.wsConsecutiveFailures=0),e.abrupt("return",i);case 36:e.next=44;break;case 38:throw e.prev=38,e.t1=e.catch(15),this.isConnecting=!1,this._log("_connect() - Error - ",e.t1),this.client.options.enableInsights&&(this.client.insightMetrics.wsConsecutiveFailures++,this.client.insightMetrics.wsTotalFailures++,a=rP(rP({},function(e){var t={};if(!e)return t;try{Object.getOwnPropertyNames(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})}catch(e){return{error:"failed to serialize the error"}}return t}(e.t1)),rL(this)),null==rM||rM("ws_fatal",a)),e.t1;case 44:case"end":return e.stop()}},e,this,[[6,13],[15,38]])})),function(){return r.apply(this,arguments)})},{key:"_reconnect",value:(i=e_()(eD().mark(function e(){var t,r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:{},this._log("_reconnect() - Initiating the reconnect"),!(this.isConnecting||this.isHealthy)){e.next=5;break}return this._log("_reconnect() - Abort (1) since already connecting or healthy"),e.abrupt("return");case 5:return(r=t.interval)||(r=rf(this.consecutiveFailures)),e.next=9,rc(r);case 9:if(!(this.isConnecting||this.isHealthy)){e.next=12;break}return this._log("_reconnect() - Abort (2) since already connecting or healthy"),e.abrupt("return");case 12:if(!(this.isDisconnected&&this.client.options.enableWSFallback)){e.next=15;break}return this._log("_reconnect() - Abort (3) since disconnect() is called"),e.abrupt("return");case 15:if(this._log("_reconnect() - Destroying current WS connection"),this._destroyCurrentWSConnection(),!t.refreshToken){e.next=20;break}return e.next=20,this.client.tokenManager.loadToken();case 20:return e.prev=20,e.next=23,this._connect();case 23:return this._log("_reconnect() - Waiting for recoverCallBack"),e.next=26,this.client.recoverState();case 26:this._log("_reconnect() - Finished recoverCallBack"),this.consecutiveFailures=0,e.next=38;break;case 30:if(e.prev=30,e.t0=e.catch(20),this.isHealthy=!1,this.consecutiveFailures+=1,!(e.t0.code===rd.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())){e.next=37;break}return this._log("_reconnect() - WS failure due to expired token, so going to try to reload token and reconnect"),e.abrupt("return",this._reconnect({refreshToken:!0}));case 37:e.t0.isWSFailure&&(this._log("_reconnect() - WS failure, so going to try to reconnect"),this._reconnect());case 38:this._log("_reconnect() - == END ==");case 39:case"end":return e.stop()}},e,this,[[20,30]])})),function(){return i.apply(this,arguments)})},{key:"_destroyCurrentWSConnection",value:function(){this.wsID+=1;try{var e,t;this===null||void 0===this||null===(e=this.ws)||void 0===e||e.removeAllListeners(),this===null||void 0===this||null===(t=this.ws)||void 0===t||t.close()}catch(e){}}}]),a}();function rN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function rB(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("string"!=typeof t)throw TypeError("userId should be a string");var a=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=ep()({algorithm:"HS256",noTimestamp:!0},t);return n0().sign({server:!0},e,r)}var rz=function e(t){var r,i=this;ek()(this,e),eC()(this,"loadTokenPromise",void 0),eC()(this,"type",void 0),eC()(this,"secret",void 0),eC()(this,"token",void 0),eC()(this,"tokenProvider",void 0),eC()(this,"user",void 0),eC()(this,"setTokenOrProvider",(r=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.validateToken(t,r),i.user=r,ru(t)&&(i.tokenProvider=t,i.type="provider"),"string"==typeof t&&(i.token=t,i.type="static"),!t&&i.user&&i.secret&&(i.token=rB(i.secret,r.id,{},{}),i.type="static"),e.next=7,i.loadToken();case 7:case"end":return e.stop()}},e)})),function(e,t){return r.apply(this,arguments)})),eC()(this,"reset",function(){i.token=void 0,i.user=void 0,i.loadTokenPromise=null}),eC()(this,"validateToken",function(e,t){if(!t||!t.anon||e){if(!i.secret&&!e)throw Error("User token can not be empty");if(e&&"string"!=typeof e&&!ru(e))throw Error("user token should either be a string or a function");if("string"==typeof e){if(t.anon&&""===e)return;var r,a=3!==(r=e.split(".")).length?"":JSON.parse(ri(r[1])).user_id;if(null!=e&&(null==a||""===a||a!==t.id))throw Error("userToken does not have a user_id or is not matching with user.id")}}}),eC()(this,"tokenReady",function(){return i.loadTokenPromise}),eC()(this,"loadToken",function(){var e;return i.loadTokenPromise=new Promise((e=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("static"!==i.type){e.next=2;break}return e.abrupt("return",t(i.token));case 2:if(!(i.tokenProvider&&"string"!=typeof i.tokenProvider)){e.next=13;break}return e.prev=3,e.next=6,i.tokenProvider();case 6:i.token=e.sent,e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(3),e.abrupt("return",r(Error("Call to tokenProvider failed with message: ".concat(e.t0))));case 12:t(i.token);case 13:case"end":return e.stop()}},e,null,[[3,9]])})),function(t,r){return e.apply(this,arguments)})),i.loadTokenPromise}),eC()(this,"getToken",function(){if(i.token||i.user&&i.user.anon&&!i.token)return i.token;if(i.secret)return rU(i.secret);throw Error("Both secret and user tokens are not set. Either client.connectUser wasn't called or client.disconnect was called")}),eC()(this,"isStatic",function(){return"static"===i.type}),this.loadTokenPromise=null,t&&(this.secret=t),this.type="static",this.secret&&(this.token=rU(this.secret))},rH={"-1":{name:"InternalSystemError",retryable:!0},2:{name:"AccessKeyError",retryable:!1},3:{name:"AuthenticationFailedError",retryable:!0},4:{name:"InputError",retryable:!1},6:{name:"DuplicateUsernameError",retryable:!1},9:{name:"RateLimitError",retryable:!0},16:{name:"DoesNotExistError",retryable:!1},17:{name:"NotAllowedError",retryable:!1},18:{name:"EventNotSupportedError",retryable:!1},19:{name:"ChannelFeatureNotSupportedError",retryable:!1},20:{name:"MessageTooLongError",retryable:!1},21:{name:"MultipleNestingLevelError",retryable:!1},22:{name:"PayloadTooBigError",retryable:!1},23:{name:"RequestTimeoutError",retryable:!0},24:{name:"MaxHeaderSizeExceededError",retryable:!1},40:{name:"AuthErrorTokenExpired",retryable:!1},41:{name:"AuthErrorTokenNotValidYet",retryable:!1},42:{name:"AuthErrorTokenUsedBeforeIssuedAt",retryable:!1},43:{name:"AuthErrorTokenSignatureInvalid",retryable:!1},44:{name:"CustomCommandEndpointMissingError",retryable:!1},45:{name:"CustomCommandEndpointCallError",retryable:!0},46:{name:"ConnectionIDNotFoundError",retryable:!1},60:{name:"CoolDownError",retryable:!0},69:{name:"ErrWrongRegion",retryable:!1},70:{name:"ErrQueryChannelPermissions",retryable:!1},71:{name:"ErrTooManyConnections",retryable:!0},99:{name:"AppSuspendedError",retryable:!1}};function rq(e){if(!e.code)return!1;var t=rH["".concat(e.code)];return!!t&&t.retryable}function rV(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function rW(e){for(var t=1;t0&&void 0!==a[0]&&a[0],i.state!==y.Connecting){e.next=4;break}return i._log("connect() - connecting already in progress",{reconnect:t},"warn"),e.abrupt("return");case 4:if(i.state!==y.Connected){e.next=7;break}return i._log("connect() - already connected and polling",{reconnect:t},"warn"),e.abrupt("return");case 7:return i._setState(y.Connecting),i.connectionID=void 0,e.prev=9,e.next=12,i._req({json:i.client._buildWSPayload()},{timeout:8e3},t);case 12:return r=e.sent.event,i._setState(y.Connected),i.connectionID=r.connection_id,i.client.dispatchEvent(r),i._poll(),t&&i.client.recoverState(),e.abrupt("return",r);case 22:throw e.prev=22,e.t0=e.catch(9),i._setState(y.Closed),e.t0;case 26:case"end":return e.stop()}},e,null,[[9,22]])}))),eC()(this,"isHealthy",function(){return!!i.connectionID&&i.state===y.Connected}),eC()(this,"disconnect",e_()(eD().mark(function e(){var t,r,a,o=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>0&&void 0!==o[0]?o[0]:2e3,i._onlineStatusChanged,i._setState(y.Disconnected),null===(t=i.cancelToken)||void 0===t||t.cancel("disconnect() is called"),i.cancelToken=void 0,a=i.connectionID,i.connectionID=void 0,e.prev=7,e.next=10,i._req({close:!0,connection_id:a},{timeout:r},!1);case 10:i._log("disconnect() - Closed connectionID"),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),i._log("disconnect() - Failed",{err:e.t0},"error");case 16:case"end":return e.stop()}},e,null,[[7,13]])}))),this.client=a,this.state=y.Init,this.consecutiveFailures=0,this._onlineStatusChanged}return eE()(e,[{key:"_log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(r,"WSConnectionFallback:"+e,rW({tags:["connection_fallback","connection"]},t))}},{key:"_setState",value:function(e){this._log("_setState() - ".concat(e)),this.state===y.Connecting&&e===y.Connected&&this.client.dispatchEvent({type:"connection.changed",online:!0}),(e===y.Closed||e===y.Disconnected)&&this.client.dispatchEvent({type:"connection.changed",online:!1}),this.state=e}}]),e}(),rG=function(){var e,t,r,i,a,o;function s(e,t,r){ek()(this,s),eC()(this,"id",void 0),eC()(this,"data",void 0),eC()(this,"client",void 0),this.client=e,this.id=t,this.data=r}return eE()(s,[{key:"create",value:(e=e_()(eD().mark(function e(){var t,r,i,a,o,s,l,u,d,p;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d={id:this.id,message_template:null===(t=this.data)||void 0===t?void 0:t.message_template,segment_ids:null===(r=this.data)||void 0===r?void 0:r.segment_ids,sender_id:null===(i=this.data)||void 0===i?void 0:i.sender_id,channel_template:null===(a=this.data)||void 0===a?void 0:a.channel_template,create_channels:null===(o=this.data)||void 0===o?void 0:o.create_channels,description:null===(s=this.data)||void 0===s?void 0:s.description,name:null===(l=this.data)||void 0===l?void 0:l.name,user_ids:null===(u=this.data)||void 0===u?void 0:u.user_ids},e.next=3,this.client.createCampaign(d);case 3:return p=e.sent,this.id=p.campaign.id,this.data=p.campaign,e.abrupt("return",p);case 7:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"verifyCampaignId",value:function(){if(!this.id)throw Error("Campaign id is missing. Either create the campaign using campaign.create() or set the id during instantiation - const campaign = client.campaign(id)")}},{key:"start",value:(t=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.next=3,this.client.startCampaign(this.id,t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"update",value:(r=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.updateCampaign(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"delete",value:(i=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.next=3,this.client.deleteCampaign(this.id);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"stop",value:(a=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.stopCampaign(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"get",value:(o=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.getCampaign(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})}]),s}(),rY=function(){var e,t,r,i,a,o,s,l;function u(e,t,r,i){ek()(this,u),eC()(this,"type",void 0),eC()(this,"id",void 0),eC()(this,"client",void 0),eC()(this,"data",void 0),this.client=e,this.type=t,this.id=r,this.data=i}return eE()(u,[{key:"create",value:(e=e_()(eD().mark(function e(){var t,r,i,a,o,s;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s={name:null===(t=this.data)||void 0===t?void 0:t.name,filter:null===(r=this.data)||void 0===r?void 0:r.filter,description:null===(i=this.data)||void 0===i?void 0:i.description,all_sender_channels:null===(a=this.data)||void 0===a?void 0:a.all_sender_channels,all_users:null===(o=this.data)||void 0===o?void 0:o.all_users},e.abrupt("return",this.client.createSegment(this.type,this.id,s));case 2:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"verifySegmentId",value:function(){if(!this.id)throw Error("Segment id is missing. Either create the segment using segment.create() or set the id during instantiation - const segment = client.segment(id)")}},{key:"get",value:(t=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.getSegment(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"update",value:(r=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.updateSegment(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"addTargets",value:(i=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.addSegmentTargets(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return i.apply(this,arguments)})},{key:"removeTargets",value:(a=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.removeSegmentTargets(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"delete",value:(o=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.deleteSegment(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})},{key:"targetExists",value:(s=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.segmentTargetExists(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"queryTargets",value:(l=e_()(eD().mark(function e(){var t,r,i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},r=a.length>1&&void 0!==a[1]?a[1]:[],i=a.length>2&&void 0!==a[2]?a[2]:{},this.verifySegmentId(),e.abrupt("return",this.client.querySegmentTargets(this.id,t,r,i));case 5:case"end":return e.stop()}},e,this)})),function(){return l.apply(this,arguments)})}]),u}(),rK=function(e){n5()(i,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=re()(i);return e=t?Reflect.construct(r,arguments,re()(this).constructor):r.apply(this,arguments),n9()(this,e)});function i(){var e;ek()(this,i);for(var t=arguments.length,a=Array(t),o=0;oe.length)&&(t=e.length);for(var r=0,i=Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}(d);try{for(m.s();!(f=m.n()).done;){var g=f.value;this.read[g.user.id]=rX(rX({},g),{},{last_read:new Date(g.last_read)})}}catch(e){m.e(e)}finally{m.f()}}this.data=p}return eE()(e,[{key:"getClient",value:function(){return this._client}},{key:"addReply",value:function(e){if(e.parent_id!==this.message.id)throw Error("Message does not belong to this thread");this.latestReplies=r_(this.latestReplies,ry(e),!0)}},{key:"updateReply",value:function(e){this.latestReplies=this.latestReplies.map(function(t){return t.id===e.id?ry(e):t})}},{key:"updateMessageOrReplyIfExists",value:function(e){if((e.parent_id||e.id===this.message.id)&&(!e.parent_id||e.parent_id===this.message.id)){if(e.parent_id&&e.parent_id===this.message.id){this.updateReply(e);return}e.parent_id||e.id!==this.message.id||(this.message=ry(e))}}},{key:"addReaction",value:function(e,t,r){var i=this;t&&(this.latestReplies=this.latestReplies.map(function(a){return a.id===t.id?ry(i._channel.state.addReaction(e,t,r)):a}))}},{key:"removeReaction",value:function(e,t){var r=this;t&&(this.latestReplies=this.latestReplies.map(function(i){return i.id===t.id?ry(r._channel.state.removeReaction(e,t)):i}))}}]),e}(),r1=["created_at","updated_at","last_active","online"],r2=["params","headers"];function r3(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return r4(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return r4(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}function r4(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r3&&void 0!==d[3]?d[3]:{},e.next=3,u.tokenManager.tokenReady();case 3:o=u._enrichAxiosOptions(a),e.prev=4,u._logApiRequest(t,r,i,o),e.t0=t,e.next="get"===e.t0?9:"delete"===e.t0?13:"post"===e.t0?17:"postForm"===e.t0?21:"put"===e.t0?25:"patch"===e.t0?29:"options"===e.t0?33:37;break;case 9:return e.next=11,u.axiosInstance.get(r,o);case 11:case 15:case 19:case 23:case 27:case 31:case 35:return s=e.sent,e.abrupt("break",38);case 13:return e.next=15,u.axiosInstance.delete(r,o);case 17:return e.next=19,u.axiosInstance.post(r,i,o);case 21:return e.next=23,u.axiosInstance.postForm(r,i,o);case 25:return e.next=27,u.axiosInstance.put(r,i,o);case 29:return e.next=31,u.axiosInstance.patch(r,i,o);case 33:return e.next=35,u.axiosInstance.options(r,o);case 37:throw Error("Invalid request type");case 38:return u._logApiResponse(t,r,s),u.consecutiveFailures=0,e.abrupt("return",u.handleResponse(s));case 43:if(e.prev=43,e.t1=e.catch(4),e.t1.client_request_id=null===(l=o.headers)||void 0===l?void 0:l["x-client-request-id"],u._logApiError(t,r,e.t1),u.consecutiveFailures+=1,!e.t1.response){e.next=60;break}if(!(e.t1.response.data.code===rd.TOKEN_EXPIRED&&!u.tokenManager.isStatic())){e.next=57;break}if(!(u.consecutiveFailures>1)){e.next=53;break}return e.next=53,rc(rf(u.consecutiveFailures));case 53:return u.tokenManager.loadToken(),e.next=56,u.doAxiosRequest(t,r,i,a);case 56:return e.abrupt("return",e.sent);case 57:return e.abrupt("return",u.handleResponse(e.t1.response));case 60:throw e.t1;case 61:case"end":return e.stop()}},e,null,[[4,43]])})),function(e,t,r){return s.apply(this,arguments)})),eC()(this,"dispatchEvent",function(e){e.received_at||(e.received_at=new Date);var t=u._handleClientEvent(e),r=e.cid,i=r?u.activeChannels[r]:void 0;i&&i._handleChannelEvent(e),u._callClientListeners(e),i&&i._callChannelListeners(e),t.forEach(function(e){return e()})}),eC()(this,"handleEvent",function(e){var t=JSON.parse(e.data);u.dispatchEvent(t)}),eC()(this,"_updateMemberWatcherReferences",function(e){var t=u.state.userChannelReferences[e.id]||{};for(var r in t){var i=u.activeChannels[r];null!=i&&i.state&&(i.state.members[e.id]&&(i.state.members[e.id].user=e),i.state.watchers[e.id]&&(i.state.watchers[e.id]=e),i.state.read[e.id]&&(i.state.read[e.id].user=e))}}),eC()(this,"_updateUserReferences",this._updateMemberWatcherReferences),eC()(this,"_updateUserMessageReferences",function(e){var t=u.state.userChannelReferences[e.id]||{};for(var r in t){var i=u.activeChannels[r];if(i){var a=i.state;null==a||a.updateUserMessages(e)}}}),eC()(this,"_deleteUserMessageReference",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=u.state.userChannelReferences[e.id]||{};for(var i in r){var a=u.activeChannels[i].state;null==a||a.deleteUserMessages(e,t)}}),eC()(this,"_handleUserEvent",function(e){if(e.user){if("user.presence.changed"===e.type||"user.updated"===e.type){if(e.user.id===u.userID){var t=r5({},u.user||{}),r=r5({},u._user||{});for(var i in u.user)i in e.user||({channel_mutes:!0,devices:!0,mutes:!0,total_unread_count:!0,unread_channels:!0,unread_count:!0,unread_threads:!0,invisible:!0,privacy_settings:!0,roles:!0})[i]||(delete t[i],delete r[i]);for(var a in e.user)r&&a in r&&(r[a]=e.user[a]);u._user=r5({},r),u.user=r5(r5({},t),e.user)}u.state.updateUser(e.user),u._updateMemberWatcherReferences(e.user)}"user.updated"===e.type&&u._updateUserMessageReferences(e.user),"user.deleted"===e.type&&e.user.deleted_at&&(e.mark_messages_deleted||e.hard_delete)&&u._deleteUserMessageReference(e.user,e.hard_delete)}}),eC()(this,"_callClientListeners",function(e){var t=[];u.listeners.all&&t.push.apply(t,eb()(u.listeners.all)),u.listeners[e.type]&&t.push.apply(t,eb()(u.listeners[e.type]));for(var r=0;r0&&(a.data=r,a._data=r),a}var o=new rD(u,e,t,r);return u.activeChannels[o.cid]=o,o}),eC()(this,"updateUsers",this.upsertUsers),eC()(this,"updateUser",this.upsertUser),eC()(this,"_unblockMessage",this.unblockMessage),eC()(this,"markAllRead",this.markChannelsRead),eC()(this,"_isUsingServerAuth",function(){return!!u.secret}),eC()(this,"_buildWSPayload",function(e){return JSON.stringify({user_id:u.userID,user_details:u._user,device:u.options.device,client_request_id:e})}),this.key=e,this.listeners={},this.state=new rT,this.mutedChannels=[],this.mutedUsers=[],t&&r8(t)&&(this.secret=t);var d=r||(t&&!r8(t)?t:{});this.browser=void 0!==d.browser&&d.browser,this.node=!this.browser,this.options=r5({timeout:3e3,withCredentials:!1,warmUp:!1,recoverStateOnReconnect:!0},d),this.node&&!this.options.httpsAgent&&(this.options.httpsAgent=new(tV()).Agent({keepAlive:!0,keepAliveMsecs:3e3})),this.axiosInstance=nY.create(this.options),this.setBaseURL(this.options.baseURL||"https://chat.stream-io-api.com"),"undefined"!=typeof process&&process.env.STREAM_LOCAL_TEST_RUN&&this.setBaseURL("http://localhost:3030"),"undefined"!=typeof process&&process.env.STREAM_LOCAL_TEST_HOST&&this.setBaseURL("http://"+process.env.STREAM_LOCAL_TEST_HOST),this.wsConnection=null,this.wsPromise=null,this.setUserPromise=null,this.activeChannels={},this.configs={},this.anonymous=!1,this.persistUserOnConnectionFailure=null===(l=this.options)||void 0===l?void 0:l.persistUserOnConnectionFailure,this.tokenManager=new rz(this.secret),this.consecutiveFailures=0,this.insightMetrics=new rR,this.defaultWSTimeoutWithFallback=6e3,this.defaultWSTimeout=15e3,this.axiosInstance.defaults.paramsSerializer=rb,this.logger=ru(d.logger)?d.logger:function(){return null},this.recoverStateOnReconnect=this.options.recoverStateOnReconnect}return eE()(tr,[{key:"devToken",value:function(e){var t;return["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",(t=JSON.stringify({user_id:e}),(0,eu.JQ)(new Uint8Array(function(e,t){var r=[];if(rr(e)&&t&&rr(e)){for(var i=0,a=e.length;i1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/check_push",r5(r5(r5(r5(r5(r5(r5({user_id:t},r.messageID?{message_id:r.messageID}:{}),r.apnTemplate?{apn_template:r.apnTemplate}:{}),r.firebaseTemplate?{firebase_template:r.firebaseTemplate}:{}),r.firebaseDataTemplate?{firebase_data_template:r.firebaseDataTemplate}:{}),r.skipDevices?{skip_devices:!0}:{}),r.pushProviderName?{push_provider_name:r.pushProviderName}:{}),r.pushProviderType?{push_provider_type:r.pushProviderType}:{}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)})},{key:"testSQSSettings",value:(s=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post(this.baseURL+"/check_sqs",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return s.apply(this,arguments)})},{key:"testSNSSettings",value:(l=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post(this.baseURL+"/check_sns",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return l.apply(this,arguments)})},{key:"setGuestUser",value:(u=e_()(eD().mark(function e(t){var r,i,a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.anonymous=!0,e.prev=1,e.next=4,this.post(this.baseURL+"/guest",{user:t});case 4:r=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),this.anonymous=!1,e.t0;case 11:return this.anonymous=!1,(i=r.user).created_at,i.updated_at,i.last_active,i.online,a=eg()(i,r1),e.next=15,this.connectUser(a,r.access_token);case 15:return e.abrupt("return",e.sent);case 16:case"end":return e.stop()}},e,this,[[1,7]])})),function(e){return u.apply(this,arguments)})},{key:"createToken",value:function(e,t,r){if(null==this.secret)throw Error("tokens can only be created server-side using the API Secret");var i={};return t&&(i.exp=t),r&&(i.iat=r),rB(this.secret,e,i,{})}},{key:"on",value:function(e,t){var r=this,i=t?e:"all",a=t||e;return i in this.listeners||(this.listeners[i]=[]),this.logger("info","Attaching listener for ".concat(i," event"),{tags:["event","client"]}),this.listeners[i].push(a),{unsubscribe:function(){r.logger("info","Removing listener for ".concat(i," event"),{tags:["event","client"]}),r.listeners[i]=r.listeners[i].filter(function(e){return e!==a})}}}},{key:"off",value:function(e,t){var r=t?e:"all",i=t||e;r in this.listeners||(this.listeners[r]=[]),this.logger("info","Removing listener for ".concat(r," event"),{tags:["event","client"]}),this.listeners[r]=this.listeners[r].filter(function(e){return e!==i})}},{key:"_logApiRequest",value:function(e,t,r,i){this.logger("info","client: ".concat(e," - Request - ").concat(t),{tags:["api","api_request","client"],url:t,payload:r,config:i})}},{key:"_logApiResponse",value:function(e,t,r){this.logger("info","client:".concat(e," - Response - url: ").concat(t," > status ").concat(r.status),{tags:["api","api_response","client"],url:t,response:r})}},{key:"_logApiError",value:function(e,t,r){this.logger("error","client:".concat(e," - Error - url: ").concat(t),{tags:["api","api_response","client"],url:t,error:r})}},{key:"get",value:function(e,t){return this.doAxiosRequest("get",e,null,{params:t})}},{key:"put",value:function(e,t){return this.doAxiosRequest("put",e,t)}},{key:"post",value:function(e,t){return this.doAxiosRequest("post",e,t)}},{key:"patch",value:function(e,t){return this.doAxiosRequest("patch",e,t)}},{key:"delete",value:function(e,t){return this.doAxiosRequest("delete",e,null,{params:t})}},{key:"sendFile",value:function(e,t,r,i,a){var o,s,l,u,d=(o=t,s=r,l=i||"multipart/form-data",u=new(to()),null!==o&&"object"===eh()(o)&&(o.readable||"function"==typeof o._read)||null!=o&&null!=o.constructor&&"function"==typeof o.constructor.isBuffer&&o.constructor.isBuffer(o)?s?u.append("file",o,s):u.append("file",o):u.append("file",{uri:o,name:s||o.split("/").reverse()[0],contentType:l||void 0,type:l||void 0}),u);return null!=a&&d.append("user",JSON.stringify(a)),this.doAxiosRequest("postForm",e,d,{headers:d.getHeaders?d.getHeaders():{},config:{timeout:0,maxContentLength:1/0,maxBodyLength:1/0}})}},{key:"errorFromResponse",value:function(e){var t;return t=new rK("StreamChat error HTTP code: ".concat(e.status)),e.data&&e.data.code&&((t=Error("StreamChat error code ".concat(e.data.code,": ").concat(e.data.message))).code=e.data.code),t.response=e,t.status=e.status,t}},{key:"handleResponse",value:function(e){var t=e.data;if(!e.status||e.status<200||300<=e.status)throw this.errorFromResponse(e);return t}},{key:"_handleClientEvent",value:function(e){var t,r,i,a=this,o=[];return this.logger("info","client:_handleClientEvent - Received event of type { ".concat(e.type," }"),{tags:["event","client"],event:e}),("user.presence.changed"===e.type||"user.updated"===e.type||"user.deleted"===e.type)&&this._handleUserEvent(e),"health.check"===e.type&&e.me&&(this.user=e.me,this.state.updateUser(e.me),this.mutedChannels=e.me.channel_mutes,this.mutedUsers=e.me.mutes),e.channel&&"notification.message_new"===e.type&&this._addChannelConfig(e.channel),"notification.channel_mutes_updated"===e.type&&null!==(r=e.me)&&void 0!==r&&r.channel_mutes&&(this.mutedChannels=e.me.channel_mutes),"notification.mutes_updated"===e.type&&null!==(i=e.me)&&void 0!==i&&i.mutes&&(this.mutedUsers=e.me.mutes),"notification.mark_read"===e.type&&0===e.unread_channels&&Object.keys(this.activeChannels).forEach(function(e){return a.activeChannels[e].state.unreadCount=0}),("channel.deleted"===e.type||"notification.channel_deleted"===e.type)&&e.cid&&(this.state.deleteAllChannelReference(e.cid),null===(t=this.activeChannels[e.cid])||void 0===t||t._disconnect(),o.push(function(){e.cid&&delete a.activeChannels[e.cid]})),o}},{key:"_muteStatus",value:function(e){for(var t,r=0;rnew Date().getTime(),createdAt:a.created_at?new Date(a.created_at):new Date,expiresAt:a.expires?new Date(a.expires):null};break}}return t||{muted:!1,createdAt:null,expiresAt:null}}},{key:"connect",value:(d=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!this.userID||!this._user)){e.next=2;break}throw Error("Call connectUser or connectAnonymousUser before starting the connection");case 2:if(this.wsBaseURL){e.next=4;break}throw Error("Websocket base url not set");case 4:if(this.clientID){e.next=6;break}throw Error("clientID is not set");case 6:if(!this.wsConnection&&(this.options.warmUp||this.options.enableInsights)&&this._sayHi(),this.options.wsConnection&&this.node?(this.options.wsConnection.setClient(this),this.wsConnection=this.options.wsConnection):this.wsConnection=new rI({client:this}),e.prev=8,!this.wsFallback){e.next=13;break}return e.next=12,this.wsFallback.connect();case 12:case 15:case 28:return e.abrupt("return",e.sent);case 13:return e.next=15,this.wsConnection.connect(this.options.enableWSFallback?this.defaultWSTimeoutWithFallback:this.defaultWSTimeout);case 18:if(e.prev=18,e.t0=e.catch(8),!(this.options.enableWSFallback&&function(e){if("boolean"==typeof e.isWSFailure)return e.isWSFailure;try{return JSON.parse(e.message).isWSFailure}catch(e){return!1}}(e.t0)&&function(){var e="undefined"!=typeof navigator?navigator:void 0;return e?"boolean"!=typeof e.onLine||e.onLine:(console.warn("isOnline failed to access window.navigator and assume browser is online"),!0)}())){e.next=29;break}return this.logger("info","client:connect() - WS failed, fallback to longpoll",{tags:["connection","client"]}),this.dispatchEvent({type:"transport.changed",mode:"longpoll"}),this.wsConnection._destroyCurrentWSConnection(),this.wsConnection.disconnect().then(),this.wsFallback=new r$({client:this}),e.next=28,this.wsFallback.connect();case 29:throw e.t0;case 30:case"end":return e.stop()}},e,this,[[8,18]])})),function(){return d.apply(this,arguments)})},{key:"_sayHi",value:function(){var e=this,t=rm();this.doAxiosRequest("get",this.baseURL+"/hi",null,{headers:{"x-client-request-id":t}}).catch(function(r){e.options.enableInsights&&rM("http_hi_failed",{api_key:e.key,err:r,client_request_id:t})})}},{key:"queryUsers",value:(p=e_()(eD().mark(function e(t){var r,i,a,o,s=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:[],i=s.length>2&&void 0!==s[2]?s[2]:{},a={presence:!1},e.next=5,this.wsPromise;case 5:return this._hasConnectionID()||(a.presence=!1),e.next=8,this.get(this.baseURL+"/users",{payload:r5(r5({filter_conditions:t,sort:rp(r)},a),i)});case 8:return o=e.sent,this.state.updateUsers(o.users),e.abrupt("return",o);case 11:case"end":return e.stop()}},e,this)})),function(e){return p.apply(this,arguments)})},{key:"queryBannedUsers",value:(f=e_()(eD().mark(function e(){var t,r,i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},r=a.length>1&&void 0!==a[1]?a[1]:[],i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=5,this.get(this.baseURL+"/query_banned_users",{payload:r5({filter_conditions:t,sort:rp(r)},i)});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return f.apply(this,arguments)})},{key:"queryMessageFlags",value:(m=e_()(eD().mark(function e(){var t,r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=4,this.get(this.baseURL+"/moderation/flags/message",{payload:r5({filter_conditions:t},r)});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return m.apply(this,arguments)})},{key:"queryChannels",value:(g=e_()(eD().mark(function e(t){var r,i,a,o,s,l,u=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=u.length>1&&void 0!==u[1]?u[1]:[],i=u.length>2&&void 0!==u[2]?u[2]:{},a=u.length>3&&void 0!==u[3]?u[3]:{},o={state:!0,watch:!0,presence:!1},e.next=6,this.wsPromise;case 6:return this._hasConnectionID()||(o.watch=!1),s=r5(r5({filter_conditions:t,sort:rp(r)},o),i),e.next=10,this.post(this.baseURL+"/channels",s);case 10:return l=e.sent,this.dispatchEvent({type:"channels.queried",queriedChannels:{channels:l.channels,isLatestMessageSet:!0}}),e.abrupt("return",this.hydrateActiveChannels(l.channels,a));case 13:case"end":return e.stop()}},e,this)})),function(e){return g.apply(this,arguments)})},{key:"queryReactions",value:(v=e_()(eD().mark(function e(t,r){var i,a,o,s=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.length>2&&void 0!==s[2]?s[2]:[],a=s.length>3&&void 0!==s[3]?s[3]:{},e.next=4,this.wsPromise;case 4:return o=r5({filter:r,sort:rp(i)},a),e.next=7,this.post(this.baseURL+"/messages/"+t+"/reactions",o);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(e,t){return v.apply(this,arguments)})},{key:"hydrateActiveChannels",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.skipInitialization,a=r.offlineMode,o=void 0!==a&&a,s=r3(t);try{for(s.s();!(e=s.n()).done;){var l=e.value;this._addChannelConfig(l.channel)}}catch(e){s.e(e)}finally{s.f()}var u,d=[],p=r3(t);try{for(p.s();!(u=p.n()).done;){var f=u.value,m=this.channel(f.channel.type,f.channel.id);m.data=f.channel,m.offlineMode=o,m.initialized=!o,void 0===i?m._initializeState(f,"latest"):i.includes(f.channel.id)||(m.state.clearMessages(),m._initializeState(f,"latest")),d.push(m)}}catch(e){p.e(e)}finally{p.f()}return d}},{key:"search",value:(b=e_()(eD().mark(function e(t,r){var i,a,o=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((i=o.length>2&&void 0!==o[2]?o[2]:{}).offset&&i.next)){e.next=3;break}throw Error("Cannot specify offset with next");case 3:if(a=r5(r5({filter_conditions:t},i),{},{sort:i.sort?rp(i.sort):void 0}),"string"!=typeof r){e.next=8;break}a.query=r,e.next=13;break;case 8:if("object"!==eh()(r)){e.next=12;break}a.message_filter_conditions=r,e.next=13;break;case 12:throw Error("Invalid type ".concat(eh()(r)," for query parameter"));case 13:return e.next=15,this.wsPromise;case 15:return e.next=17,this.get(this.baseURL+"/search",{payload:a});case 17:return e.abrupt("return",e.sent);case 18:case"end":return e.stop()}},e,this)})),function(e,t){return b.apply(this,arguments)})},{key:"setLocalDevice",value:function(e){var t,r,i;if(null!==(t=this.wsConnection)&&void 0!==t&&t.isConnecting&&this.wsPromise||(null!==(r=this.wsConnection)&&void 0!==r&&r.isHealthy||null!==(i=this.wsFallback)&&void 0!==i&&i.isHealthy())&&this._hasConnectionID())throw Error("you can only set device before opening a websocket connection");this.options.device=e}},{key:"addDevice",value:(y=e_()(eD().mark(function e(t,r,i,a){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/devices",r5(r5({id:t,push_provider:r},null!=i?{user_id:i}:{}),null!=a?{push_provider_name:a}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,r,i){return y.apply(this,arguments)})},{key:"getDevices",value:(_=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/devices",t?{user_id:t}:{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return _.apply(this,arguments)})},{key:"getUnreadCount",value:(w=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/unread",t?{user_id:t}:{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return w.apply(this,arguments)})},{key:"getUnreadCountBatch",value:(k=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/unread_batch",{user_ids:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return k.apply(this,arguments)})},{key:"removeDevice",value:(x=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/devices",r5({id:t},r?{user_id:r}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return x.apply(this,arguments)})},{key:"getRateLimits",value:(E=e_()(eD().mark(function e(t){var r,i,a,o,s,l;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=(r=t||{}).serverSide,a=r.web,o=r.android,s=r.ios,l=r.endpoints,e.abrupt("return",this.get(this.baseURL+"/rate_limits",{server_side:i,web:a,android:o,ios:s,endpoints:l?l.join(","):void 0}));case 2:case"end":return e.stop()}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"_addChannelConfig",value:function(e){var t=e.cid,r=e.config;this.configs[t]=r}},{key:"channel",value:function(e,t){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.userID&&!this._isUsingServerAuth())throw Error("Call connectUser or connectAnonymousUser before creating a channel");if(~e.indexOf(":"))throw Error("Invalid channel group ".concat(e,", can't contain the : character"));return t&&"object"===eh()(t)?this.getChannelByMembers(e,t):!t&&"object"===eh()(i)&&null!==(r=i.members)&&void 0!==r&&r.length?this.getChannelByMembers(e,i):t?this.getChannelById(e,t,i):new rD(this,e,void 0,i)}},{key:"partialUpdateUser",value:(F=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.partialUpdateUsers([t]);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return F.apply(this,arguments)})},{key:"upsertUsers",value:(C=e_()(eD().mark(function e(t){var r,i,a,o;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r={},i=r3(t),e.prev=2,i.s();case 4:if((a=i.n()).done){e.next=11;break}if((o=a.value).id){e.next=8;break}throw Error("User ID is required when updating a user");case 8:r[o.id]=o;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),i.e(e.t0);case 16:return e.prev=16,i.f(),e.finish(16);case 19:return e.next=21,this.post(this.baseURL+"/users",{users:r});case 21:return e.abrupt("return",e.sent);case 22:case"end":return e.stop()}},e,this,[[2,13,16,19]])})),function(e){return C.apply(this,arguments)})},{key:"upsertUser",value:function(e){return this.upsertUsers([e])}},{key:"partialUpdateUsers",value:(S=e_()(eD().mark(function e(t){var r,i;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=r3(t),e.prev=1,r.s();case 3:if((i=r.n()).done){e.next=9;break}if(i.value.id){e.next=7;break}throw Error("User ID is required when updating a user");case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),r.e(e.t0);case 14:return e.prev=14,r.f(),e.finish(14);case 17:return e.next=19,this.patch(this.baseURL+"/users",{users:t});case 19:return e.abrupt("return",e.sent);case 20:case"end":return e.stop()}},e,this,[[1,11,14,17]])})),function(e){return S.apply(this,arguments)})},{key:"deleteUser",value:(D=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/users/".concat(t),r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return D.apply(this,arguments)})},{key:"restoreUsers",value:(j=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/restore",{user_ids:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return j.apply(this,arguments)})},{key:"reactivateUser",value:(T=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/".concat(t,"/reactivate"),r5({},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return T.apply(this,arguments)})},{key:"reactivateUsers",value:(O=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/reactivate",r5({user_ids:t},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return O.apply(this,arguments)})},{key:"deactivateUser",value:(P=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/".concat(t,"/deactivate"),r5({},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return P.apply(this,arguments)})},{key:"deactivateUsers",value:(R=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/deactivate",r5({user_ids:t},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return R.apply(this,arguments)})},{key:"exportUser",value:(M=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/users/".concat(t,"/export"),r5({},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return M.apply(this,arguments)})},{key:"banUser",value:(L=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/moderation/ban",r5({target_user_id:t},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return L.apply(this,arguments)})},{key:"unbanUser",value:(A=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/moderation/ban",r5({target_user_id:t},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return A.apply(this,arguments)})},{key:"shadowBan",value:(I=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.banUser(t,r5({shadow:!0},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return I.apply(this,arguments)})},{key:"removeShadowBan",value:(N=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.unbanUser(t,r5({shadow:!0},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return N.apply(this,arguments)})},{key:"blockUser",value:(B=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/block",r5({blocked_user_id:t},r?{user_id:r}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return B.apply(this,arguments)})},{key:"getBlockedUsers",value:(U=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/users/block",r5({},t?{user_id:t}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return U.apply(this,arguments)})},{key:"unBlockUser",value:(z=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/unblock",r5({blocked_user_id:t},r?{user_id:r}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return z.apply(this,arguments)})},{key:"muteUser",value:(H=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this.post(this.baseURL+"/moderation/mute",r5(r5({target_id:t},r?{user_id:r}:{}),i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return H.apply(this,arguments)})},{key:"unmuteUser",value:(q=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/moderation/unmute",r5({target_id:t},r?{user_id:r}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return q.apply(this,arguments)})},{key:"userMuteStatus",value:function(e){if(!this.user||!this.wsPromise)throw Error("Make sure to await connectUser() first.");for(var t=0;t1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/flag",r5({target_message_id:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return V.apply(this,arguments)})},{key:"flagUser",value:(W=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/flag",r5({target_user_id:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return W.apply(this,arguments)})},{key:"unflagMessage",value:($=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unflag",r5({target_message_id:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return $.apply(this,arguments)})},{key:"unflagUser",value:(G=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unflag",r5({target_user_id:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return G.apply(this,arguments)})},{key:"getCallToken",value:(Y=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/calls/".concat(t),r5({},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return Y.apply(this,arguments)})},{key:"_queryFlags",value:(K=e_()(eD().mark(function e(){var t,r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=4,this.post(this.baseURL+"/moderation/flags",r5({filter_conditions:t},r));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return K.apply(this,arguments)})},{key:"_queryFlagReports",value:(Z=e_()(eD().mark(function e(){var t,r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=4,this.post(this.baseURL+"/moderation/reports",r5({filter_conditions:t},r));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return Z.apply(this,arguments)})},{key:"_reviewFlagReport",value:(J=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this.patch(this.baseURL+"/moderation/reports/".concat(t),r5({review_result:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return J.apply(this,arguments)})},{key:"unblockMessage",value:(X=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unblock_message",r5({target_message_id:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return X.apply(this,arguments)})},{key:"markChannelsRead",value:(Q=e_()(eD().mark(function e(){var t,r=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post(this.baseURL+"/channels/read",r5({},t));case 3:case"end":return e.stop()}},e,this)})),function(){return Q.apply(this,arguments)})},{key:"createCommand",value:function(e){return this.post(this.baseURL+"/commands",e)}},{key:"getCommand",value:function(e){return this.get(this.baseURL+"/commands/".concat(e))}},{key:"updateCommand",value:function(e,t){return this.put(this.baseURL+"/commands/".concat(e),t)}},{key:"deleteCommand",value:function(e){return this.delete(this.baseURL+"/commands/".concat(e))}},{key:"listCommands",value:function(){return this.get(this.baseURL+"/commands")}},{key:"createChannelType",value:function(e){var t=ep()({},{commands:["all"]},e);return this.post(this.baseURL+"/channeltypes",t)}},{key:"getChannelType",value:function(e){return this.get(this.baseURL+"/channeltypes/".concat(e))}},{key:"updateChannelType",value:function(e,t){return this.put(this.baseURL+"/channeltypes/".concat(e),t)}},{key:"deleteChannelType",value:function(e){return this.delete(this.baseURL+"/channeltypes/".concat(e))}},{key:"listChannelTypes",value:function(){return this.get(this.baseURL+"/channeltypes")}},{key:"translateMessage",value:(ee=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/translate"),{language:r});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ee.apply(this,arguments)})},{key:"_normalizeExpiration",value:function(e){var t=null;if("number"==typeof e){var r=new Date;r.setSeconds(r.getSeconds()+e),t=r.toISOString()}else r8(e)?t=e:e instanceof Date&&(t=e.toISOString());return t}},{key:"_validateAndGetMessageId",value:function(e,t){var r;if("string"==typeof e)r=e;else{if(!e.id)throw Error(t);r=e.id}return r}},{key:"pinMessage",value:function(e,t,r,i){var a=this._validateAndGetMessageId(e,"Please specify the message id when calling unpinMessage");return this.partialUpdateMessage(a,{set:{pinned:!0,pin_expires:this._normalizeExpiration(t),pinned_at:this._normalizeExpiration(i)}},r)}},{key:"unpinMessage",value:function(e,t){var r=this._validateAndGetMessageId(e,"Please specify the message id when calling unpinMessage");return this.partialUpdateMessage(r,{set:{pinned:!1}},t)}},{key:"updateMessage",value:(et=e_()(eD().mark(function e(t,r,i){var a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.id){e.next=2;break}throw Error("Please specify the message id when calling updateMessage");case 2:return a=ep()({},t),delete a.id,["command","created_at","html","latest_reactions","own_reactions","quoted_message","reaction_counts","reply_count","type","updated_at","user","__html"].forEach(function(e){null!=a[e]&&delete a[e]}),null!=r&&(r8(r)?a.user_id=r:a.user={id:r.id}),Array.isArray(a.mentioned_users)&&!r8(a.mentioned_users[0])&&(a.mentioned_users=a.mentioned_users.map(function(e){return e.id})),e.next=10,this.post(this.baseURL+"/messages/".concat(t.id),r5({message:a},i));case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}},e,this)})),function(e,t,r){return et.apply(this,arguments)})},{key:"partialUpdateMessage",value:(en=e_()(eD().mark(function e(t,r,i,a){var o;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Please specify the message id when calling partialUpdateMessage");case 2:return o=i,null!=i&&r8(i)&&(o={id:i}),e.next=6,this.put(this.baseURL+"/messages/".concat(t),r5(r5(r5({},r),a),{},{user:o}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e,t,r,i){return en.apply(this,arguments)})},{key:"deleteMessage",value:(er=e_()(eD().mark(function e(t,r){var i;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i={},r&&(i={hard:!0}),e.next=4,this.delete(this.baseURL+"/messages/".concat(t),i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return er.apply(this,arguments)})},{key:"undeleteMessage",value:(ei=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/undelete"),{undeleted_by:r});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ei.apply(this,arguments)})},{key:"getMessage",value:(ea=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/messages/".concat(encodeURIComponent(t)),r5({},r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ea.apply(this,arguments)})},{key:"queryThreads",value:(eo=e_()(eD().mark(function e(t){var r,i,a=this;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=r5({limit:10,participant_limit:10,reply_limit:3,watch:!0},t),e.next=3,this.post(this.baseURL+"/threads",r);case 3:return i=e.sent,e.abrupt("return",{threads:i.threads.map(function(e){return new r0(a,e)}),next:i.next});case 5:case"end":return e.stop()}},e,this)})),function(e){return eo.apply(this,arguments)})},{key:"getThread",value:(es=e_()(eD().mark(function e(t){var r,i,a,o=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},t){e.next=3;break}throw Error("Please specify the message id when calling partialUpdateThread");case 3:return i=r5({participant_limit:100,reply_limit:3,watch:!0},r),e.next=6,this.get(this.baseURL+"/threads/".concat(t),i);case 6:return a=e.sent,e.abrupt("return",new r0(this,a.thread));case 8:case"end":return e.stop()}},e,this)})),function(e){return es.apply(this,arguments)})},{key:"partialUpdateThread",value:(el=e_()(eD().mark(function e(t,r){var i,a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Please specify the message id when calling partialUpdateThread");case 2:i=["created_at","id","last_message_at","type","updated_at","user","reply_count","participants","channel"],e.t0=eD().keys(r5(r5({},r.set),r.unset));case 4:if((e.t1=e.t0()).done){e.next=10;break}if(a=e.t1.value,!i.includes(a)){e.next=8;break}throw Error("You cannot set ".concat(a," field on Thread object. ").concat(a," is reserved for server-side use. Please omit ").concat(a," from your set object."));case 8:e.next=4;break;case 10:return e.next=12,this.patch(this.baseURL+"/threads/".concat(t),r);case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}},e,this)})),function(e,t){return el.apply(this,arguments)})},{key:"getUserAgent",value:function(){return this.userAgent||"stream-chat-javascript-client-".concat(this.node?"node":"browser","-","8.37.0")}},{key:"setUserAgent",value:function(e){this.userAgent=e}},{key:"_enrichAxiosOptions",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{params:{},headers:{},config:{}},r=this._getToken(),i=null;null!==this.nextRequestAbortController&&(i=this.nextRequestAbortController.signal,this.nextRequestAbortController=null),null!==(e=t.headers)&&void 0!==e&&e["x-client-request-id"]||(t.headers=r5(r5({},t.headers),{},{"x-client-request-id":rm()}));var a=this.options.axiosRequestConfig||{},o=a.params,s=a.headers,l=eg()(a,r2);return r5(r5(r5({params:r5(r5({user_id:this.userID,connection_id:this._getConnectionID(),api_key:this.key},t.params),o||{}),headers:r5(r5(r5({},r?{Authorization:r}:void 0),{},{"stream-auth-type":this.getAuthType(),"X-Stream-Client":this.getUserAgent()},t.headers),s||{})},i?{signal:i}:{}),t.config),l||{})}},{key:"_getToken",value:function(){return!this.tokenManager||this.anonymous?null:this.tokenManager.getToken()}},{key:"_startCleaning",value:function(){var e=this;null==this.cleaningIntervalRef&&(this.cleaningIntervalRef=setInterval(function(){for(var t=0,r=Object.values(e.activeChannels);t2&&void 0!==arguments[2]?arguments[2]:{};return this.post("".concat(this.baseURL,"/sync"),r5({channel_cids:e,last_sync_at:t},r))}},{key:"sendUserCustomEvent",value:(ec=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post("".concat(this.baseURL,"/users/").concat(t,"/event"),{event:r});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ec.apply(this,arguments)})},{key:"createBlockList",value:function(e){return this.post("".concat(this.baseURL,"/blocklists"),e)}},{key:"listBlockLists",value:function(){return this.get("".concat(this.baseURL,"/blocklists"))}},{key:"getBlockList",value:function(e){return this.get("".concat(this.baseURL,"/blocklists/").concat(e))}},{key:"updateBlockList",value:function(e,t){return this.put("".concat(this.baseURL,"/blocklists/").concat(e),t)}},{key:"deleteBlockList",value:function(e){return this.delete("".concat(this.baseURL,"/blocklists/").concat(e))}},{key:"exportChannels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=r5({channels:e},t);return this.post("".concat(this.baseURL,"/export_channels"),r)}},{key:"exportUsers",value:function(e){return this.post("".concat(this.baseURL,"/export/users"),e)}},{key:"exportChannel",value:function(e,t){return this.exportChannels([e],t)}},{key:"getExportChannelStatus",value:function(e){return this.get("".concat(this.baseURL,"/export_channels/").concat(e))}},{key:"campaign",value:function(e,t){return e&&"object"===eh()(e)?new rG(this,null,e):new rG(this,e,t)}},{key:"segment",value:function(e,t,r){return"string"==typeof t?new rY(this,e,t,r):new rY(this,e,null,t)}},{key:"validateServerSideAuth",value:function(){if(!this.secret)throw Error("Campaigns is a server-side only feature. Please initialize the client with a secret to use this feature.")}},{key:"createSegment",value:(ed=e_()(eD().mark(function e(t,r,i){var a;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),a=r5({id:r,type:t},i),e.abrupt("return",this.post(this.baseURL+"/segments",a));case 3:case"end":return e.stop()}},e,this)})),function(e,t,r){return ed.apply(this,arguments)})},{key:"createUserSegment",value:(ef=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.createSegment("user",t,r));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return ef.apply(this,arguments)})},{key:"createChannelSegment",value:(em=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.createSegment("channel",t,r));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return em.apply(this,arguments)})},{key:"getSegment",value:(ev=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/segments/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return ev.apply(this,arguments)})},{key:"updateSegment",value:(ey=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.put(this.baseURL+"/segments/".concat(t),r));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return ey.apply(this,arguments)})},{key:"addSegmentTargets",value:(ew=e_()(eD().mark(function e(t,r){var i;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),i={target_ids:r},e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/addtargets"),i));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ew.apply(this,arguments)})},{key:"querySegmentTargets",value:(ex=e_()(eD().mark(function e(t){var r,i,a,o=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},i=o.length>2&&void 0!==o[2]?o[2]:[],a=o.length>3&&void 0!==o[3]?o[3]:{},this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/targets/query"),r5({filter:r||{},sort:i||[]},a)));case 5:case"end":return e.stop()}},e,this)})),function(e){return ex.apply(this,arguments)})},{key:"removeSegmentTargets",value:(eF=e_()(eD().mark(function e(t,r){var i;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),i={target_ids:r},e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/deletetargets"),i));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eF.apply(this,arguments)})},{key:"querySegments",value:(eS=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/segments/query",r5({filter:t,sort:r},i)));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eS.apply(this,arguments)})},{key:"deleteSegment",value:(ej=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.delete(this.baseURL+"/segments/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return ej.apply(this,arguments)})},{key:"segmentTargetExists",value:(eT=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/segments/".concat(t,"/target/").concat(r)));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eT.apply(this,arguments)})},{key:"createCampaign",value:(eO=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns",r5({},t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eO.apply(this,arguments)})},{key:"getCampaign",value:(eP=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/campaigns/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eP.apply(this,arguments)})},{key:"startCampaign",value:(eR=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns/".concat(t,"/start"),{scheduled_for:null==r?void 0:r.scheduledFor,stop_at:null==r?void 0:r.stopAt}));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eR.apply(this,arguments)})},{key:"queryCampaigns",value:(eM=e_()(eD().mark(function e(t,r,i){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.next=3,this.post(this.baseURL+"/campaigns/query",r5({filter:t,sort:r},i||{}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t,r){return eM.apply(this,arguments)})},{key:"updateCampaign",value:(eL=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.put(this.baseURL+"/campaigns/".concat(t),r));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eL.apply(this,arguments)})},{key:"deleteCampaign",value:(eA=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.delete(this.baseURL+"/campaigns/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eA.apply(this,arguments)})},{key:"stopCampaign",value:(eI=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns/".concat(t,"/stop")));case 2:case"end":return e.stop()}},e,this)})),function(e){return eI.apply(this,arguments)})},{key:"enrichURL",value:(eN=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.get(this.baseURL+"/og",{url:t}));case 1:case"end":return e.stop()}},e,this)})),function(e){return eN.apply(this,arguments)})},{key:"getTask",value:(eB=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.get("".concat(this.baseURL,"/tasks/").concat(t)));case 1:case"end":return e.stop()}},e,this)})),function(e){return eB.apply(this,arguments)})},{key:"deleteChannels",value:(eU=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.post(this.baseURL+"/channels/delete",r5({cids:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eU.apply(this,arguments)})},{key:"deleteUsers",value:(ez=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==(r=i.length>1&&void 0!==i[1]?i[1]:{}).user&&!["soft","hard","pruning"].includes(r.user))){e.next=3;break}throw Error("Invalid delete user options. user must be one of [soft hard pruning]");case 3:if(!(void 0!==r.conversations&&!["soft","hard"].includes(r.conversations))){e.next=5;break}throw Error("Invalid delete user options. conversations must be one of [soft hard]");case 5:if(!(void 0!==r.messages&&!["soft","hard","pruning"].includes(r.messages))){e.next=7;break}throw Error("Invalid delete user options. messages must be one of [soft hard pruning]");case 7:return e.next=9,this.post(this.baseURL+"/users/delete",r5({user_ids:t},r));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}},e,this)})),function(e){return ez.apply(this,arguments)})},{key:"_createImportURL",value:(eH=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/import_urls",{filename:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eH.apply(this,arguments)})},{key:"_createImport",value:(eq=e_()(eD().mark(function e(t){var r,i=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{mode:"upsert"},e.next=3,this.post(this.baseURL+"/imports",r5({path:t},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eq.apply(this,arguments)})},{key:"_getImport",value:(eV=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/imports/".concat(t));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eV.apply(this,arguments)})},{key:"_listImports",value:(eW=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/imports",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eW.apply(this,arguments)})},{key:"upsertPushProvider",value:(e$=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/push_providers",{push_provider:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return e$.apply(this,arguments)})},{key:"deletePushProvider",value:(eG=e_()(eD().mark(function e(t){var r,i;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.type,i=t.name,e.next=3,this.delete(this.baseURL+"/push_providers/".concat(r,"/").concat(i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eG.apply(this,arguments)})},{key:"listPushProviders",value:(eY=e_()(eD().mark(function e(){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/push_providers");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(){return eY.apply(this,arguments)})},{key:"createAbortControllerForNextRequest",value:function(){return this.nextRequestAbortController=new AbortController}},{key:"commitMessage",value:(eK=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/commit"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eK.apply(this,arguments)})},{key:"createPoll",value:(eZ=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/polls",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eZ.apply(this,arguments)})},{key:"getPoll",value:(eJ=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/polls/".concat(t),r5({},r?{user_id:r}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eJ.apply(this,arguments)})},{key:"updatePoll",value:(eX=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.put(this.baseURL+"/polls",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return eX.apply(this,arguments)})},{key:"partialUpdatePoll",value:(eQ=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.patch(this.baseURL+"/polls/".concat(t),r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eQ.apply(this,arguments)})},{key:"deletePoll",value:(e0=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/polls/".concat(t),r5({},r?{user_id:r}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e0.apply(this,arguments)})},{key:"closePoll",value:(e1=e_()(eD().mark(function e(t){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.partialUpdatePoll(t,{set:{is_closed:!0}}));case 1:case"end":return e.stop()}},e,this)})),function(e){return e1.apply(this,arguments)})},{key:"createPollOption",value:(e2=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/polls/".concat(t,"/options"),r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e2.apply(this,arguments)})},{key:"getPollOption",value:(e3=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/polls/".concat(t,"/options/").concat(r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e3.apply(this,arguments)})},{key:"updatePollOption",value:(e4=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.put(this.baseURL+"/polls/".concat(t,"/options"),r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e4.apply(this,arguments)})},{key:"deletePollOption",value:(e6=e_()(eD().mark(function e(t,r){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/polls/".concat(t,"/options/").concat(r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e6.apply(this,arguments)})},{key:"castPollVote",value:(e5=e_()(eD().mark(function e(t,r,i){var a,o=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=o.length>3&&void 0!==o[3]?o[3]:{},e.next=3,this.post(this.baseURL+"/messages/".concat(t,"/polls/").concat(r,"/vote"),r5({vote:i},a));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t,r){return e5.apply(this,arguments)})},{key:"addPollAnswer",value:(e8=e_()(eD().mark(function e(t,r,i){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.castPollVote(t,r,{answer_text:i}));case 1:case"end":return e.stop()}},e,this)})),function(e,t,r){return e8.apply(this,arguments)})},{key:"removePollVote",value:(e9=e_()(eD().mark(function e(t,r,i){return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/messages/".concat(t,"/polls/").concat(r,"/vote/").concat(i));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,r){return e9.apply(this,arguments)})},{key:"queryPolls",value:(e7=e_()(eD().mark(function e(){var t,r,i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},r=a.length>1&&void 0!==a[1]?a[1]:[],i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=5,this.post(this.baseURL+"/polls/query",r5({filter:t,sort:rp(r)},i));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return e7.apply(this,arguments)})},{key:"queryPollVotes",value:(te=e_()(eD().mark(function e(t){var r,i,a,o=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},i=o.length>2&&void 0!==o[2]?o[2]:[],a=o.length>3&&void 0!==o[3]?o[3]:{},e.next=5,this.post(this.baseURL+"/polls/".concat(t,"/votes"),r5({filter:r,sort:rp(i)},a));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(e){return te.apply(this,arguments)})},{key:"queryMessageHistory",value:(tt=e_()(eD().mark(function e(){var t,r,i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},r=a.length>1&&void 0!==a[1]?a[1]:[],i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=5,this.post(this.baseURL+"/messages/history",r5({filter:t,sort:rp(r)},i));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return tt.apply(this,arguments)})},{key:"updateFlags",value:(tn=e_()(eD().mark(function e(t,r){var i,a=arguments;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},e.next=3,this.post(this.baseURL+"/automod/v1/moderation/update_flags",r5({message_ids:t,reviewed_by:r},i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return tn.apply(this,arguments)})}],[{key:"getInstance",value:function(e,t,r){return tr._instance||("string"==typeof t?tr._instance=new tr(e,t,r):tr._instance=new tr(e,t)),tr._instance}}]),tr}();eC()(r9,"_instance",void 0);var r7="Allow",ie=["*"],it=["*"],ir=function e(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ie,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:it,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:r7;ek()(this,e),eC()(this,"name",void 0),eC()(this,"action",void 0),eC()(this,"owner",void 0),eC()(this,"priority",void 0),eC()(this,"resources",void 0),eC()(this,"roles",void 0),this.name=t,this.action=s,this.owner=o,this.priority=r,this.resources=i,this.roles=a};new ir("Allow all",999,ie,it,!1,r7),new ir("Deny all",1,ie,it,!1,"Deny");var ii=function(e,t){return(ii=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ia(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ii(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var io=function(){return(io=Object.assign||function(e){for(var t,r=1,i=arguments.length;rt.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(r[i[a]]=e[i[a]]);return r}function il(e,t,r,i){return new(r||(r=Promise))(function(a,o){function s(e){try{u(i.next(e))}catch(e){o(e)}}function l(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?a(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,l)}u((i=i.apply(e,t||[])).next())})}function ic(e,t){var r,i,a,o,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(u){return function(l){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(s=0)),s;)try{if(r=1,i&&(a=2&l[0]?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,i=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!(a=(a=s.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){s=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function id(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s}function ip(e,t,r){if(r||2==arguments.length)for(var i,a=0,o=t.length;ae.length)&&(t=e.length);for(var r=0,i=Array(t);r1&&void 0!==arguments[1]?arguments[1]:{};ik(this,e),this.init(t,r)}return iF(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||iL,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),r=0;r1?t-1:0),i=1;i-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var s=i(o.shift());!e[s]&&r&&(e[s]=new r),e=Object.prototype.hasOwnProperty.call(e,s)?e[s]:{}}return a()?{}:{obj:e,k:i(o.shift())}}function iz(e,t,r){var i=iU(e,t,Object);i.obj[i.k]=r}function iH(e,t){var r=iU(e,t),i=r.obj,a=r.k;if(i)return i[a]}function iq(e,t,r){var i=iH(e,r);return void 0!==i?i:iH(t,r)}function iV(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var iW={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function i$(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return iW[e]}):e}var iG="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,iY=[" ",",","?","!",";"];function iK(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function iZ(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ik(this,i),t=r.call(this),iG&&iI.call(iC(t)),t.data=e||{},t.options=a,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return iF(i,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,o=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure,s=[e,t];r&&"string"!=typeof r&&(s=s.concat(r)),r&&"string"==typeof r&&(s=s.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(s=e.split("."));var l=iH(this.data,s);return l||!o||"string"!=typeof r?l:function e(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[r])return t[r];for(var a=r.split(i),o=t,s=0;ss+l;)l++,d=o[u=a.slice(s,s+l).join(i)];if(void 0===d)return;if(null===d)return null;if(r.endsWith(u)){if("string"==typeof d)return d;if(u&&"string"==typeof d[u])return d[u]}var p=a.slice(s+l).join(i);if(p)return e(d,p,i);return}o=o[a[s]]}return o}}(this.data&&this.data[e]&&this.data[e][t],r,a)}},{key:"addResource",value:function(e,t,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var s=[e,t];r&&(s=s.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(s=e.split("."),i=t,t=s[1]),this.addNamespaces(t),iz(this.data,s,i),a.silent||this.emit("added",e,t,r,i)}},{key:"addResources",value:function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in r)("string"==typeof r[a]||"[object Array]"===Object.prototype.toString.apply(r[a]))&&this.addResource(e,t,a,r[a],{silent:!0});i.silent||this.emit("added",e,t,r)}},{key:"addResourceBundle",value:function(e,t,r,i,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),i=r,r=t,t=s[1]),this.addNamespaces(t);var l=iH(this.data,s)||{};i?function e(t,r,i){for(var a in r)"__proto__"!==a&&"constructor"!==a&&(a in t?"string"==typeof t[a]||t[a]instanceof String||"string"==typeof r[a]||r[a]instanceof String?i&&(t[a]=r[a]):e(t[a],r[a],i):t[a]=r[a]);return t}(l,r,a):l=iZ(iZ({},l),r),iz(this.data,s,l),o.silent||this.emit("added",e,t,r)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?iZ(iZ({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),i}(iI),iX={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,r,i,a){var o=this;return e.forEach(function(e){o.processors[e]&&(t=o.processors[e].process(t,r,i,a))}),t}};function iQ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function i0(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return ik(this,i),t=r.call(this),iG&&iI.call(iC(t)),function(e,t,r){e.forEach(function(e){t[e]&&(r[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,iC(t)),t.options=a,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=iA.create("translator"),t}return iF(i,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var r=this.resolve(e,t);return r&&void 0!==r.res}},{key:"extractFromKey",value:function(e,t){var r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,r){t=t||"",r=r||"";var i=iY.filter(function(e){return 0>t.indexOf(e)&&0>r.indexOf(e)});if(0===i.length)return!0;var a=new RegExp("(".concat(i.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),o=!a.test(e);if(!o){var s=e.indexOf(r);s>0&&!a.test(e.substring(0,s))&&(o=!0)}return o}(e,r,i);if(o&&!s){var l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:a};var u=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),e=u.join(i)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var a=this;if("object"!==iw(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),u=l.key,d=l.namespaces,p=d[d.length-1],f=t.lng||this.language,m=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(m){var g=t.nsSeparator||this.options.nsSeparator;return o?(v.res="".concat(p).concat(g).concat(u),v):"".concat(p).concat(g).concat(u)}return o?(v.res=u,v):u}var v=this.resolve(e,t),b=v&&v.res,y=v&&v.usedKey||u,_=v&&v.exactUsedKey||u,w=Object.prototype.toString.apply(b),k=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,E="string"!=typeof b&&"boolean"!=typeof b&&"number"!=typeof b;if(x&&b&&E&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(w)&&!("string"==typeof k&&"[object Array]"===w)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var F=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,b,i0(i0({},t),{},{ns:d})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");return o?(v.res=F,v):F}if(s){var C="[object Array]"===w,S=C?[]:{},D=C?_:y;for(var j in b)if(Object.prototype.hasOwnProperty.call(b,j)){var T="".concat(D).concat(s).concat(j);S[j]=this.translate(T,i0(i0({},t),{joinArrays:!1,ns:d})),S[j]===T&&(S[j]=b[j])}b=S}}else if(x&&"string"==typeof k&&"[object Array]"===w)(b=b.join(k))&&(b=this.extendTranslation(b,e,t,r));else{var O=!1,P=!1,R=void 0!==t.count&&"string"!=typeof t.count,M=i.hasDefaultValue(t),L=R?this.pluralResolver.getSuffix(f,t.count,t):"",A=t["defaultValue".concat(L)]||t.defaultValue;!this.isValidLookup(b)&&M&&(O=!0,b=A),this.isValidLookup(b)||(P=!0,b=u);var I=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:b,N=M&&A!==b&&this.options.updateMissing;if(P||O||N){if(this.logger.log(N?"updateKey":"missingKey",f,p,u,N?A:b),s){var B=this.resolve(u,i0(i0({},t),{},{keySeparator:!1}));B&&B.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var U=[],z=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&z&&z[0])for(var H=0;H1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!s.isValidLookup(t)){var u=s.extractFromKey(e,l),d=u.key;r=d;var p=u.namespaces;s.options.fallbackNS&&(p=p.concat(s.options.fallbackNS));var f=void 0!==l.count&&"string"!=typeof l.count,m=f&&!l.ordinal&&0===l.count&&s.pluralResolver.shouldUseIntlApi(),g=void 0!==l.context&&("string"==typeof l.context||"number"==typeof l.context)&&""!==l.context,v=l.lngs?l.lngs:s.languageUtils.toResolveHierarchy(l.lng||s.language,l.fallbackLng);p.forEach(function(e){s.isValidLookup(t)||(o=e,!i1["".concat(v[0],"-").concat(e)]&&s.utils&&s.utils.hasLoadedNamespace&&!s.utils.hasLoadedNamespace(o)&&(i1["".concat(v[0],"-").concat(e)]=!0,s.logger.warn('key "'.concat(r,'" for languages "').concat(v.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(r){if(!s.isValidLookup(t)){a=r;var o,u=[d];if(s.i18nFormat&&s.i18nFormat.addLookupKeys)s.i18nFormat.addLookupKeys(u,d,r,e,l);else{f&&(p=s.pluralResolver.getSuffix(r,l.count,l));var p,v="".concat(s.options.pluralSeparator,"zero");if(f&&(u.push(d+p),m&&u.push(d+v)),g){var b="".concat(d).concat(s.options.contextSeparator).concat(l.context);u.push(b),f&&(u.push(b+p),m&&u.push(b+v))}}for(;o=u.pop();)s.isValidLookup(t)||(i=o,t=s.getResource(r,e,o,l))}}))})}}),{res:t,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,i):this.resourceStore.getResource(e,t,r,i)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}]),i}(iI);function i3(e){return e.charAt(0).toUpperCase()+e.slice(1)}var i4=function(){function e(t){ik(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=iA.create("languageUtils")}return iF(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(function(e){return e.toLowerCase()}):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=i3(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=i3(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=i3(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,r=this;return e?(e.forEach(function(e){if(!t){var i=r.formatLanguageCode(e);(!r.options.supportedLngs||r.isSupportedCode(i))&&(t=i)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var i=r.getLanguagePartFromCode(e);if(r.isSupportedCode(i))return t=i;t=r.options.supportedLngs.find(function(e){if(0===e.indexOf(i))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}},{key:"toResolveHierarchy",value:function(e,t){var r=this,i=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(r.isSupportedCode(e)?a.push(e):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),i.forEach(function(e){0>a.indexOf(e)&&o(r.formatLanguageCode(e))}),a}}]),e}(),i6=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],i5={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},i8=["v1","v2","v3"],i9={zero:0,one:1,two:2,few:3,many:4,other:5},i7=function(){function e(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ik(this,e),this.languageUtils=t,this.options=i,this.logger=iA.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},i6.forEach(function(e){e.lngs.forEach(function(t){r[t]={numbers:e.nr,plurals:i5[e.fc]}})}),r)}return iF(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getRule(e,r);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(e,t){return i9[e]-i9[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):i.numbers.map(function(i){return t.getSuffix(e,i,r)}):[]}},{key:"getSuffix",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(e,r);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(t)):this.getSuffixRetroCompatible(i,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var r=this,i=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[i];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!i8.includes(this.options.compatibilityJSON)}}]),e}();function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function at(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};ik(this,e),this.logger=iA.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return iF(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:i$,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?iV(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?iV(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?iV(t.nestingPrefix):t.nestingPrefixEscaped||iV("$t("),this.nestingSuffix=t.nestingSuffix?iV(t.nestingSuffix):t.nestingSuffixEscaped||iV(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(r,"g")}},{key:"interpolate",value:function(e,t,r,i){var a,o,s,l=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(e){return e.replace(/\$/g,"$$$$")}var p=function(e){if(0>e.indexOf(l.formatSeparator)){var a=iq(t,u,e);return l.alwaysFormat?l.format(a,void 0,r,at(at(at({},i),t),{},{interpolationkey:e})):a}var o=e.split(l.formatSeparator),s=o.shift().trim(),d=o.join(l.formatSeparator).trim();return l.format(iq(t,u,s),d,r,at(at(at({},i),t),{},{interpolationkey:s}))};this.resetRegExp();var f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,m=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return d(e)}},{regex:this.regexp,safeValue:function(e){return l.escapeValue?d(l.escape(e)):d(e)}}].forEach(function(t){for(s=0;a=t.regex.exec(e);){var r=a[1].trim();if(void 0===(o=p(r))){if("function"==typeof f){var u=f(e,a,i);o="string"==typeof u?u:""}else if(i&&i.hasOwnProperty(r))o="";else if(m){o=a[0];continue}else l.logger.warn("missed to pass in variable ".concat(r," for interpolating ").concat(e)),o=""}else"string"==typeof o||l.useRawValueToEscape||(o=iB(o));var d=t.safeValue(o);if(e=e.replace(a[0],d),m?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++s>=l.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var r,i,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=at({},o);function l(e,t){var r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;var i=e.split(new RegExp("".concat(r,"[ ]*{"))),a="{".concat(i[1]);e=i[0];var o=(a=this.interpolate(a,s)).match(/'/g),l=a.match(/"/g);(o&&o.length%2==0&&!l||l.length%2!=0)&&(a=a.replace(/'/g,'"'));try{s=JSON.parse(a),t&&(s=at(at({},t),s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(r).concat(a)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;r=this.nestingRegexp.exec(e);){var u=[],d=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){var p=r[1].split(this.formatSeparator).map(function(e){return e.trim()});r[1]=p.shift(),u=p,d=!0}if((i=t(l.call(this,r[1].trim(),s),s))&&r[0]===e&&"string"!=typeof i)return i;"string"!=typeof i&&(i=iB(i)),i||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(e)),i=""),d&&(i=u.reduce(function(e,t){return a.format(e,t,o.lng,at(at({},o),{},{interpolationkey:r[1].trim()}))},i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}]),e}();function ar(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function ai(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};ik(this,e),this.logger=iA.create("formatter"),this.options=t,this.formats={number:aa(function(e,t){var r=new Intl.NumberFormat(e,t);return function(e){return r.format(e)}}),currency:aa(function(e,t){var r=new Intl.NumberFormat(e,ai(ai({},t),{},{style:"currency"}));return function(e){return r.format(e)}}),datetime:aa(function(e,t){var r=new Intl.DateTimeFormat(e,ai({},t));return function(e){return r.format(e)}}),relativetime:aa(function(e,t){var r=new Intl.RelativeTimeFormat(e,ai({},t));return function(e){return r.format(e,t.range||"day")}}),list:aa(function(e,t){var r=new Intl.ListFormat(e,ai({},t));return function(e){return r.format(e)}})},this.init(t)}return iF(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},r=t.interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=aa(t)}},{key:"format",value:function(e,t,r,i){var a=this;return t.split(this.formatSeparator).reduce(function(e,t){var o=function(e){var t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){var i=e.split("(");t=i[0].toLowerCase().trim();var a=i[1].substring(0,i[1].length-1);"currency"===t&&0>a.indexOf(":")?r.currency||(r.currency=a.trim()):"relativetime"===t&&0>a.indexOf(":")?r.range||(r.range=a.trim()):a.split(";").forEach(function(e){if(e){var t,i=function(e){if(Array.isArray(e))return e}(t=e.split(":"))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return iP(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iP(e,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],o=i.slice(1).join(":").trim().replace(/^'+|'+$/g,"");r[a.trim()]||(r[a.trim()]=o),"false"===o&&(r[a.trim()]=!1),"true"===o&&(r[a.trim()]=!0),isNaN(o)||(r[a.trim()]=parseInt(o,10))}})}return{formatName:t,formatOptions:r}}(t),s=o.formatName,l=o.formatOptions;if(a.formats[s]){var u=e;try{var d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},p=d.locale||d.lng||i.locale||i.lng||r;u=a.formats[s](e,p,ai(ai(ai({},l),i),d))}catch(e){a.logger.warn(e)}return u}return a.logger.warn("there was no format function for ".concat(s)),e},e)}}]),e}();function as(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function al(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};return ik(this,i),o=r.call(this),iG&&iI.call(iC(o)),o.backend=e,o.store=t,o.services=a,o.languageUtils=a.languageUtils,o.options=s,o.logger=iA.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,s.backend,s),o}return iF(i,[{key:"queueLoad",value:function(e,t,r,i){var a=this,o={},s={},l={},u={};return e.forEach(function(e){var i=!0;t.forEach(function(t){var l="".concat(e,"|").concat(t);!r.reload&&a.store.hasResourceBundle(e,t)?a.state[l]=2:a.state[l]<0||(1===a.state[l]?void 0===s[l]&&(s[l]=!0):(a.state[l]=1,i=!1,void 0===s[l]&&(s[l]=!0),void 0===o[l]&&(o[l]=!0),void 0===u[t]&&(u[t]=!0)))}),i||(l[e]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,r){var i=e.split("|"),a=i[0],o=i[1];t&&this.emit("failedLoading",a,o,t),r&&this.store.addResourceBundle(a,o,r),this.state[e]=t?-1:2;var s={};this.queue.forEach(function(r){var i,l,u,d;(u=(l=iU(r.loaded,[a],Object)).obj)[d=l.k]=u[d]||[],i||u[d].push(o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(function(e){s[e]||(s[e]={});var t=r.loaded[e];t.length&&t.forEach(function(t){void 0===s[e][t]&&(s[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,r){var i=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:a,wait:o,callback:s});return}return this.readingCalls++,this.backend[r](e,t,function(l,u){if(i.readingCalls--,i.waitingReads.length>0){var d=i.waitingReads.shift();i.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(l&&u&&a2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,i,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(function(e){r.loadOne(e)})}},{key:"load",value:function(e,t,r){this.prepareLoading(e,t,{},r)}},{key:"reload",value:function(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}},{key:"loadOne",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.split("|"),a=i[0],o=i[1];this.read(a,o,"read",void 0,void 0,function(i,s){i&&t.logger.warn("".concat(r,"loading namespace ").concat(o," for language ").concat(a," failed"),i),!i&&s&&t.logger.log("".concat(r,"loaded namespace ").concat(o," for language ").concat(a),s),t.loaded(e,i,s)})}},{key:"saveMissing",value:function(e,t,r,i,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}null!=r&&""!==r&&(this.backend&&this.backend.create&&this.backend.create(e,t,r,i,null,al(al({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,r,i))}}]),i}(iI);function au(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ad(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function ap(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(ik(this,i),e=r.call(this),iG&&iI.call(iC(e)),e.options=au(t),e.services={},e.logger=iA,e.modules={external:[]},function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(iC(e)),a&&!e.isInitialized&&!t.isClone){if(!e.options.initImmediate)return e.init(t,a),ij(e,iC(e));setTimeout(function(){e.init(t,a)},0)}return e}return iF(i,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var i={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===iw(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===iw(e[2])||"object"===iw(e[3])){var r=e[3]||e[2];Object.keys(r).forEach(function(e){t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,r,i){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=ap(ap(ap({},i),this.options),au(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ap(ap({},i.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?iA.init(a(this.modules.logger),this.options):iA.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=ao);var o,s=new i4(this.options);this.store=new iJ(this.options.resources,this.options);var l=this.services;l.logger=iA,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new i7(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),o&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(l.formatter=a(o),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new an(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new ac(a(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a0&&"dev"!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var r;return(r=e.store)[t].apply(r,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var r;return(r=e.store)[t].apply(r,arguments),e}});var d=iN(),p=function(){var t=function(t,i){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(i),r(t,i)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:af,i=r,a="string"==typeof e?e:this.language;if("function"==typeof e&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&"cimode"===a.toLowerCase())return i();var o=[],s=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>o.indexOf(e)&&o.push(e)})};a?s(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return s(e)}),this.options.preload&&this.options.preload.forEach(function(e){return s(e)}),this.services.backendConnector.load(o,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),i(e)})}else i(null)}},{key:"reloadResources",value:function(e,t,r){var i=iN();return e||(e=this.languages),t||(t=this.options.ns),r||(r=af),this.services.backendConnector.reload(e,t,function(e){i.resolve(),r(e)}),i}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&iX.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}},{key:"changeLanguage",value:function(e,t){var r=this;this.isLanguageChangingTo=e;var i=iN();this.emit("languageChanging",e);var a=function(e){r.language=e,r.languages=r.services.languageUtils.toResolveHierarchy(e),r.resolvedLanguage=void 0,r.setResolvedLanguage(e)},o=function(e,o){o?(a(o),r.translator.changeLanguage(o),r.isLanguageChangingTo=void 0,r.emit("languageChanged",o),r.logger.log("languageChanged",o)):r.isLanguageChangingTo=void 0,i.resolve(function(){return r.t.apply(r,arguments)}),t&&t(e,function(){return r.t.apply(r,arguments)})},s=function(t){e||t||!r.services.languageDetector||(t=[]);var i="string"==typeof t?t:r.services.languageUtils.getBestMatchFromCodes(t);i&&(r.language||a(i),r.translator.language||r.translator.changeLanguage(i),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage(i)),r.loadResources(i,function(e){o(e,i)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),i}},{key:"getFixedT",value:function(e,t,r){var i=this,a=function e(t,a){if("object"!==iw(a)){for(var o,s=arguments.length,l=Array(s>2?s-2:0),u=2;u1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;var s=function(e,r){var i=t.services.backendConnector.state["".concat(e,"|").concat(r)];return -1===i||2===i};if(r.precheck){var l=r.precheck(this,s);if(void 0!==l)return l}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(i,e)&&(!a||s(o,e)))}},{key:"loadNamespaces",value:function(e,t){var r=this,i=iN();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>r.options.ns.indexOf(e)&&r.options.ns.push(e)}),this.loadResources(function(e){i.resolve(),t&&t(e)}),i):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var r=iN();"string"==typeof e&&(e=[e]);var i=this.options.preload||[],a=e.filter(function(e){return 0>i.indexOf(e)});return a.length?(this.options.preload=i.concat(a),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:af,a=ap(ap(ap({},this.options),t),{isClone:!0}),o=new i(a);return(void 0!==t.debug||void 0!==t.prefix)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(function(t){o[t]=e[t]}),o.services=ap({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new i2(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ah(e,t)});var am=ah.createInstance();am.createInstance=ah.createInstance,am.createInstance,am.init,am.loadResources,am.reloadResources,am.use,am.changeLanguage,am.getFixedT,am.t,am.exists,am.setDefaultNamespace,am.hasLoadedNamespace,am.loadNamespaces,am.loadLanguages;var ag=r(89047),av=r.n(ag),ab=r(7846),ay=r.n(ab),a_=r(62989),aw=r.n(a_),ak=r(8534),ax=r.n(ak),aE=r(69748),aF=r.n(aE);let aC=JSON.parse('{"Attach files":"Dateien anh\xe4ngen","Cancel":"Stornieren","Channel Missing":"Kanal fehlt","Close":"Schlie\xdfen","Close emoji picker":"Emoji-Picker schlie\xdfen","Commands matching":"\xdcbereinstimmende Befehle","Connection failure, reconnecting now...":"Verbindungsfehler, Wiederherstellung der Verbindung...","Delete":"L\xf6schen","Delivered":"Zugestellt","Drag your files here":"Ziehen Sie Ihre Dateien hierher","Drag your files here to add to your post":"Ziehen Sie Ihre Dateien hierher, um sie Ihrem Beitrag hinzuzuf\xfcgen","Edit Message":"Nachricht bearbeiten","Edit message request failed":"Anfrage zum Bearbeiten der Nachricht fehlgeschlagen","Emoji matching":"Emoji passend","Empty message...":"Leere Nachricht...","Error adding flag":"Fehler beim Hinzuf\xfcgen des Flags","Error connecting to chat, refresh the page to try again.":"Verbindungsfehler zum Chat, Aktualisiere die Seite um es erneut zu versuchen.","Error deleting message":"Fehler beim L\xf6schen der Nachricht","Error muting a user ...":"Fehler beim Stummschalten eines Nutzers.","Error pinning message":"Fehler beim Pinnen der Nachricht","Error removing message pin":"Fehler beim Entfernen der gepinnten Nachricht","Error unmuting a user ...":"Stummschaltung des Nutzers fehlgeschlagen ...","Error uploading file":"Fehler beim Hochladen der Datei","Error uploading image":"Hochladen des Bildes fehlgeschlagen","Error \xb7 Unsent":"Fehler nicht gesendet","Error: {{ errorMessage }}":"Fehler: {{ errorMessage }}","Flag":"Meldung","Latest Messages":"Neueste Nachrichten","Load more":"Mehr laden","Menu":"Men\xfc","Message Failed \xb7 Click to try again":"Nachricht fehlgeschlagen \xb7 Klicken, um es erneut zu versuchen","Message Failed \xb7 Unauthorized":"Nachricht fehlgeschlagen \xb7 Nicht autorisiert","Message deleted":"Nachricht gel\xf6scht","Message has been successfully flagged":"Nachricht wurde erfolgreich gemeldet","Message pinned":"Nachricht gepinnt","Mute":"Stumm schalten","New":"Neu","New Messages!":"Neue Nachrichten!","No chats here yet…":"Noch keine Chats hier...","No results found":"keine Ergebnisse gefunden","Nothing yet...":"Noch nichts...","Open emoji picker":"Emoji-Picker \xf6ffnen","People matching":"Passende Personen","Pick your emoji":"Emoji w\xe4hlen","Pin":"Pin","Pinned by":"Gepinnt von","Reply":"Antworten","Reply to Message":"Auf Nachricht antworten","Search":"Suche","Searching...":"Suchen...","Send":"Senden","Send message request failed":"Senden der Nachrichtenanfrage fehlgeschlagen","Sending...":"Senden...","Shuffle":"Mischen","Slow Mode ON":"Slow-Mode EIN","Some of the files will not be accepted":"Einige der Dateien werden nicht akzeptiert","This message was deleted...":"Diese Nachricht wurde gel\xf6scht...","Thread":"Thread","Type your message":"Nachricht eingeben","Unmute":"Stummschaltung aufheben","Unpin":"Pin entfernen","Upload type: \\"{{ type }}\\" is not allowed":"Upload-Typ: \\"{{ type }}\\" ist nicht erlaubt","User uploaded content":"Benutzer hochgeladenen Inhalts","Wait until all attachments have uploaded":"Bitte warten, bis alle Anh\xe4nge hochgeladen wurden","You have no channels currently":"Du hast momentan noch keinen Channels","You\'ve reached the maximum number of files":"Die maximale Dateianzahl ist erreicht","ban-command-args":"[@Benutzername] [Text]","ban-command-description":"Einen Benutzer verbannen","giphy-command-args":"[Text]","giphy-command-description":"Poste ein zuf\xe4lliges Gif in den Kanal","live":"live","mute-command-args":"[@Benutzername]","mute-command-description":"Stummschalten eines Benutzers","replyCount_one":"1 Antwort","replyCount_other":"{{ count }} Antworten","searchResultsCount_one":"1 Ergebnis","searchResultsCount_other":"{{ count }} Ergebnisse","this content could not be displayed":"Dieser Inhalt konnte nicht angezeigt werden","unban-command-args":"[@Benutzername]","unban-command-description":"Einen Benutzer entbannen","unmute-command-args":"[@Benutzername]","unmute-command-description":"Stummschaltung eines Benutzers aufheben","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} und {{moreCount}} Mehr","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} und {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} und {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} mehr","{{ memberCount }} members":"{{ memberCount }} Mitglieder","{{ user }} has been muted":"{{ user }} wurde stummgeschaltet","{{ user }} has been unmuted":"{{ user }} wurde nicht stummgeschaltet","{{ user }} is typing...":"{{ user }} tippt...","{{ users }} and more are typing...":"{{ users }} und mehr tippen...","{{ users }} and {{ user }} are typing...":"{{ users }} und {{ user }} tippen...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Anhang..."}'),aS=JSON.parse('{"Attach files":"Attach files","Cancel":"Cancel","Channel Missing":"Channel Missing","Close":"Close","Close emoji picker":"Close emoji picker","Commands matching":"Commands matching","Connection failure, reconnecting now...":"Connection failure, reconnecting now...","Delete":"Delete","Delivered":"Delivered","Drag your files here":"Drag your files here","Drag your files here to add to your post":"Drag your files here to add to your post","Edit Message":"Edit Message","Edit message request failed":"Edit message request failed","Emoji matching":"Emoji matching","Empty message...":"Empty message...","Error adding flag":"Error adding flag","Error connecting to chat, refresh the page to try again.":"Error connecting to chat, refresh the page to try again.","Error deleting message":"Error deleting message","Error muting a user ...":"Error muting a user ...","Error pinning message":"Error pinning message","Error removing message pin":"Error removing message pin","Error unmuting a user ...":"Error unmuting a user ...","Error uploading file":"Error uploading file","Error uploading image":"Error uploading image","Error \xb7 Unsent":"Error \xb7 Unsent","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Flag":"Flag","Latest Messages":"Latest Messages","Load more":"Load more","Menu":"Menu","Message Failed \xb7 Click to try again":"Message Failed \xb7 Click to try again","Message Failed \xb7 Unauthorized":"Message Failed \xb7 Unauthorized","Message deleted":"Message deleted","Message has been successfully flagged":"Message has been successfully flagged","Message pinned":"Message pinned","Mute":"Mute","New":"New","New Messages!":"New Messages!","No chats here yet…":"No chats here yet…","No results found":"No results found","Nothing yet...":"Nothing yet...","Open emoji picker":"Open emoji picker","People matching":"People matching","Pick your emoji":"Pick your emoji","Pin":"Pin","Pinned by":"Pinned by","Reply":"Reply","Reply to Message":"Reply to Message","Search":"Search","Searching...":"Searching...","Send":"Send","Send message request failed":"Send message request failed","Sending...":"Sending...","Shuffle":"Shuffle","Slow Mode ON":"Slow Mode ON","Some of the files will not be accepted":"Some of the files will not be accepted","This message was deleted...":"This message was deleted...","Thread":"Thread","Type your message":"Type your message","Unmute":"Unmute","Unpin":"Unpin","Upload type: \\"{{ type }}\\" is not allowed":"Upload type: \\"{{ type }}\\" is not allowed","User uploaded content":"User uploaded content","Wait until all attachments have uploaded":"Wait until all attachments have uploaded","You have no channels currently":"You have no channels currently","You\'ve reached the maximum number of files":"You\'ve reached the maximum number of files","live":"live","replyCount_one":"1 reply","replyCount_other":"{{ count }} replies","searchResultsCount_one":"1 result","searchResultsCount_other":"{{ count }} results","this content could not be displayed":"this content could not be displayed","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} and {{ moreCount }} more","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }}, and {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} and {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} more","{{ memberCount }} members":"{{ memberCount }} members","{{ user }} has been muted":"{{ user }} has been muted","{{ user }} has been unmuted":"{{ user }} has been unmuted","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Attachment..."}'),aD=JSON.parse('{"Attach files":"Adjuntar archivos","Cancel":"Cancelar","Channel Missing":"Falta canal","Close":"Cerca","Close emoji picker":"Cerrar el selector de emojis","Commands matching":"Coincidencia de comandos","Connection failure, reconnecting now...":"Fallo de conexi\xf3n, reconectando ahora ...","Delete":"Borrar","Delivered":"Entregado","Drag your files here":"Arrastra tus archivos aqu\xed","Drag your files here to add to your post":"Arrastra tus archivos aqu\xed para agregarlos a tu publicaci\xf3n","Edit Message":"Editar mensaje","Edit message request failed":"Error al editar la solicitud de mensaje","Emoji matching":"Coincidencia de emoji","Empty message...":"Mensaje vac\xedo ...","Error adding flag":"Error al agregar la bandera","Error connecting to chat, refresh the page to try again.":"Error al conectarse al chat, actualice la p\xe1gina para volver a intentarlo.","Error deleting message":"Error al eliminar el mensaje","Error muting a user ...":"Error al silenciar a un usuario ...","Error pinning message":"Mensaje de error al fijar","Error removing message pin":"Error al quitar el pin del mensaje","Error unmuting a user ...":"Error al activar el silencio de un usuario ...","Error uploading file":"Error al cargar el archivo","Error uploading image":"Error subiendo imagen","Error \xb7 Unsent":"Error \xb7 No enviado","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Flag":"Bandera","Latest Messages":"\xdaltimos mensajes","Load more":"Cargar m\xe1s","Menu":"Men\xfa","Message Failed \xb7 Click to try again":"Mensaje fallido \xb7 Haga clic para volver a intentarlo","Message Failed \xb7 Unauthorized":"Mensaje fallido \xb7 No autorizado","Message deleted":"Mensaje borrado","Message has been successfully flagged":"El mensaje se marc\xf3 correctamente","Message pinned":"Mensaje fijado","Mute":"Mudo","New":"Nuevo","New Messages!":"\xa1Nuevos mensajes!","No chats here yet…":"A\xfan no hay mensajes aqu\xed...","No results found":"No se han encontrado resultados","Nothing yet...":"Nada a\xfan...","Open emoji picker":"Selector de emoji abierto","People matching":"Personas que coinciden","Pick your emoji":"Elige tu emoji","Pin":"Alfiler","Pinned by":"Fijado por","Reply":"Respuesta","Reply to Message":"Responder al mensaje","Search":"Buscar","Searching...":"Buscando...","Send":"Enviar","Send message request failed":"Error al enviar la solicitud de mensaje","Sending...":"Enviando...","Shuffle":"Mezclar","Slow Mode ON":"Modo lento activado","Some of the files will not be accepted":"Algunos de los archivos no ser\xe1n aceptados","This message was deleted...":"Este mensaje fue eliminado ...","Thread":"Hilo","Type your message":"Escribe tu mensaje","Unmute":"Activar sonido","Unpin":"Desprender","Upload type: \\"{{ type }}\\" is not allowed":"Tipo de carga: \\"{{ type }}\\" no est\xe1 permitido","User uploaded content":"Contenido subido por el usuario","Wait until all attachments have uploaded":"Espere hasta que se hayan cargado todos los archivos adjuntos","You have no channels currently":"Actualmente no tienes canales","You\'ve reached the maximum number of files":"Has alcanzado el n\xfamero m\xe1ximo de archivos","ban-command-args":"[@usuario] [texto]","ban-command-description":"Prohibir a un usuario","giphy-command-args":"[texto]","giphy-command-description":"Publicar un gif aleatorio en el canal","live":"En Vivo","mute-command-args":"[@usuario]","mute-command-description":"Silenciar a un usuario","replyCount_many":"{{ count }} respuestas","replyCount_one":"1 respuesta","replyCount_other":"{{ count }} respuestas","searchResultsCount_many":"{{ count }} resultados","searchResultsCount_one":"1 resultado","searchResultsCount_other":"{{ count }} resultados","this content could not be displayed":"este contenido no se pudo mostrar","unban-command-args":"[@usuario]","unban-command-description":"Quitar la prohibici\xf3n a un usuario","unmute-command-args":"[@usuario]","unmute-command-description":"Anular el silencio de un usuario","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} y {{ moreCount }} m\xe1s","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} y {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} y {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} m\xe1s","{{ memberCount }} members":"{{ memberCount }} miembros","{{ user }} has been muted":"{{ user }} ha sido silenciado","{{ user }} has been unmuted":"{{ user }} se ha desactivado","{{ user }} is typing...":"{{ user }} est\xe1 escribiendo...","{{ users }} and more are typing...":"{{ users }} y m\xe1s est\xe1n escribiendo...","{{ users }} and {{ user }} are typing...":"{{ users }} y {{ user }} est\xe1n escribiendo...","{{ watcherCount }} online":"{{ watcherCount }} en l\xednea","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Adjunto..."}'),aj=JSON.parse('{"Attach files":"Pi\xe8ces jointes","Cancel":"Annuler","Channel Missing":"Canal Manquant","Close":"Fermer","Close emoji picker":"Fermer le s\xe9lecteur d\'emojis","Commands matching":"Correspondance des commandes","Connection failure, reconnecting now...":"\xc9chec de la connexion, reconnexion en cours...","Delete":"Supprimer","Delivered":"Publi\xe9","Drag your files here":"Glissez vos fichiers ici","Drag your files here to add to your post":"Glissez vos fichiers ici pour les ajouter \xe0 votre publication","Edit Message":"\xc9diter un message","Edit message request failed":"\xc9chec de la demande de modification du message","Emoji matching":"Correspondance emoji","Empty message...":"Message vide...","Error adding flag":"Erreur lors de l\'ajout du drapeau","Error connecting to chat, refresh the page to try again.":"Erreur de connexion au chat, rafra\xeechissez la page pour r\xe9essayer.","Error deleting message":"Erreur lors de la suppression du message","Error muting a user ...":"Erreur de mise en sourdine d\'un utilisateur ...","Error pinning message":"Erreur d\'\xe9pinglage du message","Error removing message pin":"Erreur lors de la suppression du code PIN du message","Error unmuting a user ...":"Erreur de d\xe9sactivation de la fonction sourdine pour un utilisateur ...","Error uploading file":"Erreur lors du t\xe9l\xe9chargement du fichier","Error uploading image":"Erreur lors de l\'envoi de l\'image","Error \xb7 Unsent":"Erreur - Non envoy\xe9","Error: {{ errorMessage }}":"Erreur : {{ errorMessage }}","Flag":"Signaler","Latest Messages":"Derniers messages","Load more":"Charger plus","Menu":"Menu","Message Failed \xb7 Click to try again":"\xc9chec de l\'envoi du message - Cliquez pour r\xe9essayer","Message Failed \xb7 Unauthorized":"\xc9chec de l\'envoi du message - Non autoris\xe9","Message deleted":"Message supprim\xe9","Message has been successfully flagged":"Le message a \xe9t\xe9 signal\xe9 avec succ\xe8s","Message pinned":"Message \xe9pingl\xe9","Mute":"Muet","New":"Nouveaux","New Messages!":"Nouveaux Messages!","No chats here yet…":"Pas encore de messages ici...","No results found":"Aucun r\xe9sultat trouv\xe9","Nothing yet...":"Aucun message...","Open emoji picker":"Ouvrez le s\xe9lecteur d\'emoji","People matching":"Correspondance de personnes","Pick your emoji":"Choisissez votre emoji","Pin":"\xc9pingle","Pinned by":"\xc9pingl\xe9 par","Reply":"R\xe9ponse","Reply to Message":"R\xe9pondre au message","Search":"Rechercher","Searching...":"Recherche...","Send":"Envoyer","Send message request failed":"\xc9chec de la demande d\'envoi de message","Sending...":"Envoi en cours...","Shuffle":"M\xe9langer","Slow Mode ON":"Mode lent activ\xe9","Some of the files will not be accepted":"Certains fichiers ne seront pas accept\xe9s","This message was deleted...":"Ce message a \xe9t\xe9 supprim\xe9...","Thread":"Fil de discussion","Type your message":"Saisissez votre message","Unmute":"D\xe9sactiver muet","Unpin":"D\xe9tacher","Upload type: \\"{{ type }}\\" is not allowed":"Le type de t\xe9l\xe9chargement: \\"{{ type }}\\" n\'est pas autoris\xe9","User uploaded content":"Contenu t\xe9l\xe9charg\xe9 par l\'utilisateur","Wait until all attachments have uploaded":"Attendez que toutes les pi\xe8ces jointes soient t\xe9l\xe9charg\xe9es","You have no channels currently":"Vous n\'avez actuellement aucun canal","You\'ve reached the maximum number of files":"Vous avez atteint le nombre maximum de fichiers","ban-command-args":"[@nomdutilisateur] [texte]","ban-command-description":"Bannir un utilisateur","giphy-command-args":"[texte]","giphy-command-description":"Poster un GIF al\xe9atoire dans le canal","live":"en direct","mute-command-args":"[@nomdutilisateur]","mute-command-description":"Muter un utilisateur","replyCount_many":"{{ count }} r\xe9ponses","replyCount_one":"1 r\xe9ponse","replyCount_other":"{{ count }} r\xe9ponses","searchResultsCount_many":"{{ count }} r\xe9sultats","searchResultsCount_one":"1 r\xe9sultat","searchResultsCount_other":"{{ count }} r\xe9sultats","this content could not be displayed":"ce contenu n\'a pu \xeatre affich\xe9","unban-command-args":"[@nomdutilisateur]","unban-command-description":"D\xe9bannir un utilisateur","unmute-command-args":"[@nomdutilisateur]","unmute-command-description":"D\xe9muter un utilisateur","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} et {{ moreCount }} autres","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} et {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} et {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} suppl\xe9mentaires","{{ memberCount }} members":"{{ memberCount }} membres","{{ user }} has been muted":"{{ user }} a \xe9t\xe9 mis en sourdine","{{ user }} has been unmuted":"{{ user }} n\'est plus en sourdine","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} en ligne","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Pi\xe8ce jointe..."}'),aT=JSON.parse('{"Attach files":"फाइल्स अटैच करे","Cancel":"रद्द करें","Channel Missing":"चैनल उपलब्ध नहीं है","Close":"बंद करे","Close emoji picker":"इमोजी पिकर बंद करें","Commands matching":"मेल खाती है","Connection failure, reconnecting now...":"कनेक्शन विफल रहा, अब पुनः कनेक्ट हो रहा है ...","Delete":"डिलीट","Delivered":"पहुंच गया","Drag your files here":"अपनी फ़ाइलें यहाँ खींचें","Drag your files here to add to your post":"अपनी फ़ाइलें यहाँ खींचें और अपने पोस्ट में जोड़ने के लिए","Edit Message":"मैसेज में बदलाव करे","Edit message request failed":"संदेश संपादित करने का अनुरोध विफल रहा","Emoji matching":"इमोजी मिलान","Empty message...":"खाली संदेश ...","Error adding flag":"ध्वज जोड़ने में त्रुटि","Error connecting to chat, refresh the page to try again.":"चैट से कनेक्ट करने में त्रुटि, पेज को रिफ्रेश करें","Error deleting message":"संदेश हटाने में त्रुटि","Error muting a user ...":"यूजर को म्यूट करने का प्रयास फेल हुआ","Error pinning message":"संदेश को पिन करने में त्रुटि","Error removing message pin":"संदेश पिन निकालने में त्रुटि","Error unmuting a user ...":"यूजर को अनम्यूट करने का प्रयास फेल हुआ","Error uploading file":"फ़ाइल अपलोड करने में त्रुटि","Error uploading image":"छवि अपलोड करने में त्रुटि","Error \xb7 Unsent":"फेल","Error: {{ errorMessage }}":"फेल: {{ errorMessage }}","Flag":"फ्लैग करे","Latest Messages":"नवीनतम संदेश","Load more":"और लोड करें","Menu":"मेन्यू","Message Failed \xb7 Click to try again":"मैसेज फ़ैल - पुनः कोशिश करें","Message Failed \xb7 Unauthorized":"मैसेज फ़ैल - अनधिकृत","Message deleted":"मैसेज हटा दिया गया","Message has been successfully flagged":"मैसेज को फ्लैग कर दिया गया है","Message pinned":"संदेश पिन किया गया","Mute":"म्यूट करे","New":"नए","New Messages!":"नए मैसेज!","No chats here yet…":"यहां अभी तक कोई चैट नहीं...","No results found":"कोई परिणाम नहीं मिला","Nothing yet...":"कोई मैसेज नहीं है","Open emoji picker":"इमोजी पिकर खोलिये","People matching":"मेल खाते लोग","Pick your emoji":"इमोजी चूस करे","Pin":"पिन","Pinned by":"द्वारा पिन किया गया","Reply":"जवाब दे दो","Reply to Message":"संदेश का जवाब दें","Search":"खोज","Searching...":"खोज कर...","Send":"भेजे","Send message request failed":"संदेश भेजने का अनुरोध विफल रहा","Sending...":"भेजा जा रहा है","Shuffle":"मिश्रित करें","Slow Mode ON":"स्लो मोड ऑन","Some of the files will not be accepted":"कुछ फ़ाइलें स्वीकार नहीं की जाएंगी","This message was deleted...":"मैसेज हटा दिया गया","Thread":"रिप्लाई थ्रेड","Type your message":"अपना मैसेज लिखे","Unmute":"अनम्यूट","Unpin":"अनपिन","Upload type: \\"{{ type }}\\" is not allowed":"अपलोड प्रकार: \\"{{ type }}\\" की अनुमति नहीं है","User uploaded content":"उपयोगकर्ता अपलोड की गई सामग्री","Wait until all attachments have uploaded":"सभी अटैचमेंट अपलोड होने तक प्रतीक्षा करें","You have no channels currently":"आपके पास कोई चैनल नहीं है","You\'ve reached the maximum number of files":"आप अधिकतम फ़ाइलों तक पहुँच गए हैं","ban-command-args":"[@उपयोगकर्तनाम] [पाठ]","ban-command-description":"एक उपयोगकर्ता को प्रतिषेधित करें","giphy-command-args":"[पाठ]","giphy-command-description":"चैनल पर एक क्रॉफिल जीआइएफ पोस्ट करें","live":"लाइव","mute-command-args":"[@उपयोगकर्तनाम]","mute-command-description":"एक उपयोगकर्ता को म्यूट करें","replyCount_one":"1 रिप्लाई","replyCount_other":"{{ count }} रिप्लाई","searchResultsCount_one":"1 परिणाम","searchResultsCount_other":"{{ count }} परिणाम","this content could not be displayed":"यह कॉन्टेंट लोड नहीं हो पाया","unban-command-args":"[@उपयोगकर्तनाम]","unban-command-description":"एक उपयोगकर्ता को प्रतिषेध से मुक्त करें","unmute-command-args":"[@उपयोगकर्तनाम]","unmute-command-description":"एक उपयोगकर्ता को अनम्यूट करें","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} और {{ moreCount }} और","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} और {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} और {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} और","{{ memberCount }} members":"{{ memberCount }} मेंबर्स","{{ user }} has been muted":"{{ user }} को म्यूट कर दिया गया है","{{ user }} has been unmuted":"{{ user }} को अनम्यूट कर दिया गया है","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 अटैचमेंट"}'),aO=JSON.parse('{"Attach files":"Allega file","Cancel":"Annulla","Channel Missing":"Il canale non esiste","Close":"Chiudi","Close emoji picker":"Chiudi il selettore di emoji","Commands matching":"Comandi corrispondenti","Connection failure, reconnecting now...":"Connessione fallitta, riconnessione in corso...","Delete":"Cancella","Delivered":"Consegnato","Drag your files here":"Trascina i tuoi file qui","Drag your files here to add to your post":"Trascina i tuoi file qui per aggiungerli al tuo post","Edit Message":"Modifica messaggio","Edit message request failed":"Richiesta di modifica del messaggio non riuscita","Emoji matching":"Abbinamento emoji","Empty message...":"Message vuoto...","Error adding flag":"Errore durante l\'aggiunta del flag","Error connecting to chat, refresh the page to try again.":"Errore di connessione alla chat, aggiorna la pagina per riprovare","Error deleting message":"Errore durante l\'eliminazione del messaggio","Error muting a user ...":"Errore silenziando un utente ...","Error pinning message":"Errore durante il blocco del messaggio","Error removing message pin":"Errore durante la rimozione del PIN del messaggio","Error unmuting a user ...":"Errore riattivando le notifiche per l\'utente ...","Error uploading file":"Errore durante il caricamento del file","Error uploading image":"Errore durante il caricamento dell\'immagine","Error \xb7 Unsent":"Errore \xb7 Non inviato","Error: {{ errorMessage }}":"Errore: {{ errorMessage }}","Flag":"Segnala","Latest Messages":"Ultimi messaggi","Load more":"Carica di pi\xf9","Menu":"Men\xf9","Message Failed \xb7 Click to try again":"Invio messaggio fallito \xb7 Clicca per riprovare","Message Failed \xb7 Unauthorized":"Invio messaggio fallito \xb7 Non autorizzato","Message deleted":"Messaggio cancellato","Message has been successfully flagged":"Il messaggio \xe9 stato segnalato con successo","Message pinned":"Messaggio bloccato","Mute":"Silenzia","New":"Nuovo","New Messages!":"Nuovo messaggio!","No chats here yet…":"Non ci sono ancora messaggi qui...","No results found":"Nessun risultato trovato","Nothing yet...":"Ancora niente...","Open emoji picker":"Apri il selettore dellle emoji","People matching":"Persone che corrispondono","Pick your emoji":"Scegli la tua emoji","Pin":"Pin","Pinned by":"Appuntato da","Reply":"Rispondere","Reply to Message":"Rispondi al messaggio","Search":"Ricerca","Searching...":"Ricerca in corso ...","Send":"Invia","Send message request failed":"Invia messaggio di richiesta non riuscito","Sending...":"Invio in corso...","Shuffle":"Mescolare","Slow Mode ON":"Modalit\xe0 lenta attivata","Some of the files will not be accepted":"Alcuni dei file non saranno accettati","This message was deleted...":"Questo messaggio \xe9 stato cancellato","Thread":"Thread","Type your message":"Scrivi il tuo messaggio","Unmute":"Riattiva le notifiche","Unpin":"Sblocca","Upload type: \\"{{ type }}\\" is not allowed":"Tipo di caricamento: \\"{{ type }}\\" non \xe8 consentito","User uploaded content":"Contenuto caricato dall\'utente","Wait until all attachments have uploaded":"Attendi il caricamento di tutti gli allegati","You have no channels currently":"Al momento non sono presenti canali","You\'ve reached the maximum number of files":"Hai raggiunto il numero massimo di file","ban-command-args":"[@nomeutente] [testo]","ban-command-description":"Vietare un utente","giphy-command-args":"[testo]","giphy-command-description":"Pubblica un gif casuale sul canale","live":"live","mute-command-args":"[@nomeutente]","mute-command-description":"Silenzia un utente","replyCount_many":"{{ count }} risposte","replyCount_one":"Una risposta","replyCount_other":"{{ count }} risposte","searchResultsCount_many":"{{ count }} risultati","searchResultsCount_one":"1 risultato","searchResultsCount_other":"{{ count }} risultati","this content could not be displayed":"questo contenuto non pu\xf3 essere mostrato","unban-command-args":"[@nomeutente]","unban-command-description":"Togliere il divieto a un utente","unmute-command-args":"[@nomeutente]","unmute-command-description":"Togliere il silenzio a un utente","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} e altri {{ moreCount }}","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} e {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} e {{ secondUser }}","{{ imageCount }} more":"+ {{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} membri","{{ user }} has been muted":"{{ user }} \xe9 stato silenziato","{{ user }} has been unmuted":"Notifiche riattivate per {{ user }}","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Allegato..."}'),aP=JSON.parse('{"Attach files":"ファイルを添付する","Cancel":"キャンセル","Channel Missing":"チャネルがありません","Close":"閉める","Close emoji picker":"絵文字ピッカーを閉める","Commands matching":"一致するコマンド","Connection failure, reconnecting now...":"接続が失敗しました。再接続中...","Delete":"消去","Delivered":"配信しました","Drag your files here":"ここにファイルをドラッグ","Drag your files here to add to your post":"投稿に追加するためにここにファイルをドラッグ","Edit Message":"メッセージを編集","Edit message request failed":"メッセージの編集要求が失敗しました","Emoji matching":"絵文字マッチング","Empty message...":"空のメッセージ...","Error adding flag":"フラグを追加のエラーが発生しました","Error connecting to chat, refresh the page to try again.":"チャットへの接続ができませんでした。ページを更新してください。","Error deleting message":"メッセージを削除するエラーが発生しました","Error muting a user ...":"ユーザーを無音するエラーが発生しました...","Error pinning message":"メッセージをピンのエラーが発生しました","Error removing message pin":"メッセージのピンを削除のエラーが発生しました","Error unmuting a user ...":"ユーザーの無音解除のエラーが発生しました...","Error uploading file":"ファイルをアップロードのエラーが発生しました","Error uploading image":"画像をアップロードのエラーが発生しました","Error \xb7 Unsent":"エラー・未送信","Error: {{ errorMessage }}":"エラー: {{ errorMessage }}","Flag":"フラグ","Latest Messages":"最新のメッセージ","Load more":"もっと読み込む","Menu":"メニュー","Message Failed \xb7 Click to try again":"メッセージが失敗しました \xb7 クリックして再試行してください","Message Failed \xb7 Unauthorized":"メッセージが失敗しました \xb7 許可されていません","Message deleted":"メッセージが削除されました","Message has been successfully flagged":"メッセージに正常にフラグが付けられました","Message pinned":"メッセージにピンが付けられました","Mute":"無音","New":"新しい","New Messages!":"新しいメッセージ!","No chats here yet…":"ここにはまだチャットはありません…","No results found":"結果が見つかりません","Nothing yet...":"まだ何もありません...","Open emoji picker":"絵文字ピッカーを開く","People matching":"一致する人","Pick your emoji":"絵文字を選んでください","Pin":"ピン","Pinned by":"ピンした方","Reply":"返事","Reply to Message":"メッセージに返信","Search":"探す","Searching...":"検索中...","Send":"送信","Send message request failed":"メッセージ送信リクエストが失敗しました","Sending...":"送信中...","Shuffle":"シャッフル","Slow Mode ON":"スローモードオン","Some of the files will not be accepted":"一部のファイルは受け付けられません","This message was deleted...":"このメッセージは削除されました...","Thread":"スレッド","Type your message":"メッセージを入力してください","Unmute":"無音を解除する","Unpin":"ピンを解除する","Upload type: \\"{{ type }}\\" is not allowed":"アップロードタイプ:\\"{{ type }}\\"は許可されていません","User uploaded content":"ユーザーがアップロードしたコンテンツ","Wait until all attachments have uploaded":"すべての添付ファイルがアップロードされるまでお待ちください","You have no channels currently":"現在チャンネルはありません","You\'ve reached the maximum number of files":"ファイルの最大数に達しました","ban-command-args":"[@ユーザ名] [テキスト]","ban-command-description":"ユーザーを禁止する","giphy-command-args":"[テキスト]","giphy-command-description":"チャンネルにランダムなGIFを投稿する","live":"ライブ","mute-command-args":"[@ユーザ名]","mute-command-description":"ユーザーをミュートする","replyCount_one":"1件の返信","replyCount_other":"{{ count }} 返信","searchResultsCount_one":"1件の結果","searchResultsCount_other":"{{ count }}件の結果","this content could not be displayed":"このコンテンツは表示できませんでした","unban-command-args":"[@ユーザ名]","unban-command-description":"ユーザーの禁止を解除する","unmute-command-args":"[@ユーザ名]","unmute-command-description":"ユーザーのミュートを解除する","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} と {{ moreCount }} 他人","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} と {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} と {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} イメージ","{{ memberCount }} members":"{{ memberCount }} メンバー","{{ user }} has been muted":"{{ user }} 無音されています","{{ user }} has been unmuted":"{{ user }} 無音されていません","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} オンライン","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 アタッチメント..."}'),aR=JSON.parse('{"Attach files":"파일 첨부","Cancel":"취소","Channel Missing":"채널 누락","Close":"닫기","Close emoji picker":"이모티콘 선택기 닫기","Commands matching":"일치하는 명령","Connection failure, reconnecting now...":"연결 실패, 지금 다시 연결 중...","Delete":"삭제","Delivered":"배달됨","Drag your files here":"여기로 파일을 끌어다 놓으세요","Drag your files here to add to your post":"게시물에 추가하려면 파일을 여기로 끌어다 놓으세요","Edit Message":"메시지 수정","Edit message request failed":"메시지 수정 요청 실패","Emoji matching":"이모티콘 매칭","Empty message...":"빈 메시지...","Error adding flag":"플래그를 추가하는 동안 오류가 발생했습니다.","Error connecting to chat, refresh the page to try again.":"채팅에 연결하는 동안 오류가 발생했습니다. 페이지를 새로고침하여 다시 시도하세요.","Error deleting message":"메시지를 삭제하는 중에 오류가 발생했습니다.","Error muting a user ...":"사용자를 음소거하는 중에 오류가 발생했습니다...","Error pinning message":"메시지를 핀하는 중에 오류가 발생했습니다.","Error removing message pin":"메시지 핀을 제거하는 중에 오류가 발생했습니다.","Error unmuting a user ...":"사용자 음소거 해제 중 오류 발생...","Error uploading file":"파일 업로드 오류","Error uploading image":"이미지를 업로드하는 동안 오류가 발생했습니다.","Error \xb7 Unsent":"오류 \xb7 전송되지 않음","Error: {{ errorMessage }}":"오류: {{ errorMessage }}","Flag":"플래그","Latest Messages":"최신 메시지","Load more":"더 불러오기","Menu":"메뉴","Message Failed \xb7 Click to try again":"메시지 실패 \xb7 다시 시도하려면 클릭하세요.","Message Failed \xb7 Unauthorized":"메시지 실패 \xb7 승인되지 않음","Message deleted":"메시지가 삭제되었습니다.","Message has been successfully flagged":"메시지에 플래그가 지정되었습니다.","Message pinned":"메시지 핀했습니다","Mute":"무음","New":"새로운","New Messages!":"새 메시지!","No chats here yet…":"아직 채팅이 없습니다...","No results found":"검색 결과가 없습니다","Nothing yet...":"아직 아무것도...","Open emoji picker":"이모티콘 선택기 열기","People matching":"일치하는 사람","Pick your emoji":"이모티콘 선택","Pin":"핀","Pinned by":"핀했던 분:","Reply":"답장","Reply to Message":"메시지에 답장","Search":"찾다","Searching...":"수색...","Send":"보내다","Send message request failed":"메시지 보내기 요청 실패","Sending...":"배상중...","Shuffle":"셔플","Slow Mode ON":"슬로우 모드 켜짐","Some of the files will not be accepted":"일부 파일은 허용되지 않을 수 있습니다","This message was deleted...":"이 메시지는 삭제되었습니다...","Thread":"스레드","Type your message":"메시지 입력","Unmute":"음소거 해제","Unpin":"핀 해제","Upload type: \\"{{ type }}\\" is not allowed":"업로드 유형: \\"{{ type }}\\"은(는) 허용되지 않습니다.","User uploaded content":"사용자 업로드 콘텐츠","Wait until all attachments have uploaded":"모든 첨부 파일이 업로드될 때까지 기다립니다.","You have no channels currently":"현재 채널이 없습니다.","You\'ve reached the maximum number of files":"최대 파일 수에 도달했습니다.","ban-command-args":"[@사용자이름] [텍스트]","ban-command-description":"사용자를 차단","giphy-command-args":"[텍스트]","giphy-command-description":"채널에 무작위 GIF 게시","live":"라이브","mute-command-args":"[@사용자이름]","mute-command-description":"사용자 음소거","replyCount_one":"답장 1개","replyCount_other":"{{ count }} 답장","searchResultsCount_one":"1개의 결과","searchResultsCount_other":"{{ count }}개 결과","this content could not be displayed":"이 콘텐츠를 표시할 수 없습니다","unban-command-args":"[@사용자이름]","unban-command-description":"사용자 차단 해제","unmute-command-args":"[@사용자이름]","unmute-command-description":"사용자 음소거 해제","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} 그리고 {{ moreCount }}명 더","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} 그리고 {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} 그리고 {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }}개 더","{{ memberCount }} members":"{{ memberCount }}명","{{ user }} has been muted":"{{ user }} 음소거되었습니다","{{ user }} has been unmuted":"{{ user }} 음소거가 해제되었습니다","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} 온라인","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 부착..."}'),aM=JSON.parse('{"Attach files":"Bijlage toevoegen","Cancel":"Annuleer","Channel Missing":"Kanaal niet gevonden","Close":"Sluit","Close emoji picker":"Sluit de emoji-kiezer","Commands matching":"Bijpassende opdrachten","Connection failure, reconnecting now...":"Probleem met de verbinding, opnieuw verbinding maken...","Delete":"Verwijder","Delivered":"Afgeleverd","Drag your files here":"Sleep je bestanden hier naartoe","Drag your files here to add to your post":"Sleep je bestanden hier naartoe om aan je bericht toe te voegen","Edit Message":"Pas bericht aan","Edit message request failed":"Verzoek om bericht bewerken mislukt","Emoji matching":"Emoji-overeenkomsten","Empty message...":"Leeg bericht...","Error adding flag":"Fout bij toevoegen van vlag","Error connecting to chat, refresh the page to try again.":"Fout bij het verbinden, ververs de pagina om nogmaals te proberen","Error deleting message":"Fout bij verwijderen van bericht","Error muting a user ...":"Fout bij het muten van de gebruiker","Error pinning message":"Fout bij vastzetten van bericht","Error removing message pin":"Fout bij verwijderen van berichtpin","Error unmuting a user ...":"Fout bij het unmuten van de gebruiker","Error uploading file":"Fout bij uploaden bestand","Error uploading image":"Fout bij uploaden afbeelding","Error \xb7 Unsent":"Error: \xb7 niet verzonden","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Flag":"Markeer","Latest Messages":"Laatste berichten","Load more":"Meer laden","Menu":"Menu","Message Failed \xb7 Click to try again":"Bericht mislukt, klik om het nogmaals te proberen","Message Failed \xb7 Unauthorized":"Bericht mislukt, ongeautoriseerd","Message deleted":"Bericht verwijderd","Message has been successfully flagged":"Bericht is succesvol gemarkeerd","Message pinned":"Bericht vastgezet","Mute":"Mute","New":"Nieuwe","New Messages!":"Nieuwe Berichten!","No chats here yet…":"Nog geen chats hier...","No results found":"Geen resultaten gevonden","Nothing yet...":"Nog niets ...","Open emoji picker":"Open emojipicker","People matching":"Mensen die matchen","Pick your emoji":"Kies je emoji","Pin":"Pin","Pinned by":"Vastgemaakt door","Reply":"Antwoord","Reply to Message":"Antwoord op bericht","Search":"Zoeken","Searching...":"Zoeken...","Send":"Verstuur","Send message request failed":"Verzoek om bericht te verzenden mislukt","Sending...":"Aan het verzenden...","Shuffle":"Schudden","Slow Mode ON":"Langzame modus aan","Some of the files will not be accepted":"Sommige bestanden zullen niet worden geaccepteerd","This message was deleted...":"Dit bericht was verwijderd","Thread":"Draadje","Type your message":"Type je bericht","Unmute":"Unmute","Unpin":"Losmaken","Upload type: \\"{{ type }}\\" is not allowed":"Uploadtype: \\"{{ type }}\\" is niet toegestaan","User uploaded content":"Gebruikersge\xfcploade inhoud","Wait until all attachments have uploaded":"Wacht tot alle bijlagen zijn ge\xfcpload","You have no channels currently":"Er zijn geen chats beschikbaar","You\'ve reached the maximum number of files":"Je hebt het maximale aantal bestanden bereikt","ban-command-args":"[@gebruikersnaam] [tekst]","ban-command-description":"Een gebruiker verbannen","giphy-command-args":"[tekst]","giphy-command-description":"Plaats een willekeurige gif in het kanaal","live":"live","mute-command-args":"[@gebruikersnaam]","mute-command-description":"Een gebruiker dempen","replyCount_one":"1 antwoord","replyCount_other":"{{ count }} antwoorden","searchResultsCount_one":"1 resultaat","searchResultsCount_other":"{{ count }} resultaten","this content could not be displayed":"Deze inhoud kan niet weergegeven worden","unban-command-args":"[@gebruikersnaam]","unban-command-description":"Een gebruiker debannen","unmute-command-args":"[@gebruikersnaam]","unmute-command-description":"Een gebruiker niet meer dempen","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} en {{ moreCount }} meer","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} en {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} en {{ secondUser }}","{{ imageCount }} more":"+{{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} deelnemers","{{ user }} has been muted":"{{ user }} is muted","{{ user }} has been unmuted":"{{ user }} is unmuted","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Bijlage..."}'),aL=JSON.parse('{"Attach files":"Anexar arquivos","Cancel":"Cancelar","Channel Missing":"Canal ausente","Close":"Fechar","Close emoji picker":"Fechar seletor de emoji","Commands matching":"Comandos correspondentes","Connection failure, reconnecting now...":"Falha de conex\xe3o, reconectando agora...","Delete":"Excluir","Delivered":"Entregue","Drag your files here":"Arraste seus arquivos aqui","Drag your files here to add to your post":"Arraste seus arquivos aqui para adicionar ao seu post","Edit Message":"Editar Mensagem","Edit message request failed":"O pedido de edi\xe7\xe3o da mensagem falhou","Emoji matching":"Emoji correspondente","Empty message...":"Mensagem vazia...","Error adding flag":"Erro ao reportar","Error connecting to chat, refresh the page to try again.":"Erro ao conectar ao bate-papo, atualize a p\xe1gina para tentar novamente.","Error deleting message":"Erro ao deletar mensagem","Error muting a user ...":"Erro ao silenciar um usu\xe1rio...","Error pinning message":"Erro ao fixar mensagem","Error removing message pin":"Erro ao remover o PIN da mensagem","Error unmuting a user ...":"Erro ao ativar o som de um usu\xe1rio...","Error uploading file":"Erro ao enviar arquivo","Error uploading image":"Erro ao carregar a imagem","Error \xb7 Unsent":"Erro \xb7 N\xe3o enviado","Error: {{ errorMessage }}":"Erro: {{ errorMessage }}","Flag":"Reportar","Latest Messages":"Mensagens mais recentes","Load more":"Carregar mais","Menu":"Menu","Message Failed \xb7 Click to try again":"A mensagem falhou \xb7 Clique para tentar novamente","Message Failed \xb7 Unauthorized":"A mensagem falhou \xb7 n\xe3o autorizado","Message deleted":"Mensagem apagada","Message has been successfully flagged":"A mensagem foi reportada com sucesso","Message pinned":"Mensagem fixada","Mute":"Mudo","New":"Novo","New Messages!":"Novas mensagens!","No chats here yet…":"Ainda n\xe3o h\xe1 conversas aqui...","No results found":"Nenhum resultado encontrado","Nothing yet...":"Nada ainda...","Open emoji picker":"Abrir seletor de emoji","People matching":"Pessoas correspondentes","Pick your emoji":"Escolha o seu emoji","Pin":"Fixar","Pinned by":"Fixado por","Reply":"Responder","Reply to Message":"Responder a mensagem","Search":"Procurar","Searching...":"Procurando...","Send":"Enviar","Send message request failed":"O pedido de envio de mensagem falhou","Sending...":"Enviando...","Shuffle":"Embaralhar","Slow Mode ON":"Modo lento LIGADO","Some of the files will not be accepted":"Alguns dos arquivos n\xe3o ser\xe3o aceitos","This message was deleted...":"Esta mensagem foi exclu\xedda...","Thread":"Fio","Type your message":"Digite sua mensagem","Unmute":"Ativar som","Unpin":"Liberar","Upload type: \\"{{ type }}\\" is not allowed":"Tipo de upload: \\"{{ type }}\\" n\xe3o \xe9 permitido","User uploaded content":"Conte\xfado enviado pelo usu\xe1rio","Wait until all attachments have uploaded":"Espere at\xe9 que todos os anexos tenham sido carregados","You have no channels currently":"Voc\xea n\xe3o tem canais atualmente","You\'ve reached the maximum number of files":"Voc\xea atingiu o n\xfamero m\xe1ximo de arquivos","ban-command-args":"[@nomedeusu\xe1rio] [texto]","ban-command-description":"Banir um usu\xe1rio","giphy-command-args":"[texto]","giphy-command-description":"Postar um gif aleat\xf3rio no canal","live":"ao vivo","mute-command-args":"[@nomedeusu\xe1rio]","mute-command-description":"Silenciar um usu\xe1rio","replyCount_many":"{{ count }} respostas","replyCount_one":"1 resposta","replyCount_other":"{{ count }} respostas","searchResultsCount_many":"{{ count }} resultados","searchResultsCount_one":"1 resultado","searchResultsCount_other":"{{ count }} resultados","this content could not be displayed":"este conte\xfado n\xe3o p\xf4de ser exibido","unban-command-args":"[@nomedeusu\xe1rio]","unban-command-description":"Desbanir um usu\xe1rio","unmute-command-args":"[@nomedeusu\xe1rio]","unmute-command-description":"Retirar o silenciamento de um usu\xe1rio","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} e mais {{ moreCount }}","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} e {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} e {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} mais","{{ memberCount }} members":"{{ memberCount }} membros","{{ user }} has been muted":"{{ user }} foi silenciado","{{ user }} has been unmuted":"{{ user }} foi reativado","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Anexo..."}'),aA=JSON.parse('{"Attach files":"Прикрепить файлы","Cancel":"Отмена","Channel Missing":"Канал не найден","Close":"Закрыть","Close emoji picker":"Закрыть окно выбора смайлов","Commands matching":"Соответствие команд","Connection failure, reconnecting now...":"Ошибка соединения, переподключение...","Delete":"Удалить","Delivered":"Отправлено","Drag your files here":"Перетащите ваши файлы сюда","Drag your files here to add to your post":"Перетащите ваши файлы сюда, чтобы добавить их в ваш пост","Edit Message":"Редактировать сообщение","Edit message request failed":"Не удалось изменить запрос сообщения","Emoji matching":"Соответствие эмодзи","Empty message...":"Пустое сообщение...","Error adding flag":"Ошибка добавления флага","Error connecting to chat, refresh the page to try again.":"Ошибка подключения к чату, обновите страницу чтобы попробовать снова.","Error deleting message":"Ошибка при удалении сообщения","Error muting a user ...":"Ошибка отключения уведомлений от пользователя...","Error pinning message":"Сообщение об ошибке при закреплении","Error removing message pin":"Ошибка при удалении булавки сообщения","Error unmuting a user ...":"Ошибка включения уведомлений...","Error uploading file":"Ошибка при загрузке файла","Error uploading image":"Ошибка загрузки изображения","Error \xb7 Unsent":"Ошибка \xb7 Не отправлено","Error: {{ errorMessage }}":"Ошибка: {{ errorMessage }}","Flag":"Пожаловаться","Latest Messages":"Последние сообщения","Load more":"Загрузить больше","Menu":"Меню","Message Failed \xb7 Click to try again":"Ошибка отправки сообщения \xb7 Нажмите чтобы повторить","Message Failed \xb7 Unauthorized":"Ошибка отправки сообщения \xb7 Неавторизованный","Message deleted":"Сообщение удалено","Message has been successfully flagged":"Жалоба на сообщение была принята","Message pinned":"Сообщение закреплено","Mute":"Отключить уведомления","New":"Новые","New Messages!":"Новые сообщения!","No chats here yet…":"Здесь еще нет чатов...","No results found":"результаты не найдены","Nothing yet...":"Пока ничего нет...","Open emoji picker":"Выбрать emoji","People matching":"Соответствующие люди","Pick your emoji":"Выберите свой emoji","Pin":"Штырь","Pinned by":"Закреплено","Reply":"Отвечать","Reply to Message":"Ответить на сообщение","Search":"Поиск","Searching...":"Ищем...","Send":"Отправить","Send message request failed":"Не удалось отправить запрос на отправку сообщения","Sending...":"Отправка...","Shuffle":"Перемешать","Slow Mode ON":"Медленный режим включен","Some of the files will not be accepted":"Некоторые файлы не будут приняты","This message was deleted...":"Сообщение было удалено...","Thread":"Ветка","Type your message":"Ваше сообщение","Unmute":"Включить уведомления","Unpin":"Открепить","Upload type: \\"{{ type }}\\" is not allowed":"Тип загрузки: \\"{{ type }}\\" не разрешен","User uploaded content":"Пользователь загрузил контент","Wait until all attachments have uploaded":"Подождите, пока все вложения загрузятся","You have no channels currently":"У вас нет каналов в данный момент","You\'ve reached the maximum number of files":"Вы достигли максимального количества файлов","ban-command-args":"[@имяпользователя] [текст]","ban-command-description":"Заблокировать пользователя","giphy-command-args":"[текст]","giphy-command-description":"Опубликовать случайную GIF-анимацию в канале","live":"В прямом эфире","mute-command-args":"[@имяпользователя]","mute-command-description":"Выключить микрофон у пользователя","replyCount_few":"{{ count }} ответов","replyCount_many":"{{ count }} ответов","replyCount_one":"1 ответ","replyCount_other":"{{ count }} ответов","searchResultsCount_few":"{{ count }} результата","searchResultsCount_many":"{{ count }} результатов","searchResultsCount_one":"1 результат","searchResultsCount_other":"{{ count }} результатов","this content could not be displayed":"Этот контент не может быть отображен в данный момент","unban-command-args":"[@имяпользователя]","unban-command-description":"Разблокировать пользователя","unmute-command-args":"[@имяпользователя]","unmute-command-description":"Включить микрофон у пользователя","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} и {{ moreCount }} еще","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} и {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} и {{ secondUser }}","{{ imageCount }} more":"Ещё {{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} члены","{{ user }} has been muted":"Вы отписались от уведомлений от {{ user }}","{{ user }} has been unmuted":"Уведомления от {{ user }} были включены","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} в сети","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Вложение..."}'),aI=JSON.parse('{"Attach files":"Dosya ekle","Cancel":"İptal","Channel Missing":"Kanal bulunamıyor","Close":"Kapat","Close emoji picker":"Emoji se\xe7iciyi kapat","Commands matching":"Eşleşen komutlar","Connection failure, reconnecting now...":"Bağlantı hatası, tekrar bağlanılıyor...","Delete":"Sil","Delivered":"İletildi","Drag your files here":"Dosyalarınızı buraya s\xfcr\xfckleyin","Drag your files here to add to your post":"G\xf6nderinize eklemek i\xe7in dosyalarınızı buraya s\xfcr\xfckleyin","Edit Message":"Mesajı D\xfczenle","Edit message request failed":"Mesaj d\xfczenleme isteği başarısız oldu","Emoji matching":"Emoji eşleştirme","Empty message...":"Boş mesaj...","Error adding flag":"Bayrak eklenirken hata oluştu","Error connecting to chat, refresh the page to try again.":"Bağlantı hatası, sayfayı yenileyip tekrar deneyin.","Error deleting message":"Mesaj silinirken hata oluştu","Error muting a user ...":"Kullanıcıyı sessize alırken hata oluştu ...","Error pinning message":"Mesaj sabitlenirken hata oluştu","Error removing message pin":"Mesaj PIN\'i kaldırılırken hata oluştu","Error unmuting a user ...":"Kullanıcının sesini a\xe7arken hata oluştu ...","Error uploading file":"Dosya y\xfcklenirken hata oluştu","Error uploading image":"Resmi y\xfcklerken hata","Error \xb7 Unsent":"Hata \xb7 G\xf6nderilemedi","Error: {{ errorMessage }}":"Hata: {{ errorMessage }}","Flag":"Bayrak","Latest Messages":"Son Mesajlar","Load more":"Daha fazla y\xfckle","Menu":"Men\xfc","Message Failed \xb7 Click to try again":"Mesaj Başarısız \xb7 Tekrar denemek i\xe7in tıklayın","Message Failed \xb7 Unauthorized":"Mesaj Başarısız \xb7 Yetkisiz","Message deleted":"Mesaj silindi","Message has been successfully flagged":"Mesaj başarıyla bayraklandı","Message pinned":"Mesaj sabitlendi","Mute":"Sessiz","New":"Yeni","New Messages!":"Yeni Mesajlar!","No chats here yet…":"Hen\xfcz burada sohbet yok...","No results found":"Sonu\xe7 bulunamadı","Nothing yet...":"Şimdilik hi\xe7bir şey...","Open emoji picker":"Emoji klavyesini a\xe7","People matching":"Eşleşen kişiler","Pick your emoji":"Emoji se\xe7in","Pin":"Toplu iğne","Pinned by":"Sabitleyen","Reply":"Cevapla","Reply to Message":"Mesajı Cevapla","Search":"Arama","Searching...":"Aranıyor...","Send":"G\xf6nder","Send message request failed":"Mesaj g\xf6nderme isteği başarısız oldu","Sending...":"G\xf6nderiliyor...","Shuffle":"Karıştır","Slow Mode ON":"Yavaş Mod A\xe7ık","Some of the files will not be accepted":"Bazı dosyalar kabul edilmeyecektir","This message was deleted...":"Bu mesaj silindi","Thread":"Konu","Type your message":"Mesajınızı yazın","Unmute":"Sesini a\xe7","Unpin":"Sabitlemeyi kaldır","Upload type: \\"{{ type }}\\" is not allowed":"Y\xfckleme t\xfcr\xfc: \\"{{ type }}\\" izin verilmez","User uploaded content":"Kullanıcı tarafından y\xfcklenen i\xe7erik","Wait until all attachments have uploaded":"T\xfcm ekler y\xfcklenene kadar bekleyin","You have no channels currently":"Hen\xfcz kanalınız yok","You\'ve reached the maximum number of files":"Maksimum dosya sayısına ulaştınız","ban-command-args":"[@kullanıcıadı] [metin]","ban-command-description":"Bir kullanıcıyı yasakla","giphy-command-args":"[metin]","giphy-command-description":"Rastgele bir gif\'i kanala g\xf6nder","live":"canlı","mute-command-args":"[@kullanıcıadı]","mute-command-description":"Bir kullanıcının sesini kapat","replyCount_one":"1 cevap","replyCount_other":"{{ count }} cevaplar","searchResultsCount_one":"1 sonu\xe7","searchResultsCount_other":"{{ count }} sonu\xe7","this content could not be displayed":"bu i\xe7erik g\xf6sterilemiyor","unban-command-args":"[@kullanıcıadı]","unban-command-description":"Bir kullanıcının yasağını kaldır","unmute-command-args":"[@kullanıcıadı]","unmute-command-description":"Bir kullanıcının sesini a\xe7","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} ve {{ moreCount }} daha","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }}, ve {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} ve {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} adet daha","{{ memberCount }} members":"{{ memberCount }} \xfcyeler","{{ user }} has been muted":"{{ user }} sessize alındı","{{ user }} has been unmuted":"{{ user }} sesi a\xe7ıldı","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} \xe7evrimi\xe7i","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Ek..."}');r(61622),r(81123),r(34197),r(50748),r(44586),r(52572),r(15181),r(27446),r(78630),r(92562),r(1655),r(41699);var aN="translation";ig().extend(av()),ig().extend(ax()),ig().extend(aF()),ig().updateLocale("de",{calendar:{lastDay:"[gestern um] LT",lastWeek:"[letzten] dddd [um] LT",nextDay:"[morgen um] LT",nextWeek:"dddd [um] LT",sameDay:"[heute um] LT",sameElse:"L"}}),ig().updateLocale("es",{calendar:{lastDay:"[ayer a las] LT",lastWeek:"[pasado] dddd [a] LT",nextDay:"[ma\xf1ana a] LT",nextWeek:"dddd [a] LT",sameDay:"[hoy a las] LT",sameElse:"L"}}),ig().updateLocale("fr",{calendar:{lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",sameDay:"[Aujourd’hui \xe0] LT",sameElse:"L"}}),ig().updateLocale("hi",{calendar:{lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",sameDay:"[आज] LT",sameElse:"L"},meridiem:function(e){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},meridiemHour:function(e,t){if(12===e&&(e=0),"रात"===t)return e<4?e:e+12;if("सुबह"===t);else if("दोपहर"===t)return e>=10?e:e+12;else if("शाम"===t)return e+12;return e},meridiemParse:/रात|सुबह|दोपहर|शाम/}),ig().updateLocale("it",{calendar:{lastDay:"[Ieri alle] LT",lastWeek:"[lo scorso] dddd [alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",sameDay:"[Oggi alle] LT",sameElse:"L"}}),ig().updateLocale("ja",{calendar:{lastDay:"[昨日] LT",lastWeek:"dddd LT",nextDay:"[明日] LT",nextWeek:"[次の] dddd LT",sameDay:"[今日] LT",sameElse:"L"}}),ig().updateLocale("ko",{calendar:{lastDay:"[어제] LT",lastWeek:"[지난] dddd LT",nextDay:"[내일] LT",nextWeek:"dddd LT",sameDay:"[오늘] LT",sameElse:"L"}}),ig().updateLocale("nl",{calendar:{lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",sameDay:"[vandaag om] LT",sameElse:"L"}}),ig().updateLocale("pt",{calendar:{lastDay:"[ontem \xe0s] LT",lastWeek:"dddd [passada \xe0s] LT",nextDay:"[amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",sameDay:"[hoje \xe0s] LT",sameElse:"L"}}),ig().updateLocale("ru",{calendar:{lastDay:"[Вчера, в] LT",nextDay:"[Завтра, в] LT",sameDay:"[Сегодня, в] LT"}}),ig().updateLocale("tr",{calendar:{lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",sameDay:"[bug\xfcn saat] LT",sameElse:"L"}});var aB={formats:{},months:["January","February","March","April","May","June","July","August","September","October","November","December"],relativeTime:{},weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},aU=function(e){return void 0!==e.extend},az=function(e){return void 0!==e.tz},aH={DateTimeParser:ig(),dayjsLocaleConfigForLanguage:null,debug:!1,disableDateTimeTranslations:!1,language:"en",logger:function(e){return console.warn(e)}},aq=function(e){return e},aV=function(){function e(e){void 0===e&&(e={});var t,r,i,a,o,s,l,u,d,p,f,m,g,v,b=this;this.i18nInstance=am.createInstance(),this.Dayjs=null,this.setLanguageCallback=function(){return null},this.initialized=!1,this.t=aq,this.translations={de:((t={})[aN]=aC,t),en:((r={})[aN]=aS,r),es:((i={})[aN]=aD,i),fr:((a={})[aN]=aj,a),hi:((o={})[aN]=aT,o),it:((s={})[aN]=aO,s),ja:((l={})[aN]=aP,l),ko:((u={})[aN]=aR,u),nl:((d={})[aN]=aM,d),pt:((p={})[aN]=aL,p),ru:((f={})[aN]=aA,f),tr:((m={})[aN]=aI,m)},this.dayjsLocales={},this.localeExists=function(e){return!!b.isCustomDateTimeParser||Object.keys(ig().Ls).indexOf(e)>-1},this.validateCurrentLanguage=function(){-1===Object.keys(b.translations).indexOf(b.currentLanguage)&&(b.logger("Streami18n: '".concat(b.currentLanguage,"' language is not registered.")+" Please make sure to call streami18n.registerTranslation('".concat(b.currentLanguage,"', {...}) or ")+"use one the built-in supported languages - ".concat(b.getAvailableLanguages())),b.currentLanguage="en")},this.geti18Instance=function(){return b.i18nInstance},this.getAvailableLanguages=function(){return Object.keys(b.translations)},this.getTranslations=function(){return b.translations};var y=io(io({},aH),e);this.logger=y.logger,this.currentLanguage=y.language,this.DateTimeParser=y.DateTimeParser,this.timezone=y.timezone;try{this.DateTimeParser&&aU(this.DateTimeParser)&&(this.DateTimeParser.extend(i_()),this.DateTimeParser.extend(ib()),this.DateTimeParser.extend(ay()),this.DateTimeParser.extend(aw()))}catch(e){throw Error("Streami18n: Looks like you wanted to provide Dayjs instance, but something went wrong while adding plugins ".concat(e))}this.isCustomDateTimeParser=!!e.DateTimeParser;var _=y.translationsForLanguage;_&&(this.translations[this.currentLanguage]=((g={})[aN]=this.translations[this.currentLanguage]&&this.translations[this.currentLanguage][aN]?io(io({},this.translations[this.currentLanguage][aN]),_):_,g)),this.translations[this.currentLanguage]||(this.translations[this.currentLanguage]=((v={})[aN]={},v)),this.i18nextConfig={debug:y.debug,fallbackLng:!1,interpolation:{escapeValue:!1},keySeparator:!1,lng:this.currentLanguage,nsSeparator:!1},y.parseMissingKeyHandler&&(this.i18nextConfig.parseMissingKeyHandler=y.parseMissingKeyHandler),this.validateCurrentLanguage();var w=y.dayjsLocaleConfigForLanguage;w?this.addOrUpdateLocale(this.currentLanguage,io({},w)):this.localeExists(this.currentLanguage)||this.logger("Streami18n: Streami18n(...) - Locale config for ".concat(this.currentLanguage," does not exist in momentjs.")+"Please import the locale file using \"import 'moment/locale/".concat(this.currentLanguage,"';\" in your app or ")+"register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)"),this.tDateTimeParser=function(e){var t=y.disableDateTimeTranslations||!b.localeExists(b.currentLanguage)?"en":b.currentLanguage;return aU(b.DateTimeParser)?az(b.DateTimeParser)?b.DateTimeParser(e).tz(b.timezone).locale(t):b.DateTimeParser(e).locale(t):az(b.DateTimeParser)&&b.timezone?b.DateTimeParser(e).tz(b.timezone).locale(t):b.DateTimeParser(e).locale(t)}}return e.prototype.init=function(){return il(this,void 0,void 0,function(){var e,t;return ic(this,function(r){switch(r.label){case 0:this.validateCurrentLanguage(),r.label=1;case 1:return r.trys.push([1,3,,4]),e=this,[4,this.i18nInstance.init(io(io({},this.i18nextConfig),{lng:this.currentLanguage,resources:this.translations}))];case 2:return e.t=r.sent(),this.initialized=!0,[3,4];case 3:return t=r.sent(),this.logger("Something went wrong with init: ".concat(JSON.stringify(t))),[3,4];case 4:return[2,{t:this.t,tDateTimeParser:this.tDateTimeParser}]}})})},e.prototype.getTranslators=function(){return il(this,void 0,void 0,function(){return ic(this,function(e){switch(e.label){case 0:if(this.initialized)return[3,2];return this.dayjsLocales[this.currentLanguage]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),[4,this.init()];case 1:return[2,e.sent()];case 2:return[2,{t:this.t,tDateTimeParser:this.tDateTimeParser}]}})})},e.prototype.registerTranslation=function(e,t,r){var i;if(!t){this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) called without translation");return}this.translations[e]?this.translations[e][aN]=t:this.translations[e]=((i={})[aN]=t,i),r?this.dayjsLocales[e]=io({},r):this.localeExists(e)||this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) - "+"Locale config for ".concat(e," does not exist in Dayjs.")+"Please import the locale file using \"import 'dayjs/locale/".concat(e,"';\" in your app or ")+"register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)"),this.initialized&&this.i18nInstance.addResources(e,aN,t)},e.prototype.addOrUpdateLocale=function(e,t){this.localeExists(e)?ig().updateLocale(e,io({},t)):ig().locale(io(io({name:e},aB),t),void 0,!0)},e.prototype.setLanguage=function(e){return il(this,void 0,void 0,function(){var t,r;return ic(this,function(i){switch(i.label){case 0:if(this.currentLanguage=e,!this.initialized)return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.i18nInstance.changeLanguage(e)];case 2:return t=i.sent(),this.dayjsLocales[e]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),this.setLanguageCallback(t),[2,t];case 3:return r=i.sent(),this.logger("Failed to set language: ".concat(JSON.stringify(r))),[2,this.t];case 4:return[2]}})})},e.prototype.registerSetLanguageCallback=function(e){this.setLanguageCallback=e},e}();ig().extend(ib()),ig().extend(i_());var aW=function(e){return!!(null==e?void 0:e.isSame)},a$=function(e){return!!(null==e?void 0:e.getMonth)},aG=function(e){return ig()(e)},aY=ec().createContext({t:aq,tDateTimeParser:aG,userLanguage:"en"}),aK=function(e){var t=e.children,r=e.value;return ec().createElement(aY.Provider,{value:r},t)},aZ=function(e){return(0,el.useContext)(aY)||(console.warn("The useTranslationContext hook was called outside of the TranslationContext provider. Make sure this hook is called within a child of the Chat component. The errored call is located in the ".concat(e," component.")),{})},aJ=function(e){var t,r,i=e.client,a=e.defaultLanguage,o=void 0===a?"en":a,s=e.i18nInstance,l=e.initialNavOpen,u=(0,el.useState)({t:function(e){return e},tDateTimeParser:aG,userLanguage:"en"}),d=u[0],p=u[1],f=(0,el.useState)(),m=f[0],g=f[1],v=(0,el.useState)([]),b=v[0],y=v[1],_=(0,el.useState)(l),w=_[0],k=_[1],x=(0,el.useState)({}),E=x[0],F=x[1],C=(null===(t=i.user)||void 0===t?void 0:t.mutes)||[],S=function(){return k(!1)},D=(0,el.useRef)(null);(0,el.useEffect)(function(){if(i){var e=i.getUserAgent();e.includes("stream-chat-react")||i.setUserAgent("stream-chat-react-".concat("10.22.3","-").concat(e))}},[i]),(0,el.useEffect)(function(){y(C);var e=function(e){var t;y((null===(t=e.me)||void 0===t?void 0:t.mutes)||[])};return i.on("notification.mutes_updated",e),function(){return i.off("notification.mutes_updated",e)}},[null==C?void 0:C.length]),(0,el.useEffect)(function(){var e,t=null===(e=i.user)||void 0===e?void 0:e.language;if(!t){var r=window.navigator.language.slice(0,2);t=["de","en","es","fr","hi","it","ja","ko","nl","pt","ru","tr"].some(function(e){return r===e})?r:o}var a=s||new aV({language:t});a.registerSetLanguageCallback(function(e){return p(function(t){return io(io({},t),{t:e})})}),a.getTranslators().then(function(e){p(io(io({},e),{userLanguage:t||o}))})},[s]);var j=(0,el.useCallback)(function(e,t,r){return void 0===t&&(t={}),il(void 0,void 0,void 0,function(){return ic(this,function(i){switch(i.label){case 0:if(r&&r.preventDefault&&r.preventDefault(),!(e&&Object.keys(t).length))return[3,2];return[4,e.query({watch:!0,watchers:t})];case 1:i.sent(),i.label=2;case 2:return g(e),S(),[2]}})})},[]);return(0,el.useEffect)(function(){F({})},[null===(r=i.user)||void 0===r?void 0:r.id]),{channel:m,closeMobileNav:S,getAppSettings:function(){return D.current||(D.current=i.getAppSettings()),D.current},latestMessageDatesByChannels:E,mutes:b,navOpen:w,openMobileNav:function(){return setTimeout(function(){return k(!0)},100)},setActiveChannel:j,translators:d}},aX=function(e){var t,r=e.channel,i=e.channelsQueryState,a=e.client,o=e.closeMobileNav,s=e.customClasses,l=e.getAppSettings,u=e.latestMessageDatesByChannels,d=e.mutes,p=e.navOpen,f=e.openMobileNav,m=e.setActiveChannel,g=e.theme,v=e.themeVersion,b=e.useImageFlagEmojisOnWindows,y=null==r?void 0:r.cid,_=i.error,w=i.queryInProgress,k="".concat(a.clientID).concat(Object.keys(a.activeChannels).length).concat(Object.keys(a.listeners).length).concat(a.mutedChannels.length,"\n ").concat(null===(t=a.user)||void 0===t?void 0:t.id),x=d.length;return(0,el.useMemo)(function(){return{channel:r,channelsQueryState:i,client:a,closeMobileNav:o,customClasses:s,getAppSettings:l,latestMessageDatesByChannels:u,mutes:d,navOpen:p,openMobileNav:f,setActiveChannel:m,theme:g,themeVersion:v,useImageFlagEmojisOnWindows:b}},[y,_,w,k,l,x,p])},aQ=function(){var e=(0,el.useState)(null),t=e[0],r=e[1],i=(0,el.useState)("uninitialized");return{error:t,queryInProgress:i[0],setError:r,setQueryInProgress:i[1]}},a0={"--bg-gradient-end":"#101214","--bg-gradient-start":"#070a0d","--black":"#ffffff","--blue-alice":"#00193d","--border":"#141924","--button-background":"#ffffff","--button-text":"#005fff","--grey":"#7a7a7a","--grey-gainsboro":"#2d2f2f","--grey-whisper":"#1c1e22","--modal-shadow":"#000000","--overlay":"#00000066","--overlay-dark":"#ffffffcc","--shadow-icon":"#00000080","--targetedMessageBackground":"#302d22","--transparent":"transparent","--white":"#101418","--white-smoke":"#13151b","--white-snow":"#070a0d"},a1=function(e){if(e)for(var t=0,r=Object.entries(e);t-1&&i.channel?(e[u].data=io(io({},i.channel),{hidden:null!==(r=null===(t=i.channel)||void 0===t?void 0:t.hidden)&&void 0!==r?r:null===(a=e[u].data)||void 0===a?void 0:a.hidden,own_capabilities:null!==(s=null===(o=i.channel)||void 0===o?void 0:o.own_capabilities)&&void 0!==s?s:null===(l=e[u].data)||void 0===l?void 0:l.own_capabilities}),ip([],e,!0)):e}),r&&r(),t&&"function"==typeof t&&t(e,i)};return i.on("channel.updated",a),function(){i.off("channel.updated",a)}},[t])},oo=r(88807),os=r.n(oo),ol={},oc=function(e){var t=e.channel,r=e.client,i=e.id,a=e.members,o=e.options,s=e.type;return il(void 0,void 0,void 0,function(){var e,l,u;return ic(this,function(d){switch(d.label){case 0:if(!t&&!s)throw Error("Channel or channel type have to be provided to query a channel.");if(!(l=(null==(e=t||r.channel(s,i,{members:a}))?void 0:e.id)?e.cid:a&&a.length?ou(e.type,a):void 0))throw Error("Channel ID or channel members array have to be provided to query a channel.");if(!(u=ol[l]))return[3,2];return[4,u];case 1:return d.sent(),[3,4];case 2:return ol[l]=e.watch(o),[4,ol[l]];case 3:d.sent(),delete ol[l],d.label=4;case 4:return[2,e]}})})},ou=function(e,t){if(t){var r=ip([],t,!0).sort().join(",");return"".concat(e,":!members-").concat(r)}},od=function(e,t){var r=a4("useChannelVisibleListener").client;(0,el.useEffect)(function(){var i=function(i){return il(void 0,void 0,void 0,function(){var a;return ic(this,function(o){switch(o.label){case 0:if(!(t&&"function"==typeof t))return[3,1];return t(e,i),[3,3];case 1:if(!(i.type&&i.channel_type&&i.channel_id))return[3,3];return[4,oc({client:r,id:i.channel_id,type:i.channel_type})];case 2:a=o.sent(),e(function(e){return os()(ip([a],e,!0),"cid")}),o.label=3;case 3:return[2]}})})};return r.on("channel.visible",i),function(){r.off("channel.visible",i)}},[t])},op=function(e){var t=a4("useConnectionRecoveredListener").client;(0,el.useEffect)(function(){var r=function(){e&&e()};return t.on("connection.recovered",r),function(){t.off("connection.recovered",r)}},[])},of=function(e){var t=e.activeChannel,r=e.channels,i=e.cid,a=r.findIndex(function(e){return e.cid===i});if(!t&&a<=0)return r;var o=t||r[a];return os()(ip([o],r,!0),"cid")},oh=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0);var i=a4("useMessageNewListener").client;(0,el.useEffect)(function(){var a=function(a){e(function(e){if(!(e.filter(function(e){return e.cid===a.cid}).length>0)&&r&&a.channel_type){var o=i.channel(a.channel_type,a.channel_id);return os()(ip([o],e,!0),"cid")}return t?e:of({channels:e,cid:a.cid||""})})};return i.on("message.new",a),function(){i.off("message.new",a)}},[t])},om=function(e,t,r){(0,el.useEffect)(function(){var i=function(i){r&&e.current&&!e.current.contains(i.target)&&t&&r()};return document.addEventListener("click",i),function(){document.removeEventListener("click",i)}},[e,r,t])},og=function(e,t,r){void 0===r&&(r=!0);var i=a4("useNotificationAddedToChannelListener").client;(0,el.useEffect)(function(){var a=function(a){return il(void 0,void 0,void 0,function(){var o,s,l;return ic(this,function(u){switch(u.label){case 0:if(!(t&&"function"==typeof t))return[3,1];return t(e,a),[3,3];case 1:if(!(r&&(null===(s=a.channel)||void 0===s?void 0:s.type)))return[3,3];return[4,oc({client:i,id:a.channel.id,members:null===(l=a.channel.members)||void 0===l?void 0:l.reduce(function(e,t){var r=t.user,i=t.user_id||(null==r?void 0:r.id);return i&&e.push(i),e},[]),type:a.channel.type})];case 2:o=u.sent(),e(function(e){return os()(ip([o],e,!0),"cid")}),u.label=3;case 3:return[2]}})})};return i.on("notification.added_to_channel",a),function(){i.off("notification.added_to_channel",a)}},[t])},ov=function(e,t,r){void 0===r&&(r=!0);var i=a4("useNotificationMessageNewListener").client;(0,el.useEffect)(function(){var a=function(a){return il(void 0,void 0,void 0,function(){var o,s;return ic(this,function(l){switch(l.label){case 0:if(!(t&&"function"==typeof t))return[3,1];return t(e,a),[3,3];case 1:if(!(r&&(null===(s=a.channel)||void 0===s?void 0:s.type)))return[3,3];return[4,oc({client:i,id:a.channel.id,type:a.channel.type})];case 2:o=l.sent(),e(function(e){return os()(ip([o],e,!0),"cid")}),l.label=3;case 3:return[2]}})})};return i.on("notification.message_new",a),function(){i.off("notification.message_new",a)}},[t])},ob=function(e,t){var r=a4("useNotificationRemovedFromChannelListener").client;(0,el.useEffect)(function(){var i=function(r){t&&"function"==typeof t?t(e,r):e(function(e){return e.filter(function(e){var t;return e.cid!==(null===(t=r.channel)||void 0===t?void 0:t.cid)})})};return r.on("notification.removed_from_channel",i),function(){r.off("notification.removed_from_channel",i)}},[t])},oy=function(e,t,r,i,a,o){void 0===o&&(o=5e3);var s=a4("usePaginatedChannels").channelsQueryState,l=s.error,u=s.setError,d=s.setQueryInProgress,p=(0,el.useState)([]),f=p[0],m=p[1],g=(0,el.useState)(!0),v=g[0],b=g[1],y=(0,el.useRef)(),_=o<2e3?2e3:o||5e3,w=(0,el.useMemo)(function(){return JSON.stringify(t)},[t]),k=(0,el.useMemo)(function(){return JSON.stringify(r)},[r]),x=function(o){return il(void 0,void 0,void 0,function(){var s,l,p,g,v,y;return ic(this,function(_){switch(_.label){case 0:u(null),"reload"===o?(m([]),d("reload")):d("load-more"),s="reload"===o?0:f.length,l=io({limit:null!==(y=null==i?void 0:i.limit)&&void 0!==y?y:30,offset:s},i),_.label=1;case 1:return _.trys.push([1,3,,4]),[4,e.queryChannels(t,r||{},l)];case 2:return p=_.sent(),m(g="reload"===o?p:os()(ip(ip([],f,!0),p,!0),"cid")),b(p.length>=l.limit),!s&&a&&a(g,m),[3,4];case 3:return console.warn(v=_.sent()),u(v),[3,4];case 4:return d(null),[2]}})})},E=(0,el.useCallback)(function(){var e=Date.now(),t=!y.current,r=y.current?e-y.current:0;(t||!(r<_)||l)&&(y.current=e,x("reload"))},[l,x,_]);return(0,el.useEffect)(function(){if(!e.recoverStateOnReconnect){var t=e.on("connection.recovered",E).unsubscribe;return function(){t()}}},[e,E]),(0,el.useEffect)(function(){x("reload")},[w,k]),{channels:f,hasNextPage:v,loadNextPage:function(){x()},setChannels:m}},o_=function(e){var t=a4("useUserPresenceChangedListener").client;(0,el.useEffect)(function(){var r=function(t){e(function(e){return ip([],e.map(function(e){var r;return(null===(r=t.user)||void 0===r?void 0:r.id)&&e.state.members[t.user.id]&&(e.state.members[t.user.id].user=t.user),e}),!0)})};return t.on("user.presence.changed",r),function(){t.off("user.presence.changed",r)}},[])},ow=function(e,t){var r=e.charCodeAt(t);if(Number.isNaN(r))return"";if(r<55296||r>57343)return e.charAt(t);if(55296<=r&&r<=56319){if(e.length<=t+1)throw"High surrogate without following low surrogate";var i=e.charCodeAt(t+1);if(56320>i||i>57343)throw"High surrogate without following low surrogate";return e.charAt(t)+e.charAt(t+1)}if(0===t)throw"Low surrogate without preceding high surrogate";var a=e.charCodeAt(t-1);if(55296>a||a>56319)throw"Low surrogate without preceding high surrogate";return""},ok=function(e){var t=e.image,r=e.name,i=e.onClick,a=e.onMouseOver,o=e.shape,s=e.size,l=void 0===s?32:s,u=(0,el.useState)(!1),d=u[0],p=u[1],f=(0,el.useState)(!1),m=f[0],g=f[1];(0,el.useEffect)(function(){p(!1),g(!1)},[t]);var v=ow((null==r?void 0:r.toString())||"",0);return ec().createElement("div",{className:"str-chat__avatar str-chat__avatar--".concat(void 0===o?"circle":o," str-chat__message-sender-avatar"),"data-testid":"avatar",onClick:void 0===i?function(){}:i,onMouseOver:void 0===a?function(){}:a,style:{flexBasis:"".concat(l,"px"),fontSize:"".concat(l/2,"px"),height:"".concat(l,"px"),lineHeight:"".concat(l,"px"),width:"".concat(l,"px")},title:r},t&&!d?ec().createElement("img",{alt:v,className:"str-chat__avatar-image".concat(m?" str-chat__avatar-image--loaded":""),"data-testid":"avatar-img",onError:function(){return p(!0)},onLoad:function(){return g(!0)},src:t,style:{flexBasis:"".concat(l,"px"),height:"".concat(l,"px"),objectFit:"cover",width:"".concat(l,"px")}}):ec().createElement("div",{className:"str-chat__avatar-fallback","data-testid":"avatar-fallback"},v))},ox=ec().memo(function(e){var t,r,i=e.active,a=e.Avatar,o=e.channel,s=e.className,l=e.displayImage,u=e.displayTitle,d=e.latestMessage,p=e.onSelect,f=e.setActiveChannel,m=e.unread,g=e.watchers,v=(0,el.useRef)(null),b=u||(null===(r=null===(t=o.state.messages[o.state.messages.length-1])||void 0===t?void 0:t.user)||void 0===r?void 0:r.id);return ec().createElement("button",{"aria-label":"Select Channel: ".concat(u||""),"aria-selected":i,className:a5("str-chat__channel-preview-messenger str-chat__channel-preview",i&&"str-chat__channel-preview-messenger--active",m&&m>=1&&"str-chat__channel-preview-messenger--unread",void 0===s?"":s),"data-testid":"channel-preview-button",onClick:function(e){p?p(e):f&&f(o,g),(null==v?void 0:v.current)&&v.current.blur()},ref:v,role:"option"},ec().createElement("div",{className:"str-chat__channel-preview-messenger--left"},ec().createElement(void 0===a?ok:a,{image:l,name:b,size:40})),ec().createElement("div",{className:"str-chat__channel-preview-messenger--right str-chat__channel-preview-end"},ec().createElement("div",{className:"str-chat__channel-preview-end-first-row"},ec().createElement("div",{className:"str-chat__channel-preview-messenger--name"},ec().createElement("span",null,u)),!!m&&ec().createElement("div",{className:"str-chat__channel-preview-unread-badge","data-testid":"unread-badge"},m)),ec().createElement("div",{className:"str-chat__channel-preview-messenger--last-message"},d)))}),oE=function(e){var t=a4("useIsChannelMuted").client,r=(0,el.useState)(e.muteStatus()),i=r[0],a=r[1];return(0,el.useEffect)(function(){var r=function(){return a(e.muteStatus())};return t.on("notification.channel_mutes_updated",r),function(){return t.off("notification.channel_mutes_updated",r)}},[i]),i},oF=r(98238);function oC(e){return e&&"object"==typeof e?"position"in e||"type"in e?oD(e.position):"start"in e||"end"in e?oD(e):"line"in e||"column"in e?oS(e):"":""}function oS(e){return oj(e&&e.line)+":"+oj(e&&e.column)}function oD(e){return oS(e&&e.start)+"-"+oS(e&&e.end)}function oj(e){return e&&"number"==typeof e?e:1}class oT extends Error{constructor(e,t,r){let i=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){let e=r.indexOf(":");-1===e?i[1]=r:(i[0]=r.slice(0,e),i[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(a=t.position):"start"in t||"end"in t?a=t:("line"in t||"column"in t)&&(a.start=t)),this.name=oC(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}oT.prototype.file="",oT.prototype.name="",oT.prototype.reason="",oT.prototype.message="",oT.prototype.stack="",oT.prototype.fatal=null,oT.prototype.column=null,oT.prototype.line=null,oT.prototype.source=null,oT.prototype.ruleId=null,oT.prototype.position=null;var oO=r(71017);let oP=require("process");function oR(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let oM=["history","path","basename","stem","extname","dirname"];class oL{constructor(e){let t,r;t=e?"string"==typeof e||oF(e)?{value:e}:oR(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=oP.cwd(),this.value,this.stored,this.result,this.map;let i=-1;for(;++it.length;s&&t.push(i);try{o=e.apply(this,t)}catch(e){if(s&&r)throw e;return i(e)}s||(o&&o.then&&"function"==typeof o.then?o.then(a,i):o instanceof Error?i(o):a(o))};function i(e,...a){r||(r=!0,t(e,...a))}function a(e){i(null,e)}})(l,a)(...s):i(null,...s)})(null,...t)},use:function(r){if("function"!=typeof r)throw TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}(),i=[],a={},o=-1;return s.data=function(e,r){return"string"==typeof e?2==arguments.length?(oG("data",t),a[e]=r,s):oq.call(a,e)&&a[e]||null:e?(oG("data",t),a=e,s):a},s.Parser=void 0,s.Compiler=void 0,s.freeze=function(){if(t)return s;for(;++o{if(!e&&t&&r){let i=s.stringify(t,r);null==i||("string"==typeof i||oF(i)?r.value=i:r.result=i),o(e,r)}else o(e)})}r(null,t)},s.processSync=function(e){let t;s.freeze(),oW("processSync",s.Parser),o$("processSync",s.Compiler);let r=oZ(e);return s.process(r,function(e){t=!0,oB(e)}),oK("processSync","process",t),r},s;function s(){let t=e(),r=-1;for(;++ro?0:o+t:t>o?o:t,r=r>0?r:0,i.length<1e4)(a=Array.from(i)).unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);s0?(o0(e,e.length,0,t),e):t}let o2={}.hasOwnProperty;function o3(e){let t={},r=-1;for(;++ri))return;let l=a.events.length,u=l;for(;u--;)if("exit"===a.events[u][0]&&"chunkFlow"===a.events[u][1].type){if(e){r=a.events[u][1].end;break}e=!0}for(y(s),o=l;ot;){let t=o[r];a.containerState=t[1],t[0].exit.call(a,e)}o.length=t}function _(){t.write([null]),r=void 0,t=void 0,a.containerState._closeFlow=void 0}}},su={tokenize:function(e,t,r){return ss(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},sd={tokenize:function(e,t,r){return function(t){return sr(t)?ss(e,i,"linePrefix")(t):i(t)};function i(e){return null===e||st(e)?t(e):r(e)}},partial:!0};function sp(e){let t,r,i,a,o,s,l;let u={},d=-1;for(;++d=4?t(a):e.interrupt(i.parser.constructs.flow,r,t)(a)}},partial:!0},sm={tokenize:function(e){let t=this,r=e.attempt(sd,function(i){if(null===i){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r},e.attempt(this.parser.constructs.flowInitial,i,ss(e,e.attempt(this.parser.constructs.flow,i,e.attempt(sf,i)),"linePrefix")));return r;function i(i){if(null===i){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}},sg={resolveAll:s_()},sv=sy("string"),sb=sy("text");function sy(e){return{tokenize:function(t){let r=this,i=this.parser.constructs[e],a=t.attempt(i,o,s);return o;function o(e){return u(e)?a(e):s(e)}function s(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return u(e)?(t.exit("data"),a(e)):(t.consume(e),l)}function u(e){if(null===e)return!0;let t=i[e],a=-1;if(t)for(;++a=3&&(null===s||st(s))?(e.exit("thematicBreak"),t(s)):r(s)}(o)}}},sE={name:"list",tokenize:function(e,t,r){let i=this,a=i.events[i.events.length-1],o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,s=0;return function(t){let a=i.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!i.containerState.marker||t===i.containerState.marker:o9(t)){if(i.containerState.type||(i.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(sx,r,l)(t):l(t);if(!i.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return o9(a)&&++s<10?(e.consume(a),t):(!i.interrupt||s<2)&&(i.containerState.marker?a===i.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),l(a)):r(a)}(t)}return r(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||t,e.check(sd,i.interrupt?r:u,e.attempt(sF,p,d))}function u(e){return i.containerState.initialBlankLine=!0,o++,p(e)}function d(t){return sr(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):r(t)}function p(r){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){let i=this;return i.containerState._closeFlow=void 0,e.check(sd,function(r){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,ss(e,t,"listItemIndent",i.containerState.size+1)(r)},function(r){return i.containerState.furtherBlankLines||!sr(r)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(r)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(sC,t,a)(r))});function a(a){return i.containerState._closeFlow=!0,i.interrupt=void 0,ss(e,e.attempt(sE,t,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},sF={tokenize:function(e,t,r){let i=this;return ss(e,function(e){let a=i.events[i.events.length-1];return!sr(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):r(e)},"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},sC={tokenize:function(e,t,r){let i=this;return ss(e,function(e){let a=i.events[i.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?t(e):r(e)},"listItemIndent",i.containerState.size+1)},partial:!0},sS={name:"blockQuote",tokenize:function(e,t,r){let i=this;return function(t){if(62===t){let r=i.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return r(t)};function a(r){return sr(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){let i=this;return function(t){return sr(t)?ss(e,a,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(i){return e.attempt(sS,t,r)(i)}}},exit:function(e){e.exit("blockQuote")}};function sD(e,t,r,i,a,o,s,l,u){let d=u||Number.POSITIVE_INFINITY,p=0;return function(t){return 60===t?(e.enter(i),e.enter(a),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||o8(t)?r(t):(e.enter(i),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),v(t))};function f(r){return 62===r?(e.enter(o),e.consume(r),e.exit(o),e.exit(a),e.exit(i),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),m(r))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||st(t)?r(t):(e.consume(t),92===t?g:m)}function g(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function v(a){return!p&&(null===a||41===a||sn(a))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(i),t(a)):p999||null===f||91===f||93===f&&!s||94===f&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?r(f):93===f?(e.exit(o),e.enter(a),e.consume(f),e.exit(a),e.exit(i),t):st(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(f))}function p(t){return null===t||91===t||93===t||st(t)||u++>999?(e.exit("chunkString"),d(t)):(e.consume(t),s||(s=!sr(t)),92===t?f:p)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,p):p(t)}}function sT(e,t,r,i,a,o){let s;return function(t){return 34===t||39===t||40===t?(e.enter(i),e.enter(a),e.consume(t),e.exit(a),s=40===t?41:t,l):r(t)};function l(r){return r===s?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),t):(e.enter(o),u(r))}function u(t){return t===s?(e.exit(o),l(s)):null===t?r(t):st(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ss(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return t===s||null===t||st(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?p:d)}function p(t){return t===s||92===t?(e.consume(t),d):d(t)}}function sO(e,t){let r;return function i(a){return st(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,i):sr(a)?ss(e,i,r?"linePrefix":"lineSuffix")(a):t(a)}}function sP(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let sR={tokenize:function(e,t,r){return function(t){return sn(t)?sO(e,i)(t):r(t)};function i(t){return sT(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return sr(t)?ss(e,o,"whitespace")(t):o(t)}function o(e){return null===e||st(e)?t(e):r(e)}},partial:!0},sM={name:"codeIndented",tokenize:function(e,t,r){let i=this;return function(t){return e.enter("codeIndented"),ss(e,a,"linePrefix",5)(t)};function a(t){let a=i.events[i.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(r){return null===r?o(r):st(r)?e.attempt(sL,t,o)(r):(e.enter("codeFlowValue"),function r(i){return null===i||st(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),r)}(r))}(t):r(t)}function o(r){return e.exit("codeIndented"),t(r)}}},sL={tokenize:function(e,t,r){let i=this;return a;function a(t){return i.parser.lazy[i.now().line]?r(t):st(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):ss(e,o,"linePrefix",5)(t)}function o(e){let o=i.events[i.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):st(e)?a(e):r(e)}},partial:!0},sA={name:"setextUnderline",tokenize:function(e,t,r){let i;let a=this;return function(t){let s,l=a.events.length;for(;l--;)if("lineEnding"!==a.events[l][1].type&&"linePrefix"!==a.events[l][1].type&&"content"!==a.events[l][1].type){s="paragraph"===a.events[l][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||s)?(e.enter("setextHeadingLine"),i=t,e.enter("setextHeadingLineSequence"),function t(r){return r===i?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),sr(r)?ss(e,o,"lineSuffix")(r):o(r))}(t)):r(t)};function o(i){return null===i||st(i)?(e.exit("setextHeadingLine"),t(i)):r(i)}},resolveTo:function(e,t){let r,i,a,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(i=o)}else"content"===e[o][1].type&&e.splice(o,1),a||"definition"!==e[o][1].type||(a=o);let s={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=s,e.push(["exit",s,t]),e}},sI=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],sN=["pre","script","style","textarea"],sB={tokenize:function(e,t,r){return function(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(sd,t,r)}},partial:!0},sU={tokenize:function(e,t,r){let i=this;return function(t){return st(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):r(t)};function a(e){return i.parser.lazy[i.now().line]?r(e):t(e)}},partial:!0},sz={tokenize:function(e,t,r){let i=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return i.parser.lazy[i.now().line]?r(e):t(e)}},partial:!0},sH={name:"codeFenced",tokenize:function(e,t,r){let i;let a=this,o={tokenize:function(e,t,r){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),sr(t)?ss(e,u,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===i?(e.enter("codeFencedFenceSequence"),function t(a){return a===i?(o++,e.consume(a),t):o>=l?(e.exit("codeFencedFenceSequence"),sr(a)?ss(e,d,"whitespace")(a):d(a)):r(a)}(t)):r(t)}function d(i){return null===i||st(i)?(e.exit("codeFencedFence"),t(i)):r(i)}},partial:!0},s=0,l=0;return function(t){return function(t){let o=a.events[a.events.length-1];return s=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===i?(l++,e.consume(a),t):l<3?r(a):(e.exit("codeFencedFenceSequence"),sr(a)?ss(e,u,"whitespace")(a):u(a))}(t)}(t)};function u(o){return null===o||st(o)?(e.exit("codeFencedFence"),a.interrupt?t(o):e.check(sz,p,v)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||st(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(a)):sr(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ss(e,d,"whitespace")(a)):96===a&&a===i?r(a):(e.consume(a),t)}(o))}function d(t){return null===t||st(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||st(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(a)):96===a&&a===i?r(a):(e.consume(a),t)}(t))}function p(t){return e.attempt(o,v,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&sr(t)?ss(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||st(t)?e.check(sz,p,v)(t):(e.enter("codeFlowValue"),function t(r){return null===r||st(r)?(e.exit("codeFlowValue"),g(r)):(e.consume(r),t)}(t))}function v(r){return e.exit("codeFenced"),t(r)}},concrete:!0},sq={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"⁡",Aring:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"\xcc",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",Mopf:"\uD835\uDD44",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"\uD835\uDD11",NoBreak:"⁠",NonBreakingSpace:"\xa0",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",REG:"\xae",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"\uD835\uDD16",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"\uD835\uDCAE",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"\xde",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acute:"\xb4",acy:"а",aelig:"\xe6",af:"⁡",afr:"\uD835\uDD1E",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",aopf:"\uD835\uDD52",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",auml:"\xe4",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",cfr:"\uD835\uDD20",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"\xae",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"\uD835\uDD54",coprod:"∐",copy:"\xa9",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"\xea",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"\xed",ic:"⁣",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"\xab",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",mp:"∓",mscr:"\uD835\uDCC2",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"\uD835\uDD5F",not:"\xac",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"\xf3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimes:"⊗",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qint:"⨌",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"\uD835\uDCC7",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",tilde:"˜",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"\xfa",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"\xa8",uogon:"ų",uopf:"\uD835\uDD66",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"},sV={}.hasOwnProperty;function sW(e){return!!sV.call(sq,e)&&sq[e]}let s$={name:"characterReference",tokenize:function(e,t,r){let i,a;let o=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,a=o6,d(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=o7,d):(e.enter("characterReferenceValue"),i=7,a=o9,d(t))}function d(l){if(59===l&&s){let i=e.exit("characterReferenceValue");return a!==o6||sW(o.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(l)}return a(l)&&s++1&&e[p][1].end.offset-e[p][1].start.offset>1?2:1;let f=Object.assign({},e[r][1].end),m=Object.assign({},e[p][1].start);s2(f,-l),s2(m,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[p][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[p][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[p][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=o1(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=o1(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=o1(u,sk(t.parser.constructs.insideSpan.null,e.slice(r+1,p),t)),u=o1(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[p][1].end.offset-e[p][1].start.offset?(d=2,u=o1(u,[["enter",e[p][1],t],["exit",e[p][1],t]])):d=0,o0(e,r-1,p-r+3,u),p=r+u.length-d-2;break}}for(p=-1;++po&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4),a>o&&(r={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},i={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},o0(e,o,a-o+1,[["enter",r,t],["enter",i,t],["exit",i,t],["exit",r,t]])),e}},42:sx,45:[sA,sx],60:{name:"htmlFlow",tokenize:function(e,t,r){let i,a,o,s,l;let u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),d};function d(s){return 33===s?(e.consume(s),p):47===s?(e.consume(s),a=!0,g):63===s?(e.consume(s),i=3,u.interrupt?t:L):o4(s)?(e.consume(s),o=String.fromCharCode(s),v):r(s)}function p(a){return 45===a?(e.consume(a),i=2,f):91===a?(e.consume(a),i=5,s=0,m):o4(a)?(e.consume(a),i=4,u.interrupt?t:L):r(a)}function f(i){return 45===i?(e.consume(i),u.interrupt?t:L):r(i)}function m(i){let a="CDATA[";return i===a.charCodeAt(s++)?(e.consume(i),s===a.length)?u.interrupt?t:S:m:r(i)}function g(t){return o4(t)?(e.consume(t),o=String.fromCharCode(t),v):r(t)}function v(s){if(null===s||47===s||62===s||sn(s)){let l=47===s,d=o.toLowerCase();return!l&&!a&&sN.includes(d)?(i=1,u.interrupt?t(s):S(s)):sI.includes(o.toLowerCase())?(i=6,l)?(e.consume(s),b):u.interrupt?t(s):S(s):(i=7,u.interrupt&&!u.parser.lazy[u.now().line]?r(s):a?function t(r){return sr(r)?(e.consume(r),t):F(r)}(s):y(s))}return 45===s||o6(s)?(e.consume(s),o+=String.fromCharCode(s),v):r(s)}function b(i){return 62===i?(e.consume(i),u.interrupt?t:S):r(i)}function y(t){return 47===t?(e.consume(t),F):58===t||95===t||o4(t)?(e.consume(t),_):sr(t)?(e.consume(t),y):F(t)}function _(t){return 45===t||46===t||58===t||95===t||o6(t)?(e.consume(t),_):w(t)}function w(t){return 61===t?(e.consume(t),k):sr(t)?(e.consume(t),w):y(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),l=t,x):sr(t)?(e.consume(t),k):function t(r){return null===r||34===r||39===r||47===r||60===r||61===r||62===r||96===r||sn(r)?w(r):(e.consume(r),t)}(t)}function x(t){return t===l?(e.consume(t),l=null,E):null===t||st(t)?r(t):(e.consume(t),x)}function E(e){return 47===e||62===e||sr(e)?y(e):r(e)}function F(t){return 62===t?(e.consume(t),C):r(t)}function C(t){return null===t||st(t)?S(t):sr(t)?(e.consume(t),C):r(t)}function S(t){return 45===t&&2===i?(e.consume(t),O):60===t&&1===i?(e.consume(t),P):62===t&&4===i?(e.consume(t),A):63===t&&3===i?(e.consume(t),L):93===t&&5===i?(e.consume(t),M):st(t)&&(6===i||7===i)?(e.exit("htmlFlowData"),e.check(sB,I,D)(t)):null===t||st(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),S)}function D(t){return e.check(sU,j,I)(t)}function j(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||st(t)?D(t):(e.enter("htmlFlowData"),S(t))}function O(t){return 45===t?(e.consume(t),L):S(t)}function P(t){return 47===t?(e.consume(t),o="",R):S(t)}function R(t){if(62===t){let r=o.toLowerCase();return sN.includes(r)?(e.consume(t),A):S(t)}return o4(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),R):S(t)}function M(t){return 93===t?(e.consume(t),L):S(t)}function L(t){return 62===t?(e.consume(t),A):45===t&&2===i?(e.consume(t),L):S(t)}function A(t){return null===t||st(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),A)}function I(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:sA,95:sx,96:sH,126:sH},s9={38:s$,92:sG},s7={[-5]:sY,[-4]:sY,[-3]:sY,33:sQ,38:s$,42:s1,60:[{name:"autolink",tokenize:function(e,t,r){let i=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return o4(t)?(e.consume(t),o):l(t)}function o(t){return 43===t||45===t||46===t||o6(t)?(i=1,function t(r){return 58===r?(e.consume(r),i=0,s):(43===r||45===r||46===r||o6(r))&&i++<32?(e.consume(r),t):(i=0,l(r))}(t)):l(t)}function s(i){return 62===i?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):null===i||32===i||60===i||o8(i)?r(i):(e.consume(i),s)}function l(t){return 64===t?(e.consume(t),u):o5(t)?(e.consume(t),l):r(t)}function u(a){return o6(a)?function a(o){return 46===o?(e.consume(o),i=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||o6(o))&&i++<63){let r=45===o?t:a;return e.consume(o),r}return r(o)}(o)}(a):r(a)}}},{name:"htmlText",tokenize:function(e,t,r){let i,a,o;let s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),x):63===t?(e.consume(t),w):o4(t)?(e.consume(t),F):r(t)}function u(t){return 45===t?(e.consume(t),d):91===t?(e.consume(t),a=0,g):o4(t)?(e.consume(t),_):r(t)}function d(t){return 45===t?(e.consume(t),m):r(t)}function p(t){return null===t?r(t):45===t?(e.consume(t),f):st(t)?(o=p,R(t)):(e.consume(t),p)}function f(t){return 45===t?(e.consume(t),m):p(t)}function m(e){return 62===e?P(e):45===e?f(e):p(e)}function g(t){let i="CDATA[";return t===i.charCodeAt(a++)?(e.consume(t),a===i.length?v:g):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):st(t)?(o=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),y):v(t)}function y(t){return 62===t?P(t):93===t?(e.consume(t),y):v(t)}function _(t){return null===t||62===t?P(t):st(t)?(o=_,R(t)):(e.consume(t),_)}function w(t){return null===t?r(t):63===t?(e.consume(t),k):st(t)?(o=w,R(t)):(e.consume(t),w)}function k(e){return 62===e?P(e):w(e)}function x(t){return o4(t)?(e.consume(t),E):r(t)}function E(t){return 45===t||o6(t)?(e.consume(t),E):function t(r){return st(r)?(o=t,R(r)):sr(r)?(e.consume(r),t):P(r)}(t)}function F(t){return 45===t||o6(t)?(e.consume(t),F):47===t||62===t||sn(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),P):58===t||95===t||o4(t)?(e.consume(t),S):st(t)?(o=C,R(t)):sr(t)?(e.consume(t),C):P(t)}function S(t){return 45===t||46===t||58===t||95===t||o6(t)?(e.consume(t),S):function t(r){return 61===r?(e.consume(r),D):st(r)?(o=t,R(r)):sr(r)?(e.consume(r),t):C(r)}(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),i=t,j):st(t)?(o=D,R(t)):sr(t)?(e.consume(t),D):(e.consume(t),T)}function j(t){return t===i?(e.consume(t),i=void 0,O):null===t?r(t):st(t)?(o=j,R(t)):(e.consume(t),j)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||sn(t)?C(t):(e.consume(t),T)}function O(e){return 47===e||62===e||sn(e)?C(e):r(e)}function P(i){return 62===i?(e.consume(i),e.exit("htmlTextData"),e.exit("htmlText"),t):r(i)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return sr(t)?ss(e,L,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),o(t)}}}],91:s3,92:[{name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),i};function i(i){return st(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}},sG],93:sK,95:s1,96:{name:"codeText",tokenize:function(e,t,r){let i,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(r){return 96===r?(e.consume(r),o++,t):(e.exit("codeTextSequence"),s(r))}(t)};function s(u){return null===u?r(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),s):96===u?(a=e.enter("codeTextSequence"),i=0,function r(s){return 96===s?(e.consume(s),i++,r):i===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(a.type="codeTextData",l(s))}(u)):st(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(u))}function l(t){return null===t||32===t||96===t||st(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}},resolve:function(e){let t,r,i=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[i][1].type||"space"===e[i][1].type)){for(t=a;++t13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(65535&r)==65535||(65535&r)==65534||r>1114111?"�":String.fromCharCode(r)}let la=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function lo(e){return e.replace(la,ls)}function ls(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){let e=r.charCodeAt(1),t=120===e||88===e;return li(r.slice(t?2:1),t?16:10)}return sW(r)||e}let ll={}.hasOwnProperty,lc=function(e,t,r){let i,a,o,s;return"string"!=typeof t&&(r=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(k),autolinkProtocol:f,autolinkEmail:f,atxHeading:o(y),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:o(b),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(b,s),codeText:o(function(){return{type:"inlineCode",value:""}},s),codeTextData:f,data:f,codeFlowValue:f,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(_),hardBreakTrailing:o(_),htmlFlow:o(w,s),htmlFlowData:f,htmlText:o(w,s),htmlTextData:f,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:s,link:o(k),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){r.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),r.expectingFirstListItemValue=void 0)},listOrdered:o(x,function(){r.expectingFirstListItemValue=!0}),listUnordered:o(x),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){r.referenceType="collapsed"},referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(y),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:u(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let r=this.sliceSerialize(e).length;t.depth=r}},autolink:u(),autolinkEmail:function(e){m.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:u(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:v,characterReferenceMarkerNumeric:v,characterReferenceValue:function(e){let t;let i=this.sliceSerialize(e),a=r.characterReferenceType;a?(t=li(i,"characterReferenceMarkerNumeric"===a?10:16),r.characterReferenceType=void 0):t=sW(i);let o=this.stack.pop();o.value+=t,o.position.end=lu(e.end)},codeFenced:u(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),r.flowCodeInside=void 0}),codeFencedFence:function(){!r.flowCodeInside&&(this.buffer(),r.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:m,codeIndented:u(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:u(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:m,data:m,definition:u(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=sP(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:u(),hardBreakEscape:u(g),hardBreakTrailing:u(g),htmlFlow:u(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:m,htmlText:u(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:m,image:u(function(){let e=this.stack[this.stack.length-1];if(r.inReference){let t=r.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;r.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),i=this.stack[this.stack.length-1];if(r.inReference=!0,"link"===i.type){let t=e.children;i.children=t}else i.alt=t},labelText:function(e){let t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=lo(t),r.identifier=sP(t).toLowerCase()},lineEnding:function(e){let i=this.stack[this.stack.length-1];if(r.atHardBreak){i.children[i.children.length-1].position.end=lu(e.end),r.atHardBreak=void 0;return}!r.setextHeadingSlurpLineEnding&&t.canContainEols.includes(i.type)&&(f.call(this,e),m.call(this,e))},link:u(function(){let e=this.stack[this.stack.length-1];if(r.inReference){let t=r.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;r.referenceType=void 0}),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:function(e){let t=this.resume(),i=this.stack[this.stack.length-1];i.label=t,i.identifier=sP(this.sliceSerialize(e)).toLowerCase(),r.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){r.inReference=void 0},setextHeading:u(function(){r.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){r.setextHeadingSlurpLineEnding=!0},strong:u(),thematicBreak:u()}};(function e(t,r){let i=-1;for(;++i0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||ld).call(o,void 0,e[0])}for(r.position={start:lu(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:lu(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f-1){let e=r[0];"string"==typeof e?r[0]=e.slice(a):r.shift()}s>0&&r.push(e[o].slice(0,s))}return r}(s,e)}function m(){let{line:e,column:t,offset:r,_index:a,_bufferIndex:o}=i;return{line:e,column:t,offset:r,_index:a,_bufferIndex:o}}function g(e,t){t.restore()}function v(e,t){return function(r,a,o){let s,p,f,g;return Array.isArray(r)?v(r):"tokenize"in r?v([r]):function(e){let t=null!==e&&r[e],i=null!==e&&r.null;return v([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(i)?i:i?[i]:[]])(e)};function v(e){return(s=e,p=0,0===e.length)?o:b(e[p])}function b(e){return function(r){return(g=function(){let e=m(),t=d.previous,r=d.currentConstruct,a=d.events.length,o=Array.from(l);return{restore:function(){i=e,d.previous=t,d.currentConstruct=r,d.events.length=a,l=o,y()},from:a}}(),f=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name))?w(r):e.tokenize.call(t?Object.assign(Object.create(d),t):d,u,_,w)(r)}}function _(t){return e(f,g),a}function w(e){return(g.restore(),++plc(t,Object.assign({},this.data("settings"),e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))})}function lf(e){let t=[],r=-1,i=0,a=0;for(;++r55295&&o<57344){let t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),a=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(i,r),encodeURIComponent(s)),i=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(i)}let lh=function(e){if(null==e)return lg;if("string"==typeof e)return lm(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r":"")+"\x1b[39m)"})}return p;function p(){var d;let p,f,m,g=[];if((!t||a(s,l,u[u.length-1]||null))&&!1===(g=Array.isArray(d=r(s,u))?d:"number"==typeof d?[!0,d]:[d])[0])return g;if(s.children&&"skip"!==g[0])for(f=(i?s.children.length:-1)+o,m=u.concat(s);f>-1&&f-1?r.offset:null}}}let lk={}.hasOwnProperty;function lx(e){return String(e||"").toUpperCase()}function lE(e,t){let r;let i=String(t.identifier).toUpperCase(),a=lf(i.toLowerCase()),o=e.footnoteOrder.indexOf(i);-1===o?(e.footnoteOrder.push(i),e.footnoteCounts[i]=1,r=e.footnoteOrder.length):(e.footnoteCounts[i]++,r=o+1);let s=e.footnoteCounts[i],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function lF(e,t){let r=t.referenceType,i="]";if("collapsed"===r?i+="[]":"full"===r&&(i+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+i};let a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({type:"text",value:"["});let s=a[a.length-1];return s&&"text"===s.type?s.value+=i:a.push({type:"text",value:i}),a}function lC(e){let t=e.spread;return null==t?e.children.length>1:t}function lS(e,t,r){let i=0,a=e.length;if(t){let t=e.codePointAt(i);for(;9===t||32===t;)i++,t=e.codePointAt(i)}if(r){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>i?e.slice(i,a):""}let lD={blockquote:function(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){let r=t.value?t.value+"\n":"",i=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};i&&(a.className=["language-"+i]);let o={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:lE,footnote:function(e,t){let r=e.footnoteById,i=1;for(;(i in r);)i++;let a=String(i);return r[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},lE(e,{type:"footnoteReference",identifier:a,position:t.position})},heading:function(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.dangerous){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}return null},imageReference:function(e,t){let r=e.definition(t.identifier);if(!r)return lF(e,t);let i={src:lf(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let r={src:lf(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},inlineCode:function(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let i={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,i),e.applyData(t,i)},linkReference:function(e,t){let r=e.definition(t.identifier);if(!r)return lF(e,t);let i={href:lf(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let r={href:lf(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},listItem:function(e,t,r){let i=e.all(t),a=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let r=e.children,i=-1;for(;!t&&++i0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=ly(t.children[1]),s=l_(t.children[t.children.length-1]);o.line&&s.line&&(i.position={start:o,end:s}),a.push(i)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){let i=r?r.children:void 0,a=0===(i?i.indexOf(t):1)?"th":"td",o=r&&"table"===r.type?r.align:void 0,s=o?o.length:t.children.length,l=-1,u=[];for(;++l0,!0),i[0]),a=i.index+i[0].length,i=r.exec(t);return o.push(lS(t.slice(a),a>0,!1)),o.join("")}(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:lj,yaml:lj,definition:lj,footnoteDefinition:lj};function lj(){return null}let lT={}.hasOwnProperty;function lO(e,t){e.position&&(t.position={start:ly(e),end:l_(e)})}function lP(e,t){let r=t;if(e&&e.data){let t=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:[]}),"element"===r.type&&a&&(r.properties={...r.properties,...a}),"children"in r&&r.children&&null!=i&&(r.children=i)}return r}function lR(e,t,r){let i=t&&t.type;if(!i)throw Error("Expected node, got `"+t+"`");return lT.call(e.handlers,i)?e.handlers[i](e,t,r):e.passThrough&&e.passThrough.includes(i)?"children"in t?{...t,children:lM(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,r):function(e,t){let r=t.data||{},i="value"in t&&!(lT.call(r,"hProperties")||lT.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:lM(e,t)};return e.patch(t,i),e.applyData(t,i)}(e,t)}function lM(e,t){let r=[];if("children"in t){let i=t.children,a=-1;for(;++a0&&r.push({type:"text",value:"\n"}),r}function lA(e,t){let r=function(e,t){let r=t||{},i=r.allowDangerousHtml||!1,a={};return s.dangerous=i,s.clobberPrefix=void 0===r.clobberPrefix||null===r.clobberPrefix?"user-content-":r.clobberPrefix,s.footnoteLabel=r.footnoteLabel||"Footnotes",s.footnoteLabelTagName=r.footnoteLabelTagName||"h2",s.footnoteLabelProperties=r.footnoteLabelProperties||{className:["sr-only"]},s.footnoteBackLabel=r.footnoteBackLabel||"Back to content",s.unknownHandler=r.unknownHandler,s.passThrough=r.passThrough,s.handlers={...lD,...r.handlers},s.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return lb(e,"definition",e=>{let r=lx(e.identifier);r&&!lk.call(t,r)&&(t[r]=e)}),function(e){let r=lx(e);return r&&lk.call(t,r)?t[r]:null}}(e),s.footnoteById=a,s.footnoteOrder=[],s.footnoteCounts={},s.patch=lO,s.applyData=lP,s.one=function(e,t){return lR(s,e,t)},s.all=function(e){return lM(s,e)},s.wrap=lL,s.augment=o,lb(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();lT.call(a,t)||(a[t]=e)}),s;function o(e,t){if(e&&"data"in e&&e.data){let r=e.data;r.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=r.hName),"element"===t.type&&r.hProperties&&(t.properties={...t.properties,...r.hProperties}),"children"in t&&t.children&&r.hChildren&&(t.children=r.hChildren)}if(e){let r="type"in e?e:{position:e};!r||!r.position||!r.position.start||!r.position.start.line||!r.position.start.column||!r.position.end||!r.position.end.line||!r.position.end.column||(t.position={start:ly(r),end:l_(r)})}return t}function s(e,t,r,i){return Array.isArray(r)&&(i=r,r={}),o(e,{type:"element",tagName:t,properties:r||{},children:i||[]})}}(e,t),i=r.one(e,null),a=function(e){let t=[],r=-1;for(;++r1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}let d=a[a.length-1];if(d&&"element"===d.type&&"p"===d.tagName){let e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...u)}else a.push(...u);let p={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+s},children:e.wrap(a,!0)};e.patch(i,p),t.push(p)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(r);return a&&i.children.push({type:"text",value:"\n"},a),Array.isArray(i)?{type:"root",children:i}:i}let lI=function(e,t){var r;return e&&"run"in e?(r,i,a)=>{e.run(lA(r,t),i,e=>{a(e)})}:(r=e||t,e=>lA(e,r))};var lN=r(78439),lB=r.n(lN);class lU{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}function lz(e,t){let r={},i={},a=-1;for(;++a"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),l4=l2({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function l6(e,t){return t in e?e[t]:t}function l5(e,t){return l6(e,t.toLowerCase())}let l8=l2({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:l5,properties:{xmlns:null,xmlnsXLink:null}}),l9=l2({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:l$,ariaAutoComplete:null,ariaBusy:l$,ariaChecked:l$,ariaColCount:lY,ariaColIndex:lY,ariaColSpan:lY,ariaControls:lK,ariaCurrent:null,ariaDescribedBy:lK,ariaDetails:null,ariaDisabled:l$,ariaDropEffect:lK,ariaErrorMessage:null,ariaExpanded:l$,ariaFlowTo:lK,ariaGrabbed:l$,ariaHasPopup:null,ariaHidden:l$,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lK,ariaLevel:lY,ariaLive:null,ariaModal:l$,ariaMultiLine:l$,ariaMultiSelectable:l$,ariaOrientation:null,ariaOwns:lK,ariaPlaceholder:null,ariaPosInSet:lY,ariaPressed:l$,ariaReadOnly:l$,ariaRelevant:null,ariaRequired:l$,ariaRoleDescription:lK,ariaRowCount:lY,ariaRowIndex:lY,ariaRowSpan:lY,ariaSelected:l$,ariaSetSize:lY,ariaSort:null,ariaValueMax:lY,ariaValueMin:lY,ariaValueNow:lY,ariaValueText:null,role:null}}),l7=l2({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:l5,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lZ,acceptCharset:lK,accessKey:lK,action:null,allow:null,allowFullScreen:lW,allowPaymentRequest:lW,allowUserMedia:lW,alt:null,as:null,async:lW,autoCapitalize:null,autoComplete:lK,autoFocus:lW,autoPlay:lW,blocking:lK,capture:null,charSet:null,checked:lW,cite:null,className:lK,cols:lY,colSpan:null,content:null,contentEditable:l$,controls:lW,controlsList:lK,coords:lY|lZ,crossOrigin:null,data:null,dateTime:null,decoding:null,default:lW,defer:lW,dir:null,dirName:null,disabled:lW,download:lG,draggable:l$,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:lW,formTarget:null,headers:lK,height:lY,hidden:lW,high:lY,href:null,hrefLang:null,htmlFor:lK,httpEquiv:lK,id:null,imageSizes:null,imageSrcSet:null,inert:lW,inputMode:null,integrity:null,is:null,isMap:lW,itemId:null,itemProp:lK,itemRef:lK,itemScope:lW,itemType:lK,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:lW,low:lY,manifest:null,max:null,maxLength:lY,media:null,method:null,min:null,minLength:lY,multiple:lW,muted:lW,name:null,nonce:null,noModule:lW,noValidate:lW,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:lW,optimum:lY,pattern:null,ping:lK,placeholder:null,playsInline:lW,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:lW,referrerPolicy:null,rel:lK,required:lW,reversed:lW,rows:lY,rowSpan:lY,sandbox:lK,scope:null,scoped:lW,seamless:lW,selected:lW,shadowRootClonable:lW,shadowRootDelegatesFocus:lW,shadowRootMode:null,shape:null,size:lY,sizes:null,slot:null,span:lY,spellCheck:l$,src:null,srcDoc:null,srcLang:null,srcSet:null,start:lY,step:null,style:null,tabIndex:lY,target:null,title:null,translate:null,type:null,typeMustMatch:lW,useMap:null,value:l$,width:lY,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lK,axis:null,background:null,bgColor:null,border:lY,borderColor:null,bottomMargin:lY,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:lW,declare:lW,event:null,face:null,frame:null,frameBorder:null,hSpace:lY,leftMargin:lY,link:null,longDesc:null,lowSrc:null,marginHeight:lY,marginWidth:lY,noResize:lW,noHref:lW,noShade:lW,noWrap:lW,object:null,profile:null,prompt:null,rev:null,rightMargin:lY,rules:null,scheme:null,scrolling:l$,standby:null,summary:null,text:null,topMargin:lY,valueType:null,version:null,vAlign:null,vLink:null,vSpace:lY,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:lW,disableRemotePlayback:lW,prefix:null,property:null,results:lY,security:null,unselectable:null}}),ce=l2({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:l6,properties:{about:lJ,accentHeight:lY,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:lY,amplitude:lY,arabicForm:null,ascent:lY,attributeName:null,attributeType:null,azimuth:lY,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:lY,by:null,calcMode:null,capHeight:lY,className:lK,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:lY,diffuseConstant:lY,direction:null,display:null,dur:null,divisor:lY,dominantBaseline:null,download:lW,dx:null,dy:null,edgeMode:null,editable:null,elevation:lY,enableBackground:null,end:null,event:null,exponent:lY,externalResourcesRequired:null,fill:null,fillOpacity:lY,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:lZ,g2:lZ,glyphName:lZ,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:lY,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:lY,horizOriginX:lY,horizOriginY:lY,id:null,ideographic:lY,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:lY,k:lY,k1:lY,k2:lY,k3:lY,k4:lY,kernelMatrix:lJ,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:lY,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:lY,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:lY,overlineThickness:lY,paintOrder:null,panose1:null,path:null,pathLength:lY,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lK,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:lY,pointsAtY:lY,pointsAtZ:lY,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:lJ,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:lJ,rev:lJ,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:lJ,requiredFeatures:lJ,requiredFonts:lJ,requiredFormats:lJ,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:lY,specularExponent:lY,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:lY,strikethroughThickness:lY,string:null,stroke:null,strokeDashArray:lJ,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:lY,strokeOpacity:lY,strokeWidth:null,style:null,surfaceScale:lY,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:lJ,tabIndex:lY,tableValues:null,target:null,targetX:lY,targetY:lY,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:lJ,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:lY,underlineThickness:lY,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:lY,values:null,vAlphabetic:lY,vMathematical:lY,vectorEffect:null,vHanging:lY,vIdeographic:lY,version:null,vertAdvY:lY,vertOriginX:lY,vertOriginY:lY,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:lY,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ct=lz([l4,l3,l8,l9,l7],"html"),cn=lz([l4,l3,l8,l9,ce],"svg");function cr(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{lb(t,"element",(t,r,i)=>{let a;if(e.allowedElements?a=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(t.tagName)),!a&&e.allowElement&&"number"==typeof r&&(a=!e.allowElement(t,r,i)),a&&"number"==typeof r)return e.unwrapDisallowed&&t.children?i.children.splice(r,1,...t.children):i.children.splice(r,1),r})}}var ci=r(68167);let ca=/^data[-\w.:]+$/i,co=/-[a-z]/g,cs=/[A-Z]/g;function cl(e){return"-"+e.toLowerCase()}function cc(e){return e.charAt(1).toUpperCase()}let cu={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var cd=r(69200);let cp=["http","https","mailto","tel"];function cf(e){let t=(e||"").trim(),r=t.charAt(0);if("#"===r||"/"===r)return t;let i=t.indexOf(":");if(-1===i)return t;let a=-1;for(;++aa||-1!==(a=t.indexOf("#"))&&i>a?t:"javascript:void(0)"}let ch={}.hasOwnProperty,cm=new Set(["table","thead","tbody","tfoot","tr"]);function cg(e,t){let r=-1,i=0;for(;++r for more info)`),delete cy[t]}let t=oH().use(lp).use(e.remarkPlugins||[]).use(lI,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(cr,e),r=new oL;"string"==typeof e.children?r.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let i=t.runSync(t.parse(r),r);if("root"!==i.type)throw TypeError("Expected a `root` node");let a=el.createElement(el.Fragment,{},function e(t,r){let i;let a=[],o=-1;for(;++o4&&"data"===r.slice(0,4)&&ca.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(co,cc);i="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!co.test(e)){let r=e.replace(cs,cl);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}a=l0}return new a(i,t)}(i.schema,t),o=r;null!=o&&o==o&&(Array.isArray(o)&&(o=a.commaSeparated?function(e,t){let r={};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===a.property&&"string"==typeof o&&(o=function(e){let t={};try{cd(e,function(e,r){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,cv)]=r})}catch{}return t}(o)),a.space&&a.property?e[ch.call(cu,a.property)?cu[a.property]:a.property]=o:a.attribute&&(e[a.attribute]=o))}(p,o,r.properties[o],t);("ol"===d||"ul"===d)&&t.listDepth++;let m=e(t,r);("ol"===d||"ul"===d)&&t.listDepth--,t.schema=u;let g=r.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},v=s.components&&ch.call(s.components,d)?s.components[d]:d,b="string"==typeof v||v===el.Fragment;if(!ci.isValidElementType(v))throw TypeError(`Component for name \`${d}\` not defined or is not renderable`);if(p.key=i,"a"===d&&s.linkTarget&&(p.target="function"==typeof s.linkTarget?s.linkTarget(String(p.href||""),r.children,"string"==typeof p.title?p.title:null):s.linkTarget),"a"===d&&l&&(p.href=l(String(p.href||""),r.children,"string"==typeof p.title?p.title:null)),b||"code"!==d||"element"!==a.type||"pre"===a.tagName||(p.inline=!0),b||"h1"!==d&&"h2"!==d&&"h3"!==d&&"h4"!==d&&"h5"!==d&&"h6"!==d||(p.level=Number.parseInt(d.charAt(1),10)),"img"===d&&s.transformImageUri&&(p.src=s.transformImageUri(String(p.src||""),String(p.alt||""),"string"==typeof p.title?p.title:null)),!b&&"li"===d&&"element"===a.type){let e=function(e){let t=-1;for(;++t0?el.createElement(v,p,m):el.createElement(v,p)}(t,i,o,r)):"text"===i.type?"element"===r.type&&cm.has(r.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(i)||a.push(i.value):"raw"!==i.type||t.options.skipHtml||a.push(i.value);return a}({options:e,schema:ct,listDepth:0},i));return e.className&&(a=el.createElement("div",{className:e.className},a)),a}c_.propTypes={children:lN.string,className:lN.string,allowElement:lN.func,allowedElements:lN.arrayOf(lN.string),disallowedElements:lN.arrayOf(lN.string),unwrapDisallowed:lN.bool,remarkPlugins:lN.arrayOf(lN.oneOfType([lN.object,lN.func,lN.arrayOf(lN.oneOfType([lN.bool,lN.string,lN.object,lN.func,lN.arrayOf(lN.any)]))])),rehypePlugins:lN.arrayOf(lN.oneOfType([lN.object,lN.func,lN.arrayOf(lN.oneOfType([lN.bool,lN.string,lN.object,lN.func,lN.arrayOf(lN.any)]))])),sourcePos:lN.bool,rawSourcePos:lN.bool,skipHtml:lN.bool,includeElementIndex:lN.bool,transformLinkUri:lN.oneOfType([lN.func,lN.bool]),linkTarget:lN.oneOfType([lN.func,lN.string]),transformImageUri:lN.func,components:lN.object};var cw=function(e,t,r){void 0===r&&(r="en");var i,a,o=e.state.messages[e.state.messages.length-1],s=(null===(i=null==o?void 0:o.i18n)||void 0===i?void 0:i["".concat(r,"_text")])||(null==o?void 0:o.text);return o?o.deleted_at?t("Message deleted"):s?ec().createElement(c_,{skipHtml:!0},s):o.command?"/".concat(o.command):t((null===(a=o.attachments)||void 0===a?void 0:a.length)?"\uD83C\uDFD9 Attachment...":"Empty message..."):t("Nothing yet...")},ck=function(e,t){var r,i,a=null===(r=e.data)||void 0===r?void 0:r.name,o=Object.values(e.state.members);if(!a&&2===o.length){var s=o.find(function(e){var r;return(null===(r=e.user)||void 0===r?void 0:r.id)!==(null==t?void 0:t.id)});(null===(i=null==s?void 0:s.user)||void 0===i?void 0:i.name)&&(a=s.user.name)}return a},cx=function(e,t){var r,i,a=null===(r=e.data)||void 0===r?void 0:r.image,o=Object.values(e.state.members);if(!a&&2===o.length){var s=o.find(function(e){var r;return(null===(r=e.user)||void 0===r?void 0:r.id)!==(null==t?void 0:t.id)});(null===(i=null==s?void 0:s.user)||void 0===i?void 0:i.image)&&(a=s.user.image)}return a},cE=function(e){var t=e.channel,r=e.overrideImage,i=e.overrideTitle,a=a4("ChannelPreview").client,o=(0,el.useState)(ck(t,a.user)),s=o[0],l=o[1],u=(0,el.useState)(cx(t,a.user)),d=u[0],p=u[1];return(0,el.useEffect)(function(){var e=function(){l(function(e){var r=ck(t,a.user);return e!==r?r:e}),p(function(e){var r=cx(t,a.user);return e!==r?r:e})};return a.on("user.updated",e),function(){a.off("user.updated",e)}},[]),{displayImage:r||d,displayTitle:i||s}};!function(e){e.DELIVERED="delivered",e.READ="read"}(w||(w={}));var cF=function(e){var t=e.channel,r=e.lastMessage,i=a4().client,a=(0,el.useState)(),o=a[0],s=a[1],l=(0,el.useCallback)(function(e){var t;return i.user&&(null===(t=null==e?void 0:e.user)||void 0===t?void 0:t.id)===i.user.id},[i]);return(0,el.useEffect)(function(){var e=l(r);if((null==r?void 0:r.created_at)&&e){var a="string"==typeof r.created_at?new Date(r.created_at):r.created_at;s(Object.values(t.state.read).some(function(e){var t=e.last_read,r=e.user;return i.user&&r.id!==i.user.id&&a0}),"data-testid":"channel-search"},"2"===w?ec().createElement(void 0===u?cI:u,{activateSearch:x,AppMenu:t,ClearInputIcon:r,clearState:E,disabled:_.disabled,exitSearch:F,ExitSearchIcon:i,inputIsFocused:C,inputRef:S,MenuIcon:a,onSearch:D,placeholder:o,query:j,searchBarRef:O,SearchInput:f,SearchInputIcon:g}):ec().createElement(f,{clearState:E,disabled:_.disabled,inputRef:S,onSearch:D,placeholder:o,query:j}),j&&ec().createElement(cq,{popupResults:l,results:T,SearchEmpty:d,searching:P,SearchLoading:m,SearchResultItem:v,SearchResultsHeader:y,SearchResultsList:b,selectResult:R}))}),cW=function(){return ec().createElement("svg",{"data-testid":"chat-bubble",fill:"none",height:"96",viewBox:"0 0 136 136",width:"96",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M106 24.5H30C24.775 24.5 20.5 28.775 20.5 34V119.5L39.5 100.5H106C111.225 100.5 115.5 96.225 115.5 91V34C115.5 28.775 111.225 24.5 106 24.5ZM106 91H39.5L30 100.5V34H106V91Z",fill:"#B4B7BB"}))},c$=ec().memo(function(e){var t=e.listType,r=aZ("EmptyStateIndicator").t;if("thread"===t)return null;if("channel"===t){var i=r("You have no channels currently");return ec().createElement(ec().Fragment,null,ec().createElement("div",{className:"str-chat__channel-list-empty"},ec().createElement(cW,null),ec().createElement("p",{role:"listitem"},i)),ec().createElement("p",{className:"str-chat__channel-list-empty-v1",role:"listitem"},i))}if("message"===t){var i=r("No chats here yet…");return ec().createElement("div",{className:"str-chat__empty-channel"},ec().createElement(cW,null),ec().createElement("p",{className:"str-chat__empty-channel-text",role:"listitem"},i))}return ec().createElement("p",null,"No items exist")}),cG=ec().memo(function(e){var t=e.color,r=void 0===t?"#006CFF":t,i=e.size,a=void 0===i?15:i;return ec().createElement("div",{className:"str-chat__loading-indicator","data-testid":"loading-indicator-wrapper",style:{height:a,width:a}},ec().createElement("svg",{height:a,viewBox:"0 0 30 30",width:a,xmlns:"http://www.w3.org/2000/svg"},ec().createElement("defs",null,ec().createElement("linearGradient",{id:"a",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},ec().createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:"0"}),ec().createElement("stop",{"data-testid":"loading-indicator-circle",offset:"100%",stopColor:r,stopOpacity:"1",style:{stopColor:r}}))),ec().createElement("path",{d:"M2.518 23.321l1.664-1.11A12.988 12.988 0 0 0 15 28c7.18 0 13-5.82 13-13S22.18 2 15 2V0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-5.206 0-9.792-2.652-12.482-6.679z",fill:"url(#a)",fillRule:"evenodd"})))},function(e,t){return e.color===t.color&&e.size===t.size}),cY=function(e,t){e.forEach(function(e){var r=[Object.entries(e[0])[0],Object.entries(e[1])[0]],i=r[0],a=i[0],o=i[1],s=r[1],l=s[0],u=s[1];(void 0!==o&&void 0===u||void 0!==o&&void 0!==u)&&console.warn("[Deprecation notice (".concat(t,")]: prefer using prop ").concat(l," instead of ").concat(a))})},cK=ec().memo(function(e){var t=e.children,r=e.isLoading,i=e.onClick,a=e.refreshing,o=aZ("UnMemoizedLoadMoreButton").t,s=null!=t?t:o("Load more"),l=void 0!==r?r:a;return(0,el.useEffect)(function(){cY([[{refreshing:a},{isLoading:r}]],"LoadMoreButton")},[]),ec().createElement("div",{className:"str-chat__load-more-button"},ec().createElement("button",{"aria-label":"Load More Channels",className:"str-chat__load-more-button__button str-chat__cta-button","data-testid":"load-more-button",disabled:l,onClick:i},l?ec().createElement(cG,null):s))}),cZ=ec().memo(function(e){var t=e.children,r=e.hasNextPage,i=e.isLoading,a=e.LoadMoreButton,o=e.loadNextPage,s=e.refreshing,l=e.reverse,u=void 0!==i?i:s;return(0,el.useEffect)(function(){cY([[{refreshing:s},{isLoading:i}]],"LoadMorePaginator")},[]),ec().createElement(ec().Fragment,null,!l&&t,r&&ec().createElement(void 0===a?cK:a,{isLoading:u,onClick:o}),l&&t)}),cJ=(0,el.createContext)(void 0),cX=function(e){var t=e.children,r=e.value;return ec().createElement(cJ.Provider,{value:r},t)},cQ={},c0={},c1={},c2=ec().memo(function(e){var t,r,i=e.additionalChannelSearchProps,a=e.Avatar,o=void 0===a?ok:a,s=e.allowNewMessagesFromUnfilteredChannels,l=e.channelRenderFilterFn,u=e.ChannelSearch,d=e.customActiveChannel,p=e.EmptyStateIndicator,f=void 0===p?c$:p,m=e.filters,g=e.LoadingErrorIndicator,v=e.LoadingIndicator,b=e.List,y=e.lockChannelOrder,_=e.onAddedToChannel,w=e.onChannelDeleted,k=e.onChannelHidden,x=e.onChannelTruncated,E=e.onChannelUpdated,F=e.onChannelVisible,C=e.onMessageNew,S=e.onRemovedFromChannel,D=e.options,j=e.Paginator,T=e.Preview,O=e.recoveryThrottleIntervalMs,P=e.renderChannels,R=e.sendChannelsToList,M=e.setActiveChannelOnMount,L=void 0===M||M,A=e.showChannelSearch,I=e.sort,N=e.watchers,B=void 0===N?{}:N,U=a4("ChannelList"),z=U.channel,H=U.channelsQueryState,q=U.client,V=U.closeMobileNav,W=U.customClasses,$=U.navOpen,G=void 0!==$&&$,Y=U.setActiveChannel,K=U.theme,Z=U.useImageFlagEmojisOnWindows,J=(0,el.useRef)(null),X=(0,el.useState)(0),Q=X[0],ee=X[1],et=(0,el.useState)(!1),en=et[0],er=et[1],ei=function(){return ee(function(e){return e+1})},ea=(0,el.useCallback)(function(e){var t;e.target.value?er(!0):er(!1),null===(t=null==i?void 0:i.onSearch)||void 0===t||t.call(i,e)},[]),eo=(0,el.useCallback)(function(){var e;er(!1),null===(e=null==i?void 0:i.onSearchExit)||void 0===e||e.call(i)},[]),es=oy(q,m||cQ,(void 0===I?c1:I)||c1,D||c0,function(e,t){return il(void 0,void 0,void 0,function(){var r;return ic(this,function(i){switch(i.label){case 0:if(!e.length||e.length>((null==D?void 0:D.limit)||30))return[2];if(!d)return[3,3];if(r=e.find(function(e){return e.id===d}))return[3,2];return[4,q.queryChannels({id:d})];case 1:r=i.sent()[0],i.label=2;case 2:return r&&(Y(r,B),t(of({activeChannel:r,channels:e,cid:r.cid}))),[2];case 3:return L&&Y(e[0],B),[2]}})})},O),eu=es.channels,ed=es.hasNextPage,ep=es.loadNextPage,ef=es.setChannels,eh=l?l(eu):eu;om(J,G,V),oh(ef,y,s),ov(ef,C,s),og(ef,_,s),ob(ef,S),on(ef,w),or(ef,k),od(ef,F),oi(ef,x,ei),oa(ef,E,ei),op(ei),o_(ef),(0,el.useEffect)(function(){var e=function(e){e.cid===(null==z?void 0:z.cid)&&Y()};return q.on("channel.deleted",e),q.on("channel.hidden",e),function(){q.off("channel.deleted",e),q.off("channel.hidden",e)}},[null==z?void 0:z.cid]);var em=function(e){var t={activeChannel:z,Avatar:o,channel:e,channelUpdateCount:Q,key:e.id,Preview:T,setActiveChannel:Y,watchers:B};return ec().createElement(cC,io({},t))},eg=a5(null!==(t=null==W?void 0:W.chat)&&void 0!==t?t:"str-chat",K,null!==(r=null==W?void 0:W.channelList)&&void 0!==r?r:"str-chat-channel-list str-chat__channel-list str-chat__channel-list-react",{"str-chat--windows-flags":Z&&navigator.userAgent.match(/Win/),"str-chat-channel-list--open":G}),ev=!en||(null==i?void 0:i.popupResults);return ec().createElement(cX,{value:{channels:eu,setChannels:ef}},ec().createElement("div",{className:eg,ref:J},void 0!==A&&A&&ec().createElement(void 0===u?cV:u,io({onSearch:ea,onSearchExit:eo,setChannels:ef},i)),ev&&ec().createElement(void 0===b?ot:b,{error:H.error,loadedChannels:void 0!==R&&R?eh:void 0,loading:!!H.queryInProgress&&["reload","uninitialized"].includes(H.queryInProgress),LoadingErrorIndicator:void 0===g?a9:g,LoadingIndicator:void 0===v?oe:v,setChannels:ef},(null==eh?void 0:eh.length)?ec().createElement(void 0===j?cZ:j,{hasNextPage:ed,isLoading:"load-more"===H.queryInProgress,loadNextPage:ep},P?P(eh,em):eh.map(function(e){return em(e)})):ec().createElement(f,{listType:"channel"}))))}),c3=r(91594),c4=r.n(c3);let c6=e=>{!i||i.lengthi.length&&(n1.randomFillSync(i),a=0),a+=e},c5=e=>(c6(e-=0),i.subarray(a-e,a)),c8=(e,t,r)=>{let i=(2<<31-Math.clz32(e.length-1|1))-1,a=Math.ceil(1.6*i*t/e.length);return (o=t)=>{let s="";for(;;){let t=r(a),l=a;for(;l--;)if((s+=e[t[l]&i]||"").length===o)return s}}},c9=(e=21)=>{c6(e-=0);let t="";for(let r=a-e;r{for(let r in t)e[r]=t[r];return e},uh="numeric",um="ascii",ug="alpha",uv="asciinumeric",ub="alphanumeric",uy="domain",u_="emoji",uw="whitespace";function uk(e,t,r){for(let i in t[uh]&&(t[uv]=!0,t[ub]=!0),t[um]&&(t[uv]=!0,t[ug]=!0),t[uv]&&(t[ub]=!0),t[ug]&&(t[ub]=!0),t[ub]&&(t[uy]=!0),t[u_]&&(t[uy]=!0),t){let t=(i in r||(r[i]=[]),r[i]);0>t.indexOf(e)&&t.push(e)}}function ux(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}ux.groups={},ux.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t=0&&(r[i]=!0);return r}(a.t,i),r),i):r&&uk(t,r,i)),a.t=t),this.j[e]=a,a}};let uE=(e,t,r,i,a)=>e.ta(t,r,i,a),uF=(e,t,r,i,a)=>e.tr(t,r,i,a),uC=(e,t,r,i,a)=>e.ts(t,r,i,a),uS=(e,t,r,i,a)=>e.tt(t,r,i,a),uD="WORD",uj="UWORD",uT="LOCALHOST",uO="UTLD",uP="SCHEME",uR="SLASH_SCHEME",uM="OPENBRACE",uL="CLOSEBRACE",uA="OPENBRACKET",uI="CLOSEBRACKET",uN="OPENPAREN",uB="CLOSEPAREN",uU="OPENANGLEBRACKET",uz="CLOSEANGLEBRACKET",uH="FULLWIDTHLEFTPAREN",uq="FULLWIDTHRIGHTPAREN",uV="LEFTCORNERBRACKET",uW="RIGHTCORNERBRACKET",u$="LEFTWHITECORNERBRACKET",uG="RIGHTWHITECORNERBRACKET",uY="FULLWIDTHLESSTHAN",uK="FULLWIDTHGREATERTHAN",uZ="AMPERSAND",uJ="APOSTROPHE",uX="ASTERISK",uQ="BACKSLASH",u0="BACKTICK",u1="CARET",u2="COLON",u3="COMMA",u4="DOLLAR",u6="EQUALS",u5="EXCLAMATION",u8="HYPHEN",u9="PERCENT",u7="PIPE",de="PLUS",dt="POUND",dn="QUERY",dr="QUOTE",di="SEMI",da="SLASH",ds="TILDE",dl="UNDERSCORE",dc="EMOJI";var du=Object.freeze({__proto__:null,WORD:uD,UWORD:uj,LOCALHOST:uT,TLD:"TLD",UTLD:uO,SCHEME:uP,SLASH_SCHEME:uR,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:uM,CLOSEBRACE:uL,OPENBRACKET:uA,CLOSEBRACKET:uI,OPENPAREN:uN,CLOSEPAREN:uB,OPENANGLEBRACKET:uU,CLOSEANGLEBRACKET:uz,FULLWIDTHLEFTPAREN:uH,FULLWIDTHRIGHTPAREN:uq,LEFTCORNERBRACKET:uV,RIGHTCORNERBRACKET:uW,LEFTWHITECORNERBRACKET:u$,RIGHTWHITECORNERBRACKET:uG,FULLWIDTHLESSTHAN:uY,FULLWIDTHGREATERTHAN:uK,AMPERSAND:uZ,APOSTROPHE:uJ,ASTERISK:uX,AT:"AT",BACKSLASH:uQ,BACKTICK:u0,CARET:u1,COLON:u2,COMMA:u3,DOLLAR:u4,DOT:"DOT",EQUALS:u6,EXCLAMATION:u5,HYPHEN:u8,PERCENT:u9,PIPE:u7,PLUS:de,POUND:dt,QUERY:dn,QUOTE:dr,SEMI:di,SLASH:da,TILDE:ds,UNDERSCORE:dl,EMOJI:dc,SYM:"SYM"});let dd=/[a-z]/,dp=/\p{L}/u,df=/\p{Emoji}/u,dh=/\d/,dm=/\s/,dg=null,dv=null;function db(e,t,r,i,a){let o;let s=t.length;for(let r=0;r=0;)a++;if(a>0){t.push(r.join(""));for(let t=parseInt(e.substring(i,i+a),10);t>0;t--)r.pop();i+=a}else r.push(e[i]),i++}return t}let d_={defaultProtocol:"http",events:null,format:dk,formatHref:dk,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function dw(e,t){void 0===t&&(t=null);let r=uf({},d_);e&&(r=uf(r,e instanceof dw?e.o:e));let i=r.ignoreTags,a=[];for(let e=0;ee,check(e){return this.get("validate",e.toString(),e)},get(e,t,r){let i=null!=t,a=this.o[e];return a&&("object"==typeof a?"function"==typeof(a=r.t in a?a[r.t]:d_[e])&&i&&(a=a(t,r)):"function"==typeof a&&i&&(a=a(t,r.t,r))),a},getObj(e,t,r){let i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,r.t,r)),i},render(e){let t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},dx.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),r=e.get("truncate",t,this),i=e.get("format",t,this);return r&&i.length>r?i.substring(0,r)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=d_.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let t=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",t,this),i=e.get("tagName",t,this),a=this.toFormattedString(e),o={},s=e.get("className",t,this),l=e.get("target",t,this),u=e.get("rel",t,this),d=e.getObj("attributes",t,this),p=e.getObj("events",t,this);return o.href=r,s&&(o.class=s),l&&(o.target=l),u&&(o.rel=u),d&&uf(o,d),{tagName:i,attributes:o,content:a,eventListeners:p}}};let dF=dE("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),dC=dE("text"),dS=dE("nl"),dD=dE("url",{isLink:!0,toHref(e){return void 0===e&&(e=d_.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==uT&&e[1].t===u2}}),dj=e=>new ux(e);function dT(e,t,r){let i=r[0].s,a=r[r.length-1].e;return new e(t.slice(i,a),r)}"undefined"!=typeof console&&console&&console.warn||(()=>{});let dO={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function dP(e){return dO.initialized||function(){dO.scanner=function(e){void 0===e&&(e=[]);let t={};ux.groups=t;let r=new ux;null==dg&&(dg=dy("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==dv&&(dv=dy("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),uS(r,"'",uJ),uS(r,"{",uM),uS(r,"}",uL),uS(r,"[",uA),uS(r,"]",uI),uS(r,"(",uN),uS(r,")",uB),uS(r,"<",uU),uS(r,">",uz),uS(r,"(",uH),uS(r,")",uq),uS(r,"「",uV),uS(r,"」",uW),uS(r,"『",u$),uS(r,"』",uG),uS(r,"<",uY),uS(r,">",uK),uS(r,"&",uZ),uS(r,"*",uX),uS(r,"@","AT"),uS(r,"`",u0),uS(r,"^",u1),uS(r,":",u2),uS(r,",",u3),uS(r,"$",u4),uS(r,".","DOT"),uS(r,"=",u6),uS(r,"!",u5),uS(r,"-",u8),uS(r,"%",u9),uS(r,"|",u7),uS(r,"+",de),uS(r,"#",dt),uS(r,"?",dn),uS(r,'"',dr),uS(r,"/",da),uS(r,";",di),uS(r,"~",ds),uS(r,"_",dl),uS(r,"\\",uQ);let i=uF(r,dh,"NUM",{[uh]:!0});uF(i,dh,i);let a=uF(r,dd,uD,{[um]:!0});uF(a,dd,a);let o=uF(r,dp,uj,{[ug]:!0});uF(o,dd),uF(o,dp,o);let s=uF(r,dm,"WS",{[uw]:!0});uS(r,"\n","NL",{[uw]:!0}),uS(s,"\n"),uF(s,dm,s);let l=uF(r,df,dc,{[u_]:!0});uF(l,df,l),uS(l,"️",l),uF(uS(l,"‍"),df,l);let u=[[dd,a]],d=[[dd,null],[dp,o]];for(let e=0;ee[0]>t[0]?1:-1);for(let t=0;t=0?a[uy]=!0:dd.test(i)?dh.test(i)?a[uv]=!0:a[um]=!0:a[uh]=!0,uC(r,i,i,a)}return uC(r,"localhost",uT,{ascii:!0}),r.jd=new ux("SYM"),{start:r,tokens:uf({groups:t},du)}}(dO.customSchemes);for(let e=0;e=0&&m++,a++,p++;if(m<0)(a-=p)0&&(o.push(dT(dC,t,s)),s=[]),a-=m,p-=m;let e=f.t,i=r.slice(a-p,a);o.push(dT(e,t,i))}}return s.length>0&&o.push(dT(dC,t,s)),o}(dO.parser.start,e,function(e,t){let r=function(e){let t=[],r=e.length,i=0;for(;i56319||i+1===r||(a=e.charCodeAt(i+1))<56320||a>57343?e[i]:e.slice(i,i+2);t.push(s),i+=s.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),i=r.length,a=[],o=0,s=0;for(;s=0&&(f+=r[s].length,m++),d+=r[s].length,o+=r[s].length,s++;o-=f,s-=m,d-=f,a.push({t:p.t,v:t.slice(o-d,o),s:o-d,e:o})}return a}(dO.scanner.start,e))}function dR(e,t,r){if(void 0===t&&(t=null),void 0===r&&(r=null),t&&"object"==typeof t){if(r)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);r=t,t=null}let i=new dw(r),a=dP(e),o=[];for(let e=0;e4?ec().createElement("button",io({className:"str-chat__gallery-placeholder","data-testid":"gallery-image-last",key:"gallery-image-".concat(i),onClick:function(){return b(i)},style:io({backgroundImage:"url(".concat(t[3].previewUrl||t[3].image_url||t[3].thumb_url,")")},e.style)},(null==r?void 0:r.current)&&{ref:function(e){return r.current[i]=e}}),ec().createElement("p",null,g("{{ imageCount }} more",{imageCount:t.length-4}))):ec().createElement("button",{className:"str-chat__gallery-image","data-testid":"gallery-image",key:"gallery-image-".concat(i),onClick:function(){return b(i)}},ec().createElement(f,io({alt:(null==e?void 0:e.fallback)||v,src:(0,dH.Nm)(e.previewUrl||e.image_url||e.thumb_url),style:e.style,title:(null==e?void 0:e.fallback)||v},(null==r?void 0:r.current)&&{ref:function(e){return r.current[i]=e}})))}),_=a5("str-chat__gallery",{"str-chat__gallery--square":t.length>3,"str-chat__gallery-two-rows":t.length>2});return ec().createElement("div",{className:_},y,ec().createElement(dQ,{onClose:function(){return u(function(e){return!e})},open:l},ec().createElement(void 0===m?d4:m,{images:t,index:a})))}),d7=function(e){var t=e.dimensions,r=e.fallback,i=e.image_url,a=e.thumb_url,o=e.innerRef,s=e.previewUrl,l=e.style,u=(0,el.useState)(!1),d=u[0],p=u[1],f=d8("ImageComponent"),m=f.BaseImage,g=f.ModalGallery,v=(0,dH.Nm)(s||i||a),b=function(){return p(function(e){return!e})};return ec().createElement(ec().Fragment,null,ec().createElement(void 0===m?dJ:m,io({alt:r,className:"str-chat__message-attachment--img","data-testid":"image-test",onClick:b,src:v,style:l,tabIndex:0,title:r},void 0===t?{}:t,o&&{ref:o})),ec().createElement(dQ,{onClose:b,open:d},ec().createElement(void 0===g?d4:g,{images:[e],index:0})))},pe=ec().createContext(void 0),pt=function(e){var t=e.children,r=e.value;return ec().createElement(pe.Provider,{value:r},t)},pn=function(e){return(0,el.useContext)(pe)||(console.warn("The useChannelStateContext hook was called outside of the ChannelStateContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})},pr=function(e){return null!=e?e.replace(/^(?:https?:\/\/)?(?:www\.)?/i,"").split("/")[0]:null},pi=function(e){var t,r=e.type,i=aZ("Card").t;return ec().createElement("div",{className:a5("str-chat__message-attachment-card",((t={})["str-chat__message-attachment-card--".concat(r)]=r,t))},ec().createElement("div",{className:"str-chat__message-attachment-card--content"},ec().createElement("div",{className:"str-chat__message-attachment-card--text"},i("this content could not be displayed"))))},pa=function(e){var t=e.asset_url,r=e.giphy,i=e.image_url,a=e.og_scrape_url,o=e.text,s=e.thumb_url,l=e.title,u=e.title_link,d=e.type,p=pn("Card").giphyVersion,f=s||i,m={};if("giphy"===d&&void 0!==r){var g=r[p];f=g.url,m.height=g.height,m.width=g.width}return l||u||t||f?u||a?ec().createElement("div",{className:"str-chat__message-attachment-card str-chat__message-attachment-card--".concat(d)},ec().createElement(ps,io({},e,{dimensions:m,image:f})),"video"!==d&&ec().createElement("div",{className:"str-chat__message-attachment-card--content"},ec().createElement("div",{className:"str-chat__message-attachment-card--flex"},l&&ec().createElement("div",{className:"str-chat__message-attachment-card--title"},l),o&&ec().createElement("div",{className:"str-chat__message-attachment-card--text"},o),(u||a)&&ec().createElement(dq,{className:"str-chat__message-attachment-card--url",href:u||a,rel:"noopener noreferrer",target:"_blank"},pr(u||a))))):null:ec().createElement(pi,{type:d})},po=function(e){var t=e.author_name,r=e.url;return ec().createElement("div",{className:"str-chat__message-attachment-card--source-link","data-testid":"card-source-link"},ec().createElement(dq,{className:"str-chat__message-attachment-card--url",href:r,rel:"noopener noreferrer",target:"_blank"},t||pr(r)))},ps=function(e){var t=e.asset_url,r=e.dimensions,i=e.image,a=e.image_url,o=e.thumb_url,s=e.title,l=e.type,u=null;return t&&"video"===l?u=ec().createElement(uc.Z,{className:"react-player",controls:!0,height:"100%",url:t,width:"100%"}):i&&(u=ec().createElement(d7,{dimensions:r,fallback:s||i,image_url:a,thumb_url:o})),u?ec().createElement("div",{className:"str-chat__message-attachment-card--header str-chat__message-attachment-card-react--header","data-testid":"card-header"},u):null},pl=function(e){var t=e.author_name,r=e.og_scrape_url,i=e.text,a=e.title,o=e.title_link,s=e.type,l=o||r;return ec().createElement("div",{className:"str-chat__message-attachment-card--content"},"audio"===s?ec().createElement(pu,{og:e}):ec().createElement("div",{className:"str-chat__message-attachment-card--flex"},l&&ec().createElement(po,{author_name:t,url:l}),a&&ec().createElement("div",{className:"str-chat__message-attachment-card--title"},a),i&&ec().createElement("div",{className:"str-chat__message-attachment-card--text"},i)))},pc=function(e){var t=e.asset_url,r=e.giphy,i=e.image_url,a=e.thumb_url,o=e.title,s=e.title_link,l=e.type,u=pn("CardHeader").giphyVersion,d=a||i,p={};if("giphy"===l&&void 0!==r){var f=r[u];d=f.url,p.height=f.height,p.width=f.width}return o||s||t||d?ec().createElement("div",{className:"str-chat__message-attachment-card str-chat__message-attachment-card--".concat(l)},ec().createElement(ps,io({},e,{dimensions:p,image:d})),ec().createElement(pl,io({},e))):ec().createElement(pi,null)},pu=function(e){var t=e.og,r=t.asset_url,i=t.author_name,a=t.og_scrape_url,o=t.text,s=t.title,l=t.title_link,u=dW(),d=u.audioRef,p=u.isPlaying,f=u.progress,m=u.seek,g=u.togglePlay,v=l||a;return ec().createElement("div",{className:"str-chat__message-attachment-card-audio-widget","data-testid":"card-audio-widget"},r&&ec().createElement(ec().Fragment,null,ec().createElement("audio",{ref:d},ec().createElement("source",{"data-testid":"audio-source",src:r,type:"audio/mp3"})),ec().createElement("div",{className:"str-chat__message-attachment-card-audio-widget--first-row"},ec().createElement("div",{className:"str-chat__message-attachment-audio-widget--play-controls"},ec().createElement(dG,{isPlaying:p,onClick:g})),ec().createElement(dY,{onClick:m,progress:f}))),ec().createElement("div",{className:"str-chat__message-attachment-audio-widget--second-row"},v&&ec().createElement(po,{author_name:i,url:v}),s&&ec().createElement("div",{className:"str-chat__message-attachment-audio-widget--title"},s),o&&ec().createElement("div",{className:"str-chat__message-attachment-audio-widget--description"},o)))},pd=ec().memo(function(e){return"2"===a4("Card").themeVersion?ec().createElement(pc,io({},e)):ec().createElement(pa,io({},e))}),pp=function(e){var t=e.className,r=e.size,i=void 0===r?40:r,a=is(e,["className","size"]);return ec().createElement("svg",io({className:"rfu-file-pdf ".concat(void 0===t?"":t).trim(),fill:"none",height:i,viewBox:"0 0 34 40",width:i,xmlns:"http://www.w3.org/2000/svg"},a),ec().createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"#F5F5F5"}),ec().createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#E71A01"}),ec().createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),ec().createElement("path",{clipRule:"evenodd",d:"M16.39 8.90641C16.215 8.27341 15.787 7.95841 15.426 8.00441C14.99 8.06141 14.526 8.32041 14.34 8.72941C13.854 9.82141 14.768 12.8934 15.028 13.7674L15.073 13.9194C14.015 17.1134 10.394 23.4264 8.62002 23.8534C8.58302 23.4364 8.80602 22.2294 11.146 20.7244C11.266 20.5944 11.406 20.4374 11.471 20.3344C9.49302 21.3004 6.93108 22.8514 8.47102 24.0114C8.55602 24.0774 8.68502 24.1314 8.83402 24.1874C10.014 24.6244 11.666 23.1954 13.327 19.9544C15.157 19.3504 16.633 18.8964 18.722 18.5804C21.005 20.1304 22.538 20.4464 23.578 20.0474C23.866 19.9354 24.32 19.5734 24.45 19.1004C24.515 18.8774 24.608 18.5154 24.432 18.2274C23.842 17.2664 21.452 17.5954 20.032 17.7904C19.779 17.8254 19.557 17.8564 19.381 17.8744C17.552 16.7704 16.289 14.8014 15.778 13.3804C15.857 13.0784 15.936 12.7894 16.012 12.5124C16.397 11.1124 16.701 10.0064 16.392 8.90641H16.39ZM24.45 19.1004C23.605 20.1404 21.628 19.4164 20.05 18.4224C21.507 18.2644 23.01 18.1724 23.661 18.3764C24.488 18.6364 24.459 19.0444 24.451 19.1004H24.45ZM15.601 12.7404C15.296 11.6544 14.868 9.24041 15.555 8.46041C16.701 9.11641 16.266 10.5384 15.825 11.9834C15.748 12.2364 15.671 12.4894 15.601 12.7404ZM13.439 19.5834C15.156 18.9054 16.354 18.4494 18.118 18.1254C16.818 16.9554 16.028 15.6834 15.378 14.3834C14.915 16.0554 13.948 18.5894 13.438 19.5834H13.439Z",fill:"#E71A01",fillRule:"evenodd"}),ec().createElement("path",{d:"M13.1719 33.0127V37.4219H12.1875V32.3018H13.1001L13.1719 33.0127ZM15.5132 34.1099V34.1816C15.5132 34.4505 15.4813 34.7 15.4175 34.9302C15.356 35.1603 15.2648 35.3608 15.144 35.5317C15.0233 35.7004 14.8729 35.8325 14.6929 35.9282C14.5151 36.0216 14.3101 36.0684 14.0776 36.0684C13.8521 36.0684 13.6561 36.0228 13.4897 35.9316C13.3234 35.8405 13.1833 35.7129 13.0693 35.5488C12.9577 35.3825 12.8677 35.1899 12.7993 34.9712C12.731 34.7524 12.6785 34.5177 12.6421 34.2671V34.0791C12.6785 33.8102 12.731 33.5641 12.7993 33.3408C12.8677 33.1152 12.9577 32.9204 13.0693 32.7563C13.1833 32.59 13.3223 32.4613 13.4863 32.3701C13.6527 32.279 13.8475 32.2334 14.0708 32.2334C14.3055 32.2334 14.5117 32.2778 14.6895 32.3667C14.8695 32.4556 15.0199 32.5832 15.1406 32.7495C15.2637 32.9159 15.356 33.1141 15.4175 33.3442C15.4813 33.5744 15.5132 33.8296 15.5132 34.1099ZM14.5254 34.1816V34.1099C14.5254 33.9526 14.5117 33.8079 14.4844 33.6758C14.4593 33.5413 14.4183 33.424 14.3613 33.3237C14.3066 33.2235 14.2337 33.146 14.1426 33.0913C14.0537 33.0343 13.9455 33.0059 13.8179 33.0059C13.6834 33.0059 13.5684 33.0275 13.4727 33.0708C13.3792 33.1141 13.3029 33.1768 13.2437 33.2588C13.1844 33.3408 13.14 33.4388 13.1104 33.5527C13.0807 33.6667 13.0625 33.7954 13.0557 33.939V34.4141C13.0671 34.5827 13.099 34.7342 13.1514 34.8687C13.2038 35.0008 13.2847 35.1056 13.394 35.1831C13.5034 35.2606 13.647 35.2993 13.8247 35.2993C13.9546 35.2993 14.064 35.2708 14.1528 35.2139C14.2417 35.1546 14.3135 35.0737 14.3682 34.9712C14.4251 34.8687 14.465 34.7502 14.4878 34.6157C14.5129 34.4813 14.5254 34.3366 14.5254 34.1816ZM18.3091 35.1934V30.75H19.3003V36H18.4082L18.3091 35.1934ZM15.9712 34.1953V34.1235C15.9712 33.841 16.0031 33.5846 16.0669 33.3545C16.1307 33.1221 16.2241 32.9227 16.3472 32.7563C16.4702 32.59 16.6217 32.4613 16.8018 32.3701C16.9818 32.279 17.1868 32.2334 17.417 32.2334C17.6335 32.2334 17.8226 32.279 17.9844 32.3701C18.1484 32.4613 18.2874 32.5911 18.4014 32.7598C18.5176 32.9261 18.611 33.1232 18.6816 33.3511C18.7523 33.5767 18.8035 33.8239 18.8354 34.0928V34.25C18.8035 34.5075 18.7523 34.7467 18.6816 34.9678C18.611 35.1888 18.5176 35.3825 18.4014 35.5488C18.2874 35.7129 18.1484 35.8405 17.9844 35.9316C17.8203 36.0228 17.6289 36.0684 17.4102 36.0684C17.18 36.0684 16.9749 36.0216 16.7949 35.9282C16.6172 35.8348 16.4668 35.7038 16.3438 35.5352C16.223 35.3665 16.1307 35.1683 16.0669 34.9404C16.0031 34.7126 15.9712 34.4642 15.9712 34.1953ZM16.9556 34.1235V34.1953C16.9556 34.348 16.967 34.4904 16.9897 34.6226C17.0148 34.7547 17.0547 34.8721 17.1094 34.9746C17.1663 35.0749 17.2393 35.1535 17.3281 35.2104C17.4193 35.2651 17.5298 35.2925 17.6597 35.2925C17.8283 35.2925 17.9673 35.2549 18.0767 35.1797C18.186 35.1022 18.2692 34.9963 18.3262 34.8618C18.3854 34.7274 18.4196 34.5724 18.4287 34.397V33.9492C18.4219 33.8057 18.4014 33.6769 18.3672 33.563C18.3353 33.4468 18.2874 33.3477 18.2236 33.2656C18.1621 33.1836 18.0846 33.1198 17.9912 33.0742C17.9001 33.0286 17.7918 33.0059 17.6665 33.0059C17.5389 33.0059 17.4295 33.0355 17.3384 33.0947C17.2472 33.1517 17.1732 33.2303 17.1162 33.3306C17.0615 33.4308 17.0205 33.5493 16.9932 33.686C16.9681 33.8205 16.9556 33.9663 16.9556 34.1235ZM21.3237 36H20.3325V31.9736C20.3325 31.6934 20.3872 31.4575 20.4966 31.2661C20.6082 31.0724 20.7643 30.9266 20.9648 30.8286C21.1676 30.7284 21.408 30.6782 21.686 30.6782C21.7772 30.6782 21.8649 30.6851 21.9492 30.6987C22.0335 30.7101 22.1156 30.7249 22.1953 30.7432L22.1851 31.4849C22.1418 31.4735 22.0962 31.4655 22.0483 31.4609C22.0005 31.4564 21.9447 31.4541 21.8809 31.4541C21.7624 31.4541 21.661 31.4746 21.5767 31.5156C21.4946 31.5544 21.432 31.6125 21.3887 31.6899C21.3454 31.7674 21.3237 31.862 21.3237 31.9736V36ZM22.062 32.3018V32.999H19.7822V32.3018H22.062Z",fill:"white"}))},pf=function(e){var t=e.className,r=e.size,i=void 0===r?40:r,a=is(e,["className","size"]);return ec().createElement("svg",io({className:"rfu-file-fallback ".concat(void 0===t?"":t).trim(),fill:"none",height:i,viewBox:"0 0 34 40",width:i,xmlns:"http://www.w3.org/2000/svg"},a),ec().createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear)"}),ec().createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),ec().createElement("path",{clipRule:"evenodd",d:"M8 13H23V15H8V13Z",fill:"#CFCFCF",fillRule:"evenodd"}),ec().createElement("path",{clipRule:"evenodd",d:"M8 17H18V19H8V17Z",fill:"#CFCFCF",fillRule:"evenodd"}),ec().createElement("path",{clipRule:"evenodd",d:"M8 21H23V23H8V21Z",fill:"#CFCFCF",fillRule:"evenodd"}),ec().createElement("defs",null,ec().createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear",x1:"0",x2:"0",y1:"0",y2:"40"},ec().createElement("stop",{stopColor:"white"}),ec().createElement("stop",{offset:"1",stopColor:"#DBDBDB"}))))},ph=function(e){var t=e.className,r=e.size,i=void 0===r?40:r,a=is(e,["className","size"]);return ec().createElement("svg",io({className:"rfu-file-image ".concat(void 0===t?"":t).trim(),height:i,viewBox:"0 0 384 512",width:i,xmlns:"http://www.w3.org/2000/svg"},a),ec().createElement("path",{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z",fill:"#414D54"}))},pm=["application/msword","application/msword-template","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.text-flat-xml"],pg=["text/csv","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template","application/vnd.oasis.opendocument.spreadsheet-flat-xml"],pv=["application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/vnd.oasis.opendocument.presentation","application/vnd.oasis.opendocument.presentation-template","application/vnd.oasis.opendocument.presentation-flat-xml"],pb=["application/zip","application/x-7z-compressed","application/x-archive","application/x-tar","application/gzip","application/x-compress","application/x-bzip","application/x-lzip","application/x-lz4","application/x-lzma","application/x-lzop","application/x-xz","application/x-webarchive","application/vnd.rar"],py=["text/html","text/css","application/x-javascript","text/javascript","application/json","text/x-python","text/x-go","text/x-csrc","text/x-c++src","application/x-ruby","text/rust","text/x-java","application/x-php","text/x-csharp","text/x-scala","text/x-erlang","application/x-shellscript"];function p_(e){for(var t=e.FileArchiveIcon,r=e.FileCodeIcon,i=e.FileExcelIcon,a=e.FilePdfIcon,o=e.FilePowerPointIcon,s=e.FileWordIcon,l={"application/pdf":a},u=0;u1?a:1e6,t["--original-height"]=i>1?i:1e6}return t}var pO=function(e){var t=e.attachment,r=e.Gallery,i=(0,el.useRef)([]),a=pn().imageAttachmentSizeHandler,o=(0,el.useState)([]),s=o[0],l=o[1];(0,el.useLayoutEffect)(function(){if(i.current&&i.current.every(function(e){return!!e})&&a){var e=[];i.current.forEach(function(r,i){var o=a(t.images[i],r);e.push(o)}),l(e)}},[i,a,t]);var u=t.images.map(function(e,r){var i,a,o;return io(io({},e),{previewUrl:(null===(i=s[r])||void 0===i?void 0:i.url)||"about:blank",style:pT((null===(a=t.images[r])||void 0===a?void 0:a.image_url)||(null===(o=t.images[r])||void 0===o?void 0:o.thumb_url)||"")})});return ec().createElement(pD,{attachment:t,componentType:"gallery"},ec().createElement(void 0===r?d9:r,{images:u||[],innerRefs:i,key:"gallery"}))},pP=function(e){var t=e.attachment,r=e.Image,i=void 0===r?d7:r,a="image",o=(0,el.useRef)(null),s=pn().imageAttachmentSizeHandler,l=(0,el.useState)(void 0),u=l[0],d=l[1];(0,el.useLayoutEffect)(function(){o.current&&s&&d(s(t,o.current))},[o,s,t]);var p=io(io({},t),{previewUrl:(null==u?void 0:u.url)||"about:blank",style:pT(t.image_url||t.thumb_url||"")});return t.actions&&t.actions.length?ec().createElement(pD,{attachment:t,componentType:a},ec().createElement("div",{className:"str-chat__attachment"},ec().createElement(i,io({},p,{innerRef:o})),ec().createElement(pj,io({},e)))):ec().createElement(pD,{attachment:t,componentType:a},ec().createElement(i,io({},p,{innerRef:o})))},pR={audio:function(e){var t=e.attachment,r=e.Audio;return ec().createElement(pD,{attachment:t,componentType:"audio"},ec().createElement("div",{className:"str-chat__attachment"},ec().createElement(void 0===r?dZ:r,{og:t})))},card:function(e){var t=e.attachment,r=e.Card,i=void 0===r?pd:r,a="card";return t.actions&&t.actions.length?ec().createElement(pD,{attachment:t,componentType:a},ec().createElement("div",{className:"str-chat__attachment"},ec().createElement(i,io({},t)),ec().createElement(pj,io({},e)))):ec().createElement(pD,{attachment:t,componentType:a},ec().createElement(i,io({},t)))},file:function(e){var t=e.attachment,r=e.File;return t.asset_url?ec().createElement(pD,{attachment:t,componentType:"file"},ec().createElement(void 0===r?pC:r,{attachment:t})):null},media:function(e){var t,r=e.attachment,i=e.Media,a=void 0===i?uc.Z:i,o="media",s=pn(),l=s.shouldGenerateVideoThumbnail,u=s.videoAttachmentSizeHandler,d=(0,el.useRef)(null),p=(0,el.useState)(),f=p[0],m=p[1];(0,el.useLayoutEffect)(function(){d.current&&u&&m(u(r,d.current,l))},[d,u,r]);var g=ec().createElement("div",{className:"str-chat__player-wrapper","data-testid":"video-wrapper",ref:d,style:pT(r.thumb_url||"")},ec().createElement(a,{className:"react-player",config:{file:{attributes:{poster:null==f?void 0:f.thumbUrl}}},controls:!0,height:"100%",url:null==f?void 0:f.url,width:"100%"}));return(null===(t=r.actions)||void 0===t?void 0:t.length)?ec().createElement(pD,{attachment:r,componentType:o},ec().createElement("div",{className:"str-chat__attachment str-chat__attachment-media"},g,ec().createElement(pj,io({},e)))):ec().createElement(pD,{attachment:r,componentType:o},g)},unsupported:function(e){var t=e.attachment,r=e.UnsupportedAttachment;return ec().createElement(ec().Fragment,null,ec().createElement(void 0===r?pS:r,{attachment:t}))}},pM=["card","gallery","image","media","audio","file","unsupported"],pL=function(e){var t=e.attachments,r=(0,el.useMemo)(function(){return pA(e)},[t]);return ec().createElement("div",{className:"str-chat__attachment-list"},pM.reduce(function(e,t){return ip(ip([],e,!0),r[t],!0)},[]))},pA=function(e){var t=e.attachments,r=is(e,["attachments"]),i=t.filter(function(e){return up(e)}),a=t.filter(function(e){return!up(e)}).reduce(function(e,t){var i=pI(t),a=pR[i];return e[i].push(ec().createElement(a,io({key:"".concat(i,"-").concat(e[i].length)},r,{attachment:t}))),e},{audio:[],card:[],file:[],media:[],unsupported:[],image:[],gallery:[]});return i.length>1?a.gallery=[ec().createElement(pO,io({key:"gallery-container"},r,{attachment:{images:i,type:"gallery"}}))]:1===i.length&&(a.image=[ec().createElement(pP,io({key:"image-container"},r,{attachment:i[0]}))]),a},pI=function(e){return ud(e)?"card":e.mime_type&&-1!==uu.indexOf(e.mime_type)||"video"===e.type?"media":"audio"===e.type?"audio":"file"===e.type||e.mime_type&&-1===uu.indexOf(e.mime_type)&&"video"!==e.type?"file":"unsupported"},pN=ec().memo(function(e){var t=e.error,r=aZ("LoadingErrorIndicator").t;return t?ec().createElement("div",null,r("Error: {{ errorMessage }}",{errorMessage:t.message})):null},function(e,t){var r,i;return(null===(r=e.error)||void 0===r?void 0:r.message)===(null===(i=t.error)||void 0===i?void 0:i.message)}),pB=function(){return ec().createElement("div",{className:"str-chat__loading-channel-message"},ec().createElement("div",{className:"str-chat__loading-channel-message-avatar"}),ec().createElement("div",{className:"str-chat__loading-channel-message-end"},ec().createElement("div",{className:"str-chat__loading-channel-message-sender"}),ec().createElement("div",{className:"str-chat__loading-channel-message-last-row"},ec().createElement("div",{className:"str-chat__loading-channel-message-text"}),ec().createElement("div",{className:"str-chat__loading-channel-message-date"}))))},pU=function(){return ec().createElement("div",{className:"str-chat__loading-channel-message-input-row"},ec().createElement("div",{className:"str-chat__loading-channel-message-input"}),ec().createElement("div",{className:"str-chat__loading-channel-message-send"}))},pz=function(){return ec().createElement("div",{className:"str-chat__loading-channel-header"},ec().createElement("div",{className:"str-chat__loading-channel-header-avatar"}),ec().createElement("div",{className:"str-chat__loading-channel-header-end"},ec().createElement("div",{className:"str-chat__loading-channel-header-name"}),ec().createElement("div",{className:"str-chat__loading-channel-header-info"})))},pH=function(){return ec().createElement("div",{className:"str-chat__loading-channel"},ec().createElement(pz,null),ec().createElement("div",{className:"str-chat__loading-channel-message-list"},Array.from([,,,]).map(function(e,t){return ec().createElement(pB,{key:"loading-message-".concat(t)})})),ec().createElement(pU,null))},pq=function(e){var t=e.className;return ec().createElement("svg",{className:void 0===t?"":t,height:"4",viewBox:"0 0 11 4",width:"11",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M1.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z",fillRule:"nonzero"}))},pV=function(){return ec().createElement("svg",{"data-testid":"reply-icon",height:"15",width:"18",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M.56 10.946H.06l-.002-.498L.025.92a.5.5 0 1 1 1-.004l.032 9.029H9.06v-4l9 4.5-9 4.5v-4H.56z",fillRule:"nonzero"}))},pW=function(){return ec().createElement("svg",{height:"16",width:"16",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm3.72 6.633a.955.955 0 1 0-1.352-1.352L6.986 8.663 5.633 7.31A.956.956 0 1 0 4.28 8.663l2.029 2.028a.956.956 0 0 0 1.353 0l4.058-4.058z",fill:"#006CFF",fillRule:"evenodd"}))},p$=function(e){var t=e.className;return ec().createElement("svg",{className:void 0===t?"":t,height:"12",viewBox:"0 0 12 12",width:"12",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},ec().createElement("path",{d:"M6 1.2C3.3 1.2 1.2 3.3 1.2 6c0 2.7 2.1 4.8 4.8 4.8 2.7 0 4.8-2.1 4.8-4.8 0-2.7-2.1-4.8-4.8-4.8zM0 6c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6-6-2.7-6-6z"}),ec().createElement("path",{d:"M5.4 4.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zM8.4 4.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zM3.3 6.7c.3-.2.6-.1.8.1.3.4.8.9 1.5 1 .6.2 1.4.1 2.4-1 .2-.2.6-.3.8 0 .2.2.3.6 0 .8-1.1 1.3-2.4 1.7-3.5 1.5-1-.2-1.8-.9-2.2-1.5-.2-.3-.1-.7.2-.9z"})))},pG=function(e){var t=e.className;return ec().createElement("svg",{className:void 0===t?"":t,height:"10",width:"14",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M8.516 3c4.78 0 4.972 6.5 4.972 6.5-1.6-2.906-2.847-3.184-4.972-3.184v2.872L3.772 4.994 8.516.5V3zM.484 5l4.5-4.237v1.78L2.416 5l2.568 2.125v1.828L.484 5z",fillRule:"evenodd"}))},pY=function(){return ec().createElement("svg",{"data-testid":"delivered-icon",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{clipRule:"evenodd",d:"M8.9999 16.2L4.7999 12L3.3999 13.4L8.9999 19L20.9999 6.99998L19.5999 5.59998L8.9999 16.2Z",fill:"black",fillRule:"evenodd"}))},pK=function(){return ec().createElement("div",{className:"str-chat__message-error-icon"},ec().createElement("svg",{"data-testid":"error",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z",fill:"black",id:"background"}),ec().createElement("path",{d:"M13 17H11V15H13V17ZM13 13H11V7H13V13Z",fill:"white"})))},pZ=function(e,t,r){var i,a,o,s=pn("useUserRole"),l=s.channel,u=s.channelCapabilities,d=void 0===u?{}:u,p=a4("useUserRole").client,f=(null===(i=p.user)||void 0===i?void 0:i.role)==="admin"||"admin"===l.state.membership.role,m="owner"===l.state.membership.role,g=(null===(a=p.user)||void 0===a?void 0:a.role)==="channel_moderator"||"channel_moderator"===l.state.membership.role||"moderator"===l.state.membership.role||!0===l.state.membership.is_moderator||"channel_moderator"===l.state.membership.channel_role,v=p.userID===(null===(o=e.user)||void 0===o?void 0:o.id),b=!t&&d["update-any-message"]||v&&d["update-own-message"];return{canDelete:d["delete-any-message"]||v&&d["delete-own-message"],canEdit:b,canFlag:!v&&d["flag-message"],canMute:!v&&d["mute-channel"],canQuote:!r&&d["quote-message"],canReact:d["send-reaction"],canReply:d["send-reply"],isAdmin:f,isModerator:g,isMyMessage:v,isOwner:m}},pJ=function(e){var t=e.message,r=aZ("MessageDeleted").t,i=pZ(t).isMyMessage;return ec().createElement("div",{className:"".concat(i?"str-chat__message str-chat__message--me str-chat__message-simple str-chat__message-simple--me":"str-chat__message str-chat__message-simple str-chat__message--other"," str-chat__message--deleted ").concat(t.type," "),"data-testid":"message-deleted-component",key:t.id},ec().createElement("div",{className:"str-chat__message--deleted-inner"},r("This message was deleted...")))},pX=r(86725),pQ=r.n(pX),p0=r(45718),p1=r.n(p0),p2=function(e,t){if(!e||"function"!=typeof e)return null;t instanceof Array||(t=[t]);var r=e.apply(void 0,t);return"string"!=typeof r?null:r},p3=function(e,t){return!!t&&!!e&&!!t.filter(function(t){var r;return t.target.id===(null===(r=e.user)||void 0===r?void 0:r.id)}).length},p4={delete:"delete",edit:"edit",flag:"flag",mute:"mute",pin:"pin",quote:"quote",react:"react",reply:"reply"},p6={commerce:{admin:!0,anonymous:!1,channel_member:!1,channel_moderator:!0,guest:!1,member:!1,moderator:!0,owner:!0,user:!1},gaming:{admin:!0,anonymous:!1,channel_member:!1,channel_moderator:!0,guest:!1,member:!1,moderator:!0,owner:!1,user:!1},livestream:{admin:!0,anonymous:!1,channel_member:!1,channel_moderator:!0,guest:!1,member:!1,moderator:!0,owner:!0,user:!1},messaging:{admin:!0,anonymous:!1,channel_member:!0,channel_moderator:!0,guest:!1,member:!0,moderator:!0,owner:!0,user:!1},team:{admin:!0,anonymous:!1,channel_member:!0,channel_moderator:!0,guest:!1,member:!0,moderator:!0,owner:!0,user:!1}},p5=function(e,t){var r=t.canDelete,i=t.canEdit,a=t.canFlag,o=t.canMute,s=t.canPin,l=t.canQuote,u=t.canReact,d=t.canReply,p=[],f=[];if(e&&"boolean"==typeof e)f=Object.keys(p4);else{if(!e||!(e.length>0))return[];f=ip([],e,!0)}return r&&f.indexOf(p4.delete)>-1&&p.push(p4.delete),i&&f.indexOf(p4.edit)>-1&&p.push(p4.edit),a&&f.indexOf(p4.flag)>-1&&p.push(p4.flag),o&&f.indexOf(p4.mute)>-1&&p.push(p4.mute),s&&f.indexOf(p4.pin)>-1&&p.push(p4.pin),l&&f.indexOf(p4.quote)>-1&&p.push(p4.quote),u&&f.indexOf(p4.react)>-1&&p.push(p4.react),d&&f.indexOf(p4.reply)>-1&&p.push(p4.reply),p},p8=["pin","react","reply"],p9=function(e,t){var r,i,a,o,s,l;return e.deleted_at===t.deleted_at&&(null===(r=e.latest_reactions)||void 0===r?void 0:r.length)===(null===(i=t.latest_reactions)||void 0===i?void 0:i.length)&&(null===(a=e.own_reactions)||void 0===a?void 0:a.length)===(null===(o=t.own_reactions)||void 0===o?void 0:o.length)&&e.pinned===t.pinned&&e.reply_count===t.reply_count&&e.status===t.status&&e.text===t.text&&e.type===t.type&&e.updated_at===t.updated_at&&(null===(s=e.user)||void 0===s?void 0:s.updated_at)===(null===(l=t.user)||void 0===l?void 0:l.updated_at)},p7=function(e){return!!(null==e?void 0:e.attachments)&&!!e.attachments.length},fe=function(e){return e.name||e.id},ft=function(e,t,r,i){var a="";if(!t)throw Error("getReadByTooltipText was called, but translation function is not available");if(!i)throw Error("getReadByTooltipText was called, but tooltipUserNameMapper function is not available");var o=e.filter(function(e){return e&&(null==r?void 0:r.user)&&e.id!==r.user.id}).map(i),s=o.slice(0,5),l=o.length-s.length;if(1===s.length)a="".concat(s[0]," ");else if(2===s.length)a=t("{{ firstUser }} and {{ secondUser }}",{firstUser:s[0],secondUser:s[1]});else if(s.length>2){if(0===l){var u=s.splice(s.length-1,1);a=t("{{ commaSeparatedUsers }}, and {{ lastUser }}",{commaSeparatedUsers:s.join(", "),lastUser:u})}else a=t("{{ commaSeparatedUsers }} and {{ moreCount }} more",{commaSeparatedUsers:s.join(", "),moreCount:l})}return a},fn=ec().createContext(void 0),fr=function(e){var t=e.children,r=e.value;return ec().createElement(fn.Provider,{value:r},t)},fi=function(e){return(0,el.useContext)(fn)||(console.warn("The useChannelActionContext hook was called outside of the ChannelActionContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})},fa=ec().createContext(void 0),fo=function(e){var t=e.children,r=e.value;return ec().createElement(fa.Provider,{value:r},t)},fs=function(e){return(0,el.useContext)(fa)||(console.warn("The useMessageContext hook was called outside of the MessageContext provider. Make sure this hook is called within the Message's UI component. The errored call is located in the ".concat(e," component.")),{})},fl=function(e){var t=e.customMessageActions,r=e.message,i=Object.keys(t);return ec().createElement(ec().Fragment,null,i.map(function(e){var i=t[e];return ec().createElement("button",{"aria-selected":"false",className:"str-chat__message-actions-list-item str-chat__message-actions-list-item-button",key:e,onClick:function(e){return i(r,e)},role:"option"},e)}))},fc=ec().memo(function(e){var t=e.getMessageActions,r=e.handleDelete,i=e.handleEdit,a=e.handleFlag,o=e.handleMute,s=e.handlePin,l=e.isUserMuted,u=e.mine,d=e.open,p=void 0!==d&&d,f=fi("MessageActionsBox").setQuotedMessage,m=fs("MessageActionsBox"),g=m.customMessageActions,v=m.message,b=m.messageListRect,y=aZ("MessageActionsBox").t,_=(0,el.useState)(!1),w=_[0],k=_[1],x=t(),E=(0,el.useCallback)(function(e){if(!e){k(!1);return}if(p){var t=e.getBoundingClientRect();u?k(!!b&&t.leftb.right)}},[b,u,p]),F=a5("str-chat__message-actions-box",{"str-chat__message-actions-box--mine":u,"str-chat__message-actions-box--open":p,"str-chat__message-actions-box--reverse":w}),C="str-chat__message-actions-list-item str-chat__message-actions-list-item-button";return ec().createElement("div",{className:F,"data-testid":"message-actions-box",ref:E},ec().createElement("div",{"aria-label":"Message Options",className:"str-chat__message-actions-list",role:"listbox"},g&&ec().createElement(fl,{customMessageActions:g,message:v}),x.indexOf(p4.quote)>-1&&ec().createElement("button",{"aria-selected":"false",className:C,onClick:function(){f(v);var e=(v.parent_id?document.querySelectorAll(".str-chat__thread .str-chat__textarea__textarea"):document.getElementsByClassName("str-chat__textarea__textarea")).item(0);e instanceof HTMLTextAreaElement&&e.focus()},role:"option"},y("Reply")),x.indexOf(p4.pin)>-1&&!v.parent_id&&ec().createElement("button",{"aria-selected":"false",className:C,onClick:s,role:"option"},y(v.pinned?"Unpin":"Pin")),x.indexOf(p4.flag)>-1&&ec().createElement("button",{"aria-selected":"false",className:C,onClick:a,role:"option"},y("Flag")),x.indexOf(p4.mute)>-1&&ec().createElement("button",{"aria-selected":"false",className:C,onClick:o,role:"option"},y(l()?"Unmute":"Mute")),x.indexOf(p4.edit)>-1&&ec().createElement("button",{"aria-selected":"false",className:C,onClick:i,role:"option"},y("Edit Message")),x.indexOf(p4.delete)>-1&&ec().createElement("button",{"aria-selected":"false",className:C,onClick:r,role:"option"},y("Delete"))))}),fu=function(e){var t=e.ActionsIcon,r=e.customWrapperClass,i=e.getMessageActions,a=e.handleDelete,o=e.handleFlag,s=e.handleMute,l=e.handlePin,u=e.inline,d=e.message,p=e.messageWrapperRef,f=e.mine,m=a4("MessageActions").mutes,g=fs("MessageActions"),v=g.customMessageActions,b=g.getMessageActions,y=g.handleDelete,_=g.handleFlag,w=g.handleMute,k=g.handlePin,x=g.isMyMessage,E=g.message,F=g.setEditingState,C=i||b,S=d||E,D=(0,el.useState)(!1),j=D[0],T=D[1],O=(0,el.useCallback)(function(){return p3(S,m)},[S,m]),P=(0,el.useCallback)(function(e){e instanceof KeyboardEvent&&"Escape"!==e.key||T(!1)},[]),R=C(),M=!!(null==S?void 0:S.deleted_at);return((0,el.useEffect)(function(){(null==p?void 0:p.current)&&p.current.addEventListener("mouseleave",P)},[P,p]),(0,el.useEffect)(function(){M&&document.removeEventListener("click",P)},[P,M]),(0,el.useEffect)(function(){if(j)return document.addEventListener("click",P),document.addEventListener("keyup",P),function(){document.removeEventListener("click",P),document.removeEventListener("keyup",P)}},[j,P]),R.length||v)?ec().createElement(fd,{customWrapperClass:void 0===r?"":r,inline:u,setActionsBoxOpen:T},ec().createElement(fc,{getMessageActions:C,handleDelete:a||y,handleEdit:F,handleFlag:o||_,handleMute:s||w,handlePin:l||k,isUserMuted:O,mine:f?f():x(),open:j}),ec().createElement("button",{"aria-expanded":j,"aria-haspopup":"true","aria-label":"Open Message Actions Menu",className:"str-chat__message-actions-box-button"},ec().createElement(void 0===t?pq:t,{className:"str-chat__message-action-icon"}))):null},fd=function(e){var t=e.children,r=e.customWrapperClass,i=e.inline,a=e.setActionsBoxOpen,o={className:r||"\n str-chat__message-simple__actions__action\n str-chat__message-simple__actions__action--options\n str-chat__message-actions-container","data-testid":"message-actions",onClick:function(e){e.stopPropagation(),a(function(e){return!e})}};return i?ec().createElement("span",io({},o),t):ec().createElement("div",io({},o),t)},fp=ec().memo(function(e){var t=e.ActionsIcon,r=e.displayReplies,i=e.handleOpenThread,a=e.messageWrapperRef,o=e.ReactionIcon,s=e.theme,l=void 0===s?"simple":s,u=e.ThreadIcon,d=fs("MessageOptions"),p=d.customMessageActions,f=d.getMessageActions,m=d.handleOpenThread,g=d.initialMessage,v=d.message,b=d.onReactionListClick,y=d.threadList,_=f(),w=!(0===_.length||y&&0===_.filter(function(e){return!p8.includes(e)}).length||1===_.length&&(_.includes("react")||_.includes("reply"))||2===_.length&&_.includes("react")&&_.includes("reply"))||!!p,k=_.indexOf(p4.react)>-1,x=_.indexOf(p4.reply)>-1&&(void 0===r||r)&&!y;if(!v.type||"error"===v.type||"system"===v.type||"ephemeral"===v.type||"failed"===v.status||"sending"===v.status||g)return null;var E="str-chat__message-".concat(l,"__actions str-chat__message-options");return ec().createElement("div",{className:E,"data-testid":"message-options"},w&&ec().createElement(fu,{ActionsIcon:void 0===t?pq:t,messageWrapperRef:a}),x&&ec().createElement("button",{"aria-label":"Open Thread",className:"str-chat__message-".concat(l,"__actions__action str-chat__message-").concat(l,"__actions__action--thread str-chat__message-reply-in-thread-button"),"data-testid":"thread-action",onClick:i||m},ec().createElement(void 0===u?pG:u,{className:"str-chat__message-action-icon"})),k&&ec().createElement("button",{"aria-label":"Open Reaction Selector",className:"str-chat__message-".concat(l,"__actions__action str-chat__message-").concat(l,"__actions__action--reactions str-chat__message-reactions-button"),"data-testid":"message-reaction-action",onClick:b},ec().createElement(void 0===o?p$:o,{className:"str-chat__message-action-icon"})))}),ff=ec().memo(function(e){var t=e.labelPlural,r=e.labelSingle,i=e.onClick,a=e.reply_count,o=void 0===a?0:a,s=aZ("MessageRepliesCountButton").t,l=a4("MessageRepliesCountButton").themeVersion;if(!o)return null;var u=s("replyCount",{count:o});return t&&o>1?u="".concat(o," ").concat(t):r&&(u="1 ".concat(r)),ec().createElement("div",{className:"str-chat__message-simple-reply-button str-chat__message-replies-count-button-wrapper"},ec().createElement("button",{className:"str-chat__message-replies-count-button","data-testid":"replies-count-button",onClick:i},"1"===l&&ec().createElement(pV,null),u))}),fh=r(60962);function fm(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fg(e){var t=fm(e).Element;return e instanceof t||e instanceof Element}function fv(e){var t=fm(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function fb(e){if("undefined"==typeof ShadowRoot)return!1;var t=fm(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var fy=Math.max,f_=Math.min,fw=Math.round;function fk(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function fx(){return!/^((?!chrome|android).)*safari/i.test(fk())}function fE(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var i=e.getBoundingClientRect(),a=1,o=1;t&&fv(e)&&(a=e.offsetWidth>0&&fw(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&fw(i.height)/e.offsetHeight||1);var s=(fg(e)?fm(e):window).visualViewport,l=!fx()&&r,u=(i.left+(l&&s?s.offsetLeft:0))/a,d=(i.top+(l&&s?s.offsetTop:0))/o,p=i.width/a,f=i.height/o;return{width:p,height:f,top:d,right:u+p,bottom:d+f,left:u,x:u,y:d}}function fF(e){var t=fm(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fC(e){return e?(e.nodeName||"").toLowerCase():null}function fS(e){return((fg(e)?e.ownerDocument:e.document)||window.document).documentElement}function fD(e){return fE(fS(e)).left+fF(e).scrollLeft}function fj(e){return fm(e).getComputedStyle(e)}function fT(e){var t=fj(e),r=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+i)}function fO(e){var t=fE(e),r=e.offsetWidth,i=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-i)&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function fP(e){return"html"===fC(e)?e:e.assignedSlot||e.parentNode||(fb(e)?e.host:null)||fS(e)}function fR(e,t){void 0===t&&(t=[]);var r,i=function e(t){return["html","body","#document"].indexOf(fC(t))>=0?t.ownerDocument.body:fv(t)&&fT(t)?t:e(fP(t))}(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),o=fm(i),s=a?[o].concat(o.visualViewport||[],fT(i)?i:[]):i,l=t.concat(s);return a?l:l.concat(fR(fP(s)))}function fM(e){return fv(e)&&"fixed"!==fj(e).position?e.offsetParent:null}function fL(e){for(var t=fm(e),r=fM(e);r&&["table","td","th"].indexOf(fC(r))>=0&&"static"===fj(r).position;)r=fM(r);return r&&("html"===fC(r)||"body"===fC(r)&&"static"===fj(r).position)?t:r||function(e){var t=/firefox/i.test(fk());if(/Trident/i.test(fk())&&fv(e)&&"fixed"===fj(e).position)return null;var r=fP(e);for(fb(r)&&(r=r.host);fv(r)&&0>["html","body"].indexOf(fC(r));){var i=fj(r);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return r;r=r.parentNode}return null}(e)||t}var fA="bottom",fI="right",fN="left",fB="auto",fU=["top",fA,fI,fN],fz="start",fH="viewport",fq="popper",fV=fU.reduce(function(e,t){return e.concat([t+"-"+fz,t+"-end"])},[]),fW=[].concat(fU,[fB]).reduce(function(e,t){return e.concat([t,t+"-"+fz,t+"-end"])},[]),f$=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],fG={placement:"bottom",modifiers:[],strategy:"absolute"};function fY(){for(var e=arguments.length,t=Array(e),r=0;r=0?"x":"y"}function fQ(e){var t,r=e.reference,i=e.element,a=e.placement,o=a?fZ(a):null,s=a?fJ(a):null,l=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2;switch(o){case"top":t={x:l,y:r.y-i.height};break;case fA:t={x:l,y:r.y+r.height};break;case fI:t={x:r.x+r.width,y:u};break;case fN:t={x:r.x-i.width,y:u};break;default:t={x:r.x,y:r.y}}var d=o?fX(o):null;if(null!=d){var p="y"===d?"height":"width";switch(s){case fz:t[d]=t[d]-(r[p]/2-i[p]/2);break;case"end":t[d]=t[d]+(r[p]/2-i[p]/2)}}return t}var f0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f1(e){var t,r,i,a,o,s,l,u=e.popper,d=e.popperRect,p=e.placement,f=e.variation,m=e.offsets,g=e.position,v=e.gpuAcceleration,b=e.adaptive,y=e.roundOffsets,_=e.isFixed,w=m.x,k=void 0===w?0:w,x=m.y,E=void 0===x?0:x,F="function"==typeof y?y({x:k,y:E}):{x:k,y:E};k=F.x,E=F.y;var C=m.hasOwnProperty("x"),S=m.hasOwnProperty("y"),D=fN,j="top",T=window;if(b){var O=fL(u),P="clientHeight",R="clientWidth";O===fm(u)&&"static"!==fj(O=fS(u)).position&&"absolute"===g&&(P="scrollHeight",R="scrollWidth"),("top"===p||(p===fN||p===fI)&&"end"===f)&&(j=fA,E-=(_&&O===T&&T.visualViewport?T.visualViewport.height:O[P])-d.height,E*=v?1:-1),(p===fN||("top"===p||p===fA)&&"end"===f)&&(D=fI,k-=(_&&O===T&&T.visualViewport?T.visualViewport.width:O[R])-d.width,k*=v?1:-1)}var M=Object.assign({position:g},b&&f0),L=!0===y?(t={x:k,y:E},r=fm(u),i=t.x,a=t.y,{x:fw(i*(o=r.devicePixelRatio||1))/o||0,y:fw(a*o)/o||0}):{x:k,y:E};return(k=L.x,E=L.y,v)?Object.assign({},M,((l={})[j]=S?"0":"",l[D]=C?"0":"",l.transform=1>=(T.devicePixelRatio||1)?"translate("+k+"px, "+E+"px)":"translate3d("+k+"px, "+E+"px, 0)",l)):Object.assign({},M,((s={})[j]=S?E+"px":"",s[D]=C?k+"px":"",s.transform="",s))}var f2={left:"right",right:"left",bottom:"top",top:"bottom"};function f3(e){return e.replace(/left|right|bottom|top/g,function(e){return f2[e]})}var f4={start:"end",end:"start"};function f6(e){return e.replace(/start|end/g,function(e){return f4[e]})}function f5(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&fb(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function f8(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function f9(e,t,r){var i,a,o,s,l,u,d,p,f,m;return t===fH?f8(function(e,t){var r=fm(e),i=fS(e),a=r.visualViewport,o=i.clientWidth,s=i.clientHeight,l=0,u=0;if(a){o=a.width,s=a.height;var d=fx();(d||!d&&"fixed"===t)&&(l=a.offsetLeft,u=a.offsetTop)}return{width:o,height:s,x:l+fD(e),y:u}}(e,r)):fg(t)?((i=fE(t,!1,"fixed"===r)).top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i):f8((a=fS(e),s=fS(a),l=fF(a),u=null==(o=a.ownerDocument)?void 0:o.body,d=fy(s.scrollWidth,s.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),p=fy(s.scrollHeight,s.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),f=-l.scrollLeft+fD(a),m=-l.scrollTop,"rtl"===fj(u||s).direction&&(f+=fy(s.clientWidth,u?u.clientWidth:0)-d),{width:d,height:p,x:f,y:m}))}function f7(){return{top:0,right:0,bottom:0,left:0}}function he(e){return Object.assign({},f7(),e)}function ht(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function hn(e,t){void 0===t&&(t={});var r,i,a,o,s,l,u,d,p=t,f=p.placement,m=void 0===f?e.placement:f,g=p.strategy,v=void 0===g?e.strategy:g,b=p.boundary,y=p.rootBoundary,_=p.elementContext,w=void 0===_?fq:_,k=p.altBoundary,x=p.padding,E=void 0===x?0:x,F=he("number"!=typeof E?E:ht(E,fU)),C=e.rects.popper,S=e.elements[void 0!==k&&k?w===fq?"reference":fq:w],D=(r=fg(S)?S:S.contextElement||fS(e.elements.popper),i=void 0===b?"clippingParents":b,a=void 0===y?fH:y,u=(l=[].concat("clippingParents"===i?(o=fR(fP(r)),fg(s=["absolute","fixed"].indexOf(fj(r).position)>=0&&fv(r)?fL(r):r)?o.filter(function(e){return fg(e)&&f5(e,s)&&"body"!==fC(e)}):[]):[].concat(i),[a]))[0],(d=l.reduce(function(e,t){var i=f9(r,t,v);return e.top=fy(i.top,e.top),e.right=f_(i.right,e.right),e.bottom=f_(i.bottom,e.bottom),e.left=fy(i.left,e.left),e},f9(r,u,v))).width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d),j=fE(e.elements.reference),T=fQ({reference:j,element:C,strategy:"absolute",placement:m}),O=f8(Object.assign({},C,T)),P=w===fq?O:j,R={top:D.top-P.top+F.top,bottom:P.bottom-D.bottom+F.bottom,left:D.left-P.left+F.left,right:P.right-D.right+F.right},M=e.modifiersData.offset;if(w===fq&&M){var L=M[m];Object.keys(R).forEach(function(e){var t=[fI,fA].indexOf(e)>=0?1:-1,r=["top",fA].indexOf(e)>=0?"y":"x";R[e]+=L[r]*t})}return R}function hr(e,t,r){return fy(e,f_(t,r))}function hi(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ha(e){return["top",fI,fA,fN].some(function(t){return e[t]>=0})}var ho=function(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,i=void 0===r?[]:r,a=t.defaultOptions,o=void 0===a?fG:a;return function(e,t,r){void 0===r&&(r=o);var a,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},fG,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],d=!1,p={state:l,setOptions:function(r){var a,s,d,m,g,v="function"==typeof r?r(l.options):r;f(),l.options=Object.assign({},o,l.options,v),l.scrollParents={reference:fg(e)?fR(e):e.contextElement?fR(e.contextElement):[],popper:fR(t)};var b=(s=Object.keys(a=[].concat(i,l.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return a[e]}),d=new Map,m=new Set,g=[],s.forEach(function(e){d.set(e.name,e)}),s.forEach(function(e){m.has(e.name)||function e(t){m.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!m.has(t)){var r=d.get(t);r&&e(r)}}),g.push(t)}(e)}),f$.reduce(function(e,t){return e.concat(g.filter(function(e){return e.phase===t}))},[]));return l.orderedModifiers=b.filter(function(e){return e.enabled}),l.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,i=e.effect;if("function"==typeof i){var a=i({state:l,name:t,instance:p,options:void 0===r?{}:r});u.push(a||function(){})}}),p.update()},forceUpdate:function(){if(!d){var e,t,r,i,a,o,s,u,f,m,g,v,b=l.elements,y=b.reference,_=b.popper;if(fY(y,_)){l.rects={reference:(t=fL(_),r="fixed"===l.options.strategy,i=fv(t),u=fv(t)&&(o=fw((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=fw(a.height)/t.offsetHeight||1,1!==o||1!==s),f=fS(t),m=fE(y,u,r),g={scrollLeft:0,scrollTop:0},v={x:0,y:0},(i||!i&&!r)&&(("body"!==fC(t)||fT(f))&&(g=(e=t)!==fm(e)&&fv(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:fF(e)),fv(t)?(v=fE(t,!0),v.x+=t.clientLeft,v.y+=t.clientTop):f&&(v.x=fD(f))),{x:m.left+g.scrollLeft-v.x,y:m.top+g.scrollTop-v.y,width:m.width,height:m.height}),popper:fO(_)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(e){return l.modifiersData[e.name]=Object.assign({},e.data)});for(var w=0;w=0?-1:1,u=(l="function"==typeof o?o(Object.assign({},i,{placement:r})):o)[0],d=l[1],u=u||0,d=(d||0)*s,[fN,fI].indexOf(a)>=0?{x:d,y:u}:{x:u,y:d}),e},{}),l=s[t.placement],u=l.x,d=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=r.mainAxis,o=void 0===a||a,s=r.altAxis,l=void 0===s||s,u=r.fallbackPlacements,d=r.padding,p=r.boundary,f=r.rootBoundary,m=r.altBoundary,g=r.flipVariations,v=void 0===g||g,b=r.allowedAutoPlacements,y=t.options.placement,_=fZ(y)===y,w=u||(_||!v?[f3(y)]:function(e){if(fZ(e)===fB)return[];var t=f3(e);return[f6(e),t,f6(t)]}(y)),k=[y].concat(w).reduce(function(e,r){var i,a,o,s,l,u,m,g,y,_,w,k;return e.concat(fZ(r)===fB?(a=(i={placement:r,boundary:p,rootBoundary:f,padding:d,flipVariations:v,allowedAutoPlacements:b}).placement,o=i.boundary,s=i.rootBoundary,l=i.padding,u=i.flipVariations,g=void 0===(m=i.allowedAutoPlacements)?fW:m,0===(w=(_=(y=fJ(a))?u?fV:fV.filter(function(e){return fJ(e)===y}):fU).filter(function(e){return g.indexOf(e)>=0})).length&&(w=_),Object.keys(k=w.reduce(function(e,r){return e[r]=hn(t,{placement:r,boundary:o,rootBoundary:s,padding:l})[fZ(r)],e},{})).sort(function(e,t){return k[e]-k[t]})):r)},[]),x=t.rects.reference,E=t.rects.popper,F=new Map,C=!0,S=k[0],D=0;D=0,R=P?"width":"height",M=hn(t,{placement:j,boundary:p,rootBoundary:f,altBoundary:m,padding:d}),L=P?O?fI:fN:O?fA:"top";x[R]>E[R]&&(L=f3(L));var A=f3(L),I=[];if(o&&I.push(M[T]<=0),l&&I.push(M[L]<=0,M[A]<=0),I.every(function(e){return e})){S=j,C=!1;break}F.set(j,I)}if(C)for(var N=v?3:1,B=function(e){var t=k.find(function(t){var r=F.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},U=N;U>0&&"break"!==B(U);U--);t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,i=e.name,a=r.mainAxis,o=r.altAxis,s=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,f=void 0===p||p,m=r.tetherOffset,g=void 0===m?0:m,v=hn(t,{boundary:s,rootBoundary:l,padding:d,altBoundary:u}),b=fZ(t.placement),y=fJ(t.placement),_=!y,w=fX(b),k="x"===w?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,F=t.rects.popper,C="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,S="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(x){if(void 0===a||a){var T,O="y"===w?"top":fN,P="y"===w?fA:fI,R="y"===w?"height":"width",M=x[w],L=M+v[O],A=M-v[P],I=f?-F[R]/2:0,N=y===fz?E[R]:F[R],B=y===fz?-F[R]:-E[R],U=t.elements.arrow,z=f&&U?fO(U):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:f7(),q=H[O],V=H[P],W=hr(0,E[R],z[R]),$=_?E[R]/2-I-W-q-S.mainAxis:N-W-q-S.mainAxis,G=_?-E[R]/2+I+W+V+S.mainAxis:B+W+V+S.mainAxis,Y=t.elements.arrow&&fL(t.elements.arrow),K=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,Z=null!=(T=null==D?void 0:D[w])?T:0,J=hr(f?f_(L,M+$-Z-K):L,M,f?fy(A,M+G-Z):A);x[w]=J,j[w]=J-M}if(void 0!==o&&o){var X,Q,ee="x"===w?"top":fN,et="x"===w?fA:fI,en=x[k],er="y"===k?"height":"width",ei=en+v[ee],ea=en-v[et],eo=-1!==["top",fN].indexOf(b),es=null!=(Q=null==D?void 0:D[k])?Q:0,el=eo?ei:en-E[er]-F[er]-es+S.altAxis,ec=eo?en+E[er]+F[er]-es-S.altAxis:ea,eu=f&&eo?(X=hr(el,en,ec))>ec?ec:X:hr(f?el:ei,en,f?ec:ea);x[k]=eu,j[k]=eu-en}t.modifiersData[i]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,i=e.state,a=e.name,o=e.options,s=i.elements.arrow,l=i.modifiersData.popperOffsets,u=fZ(i.placement),d=fX(u),p=[fN,fI].indexOf(u)>=0?"height":"width";if(s&&l){var f=he("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},i.rects,{placement:i.placement})):t)?t:ht(t,fU)),m=fO(s),g="y"===d?"top":fN,v="y"===d?fA:fI,b=i.rects.reference[p]+i.rects.reference[d]-l[d]-i.rects.popper[p],y=l[d]-i.rects.reference[d],_=fL(s),w=_?"y"===d?_.clientHeight||0:_.clientWidth||0:0,k=f[g],x=w-m[p]-f[v],E=w/2-m[p]/2+(b/2-y/2),F=hr(k,E,x);i.modifiersData[a]=((r={})[d]=F,r.centerOffset=F-E,r)}},effect:function(e){var t=e.state,r=e.options.element,i=void 0===r?"[data-popper-arrow]":r;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&f5(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,i=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,s=hn(t,{elementContext:"reference"}),l=hn(t,{altBoundary:!0}),u=hi(s,i),d=hi(l,a,o),p=ha(u),f=ha(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),hs=function(e){return e.reduce(function(e,t){var r=t[0],i=t[1];return e[r]=i,e},{})},hl="undefined"!=typeof window&&window.document&&window.document.createElement?el.useLayoutEffect:el.useEffect,hc=[],hu=function(e,t,r){void 0===r&&(r={});var i=el.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||hc},o=el.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=o[0],l=o[1],u=el.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);fh.flushSync(function(){l({styles:hs(r.map(function(e){return[e,t.styles[e]||{}]})),attributes:hs(r.map(function(e){return[e,t.attributes[e]]}))})})},requires:["computeStyles"]}},[]),d=el.useMemo(function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return pQ()(i.current,e)?i.current||e:(i.current=e,e)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),p=el.useRef();return hl(function(){p.current&&p.current.setOptions(d)},[d]),hl(function(){if(null!=e&&null!=t){var i=(r.createPopper||ho)(e,t,d);return p.current=i,function(){i.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:s.styles,attributes:s.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},hd=function(e){var t=e.children,r=is(e,["children"]);return ec().createElement("div",io({className:"str-chat__tooltip"},r),t)},hp=function(e){var t=e.children,r=e.offset,i=e.referenceElement,a=e.placement,o=e.visible,s=(0,el.useState)(null),l=s[0],u=s[1],d=hu(i,l,{modifiers:[{name:"offset",options:{offset:void 0===r?[0,10]:r}}],placement:void 0===a?"top":a}),p=d.attributes,f=d.styles;return void 0!==o&&o?ec().createElement("div",io({className:"str-chat__tooltip",ref:u,style:f.popper},p.popper),t):null},hf=function(e){var t=void 0===e?{}:e,r=t.onMouseEnter,i=t.onMouseLeave,a=(0,el.useState)(!1),o=a[0],s=a[1];return{handleEnter:(0,el.useCallback)(function(e){s(!0),null==r||r(e)},[r]),handleLeave:(0,el.useCallback)(function(e){s(!1),null==i||i(e)},[i]),tooltipVisible:o}},hh=ec().memo(function(e){var t,r=e.Avatar,i=e.messageType,a=void 0===i?"simple":i,o=e.tooltipUserNameMapper,s=void 0===o?fe:o,l=hf(),u=l.handleEnter,d=l.handleLeave,p=l.tooltipVisible,f=a4("MessageStatus").client,m=d8("MessageStatus").Avatar,g=fs("MessageStatus"),v=g.isMyMessage,b=g.lastReceivedId,y=g.message,_=g.readBy,w=g.threadList,k=aZ("MessageStatus").t,x=a4("MessageStatus").themeVersion,E=(0,el.useState)(null),F=E[0],C=E[1];if(!v()||"error"===y.type)return null;var S=(null==_?void 0:_.length)===1&&_[0].id===(null===(t=f.user)||void 0===t?void 0:t.id),D="sending"===y.status,j="received"===y.status&&y.id===b&&!w,T=!!((null==_?void 0:_.length)&&!w&&!S),O=(T?_.filter(function(e){var t;return e.id!==(null===(t=f.user)||void 0===t?void 0:t.id)}):[])[0];return ec().createElement("span",{className:"str-chat__message-".concat(a,"-status str-chat__message-status"),"data-testid":a5({"message-status-read-by":T,"message-status-received":j&&!T,"message-status-sending":D}),onMouseEnter:u,onMouseLeave:d,ref:C},D&&ec().createElement(ec().Fragment,null,"1"===x&&ec().createElement(hd,null,k("Sending...")),"2"===x&&ec().createElement(hp,{offset:[0,5],referenceElement:F,visible:p},k("Sending...")),ec().createElement(cG,null)),j&&!T&&ec().createElement(ec().Fragment,null,"1"===x&&ec().createElement(hd,null,k("Delivered")),"2"===x&&ec().createElement(hp,{offset:[0,5],referenceElement:F,visible:p},k("Delivered")),"2"===x?ec().createElement(pY,null):ec().createElement(pW,null)),T&&ec().createElement(ec().Fragment,null,"1"===x&&ec().createElement(hd,null,ft(_,k,f,s)),"2"===x&&ec().createElement(hp,{offset:[0,5],referenceElement:F,visible:p},ft(_,k,f,s)),ec().createElement(r||m||ok,{image:O.image,name:O.name||O.id,size:15,user:O}),_.length>2&&ec().createElement("span",{className:"str-chat__message-".concat(a,"-status-number"),"data-testid":"message-status-read-by-many"},_.length-1)))}),hm=function(){var e,t,r,i=d8("QuotedMessage"),a=i.Attachment,o=i.Avatar,s=fs("QuotedMessage"),l=s.isMyMessage,u=s.message,d=aZ("QuotedMessage"),p=d.t,f=d.userLanguage,m=fi("QuotedMessage").jumpToMessage,g=u.quoted_message;if(!g)return null;var v=g.deleted_at||"deleted"===g.type,b=v?p("This message was deleted..."):(null===(e=g.i18n)||void 0===e?void 0:e["".concat(f,"_text")])||g.text,y=(null===(t=g.attachments)||void 0===t?void 0:t.length)&&!v?g.attachments[0]:null;return b||y?ec().createElement(ec().Fragment,null,ec().createElement("div",{className:a5("str-chat__quoted-message-preview quoted-message",{mine:l()}),"data-testid":"quoted-message",onClickCapture:function(e){e.stopPropagation(),e.preventDefault(),m(g.id)}},g.user&&ec().createElement(o||ok,{image:g.user.image,name:g.user.name||g.user.id,size:20,user:g.user}),ec().createElement("div",{className:"quoted-message-inner str-chat__quoted-message-bubble","data-testid":"quoted-message-contents"},y&&ec().createElement(a,{attachments:[y]}),ec().createElement("div",{"data-testid":"quoted-message-text"},b))),(null===(r=u.attachments)||void 0===r?void 0:r.length)?ec().createElement(a,{attachments:u.attachments}):null):null};let hg={tokenize:function(e,t,r){let i=0;return function t(o){return(87===o||119===o)&&i<3?(i++,e.consume(o),t):46===o&&3===i?(e.consume(o),a):r(o)};function a(e){return null===e?r(e):t(e)}},partial:!0},hv={tokenize:function(e,t,r){let i,a,o;return s;function s(t){return 46===t||95===t?e.check(hy,u,l)(t):null===t||sn(t)||sa(t)||45!==t&&si(t)?u(t):(o=!0,e.consume(t),s)}function l(t){return 95===t?i=!0:(a=i,i=void 0),e.consume(t),s}function u(e){return a||i||!o?r(e):t(e)}},partial:!0},hb={tokenize:function(e,t){let r=0,i=0;return a;function a(s){return 40===s?(r++,e.consume(s),a):41===s&&i0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}hE[43]=hx,hE[45]=hx,hE[46]=hx,hE[95]=hx,hE[72]=[hx,hk],hE[104]=[hx,hk],hE[87]=[hx,hw],hE[119]=[hx,hw];let hP={tokenize:function(e,t,r){let i=this;return ss(e,function(e){let a=i.events[i.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):r(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function hR(e,t,r){let i;let a=this,o=a.events.length,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;o--;){let e=a.events[o][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!i||!i._balanced)return r(o);let l=sP(a.sliceSerialize({start:i.end,end:a.now()}));return 94===l.codePointAt(0)&&s.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):r(o)}}function hM(e,t){let r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function hL(e,t,r){let i;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(l){if(s>999||93===l&&!i||null===l||91===l||sn(l))return r(l);if(93===l){e.exit("chunkString");let i=e.exit("gfmFootnoteCallString");return o.includes(sP(a.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(l)}return sn(l)||(i=!0),s++,e.consume(l),92===l?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function hA(e,t,r){let i,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):r(t)}function d(t){if(l>999||93===t&&!a||null===t||91===t||sn(t))return r(t);if(93===t){e.exit("chunkString");let r=e.exit("gfmFootnoteDefinitionLabelString");return i=sP(o.sliceSerialize(r)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return sn(t)||(a=!0),l++,e.consume(t),92===t?p:d}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,d):d(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(i)||s.push(i),ss(e,m,"gfmFootnoteDefinitionWhitespace")):r(t)}function m(e){return t(e)}}function hI(e,t,r){return e.check(sd,t,e.attempt(hP,t,r))}function hN(e){e.exit("gfmFootnoteDefinition")}class hB{constructor(){this.map=[]}add(e,t,r){(function(e,t,r,i){let a=0;if(0!==r||0!==i.length){for(;ae[0]-t[0]),0===this.map.length)return;let t=this.map.length,r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1])),r.push(this.map[t][2]),e.length=this.map[t][0];r.push([...e]),e.length=0;let i=r.pop();for(;i;)e.push(...i),i=r.pop();this.map.length=0}}let hU={flow:{null:{tokenize:function(e,t,r){let i;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let i=t>-1?a.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?w:l;return o===w&&a.parser.lazy[a.now().line]?r(e):o(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(i=!0,s+=1),u(t)}function u(t){return null===t?r(t):st(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):r(t):sr(t)?ss(e,u,"whitespace")(t):(s+=1,i&&(i=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,u):(e.enter("data"),d(t))}function d(t){return null===t||124===t||sn(t)?(e.exit("data"),u(t)):(e.consume(t),92===t?p:d)}function p(t){return 92===t||124===t?(e.consume(t),d):d(t)}function f(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?r(t):(e.enter("tableDelimiterRow"),i=!1,sr(t))?ss(e,m,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):m(t)}function m(t){return 45===t||58===t?v(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):r(t)}function g(t){return sr(t)?ss(e,v,"whitespace")(t):v(t)}function v(t){return 58===t?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):45===t?(s+=1,b(t)):null===t||st(t)?_(t):r(t)}function b(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(r){return 45===r?(e.consume(r),t):58===r?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(r),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(r))}(t)):r(t)}function y(t){return sr(t)?ss(e,_,"whitespace")(t):_(t)}function _(a){return 124===a?m(a):null===a||st(a)?i&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):r(a):r(a)}function w(t){return e.enter("tableRow"),k(t)}function k(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),k):null===r||st(r)?(e.exit("tableRow"),t(r)):sr(r)?ss(e,k,"whitespace")(r):(e.enter("data"),x(r))}function x(t){return null===t||124===t||sn(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?E:x)}function E(t){return 92===t||124===t?(e.consume(t),x):x(t)}},resolveAll:function(e,t){let r,i,a,o=-1,s=!0,l=0,u=[0,0,0,0],d=[0,0,0,0],p=!1,f=0,m=new hB;for(;++or[2]+1){let t=r[2]+1,i=r[3]-r[2]-1;e.add(t,i,[])}}e.add(r[3]+1,0,[["exit",s,t]])}return void 0!==a&&(o.end=Object.assign({},hq(t.events,a)),e.add(a,0,[["exit",o,t]]),o=void 0),o}function hH(e,t,r,i,a){let o=[],s=hq(t.events,r);a&&(a.end=Object.assign({},s),o.push(["exit",a,t])),i.end=Object.assign({},s),o.push(["exit",i,t]),e.add(r+1,0,o)}function hq(e,t){let r=e[t],i="enter"===r[0]?"start":"end";return r[1][i]}let hV={text:{91:{tokenize:function(e,t,r){let i=this;return function(t){return null===i.previous&&i._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):r(t)};function a(t){return sn(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):r(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):r(t)}function s(i){return st(i)?t(i):sr(i)?e.check({tokenize:hW},t,r)(i):r(i)}}}}};function hW(e,t,r){return ss(e,function(e){return null===e?r(e):t(e)},"whitespace")}function h$(e,t){let r=String(e);if("string"!=typeof t)throw TypeError("Expected character");let i=0,a=r.indexOf(t);for(;-1!==a;)i++,a=r.indexOf(t,a+t.length);return i}function hG(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let hY={}.hasOwnProperty,hK=function(e,t,r,i){let a,o;"string"==typeof t||t instanceof RegExp?(o=[[t,r]],a=i):(o=t,a=r),a||(a={});let s=lh(a.ignore||[]),l=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r0?{type:"text",value:l}:void 0),!1!==l&&(o!==r&&p.push({type:"text",value:e.value.slice(o,r)}),Array.isArray(l)?p.push(...l):l&&p.push(l),o=r+f[0].length,d=!0),!i.global)break;f=i.exec(e.value)}return d?(oe}let hX="phrasing",hQ=["autolink","link","image","label"],h0={transforms:[function(e){hK(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,h3],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,h4]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:h2,literalAutolinkHttp:h2,literalAutolinkWww:h2},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},h1={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:hX,notInConstruct:hQ},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:hX,notInConstruct:hQ},{character:":",before:"[ps]",after:"\\/",inConstruct:hX,notInConstruct:hQ}]};function h2(e){this.config.enter.autolinkProtocol.call(this,e)}function h3(e,t,r,i,a){let o="";if(!h6(a)||(/^w/i.test(t)&&(r=t+r,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(r)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],i=r.indexOf(")"),a=h$(e,"("),o=h$(e,")");for(;-1!==i&&a>o;)e+=r.slice(0,i+1),i=(r=r.slice(i+1)).indexOf(")"),o++;return[e,r]}(r+i);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function h4(e,t,r,i){return!(!h6(i,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function h6(e,t){let r=e.input.charCodeAt(e.index-1);return(0===e.index||sa(r)||si(r))&&(!t||47!==r)}function h5(e){return e.label||!e.identifier?e.label||"":lo(e.identifier)}let h8=/\r?\n|\r/g;function h9(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function h7(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let i=-1;for(;++i=p)&&(!(e+10?" ":"")),a.shift(4),o+=a.move(function(e,t){let r;let i=[],a=0,o=0;for(;r=h8.exec(e);)s(e.slice(a,r.index)),i.push(r[0]),a=r.index+r[0].length,o++;return s(e.slice(a)),i.join("");function s(e){i.push(t(e,o,!e))}}(function(e,t,r){let i=t.indexStack,a=e.children||[],o=t.createTracker(r),s=[],l=-1;for(i.push(-1);++l\n\n"}return"\n\n"}(r,a[l+1],e,t)))}return i.pop(),s.join("")}(e,r,a.current()),mh)),s(),o}function mh(e,t,r){return 0===t?e:(r?"":" ")+e}function mm(e,t,r){let i=t.indexStack,a=e.children||[],o=[],s=-1,l=r.before;i.push(-1);let u=t.createTracker(r);for(;++s0&&("\r"===l||"\n"===l)&&"html"===p.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(u=t.createTracker(r)).move(o.join(""))),o.push(u.move(t.handle(p,e,t,{...u.current(),before:l,after:d}))),l=o[o.length-1].slice(-1)}return i.pop(),o.join("")}mp.peek=function(){return"["},mb.peek=function(){return"~"};let mg={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},mv={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:mb}};function mb(e,t,r,i){let a=mr(i),o=r.enter("strikethrough"),s=a.move("~~");return s+=mm(e,r,{...a.current(),before:s,after:"~"})+a.move("~~"),o(),s}function my(e,t,r){let i=e.value||"",a="`",o=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(i);)a+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:mE,tableHeader:mE,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,mF)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:mx,tableHeader:mx,tableRow:mx}};function mx(e){this.exit(e)}function mE(e){this.enter({type:"tableCell",children:[]},e)}function mF(e,t){return"|"===t?t:e}let mC={exit:{taskListCheckValueChecked:mD,taskListCheckValueUnchecked:mD,paragraph:function(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){let i;let a=t.children,o=-1;for(;++o-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+o);let s=o.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));let l=r.createTracker(i);l.move(o+" ".repeat(s-o.length)),l.shift(s);let u=r.enter("listItem"),d=r.indentLines(r.containerFlow(e,l.current()),function(e,t,r){return t?(r?"":" ".repeat(s))+e:(r?o:o+" ".repeat(s-o.length))+e});return u(),d}(e,t,r,{...i,...l.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+s})),u}}};function mD(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function mj(e={}){let t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",o3([hF,{document:{91:{tokenize:hA,continuation:{tokenize:hI},exit:hN}},text:{91:{tokenize:hL},93:{add:"after",tokenize:hR,resolveTo:hM}}},function(e){let t=(e||{}).singleTilde,r={tokenize:function(e,r,i){let a=this.previous,o=this.events,s=0;return function(l){return 126===a&&"characterEscape"!==o[o.length-1][1].type?i(l):(e.enter("strikethroughSequenceTemporary"),function o(l){let u=s0(a);if(126===l)return s>1?i(l):(e.consume(l),s++,o);if(s<2&&!t)return i(l);let d=e.exit("strikethroughSequenceTemporary"),p=s0(l);return d._open=!p||2===p&&!!u,d._close=!u||2===u&&!!p,r(l)}(l))}},resolveAll:function(e,t){let r=-1;for(;++ru&&(u=e[d].length);++fl[f])&&(l[f]=e)}r.push(o)}o[d]=r,s[d]=a}let f=-1;if("object"==typeof r&&"length"in r)for(;++fl[f]&&(l[f]=o),g[f]=o),m[f]=s}o.splice(1,0,m),s.splice(1,0,g),d=-1;let v=[];for(;++d0?{type:"text",value:l}:void 0),!1!==l&&(o!==r&&p.push({type:"text",value:e.value.slice(o,r)}),Array.isArray(l)?p.push(...l):l&&p.push(l),o=r+f[0].length,d=!0),!i.global)break;f=i.exec(e.value)}return d?(oe}let mz=function(e,t,r){let i={type:String(e)};return null==r&&("string"==typeof t||Array.isArray(t))?r=t:Object.assign(i,t),Array.isArray(r)?i.children=r:null!=r&&(i.value=String(r)),i};var mH=function(){var e=function(e){return mz("element",{tagName:"emoji"},[mz("text",e)])};return function(t){return mN(t,p1()(),e)}},mq=["html","text","br","p","em","strong","a","ol","ul","li","code","pre","blockquote","del","emoji","mention"];function mV(e){try{return encodeURI(decodeURIComponent(e))}catch(t){return e}}var mW=function(e){return e.startsWith("app://")?e:cf(e)},m$=function(e){return e},mG={a:function(e){var t=e.children,r=e.href,i=null==r?void 0:r.startsWith("mailto:"),a=null==r?void 0:r.startsWith("http");return r&&(i||a)?ec().createElement("a",{className:a5({"str-chat__message-url-link":a}),href:r,rel:"nofollow noreferrer noopener",target:"_blank"},t):ec().createElement(ec().Fragment,null,t)},emoji:function(e){var t=e.children;return ec().createElement("span",{className:"inline-text-emoji","data-testid":"inline-text-emoji"},t)},mention:function(e){var t=e.children,r=e.node.mentionedUser;return ec().createElement("span",{className:"str-chat__message-mention","data-user-id":r.id},t)}},mY=function(e,t,r){var i=void 0===r?{}:r,a=i.allowedTagNames,o=i.customMarkDownRenderers,s=i.getRehypePlugins,l=i.getRemarkPlugins;if(!e)return null;if(1===e.trim().length)return ec().createElement(ec().Fragment,null,e);var u=e,d=mP(u),p=u.match(/```[a-z]*\n[\s\S]*?\n```|`[a-z]*[\s\S]*?`/gm)||[];os()(ip(ip([],dR(u,"email"),!0),dR(u,"url"),!0),"value").forEach(function(e){var r=e.href,i=e.type,a=e.value,o=p.some(function(e){return null==e?void 0:e.includes(a)});if(!((d&&d.filter(function(e){var t=null==r?void 0:r.replace(mO,""),i=null==e?void 0:e.replace(mO,"");return!!t&&!!i&&(t.includes(i)||i.includes(t))})).length>0)&&!o)try{if("email"===i&&t&&t.some(function(e){return e.name===a})){u=u.replace(RegExp(mT(a),"g"),function(e,t){return"@"===u.charAt(t-1)?e:"[".concat(e,"](").concat(mV(r),")")});return}var s="email"===i?a:function(e){try{return decodeURIComponent(e).replace(mO,"")}catch(t){return e}}(r);u=u.replace(RegExp(mT(a),"g"),"[".concat(s,"](").concat(mV(r),")"))}catch(e){}});var f=[mH];if((null==t?void 0:t.length)&&f.push(function(){var e=t.map(function(e){return e.name||e.id}).filter(Boolean).map(mT),r=RegExp(e.map(function(e){return"@".concat(e)}).join("|"),"g"),i=function(e){var r=e.replace("@","");return mz("element",{mentionedUser:t.find(function(e){var t=e.id;return e.name===r||t===r}),tagName:"mention"},[mz("text",e)])};return function(t){return e.length?(lb(t,function(e,t,r){if(null!==t&&r){var i,a=r.children.at(t+1),o=null===(i=null==a?void 0:a.properties)||void 0===i?void 0:i.href;if("text"===e.type&&/.?\s?@$|^@$/.test(e.value)&&(null==o?void 0:o.startsWith("mailto:"))){var s=e.value.replace(/@$/,""),l=o.replace("mailto:","");r.children[t]=mz("text",s),r.children[t+1]=mz("text","@".concat(l))}}}),mN(t,r,i)):t}}),null==o?void 0:o.mention){var m=o.mention;o.mention=function(e){var t=e.node,r=is(e,["node"]);return ec().createElement(m,io({mentioned_user:t.mentionedUser,node:io({mentioned_user:t.mentionedUser},t)},r))}}var g=io(io({},mG),o);return ec().createElement(c_,{allowedElements:void 0===a?mq:a,components:g,rehypePlugins:(void 0===s?m$:s)(f),remarkPlugins:(void 0===l?m$:l)([[mj,{singleTilde:!1}]]),skipHtml:!0,transformLinkUri:mW,unwrapDisallowed:!0},u)},mK=ec().memo(function(e){var t,r,i,a=e.customInnerClass,o=e.customWrapperClass,s=e.message,l=e.renderText,u=e.theme,d=void 0===u?"simple":u,p=d8("MessageText").QuotedMessage,f=fs("MessageText"),m=f.message,g=f.onMentionsClickMessage,v=f.onMentionsHoverMessage,b=f.renderText,y=f.unsafeHTML,_=null!==(r=null!=l?l:b)&&void 0!==r?r:mY,w=aZ("MessageText"),k=w.t,x=w.userLanguage,E=s||m,F=p7(E),C=(null===(i=E.i18n)||void 0===i?void 0:i["".concat(x,"_text")])||E.text,S=(0,el.useMemo)(function(){return _(C,E.mentioned_users)},[E.mentioned_users,C]);return C||E.quoted_message?ec().createElement("div",{className:(void 0===o?"":o)||"str-chat__message-text",tabIndex:0},ec().createElement("div",{className:"\n ".concat(a||"str-chat__message-text-inner str-chat__message-".concat(d,"-text-inner"),"\n ").concat(F?" str-chat__message-".concat(d,"-text-inner--has-attachment"):"","\n ").concat((t=E.text)&&!t.replace(p1()(),"").replace(/[\s\n]/gm,"")&&!E.quoted_message?" str-chat__message-".concat(d,"-text-inner--is-emoji"):"","\n ").trim(),"data-testid":"message-text-inner-wrapper",onClick:g,onMouseOver:v},E.quoted_message&&ec().createElement(void 0===p?hm:p,null),"error"===E.type&&ec().createElement("div",{className:"str-chat__".concat(d,"-message--error-message str-chat__message--error-message")},k("Error \xb7 Unsent")),"failed"===E.status&&ec().createElement("div",{className:"str-chat__".concat(d,"-message--error-message str-chat__message--error-message")},k(403!==E.errorStatusCode?"Message Failed \xb7 Click to try again":"Message Failed \xb7 Unauthorized")),y&&E.html?ec().createElement("div",{dangerouslySetInnerHTML:{__html:E.html}}):ec().createElement("div",null,S))):null});function mZ(e){var t=e.calendar,r=e.format,i=e.formatDate,a=e.messageCreatedAt,o=e.tDateTimeParser;if(!a||"string"==typeof a&&!Date.parse(a))return console.warn("MessageTimestamp was called without a message, or message has invalid created_at date."),null;if("function"==typeof i)return i(new Date(a));if(!o)return console.warn("MessageTimestamp was called but there is no datetime parsing function available"),null;var s=o(a);return aW(s)?t&&s.calendar?s.calendar():s.format(r):a$(s)?s.toDateString():"string"==typeof s||"number"==typeof s?s:null}var mJ=ec().memo(function(e){var t=e.calendar,r=void 0!==t&&t,i=e.customClass,a=e.format,o=void 0===a?"h:mmA":a,s=e.message,l=fs("MessageTimestamp"),u=l.formatDate,d=l.message,p=aZ("MessageTimestamp").tDateTimeParser,f=s||d,m=f.created_at&&a$(f.created_at)?f.created_at.toISOString():f.created_at,g=(0,el.useMemo)(function(){return mZ({calendar:r,format:o,formatDate:u,messageCreatedAt:m,tDateTimeParser:p})},[u,r,p,o,m]);return g?ec().createElement("time",{className:void 0===i?"":i,dateTime:m,title:m},g):null}),mX={date:"message.date",intro:"channel.intro"},mQ=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function m0(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),i=mQ.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var i=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var m1=[".DS_Store","Thumbs.db"];function m2(e){return"object"==typeof e&&null!==e}function m3(e){return e.filter(function(e){return -1===m1.indexOf(e.name)})}function m4(e){if(null===e)return[];for(var t=[],r=0;re.length)&&(t=e.length);for(var r=0,i=Array(t);rr)return[!1,gl(r)];if(e.sizer)return[!1,gl(r)]}return[!0,null]}function gf(e){return null!=e}function gh(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function gm(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function gg(e){e.preventDefault()}function gv(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),a=1;ae.length)&&(t=e.length);for(var r=0,i=Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var gO=(0,el.forwardRef)(function(e,t){var r=e.children,i=gM(gT(e,g_)),a=i.open,o=gT(i,gw);return(0,el.useImperativeHandle)(t,function(){return{open:a}},[a]),ec().createElement(el.Fragment,null,r(gD(gD({},o),{},{open:a})))});gO.displayName="Dropzone";var gP={disabled:!1,getFilesFromEvent:function(e){return il(this,void 0,void 0,function(){return ic(this,function(t){return m2(e)&&m2(e.dataTransfer)?[2,function(e,t){return il(this,void 0,void 0,function(){var r;return ic(this,function(i){switch(i.label){case 0:if(!e.items)return[3,2];if(r=m4(e.items).filter(function(e){return"file"===e.kind}),"drop"!==t)return[2,r];return[4,Promise.all(r.map(m6))];case 1:return[2,m3(function e(t){return t.reduce(function(t,r){return ip(ip([],id(t),!1),id(Array.isArray(r)?e(r):[r]),!1)},[])}(i.sent()))];case 2:return[2,m3(m4(e.files).map(function(e){return m0(e)}))]}})})}(e.dataTransfer,e.type)]:m2(e)&&m2(e.target)?[2,m4(e.target.files).map(function(e){return m0(e)})]:Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return il(this,void 0,void 0,function(){return ic(this,function(t){switch(t.label){case 0:return[4,Promise.all(e.map(function(e){return e.getFile()}))];case 1:return[2,t.sent().map(function(e){return m0(e)})]}})})}(e)]:[2,[]]})})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};gO.defaultProps=gP,gO.propTypes={children:lB().func,accept:lB().objectOf(lB().arrayOf(lB().string)),multiple:lB().bool,preventDropOnDocument:lB().bool,noClick:lB().bool,noKeyboard:lB().bool,noDrag:lB().bool,noDragEventsBubbling:lB().bool,minSize:lB().number,maxSize:lB().number,maxFiles:lB().number,disabled:lB().bool,getFilesFromEvent:lB().func,onFileDialogCancel:lB().func,onFileDialogOpen:lB().func,useFsAccessApi:lB().bool,autoFocus:lB().bool,onDragEnter:lB().func,onDragLeave:lB().func,onDragOver:lB().func,onDrop:lB().func,onDropAccepted:lB().func,onDropRejected:lB().func,onError:lB().func,validator:lB().func};var gR={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function gM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=gD(gD({},gP),e),r=t.accept,i=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,s=t.minSize,l=t.multiple,u=t.maxFiles,d=t.onDragEnter,p=t.onDragLeave,f=t.onDragOver,m=t.onDrop,g=t.onDropAccepted,v=t.onDropRejected,b=t.onFileDialogCancel,y=t.onFileDialogOpen,_=t.useFsAccessApi,w=t.autoFocus,k=t.preventDropOnDocument,x=t.noClick,E=t.noKeyboard,F=t.noDrag,C=t.noDragEventsBubbling,S=t.onError,D=t.validator,j=(0,el.useMemo)(function(){return function(e){if(gf(e))return Object.entries(e).reduce(function(e,t){var r=gi(t,2),i=r[0],a=r[1];return[].concat(ge(e),[i],ge(a))},[]).filter(function(e){return gb(e)||gy(e)}).join(",")}(r)},[r]),T=(0,el.useMemo)(function(){return gf(r)?[{description:"Files",accept:Object.entries(r).filter(function(e){var t=gi(e,2),r=t[0],i=t[1],a=!0;return gb(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),Array.isArray(i)&&i.every(gy)||(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(e,t){var r=gi(t,2),i=r[0],a=r[1];return gn(gn({},e),{},gr({},i,a))},{})}]:r},[r]),O=(0,el.useMemo)(function(){return"function"==typeof y?y:gA},[y]),P=(0,el.useMemo)(function(){return"function"==typeof b?b:gA},[b]),R=(0,el.useRef)(null),M=(0,el.useRef)(null),L=gE((0,el.useReducer)(gL,gR),2),A=L[0],I=L[1],N=A.isFocused,B=A.isFileDialogActive,U=(0,el.useRef)("undefined"!=typeof window&&window.isSecureContext&&_&&"showOpenFilePicker"in window),z=function(){!U.current&&B&&setTimeout(function(){M.current&&!M.current.files.length&&(I({type:"closeDialog"}),P())},300)};(0,el.useEffect)(function(){return window.addEventListener("focus",z,!1),function(){window.removeEventListener("focus",z,!1)}},[M,B,P,U]);var H=(0,el.useRef)([]),q=function(e){R.current&&R.current.contains(e.target)||(e.preventDefault(),H.current=[])};(0,el.useEffect)(function(){return k&&(document.addEventListener("dragover",gg,!1),document.addEventListener("drop",q,!1)),function(){k&&(document.removeEventListener("dragover",gg),document.removeEventListener("drop",q))}},[R,k]),(0,el.useEffect)(function(){return!i&&w&&R.current&&R.current.focus(),function(){}},[R,w,i]);var V=(0,el.useCallback)(function(e){S?S(e):console.error(e)},[S]),W=(0,el.useCallback)(function(e){var t;e.preventDefault(),e.persist(),ei(e),H.current=[].concat(function(e){if(Array.isArray(e))return gC(e)}(t=H.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||gF(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),gm(e)&&Promise.resolve(a(e)).then(function(t){if(!gh(e)||C){var r,i,a,p,f,m,g,v,b=t.length,y=b>0&&(i=(r={files:t,accept:j,minSize:s,maxSize:o,multiple:l,maxFiles:u,validator:D}).files,a=r.accept,p=r.minSize,f=r.maxSize,m=r.multiple,g=r.maxFiles,v=r.validator,(!!m||!(i.length>1))&&(!m||!(g>=1)||!(i.length>g))&&i.every(function(e){var t=gi(gd(e,a),1)[0],r=gi(gp(e,p,f),1)[0],i=v?v(e):null;return t&&r&&!i}));I({isDragAccept:y,isDragReject:b>0&&!y,isDragActive:!0,type:"setDraggedFiles"}),d&&d(e)}}).catch(function(e){return V(e)})},[a,d,V,C,j,s,o,l,u,D]),$=(0,el.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e);var t=gm(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&f&&f(e),!1},[f,C]),G=(0,el.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e);var t=H.current.filter(function(e){return R.current&&R.current.contains(e)}),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),H.current=t,!(t.length>0)&&(I({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),gm(e)&&p&&p(e))},[R,p,C]),Y=(0,el.useCallback)(function(e,t){var r=[],i=[];e.forEach(function(e){var t=gE(gd(e,j),2),a=t[0],l=t[1],u=gE(gp(e,s,o),2),d=u[0],p=u[1],f=D?D(e):null;if(a&&d&&!f)r.push(e);else{var m=[l,p];f&&(m=m.concat(f)),i.push({file:e,errors:m.filter(function(e){return e})})}}),(!l&&r.length>1||l&&u>=1&&r.length>u)&&(r.forEach(function(e){i.push({file:e,errors:[gu]})}),r.splice(0)),I({acceptedFiles:r,fileRejections:i,type:"setFiles"}),m&&m(r,i,t),i.length>0&&v&&v(i,t),r.length>0&&g&&g(r,t)},[I,l,j,s,o,u,m,g,v,D]),K=(0,el.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e),H.current=[],gm(e)&&Promise.resolve(a(e)).then(function(t){(!gh(e)||C)&&Y(t,e)}).catch(function(e){return V(e)}),I({type:"reset"})},[a,Y,V,C]),Z=(0,el.useCallback)(function(){if(U.current){I({type:"openDialog"}),O(),window.showOpenFilePicker({multiple:l,types:T}).then(function(e){return a(e)}).then(function(e){Y(e,null),I({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(P(e),I({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(U.current=!1,M.current?(M.current.value=null,M.current.click()):V(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):V(e)});return}M.current&&(I({type:"openDialog"}),O(),M.current.value=null,M.current.click())},[I,O,P,_,Y,V,T,l]),J=(0,el.useCallback)(function(e){R.current&&R.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),Z())},[R,Z]),X=(0,el.useCallback)(function(){I({type:"focus"})},[]),Q=(0,el.useCallback)(function(){I({type:"blur"})},[]),ee=(0,el.useCallback)(function(){x||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(Z,0):Z())},[x,Z]),et=function(e){return i?null:e},en=function(e){return E?null:et(e)},er=function(e){return F?null:et(e)},ei=function(e){C&&e.stopPropagation()},ea=(0,el.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.role,a=e.onKeyDown,o=e.onFocus,s=e.onBlur,l=e.onClick,u=e.onDragEnter,d=e.onDragOver,p=e.onDragLeave,f=e.onDrop,m=gT(e,gk);return gD(gD(gj({onKeyDown:en(gv(a,J)),onFocus:en(gv(o,X)),onBlur:en(gv(s,Q)),onClick:et(gv(l,ee)),onDragEnter:er(gv(u,W)),onDragOver:er(gv(d,$)),onDragLeave:er(gv(p,G)),onDrop:er(gv(f,K)),role:"string"==typeof r&&""!==r?r:"presentation"},void 0===t?"ref":t,R),i||E?{}:{tabIndex:0}),m)}},[R,J,X,Q,ee,W,$,G,K,E,F,i]),eo=(0,el.useCallback)(function(e){e.stopPropagation()},[]),es=(0,el.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.onChange,i=e.onClick,a=gT(e,gx);return gD(gD({},gj({accept:j,multiple:l,type:"file",style:{display:"none"},onChange:et(gv(r,K)),onClick:et(gv(i,eo)),tabIndex:-1},void 0===t?"ref":t,M)),a)}},[M,r,l,K,i]);return gD(gD({},A),{},{isFocused:N&&!i,getRootProps:ea,getInputProps:es,rootRef:R,inputRef:M,open:et(Z)})}function gL(e,t){switch(t.type){case"focus":return gD(gD({},e),{},{isFocused:!0});case"blur":return gD(gD({},e),{},{isFocused:!1});case"openDialog":return gD(gD({},gR),{},{isFileDialogActive:!0});case"closeDialog":return gD(gD({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return gD(gD({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return gD(gD({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return gD({},gR);default:return e}}function gA(){}var gI=function(e){var t=e.accept,r=void 0===t?[]:t,i=e.children,a=e.disabled,o=e.handleFiles,s=e.maxNumberOfFiles,l=e.multiple,u=aZ("ImageDropzone").t,d=(0,el.useCallback)(function(e){o&&e&&e.length&&o(e)},[o]),p=gM({accept:(0,el.useMemo)(function(){return("string"==typeof r?r.split(","):r).reduce(function(e,t){var r;return null!==(r=e[t])&&void 0!==r||(e[t]=[]),e},{})},[r]),disabled:a,maxFiles:s,multiple:l,noClick:!0,onDrop:d}),f=p.getRootProps,m=p.isDragAccept,g=p.isDragReject;return ec().createElement("div",io({},f({className:a5("rfu-dropzone",{"rfu-dropzone--accept":m,"rfu-dropzone--reject":g}),style:{position:"relative"}}),{tabIndex:-1}),ec().createElement("div",{className:"rfu-dropzone__notifier"},ec().createElement("div",{className:"rfu-dropzone__inner"},ec().createElement("svg",{height:"41",viewBox:"0 0 41 41",width:"41",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M40.517 28.002V3.997c0-2.197-1.808-3.992-4.005-3.992H12.507a4.004 4.004 0 0 0-3.992 3.993v24.004a4.004 4.004 0 0 0 3.992 3.993h24.005c2.197 0 4.005-1.795 4.005-3.993zm-22.002-7.997l4.062 5.42 5.937-7.423 7.998 10H12.507l6.008-7.997zM.517 8.003V36c0 2.198 1.795 4.005 3.993 4.005h27.997V36H4.51V8.002H.517z",fill:"#000",fillRule:"nonzero"})),ec().createElement("p",null,u("Drag your files here to add to your post")))),i)},gN=function(){return ec().createElement("svg",{height:"20",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 0 1 5 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5a2.5 2.5 0 0 0 5 0V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"}),ec().createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},gB=function(e){var t,r=e.onFileChange,i=e.resetOnChange,a=is(e,["onFileChange","resetOnChange"]),o=(void 0===(t=void 0===i||i)&&(t=!1),(0,el.useCallback)(function(e){var i=e.currentTarget,a=i.files;if(a){try{null==r||r(Array.from(a))}catch(e){console.error(e)}t&&(i.value="")}},[r,t]));return ec().createElement("input",io({onChange:o,type:"file"},a))},gU=function(e){var t=e.disabled,r=void 0!==t&&t,i=e.multiple,a=e.children,o=void 0===a?ec().createElement(gN,null):a,s=e.handleFiles,l=e.accepts,u=e.resetOnChange,d="rfu-file-upload-button";return r&&(d="".concat(d," rfu-file-upload-button--disabled")),ec().createElement("div",{className:d},ec().createElement("label",null,ec().createElement(gB,{accept:Array.isArray(l)?l.join(","):l,"aria-label":"File input",className:"rfu-file-input",disabled:r,multiple:void 0!==i&&i,onFileChange:s,resetOnChange:void 0===u||u}),o))},gz=r(95242),gH=ec().lazy(function(){return r.e(181).then(r.bind(r,13181))}),gq=ec().lazy(function(){return r.e(441).then(r.bind(r,60441))}),gV=ec().createContext(void 0),gW=function(e){var t=e.children,r=e.value,i=r.Emoji,a=r.emojiConfig,o=r.EmojiIndex,s=void 0===o?gz.default:o,l=r.EmojiPicker;return ec().createElement(gV.Provider,{value:{Emoji:void 0===i?gH:i,emojiConfig:a,EmojiIndex:s,EmojiPicker:void 0===l?gq:l}},t)},g$=function(e){return(0,el.useContext)(gV)||(console.warn("The useEmojiContext hook was called outside of the EmojiContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})},gG=(0,el.createContext)(void 0),gY=function(e){var t=e.children,r=e.value;return ec().createElement(gG.Provider,{value:r},t)},gK=function(e){return(0,el.useContext)(gG)||(console.warn("The useMessageInputContext hook was called outside of the MessageInputContext provider. Make sure this hook is called within the MessageInput's UI component. The errored call is located in the ".concat(e," component.")),{})},gZ=function(e){return!("White Smiling Face"===e.name||"White Frowning Face"===e.name)},gJ=function(e){var t=e.small,r=g$("EmojiPicker"),i=r.emojiConfig,a=r.EmojiPicker,o=aZ("EmojiPicker").t,s=gK("EmojiPicker"),l=s.emojiPickerIsOpen,u=s.emojiPickerRef,d=s.onSelectEmoji,p=(i||{}).emojiData;return l&&p?ec().createElement("div",{className:a5("str-chat__emoji-picker-container",{"str-chat__input--emojipicker":!t,"str-chat__small-message-input-emojipicker":t}),ref:u},ec().createElement(el.Suspense,{fallback:null},ec().createElement(a,{color:"#006CFF",data:p,emoji:"point_up",emojisToShowFilter:gZ,native:!0,onSelect:d,set:"facebook",showPreview:!1,showSkinTones:!1,title:o("Pick your emoji"),useButton:!0}))):null},gX=function(){var e=aZ("EmojiIconLarge").t;return ec().createElement("svg",{height:"28",width:"28",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,e("Open emoji picker")),ec().createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},ec().createElement("path",{d:"M14 4.4C8.6 4.4 4.4 8.6 4.4 14c0 5.4 4.2 9.6 9.6 9.6c5.4 0 9.6-4.2 9.6-9.6c0-5.4-4.2-9.6-9.6-9.6zM2 14c0-6.6 5.4-12 12-12s12 5.4 12 12s-5.4 12-12 12s-12-5.4-12-12zM12.8 11c0 1-.8 1.8-1.8 1.8s-1.8-.8-1.8-1.8s.8-1.8 1.8-1.8s1.8.8 1.8 1.8zM18.8 11c0 1-.8 1.8-1.8 1.8s-1.8-.8-1.8-1.8s.8-1.8 1.8-1.8s1.8.8 1.8 1.8zM8.6 15.4c.6-.4 1.2-.2 1.6.2c.6.8 1.6 1.8 3 2c1.2.4 2.8.2 4.8-2c.4-.4 1.2-.6 1.6 0c.4.4.6 1.2 0 1.6c-2.2 2.6-4.8 3.4-7 3c-2-.4-3.6-1.8-4.4-3c-.4-.6-.2-1.2.4-1.8z"})))},gQ=function(){var e=aZ("EmojiIconSmall").t;return ec().createElement("svg",{height:"14",width:"14",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,e("Open emoji picker")),ec().createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},ec().createElement("path",{d:"M6.7 1.42C3.73 1.42 1.42 3.73 1.42 6.7c0 2.97 2.31 5.28 5.28 5.28c2.97 0 5.28-2.31 5.28-5.28c0-2.97-2.31-5.28-5.28-5.28zM.1 6.7c0-3.63 2.97-6.6 6.6-6.6s6.6 2.97 6.6 6.6s-2.97 6.6-6.6 6.6s-6.6-2.97-6.6-6.6zM6.04 5.05c0 .55-.44.99-.99.99s-.99-.44-.99-.99s.44-.99.99-.99s.99.44.99.99zM9.34 5.05c0 .55-.44.99-.99.99s-.99-.44-.99-.99s.44-.99.99-.99s.99.44.99.99zM3.73 7.47c.33-.22.66-.11.88.11c.33.44.88.99 1.65 1.1c.66.22 1.54.11 2.64-1.1c.22-.22.66-.33.88 0c.22.22.33.66 0 .88c-1.21 1.43-2.64 1.87-3.85 1.65c-1.1-.22-1.98-.99-2.42-1.65c-.22-.33-.11-.66.22-.99z"})))},g0=function(){return ec().createElement("svg",{preserveAspectRatio:"xMinYMin",viewBox:"0 0 28 28",width:"100%",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},ec().createElement("path",{d:"M14 4.4C8.6 4.4 4.4 8.6 4.4 14c0 5.4 4.2 9.6 9.6 9.6c5.4 0 9.6-4.2 9.6-9.6c0-5.4-4.2-9.6-9.6-9.6zM2 14c0-6.6 5.4-12 12-12s12 5.4 12 12s-5.4 12-12 12s-12-5.4-12-12zM12.8 11c0 1-.8 1.8-1.8 1.8s-1.8-.8-1.8-1.8s.8-1.8 1.8-1.8s1.8.8 1.8 1.8zM18.8 11c0 1-.8 1.8-1.8 1.8s-1.8-.8-1.8-1.8s.8-1.8 1.8-1.8s1.8.8 1.8 1.8zM8.6 15.4c.6-.4 1.2-.2 1.6.2c.6.8 1.6 1.8 3 2c1.2.4 2.8.2 4.8-2c.4-.4 1.2-.6 1.6 0c.4.4.6 1.2 0 1.6c-2.2 2.6-4.8 3.4-7 3c-2-.4-3.6-1.8-4.4-3c-.4-.6-.2-1.2.4-1.8z"})))},g1=function(){var e=aZ("FileUploadIcon").t;return ec().createElement("svg",{height:"14",width:"14",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,e("Attach files")),ec().createElement("path",{d:"M7 .5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5S.5 10.59.5 7 3.41.5 7 .5zm0 12c3.031 0 5.5-2.469 5.5-5.5S10.031 1.5 7 1.5A5.506 5.506 0 0 0 1.5 7c0 3.034 2.469 5.5 5.5 5.5zM7.506 3v3.494H11v1.05H7.506V11h-1.05V7.544H3v-1.05h3.456V3h1.05z",fillRule:"nonzero"}))},g2=function(){var e=aZ("FileUploadIconFlat").t;return ec().createElement("svg",{height:"14",width:"14",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,e("Attach files")),ec().createElement("path",{d:"M1.667.333h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H1.667a1.333 1.333 0 0 1-1.334-1.334V1.667C.333.93.93.333 1.667.333zm2 1.334a1.667 1.667 0 1 0 0 3.333 1.667 1.667 0 0 0 0-3.333zm-2 9.333v1.333h10.666v-4l-2-2-4 4-2-2L1.667 11z",fillRule:"nonzero"}))},g3=function(e){var t=e.size,r=void 0===t?20:t,i=(0,el.useMemo)(function(){return c9()},[]);return ec().createElement("div",{className:"str-chat__loading-indicator"},ec().createElement("svg",{"data-testid":"loading-indicator",height:r,viewBox:"0 0 30 30",width:r,xmlns:"http://www.w3.org/2000/svg"},ec().createElement("defs",null,ec().createElement("linearGradient",{id:"".concat(i,"-linear-gradient"),x1:"50%",x2:"50%",y1:"0%",y2:"100%"},ec().createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:"0"}),ec().createElement("stop",{"data-testid":"stop-color",offset:"100%",stopOpacity:"1"}))),ec().createElement("path",{d:"M2.518 23.321l1.664-1.11A12.988 12.988 0 0 0 15 28c7.18 0 13-5.82 13-13S22.18 2 15 2V0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-5.206 0-9.792-2.652-12.482-6.679z",fill:"url(#".concat(i,"-linear-gradient)"),fillRule:"evenodd"})))},g4=function(){return ec().createElement("svg",{"data-testid":"attach",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("g",{clipPath:"url(#clip0_10878_5)"},ec().createElement("path",{d:"M12.9997 6.99993L10.9997 6.99993L10.9997 10.9999L6.99972 10.9999L6.99972 12.9999L10.9997 12.9999L10.9997 16.9999L12.9997 16.9999L12.9997 12.9999L16.9997 12.9999L16.9997 10.9999L12.9997 10.9999L12.9997 6.99993ZM11.9997 1.99992C6.47972 1.99992 1.99972 6.47993 1.99972 11.9999C1.99972 17.5199 6.47972 21.9999 11.9997 21.9999C17.5197 21.9999 21.9997 17.5199 21.9997 11.9999C21.9997 6.47993 17.5197 1.99992 11.9997 1.99992ZM11.9997 19.9999C7.58972 19.9999 3.99972 16.4099 3.99972 11.9999C3.99972 7.58993 7.58972 3.99993 11.9997 3.99993C16.4097 3.99993 19.9997 7.58993 19.9997 11.9999C19.9997 16.4099 16.4097 19.9999 11.9997 19.9999Z",fill:"black"})),ec().createElement("defs",null,ec().createElement("clipPath",{id:"clip0_10878_5"},ec().createElement("rect",{fill:"white",height:"24",width:"24"}))))},g6=function(){return ec().createElement("svg",{"data-testid":"close-no-outline",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"black"}))},g5=function(){return ec().createElement("svg",{"data-testid":"retry",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M17.6449 6.35C16.1949 4.9 14.2049 4 11.9949 4C7.57488 4 4.00488 7.58 4.00488 12C4.00488 16.42 7.57488 20 11.9949 20C15.7249 20 18.8349 17.45 19.7249 14H17.6449C16.8249 16.33 14.6049 18 11.9949 18C8.68488 18 5.99488 15.31 5.99488 12C5.99488 8.69 8.68488 6 11.9949 6C13.6549 6 15.1349 6.69 16.2149 7.78L12.9949 11H19.9949V4L17.6449 6.35Z",fill:"black"}))},g8=function(){return ec().createElement("svg",{"data-testid":"download",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4C9.11 4 6.6 5.64 5.35 8.04C2.34 8.36 0 10.91 0 14C0 17.31 2.69 20 6 20H19C21.76 20 24 17.76 24 15C24 12.36 21.95 10.22 19.35 10.04ZM19 18H6C3.79 18 2 16.21 2 14C2 11.95 3.53 10.24 5.56 10.03L6.63 9.92L7.13 8.97C8.08 7.14 9.94 6 12 6C14.62 6 16.88 7.86 17.39 10.43L17.69 11.93L19.22 12.04C20.78 12.14 22 13.45 22 15C22 16.65 20.65 18 19 18ZM13.45 10H10.55V13H8L12 17L16 13H13.45V10Z",fill:"black"}))},g9=function(){return ec().createElement("svg",{fill:"none",height:"11",viewBox:"0 0 20 11",width:"20",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{clipRule:"evenodd",d:"M1.9 5.5C1.9 3.79 3.29 2.4 5 2.4H8.05C8.57467 2.4 9 1.97467 9 1.45C9 0.925329 8.57467 0.5 8.05 0.5H5C2.24 0.5 0 2.74 0 5.5C0 8.26 2.24 10.5 5 10.5H8.05C8.57467 10.5 9 10.0747 9 9.55C9 9.02533 8.57467 8.6 8.05 8.6H5C3.29 8.6 1.9 7.21 1.9 5.5ZM6 5.5C6 6.05228 6.44772 6.5 7 6.5H13C13.5523 6.5 14 6.05228 14 5.5C14 4.94772 13.5523 4.5 13 4.5H7C6.44772 4.5 6 4.94772 6 5.5ZM15 0.5H11.95C11.4253 0.5 11 0.925329 11 1.45C11 1.97467 11.4253 2.4 11.95 2.4H15C16.71 2.4 18.1 3.79 18.1 5.5C18.1 7.21 16.71 8.6 15 8.6H11.95C11.4253 8.6 11 9.02533 11 9.55C11 10.0747 11.4253 10.5 11.95 10.5H15C17.76 10.5 20 8.26 20 5.5C20 2.74 17.76 0.5 15 0.5Z",fill:"#005DFF",fillRule:"evenodd"}))},g7=function(){var e=aZ("SendButton").t;return ec().createElement("svg",{height:"17",viewBox:"0 0 18 17",width:"18",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,e("Send")),ec().createElement("path",{d:"M0 17.015l17.333-8.508L0 0v6.617l12.417 1.89L0 10.397z",fill:"#006cff",fillRule:"evenodd"}))},ve=function(){var e=aZ("SendButton").t;return ec().createElement("svg",{"data-testid":"send",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,e("Send")),ec().createElement("path",{d:"M4.00952 22L24 12L4.00952 2L4 9.77778L18.2857 12L4 14.2222L4.00952 22Z",fill:"black"}))},vt=function(e){var t=e.sendMessage,r=is(e,["sendMessage"]),i=a4("SendButton").themeVersion;return ec().createElement("button",io({"aria-label":"Send",className:"str-chat__send-button","data-testid":"send-button",onClick:t,type:"button"},r),"2"===i?ec().createElement(ve,null):ec().createElement(g7,null))},vn=function(e){var t=e.backgroundColor,r=e.color,i=e.size,a=void 0===i?20:i,o=e.width;return ec().createElement("div",{className:"rfu-loading-indicator__spinner",style:{borderColor:t||"",borderTopColor:r||"",borderWidth:(void 0===o?2:o)||"",height:a||"",margin:"0 auto",width:a||""}})},vr=function(e){var t=e.children,r=e.onClick;return ec().createElement("button",{"aria-label":"Cancel upload",className:"rfu-icon-button","data-testid":"cancel-upload-button",onClick:r,type:"button"},t)},vi=function(){return ec().createElement("svg",{height:"28",viewBox:"0 0 28 28",width:"28",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},ec().createElement("defs",null,ec().createElement("path",{d:"M465 5c5.53 0 10 4.47 10 10s-4.47 10-10 10-10-4.47-10-10 4.47-10 10-10zm3.59 5L465 13.59 461.41 10 460 11.41l3.59 3.59-3.59 3.59 1.41 1.41 3.59-3.59 3.59 3.59 1.41-1.41-3.59-3.59 3.59-3.59-1.41-1.41z",id:"b"}),ec().createElement("filter",{filterUnits:"objectBoundingBox",height:"160%",id:"a",width:"160%",x:"-30%",y:"-30%"},ec().createElement("feOffset",{in:"SourceAlpha",result:"shadowOffsetOuter1"}),ec().createElement("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"2"}),ec().createElement("feColorMatrix",{in:"shadowBlurOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}))),ec().createElement("g",{fill:"none",fillRule:"nonzero",transform:"translate(-451 -1)"},ec().createElement("use",{fill:"#000",filter:"url(#a)",xlinkHref:"#b"}),ec().createElement("use",{fill:"#FFF",fillRule:"evenodd",xlinkHref:"#b"})))},va=function(e){return ec().createElement("svg",io({role:"img",viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg"},e),ec().createElement("g",null,ec().createElement("path",{d:"M0.000 200.000 L 0.000 400.000 200.000 400.000 L 400.000 400.000 400.000 200.000 L 400.000 0.000 200.000 0.000 L 0.000 0.000 0.000 200.000 M243.085 68.180 C 251.168 72.240,252.758 82.164,246.332 88.456 C 242.609 92.102,249.072 91.774,176.600 92.000 L 112.600 92.200 111.000 93.165 C 107.620 95.203,105.382 98.131,104.780 101.304 C 104.548 102.526,104.400 132.258,104.400 177.461 C 104.400 261.065,104.646 254.561,101.340 258.340 C 95.134 265.435,84.540 263.898,80.562 255.326 L 79.600 253.251 79.600 170.356 L 79.600 87.460 80.613 84.526 C 83.246 76.897,91.469 68.511,96.439 68.386 C 96.747 68.378,97.450 68.114,98.000 67.800 C 98.856 67.311,109.214 67.226,170.067 67.214 L 241.134 67.200 243.085 68.180 M230.400 116.002 C 236.845 117.273,237.603 117.566,242.024 120.500 C 243.269 121.327,256.977 134.788,274.002 151.902 C 299.664 177.700,305.143 183.306,307.142 185.815 C 307.838 186.688,309.600 190.497,309.602 191.133 C 309.604 191.500,309.919 192.340,310.302 193.000 C 310.956 194.125,311.007 197.998,311.108 254.600 L 311.215 315.000 310.241 318.000 C 307.327 326.967,302.400 332.072,293.800 335.031 L 291.000 335.994 219.630 335.997 L 148.260 336.000 145.430 335.018 C 140.319 333.244,139.684 332.841,134.862 328.318 C 132.616 326.212,129.907 321.565,129.427 318.997 C 129.263 318.118,128.920 317.147,128.664 316.839 C 128.315 316.416,128.200 294.170,128.200 227.039 L 128.200 137.800 129.067 134.600 C 129.543 132.840,130.393 130.590,130.954 129.600 C 131.515 128.610,132.247 127.320,132.580 126.733 C 134.155 123.961,138.478 120.313,143.000 117.940 C 144.003 117.414,146.644 116.725,151.000 115.853 C 152.661 115.520,228.681 115.664,230.400 116.002 M226.250 137.650 C 225.849 139.656,225.987 187.508,226.403 190.713 C 227.174 196.647,230.700 200.107,237.136 201.245 C 239.519 201.666,290.972 201.562,291.398 201.135 C 291.727 200.807,227.629 136.400,226.974 136.400 C 226.713 136.400,226.388 136.963,226.250 137.650",fill:"#fcfcfc",fillRule:"evenodd",stroke:"none"}),ec().createElement("path",{d:"M98.000 67.800 C 97.450 68.114,96.747 68.378,96.439 68.386 C 91.469 68.511,83.246 76.897,80.613 84.526 L 79.600 87.460 79.600 170.356 L 79.600 253.251 80.562 255.326 C 84.540 263.898,95.134 265.435,101.340 258.340 C 104.646 254.561,104.400 261.065,104.400 177.461 C 104.400 132.258,104.548 102.526,104.780 101.304 C 105.382 98.131,107.620 95.203,111.000 93.165 L 112.600 92.200 176.600 92.000 C 249.072 91.774,242.609 92.102,246.332 88.456 C 252.758 82.164,251.168 72.240,243.085 68.180 L 241.134 67.200 170.067 67.214 C 109.214 67.226,98.856 67.311,98.000 67.800 M151.000 115.853 C 146.644 116.725,144.003 117.414,143.000 117.940 C 138.478 120.313,134.155 123.961,132.580 126.733 C 132.247 127.320,131.515 128.610,130.954 129.600 C 130.393 130.590,129.543 132.840,129.067 134.600 L 128.200 137.800 128.200 227.039 C 128.200 294.170,128.315 316.416,128.664 316.839 C 128.920 317.147,129.263 318.118,129.427 318.997 C 129.907 321.565,132.616 326.212,134.862 328.318 C 139.684 332.841,140.319 333.244,145.430 335.018 L 148.260 336.000 219.630 335.997 L 291.000 335.994 293.800 335.031 C 302.400 332.072,307.327 326.967,310.241 318.000 L 311.215 315.000 311.108 254.600 C 311.007 197.998,310.956 194.125,310.302 193.000 C 309.919 192.340,309.604 191.500,309.602 191.133 C 309.600 190.497,307.838 186.688,307.142 185.815 C 305.143 183.306,299.664 177.700,274.002 151.902 C 238.906 116.622,240.594 118.012,230.400 116.002 C 228.681 115.664,152.661 115.520,151.000 115.853 M259.556 168.635 C 277.215 186.364,291.544 200.989,291.398 201.135 C 290.972 201.562,239.519 201.666,237.136 201.245 C 230.700 200.107,227.174 196.647,226.403 190.713 C 225.460 183.450,225.955 136.400,226.974 136.400 C 227.235 136.400,241.897 150.906,259.556 168.635",fill:"#e4e4e4",fillRule:"evenodd",stroke:"none"})))},vo=function(e){var t=e.alt,r=e.handleClose,i=e.image,a=e.size,o=void 0===a?100:a,s=(0,el.useCallback)(function(e){return null==r?void 0:r(e)},[r]);return ec().createElement("div",{className:"rfu-thumbnail__wrapper",style:{height:o,width:o}},ec().createElement("div",{className:"rfu-thumbnail__overlay"},r?ec().createElement(vr,{onClick:s},ec().createElement(vi,null)):null),i?ec().createElement("img",{alt:null!=t?t:"",className:"rfu-thumbnail__image",src:i}):ec().createElement(va,{className:"rfu-thumbnail__image",preserveAspectRatio:"xMinYMin slice"}))},vs=function(){return ec().createElement("svg",{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M2 0h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm3 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM2 16v2h16v-6l-3-3-6 6-3-3-4 4z",fillRule:"nonzero"}))},vl=function(e){var t=e.multiple,r=e.disabled,i=e.handleFiles,a=e.children,o=void 0===a?ec().createElement(vs,null):a,s=e.resetOnChange;return ec().createElement("div",{className:"rfu-image-upload-button"},ec().createElement("label",null,ec().createElement(gB,{accept:"image/*","aria-label":"Image input",className:"rfu-image-input",disabled:void 0!==r&&r,multiple:void 0!==t&&t,onFileChange:i,resetOnChange:void 0!==s&&s}),o))},vc=function(e){var t=e.handleFiles,r=e.multiple;return ec().createElement(vl,{handleFiles:t,multiple:void 0!==r&&r},ec().createElement("div",{className:"rfu-thumbnail-placeholder"},ec().createElement("svg",{height:"15",viewBox:"0 0 14 15",width:"14",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M14 8.998H8v6H6v-6H0v-2h6v-6h2v6h6z",fill:"#A0B2B8",fillRule:"nonzero"}))))},vu=function(){return ec().createElement("svg",{height:"20",viewBox:"0 0 22 20",width:"22",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("path",{d:"M20 5.535V2a1 1 0 0 1 2 0v6a1 1 0 0 1-1 1h-6a1 1 0 0 1 0-2h3.638l-2.975-2.653a8 8 0 1 0 1.884 8.32 1 1 0 1 1 1.886.666A10 10 0 1 1 5.175 1.245c3.901-2.15 8.754-1.462 11.88 1.667L20 5.535z",fill:"#FFF",fillRule:"nonzero"}))},vd=function(e){var t=e.disabled,r=e.handleFiles,i=e.handleRemove,a=e.handleRetry,o=e.imageUploads,s=e.multiple,l=(0,el.useCallback)(function(e,t){if(!e)return console.warn('image.id of closed image was "null", this shouldn\'t happen');null==i||i(e,t)},[i]);return ec().createElement("div",{className:"rfu-image-previewer"},null==o?void 0:o.map(function(e){var t=e.url||e.previewUri;return ec().createElement("div",{className:a5("rfu-image-previewer__image","finished"===e.state&&"rfu-image-previewer__image--loaded"),key:e.id},"failed"===e.state&&ec().createElement("button",{"aria-label":"Retry upload",className:"rfu-image-previewer__retry",onClick:function(t){return null==a?void 0:a(e.id,t)},type:"button"},ec().createElement(vu,null)),t&&ec().createElement(vo,{handleClose:function(t){return l(e.id,t)},image:t}),"uploading"===e.state&&ec().createElement(vn,{backgroundColor:"#ffffff19",color:"#ffffffb2"}))}),r&&!(void 0!==t&&t)&&ec().createElement(vc,{handleFiles:r,multiple:void 0===s||s}))},vp=function(e){var t=e.fileIconProps,r=void 0===t?{}:t,i=e.uploads,a=e.handleRemove,o=e.handleRetry;return ec().createElement("div",{className:"rfu-file-previewer"},ec().createElement("ol",null,null==i?void 0:i.map(function(e){return ec().createElement("li",{className:"rfu-file-previewer__file ".concat("uploading"===e.state?"rfu-file-previewer__file--uploading":""," ").concat("failed"===e.state?"rfu-file-previewer__file--failed":""),key:e.id},ec().createElement(px,io({mimeType:e.file.type},r)),ec().createElement("a",{download:!0,href:e.url},e.file.name,"failed"===e.state&&ec().createElement(ec().Fragment,null,ec().createElement("div",{className:"rfu-file-previewer__failed",onClick:function(){return null==o?void 0:o(e.id)}},"failed"),ec().createElement("div",{className:"rfu-file-previewer__retry",onClick:function(){return null==o?void 0:o(e.id)}},"retry"))),ec().createElement("span",{className:"rfu-file-previewer__close-button",onClick:a&&function(){return a(e.id)}},"✘"),"uploading"===e.state&&ec().createElement("div",{className:"rfu-file-previewer__loading-indicator"},ec().createElement(vn,null)))})))},vf=function(){var e=a4("UploadsPreview").themeVersion,t=pn("UploadsPreview"),r=t.maxNumberOfFiles,i=t.multipleUploads,a=gK("UploadsPreview"),o=a.fileOrder,s=a.fileUploads,l=a.imageOrder,u=a.imageUploads,d=a.numberOfUploads,p=a.removeFile,f=a.removeImage,m=a.uploadFile,g=a.uploadImage,v=a.uploadNewFiles,b=l.map(function(e){return u[e]}).filter(function(e){return!e.og_scrape_url}),y=o.map(function(e){return s[e]});return ec().createElement(ec().Fragment,null,l.length>0&&ec().createElement(vd,{disabled:!i||(void 0===d?0:d)>=(void 0===r?0:r),handleFiles:v,handleRemove:f,handleRetry:g,imageUploads:b,multiple:i}),o.length>0&&ec().createElement(vp,{fileIconProps:{className:"str-chat__file-icon",version:e},handleFiles:v,handleRemove:p,handleRetry:m,uploads:y}))};function vh(){return(vh=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&!r?ec().createElement("div",{className:"str-chat__link-preview-list"},Array.from(t.values()).map(function(e){return e.state===k.LOADED?ec().createElement(vI,{key:e.og_scrape_url,linkPreview:e}):null})):null},vI=function(e){var t=e.linkPreview,r=gK().dismissLinkPreview,i=hf(),a=i.handleEnter,o=i.handleLeave,s=i.tooltipVisible,l=(0,el.useState)(null),u=l[0],d=l[1];return ec().createElement("div",{className:a5("str-chat__link-preview-card",{"str-chat__link-preview-card--loading":t.state===k.LOADING}),"data-testid":"link-preview-card"},ec().createElement(hp,{offset:[0,5],referenceElement:u,visible:s},t.og_scrape_url),ec().createElement("div",{className:"str-chat__link-preview-card__icon-container",onMouseEnter:a,onMouseLeave:o,ref:d},ec().createElement(g9,null)),ec().createElement("div",{className:"str-chat__link-preview-card__content"},ec().createElement("div",{className:"str-chat__link-preview-card__content-title"},t.title),ec().createElement("div",{className:"str-chat__link-preview-card__content-description"},t.text)),ec().createElement("button",{className:"str-chat__link-preview-card__dismiss-button","data-testid":"link-preview-card-dismiss-btn",onClick:function(){return r(t)}},ec().createElement(g6,null)))},vN=function(e){var t=e.cooldownInterval,r=e.setCooldownRemaining,i=(0,el.useState)(t),a=i[0],o=i[1];return(0,el.useEffect)(function(){var e=setInterval(function(){a>0?o(a-1):r(0)},1e3);return function(){return clearInterval(e)}}),ec().createElement("div",{className:"str-chat__message-input-cooldown","data-testid":"cooldown-timer"},a)},vB=function(){var e=pn("MessageInputFlat").quotedMessage,t=fi("MessageInputFlat").setQuotedMessage,r=a4("MessageInputFlat"),i=r.channel,a=r.themeVersion;return(0,el.useEffect)(function(){var r=function(r){var i;if((null===(i=r.message)||void 0===i?void 0:i.id)===(null==e?void 0:e.id)){if("message.deleted"===r.type){t(void 0);return}t(r.message)}};return null==i||i.on("message.deleted",r),null==i||i.on("message.updated",r),function(){null==i||i.off("message.deleted",r),null==i||i.off("message.updated",r)}},[i,e]),"2"===a?ec().createElement(vz,null):ec().createElement(vU,null)},vU=function(){var e=pn("MessageInputFlat"),t=e.acceptedFiles,r=e.multipleUploads,i=e.quotedMessage,a=aZ("MessageInputFlat").t,o=gK("MessageInputFlat"),s=o.closeEmojiPicker,l=o.cooldownRemaining,u=o.emojiPickerIsOpen,d=o.handleSubmit,p=o.hideSendButton,f=o.isUploadEnabled,m=o.maxFilesLeft,g=o.numberOfUploads,v=o.openEmojiPicker,b=o.setCooldownRemaining,y=o.uploadNewFiles,_=d8("MessageInputFlat"),w=_.CooldownTimer,k=_.EmojiIcon,x=_.FileUploadIcon,E=_.QuotedMessagePreview,F=_.SendButton,C=void 0===F?vt:F,S=_.AttachmentPreviewList;return ec().createElement("div",{className:a5("str-chat__input-flat","str-chat__message-input",{"str-chat__input-flat--send-button-active":!!C,"str-chat__input-flat-has-attachments":g,"str-chat__input-flat-quoted":i&&!i.parent_id})},ec().createElement(gI,{accept:t,disabled:!f||0===m||!!l,handleFiles:y,maxNumberOfFiles:m,multiple:r},i&&!i.parent_id&&ec().createElement(void 0===E?vP:E,{quotedMessage:i}),ec().createElement("div",{className:"str-chat__input-flat-wrapper"},f&&ec().createElement(void 0===S?vf:S,null),ec().createElement("div",{className:"str-chat__input-flat--textarea-wrapper"},ec().createElement("div",{className:"str-chat__emojiselect-wrapper"},ec().createElement(hd,null,a(u?"Close emoji picker":"Open emoji picker")),ec().createElement("button",{"aria-label":"Emoji picker",className:"str-chat__input-flat-emojiselect",onClick:u?s:v},l?ec().createElement("div",{className:"str-chat__input-flat-cooldown"},ec().createElement(void 0===w?vN:w,{cooldownInterval:l,setCooldownRemaining:b})):ec().createElement(void 0===k?gX:k,null))),ec().createElement(gJ,null),ec().createElement(vT,null),f&&!l&&ec().createElement("div",{className:"str-chat__fileupload-wrapper","data-testid":"fileinput"},ec().createElement(hd,null,a(m?"Attach files":"You've reached the maximum number of files")),ec().createElement(gU,{accepts:t,disabled:0===m,handleFiles:y,multiple:r},ec().createElement("span",{className:"str-chat__input-flat-fileupload"},ec().createElement(void 0===x?g2:x,null))))),!(l||p)&&ec().createElement(C,{sendMessage:d}))))},vz=function(){var e=pn("MessageInputV2"),t=e.acceptedFiles,r=void 0===t?[]:t,i=e.multipleUploads,a=e.quotedMessage,o=aZ("MessageInputV2").t,s=gK("MessageInputV2"),l=s.closeEmojiPicker,u=s.cooldownRemaining,d=s.emojiPickerIsOpen,p=s.findAndEnqueueURLsToEnrich,f=s.handleSubmit,m=s.hideSendButton,g=s.isUploadEnabled,v=s.linkPreviews,b=s.maxFilesLeft,y=s.message,_=s.numberOfUploads,w=s.openEmojiPicker,k=s.setCooldownRemaining,x=s.text,E=s.uploadNewFiles,F=d8("MessageInputV2"),C=F.AttachmentPreviewList,S=F.CooldownTimer,D=F.EmojiIcon,j=F.FileUploadIcon,T=F.LinkPreviewList,O=F.QuotedMessagePreview,P=F.SendButton,R=(0,el.useState)(null),M=R[0],L=R[1],A=(0,el.useState)(null),I=A[0],N=A[1],B=hu(M,I,{placement:"top-end"}),U=B.attributes,z=B.styles,H=(0,el.useMemo)(function(){return c9()},[]),q=gM({accept:(0,el.useMemo)(function(){return r.reduce(function(e,t){var r;return null!==(r=e[t])&&void 0!==r||(e[t]=[]),e},{})},[r]),disabled:!g||0===b,multiple:i,noClick:!0,onDrop:E}),V=q.getRootProps,W=q.isDragActive,$=q.isDragReject,G=!y&&a&&!a.parent_id;return ec().createElement(ec().Fragment,null,ec().createElement("div",io({},V({className:"str-chat__message-input"})),p&&ec().createElement(void 0===T?vA:T,{linkPreviews:Array.from(v.values())}),W&&ec().createElement("div",{className:a5("str-chat__dropzone-container",{"str-chat__dropzone-container--not-accepted":$})},!$&&ec().createElement("p",null,o("Drag your files here")),$&&ec().createElement("p",null,o("Some of the files will not be accepted"))),G&&ec().createElement(vO,null),ec().createElement("div",{className:"str-chat__message-input-inner"},ec().createElement("div",{className:"str-chat__file-input-container","data-testid":"file-upload-button"},ec().createElement(gB,{accept:null==r?void 0:r.join(","),"aria-label":"File upload",className:"str-chat__file-input","data-testid":"file-input",disabled:!g||0===b,id:H,multiple:i,onFileChange:E}),ec().createElement("label",{className:"str-chat__file-input-label",htmlFor:H},ec().createElement(void 0===j?g4:j,null))),ec().createElement("div",{className:"str-chat__message-textarea-container"},G&&ec().createElement(void 0===O?vP:O,{quotedMessage:a}),g&&!!_&&ec().createElement(void 0===C?vR:C,null),ec().createElement("div",{className:"str-chat__message-textarea-with-emoji-picker"},ec().createElement(vT,null),ec().createElement("div",{className:"str-chat__message-textarea-emoji-picker"},d&&ec().createElement("div",io({className:"str-chat__message-textarea-emoji-picker-container",style:z.popper},U.popper,{ref:N}),ec().createElement(gJ,null)),ec().createElement("button",{"aria-label":"Emoji picker",className:"str-chat__emoji-picker-button",onClick:d?l:w,ref:L,type:"button"},ec().createElement(void 0===D?g0:D,null))))),!m&&ec().createElement(ec().Fragment,null,u?ec().createElement(void 0===S?vN:S,{cooldownInterval:u,setCooldownRemaining:k}):ec().createElement(void 0===P?vt:P,{disabled:!_&&!x.length,sendMessage:f})))))},vH=function(){var e=pn("EditMessageForm"),t=e.acceptedFiles,r=e.multipleUploads,i=aZ("EditMessageForm").t,a=gK("EditMessageForm"),o=a.clearEditingState,s=a.closeEmojiPicker,l=a.emojiPickerIsOpen,u=a.handleSubmit,d=a.isUploadEnabled,p=a.maxFilesLeft,f=a.openEmojiPicker,m=a.uploadNewFiles,g=d8("EditMessageForm"),v=g.EmojiIcon,b=g.FileUploadIcon,y=a4("EditMessageForm").themeVersion;return((0,el.useEffect)(function(){var e=function(e){"Escape"===e.key&&(null==o||o())};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}},[o]),"2"===y)?ec().createElement("form",{className:"str-chat__edit-message-form",onSubmit:u},ec().createElement(vB,null),ec().createElement("div",{className:"str-chat__edit-message-form-options"},ec().createElement("button",{className:"str-chat__edit-message-cancel","data-testid":"cancel-button",onClick:o},i("Cancel")),ec().createElement("button",{className:"str-chat__edit-message-send","data-testid":"send-button",type:"submit"},i("Send")))):ec().createElement("div",{className:"str-chat__edit-message-form"},ec().createElement(gI,{accept:t,disabled:!d||0===p,handleFiles:m,maxNumberOfFiles:p,multiple:r},ec().createElement("form",{onSubmit:u},d&&ec().createElement(vf,null),ec().createElement(gJ,{small:!0}),ec().createElement(vT,null),ec().createElement("div",{className:"str-chat__message-team-form-footer"},ec().createElement("div",{className:"str-chat__edit-message-form-options"},ec().createElement("button",{"aria-label":"Open Emoji Picker",className:"str-chat__input-emojiselect",onClick:l?s:f},ec().createElement(void 0===v?gQ:v,null)),d&&ec().createElement("div",{className:"str-chat__fileupload-wrapper","data-testid":"fileinput"},ec().createElement(hd,null,i(p?"Attach files":"You've reached the maximum number of files")),ec().createElement(gU,{accepts:t,disabled:0===p,handleFiles:m,multiple:r},ec().createElement("span",{className:"str-chat__input-fileupload"},ec().createElement(void 0===b?g1:b,null))))),ec().createElement("div",null,ec().createElement("button",{className:"str-chat__edit-message-cancel",onClick:o},i("Cancel")),ec().createElement("button",{className:"str-chat__edit-message-send",type:"submit"},i("Send")))))))},vq=function(){var e=a4("useCommandTrigger").themeVersion,t=pn("useCommandTrigger").channelConfig,r=aZ("useCommandTrigger").t,i=null==t?void 0:t.commands;return{component:vS,dataProvider:function(t,a,o){if(0!==a.indexOf("/")||!i)return[];var s=i.filter(function(e){var r;return(null===(r=e.name)||void 0===r?void 0:r.indexOf(t))!==-1});s.sort(function(e,r){var i,a,o=null===(i=e.name)||void 0===i?void 0:i.toLowerCase(),s=null===(a=r.name)||void 0===a?void 0:a.toLowerCase();if((null==o?void 0:o.indexOf(t))===0&&(o="0".concat(o)),(null==s?void 0:s.indexOf(t))===0&&(s="0".concat(s)),null!=o&&null!=s){if(os)return 1}return 0});var l=s.slice(0,"2"===e?5:10);return o&&o(l.filter(function(e){return void 0!==e.name}).map(function(e){var t={name:e.name};return e.args&&(t.args=r("".concat(e.name,"-command-args"),{defaultValue:e.args})),e.description&&(t.description=r("".concat(e.name,"-command-description"),{defaultValue:e.description})),t}),t),l},output:function(e){return{caretPosition:"next",key:e.name,text:"/".concat(e.name)}}}},vV=ec().memo(function(e){var t=e.entity,r=Object.keys(t).length,i=null==t?void 0:t.itemNameParts;return ec().createElement("div",{className:"str-chat__emoji-item"},ec().createElement("span",{className:"str-chat__emoji-item--entity"},t.native),ec().createElement("span",{className:"str-chat__emoji-item--name"},r?r&&i.parts.map(function(e,t){return e.toLowerCase()===i.match.toLowerCase()?ec().createElement("span",{className:"str-chat__emoji-item--highlight",key:"part-".concat(t)},e):ec().createElement("span",{className:"str-chat__emoji-item--part",key:"part-".concat(t)},e)}):null))}),vW=function(e){var t=a4("useEmojiTrigger").themeVersion;return{component:vV,dataProvider:function(r,i,a){if(0===r.length||r.charAt(0).match(/[^a-zA-Z0-9+-]/))return[];var o=((null==e?void 0:e.search(r))||[]).filter(Boolean).slice(0,"2"===t?7:10);return a&&a(o,r),o},output:function(e){return{caretPosition:"next",key:e.id,text:"".concat("native"in e?e.native:"")}}}},v$={a:"\xe1|\xe0|\xe3|\xe2|\xc0|\xc1|\xc3|\xc2",c:"\xe7|\xc7",e:"\xe9|\xe8|\xea|\xc9|\xc8|\xca",i:"\xed|\xec|\xee|\xcd|\xcc|\xce",n:"\xf1|\xd1",o:"\xf3|\xf2|\xf4|ő|\xf5|\xd3|\xd2|\xd4|\xd5",u:"\xfa|\xf9|\xfb|\xfc|\xda|\xd9|\xdb|\xdc"},vG=function(e){return e?Object.keys(v$).reduce(function(e,t){return e.replace(RegExp(v$[t],"g"),t)},e):""},vY=function(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;var r,i,a=[];for(r=0;r<=t.length;r++)a[r]=[r];for(i=0;i<=e.length;i++)a[0][i]=i;for(r=1;r<=t.length;r++)for(i=1;i<=e.length;i++)t.charAt(r-1)===e.charAt(i-1)?a[r][i]=a[r-1][i-1]:a[r][i]=Math.min(a[r-1][i-1]+1,Math.min(a[r][i-1]+1,a[r-1][i]+1));return a[t.length][e.length]},vK=function(e){var t=e.ownUserId,i=e.query,a=e.text,o=e.useMentionsTransliteration;return e.users.filter(function(e){if(e.id===t)return!1;if(!i)return!0;var s=vG(e.id).toLowerCase(),l=vG(e.name).toLowerCase(),u=vG(i).toLowerCase();o&&il(void 0,void 0,void 0,function(){var t;return ic(this,function(a){switch(a.label){case 0:return[4,r.e(539).then(r.bind(r,90539))];case 1:return l=(t=a.sent().default)(e.name||"").toLowerCase(),u=t(i).toLowerCase(),s=t(e.id).toLowerCase(),[2]}})});var d=a.slice(-4).includes("@");if(l){var p=vY(u,l);if(l.includes(u)||p<=3&&d)return!0}var f=vY(u,s);return s.includes(u)||f<=3&&d})},vZ=function(e){return il(void 0,void 0,void 0,function(){var t,r,i,a,o,s,l,u,d,p,f,m,g,v;return ic(this,function(b){switch(b.label){case 0:return t=e.addNotification,r=e.file,i=e.getAppSettings,a=e.t,o=e.uploadType,s=null,[4,i()];case 1:if(s=b.sent(),u=(l=("image"===o?null===(g=null==s?void 0:s.app)||void 0===g?void 0:g.image_upload_config:null===(v=null==s?void 0:s.app)||void 0===v?void 0:v.file_upload_config)||{}).allowed_file_extensions,d=l.allowed_mime_types,p=l.blocked_file_extensions,f=l.blocked_mime_types,m=function(){return t(a('Upload type: "{{ type }}" is not allowed',{type:r.type||"unknown type"}),"error")},(null==u?void 0:u.length)&&!u.some(function(e){return r.name.toLowerCase().endsWith(e.toLowerCase())})||(null==p?void 0:p.length)&&p.some(function(e){return r.name.toLowerCase().endsWith(e.toLowerCase())})||(null==d?void 0:d.length)&&!d.some(function(e){var t;return e.toLowerCase()===(null===(t=r.type)||void 0===t?void 0:t.toLowerCase())})||(null==f?void 0:f.length)&&f.some(function(e){var t;return e.toLowerCase()===(null===(t=r.type)||void 0===t?void 0:t.toLowerCase())}))return m(),[2,!1];return[2,!0]}})})},vJ=function(e){var t=e.disableMentions,r=e.mentionAllAppUsers,i=e.mentionQueryParams,a=void 0===i?{}:i,o=e.onSelectUser,s=e.useMentionsTransliteration,l=(0,el.useState)(!1),u=l[0],d=l[1],p=a4("useUserTrigger"),f=p.client,m=p.mutes,g=p.themeVersion,v=pn("useUserTrigger").channel,b=v.state.members,y=v.state.watchers,_=(0,el.useCallback)(function(){var e=b?Object.values(b).map(function(e){return e.user}):[],t=y?Object.values(y):[],r=ip(ip([],e,!0),t,!0),i={};return r.forEach(function(e){e&&!i[e.id]&&(i[e.id]=e)}),Object.values(i)},[b,y]),w=(0,el.useCallback)(c4()(function(e,t){return il(void 0,void 0,void 0,function(){var r;return ic(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,v.queryMembers({name:{$autocomplete:e}})];case 1:return r=i.sent().members.map(function(e){return e.user}),t&&r.length?t(r):t([]),[3,3];case 2:return console.log({error:i.sent()}),[3,3];case 3:return[2]}})})},200),[v]),k=c4()(function(e,t){return il(void 0,void 0,void 0,function(){var r;return ic(this,function(i){switch(i.label){case 0:if(!e||u)return[2];d(!0),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,f.queryUsers(io({$or:[{id:{$autocomplete:e}},{name:{$autocomplete:e}}],id:{$ne:f.userID}},"function"==typeof a.filters?a.filters(e):a.filters),Array.isArray(a.sort)?ip([{id:1}],a.sort,!0):io({id:1},a.sort),io({limit:10},a.options))];case 2:return r=i.sent().users,t&&r.length?t(r):t([]),[3,4];case 3:return console.log({error:i.sent()}),[3,4];case 4:return d(!1),[2]}})})},200);return{callback:function(e){return o(e)},component:vD,dataProvider:function(e,i,o){if(!t){var l,u,d=function(e){return i.includes("/unmute")&&!m.length?[]:m.length?i.includes("/unmute")?e.filter(function(e){return m.some(function(t){return t.target.id===e.id})}):e.filter(function(e){return m.every(function(t){return t.target.id!==e.id})}):e};if(r)return k(e,function(t){o&&o(d(t),e)});if(!e||Object.values(b||{}).length<100){var p=_(),v=vK({ownUserId:f.userID,query:e,text:i,useMentionsTransliteration:s,users:p}),y=null!==(u=null===(l=a.options)||void 0===l?void 0:l.limit)&&void 0!==u?u:"2"===g?7:10,x=v.slice(0,y);return o&&o(d(x),e),x}return w(e,function(t){o&&o(d(t),e)})}},output:function(e){return{caretPosition:"next",key:e.id,text:"@".concat(e.name||e.id)}}}},vX=function(e){var t=e.children,r=gK("DefaultTriggerProvider"),i={"/":vq(),":":vW(r.emojiIndex),"@":vJ({disableMentions:r.disableMentions,mentionAllAppUsers:r.mentionAllAppUsers,mentionQueryParams:r.mentionQueryParams,onSelectUser:r.onSelectUser,useMentionsTransliteration:r.useMentionsTransliteration})},a=io(io({},r),{autocompleteTriggers:i});return ec().createElement(gY,{value:a},t)},vQ=function(){var e,t=a4("useCooldownTimer"),r=t.client,i=t.latestMessageDatesByChannels,a=pn("useCooldownTimer"),o=a.channel,s=a.messages,l=void 0===s?[]:s,u=(0,el.useState)(),d=u[0],p=u[1],f=o.data||{},m=f.cooldown,g=void 0===m?0:m,v=f.own_capabilities,b=null==v?void 0:v.includes("skip-slow-mode"),y=(0,el.useMemo)(function(){var e,t;return null!==(e=i[o.cid])&&void 0!==e?e:null===(t=ip([],l,!0).sort(function(e,t){var r,i;return(null===(r=t.created_at)||void 0===r?void 0:r.getTime())-(null===(i=e.created_at)||void 0===i?void 0:i.getTime())}).find(function(e){var t,i;return(null===(t=e.user)||void 0===t?void 0:t.id)===(null===(i=r.user)||void 0===i?void 0:i.id)}))||void 0===t?void 0:t.created_at},[l,null===(e=r.user)||void 0===e?void 0:e.id,i,o.cid]);return(0,el.useEffect)(function(){var e=y?Math.max(0,(new Date().getTime()-y.getTime())/1e3):void 0;p(!b&&void 0!==e&&g>e?Math.round(g-e):0)},[g,y,b]),{cooldownInterval:g,cooldownRemaining:d,setCooldownRemaining:p}},v0=function(e){var t=e.additionalTextareaProps,r=e.attachments,i=e.autocompleteTriggers,a=e.cancelURLEnrichment,o=e.clearEditingState,s=e.closeCommandsList,l=e.closeEmojiPicker,u=e.closeMentionsList,d=e.cooldownInterval,p=e.cooldownRemaining,f=e.disabled,m=e.disableMentions,g=e.dismissLinkPreview,v=e.doFileUploadRequest,b=e.doImageUploadRequest,y=e.emojiIndex,_=e.emojiPickerIsOpen,w=e.emojiPickerRef,k=e.errorHandler,x=e.fileOrder,E=e.fileUploads,F=e.findAndEnqueueURLsToEnrich,C=e.focus,S=e.grow,D=e.handleChange,j=e.handleEmojiKeyDown,T=e.handleSubmit,O=e.hideSendButton,P=e.imageOrder,R=e.imageUploads,M=e.insertText,L=e.isUploadEnabled,A=e.linkPreviews,I=e.maxFilesLeft,N=e.maxRows,B=e.mentionAllAppUsers,U=e.mentioned_users,z=e.mentionQueryParams,H=e.message,q=e.noFiles,V=e.numberOfUploads,W=e.onPaste,$=e.onSelectEmoji,G=e.onSelectUser,Y=e.openCommandsList,K=e.openEmojiPicker,Z=e.openMentionsList,J=e.overrideSubmitHandler,X=e.parent,Q=e.publishTypingEvent,ee=e.removeFile,et=e.removeImage,en=e.setCooldownRemaining,er=e.setText,ei=e.shouldSubmit,ea=e.showCommandsList,eo=e.showMentionsList,es=e.text,ec=e.textareaRef,eu=e.uploadFile,ed=e.uploadImage,ep=e.uploadNewFiles,ef=e.useMentionsTransliteration,eh=null==H?void 0:H.editing,em=Object.entries(E).map(function(e){return e[0],e[1].state}).join(),eg=Object.entries(R).map(function(e){return e[0],e[1].state}).join(),ev=Array.from(A.values()).join(),eb=U.length,ey=null==X?void 0:X.id;return(0,el.useMemo)(function(){return{additionalTextareaProps:t,attachments:r,autocompleteTriggers:i,cancelURLEnrichment:a,clearEditingState:o,closeCommandsList:s,closeEmojiPicker:l,closeMentionsList:u,cooldownInterval:d,cooldownRemaining:p,disabled:f,disableMentions:m,dismissLinkPreview:g,doFileUploadRequest:v,doImageUploadRequest:b,emojiIndex:y,emojiPickerIsOpen:_,emojiPickerRef:w,errorHandler:k,fileOrder:x,fileUploads:E,findAndEnqueueURLsToEnrich:F,focus:C,grow:S,handleChange:D,handleEmojiKeyDown:j,handleSubmit:T,hideSendButton:O,imageOrder:P,imageUploads:R,insertText:M,isUploadEnabled:L,linkPreviews:A,maxFilesLeft:I,maxRows:N,mentionAllAppUsers:B,mentioned_users:U,mentionQueryParams:z,message:H,noFiles:q,numberOfUploads:V,onPaste:W,onSelectEmoji:$,onSelectUser:G,openCommandsList:Y,openEmojiPicker:K,openMentionsList:Z,overrideSubmitHandler:J,parent:X,publishTypingEvent:Q,removeFile:ee,removeImage:et,setCooldownRemaining:en,setText:er,shouldSubmit:ei,showCommandsList:ea,showMentionsList:eo,text:es,textareaRef:ec,uploadFile:eu,uploadImage:ed,uploadNewFiles:ep,useMentionsTransliteration:ef}},[a,d,p,g,eh,_,em,F,O,eg,L,ev,eb,ey,Q,ea,eo,es,T])},v1=function(){var e=g$("useEmojiIndex"),t=e.emojiConfig,r=e.EmojiIndex,i=(t||{}).emojiData;return(0,el.useMemo)(function(){if(r)return new r(i)},[i,r])},v2=function(e,t,r){var i=e.doImageUploadRequest,a=e.errorHandler,o=t.imageUploads,s=pn("useImageUploads").channel,l=a4("useImageUploads").getAppSettings,u=fi("useImageUploads").addNotification,d=aZ("useImageUploads").t,p=(0,el.useCallback)(function(e){r({id:e,type:"removeImageUpload"})},[]),f=(0,el.useCallback)(function(e){return il(void 0,void 0,void 0,function(){var t,f,m,g,v,b;return ic(this,function(y){switch(y.label){case 0:if(!(t=o[e]))return[2];return f=t.file,"uploading"!==t.state&&r({id:e,state:"uploading",type:"setImageUpload"}),[4,vZ({addNotification:u,file:f,getAppSettings:l,t:d,uploadType:"image"})];case 1:if(!y.sent())return[2,p(e)];y.label=2;case 2:if(y.trys.push([2,7,,8]),!i)return[3,4];return[4,i(f,s)];case 3:return m=y.sent(),[3,6];case 4:return[4,s.sendImage(f)];case 5:m=y.sent(),y.label=6;case 6:return[3,8];case 7:return u("string"==typeof(g=y.sent()).message?g.message:d("Error uploading image"),"error"),v=!1,o[e]?r({id:e,state:"failed",type:"setImageUpload"}):v=!0,!v&&a&&a(g,"upload-image",io(io({},f),{id:e})),[2];case 8:if(!m)return p(e),[2];return t.previewUri&&(null===(b=URL.revokeObjectURL)||void 0===b||b.call(URL,t.previewUri)),r({id:e,previewUri:void 0,state:"finished",type:"setImageUpload",url:m.file}),[2]}})})},[o,s,i,a,p]);return(0,el.useEffect)(function(){var e=Object.values(o).find(function(e){return"uploading"===e.state&&e.file});e&&f(e.id)},[o,f]),{removeImage:p,uploadImage:f}},v3=function(e,t,r){var i=e.doFileUploadRequest,a=e.errorHandler,o=t.fileUploads,s=pn("useFileUploads").channel,l=fi("useFileUploads").addNotification,u=a4("useFileUploads").getAppSettings,d=aZ("useFileUploads").t,p=(0,el.useCallback)(function(e){r({id:e,state:"uploading",type:"setFileUpload"})},[]),f=(0,el.useCallback)(function(e){r({id:e,type:"removeFileUpload"})},[]);return(0,el.useEffect)(function(){il(void 0,void 0,void 0,function(){var e,t,p,m,g,v;return ic(this,function(b){switch(b.label){case 0:if(!(e=Object.values(o).find(function(e){return"uploading"===e.state&&e.file})))return[2];return t=e.file,p=e.id,[4,vZ({addNotification:l,file:t,getAppSettings:u,t:d,uploadType:"file"})];case 1:if(!b.sent())return[2,f(p)];b.label=2;case 2:if(b.trys.push([2,7,,8]),!i)return[3,4];return[4,i(t,s)];case 3:return m=b.sent(),[3,6];case 4:return[4,s.sendFile(t)];case 5:m=b.sent(),b.label=6;case 6:return[3,8];case 7:return l("string"==typeof(g=b.sent()).message?g.message:d("Error uploading file"),"error"),v=!1,o[p]?r({id:p,state:"failed",type:"setFileUpload"}):v=!0,!v&&a&&a(g,"upload-file",t),[2];case 8:if(!m)return f(p),[2];return r({id:p,state:"finished",thumb_url:m.thumb_url,type:"setFileUpload",url:m.file}),[2]}})})},[o,s,i,a,f]),{removeFile:f,uploadFile:p}},v4=function(e,t,r,i){var a=e.noFiles,o=t.fileUploads,s=t.imageUploads,l=pn("useAttachments"),u=l.maxNumberOfFiles,d=l.multipleUploads,p=v3(e,t,r),f=p.removeFile,m=p.uploadFile,g=v2(e,t,r),v=g.removeImage,b=g.uploadImage,y=Object.values(s).filter(function(e){var t=e.og_scrape_url;return"failed"!==e.state&&!t}).length+Object.values(o).filter(function(e){return"failed"!==e.state}).length,_=(d?u||10:1)-y,w=(0,el.useCallback)(function(e){var t;Array.from(e).slice(0,_).forEach(function(e){var t,i=c9();e.type.startsWith("image/")&&!e.type.endsWith(".photoshop")?r({file:e,id:i,previewUri:null===(t=URL.createObjectURL)||void 0===t?void 0:t.call(URL,e),state:"uploading",type:"setImageUpload"}):e instanceof File&&!a&&r({file:e,id:i,state:"uploading",type:"setFileUpload"})}),null===(t=null==i?void 0:i.current)||void 0===t||t.focus()},[_,a]);return{maxFilesLeft:_,numberOfUploads:y,removeFile:f,removeImage:v,uploadFile:m,uploadImage:b,uploadNewFiles:w}},v6=function(e,t,r,i){var a=pn("useMessageInputText").channel,o=e.additionalTextareaProps,s=e.focus,l=e.parent,u=e.publishTypingEvent,d=void 0===u||u,p=t.text,f=(0,el.useRef)();(0,el.useEffect)(function(){s&&f.current&&f.current.focus()},[s]);var m=(0,el.useRef)(),g=(0,el.useCallback)(function(e){var t=(o||{}).maxLength;if(!f.current){r({getNewText:function(r){var i=r+e;return t&&i.length>t?i.slice(0,t):i},type:"setText"});return}var i=f.current,a=i.selectionEnd,s=i.selectionStart;m.current=s+e.length,r({getNewText:function(r){var i=r.slice(0,s)+e+r.slice(a);return t&&i.length>t?i.slice(0,t):i},type:"setText"})},[o,m,f]);return(0,el.useEffect)(function(){var e=f.current;e&&void 0!==m.current&&(e.selectionStart=m.current,e.selectionEnd=m.current,m.current=void 0)},[p,m]),{handleChange:(0,el.useCallback)(function(e){if(e.preventDefault(),e&&e.target){var t=e.target.value;r({getNewText:function(){return t},type:"setText"}),null==i||i(t),d&&t&&a&&rl(a.keystroke(null==l?void 0:l.id),"start typing event")}},[a,i,l,d]),insertText:g,textareaRef:f}},v5=function(e,t,r,i,a){var o=(0,el.useRef)(null),s=(0,el.useCallback)(function(e){e.preventDefault(),o.current&&!o.current.contains(e.target)&&t({type:"setEmojiPickerIsOpen",value:!1})},[o]),l=(0,el.useCallback)(function(e){e.preventDefault(),t({type:"setEmojiPickerIsOpen",value:!0}),e.stopPropagation()},[]),u=function(e){"Escape"===e.key&&t({type:"setEmojiPickerIsOpen",value:!1})};return(0,el.useEffect)(function(){return e.emojiPickerIsOpen&&(document.addEventListener("click",s,!1),document.addEventListener("keydown",u)),function(){document.removeEventListener("click",s,!1),document.removeEventListener("keydown",u)}},[s,e.emojiPickerIsOpen]),{closeEmojiPicker:s,emojiPickerRef:o,handleEmojiKeyDown:function(e){(" "===e.key||"Enter"===e.key||"Spacebar"===e.key)&&(e.preventDefault(),l(e))},onSelectEmoji:(0,el.useCallback)(function(e){var o;r(e.native),a&&t({type:"setEmojiPickerIsOpen",value:!1}),null===(o=null==i?void 0:i.current)||void 0===o||o.focus()},[r]),openEmojiPicker:l}},v8=function(e,t,r,i,a){var o=e.clearEditingState,s=e.message,l=e.overrideSubmitHandler,u=e.parent,d=e.publishTypingEvent,p=t.attachments,f=t.fileOrder,m=t.fileUploads,g=t.imageOrder,v=t.imageUploads,b=t.linkPreviews,y=t.mentioned_users,_=t.text,w=a.cancelURLEnrichment,x=a.findAndEnqueueURLsToEnrich,E=pn("useSubmitHandler").channel,F=fi("useSubmitHandler"),C=F.addNotification,S=F.editMessage,D=F.sendMessage,j=aZ("useSubmitHandler").t,T=(0,el.useRef)({hasChanged:!1,initialText:_});(0,el.useEffect)(function(){if(!T.current.initialText.length){T.current.initialText=_;return}T.current.hasChanged=_!==T.current.initialText},[_]);var O=function(){var e=g.map(function(e){return v[e]}).filter(function(e){return"failed"!==e.state}).filter(function(e,t,r){var i=e.id,a=e.url;return r.every(function(e){return e.id===i||e.url!==a})}).filter(function(e){return!T.current.hasChanged||!e.og_scrape_url}).map(function(e){var t=e.file.name,r=e.url,i=is(e,["file","url"]);return{author_name:i.author_name,fallback:t,image_url:r,og_scrape_url:i.og_scrape_url,text:i.text,title:i.title,title_link:i.title_link,type:"image"}}),t=f.map(function(e){return m[e]}).filter(function(e){return"failed"!==e.state}).map(function(e){var t;return{asset_url:e.url,file_size:e.file.size,mime_type:e.file.type,thumb_url:e.thumb_url,title:e.file.name,type:(t=e.file.type||"").includes("video/")?"video":t.includes("audio/")?"audio":"file"}});return ip(ip(ip([],p,!0),e,!0),t,!0)};return{handleSubmit:function(e,t){return il(void 0,void 0,void 0,function(){var a,p,f,g,F,T,P,R,M,L;return ic(this,function(A){switch(A.label){case 0:if(e.preventDefault(),(""===(a=_.trim())||">"===a||"``````"===a||"``"===a||"**"===a||"____"===a||"__"===a||"****"===a)&&0===i)return[2];if(Object.values(v).some(function(e){return"uploading"===e.state})||Object.values(m).some(function(e){return"uploading"===e.state}))return[2,C(j("Wait until all attachments have uploaded"),"error")];if(p=O(),f=[],x&&(p=p.filter(function(e){return!e.og_scrape_url}),w(),g=Array.from(b.values()).some(function(e){return[k.QUEUED,k.LOADING].includes(e.state)}),F=Array.from(b.values()).some(function(e){return e.state===k.DISMISSED}),g||(f=Array.from(b.values()).filter(function(e){return e.state===k.LOADED&&!p.find(function(t){return t.og_scrape_url===e.og_scrape_url})}).map(function(e){return e.state,is(e,["state"])}))),P={attachments:ip(ip([],p,!0),f,!0),mentioned_users:T=Array.from(new Set(y.filter(function(e){var t=e.id,r=e.name;return _.includes("@".concat(t))||_.includes("@".concat(r))}))),text:_},M=(R=!!x)&&(!g&&f.length>0||F),L=R?{skip_enrich_url:M}:void 0,!s)return[3,5];delete s.i18n,A.label=1;case 1:return A.trys.push([1,3,,4]),[4,S(io(io(io({},s),P),t),L)];case 2:return A.sent(),null==o||o(),r({type:"clear"}),[3,4];case 3:return A.sent(),C(j("Edit message request failed"),"error"),[3,4];case 4:return[3,13];case 5:if(A.trys.push([5,12,,13]),r({type:"clear"}),!l)return[3,7];return[4,l(io(io({},P),{parent:u}),E.cid,t,L)];case 6:return A.sent(),[3,9];case 7:return[4,D(io(io({},P),{parent:u}),t,L)];case 8:A.sent(),A.label=9;case 9:if(!d)return[3,11];return[4,E.stopTyping()];case 10:A.sent(),A.label=11;case 11:return[3,13];case 12:return A.sent(),r({getNewText:function(){return _},type:"setText"}),null==T||T.forEach(function(e){r({type:"addMentionedUser",user:e})}),C(j("Send message request failed"),"error"),[3,13];case 13:return[2]}})})}}},v9=function(e){var t,r=e.debounceURLEnrichmentMs,i=e.dispatch,a=e.enrichURLForPreview,o=e.findURLFn,s=e.linkPreviews,l=e.onLinkPreviewDismissed,u=a4().client,d=pn(),p=d.channelConfig,f=d.debounceURLEnrichmentMs,m=d.findURLFn,g=d.onLinkPreviewDismissed,v=(0,el.useRef)(!1),b=null!=o?o:m,y=null!=l?l:g,_=null!==(t=null!=r?r:f)&&void 0!==t?t:1500,w=(0,el.useCallback)(function(e){null==y||y(e);var t=new Map;e.state=k.DISMISSED,t.set(e.og_scrape_url,e),i({linkPreviews:t,mode:x.UPSERT,type:"setLinkPreviews"})},[y]),E=(0,el.useCallback)(cD()(function(e,t){void 0===t&&(t=x.SET);var r=b?b(e):dR(e,"url").reduce(function(e,t){return t.isLink&&e.push(t.href),e},[]);v.current=0===r.length,i({linkPreviews:r.reduce(function(e,t){return e.set(t,{og_scrape_url:t,state:k.QUEUED}),e},new Map),mode:t,type:"setLinkPreviews"})},_,{leading:!1,trailing:!0}),[_,v,b]),F=(0,el.useCallback)(function(){E.cancel(),E(""),E.flush()},[E]);return(0,el.useEffect)(function(){var e=Array.from(s.values()).reduce(function(e,t){if("queued"===t.state){var r=io(io({},t),{state:k.LOADING});e.set(t.og_scrape_url,r)}return e},new Map);e.size&&(i({linkPreviews:e,mode:x.UPSERT,type:"setLinkPreviews"}),e.forEach(function(e){u.enrichURL(e.og_scrape_url).then(function(t){t.duration;var r=is(t,["duration"]);if(!v.current){var a=new Map;a.set(e.og_scrape_url,io(io({},r),{state:k.LOADED})),i({linkPreviews:a,mode:x.UPSERT,type:"setLinkPreviews"})}}).catch(function(){var t=new Map;t.set(e.og_scrape_url,io(io({},e),{state:k.FAILED})),i({linkPreviews:t,mode:x.UPSERT,type:"setLinkPreviews"})})}))},[v,s]),{cancelURLEnrichment:F,dismissLinkPreview:w,findAndEnqueueURLsToEnrich:(null==p?void 0:p.url_enrichment)&&void 0!==a&&a?E:void 0}},v7=function(){return{attachments:[],emojiPickerIsOpen:!1,fileOrder:[],fileUploads:{},imageOrder:[],imageUploads:{},linkPreviews:new Map,mentioned_users:[],setText:function(){return null},text:""}},be=function(e){if(!e)return v7();var t,r,i,a,o,s,l,u=null!==(r=null===(t=e.attachments)||void 0===t?void 0:t.filter(function(e){return"image"===e.type}).reduce(function(e,t){var r=t.author_name,i=t.fallback,a=t.image_url,o=t.og_scrape_url,s=t.text,l=t.title,u=t.title_link,d=c9();return e[d]={author_name:r,file:{name:void 0===i?"":i},id:d,og_scrape_url:o,state:"finished",text:s,title:l,title_link:u,url:a},e},{}))&&void 0!==r?r:{},d=null!==(a=null===(i=e.attachments)||void 0===i?void 0:i.filter(function(e){return"file"===e.type}).reduce(function(e,t){var r=t.asset_url,i=t.file_size,a=t.mime_type,o=t.thumb_url,s=t.title,l=c9();return e[l]={file:{name:void 0===s?"":s,size:i,type:a},id:l,state:"finished",thumb_url:o,url:r},e},{}))&&void 0!==a?a:{},p=null!==(s=null===(o=e.attachments)||void 0===o?void 0:o.reduce(function(e,t){return t.og_scrape_url&&e.set(t.og_scrape_url,io(io({},t),{state:k.LOADED})),e},new Map))&&void 0!==s?s:new Map,f=Object.keys(u),m=Object.keys(d);return{attachments:(null===(l=e.attachments)||void 0===l?void 0:l.filter(function(e){var t=e.type;return"file"!==t&&"image"!==t}))||[],emojiPickerIsOpen:!1,fileOrder:m,fileUploads:d,imageOrder:f,imageUploads:u,linkPreviews:p,mentioned_users:e.mentioned_users||[],setText:function(){return null},text:e.text||""}},bt=function(e,t){var r,i;switch(t.type){case"setEmojiPickerIsOpen":return io(io({},e),{emojiPickerIsOpen:t.value});case"setText":return io(io({},e),{text:t.getNewText(e.text)});case"clear":return v7();case"setImageUpload":var a=e.imageUploads[t.id];if(!a&&!t.file)return e;var o=a?e.imageOrder:e.imageOrder.concat(t.id),s=io({},t);return delete s.type,io(io({},e),{imageOrder:o,imageUploads:io(io({},e.imageUploads),((r={})[t.id]=io(io({},e.imageUploads[t.id]),s),r))});case"setFileUpload":var l=e.fileUploads[t.id];if(!l&&!t.file)return e;var u=l?e.fileOrder:e.fileOrder.concat(t.id),s=io({},t);return delete s.type,io(io({},e),{fileOrder:u,fileUploads:io(io({},e.fileUploads),((i={})[t.id]=io(io({},e.fileUploads[t.id]),s),i))});case"setLinkPreviews":var d=new Map(e.linkPreviews);return t.mode===x.REMOVE?Array.from(t.linkPreviews.keys()).forEach(function(e){d.delete(e)}):(Array.from(t.linkPreviews.values()).reduce(function(e,t){var r=e.get(t.og_scrape_url),i=t.state===k.QUEUED&&(null==r?void 0:r.state)!==k.FAILED;return r&&i||e.set(t.og_scrape_url,t),e},d),t.mode===x.SET&&Array.from(e.linkPreviews.keys()).forEach(function(e){t.linkPreviews.get(e)||d.delete(e)})),io(io({},e),{linkPreviews:d});case"removeImageUpload":if(!e.imageUploads[t.id])return e;var p=io({},e.imageUploads);return delete p[t.id],io(io({},e),{imageOrder:e.imageOrder.filter(function(e){return e!==t.id}),imageUploads:p});case"removeFileUpload":if(!e.fileUploads[t.id])return e;var f=io({},e.fileUploads);return delete f[t.id],io(io({},e),{fileOrder:e.fileOrder.filter(function(e){return e!==t.id}),fileUploads:f});case"addMentionedUser":return io(io({},e),{mentioned_users:e.mentioned_users.concat(t.user)});default:return e}},bn=function(e){var t,r,i=e.additionalTextareaProps,a=e.closeEmojiPickerOnClick,o=e.getDefaultValue,s=e.message,l=e.urlEnrichmentConfig,u=pn("useMessageInputState"),d=u.channelCapabilities,p=u.channelConfig,f=u.enrichURLForPreview,m=(null==o?void 0:o())||(null==i?void 0:i.defaultValue),g=s||(Array.isArray(m)?{text:m.join("")}:{text:null==m?void 0:m.toString()}),v=(0,el.useReducer)(bt,g,be),b=v[0],y=v[1],_=v9(io(io({dispatch:y,linkPreviews:b.linkPreviews},l),{enrichURLForPreview:null!==(r=null==l?void 0:l.enrichURLForPreview)&&void 0!==r?r:f})),w=v6(e,b,y,_.findAndEnqueueURLsToEnrich),k=w.handleChange,E=w.insertText,F=w.textareaRef,C=(0,el.useState)(!1),S=C[0],D=C[1],j=(0,el.useState)(!1),T=j[0],O=j[1],P=v5(b,y,E,F,a),R=P.closeEmojiPicker,M=P.emojiPickerRef,L=P.handleEmojiKeyDown,A=P.onSelectEmoji,I=P.openEmojiPicker,N=v4(e,b,y,F),B=N.maxFilesLeft,U=N.numberOfUploads,z=N.removeFile,H=N.removeImage,q=N.uploadFile,V=N.uploadImage,W=N.uploadNewFiles,$=v8(e,b,y,U,_).handleSubmit,G=(null==p?void 0:p.uploads)!==!1&&!1!==(void 0===d?{}:d)["upload-file"],Y=(t=_.findAndEnqueueURLsToEnrich,{onPaste:(0,el.useCallback)(function(e){G&&il(void 0,void 0,void 0,function(){var r,i,a,o,s,l;return ic(this,function(u){switch(u.label){case 0:if(!function(e){if(!e||!e.length)return!1;for(var t=0;t0;t-=1)if("received"===e[t].status)return e[t].id;return null},bw=function(e,t,r){void 0===t&&(t={});var i={};return Object.values(t).forEach(function(t){var a;t.last_read&&(e.forEach(function(e){e.created_at&&e.created_at0,m=!r||r.customType===mX.date||"system"===r.type||r.customType===mX.intro||(null===(u=r.attachments)||void 0===u?void 0:u.length)!==0||(null===(d=e.user)||void 0===d?void 0:d.id)!==(null===(p=r.user)||void 0===p?void 0:p.id)||"error"===r.type||r.deleted_at||r.reaction_counts&&Object.keys(r.reaction_counts).length>0;return f||m?m?f||e.deleted_at||"error"===e.type?"single":"bottom":f?"top":"":e.deleted_at||"error"===e.type?"single":"middle"},bE=function(e,t){return e===t};let bF=JSON.parse('{"compressed":true,"categories":[{"id":"people","name":"Smileys & People","emojis":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","shushing_face","thinking_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","smirk","unamused","face_with_rolling_eyes","grimacing","lying_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","exploding_head","face_with_cowboy_hat","partying_face","sunglasses","nerd_face","face_with_monocle","confused","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","ok_hand","pinching_hand","v","crossed_fingers","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","tooth","bone","eyes","eye","tongue","lips","baby","child","boy","girl","adult","man","bearded_person","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","curly_haired_woman","white_haired_woman","bald_woman","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","man-frowning","woman-frowning","man-pouting","woman-pouting","man-gesturing-no","woman-gesturing-no","man-gesturing-ok","woman-gesturing-ok","man-tipping-hand","woman-tipping-hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","man-bowing","woman-bowing","man-facepalming","woman-facepalming","man-shrugging","woman-shrugging","male-doctor","female-doctor","male-student","female-student","male-teacher","female-teacher","male-judge","female-judge","male-farmer","female-farmer","male-cook","female-cook","male-mechanic","female-mechanic","male-factory-worker","female-factory-worker","male-office-worker","female-office-worker","male-scientist","female-scientist","male-technologist","female-technologist","male-singer","female-singer","male-artist","female-artist","male-pilot","female-pilot","male-astronaut","female-astronaut","male-firefighter","female-firefighter","male-police-officer","female-police-officer","male-guard","female-guard","male-construction-worker","female-construction-worker","prince","princess","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","man_in_tuxedo","bride_with_veil","pregnant_woman","breast-feeding","angel","santa","mrs_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","man-getting-massage","woman-getting-massage","man-getting-haircut","woman-getting-haircut","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","man_with_probing_cane","woman_with_probing_cane","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","man-with-bunny-ears-partying","woman-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","man-surfing","woman-surfing","man-rowing-boat","woman-rowing-boat","man-swimming","woman-swimming","man-biking","woman-biking","man-mountain-biking","woman-mountain-biking","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","man-playing-water-polo","woman-playing-water-polo","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","couple","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","footprints","kiss","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","brown_heart","black_heart","white_heart","100","anger","boom","dizzy","sweat_drops","dash","hole","bomb","speech_balloon","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{"id":"nature","name":"Animals & Nature","emojis":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","lion_face","tiger","tiger2","leopard","horse","racehorse","unicorn_face","zebra_face","deer","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","hedgehog","bat","bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","flamingo","peacock","parrot","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","fish","tropical_fish","blowfish","shark","octopus","shell","snail","butterfly","bug","ant","bee","beetle","cricket","spider","spider_web","scorpion","mosquito","microbe","bouquet","cherry_blossom","white_flower","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","seedling","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves"]},{"id":"foods","name":"Food & Drink","emojis":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","kiwifruit","tomato","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","cucumber","leafy_green","broccoli","garlic","onion","mushroom","peanuts","chestnut","bread","croissant","baguette_bread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","cup_with_straw","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","amphora"]},{"id":"activity","name":"Activities","emojis":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","8ball","crystal_ball","nazar_amulet","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","yarn"]},{"id":"places","name":"Travel & Places","emojis":["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","busstop","motorway","railway_track","oil_drum","fuelpump","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"id":"objects","name":"Objects","emojis":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","purse","handbag","pouch","shopping_bags","school_satchel","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","crown","womans_hat","tophat","mortar_board","billed_cap","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","iphone","calling","phone","telephone_receiver","pager","fax","battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","currency_exchange","heavy_dollar_sign","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","gun","bow_and_arrow","shield","wrench","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","toolbox","magnet","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","stethoscope","door","bed","couch_and_lamp","chair","toilet","shower","bathtub","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","soap","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","funeral_urn","moyai"]},{"id":"symbols","name":"Symbols","emojis":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","vibration_mode","mobile_phone_off","female_sign","male_sign","medical_symbol","infinity","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","heavy_multiplication_x","x","negative_squared_cross_mark","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","tm","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"id":"flags","name":"Flags","emojis":["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","triangular_flag_on_post","us","waving_black_flag","waving_white_flag"]}],"emojis":{"100":{"a":"Hundred Points Symbol","b":"1F4AF","j":["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],"k":[26,5],"o":2},"1234":{"a":"Input Symbol for Numbers","b":"1F522","j":["numbers","blue-square"],"k":[28,5],"o":2},"grinning":{"a":"Grinning Face","b":"1F600","j":["face","smile","happy","joy",":D","grin"],"k":[30,35],"m":":D","o":2},"monkey_face":{"a":"Monkey Face","b":"1F435","j":["animal","nature","circus"],"k":[12,25],"l":[":o)"],"o":2},"grapes":{"a":"Grapes","b":"1F347","j":["fruit","food","wine"],"k":[6,31],"o":2},"eyeglasses":{"a":"Eyeglasses","b":"1F453","j":["fashion","accessories","eyesight","nerdy","dork","geek"],"k":[14,7],"o":2},"checkered_flag":{"a":"Chequered Flag","b":"1F3C1","j":["contest","finishline","race","gokart"],"k":[8,39],"o":2},"jack_o_lantern":{"a":"Jack-O-Lantern","b":"1F383","j":["halloween","light","pumpkin","creepy","fall"],"k":[7,34],"o":2},"wave":{"a":"Waving Hand Sign","b":"1F44B","j":["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],"k":[13,26],"o":2},"earth_africa":{"a":"Earth Globe Europe-Africa","b":"1F30D","j":["globe","world","international"],"k":[5,32],"o":2},"atm":{"a":"Automated Teller Machine","b":"1F3E7","j":["money","sales","cash","blue-square","payment","bank"],"k":[11,1],"o":2},"melon":{"a":"Melon","b":"1F348","j":["fruit","nature","food"],"k":[6,32],"o":2},"triangular_flag_on_post":{"a":"Triangular Flag on Post","b":"1F6A9","j":["mark","milestone","place"],"k":[35,0],"o":2},"put_litter_in_its_place":{"a":"Put Litter in Its Place Symbol","b":"1F6AE","j":["blue-square","sign","human","info"],"k":[35,5],"o":2},"christmas_tree":{"a":"Christmas Tree","b":"1F384","j":["festival","vacation","december","xmas","celebration"],"k":[7,35],"o":2},"monkey":{"a":"Monkey","b":"1F412","j":["animal","nature","banana","circus"],"k":[11,46],"o":2},"earth_americas":{"a":"Earth Globe Americas","b":"1F30E","j":["globe","world","USA","international"],"k":[5,33],"o":2},"dark_sunglasses":{"a":"Dark Sunglasses","b":"1F576-FE0F","c":"1F576","j":["face","cool","accessories"],"k":[29,33],"o":2},"raised_back_of_hand":{"a":"Raised Back of Hand","b":"1F91A","j":["fingers","raised","backhand"],"k":[37,43],"o":4},"smiley":{"a":"Smiling Face with Open Mouth","b":"1F603","j":["face","happy","joy","haha",":D",":)","smile","funny"],"k":[30,38],"l":["=)","=-)"],"m":":)","o":2},"earth_asia":{"a":"Earth Globe Asia-Australia","b":"1F30F","j":["globe","world","east","international"],"k":[5,34],"o":2},"crossed_flags":{"a":"Crossed Flags","b":"1F38C","j":["japanese","nation","country","border"],"k":[7,48],"o":2},"watermelon":{"a":"Watermelon","b":"1F349","j":["fruit","food","picnic","summer"],"k":[6,33],"o":2},"goggles":{"a":"Goggles","b":"1F97D","k":[42,15],"o":11},"raised_hand_with_fingers_splayed":{"a":"Raised Hand with Fingers Splayed","b":"1F590-FE0F","c":"1F590","j":["hand","fingers","palm"],"k":[29,48],"o":2},"smile":{"a":"Smiling Face with Open Mouth and Smiling Eyes","b":"1F604","j":["face","happy","joy","funny","haha","laugh","like",":D",":)"],"k":[30,39],"l":["C:","c:",":D",":-D"],"m":":)","o":2},"potable_water":{"a":"Potable Water Symbol","b":"1F6B0","j":["blue-square","liquid","restroom","cleaning","faucet"],"k":[35,7],"o":2},"fireworks":{"a":"Fireworks","b":"1F386","j":["photo","festival","carnival","congratulations"],"k":[7,42],"o":2},"gorilla":{"a":"Gorilla","b":"1F98D","j":["animal","nature","circus"],"k":[42,31],"o":4},"lab_coat":{"a":"Lab Coat","b":"1F97C","k":[42,14],"o":11},"tangerine":{"a":"Tangerine","b":"1F34A","j":["food","fruit","nature","orange"],"k":[6,34],"o":2},"wheelchair":{"a":"Wheelchair Symbol","b":"267F","j":["blue-square","disabled","a11y","accessibility"],"k":[53,40],"o":2},"waving_black_flag":{"a":"Waving Black Flag","b":"1F3F4","k":[11,17],"o":2},"orangutan":{"a":"Orangutan","b":"1F9A7","k":[42,55],"o":12},"sparkler":{"a":"Firework Sparkler","b":"1F387","j":["stars","night","shine"],"k":[7,43],"o":2},"globe_with_meridians":{"a":"Globe with Meridians","b":"1F310","j":["earth","international","world","internet","interweb","i18n"],"k":[5,35],"o":2},"grin":{"a":"Grinning Face with Smiling Eyes","b":"1F601","j":["face","happy","smile","joy","kawaii"],"k":[30,36],"o":2},"hand":{"a":"Raised Hand","b":"270B","k":[54,49],"n":["raised_hand"],"o":2},"firecracker":{"a":"Firecracker","b":"1F9E8","k":[51,27],"o":11},"lemon":{"a":"Lemon","b":"1F34B","j":["fruit","nature"],"k":[6,35],"o":2},"dog":{"a":"Dog Face","b":"1F436","j":["animal","friend","nature","woof","puppy","pet","faithful"],"k":[12,26],"o":2},"mens":{"a":"Mens Symbol","b":"1F6B9","j":["toilet","restroom","wc","blue-square","gender","male"],"k":[36,10],"o":2},"spock-hand":{"a":"Raised Hand with Part Between Middle and Ring Fingers","b":"1F596","k":[30,3],"o":2},"world_map":{"a":"World Map","b":"1F5FA-FE0F","c":"1F5FA","j":["location","direction"],"k":[30,29],"o":2},"laughing":{"a":"Smiling Face with Open Mouth and Tightly-Closed Eyes","b":"1F606","j":["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],"k":[30,41],"l":[":>",":->"],"n":["satisfied"],"o":2},"waving_white_flag":{"a":"Waving White Flag","b":"1F3F3-FE0F","c":"1F3F3","k":[11,12],"o":2},"safety_vest":{"a":"Safety Vest","b":"1F9BA","k":[43,54],"o":12},"sweat_smile":{"a":"Smiling Face with Open Mouth and Cold Sweat","b":"1F605","j":["face","hot","happy","laugh","sweat","smile","relief"],"k":[30,40],"o":2},"sparkles":{"a":"Sparkles","b":"2728","j":["stars","shine","shiny","cool","awesome","good","magic"],"k":[55,16],"o":2},"banana":{"a":"Banana","b":"1F34C","j":["fruit","food","monkey"],"k":[6,36],"o":2},"rainbow-flag":{"a":"Rainbow Flag","b":"1F3F3-FE0F-200D-1F308","c":"1F3F3-200D-1F308","k":[11,11],"o":4},"ok_hand":{"a":"Ok Hand Sign","b":"1F44C","j":["fingers","limbs","perfect","ok","okay"],"k":[13,32],"o":2},"japan":{"a":"Silhouette of Japan","b":"1F5FE","j":["nation","country","japanese","asia"],"k":[30,33],"o":2},"dog2":{"a":"Dog","b":"1F415","j":["animal","nature","friend","doge","pet","faithful"],"k":[11,50],"o":2},"womens":{"a":"Womens Symbol","b":"1F6BA","j":["purple-square","woman","female","toilet","loo","restroom","gender"],"k":[36,11],"o":2},"necktie":{"a":"Necktie","b":"1F454","j":["shirt","suitup","formal","fashion","cloth","business"],"k":[14,8],"o":2},"pirate_flag":{"a":"Pirate Flag","b":"1F3F4-200D-2620-FE0F","c":"1F3F4-200D-2620","k":[11,13],"o":11},"guide_dog":{"a":"Guide Dog","b":"1F9AE","k":[43,2],"o":12},"restroom":{"a":"Restroom","b":"1F6BB","j":["blue-square","toilet","refresh","wc","gender"],"k":[36,12],"o":2},"compass":{"a":"Compass","b":"1F9ED","k":[51,32],"o":11},"rolling_on_the_floor_laughing":{"a":"Rolling on the Floor Laughing","b":"1F923","k":[38,20],"o":4},"balloon":{"a":"Balloon","b":"1F388","j":["party","celebration","birthday","circus"],"k":[7,44],"o":2},"pinching_hand":{"a":"Pinching Hand","b":"1F90F","k":[37,17],"o":12},"pineapple":{"a":"Pineapple","b":"1F34D","j":["fruit","nature","food"],"k":[6,37],"o":2},"shirt":{"a":"T-Shirt","b":"1F455","k":[14,9],"n":["tshirt"],"o":2},"service_dog":{"a":"Service Dog","b":"1F415-200D-1F9BA","k":[11,49],"o":12},"baby_symbol":{"a":"Baby Symbol","b":"1F6BC","j":["orange-square","child"],"k":[36,13],"o":2},"joy":{"a":"Face with Tears of Joy","b":"1F602","j":["face","cry","tears","weep","happy","happytears","haha"],"k":[30,37],"o":2},"tada":{"a":"Party Popper","b":"1F389","j":["party","congratulations","birthday","magic","circus","celebration"],"k":[7,45],"o":2},"mango":{"a":"Mango","b":"1F96D","k":[42,3],"o":11},"v":{"a":"Victory Hand","b":"270C-FE0F","c":"270C","j":["fingers","ohyeah","hand","peace","victory","two"],"k":[54,55],"o":2},"snow_capped_mountain":{"a":"Snow Capped Mountain","b":"1F3D4-FE0F","c":"1F3D4","k":[10,39],"o":2},"flag-ac":{"a":"Ascension Island Flag","b":"1F1E6-1F1E8","k":[0,31],"o":2},"jeans":{"a":"Jeans","b":"1F456","j":["fashion","shopping"],"k":[14,10],"o":2},"poodle":{"a":"Poodle","b":"1F429","j":["dog","animal","101","nature","pet"],"k":[12,13],"o":2},"crossed_fingers":{"a":"Hand with Index and Middle Fingers Crossed","b":"1F91E","j":["good","lucky"],"k":[38,5],"n":["hand_with_index_and_middle_fingers_crossed"],"o":4},"flag-ad":{"a":"Andorra Flag","b":"1F1E6-1F1E9","k":[0,32],"o":2},"slightly_smiling_face":{"a":"Slightly Smiling Face","b":"1F642","j":["face","smile"],"k":[31,44],"l":[":)","(:",":-)"],"o":2},"apple":{"a":"Red Apple","b":"1F34E","j":["fruit","mac","school"],"k":[6,38],"o":2},"wc":{"a":"Water Closet","b":"1F6BE","j":["toilet","restroom","blue-square"],"k":[36,15],"o":2},"scarf":{"a":"Scarf","b":"1F9E3","k":[51,22],"o":5},"mountain":{"a":"Mountain","b":"26F0-FE0F","c":"26F0","j":["photo","nature","environment"],"k":[54,11],"o":2},"confetti_ball":{"a":"Confetti Ball","b":"1F38A","j":["festival","party","birthday","circus"],"k":[7,46],"o":2},"i_love_you_hand_sign":{"a":"I Love You Hand Sign","b":"1F91F","k":[38,11],"o":5},"wolf":{"a":"Wolf Face","b":"1F43A","j":["animal","nature","wild"],"k":[12,30],"o":2},"gloves":{"a":"Gloves","b":"1F9E4","k":[51,23],"o":5},"flag-ae":{"a":"United Arab Emirates Flag","b":"1F1E6-1F1EA","k":[0,33],"o":2},"upside_down_face":{"a":"Upside-Down Face","b":"1F643","j":["face","flipped","silly","smile"],"k":[31,45],"o":2},"green_apple":{"a":"Green Apple","b":"1F34F","j":["fruit","nature"],"k":[6,39],"o":2},"passport_control":{"a":"Passport Control","b":"1F6C2","j":["custom","blue-square"],"k":[36,24],"o":2},"volcano":{"a":"Volcano","b":"1F30B","j":["photo","nature","disaster"],"k":[5,30],"o":2},"tanabata_tree":{"a":"Tanabata Tree","b":"1F38B","j":["plant","nature","branch","summer"],"k":[7,47],"o":2},"customs":{"a":"Customs","b":"1F6C3","j":["passport","border","blue-square"],"k":[36,25],"o":2},"coat":{"a":"Coat","b":"1F9E5","k":[51,24],"o":5},"wink":{"a":"Winking Face","b":"1F609","j":["face","happy","mischievous","secret",";)","smile","eye"],"k":[30,44],"l":[";)",";-)"],"m":";)","o":2},"bamboo":{"a":"Pine Decoration","b":"1F38D","j":["plant","nature","vegetable","panda","pine_decoration"],"k":[7,49],"o":2},"flag-af":{"a":"Afghanistan Flag","b":"1F1E6-1F1EB","k":[0,34],"o":2},"fox_face":{"a":"Fox Face","b":"1F98A","j":["animal","nature","face"],"k":[42,28],"o":4},"pear":{"a":"Pear","b":"1F350","j":["fruit","nature","food"],"k":[6,40],"o":2},"mount_fuji":{"a":"Mount Fuji","b":"1F5FB","j":["photo","mountain","nature","japanese"],"k":[30,30],"o":2},"the_horns":{"a":"Sign of the Horns","b":"1F918","k":[37,31],"n":["sign_of_the_horns"],"o":2},"call_me_hand":{"a":"Call Me Hand","b":"1F919","j":["hands","gesture"],"k":[37,37],"o":4},"flag-ag":{"a":"Antigua & Barbuda Flag","b":"1F1E6-1F1EC","k":[0,35],"o":2},"raccoon":{"a":"Raccoon","b":"1F99D","k":[42,47],"o":11},"dolls":{"a":"Japanese Dolls","b":"1F38E","j":["japanese","toy","kimono"],"k":[7,50],"o":2},"blush":{"a":"Smiling Face with Smiling Eyes","b":"1F60A","j":["face","smile","happy","flushed","crush","embarrassed","shy","joy"],"k":[30,45],"m":":)","o":2},"peach":{"a":"Peach","b":"1F351","j":["fruit","nature","food"],"k":[6,41],"o":2},"baggage_claim":{"a":"Baggage Claim","b":"1F6C4","j":["blue-square","airport","transport"],"k":[36,26],"o":2},"socks":{"a":"Socks","b":"1F9E6","k":[51,25],"o":5},"camping":{"a":"Camping","b":"1F3D5-FE0F","c":"1F3D5","j":["photo","outdoors","tent"],"k":[10,40],"o":2},"dress":{"a":"Dress","b":"1F457","j":["clothes","fashion","shopping"],"k":[14,11],"o":2},"beach_with_umbrella":{"a":"Beach with Umbrella","b":"1F3D6-FE0F","c":"1F3D6","k":[10,41],"o":2},"cherries":{"a":"Cherries","b":"1F352","j":["food","fruit"],"k":[6,42],"o":2},"cat":{"a":"Cat Face","b":"1F431","j":["animal","meow","nature","pet","kitten"],"k":[12,21],"o":2},"point_left":{"a":"White Left Pointing Backhand Index","b":"1F448","j":["direction","fingers","hand","left"],"k":[13,8],"o":2},"left_luggage":{"a":"Left Luggage","b":"1F6C5","j":["blue-square","travel"],"k":[36,27],"o":2},"flag-ai":{"a":"Anguilla Flag","b":"1F1E6-1F1EE","k":[0,36],"o":2},"innocent":{"a":"Smiling Face with Halo","b":"1F607","j":["face","angel","heaven","halo"],"k":[30,42],"o":2},"flags":{"a":"Carp Streamer","b":"1F38F","j":["fish","japanese","koinobori","carp","banner"],"k":[7,51],"o":2},"warning":{"a":"Warning Sign","b":"26A0-FE0F","c":"26A0","j":["exclamation","wip","alert","error","problem","issue"],"k":[53,50],"o":2},"strawberry":{"a":"Strawberry","b":"1F353","j":["fruit","food","nature"],"k":[6,43],"o":2},"point_right":{"a":"White Right Pointing Backhand Index","b":"1F449","j":["fingers","hand","direction","right"],"k":[13,14],"o":2},"desert":{"a":"Desert","b":"1F3DC-FE0F","c":"1F3DC","j":["photo","warm","saharah"],"k":[10,47],"o":2},"kimono":{"a":"Kimono","b":"1F458","j":["dress","fashion","women","female","japanese"],"k":[14,12],"o":2},"flag-al":{"a":"Albania Flag","b":"1F1E6-1F1F1","k":[0,37],"o":2},"wind_chime":{"a":"Wind Chime","b":"1F390","j":["nature","ding","spring","bell"],"k":[7,52],"o":2},"smiling_face_with_3_hearts":{"a":"Smiling Face with Smiling Eyes and Three Hearts","b":"1F970","k":[42,6],"o":11},"cat2":{"a":"Cat","b":"1F408","j":["animal","meow","pet","cats"],"k":[11,36],"o":2},"rice_scene":{"a":"Moon Viewing Ceremony","b":"1F391","j":["photo","japan","asia","tsukimi"],"k":[7,53],"o":2},"heart_eyes":{"a":"Smiling Face with Heart-Shaped Eyes","b":"1F60D","j":["face","love","like","affection","valentines","infatuation","crush","heart"],"k":[30,48],"o":2},"sari":{"a":"Sari","b":"1F97B","k":[42,13],"o":12},"flag-am":{"a":"Armenia Flag","b":"1F1E6-1F1F2","k":[0,38],"o":2},"lion_face":{"a":"Lion Face","b":"1F981","k":[42,19],"o":2},"desert_island":{"a":"Desert Island","b":"1F3DD-FE0F","c":"1F3DD","j":["photo","tropical","mojito"],"k":[10,48],"o":2},"point_up_2":{"a":"White Up Pointing Backhand Index","b":"1F446","j":["fingers","hand","direction","up"],"k":[12,53],"o":2},"kiwifruit":{"a":"Kiwifruit","b":"1F95D","k":[41,44],"o":4},"children_crossing":{"a":"Children Crossing","b":"1F6B8","j":["school","warning","danger","sign","driving","yellow-diamond"],"k":[36,9],"o":2},"national_park":{"a":"National Park","b":"1F3DE-FE0F","c":"1F3DE","j":["photo","environment","nature"],"k":[10,49],"o":2},"no_entry":{"a":"No Entry","b":"26D4","j":["limit","security","privacy","bad","denied","stop","circle"],"k":[54,8],"o":2},"one-piece_swimsuit":{"a":"One-Piece Swimsuit","b":"1FA71","k":[51,52],"o":12},"tiger":{"a":"Tiger Face","b":"1F42F","j":["animal","cat","danger","wild","nature","roar"],"k":[12,19],"o":2},"red_envelope":{"a":"Red Gift Envelope","b":"1F9E7","k":[51,26],"o":11},"star-struck":{"a":"Grinning Face with Star Eyes","b":"1F929","k":[38,43],"n":["grinning_face_with_star_eyes"],"o":5},"middle_finger":{"a":"Reversed Hand with Middle Finger Extended","b":"1F595","k":[29,54],"n":["reversed_hand_with_middle_finger_extended"],"o":2},"flag-ao":{"a":"Angola Flag","b":"1F1E6-1F1F4","k":[0,39],"o":2},"tomato":{"a":"Tomato","b":"1F345","j":["fruit","vegetable","nature","food"],"k":[6,29],"o":2},"coconut":{"a":"Coconut","b":"1F965","k":[41,52],"o":5},"ribbon":{"a":"Ribbon","b":"1F380","j":["decoration","pink","girl","bowtie"],"k":[7,31],"o":2},"no_entry_sign":{"a":"No Entry Sign","b":"1F6AB","j":["forbid","stop","limit","denied","disallow","circle"],"k":[35,2],"o":2},"point_down":{"a":"White Down Pointing Backhand Index","b":"1F447","j":["fingers","hand","direction","down"],"k":[13,2],"o":2},"flag-aq":{"a":"Antarctica Flag","b":"1F1E6-1F1F6","k":[0,40],"o":2},"briefs":{"a":"Briefs","b":"1FA72","k":[51,53],"o":12},"kissing_heart":{"a":"Face Throwing a Kiss","b":"1F618","j":["face","love","like","affection","valentines","infatuation","kiss"],"k":[31,2],"l":[":*",":-*"],"o":2},"tiger2":{"a":"Tiger","b":"1F405","j":["animal","nature","roar"],"k":[11,33],"o":2},"stadium":{"a":"Stadium","b":"1F3DF-FE0F","c":"1F3DF","j":["photo","place","sports","concert","venue"],"k":[10,50],"o":2},"leopard":{"a":"Leopard","b":"1F406","j":["animal","nature"],"k":[11,34],"o":2},"no_bicycles":{"a":"No Bicycles","b":"1F6B3","j":["cyclist","prohibited","circle"],"k":[35,10],"o":2},"kissing":{"a":"Kissing Face","b":"1F617","j":["love","like","face","3","valentines","infatuation","kiss"],"k":[31,1],"o":2},"flag-ar":{"a":"Argentina Flag","b":"1F1E6-1F1F7","k":[0,41],"o":2},"avocado":{"a":"Avocado","b":"1F951","j":["fruit","food"],"k":[41,32],"o":4},"point_up":{"a":"White Up Pointing Index","b":"261D-FE0F","c":"261D","j":["hand","fingers","direction","up"],"k":[53,2],"o":2},"gift":{"a":"Wrapped Present","b":"1F381","j":["present","birthday","christmas","xmas"],"k":[7,32],"o":2},"classical_building":{"a":"Classical Building","b":"1F3DB-FE0F","c":"1F3DB","j":["art","culture","history"],"k":[10,46],"o":2},"shorts":{"a":"Shorts","b":"1FA73","k":[51,54],"o":12},"+1":{"a":"Thumbs Up Sign","b":"1F44D","j":["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],"k":[13,38],"n":["thumbsup"],"o":2},"horse":{"a":"Horse Face","b":"1F434","j":["animal","brown","nature"],"k":[12,24],"o":2},"bikini":{"a":"Bikini","b":"1F459","j":["swimming","female","woman","girl","fashion","beach","summer"],"k":[14,13],"o":2},"no_smoking":{"a":"No Smoking Symbol","b":"1F6AD","j":["cigarette","blue-square","smell","smoke"],"k":[35,4],"o":2},"eggplant":{"a":"Aubergine","b":"1F346","j":["vegetable","nature","food","aubergine"],"k":[6,30],"o":2},"flag-as":{"a":"American Samoa Flag","b":"1F1E6-1F1F8","k":[0,42],"o":2},"reminder_ribbon":{"a":"Reminder Ribbon","b":"1F397-FE0F","c":"1F397","j":["sports","cause","support","awareness"],"k":[8,0],"o":2},"building_construction":{"a":"Building Construction","b":"1F3D7-FE0F","c":"1F3D7","j":["wip","working","progress"],"k":[10,42],"o":2},"relaxed":{"a":"White Smiling Face","b":"263A-FE0F","c":"263A","j":["face","blush","massage","happiness"],"k":[53,17],"o":2},"kissing_closed_eyes":{"a":"Kissing Face with Closed Eyes","b":"1F61A","j":["face","love","like","affection","valentines","infatuation","kiss"],"k":[31,4],"o":2},"-1":{"a":"Thumbs Down Sign","b":"1F44E","j":["thumbsdown","no","dislike","hand"],"k":[13,44],"n":["thumbsdown"],"o":2},"admission_tickets":{"a":"Admission Tickets","b":"1F39F-FE0F","c":"1F39F","k":[8,5],"o":2},"flag-at":{"a":"Austria Flag","b":"1F1E6-1F1F9","k":[0,43],"o":2},"womans_clothes":{"a":"Womans Clothes","b":"1F45A","j":["fashion","shopping_bags","female"],"k":[14,14],"o":2},"do_not_litter":{"a":"Do Not Litter Symbol","b":"1F6AF","j":["trash","bin","garbage","circle"],"k":[35,6],"o":2},"potato":{"a":"Potato","b":"1F954","j":["food","tuber","vegatable","starch"],"k":[41,35],"o":4},"racehorse":{"a":"Horse","b":"1F40E","j":["animal","gamble","luck"],"k":[11,42],"o":2},"bricks":{"a":"Brick","b":"1F9F1","k":[51,36],"o":11},"fist":{"a":"Raised Fist","b":"270A","j":["fingers","hand","grasp"],"k":[54,43],"o":2},"house_buildings":{"a":"House Buildings","b":"1F3D8-FE0F","c":"1F3D8","k":[10,43],"o":2},"carrot":{"a":"Carrot","b":"1F955","j":["vegetable","food","orange"],"k":[41,36],"o":4},"ticket":{"a":"Ticket","b":"1F3AB","j":["event","concert","pass"],"k":[8,17],"o":2},"flag-au":{"a":"Australia Flag","b":"1F1E6-1F1FA","k":[0,44],"o":2},"non-potable_water":{"a":"Non-Potable Water Symbol","b":"1F6B1","j":["drink","faucet","tap","circle"],"k":[35,8],"o":2},"purse":{"a":"Purse","b":"1F45B","j":["fashion","accessories","money","sales","shopping"],"k":[14,15],"o":2},"unicorn_face":{"a":"Unicorn Face","b":"1F984","k":[42,22],"o":2},"kissing_smiling_eyes":{"a":"Kissing Face with Smiling Eyes","b":"1F619","j":["face","affection","valentines","infatuation","kiss"],"k":[31,3],"o":2},"facepunch":{"a":"Fisted Hand Sign","b":"1F44A","j":["angry","violence","fist","hit","attack","hand"],"k":[13,20],"n":["punch"],"o":2},"medal":{"a":"Medal","b":"1F396-FE0F","c":"1F396","k":[7,56],"o":2},"zebra_face":{"a":"Zebra Face","b":"1F993","k":[42,37],"o":5},"handbag":{"a":"Handbag","b":"1F45C","j":["fashion","accessory","accessories","shopping"],"k":[14,16],"o":2},"derelict_house_building":{"a":"Derelict House Building","b":"1F3DA-FE0F","c":"1F3DA","k":[10,45],"o":2},"yum":{"a":"Face Savouring Delicious Food","b":"1F60B","j":["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],"k":[30,46],"o":2},"corn":{"a":"Ear of Maize","b":"1F33D","j":["food","vegetable","plant"],"k":[6,21],"o":2},"flag-aw":{"a":"Aruba Flag","b":"1F1E6-1F1FC","k":[0,45],"o":2},"no_pedestrians":{"a":"No Pedestrians","b":"1F6B7","j":["rules","crossing","walking","circle"],"k":[36,8],"o":2},"house":{"a":"House Building","b":"1F3E0","j":["building","home"],"k":[10,51],"o":2},"hot_pepper":{"a":"Hot Pepper","b":"1F336-FE0F","c":"1F336","j":["food","spicy","chilli","chili"],"k":[6,14],"o":2},"flag-ax":{"a":"\xc5land Islands Flag","b":"1F1E6-1F1FD","k":[0,46],"o":2},"trophy":{"a":"Trophy","b":"1F3C6","j":["win","award","contest","place","ftw","ceremony"],"k":[9,26],"o":2},"deer":{"a":"Deer","b":"1F98C","j":["animal","nature","horns","venison"],"k":[42,30],"o":4},"left-facing_fist":{"a":"Left-Facing Fist","b":"1F91B","k":[37,49],"o":4},"stuck_out_tongue":{"a":"Face with Stuck-out Tongue","b":"1F61B","j":["face","prank","childish","playful","mischievous","smile","tongue"],"k":[31,5],"l":[":p",":-p",":P",":-P",":b",":-b"],"m":":p","o":2},"pouch":{"a":"Pouch","b":"1F45D","j":["bag","accessories","shopping"],"k":[14,17],"o":2},"no_mobile_phones":{"a":"No Mobile Phones","b":"1F4F5","j":["iphone","mute","circle"],"k":[27,18],"o":2},"stuck_out_tongue_winking_eye":{"a":"Face with Stuck-out Tongue and Winking Eye","b":"1F61C","j":["face","prank","childish","playful","mischievous","smile","wink","tongue"],"k":[31,6],"l":[";p",";-p",";b",";-b",";P",";-P"],"m":";p","o":2},"sports_medal":{"a":"Sports Medal","b":"1F3C5","k":[9,25],"o":2},"cucumber":{"a":"Cucumber","b":"1F952","j":["fruit","food","pickle"],"k":[41,33],"o":4},"cow":{"a":"Cow Face","b":"1F42E","j":["beef","ox","animal","nature","moo","milk"],"k":[12,18],"o":2},"underage":{"a":"No One Under Eighteen Symbol","b":"1F51E","j":["18","drink","pub","night","minor","circle"],"k":[28,1],"o":2},"flag-az":{"a":"Azerbaijan Flag","b":"1F1E6-1F1FF","k":[0,47],"o":2},"shopping_bags":{"a":"Shopping Bags","b":"1F6CD-FE0F","c":"1F6CD","k":[36,35],"o":2},"right-facing_fist":{"a":"Right-Facing Fist","b":"1F91C","k":[37,55],"o":4},"house_with_garden":{"a":"House with Garden","b":"1F3E1","j":["home","plant","nature"],"k":[10,52],"o":2},"clap":{"a":"Clapping Hands Sign","b":"1F44F","j":["hands","praise","applause","congrats","yay"],"k":[13,50],"o":2},"leafy_green":{"a":"Leafy Green","b":"1F96C","k":[42,2],"o":11},"office":{"a":"Office Building","b":"1F3E2","j":["building","bureau","work"],"k":[10,53],"o":2},"flag-ba":{"a":"Bosnia & Herzegovina Flag","b":"1F1E7-1F1E6","k":[0,48],"o":2},"zany_face":{"a":"Grinning Face with One Large and One Small Eye","b":"1F92A","k":[38,44],"n":["grinning_face_with_one_large_and_one_small_eye"],"o":5},"first_place_medal":{"a":"First Place Medal","b":"1F947","k":[41,22],"o":4},"ox":{"a":"Ox","b":"1F402","j":["animal","cow","beef"],"k":[11,30],"o":2},"school_satchel":{"a":"School Satchel","b":"1F392","j":["student","education","bag","backpack"],"k":[7,54],"o":2},"radioactive_sign":{"a":"Radioactive Sign","b":"2622-FE0F","c":"2622","k":[53,9],"o":2},"second_place_medal":{"a":"Second Place Medal","b":"1F948","k":[41,23],"o":4},"stuck_out_tongue_closed_eyes":{"a":"Face with Stuck-out Tongue and Tightly-Closed Eyes","b":"1F61D","j":["face","prank","playful","mischievous","smile","tongue"],"k":[31,7],"o":2},"broccoli":{"a":"Broccoli","b":"1F966","k":[41,53],"o":5},"biohazard_sign":{"a":"Biohazard Sign","b":"2623-FE0F","c":"2623","k":[53,10],"o":2},"mans_shoe":{"a":"Mans Shoe","b":"1F45E","j":["fashion","male"],"k":[14,18],"n":["shoe"],"o":2},"raised_hands":{"a":"Person Raising Both Hands in Celebration","b":"1F64C","j":["gesture","hooray","yea","celebration","hands"],"k":[33,8],"o":2},"post_office":{"a":"Japanese Post Office","b":"1F3E3","j":["building","envelope","communication"],"k":[10,54],"o":2},"flag-bb":{"a":"Barbados Flag","b":"1F1E7-1F1E7","k":[0,49],"o":2},"water_buffalo":{"a":"Water Buffalo","b":"1F403","j":["animal","nature","ox","cow"],"k":[11,31],"o":2},"third_place_medal":{"a":"Third Place Medal","b":"1F949","k":[41,24],"o":4},"european_post_office":{"a":"European Post Office","b":"1F3E4","j":["building","email"],"k":[10,55],"o":2},"athletic_shoe":{"a":"Athletic Shoe","b":"1F45F","j":["shoes","sports","sneakers"],"k":[14,19],"o":2},"arrow_up":{"a":"Upwards Black Arrow","b":"2B06-FE0F","c":"2B06","j":["blue-square","continue","top","direction"],"k":[55,38],"o":2},"cow2":{"a":"Cow","b":"1F404","j":["beef","ox","animal","nature","moo","milk"],"k":[11,32],"o":2},"open_hands":{"a":"Open Hands Sign","b":"1F450","j":["fingers","butterfly","hands","open"],"k":[13,56],"o":2},"garlic":{"a":"Garlic","b":"1F9C4","k":[44,12],"o":12},"money_mouth_face":{"a":"Money-Mouth Face","b":"1F911","j":["face","rich","dollar","money"],"k":[37,24],"o":2},"flag-bd":{"a":"Bangladesh Flag","b":"1F1E7-1F1E9","k":[0,50],"o":2},"soccer":{"a":"Soccer Ball","b":"26BD","j":["sports","football"],"k":[53,56],"o":2},"hugging_face":{"a":"Hugging Face","b":"1F917","k":[37,30],"o":2},"onion":{"a":"Onion","b":"1F9C5","k":[44,13],"o":12},"arrow_upper_right":{"a":"North East Arrow","b":"2197-FE0F","c":"2197","j":["blue-square","point","direction","diagonal","northeast"],"k":[52,17],"o":2},"palms_up_together":{"a":"Palms Up Together","b":"1F932","k":[39,5],"o":5},"pig":{"a":"Pig Face","b":"1F437","j":["animal","oink","nature"],"k":[12,27],"o":2},"hospital":{"a":"Hospital","b":"1F3E5","j":["building","health","surgery","doctor"],"k":[10,56],"o":2},"hiking_boot":{"a":"Hiking Boot","b":"1F97E","k":[42,16],"o":11},"flag-be":{"a":"Belgium Flag","b":"1F1E7-1F1EA","k":[0,51],"o":2},"flag-bf":{"a":"Burkina Faso Flag","b":"1F1E7-1F1EB","k":[0,52],"o":2},"mushroom":{"a":"Mushroom","b":"1F344","j":["plant","vegetable"],"k":[6,28],"o":2},"pig2":{"a":"Pig","b":"1F416","j":["animal","nature"],"k":[11,51],"o":2},"baseball":{"a":"Baseball","b":"26BE","j":["sports","balls"],"k":[54,0],"o":2},"face_with_hand_over_mouth":{"a":"Smiling Face with Smiling Eyes and Hand Covering Mouth","b":"1F92D","k":[38,47],"n":["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],"o":5},"handshake":{"a":"Handshake","b":"1F91D","j":["agreement","shake"],"k":[38,4],"o":4},"womans_flat_shoe":{"a":"Flat Shoe","b":"1F97F","k":[42,17],"o":11},"bank":{"a":"Bank","b":"1F3E6","j":["building","money","sales","cash","business","enterprise"],"k":[11,0],"o":2},"arrow_right":{"a":"Black Rightwards Arrow","b":"27A1-FE0F","c":"27A1","j":["blue-square","next"],"k":[55,32],"o":2},"peanuts":{"a":"Peanuts","b":"1F95C","j":["food","nut"],"k":[41,43],"o":4},"shushing_face":{"a":"Face with Finger Covering Closed Lips","b":"1F92B","k":[38,45],"n":["face_with_finger_covering_closed_lips"],"o":5},"pray":{"a":"Person with Folded Hands","b":"1F64F","j":["please","hope","wish","namaste","highfive"],"k":[33,50],"o":2},"softball":{"a":"Softball","b":"1F94E","k":[41,29],"o":11},"high_heel":{"a":"High-Heeled Shoe","b":"1F460","j":["fashion","shoes","female","pumps","stiletto"],"k":[14,20],"o":2},"flag-bg":{"a":"Bulgaria Flag","b":"1F1E7-1F1EC","k":[0,53],"o":2},"arrow_lower_right":{"a":"South East Arrow","b":"2198-FE0F","c":"2198","j":["blue-square","direction","diagonal","southeast"],"k":[52,18],"o":2},"hotel":{"a":"Hotel","b":"1F3E8","j":["building","accomodation","checkin"],"k":[11,2],"o":2},"boar":{"a":"Boar","b":"1F417","j":["animal","nature"],"k":[11,52],"o":2},"sandal":{"a":"Womans Sandal","b":"1F461","j":["shoes","fashion","flip flops"],"k":[14,21],"o":2},"flag-bh":{"a":"Bahrain Flag","b":"1F1E7-1F1ED","k":[0,54],"o":2},"arrow_down":{"a":"Downwards Black Arrow","b":"2B07-FE0F","c":"2B07","j":["blue-square","direction","bottom"],"k":[55,39],"o":2},"thinking_face":{"a":"Thinking Face","b":"1F914","k":[37,27],"o":2},"writing_hand":{"a":"Writing Hand","b":"270D-FE0F","c":"270D","j":["lower_left_ballpoint_pen","stationery","write","compose"],"k":[55,4],"o":2},"chestnut":{"a":"Chestnut","b":"1F330","j":["food","squirrel"],"k":[6,8],"o":2},"basketball":{"a":"Basketball and Hoop","b":"1F3C0","j":["sports","balls","NBA"],"k":[8,38],"o":2},"pig_nose":{"a":"Pig Nose","b":"1F43D","j":["animal","oink"],"k":[12,33],"o":2},"love_hotel":{"a":"Love Hotel","b":"1F3E9","j":["like","affection","dating"],"k":[11,3],"o":2},"nail_care":{"a":"Nail Polish","b":"1F485","j":["beauty","manicure","finger","fashion","nail"],"k":[24,33],"o":2},"volleyball":{"a":"Volleyball","b":"1F3D0","j":["sports","balls"],"k":[10,35],"o":2},"flag-bi":{"a":"Burundi Flag","b":"1F1E7-1F1EE","k":[0,55],"o":2},"arrow_lower_left":{"a":"South West Arrow","b":"2199-FE0F","c":"2199","j":["blue-square","direction","diagonal","southwest"],"k":[52,19],"o":2},"ram":{"a":"Ram","b":"1F40F","j":["animal","sheep","nature"],"k":[11,43],"o":2},"ballet_shoes":{"a":"Ballet Shoes","b":"1FA70","k":[51,51],"o":12},"zipper_mouth_face":{"a":"Zipper-Mouth Face","b":"1F910","j":["face","sealed","zipper","secret"],"k":[37,23],"o":2},"bread":{"a":"Bread","b":"1F35E","j":["food","wheat","breakfast","toast"],"k":[6,54],"o":2},"convenience_store":{"a":"Convenience Store","b":"1F3EA","j":["building","shopping","groceries"],"k":[11,4],"o":2},"boot":{"a":"Womans Boots","b":"1F462","j":["shoes","fashion"],"k":[14,22],"o":2},"sheep":{"a":"Sheep","b":"1F411","j":["animal","nature","wool","shipit"],"k":[11,45],"o":2},"face_with_raised_eyebrow":{"a":"Face with One Eyebrow Raised","b":"1F928","k":[38,42],"n":["face_with_one_eyebrow_raised"],"o":5},"flag-bj":{"a":"Benin Flag","b":"1F1E7-1F1EF","k":[0,56],"o":2},"arrow_left":{"a":"Leftwards Black Arrow","b":"2B05-FE0F","c":"2B05","j":["blue-square","previous","back"],"k":[55,37],"o":2},"selfie":{"a":"Selfie","b":"1F933","j":["camera","phone"],"k":[39,11],"o":4},"croissant":{"a":"Croissant","b":"1F950","j":["food","bread","french"],"k":[41,31],"o":4},"school":{"a":"School","b":"1F3EB","j":["building","student","education","learn","teach"],"k":[11,5],"o":2},"football":{"a":"American Football","b":"1F3C8","j":["sports","balls","NFL"],"k":[9,33],"o":2},"goat":{"a":"Goat","b":"1F410","j":["animal","nature"],"k":[11,44],"o":2},"department_store":{"a":"Department Store","b":"1F3EC","j":["building","shopping","mall"],"k":[11,6],"o":2},"flag-bl":{"a":"St. Barth\xe9lemy Flag","b":"1F1E7-1F1F1","k":[1,0],"o":2},"crown":{"a":"Crown","b":"1F451","j":["king","kod","leader","royalty","lord"],"k":[14,5],"o":2},"arrow_upper_left":{"a":"North West Arrow","b":"2196-FE0F","c":"2196","j":["blue-square","point","direction","diagonal","northwest"],"k":[52,16],"o":2},"neutral_face":{"a":"Neutral Face","b":"1F610","j":["indifference","meh",":|","neutral"],"k":[30,51],"l":[":|",":-|"],"o":2},"rugby_football":{"a":"Rugby Football","b":"1F3C9","j":["sports","team"],"k":[9,34],"o":2},"muscle":{"a":"Flexed Biceps","b":"1F4AA","j":["arm","flex","hand","summer","strong","biceps"],"k":[25,52],"o":2},"baguette_bread":{"a":"Baguette Bread","b":"1F956","j":["food","bread","french"],"k":[41,37],"o":4},"expressionless":{"a":"Expressionless Face","b":"1F611","j":["face","indifferent","-_-","meh","deadpan"],"k":[30,52],"o":2},"womans_hat":{"a":"Womans Hat","b":"1F452","j":["fashion","accessories","female","lady","spring"],"k":[14,6],"o":2},"pretzel":{"a":"Pretzel","b":"1F968","k":[41,55],"o":5},"mechanical_arm":{"a":"Mechanical Arm","b":"1F9BE","k":[44,6],"o":12},"arrow_up_down":{"a":"Up Down Arrow","b":"2195-FE0F","c":"2195","j":["blue-square","direction","way","vertical"],"k":[52,15],"o":2},"dromedary_camel":{"a":"Dromedary Camel","b":"1F42A","j":["animal","hot","desert","hump"],"k":[12,14],"o":2},"tennis":{"a":"Tennis Racquet and Ball","b":"1F3BE","j":["sports","balls","green"],"k":[8,36],"o":2},"flag-bm":{"a":"Bermuda Flag","b":"1F1E7-1F1F2","k":[1,1],"o":2},"factory":{"a":"Factory","b":"1F3ED","j":["building","industry","pollution","smoke"],"k":[11,7],"o":2},"japanese_castle":{"a":"Japanese Castle","b":"1F3EF","j":["photo","building"],"k":[11,9],"o":2},"no_mouth":{"a":"Face Without Mouth","b":"1F636","j":["face","hellokitty"],"k":[31,32],"o":2},"mechanical_leg":{"a":"Mechanical Leg","b":"1F9BF","k":[44,7],"o":12},"bagel":{"a":"Bagel","b":"1F96F","k":[42,5],"o":11},"camel":{"a":"Bactrian Camel","b":"1F42B","j":["animal","nature","hot","desert","hump"],"k":[12,15],"o":2},"tophat":{"a":"Top Hat","b":"1F3A9","j":["magic","gentleman","classy","circus"],"k":[8,15],"o":2},"left_right_arrow":{"a":"Left Right Arrow","b":"2194-FE0F","c":"2194","j":["shape","direction","horizontal","sideways"],"k":[52,14],"o":2},"flag-bn":{"a":"Brunei Flag","b":"1F1E7-1F1F3","k":[1,2],"o":2},"flying_disc":{"a":"Flying Disc","b":"1F94F","k":[41,30],"o":11},"smirk":{"a":"Smirking Face","b":"1F60F","j":["face","smile","mean","prank","smug","sarcasm"],"k":[30,50],"o":2},"mortar_board":{"a":"Graduation Cap","b":"1F393","j":["school","college","degree","university","graduation","cap","hat","legal","learn","education"],"k":[7,55],"o":2},"european_castle":{"a":"European Castle","b":"1F3F0","j":["building","royalty","history"],"k":[11,10],"o":2},"leg":{"a":"Leg","b":"1F9B5","k":[43,5],"o":11},"pancakes":{"a":"Pancakes","b":"1F95E","j":["food","breakfast","flapjacks","hotcakes"],"k":[41,45],"o":4},"leftwards_arrow_with_hook":{"a":"Leftwards Arrow with Hook","b":"21A9-FE0F","c":"21A9","j":["back","return","blue-square","undo","enter"],"k":[52,20],"o":2},"flag-bo":{"a":"Bolivia Flag","b":"1F1E7-1F1F4","k":[1,3],"o":2},"bowling":{"a":"Bowling","b":"1F3B3","j":["sports","fun","play"],"k":[8,25],"o":2},"llama":{"a":"Llama","b":"1F999","k":[42,43],"o":11},"arrow_right_hook":{"a":"Rightwards Arrow with Hook","b":"21AA-FE0F","c":"21AA","j":["blue-square","return","rotate","direction"],"k":[52,21],"o":2},"wedding":{"a":"Wedding","b":"1F492","j":["love","like","affection","couple","marriage","bride","groom"],"k":[25,28],"o":2},"flag-bq":{"a":"Caribbean Netherlands Flag","b":"1F1E7-1F1F6","k":[1,4],"o":2},"foot":{"a":"Foot","b":"1F9B6","k":[43,11],"o":11},"giraffe_face":{"a":"Giraffe Face","b":"1F992","k":[42,36],"o":5},"unamused":{"a":"Unamused Face","b":"1F612","j":["indifference","bored","straight face","serious","sarcasm"],"k":[30,53],"m":":(","o":2},"billed_cap":{"a":"Billed Cap","b":"1F9E2","k":[51,21],"o":5},"waffle":{"a":"Waffle","b":"1F9C7","k":[44,15],"o":12},"cricket_bat_and_ball":{"a":"Cricket Bat and Ball","b":"1F3CF","k":[10,34],"o":2},"helmet_with_white_cross":{"a":"Helmet with White Cross","b":"26D1-FE0F","c":"26D1","k":[54,6],"o":2},"ear":{"a":"Ear","b":"1F442","j":["face","hear","sound","listen"],"k":[12,39],"o":2},"elephant":{"a":"Elephant","b":"1F418","j":["animal","nature","nose","th","circus"],"k":[11,53],"o":2},"cheese_wedge":{"a":"Cheese Wedge","b":"1F9C0","k":[44,8],"o":2},"tokyo_tower":{"a":"Tokyo Tower","b":"1F5FC","j":["photo","japanese"],"k":[30,31],"o":2},"arrow_heading_up":{"a":"Arrow Pointing Rightwards Then Curving Upwards","b":"2934-FE0F","c":"2934","j":["blue-square","direction","top"],"k":[55,35],"o":2},"field_hockey_stick_and_ball":{"a":"Field Hockey Stick and Ball","b":"1F3D1","k":[10,36],"o":2},"flag-br":{"a":"Brazil Flag","b":"1F1E7-1F1F7","k":[1,5],"o":2},"face_with_rolling_eyes":{"a":"Face with Rolling Eyes","b":"1F644","k":[31,46],"o":2},"ear_with_hearing_aid":{"a":"Ear with Hearing Aid","b":"1F9BB","k":[43,55],"o":12},"arrow_heading_down":{"a":"Arrow Pointing Rightwards Then Curving Downwards","b":"2935-FE0F","c":"2935","j":["blue-square","direction","bottom"],"k":[55,36],"o":2},"ice_hockey_stick_and_puck":{"a":"Ice Hockey Stick and Puck","b":"1F3D2","k":[10,37],"o":2},"meat_on_bone":{"a":"Meat on Bone","b":"1F356","j":["good","food","drumstick"],"k":[6,46],"o":2},"prayer_beads":{"a":"Prayer Beads","b":"1F4FF","j":["dhikr","religious"],"k":[27,27],"o":2},"statue_of_liberty":{"a":"Statue of Liberty","b":"1F5FD","j":["american","newyork"],"k":[30,32],"o":2},"grimacing":{"a":"Grimacing Face","b":"1F62C","j":["face","grimace","teeth"],"k":[31,22],"o":2},"flag-bs":{"a":"Bahamas Flag","b":"1F1E7-1F1F8","k":[1,6],"o":2},"rhinoceros":{"a":"Rhinoceros","b":"1F98F","j":["animal","nature","horn"],"k":[42,33],"o":4},"lacrosse":{"a":"Lacrosse Stick and Ball","b":"1F94D","k":[41,28],"o":11},"poultry_leg":{"a":"Poultry Leg","b":"1F357","j":["food","meat","drumstick","bird","chicken","turkey"],"k":[6,47],"o":2},"hippopotamus":{"a":"Hippopotamus","b":"1F99B","k":[42,45],"o":11},"nose":{"a":"Nose","b":"1F443","j":["smell","sniff"],"k":[12,45],"o":2},"arrows_clockwise":{"a":"Clockwise Downwards and Upwards Open Circle Arrows","b":"1F503","j":["sync","cycle","round","repeat"],"k":[27,31],"o":2},"flag-bt":{"a":"Bhutan Flag","b":"1F1E7-1F1F9","k":[1,7],"o":2},"church":{"a":"Church","b":"26EA","j":["building","religion","christ"],"k":[54,10],"o":2},"lipstick":{"a":"Lipstick","b":"1F484","j":["female","girl","fashion","woman"],"k":[24,32],"o":2},"lying_face":{"a":"Lying Face","b":"1F925","j":["face","lie","pinocchio"],"k":[38,22],"o":4},"arrows_counterclockwise":{"a":"Anticlockwise Downwards and Upwards Open Circle Arrows","b":"1F504","j":["blue-square","sync","cycle"],"k":[27,32],"o":2},"flag-bv":{"a":"Bouvet Island Flag","b":"1F1E7-1F1FB","k":[1,8],"o":2},"cut_of_meat":{"a":"Cut of Meat","b":"1F969","k":[41,56],"o":5},"mosque":{"a":"Mosque","b":"1F54C","j":["islam","worship","minaret"],"k":[28,36],"o":2},"ring":{"a":"Ring","b":"1F48D","j":["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],"k":[25,23],"o":2},"brain":{"a":"Brain","b":"1F9E0","k":[51,19],"o":5},"table_tennis_paddle_and_ball":{"a":"Table Tennis Paddle and Ball","b":"1F3D3","k":[10,38],"o":2},"relieved":{"a":"Relieved Face","b":"1F60C","j":["face","relaxed","phew","massage","happiness"],"k":[30,47],"o":2},"mouse":{"a":"Mouse Face","b":"1F42D","j":["animal","nature","cheese_wedge","rodent"],"k":[12,17],"o":2},"hindu_temple":{"a":"Hindu Temple","b":"1F6D5","k":[36,41],"o":12},"back":{"a":"Back with Leftwards Arrow Above","b":"1F519","j":["arrow","words","return"],"k":[27,53],"o":2},"gem":{"a":"Gem Stone","b":"1F48E","j":["blue","ruby","diamond","jewelry"],"k":[25,24],"o":2},"pensive":{"a":"Pensive Face","b":"1F614","j":["face","sad","depressed","upset"],"k":[30,55],"o":2},"flag-bw":{"a":"Botswana Flag","b":"1F1E7-1F1FC","k":[1,9],"o":2},"mouse2":{"a":"Mouse","b":"1F401","j":["animal","nature","rodent"],"k":[11,29],"o":2},"bacon":{"a":"Bacon","b":"1F953","j":["food","breakfast","pork","pig","meat"],"k":[41,34],"o":4},"tooth":{"a":"Tooth","b":"1F9B7","k":[43,17],"o":11},"badminton_racquet_and_shuttlecock":{"a":"Badminton Racquet and Shuttlecock","b":"1F3F8","k":[11,20],"o":2},"rat":{"a":"Rat","b":"1F400","j":["animal","mouse","rodent"],"k":[11,28],"o":2},"synagogue":{"a":"Synagogue","b":"1F54D","j":["judaism","worship","temple","jewish"],"k":[28,37],"o":2},"end":{"a":"End with Leftwards Arrow Above","b":"1F51A","j":["words","arrow"],"k":[27,54],"o":2},"bone":{"a":"Bone","b":"1F9B4","k":[43,4],"o":11},"boxing_glove":{"a":"Boxing Glove","b":"1F94A","j":["sports","fighting"],"k":[41,25],"o":4},"mute":{"a":"Speaker with Cancellation Stroke","b":"1F507","j":["sound","volume","silence","quiet"],"k":[27,35],"o":2},"hamburger":{"a":"Hamburger","b":"1F354","j":["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],"k":[6,44],"o":2},"flag-by":{"a":"Belarus Flag","b":"1F1E7-1F1FE","k":[1,10],"o":2},"sleepy":{"a":"Sleepy Face","b":"1F62A","j":["face","tired","rest","nap"],"k":[31,20],"o":2},"on":{"a":"On with Exclamation Mark with Left Right Arrow Above","b":"1F51B","j":["arrow","words"],"k":[27,55],"o":2},"martial_arts_uniform":{"a":"Martial Arts Uniform","b":"1F94B","j":["judo","karate","taekwondo"],"k":[41,26],"o":4},"speaker":{"a":"Speaker","b":"1F508","j":["sound","volume","silence","broadcast"],"k":[27,36],"o":2},"drooling_face":{"a":"Drooling Face","b":"1F924","j":["face"],"k":[38,21],"o":4},"eyes":{"a":"Eyes","b":"1F440","j":["look","watch","stalk","peek","see"],"k":[12,36],"o":2},"flag-bz":{"a":"Belize Flag","b":"1F1E7-1F1FF","k":[1,11],"o":2},"hamster":{"a":"Hamster Face","b":"1F439","j":["animal","nature"],"k":[12,29],"o":2},"shinto_shrine":{"a":"Shinto Shrine","b":"26E9-FE0F","c":"26E9","j":["temple","japan","kyoto"],"k":[54,9],"o":2},"fries":{"a":"French Fries","b":"1F35F","j":["chips","snack","fast food"],"k":[6,55],"o":2},"goal_net":{"a":"Goal Net","b":"1F945","j":["sports"],"k":[41,21],"o":4},"kaaba":{"a":"Kaaba","b":"1F54B","j":["mecca","mosque","islam"],"k":[28,35],"o":2},"soon":{"a":"Soon with Rightwards Arrow Above","b":"1F51C","j":["arrow","words"],"k":[27,56],"o":2},"flag-ca":{"a":"Canada Flag","b":"1F1E8-1F1E6","k":[1,12],"o":2},"rabbit":{"a":"Rabbit Face","b":"1F430","j":["animal","nature","pet","spring","magic","bunny"],"k":[12,20],"o":2},"eye":{"a":"Eye","b":"1F441-FE0F","c":"1F441","j":["face","look","see","watch","stare"],"k":[12,38],"o":2},"sleeping":{"a":"Sleeping Face","b":"1F634","j":["face","tired","sleepy","night","zzz"],"k":[31,30],"o":2},"pizza":{"a":"Slice of Pizza","b":"1F355","j":["food","party"],"k":[6,45],"o":2},"sound":{"a":"Speaker with One Sound Wave","b":"1F509","j":["volume","speaker","broadcast"],"k":[27,37],"o":2},"rabbit2":{"a":"Rabbit","b":"1F407","j":["animal","nature","pet","magic","spring"],"k":[11,35],"o":2},"fountain":{"a":"Fountain","b":"26F2","j":["photo","summer","water","fresh"],"k":[54,13],"o":2},"golf":{"a":"Flag in Hole","b":"26F3","j":["sports","business","flag","hole","summer"],"k":[54,14],"o":2},"top":{"a":"Top with Upwards Arrow Above","b":"1F51D","j":["words","blue-square"],"k":[28,0],"o":2},"mask":{"a":"Face with Medical Mask","b":"1F637","j":["face","sick","ill","disease"],"k":[31,33],"o":2},"flag-cc":{"a":"Cocos (keeling) Islands Flag","b":"1F1E8-1F1E8","k":[1,13],"o":2},"hotdog":{"a":"Hot Dog","b":"1F32D","j":["food","frankfurter"],"k":[6,5],"o":2},"loud_sound":{"a":"Speaker with Three Sound Waves","b":"1F50A","j":["volume","noise","noisy","speaker","broadcast"],"k":[27,38],"o":2},"tongue":{"a":"Tongue","b":"1F445","j":["mouth","playful"],"k":[12,52],"o":2},"place_of_worship":{"a":"Place of Worship","b":"1F6D0","j":["religion","church","temple","prayer"],"k":[36,38],"o":2},"ice_skate":{"a":"Ice Skate","b":"26F8-FE0F","c":"26F8","j":["sports"],"k":[54,18],"o":2},"sandwich":{"a":"Sandwich","b":"1F96A","k":[42,0],"o":5},"chipmunk":{"a":"Chipmunk","b":"1F43F-FE0F","c":"1F43F","j":["animal","nature","rodent","squirrel"],"k":[12,35],"o":2},"loudspeaker":{"a":"Public Address Loudspeaker","b":"1F4E2","j":["volume","sound"],"k":[26,56],"o":2},"lips":{"a":"Mouth","b":"1F444","j":["mouth","kiss"],"k":[12,51],"o":2},"flag-cd":{"a":"Congo - Kinshasa Flag","b":"1F1E8-1F1E9","k":[1,14],"o":2},"tent":{"a":"Tent","b":"26FA","j":["photo","camping","outdoors"],"k":[54,37],"o":2},"face_with_thermometer":{"a":"Face with Thermometer","b":"1F912","j":["sick","temperature","thermometer","cold","fever"],"k":[37,25],"o":2},"taco":{"a":"Taco","b":"1F32E","j":["food","mexican"],"k":[6,6],"o":2},"foggy":{"a":"Foggy","b":"1F301","j":["photo","mountain"],"k":[5,20],"o":2},"flag-cf":{"a":"Central African Republic Flag","b":"1F1E8-1F1EB","k":[1,15],"o":2},"baby":{"a":"Baby","b":"1F476","j":["child","boy","girl","toddler"],"k":[23,4],"o":2},"atom_symbol":{"a":"Atom Symbol","b":"269B-FE0F","c":"269B","j":["science","physics","chemistry"],"k":[53,48],"o":2},"fishing_pole_and_fish":{"a":"Fishing Pole and Fish","b":"1F3A3","j":["food","hobby","summer"],"k":[8,9],"o":2},"hedgehog":{"a":"Hedgehog","b":"1F994","k":[42,38],"o":5},"face_with_head_bandage":{"a":"Face with Head-Bandage","b":"1F915","j":["injured","clumsy","bandage","hurt"],"k":[37,28],"o":2},"mega":{"a":"Cheering Megaphone","b":"1F4E3","j":["sound","speaker","volume"],"k":[27,0],"o":2},"nauseated_face":{"a":"Nauseated Face","b":"1F922","j":["face","vomit","gross","green","sick","throw up","ill"],"k":[38,19],"o":4},"child":{"a":"Child","b":"1F9D2","k":[48,16],"o":5},"flag-cg":{"a":"Congo - Brazzaville Flag","b":"1F1E8-1F1EC","k":[1,16],"o":2},"bat":{"a":"Bat","b":"1F987","j":["animal","nature","blind","vampire"],"k":[42,25],"o":4},"diving_mask":{"a":"Diving Mask","b":"1F93F","k":[41,15],"o":12},"burrito":{"a":"Burrito","b":"1F32F","j":["food","mexican"],"k":[6,7],"o":2},"postal_horn":{"a":"Postal Horn","b":"1F4EF","j":["instrument","music"],"k":[27,12],"o":2},"night_with_stars":{"a":"Night with Stars","b":"1F303","j":["evening","city","downtown"],"k":[5,22],"o":2},"om_symbol":{"a":"Om Symbol","b":"1F549-FE0F","c":"1F549","k":[28,33],"o":2},"star_of_david":{"a":"Star of David","b":"2721-FE0F","c":"2721","j":["judaism"],"k":[55,15],"o":2},"boy":{"a":"Boy","b":"1F466","j":["man","male","guy","teenager"],"k":[14,26],"o":2},"bell":{"a":"Bell","b":"1F514","j":["sound","notification","christmas","xmas","chime"],"k":[27,48],"o":2},"flag-ch":{"a":"Switzerland Flag","b":"1F1E8-1F1ED","k":[1,17],"o":2},"running_shirt_with_sash":{"a":"Running Shirt with Sash","b":"1F3BD","j":["play","pageant"],"k":[8,35],"o":2},"stuffed_flatbread":{"a":"Stuffed Flatbread","b":"1F959","j":["food","flatbread","stuffed","gyro"],"k":[41,40],"o":4},"bear":{"a":"Bear Face","b":"1F43B","j":["animal","nature","wild"],"k":[12,31],"o":2},"cityscape":{"a":"Cityscape","b":"1F3D9-FE0F","c":"1F3D9","j":["photo","night life","urban"],"k":[10,44],"o":2},"face_vomiting":{"a":"Face with Open Mouth Vomiting","b":"1F92E","k":[38,48],"n":["face_with_open_mouth_vomiting"],"o":5},"wheel_of_dharma":{"a":"Wheel of Dharma","b":"2638-FE0F","c":"2638","j":["hinduism","buddhism","sikhism","jainism"],"k":[53,15],"o":2},"ski":{"a":"Ski and Ski Boot","b":"1F3BF","j":["sports","winter","cold","snow"],"k":[8,37],"o":2},"girl":{"a":"Girl","b":"1F467","j":["female","woman","teenager"],"k":[14,32],"o":2},"falafel":{"a":"Falafel","b":"1F9C6","k":[44,14],"o":12},"sneezing_face":{"a":"Sneezing Face","b":"1F927","j":["face","gesundheit","sneeze","sick","allergy"],"k":[38,41],"o":4},"no_bell":{"a":"Bell with Cancellation Stroke","b":"1F515","j":["sound","volume","mute","quiet","silent"],"k":[27,49],"o":2},"koala":{"a":"Koala","b":"1F428","j":["animal","nature"],"k":[12,12],"o":2},"sunrise_over_mountains":{"a":"Sunrise over Mountains","b":"1F304","j":["view","vacation","photo"],"k":[5,23],"o":2},"flag-ci":{"a":"C\xf4te D’ivoire Flag","b":"1F1E8-1F1EE","k":[1,18],"o":2},"sunrise":{"a":"Sunrise","b":"1F305","j":["morning","view","vacation","photo"],"k":[5,24],"o":2},"yin_yang":{"a":"Yin Yang","b":"262F-FE0F","c":"262F","j":["balance"],"k":[53,14],"o":2},"adult":{"a":"Adult","b":"1F9D1","k":[48,10],"o":5},"hot_face":{"a":"Overheated Face","b":"1F975","k":[42,10],"o":11},"musical_score":{"a":"Musical Score","b":"1F3BC","j":["treble","clef","compose"],"k":[8,34],"o":2},"sled":{"a":"Sled","b":"1F6F7","k":[36,56],"o":5},"egg":{"a":"Egg","b":"1F95A","j":["food","chicken","breakfast"],"k":[41,41],"o":4},"panda_face":{"a":"Panda Face","b":"1F43C","j":["animal","nature","panda"],"k":[12,32],"o":2},"flag-ck":{"a":"Cook Islands Flag","b":"1F1E8-1F1F0","k":[1,19],"o":2},"flag-cl":{"a":"Chile Flag","b":"1F1E8-1F1F1","k":[1,20],"o":2},"sloth":{"a":"Sloth","b":"1F9A5","k":[42,53],"o":12},"latin_cross":{"a":"Latin Cross","b":"271D-FE0F","c":"271D","j":["christianity"],"k":[55,14],"o":2},"curling_stone":{"a":"Curling Stone","b":"1F94C","k":[41,27],"o":5},"cold_face":{"a":"Freezing Face","b":"1F976","k":[42,11],"o":11},"fried_egg":{"a":"Cooking","b":"1F373","j":["food","breakfast","kitchen","egg"],"k":[7,18],"n":["cooking"],"o":2},"city_sunset":{"a":"Cityscape at Dusk","b":"1F306","j":["photo","evening","sky","buildings"],"k":[5,25],"o":2},"musical_note":{"a":"Musical Note","b":"1F3B5","j":["score","tone","sound"],"k":[8,27],"o":2},"flag-cm":{"a":"Cameroon Flag","b":"1F1E8-1F1F2","k":[1,21],"o":2},"notes":{"a":"Multiple Musical Notes","b":"1F3B6","j":["music","score"],"k":[8,28],"o":2},"woozy_face":{"a":"Face with Uneven Eyes and Wavy Mouth","b":"1F974","k":[42,9],"o":11},"dart":{"a":"Direct Hit","b":"1F3AF","j":["game","play","bar"],"k":[8,21],"o":2},"orthodox_cross":{"a":"Orthodox Cross","b":"2626-FE0F","c":"2626","j":["suppedaneum","religion"],"k":[53,11],"o":2},"shallow_pan_of_food":{"a":"Shallow Pan of Food","b":"1F958","j":["food","cooking","casserole","paella"],"k":[41,39],"o":4},"otter":{"a":"Otter","b":"1F9A6","k":[42,54],"o":12},"man":{"a":"Man","b":"1F468","j":["mustache","father","dad","guy","classy","sir","moustache"],"k":[17,22],"o":2},"city_sunrise":{"a":"Sunset over Buildings","b":"1F307","j":["photo","good morning","dawn"],"k":[5,26],"o":2},"bearded_person":{"a":"Bearded Person","b":"1F9D4","k":[48,28],"o":5},"skunk":{"a":"Skunk","b":"1F9A8","k":[42,56],"o":12},"stew":{"a":"Pot of Food","b":"1F372","j":["food","meat","soup"],"k":[7,17],"o":2},"cn":{"a":"China Flag","b":"1F1E8-1F1F3","j":["china","chinese","prc","flag","country","nation","banner"],"k":[1,22],"n":["flag-cn"],"o":2},"studio_microphone":{"a":"Studio Microphone","b":"1F399-FE0F","c":"1F399","j":["sing","recording","artist","talkshow"],"k":[8,1],"o":2},"star_and_crescent":{"a":"Star and Crescent","b":"262A-FE0F","c":"262A","j":["islam"],"k":[53,12],"o":2},"yo-yo":{"a":"Yo-Yo","b":"1FA80","k":[52,1],"o":12},"bridge_at_night":{"a":"Bridge at Night","b":"1F309","j":["photo","sanfrancisco"],"k":[5,28],"o":2},"dizzy_face":{"a":"Dizzy Face","b":"1F635","j":["spent","unconscious","xox","dizzy"],"k":[31,31],"o":2},"red_haired_man":{"a":"Red Haired Man","b":"1F468-200D-1F9B0","k":[16,23],"o":11},"kite":{"a":"Kite","b":"1FA81","k":[52,2],"o":12},"bowl_with_spoon":{"a":"Bowl with Spoon","b":"1F963","k":[41,50],"o":5},"flag-co":{"a":"Colombia Flag","b":"1F1E8-1F1F4","k":[1,23],"o":2},"peace_symbol":{"a":"Peace Symbol","b":"262E-FE0F","c":"262E","j":["hippie"],"k":[53,13],"o":2},"kangaroo":{"a":"Kangaroo","b":"1F998","k":[42,42],"o":11},"hotsprings":{"a":"Hot Springs","b":"2668-FE0F","c":"2668","j":["bath","warm","relax"],"k":[53,37],"o":2},"exploding_head":{"a":"Shocked Face with Exploding Head","b":"1F92F","k":[38,49],"n":["shocked_face_with_exploding_head"],"o":5},"level_slider":{"a":"Level Slider","b":"1F39A-FE0F","c":"1F39A","j":["scale"],"k":[8,2],"o":2},"badger":{"a":"Badger","b":"1F9A1","k":[42,51],"o":11},"8ball":{"a":"Billiards","b":"1F3B1","j":["pool","hobby","game","luck","magic"],"k":[8,23],"o":2},"curly_haired_man":{"a":"Curly Haired Man","b":"1F468-200D-1F9B1","k":[16,29],"o":11},"flag-cp":{"a":"Clipperton Island Flag","b":"1F1E8-1F1F5","k":[1,24],"o":2},"carousel_horse":{"a":"Carousel Horse","b":"1F3A0","j":["photo","carnival"],"k":[8,6],"o":2},"face_with_cowboy_hat":{"a":"Face with Cowboy Hat","b":"1F920","k":[38,17],"o":4},"menorah_with_nine_branches":{"a":"Menorah with Nine Branches","b":"1F54E","k":[28,38],"o":2},"green_salad":{"a":"Green Salad","b":"1F957","j":["food","healthy","lettuce"],"k":[41,38],"o":4},"control_knobs":{"a":"Control Knobs","b":"1F39B-FE0F","c":"1F39B","j":["dial"],"k":[8,3],"o":2},"popcorn":{"a":"Popcorn","b":"1F37F","j":["food","movie theater","films","snack"],"k":[7,30],"o":2},"six_pointed_star":{"a":"Six Pointed Star with Middle Dot","b":"1F52F","j":["purple-square","religion","jewish","hexagram"],"k":[28,18],"o":2},"feet":{"a":"Paw Prints","b":"1F43E","k":[12,34],"n":["paw_prints"],"o":2},"ferris_wheel":{"a":"Ferris Wheel","b":"1F3A1","j":["photo","carnival","londoneye"],"k":[8,7],"o":2},"microphone":{"a":"Microphone","b":"1F3A4","j":["sound","music","PA","sing","talkshow"],"k":[8,10],"o":2},"crystal_ball":{"a":"Crystal Ball","b":"1F52E","j":["disco","party","magic","circus","fortune_teller"],"k":[28,17],"o":2},"partying_face":{"a":"Face with Party Horn and Party Hat","b":"1F973","k":[42,8],"o":11},"flag-cr":{"a":"Costa Rica Flag","b":"1F1E8-1F1F7","k":[1,25],"o":2},"white_haired_man":{"a":"White Haired Man","b":"1F468-200D-1F9B3","k":[16,41],"o":11},"headphones":{"a":"Headphone","b":"1F3A7","j":["music","score","gadgets"],"k":[8,13],"o":2},"bald_man":{"a":"Bald Man","b":"1F468-200D-1F9B2","k":[16,35],"o":11},"sunglasses":{"a":"Smiling Face with Sunglasses","b":"1F60E","j":["face","cool","smile","summer","beach","sunglass"],"k":[30,49],"l":["8)"],"o":2},"butter":{"a":"Butter","b":"1F9C8","k":[44,16],"o":12},"roller_coaster":{"a":"Roller Coaster","b":"1F3A2","j":["carnival","playground","photo","fun"],"k":[8,8],"o":2},"turkey":{"a":"Turkey","b":"1F983","j":["animal","bird"],"k":[42,21],"o":2},"nazar_amulet":{"a":"Nazar Amulet","b":"1F9FF","k":[51,50],"o":11},"flag-cu":{"a":"Cuba Flag","b":"1F1E8-1F1FA","k":[1,26],"o":2},"aries":{"a":"Aries","b":"2648","j":["sign","purple-square","zodiac","astrology"],"k":[53,20],"o":2},"flag-cv":{"a":"Cape Verde Flag","b":"1F1E8-1F1FB","k":[1,27],"o":2},"barber":{"a":"Barber Pole","b":"1F488","j":["hair","salon","style"],"k":[25,18],"o":2},"taurus":{"a":"Taurus","b":"2649","j":["purple-square","sign","zodiac","astrology"],"k":[53,21],"o":2},"salt":{"a":"Salt Shaker","b":"1F9C2","k":[44,10],"o":11},"woman":{"a":"Woman","b":"1F469","j":["female","girls","lady"],"k":[20,9],"o":2},"video_game":{"a":"Video Game","b":"1F3AE","j":["play","console","PS4","controller"],"k":[8,20],"o":2},"chicken":{"a":"Chicken","b":"1F414","j":["animal","cluck","nature","bird"],"k":[11,48],"o":2},"radio":{"a":"Radio","b":"1F4FB","j":["communication","music","podcast","program"],"k":[27,24],"o":2},"nerd_face":{"a":"Nerd Face","b":"1F913","j":["face","nerdy","geek","dork"],"k":[37,26],"o":2},"red_haired_woman":{"a":"Red Haired Woman","b":"1F469-200D-1F9B0","k":[19,8],"o":11},"circus_tent":{"a":"Circus Tent","b":"1F3AA","j":["festival","carnival","party"],"k":[8,16],"o":2},"face_with_monocle":{"a":"Face with Monocle","b":"1F9D0","k":[45,16],"o":5},"canned_food":{"a":"Canned Food","b":"1F96B","k":[42,1],"o":5},"flag-cw":{"a":"Cura\xe7ao Flag","b":"1F1E8-1F1FC","k":[1,28],"o":2},"gemini":{"a":"Gemini","b":"264A","j":["sign","zodiac","purple-square","astrology"],"k":[53,22],"o":2},"saxophone":{"a":"Saxophone","b":"1F3B7","j":["music","instrument","jazz","blues"],"k":[8,29],"o":2},"rooster":{"a":"Rooster","b":"1F413","j":["animal","nature","chicken"],"k":[11,47],"o":2},"joystick":{"a":"Joystick","b":"1F579-FE0F","c":"1F579","j":["game","play"],"k":[29,36],"o":2},"guitar":{"a":"Guitar","b":"1F3B8","j":["music","instrument"],"k":[8,30],"o":2},"slot_machine":{"a":"Slot Machine","b":"1F3B0","j":["bet","gamble","vegas","fruit machine","luck","casino"],"k":[8,22],"o":2},"bento":{"a":"Bento Box","b":"1F371","j":["food","japanese","box"],"k":[7,16],"o":2},"steam_locomotive":{"a":"Steam Locomotive","b":"1F682","j":["transportation","vehicle","train"],"k":[34,1],"o":2},"confused":{"a":"Confused Face","b":"1F615","j":["face","indifference","huh","weird","hmmm",":/"],"k":[30,56],"l":[":\\\\",":-\\\\",":/",":-/"],"o":2},"flag-cx":{"a":"Christmas Island Flag","b":"1F1E8-1F1FD","k":[1,29],"o":2},"hatching_chick":{"a":"Hatching Chick","b":"1F423","j":["animal","chicken","egg","born","baby","bird"],"k":[12,7],"o":2},"cancer":{"a":"Cancer","b":"264B","j":["sign","zodiac","purple-square","astrology"],"k":[53,23],"o":2},"flag-cy":{"a":"Cyprus Flag","b":"1F1E8-1F1FE","k":[1,30],"o":2},"worried":{"a":"Worried Face","b":"1F61F","j":["face","concern","nervous",":("],"k":[31,9],"o":2},"railway_car":{"a":"Railway Car","b":"1F683","j":["transportation","vehicle"],"k":[34,2],"o":2},"leo":{"a":"Leo","b":"264C","j":["sign","purple-square","zodiac","astrology"],"k":[53,24],"o":2},"curly_haired_woman":{"a":"Curly Haired Woman","b":"1F469-200D-1F9B1","k":[19,14],"o":11},"baby_chick":{"a":"Baby Chick","b":"1F424","j":["animal","chicken","bird"],"k":[12,8],"o":2},"musical_keyboard":{"a":"Musical Keyboard","b":"1F3B9","j":["piano","instrument","compose"],"k":[8,31],"o":2},"game_die":{"a":"Game Die","b":"1F3B2","j":["dice","random","tabletop","play","luck"],"k":[8,24],"o":2},"rice_cracker":{"a":"Rice Cracker","b":"1F358","j":["food","japanese"],"k":[6,48],"o":2},"virgo":{"a":"Virgo","b":"264D","j":["sign","zodiac","purple-square","astrology"],"k":[53,25],"o":2},"flag-cz":{"a":"Czechia Flag","b":"1F1E8-1F1FF","k":[1,31],"o":2},"rice_ball":{"a":"Rice Ball","b":"1F359","j":["food","japanese"],"k":[6,49],"o":2},"hatched_chick":{"a":"Front-Facing Baby Chick","b":"1F425","j":["animal","chicken","baby","bird"],"k":[12,9],"o":2},"jigsaw":{"a":"Jigsaw Puzzle Piece","b":"1F9E9","k":[51,28],"o":11},"trumpet":{"a":"Trumpet","b":"1F3BA","j":["music","brass"],"k":[8,32],"o":2},"slightly_frowning_face":{"a":"Slightly Frowning Face","b":"1F641","j":["face","frowning","disappointed","sad","upset"],"k":[31,43],"o":2},"bullettrain_side":{"a":"High-Speed Train","b":"1F684","j":["transportation","vehicle"],"k":[34,3],"o":2},"libra":{"a":"Libra","b":"264E","j":["sign","purple-square","zodiac","astrology"],"k":[53,26],"o":2},"de":{"a":"Germany Flag","b":"1F1E9-1F1EA","j":["german","nation","flag","country","banner"],"k":[1,32],"n":["flag-de"],"o":2},"rice":{"a":"Cooked Rice","b":"1F35A","j":["food","china","asian"],"k":[6,50],"o":2},"violin":{"a":"Violin","b":"1F3BB","j":["music","instrument","orchestra","symphony"],"k":[8,33],"o":2},"white_haired_woman":{"a":"White Haired Woman","b":"1F469-200D-1F9B3","k":[19,26],"o":11},"bird":{"a":"Bird","b":"1F426","j":["animal","nature","fly","tweet","spring"],"k":[12,10],"o":2},"white_frowning_face":{"a":"White Frowning Face","b":"2639-FE0F","c":"2639","k":[53,16],"o":2},"bullettrain_front":{"a":"High-Speed Train with Bullet Nose","b":"1F685","j":["transportation","vehicle","speed","fast","public","travel"],"k":[34,4],"o":2},"teddy_bear":{"a":"Teddy Bear","b":"1F9F8","k":[51,43],"o":11},"spades":{"a":"Black Spade Suit","b":"2660-FE0F","c":"2660","j":["poker","cards","suits","magic"],"k":[53,33],"o":2},"banjo":{"a":"Banjo","b":"1FA95","k":[52,9],"o":12},"train2":{"a":"Train","b":"1F686","j":["transportation","vehicle"],"k":[34,5],"o":2},"scorpius":{"a":"Scorpius","b":"264F","j":["sign","zodiac","purple-square","astrology","scorpio"],"k":[53,27],"o":2},"curry":{"a":"Curry and Rice","b":"1F35B","j":["food","spicy","hot","indian"],"k":[6,51],"o":2},"open_mouth":{"a":"Face with Open Mouth","b":"1F62E","j":["face","surprise","impressed","wow","whoa",":O"],"k":[31,24],"l":[":o",":-o",":O",":-O"],"o":2},"flag-dg":{"a":"Diego Garcia Flag","b":"1F1E9-1F1EC","k":[1,33],"o":2},"penguin":{"a":"Penguin","b":"1F427","j":["animal","nature"],"k":[12,11],"o":2},"hearts":{"a":"Black Heart Suit","b":"2665-FE0F","c":"2665","j":["poker","cards","magic","suits"],"k":[53,35],"o":2},"ramen":{"a":"Steaming Bowl","b":"1F35C","j":["food","japanese","noodle","chopsticks"],"k":[6,52],"o":2},"sagittarius":{"a":"Sagittarius","b":"2650","j":["sign","zodiac","purple-square","astrology"],"k":[53,28],"o":2},"bald_woman":{"a":"Bald Woman","b":"1F469-200D-1F9B2","k":[19,20],"o":11},"dove_of_peace":{"a":"Dove of Peace","b":"1F54A-FE0F","c":"1F54A","k":[28,34],"o":2},"hushed":{"a":"Hushed Face","b":"1F62F","j":["face","woo","shh"],"k":[31,25],"o":2},"metro":{"a":"Metro","b":"1F687","j":["transportation","blue-square","mrt","underground","tube"],"k":[34,6],"o":2},"flag-dj":{"a":"Djibouti Flag","b":"1F1E9-1F1EF","k":[1,34],"o":2},"drum_with_drumsticks":{"a":"Drum with Drumsticks","b":"1F941","k":[41,17],"o":4},"spaghetti":{"a":"Spaghetti","b":"1F35D","j":["food","italian","noodle"],"k":[6,53],"o":2},"eagle":{"a":"Eagle","b":"1F985","j":["animal","nature","bird"],"k":[42,23],"o":4},"astonished":{"a":"Astonished Face","b":"1F632","j":["face","xox","surprised","poisoned"],"k":[31,28],"o":2},"capricorn":{"a":"Capricorn","b":"2651","j":["sign","zodiac","purple-square","astrology"],"k":[53,29],"o":2},"light_rail":{"a":"Light Rail","b":"1F688","j":["transportation","vehicle"],"k":[34,7],"o":2},"flag-dk":{"a":"Denmark Flag","b":"1F1E9-1F1F0","k":[1,35],"o":2},"iphone":{"a":"Mobile Phone","b":"1F4F1","j":["technology","apple","gadgets","dial"],"k":[27,14],"o":2},"diamonds":{"a":"Black Diamond Suit","b":"2666-FE0F","c":"2666","j":["poker","cards","magic","suits"],"k":[53,36],"o":2},"clubs":{"a":"Black Club Suit","b":"2663-FE0F","c":"2663","j":["poker","cards","magic","suits"],"k":[53,34],"o":2},"aquarius":{"a":"Aquarius","b":"2652","j":["sign","purple-square","zodiac","astrology"],"k":[53,30],"o":2},"sweet_potato":{"a":"Roasted Sweet Potato","b":"1F360","j":["food","nature"],"k":[6,56],"o":2},"flag-dm":{"a":"Dominica Flag","b":"1F1E9-1F1F2","k":[1,36],"o":2},"duck":{"a":"Duck","b":"1F986","j":["animal","nature","bird","mallard"],"k":[42,24],"o":4},"calling":{"a":"Mobile Phone with Rightwards Arrow at Left","b":"1F4F2","j":["iphone","incoming"],"k":[27,15],"o":2},"station":{"a":"Station","b":"1F689","j":["transportation","vehicle","public"],"k":[34,8],"o":2},"blond-haired-woman":{"a":"Blond Haired Woman","b":"1F471-200D-2640-FE0F","c":"1F471-200D-2640","k":[22,7],"o":4},"flushed":{"a":"Flushed Face","b":"1F633","j":["face","blush","shy","flattered"],"k":[31,29],"o":2},"pisces":{"a":"Pisces","b":"2653","j":["purple-square","sign","zodiac","astrology"],"k":[53,31],"o":2},"chess_pawn":{"a":"Chess Pawn","b":"265F-FE0F","c":"265F","k":[53,32],"o":11},"blond-haired-man":{"obsoletes":"1F471","a":"Blond Haired Man","b":"1F471-200D-2642-FE0F","c":"1F471-200D-2642","k":[22,13],"o":4},"phone":{"a":"Black Telephone","b":"260E-FE0F","c":"260E","j":["technology","communication","dial","telephone"],"k":[52,54],"n":["telephone"],"o":2},"oden":{"a":"Oden","b":"1F362","j":["food","japanese"],"k":[7,1],"o":2},"flag-do":{"a":"Dominican Republic Flag","b":"1F1E9-1F1F4","k":[1,37],"o":2},"tram":{"a":"Tram","b":"1F68A","j":["transportation","vehicle"],"k":[34,9],"o":2},"swan":{"a":"Swan","b":"1F9A2","k":[42,52],"o":11},"pleading_face":{"a":"Face with Pleading Eyes","b":"1F97A","k":[42,12],"o":11},"flag-dz":{"a":"Algeria Flag","b":"1F1E9-1F1FF","k":[1,38],"o":2},"monorail":{"a":"Monorail","b":"1F69D","j":["transportation","vehicle"],"k":[34,28],"o":2},"owl":{"a":"Owl","b":"1F989","j":["animal","nature","bird","hoot"],"k":[42,27],"o":4},"sushi":{"a":"Sushi","b":"1F363","j":["food","fish","japanese","rice"],"k":[7,2],"o":2},"telephone_receiver":{"a":"Telephone Receiver","b":"1F4DE","j":["technology","communication","dial"],"k":[26,52],"o":2},"black_joker":{"a":"Playing Card Black Joker","b":"1F0CF","j":["poker","cards","game","play","magic"],"k":[0,15],"o":2},"ophiuchus":{"a":"Ophiuchus","b":"26CE","j":["sign","purple-square","constellation","astrology"],"k":[54,4],"o":2},"frowning":{"a":"Frowning Face with Open Mouth","b":"1F626","j":["face","aw","what"],"k":[31,16],"o":2},"older_adult":{"a":"Older Adult","b":"1F9D3","k":[48,22],"o":5},"flag-ea":{"a":"Ceuta & Melilla Flag","b":"1F1EA-1F1E6","k":[1,39],"o":2},"flamingo":{"a":"Flamingo","b":"1F9A9","k":[43,0],"o":12},"pager":{"a":"Pager","b":"1F4DF","j":["bbcall","oldschool","90s"],"k":[26,53],"o":2},"mountain_railway":{"a":"Mountain Railway","b":"1F69E","j":["transportation","vehicle"],"k":[34,29],"o":2},"mahjong":{"a":"Mahjong Tile Red Dragon","b":"1F004","j":["game","play","chinese","kanji"],"k":[0,14],"o":2},"older_man":{"a":"Older Man","b":"1F474","j":["human","male","men","old","elder","senior"],"k":[22,49],"o":2},"twisted_rightwards_arrows":{"a":"Twisted Rightwards Arrows","b":"1F500","j":["blue-square","shuffle","music","random"],"k":[27,28],"o":2},"fried_shrimp":{"a":"Fried Shrimp","b":"1F364","j":["food","animal","appetizer","summer"],"k":[7,3],"o":2},"anguished":{"a":"Anguished Face","b":"1F627","j":["face","stunned","nervous"],"k":[31,17],"l":["D:"],"o":2},"repeat":{"a":"Clockwise Rightwards and Leftwards Open Circle Arrows","b":"1F501","j":["loop","record"],"k":[27,29],"o":2},"fish_cake":{"a":"Fish Cake with Swirl Design","b":"1F365","j":["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],"k":[7,4],"o":2},"fax":{"a":"Fax Machine","b":"1F4E0","j":["communication","technology"],"k":[26,54],"o":2},"older_woman":{"a":"Older Woman","b":"1F475","j":["human","female","women","lady","old","elder","senior"],"k":[22,55],"o":2},"flag-ec":{"a":"Ecuador Flag","b":"1F1EA-1F1E8","k":[1,40],"o":2},"peacock":{"a":"Peacock","b":"1F99A","k":[42,44],"o":11},"fearful":{"a":"Fearful Face","b":"1F628","j":["face","scared","terrified","nervous","oops","huh"],"k":[31,18],"o":2},"train":{"a":"Tram Car","b":"1F68B","j":["transportation","vehicle","carriage","public","travel"],"k":[34,10],"o":2},"flower_playing_cards":{"a":"Flower Playing Cards","b":"1F3B4","j":["game","sunset","red"],"k":[8,26],"o":2},"repeat_one":{"a":"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay","b":"1F502","j":["blue-square","loop"],"k":[27,30],"o":2},"moon_cake":{"a":"Moon Cake","b":"1F96E","k":[42,4],"o":11},"performing_arts":{"a":"Performing Arts","b":"1F3AD","j":["acting","theater","drama"],"k":[8,19],"o":2},"cold_sweat":{"a":"Face with Open Mouth and Cold Sweat","b":"1F630","j":["face","nervous","sweat"],"k":[31,26],"o":2},"flag-ee":{"a":"Estonia Flag","b":"1F1EA-1F1EA","k":[1,41],"o":2},"battery":{"a":"Battery","b":"1F50B","j":["power","energy","sustain"],"k":[27,39],"o":2},"parrot":{"a":"Parrot","b":"1F99C","k":[42,46],"o":11},"bus":{"a":"Bus","b":"1F68C","j":["car","vehicle","transportation"],"k":[34,11],"o":2},"flag-eg":{"a":"Egypt Flag","b":"1F1EA-1F1EC","k":[1,42],"o":2},"arrow_forward":{"a":"Black Right-Pointing Triangle","b":"25B6-FE0F","c":"25B6","j":["blue-square","right","direction","play"],"k":[52,43],"o":2},"man-frowning":{"a":"Man Frowning","b":"1F64D-200D-2642-FE0F","c":"1F64D-200D-2642","k":[33,20],"o":4},"disappointed_relieved":{"a":"Disappointed but Relieved Face","b":"1F625","j":["face","phew","sweat","nervous"],"k":[31,15],"o":2},"electric_plug":{"a":"Electric Plug","b":"1F50C","j":["charger","power"],"k":[27,40],"o":2},"frame_with_picture":{"a":"Frame with Picture","b":"1F5BC-FE0F","c":"1F5BC","k":[30,14],"o":2},"oncoming_bus":{"a":"Oncoming Bus","b":"1F68D","j":["vehicle","transportation"],"k":[34,12],"o":2},"dango":{"a":"Dango","b":"1F361","j":["food","dessert","sweet","japanese","barbecue","meat"],"k":[7,0],"o":2},"frog":{"a":"Frog Face","b":"1F438","j":["animal","nature","croak","toad"],"k":[12,28],"o":2},"computer":{"a":"Personal Computer","b":"1F4BB","j":["technology","laptop","screen","display","monitor"],"k":[26,17],"o":2},"art":{"a":"Artist Palette","b":"1F3A8","j":["design","paint","draw","colors"],"k":[8,14],"o":2},"flag-eh":{"a":"Western Sahara Flag","b":"1F1EA-1F1ED","k":[1,43],"o":2},"fast_forward":{"a":"Black Right-Pointing Double Triangle","b":"23E9","j":["blue-square","play","speed","continue"],"k":[52,26],"o":2},"cry":{"a":"Crying Face","b":"1F622","j":["face","tears","sad","depressed","upset",":\'("],"k":[31,12],"l":[":\'("],"m":":\'(","o":2},"woman-frowning":{"obsoletes":"1F64D","a":"Woman Frowning","b":"1F64D-200D-2640-FE0F","c":"1F64D-200D-2640","k":[33,14],"o":4},"trolleybus":{"a":"Trolleybus","b":"1F68E","j":["bart","transportation","vehicle"],"k":[34,13],"o":2},"crocodile":{"a":"Crocodile","b":"1F40A","j":["animal","nature","reptile","lizard","alligator"],"k":[11,38],"o":2},"dumpling":{"a":"Dumpling","b":"1F95F","k":[41,46],"o":5},"black_right_pointing_double_triangle_with_vertical_bar":{"a":"Black Right Pointing Double Triangle with Vertical Bar","b":"23ED-FE0F","c":"23ED","k":[52,30],"o":2},"desktop_computer":{"a":"Desktop Computer","b":"1F5A5-FE0F","c":"1F5A5","j":["technology","computing","screen"],"k":[30,10],"o":2},"turtle":{"a":"Turtle","b":"1F422","j":["animal","slow","nature","tortoise"],"k":[12,6],"o":2},"sob":{"a":"Loudly Crying Face","b":"1F62D","j":["face","cry","tears","sad","upset","depressed"],"k":[31,23],"m":":\'(","o":2},"flag-er":{"a":"Eritrea Flag","b":"1F1EA-1F1F7","k":[1,44],"o":2},"thread":{"a":"Spool of Thread","b":"1F9F5","k":[51,40],"o":11},"minibus":{"a":"Minibus","b":"1F690","j":["vehicle","car","transportation"],"k":[34,15],"o":2},"fortune_cookie":{"a":"Fortune Cookie","b":"1F960","k":[41,47],"o":5},"yarn":{"a":"Ball of Yarn","b":"1F9F6","k":[51,41],"o":11},"takeout_box":{"a":"Takeout Box","b":"1F961","k":[41,48],"o":5},"man-pouting":{"a":"Man Pouting","b":"1F64E-200D-2642-FE0F","c":"1F64E-200D-2642","k":[33,38],"o":4},"printer":{"a":"Printer","b":"1F5A8-FE0F","c":"1F5A8","j":["paper","ink"],"k":[30,11],"o":2},"scream":{"a":"Face Screaming in Fear","b":"1F631","j":["face","munch","scared","omg"],"k":[31,27],"o":2},"es":{"a":"Spain Flag","b":"1F1EA-1F1F8","j":["spain","flag","nation","country","banner"],"k":[1,45],"n":["flag-es"],"o":2},"ambulance":{"a":"Ambulance","b":"1F691","j":["health","911","hospital"],"k":[34,16],"o":2},"black_right_pointing_triangle_with_double_vertical_bar":{"a":"Black Right Pointing Triangle with Double Vertical Bar","b":"23EF-FE0F","c":"23EF","k":[52,32],"o":2},"lizard":{"a":"Lizard","b":"1F98E","j":["animal","nature","reptile"],"k":[42,32],"o":4},"flag-et":{"a":"Ethiopia Flag","b":"1F1EA-1F1F9","k":[1,46],"o":2},"keyboard":{"a":"Keyboard","b":"2328-FE0F","c":"2328","j":["technology","computer","type","input","text"],"k":[52,24],"o":2},"crab":{"a":"Crab","b":"1F980","j":["animal","crustacean"],"k":[42,18],"o":2},"confounded":{"a":"Confounded Face","b":"1F616","j":["face","confused","sick","unwell","oops",":S"],"k":[31,0],"o":2},"snake":{"a":"Snake","b":"1F40D","j":["animal","evil","nature","hiss","python"],"k":[11,41],"o":2},"woman-pouting":{"obsoletes":"1F64E","a":"Woman Pouting","b":"1F64E-200D-2640-FE0F","c":"1F64E-200D-2640","k":[33,32],"o":4},"arrow_backward":{"a":"Black Left-Pointing Triangle","b":"25C0-FE0F","c":"25C0","j":["blue-square","left","direction"],"k":[52,44],"o":2},"fire_engine":{"a":"Fire Engine","b":"1F692","j":["transportation","cars","vehicle"],"k":[34,17],"o":2},"rewind":{"a":"Black Left-Pointing Double Triangle","b":"23EA","j":["play","blue-square"],"k":[52,27],"o":2},"three_button_mouse":{"a":"Three Button Mouse","b":"1F5B1-FE0F","c":"1F5B1","k":[30,12],"o":2},"police_car":{"a":"Police Car","b":"1F693","j":["vehicle","cars","transportation","law","legal","enforcement"],"k":[34,18],"o":2},"dragon_face":{"a":"Dragon Face","b":"1F432","j":["animal","myth","nature","chinese","green"],"k":[12,22],"o":2},"persevere":{"a":"Persevering Face","b":"1F623","j":["face","sick","no","upset","oops"],"k":[31,13],"o":2},"lobster":{"a":"Lobster","b":"1F99E","k":[42,48],"o":11},"flag-eu":{"a":"European Union Flag","b":"1F1EA-1F1FA","k":[1,47],"o":2},"disappointed":{"a":"Disappointed Face","b":"1F61E","j":["face","sad","upset","depressed",":("],"k":[31,8],"l":["):",":(",":-("],"m":":(","o":2},"shrimp":{"a":"Shrimp","b":"1F990","j":["animal","ocean","nature","seafood"],"k":[42,34],"o":4},"dragon":{"a":"Dragon","b":"1F409","j":["animal","myth","nature","chinese","green"],"k":[11,37],"o":2},"man-gesturing-no":{"a":"Man Gesturing No","b":"1F645-200D-2642-FE0F","c":"1F645-200D-2642","k":[31,53],"o":4},"flag-fi":{"a":"Finland Flag","b":"1F1EB-1F1EE","k":[1,48],"o":2},"trackball":{"a":"Trackball","b":"1F5B2-FE0F","c":"1F5B2","j":["technology","trackpad"],"k":[30,13],"o":2},"black_left_pointing_double_triangle_with_vertical_bar":{"a":"Black Left Pointing Double Triangle with Vertical Bar","b":"23EE-FE0F","c":"23EE","k":[52,31],"o":2},"oncoming_police_car":{"a":"Oncoming Police Car","b":"1F694","j":["vehicle","law","legal","enforcement","911"],"k":[34,19],"o":2},"minidisc":{"a":"Minidisc","b":"1F4BD","j":["technology","record","data","disk","90s"],"k":[26,19],"o":2},"sweat":{"a":"Face with Cold Sweat","b":"1F613","j":["face","hot","sad","tired","exercise"],"k":[30,54],"o":2},"squid":{"a":"Squid","b":"1F991","j":["animal","nature","ocean","sea"],"k":[42,35],"o":4},"sauropod":{"a":"Sauropod","b":"1F995","k":[42,39],"o":5},"arrow_up_small":{"a":"Up-Pointing Small Red Triangle","b":"1F53C","j":["blue-square","triangle","direction","point","forward","top"],"k":[28,31],"o":2},"flag-fj":{"a":"Fiji Flag","b":"1F1EB-1F1EF","k":[1,49],"o":2},"woman-gesturing-no":{"obsoletes":"1F645","a":"Woman Gesturing No","b":"1F645-200D-2640-FE0F","c":"1F645-200D-2640","k":[31,47],"o":4},"taxi":{"a":"Taxi","b":"1F695","j":["uber","vehicle","cars","transportation"],"k":[34,20],"o":2},"flag-fk":{"a":"Falkland Islands Flag","b":"1F1EB-1F1F0","k":[1,50],"o":2},"floppy_disk":{"a":"Floppy Disk","b":"1F4BE","j":["oldschool","technology","save","90s","80s"],"k":[26,20],"o":2},"t-rex":{"a":"T-Rex","b":"1F996","k":[42,40],"o":5},"oyster":{"a":"Oyster","b":"1F9AA","k":[43,1],"o":12},"arrow_double_up":{"a":"Black Up-Pointing Double Triangle","b":"23EB","j":["blue-square","direction","top"],"k":[52,28],"o":2},"oncoming_taxi":{"a":"Oncoming Taxi","b":"1F696","j":["vehicle","cars","uber"],"k":[34,21],"o":2},"weary":{"a":"Weary Face","b":"1F629","j":["face","tired","sleepy","sad","frustrated","upset"],"k":[31,19],"o":2},"man-gesturing-ok":{"a":"Man Gesturing Ok","b":"1F646-200D-2642-FE0F","c":"1F646-200D-2642","k":[32,14],"o":4},"arrow_down_small":{"a":"Down-Pointing Small Red Triangle","b":"1F53D","j":["blue-square","direction","bottom"],"k":[28,32],"o":2},"tired_face":{"a":"Tired Face","b":"1F62B","j":["sick","whine","upset","frustrated"],"k":[31,21],"o":2},"car":{"a":"Automobile","b":"1F697","k":[34,22],"n":["red_car"],"o":2},"icecream":{"a":"Soft Ice Cream","b":"1F366","j":["food","hot","dessert","summer"],"k":[7,5],"o":2},"cd":{"a":"Optical Disc","b":"1F4BF","j":["technology","dvd","disk","disc","90s"],"k":[26,21],"o":2},"whale":{"a":"Spouting Whale","b":"1F433","j":["animal","nature","sea","ocean"],"k":[12,23],"o":2},"flag-fm":{"a":"Micronesia Flag","b":"1F1EB-1F1F2","k":[1,51],"o":2},"oncoming_automobile":{"a":"Oncoming Automobile","b":"1F698","j":["car","vehicle","transportation"],"k":[34,23],"o":2},"arrow_double_down":{"a":"Black Down-Pointing Double Triangle","b":"23EC","j":["blue-square","direction","bottom"],"k":[52,29],"o":2},"woman-gesturing-ok":{"obsoletes":"1F646","a":"Woman Gesturing Ok","b":"1F646-200D-2640-FE0F","c":"1F646-200D-2640","k":[32,8],"o":4},"yawning_face":{"a":"Yawning Face","b":"1F971","k":[42,7],"o":12},"dvd":{"a":"Dvd","b":"1F4C0","j":["cd","disk","disc"],"k":[26,22],"o":2},"whale2":{"a":"Whale","b":"1F40B","j":["animal","nature","sea","ocean"],"k":[11,39],"o":2},"flag-fo":{"a":"Faroe Islands Flag","b":"1F1EB-1F1F4","k":[1,52],"o":2},"shaved_ice":{"a":"Shaved Ice","b":"1F367","j":["hot","dessert","summer"],"k":[7,6],"o":2},"double_vertical_bar":{"a":"Double Vertical Bar","b":"23F8-FE0F","c":"23F8","k":[52,37],"o":2},"dolphin":{"a":"Dolphin","b":"1F42C","j":["animal","nature","fish","sea","ocean","flipper","fins","beach"],"k":[12,16],"n":["flipper"],"o":2},"blue_car":{"a":"Recreational Vehicle","b":"1F699","j":["transportation","vehicle"],"k":[34,24],"o":2},"ice_cream":{"a":"Ice Cream","b":"1F368","j":["food","hot","dessert"],"k":[7,7],"o":2},"fr":{"a":"France Flag","b":"1F1EB-1F1F7","j":["banner","flag","nation","france","french","country"],"k":[1,53],"n":["flag-fr"],"o":2},"triumph":{"a":"Face with Look of Triumph","b":"1F624","j":["face","gas","phew","proud","pride"],"k":[31,14],"o":2},"abacus":{"a":"Abacus","b":"1F9EE","k":[51,33],"o":11},"man-tipping-hand":{"a":"Man Tipping Hand","b":"1F481-200D-2642-FE0F","c":"1F481-200D-2642","k":[23,53],"o":4},"doughnut":{"a":"Doughnut","b":"1F369","j":["food","dessert","snack","sweet","donut"],"k":[7,8],"o":2},"fish":{"a":"Fish","b":"1F41F","j":["animal","food","nature"],"k":[12,3],"o":2},"truck":{"a":"Delivery Truck","b":"1F69A","j":["cars","transportation"],"k":[34,25],"o":2},"movie_camera":{"a":"Movie Camera","b":"1F3A5","j":["film","record"],"k":[8,11],"o":2},"flag-ga":{"a":"Gabon Flag","b":"1F1EC-1F1E6","k":[1,54],"o":2},"rage":{"a":"Pouting Face","b":"1F621","j":["angry","mad","hate","despise"],"k":[31,11],"o":2},"black_square_for_stop":{"a":"Black Square for Stop","b":"23F9-FE0F","c":"23F9","k":[52,38],"o":2},"articulated_lorry":{"a":"Articulated Lorry","b":"1F69B","j":["vehicle","cars","transportation","express"],"k":[34,26],"o":2},"angry":{"a":"Angry Face","b":"1F620","j":["mad","face","annoyed","frustrated"],"k":[31,10],"l":[">:(",">:-("],"o":2},"cookie":{"a":"Cookie","b":"1F36A","j":["food","snack","oreo","chocolate","sweet","dessert"],"k":[7,9],"o":2},"gb":{"a":"United Kingdom Flag","b":"1F1EC-1F1E7","k":[1,55],"n":["uk","flag-gb"],"o":2},"tropical_fish":{"a":"Tropical Fish","b":"1F420","j":["animal","swim","ocean","beach","nemo"],"k":[12,4],"o":2},"woman-tipping-hand":{"obsoletes":"1F481","a":"Woman Tipping Hand","b":"1F481-200D-2640-FE0F","c":"1F481-200D-2640","k":[23,47],"o":4},"black_circle_for_record":{"a":"Black Circle for Record","b":"23FA-FE0F","c":"23FA","k":[52,39],"o":2},"film_frames":{"a":"Film Frames","b":"1F39E-FE0F","c":"1F39E","k":[8,4],"o":2},"film_projector":{"a":"Film Projector","b":"1F4FD-FE0F","c":"1F4FD","j":["video","tape","record","movie"],"k":[27,26],"o":2},"flag-gd":{"a":"Grenada Flag","b":"1F1EC-1F1E9","k":[1,56],"o":2},"blowfish":{"a":"Blowfish","b":"1F421","j":["animal","nature","food","sea","ocean"],"k":[12,5],"o":2},"face_with_symbols_on_mouth":{"a":"Serious Face with Symbols Covering Mouth","b":"1F92C","k":[38,46],"n":["serious_face_with_symbols_covering_mouth"],"o":5},"birthday":{"a":"Birthday Cake","b":"1F382","j":["food","dessert","cake"],"k":[7,33],"o":2},"eject":{"a":"Eject","b":"23CF-FE0F","c":"23CF","k":[52,25],"o":2},"tractor":{"a":"Tractor","b":"1F69C","j":["vehicle","car","farming","agriculture"],"k":[34,27],"o":2},"flag-ge":{"a":"Georgia Flag","b":"1F1EC-1F1EA","k":[2,0],"o":2},"smiling_imp":{"a":"Smiling Face with Horns","b":"1F608","j":["devil","horns"],"k":[30,43],"o":2},"racing_car":{"a":"Racing Car","b":"1F3CE-FE0F","c":"1F3CE","j":["sports","race","fast","formula","f1"],"k":[10,33],"o":2},"cinema":{"a":"Cinema","b":"1F3A6","j":["blue-square","record","film","movie","curtain","stage","theater"],"k":[8,12],"o":2},"clapper":{"a":"Clapper Board","b":"1F3AC","j":["movie","film","record"],"k":[8,18],"o":2},"shark":{"a":"Shark","b":"1F988","j":["animal","nature","fish","sea","ocean","jaws","fins","beach"],"k":[42,26],"o":4},"cake":{"a":"Shortcake","b":"1F370","j":["food","dessert"],"k":[7,15],"o":2},"man-raising-hand":{"a":"Man Raising Hand","b":"1F64B-200D-2642-FE0F","c":"1F64B-200D-2642","k":[32,53],"o":4},"octopus":{"a":"Octopus","b":"1F419","j":["animal","creature","ocean","sea","nature","beach"],"k":[11,54],"o":2},"woman-raising-hand":{"obsoletes":"1F64B","a":"Woman Raising Hand","b":"1F64B-200D-2640-FE0F","c":"1F64B-200D-2640","k":[32,47],"o":4},"flag-gf":{"a":"French Guiana Flag","b":"1F1EC-1F1EB","k":[2,1],"o":2},"tv":{"a":"Television","b":"1F4FA","j":["technology","program","oldschool","show","television"],"k":[27,23],"o":2},"imp":{"a":"Imp","b":"1F47F","j":["devil","angry","horns"],"k":[23,45],"o":2},"cupcake":{"a":"Cupcake","b":"1F9C1","k":[44,9],"o":11},"racing_motorcycle":{"a":"Racing Motorcycle","b":"1F3CD-FE0F","c":"1F3CD","k":[10,32],"o":2},"low_brightness":{"a":"Low Brightness Symbol","b":"1F505","j":["sun","afternoon","warm","summer"],"k":[27,33],"o":2},"shell":{"a":"Spiral Shell","b":"1F41A","j":["nature","sea","beach"],"k":[11,55],"o":2},"flag-gg":{"a":"Guernsey Flag","b":"1F1EC-1F1EC","k":[2,2],"o":2},"high_brightness":{"a":"High Brightness Symbol","b":"1F506","j":["sun","light"],"k":[27,34],"o":2},"deaf_person":{"a":"Deaf Person","b":"1F9CF","k":[45,10],"o":12},"skull":{"a":"Skull","b":"1F480","j":["dead","skeleton","creepy","death"],"k":[23,46],"o":2},"motor_scooter":{"a":"Motor Scooter","b":"1F6F5","j":["vehicle","vespa","sasha"],"k":[36,54],"o":4},"camera":{"a":"Camera","b":"1F4F7","j":["gadgets","photography"],"k":[27,20],"o":2},"pie":{"a":"Pie","b":"1F967","k":[41,54],"o":5},"flag-gh":{"a":"Ghana Flag","b":"1F1EC-1F1ED","k":[2,3],"o":2},"deaf_man":{"a":"Deaf Man","b":"1F9CF-200D-2642-FE0F","c":"1F9CF-200D-2642","k":[45,4],"o":12},"skull_and_crossbones":{"a":"Skull and Crossbones","b":"2620-FE0F","c":"2620","j":["poison","danger","deadly","scary","death","pirate","evil"],"k":[53,8],"o":2},"camera_with_flash":{"a":"Camera with Flash","b":"1F4F8","k":[27,21],"o":2},"signal_strength":{"a":"Antenna with Bars","b":"1F4F6","j":["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],"k":[27,19],"o":2},"chocolate_bar":{"a":"Chocolate Bar","b":"1F36B","j":["food","snack","dessert","sweet"],"k":[7,10],"o":2},"manual_wheelchair":{"a":"Manual Wheelchair","b":"1F9BD","k":[44,5],"o":12},"snail":{"a":"Snail","b":"1F40C","j":["slow","animal","shell"],"k":[11,40],"o":2},"motorized_wheelchair":{"a":"Motorized Wheelchair","b":"1F9BC","k":[44,4],"o":12},"flag-gi":{"a":"Gibraltar Flag","b":"1F1EC-1F1EE","k":[2,4],"o":2},"hankey":{"a":"Pile of Poo","b":"1F4A9","k":[25,51],"n":["poop","shit"],"o":2},"vibration_mode":{"a":"Vibration Mode","b":"1F4F3","j":["orange-square","phone"],"k":[27,16],"o":2},"deaf_woman":{"a":"Deaf Woman","b":"1F9CF-200D-2640-FE0F","c":"1F9CF-200D-2640","k":[44,55],"o":12},"butterfly":{"a":"Butterfly","b":"1F98B","j":["animal","insect","nature","caterpillar"],"k":[42,29],"o":4},"video_camera":{"a":"Video Camera","b":"1F4F9","j":["film","record"],"k":[27,22],"o":2},"candy":{"a":"Candy","b":"1F36C","j":["snack","dessert","sweet","lolly"],"k":[7,11],"o":2},"auto_rickshaw":{"a":"Auto Rickshaw","b":"1F6FA","k":[37,2],"o":12},"mobile_phone_off":{"a":"Mobile Phone off","b":"1F4F4","j":["mute","orange-square","silence","quiet"],"k":[27,17],"o":2},"clown_face":{"a":"Clown Face","b":"1F921","j":["face"],"k":[38,18],"o":4},"lollipop":{"a":"Lollipop","b":"1F36D","j":["food","snack","candy","sweet"],"k":[7,12],"o":2},"flag-gl":{"a":"Greenland Flag","b":"1F1EC-1F1F1","k":[2,5],"o":2},"vhs":{"a":"Videocassette","b":"1F4FC","j":["record","video","oldschool","90s","80s"],"k":[27,25],"o":2},"bug":{"a":"Bug","b":"1F41B","j":["animal","insect","nature","worm"],"k":[11,56],"o":2},"bike":{"a":"Bicycle","b":"1F6B2","j":["sports","bicycle","exercise","hipster"],"k":[35,9],"o":2},"man-bowing":{"obsoletes":"1F647","a":"Man Bowing","b":"1F647-200D-2642-FE0F","c":"1F647-200D-2642","k":[32,32],"o":4},"female_sign":{"a":"Female Sign","b":"2640-FE0F","c":"2640","k":[53,18],"o":4},"japanese_ogre":{"a":"Japanese Ogre","b":"1F479","j":["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],"k":[23,34],"o":2},"custard":{"a":"Custard","b":"1F36E","j":["dessert","food"],"k":[7,13],"o":2},"ant":{"a":"Ant","b":"1F41C","j":["animal","insect","nature","bug"],"k":[12,0],"o":2},"mag":{"a":"Left-Pointing Magnifying Glass","b":"1F50D","j":["search","zoom","find","detective"],"k":[27,41],"o":2},"flag-gm":{"a":"Gambia Flag","b":"1F1EC-1F1F2","k":[2,6],"o":2},"honey_pot":{"a":"Honey Pot","b":"1F36F","j":["bees","sweet","kitchen"],"k":[7,14],"o":2},"woman-bowing":{"a":"Woman Bowing","b":"1F647-200D-2640-FE0F","c":"1F647-200D-2640","k":[32,26],"o":4},"male_sign":{"a":"Male Sign","b":"2642-FE0F","c":"2642","k":[53,19],"o":4},"mag_right":{"a":"Right-Pointing Magnifying Glass","b":"1F50E","j":["search","zoom","find","detective"],"k":[27,42],"o":2},"japanese_goblin":{"a":"Japanese Goblin","b":"1F47A","j":["red","evil","mask","monster","scary","creepy","japanese","goblin"],"k":[23,35],"o":2},"scooter":{"a":"Scooter","b":"1F6F4","k":[36,53],"o":4},"bee":{"a":"Honeybee","b":"1F41D","k":[12,1],"n":["honeybee"],"o":2},"flag-gn":{"a":"Guinea Flag","b":"1F1EC-1F1F3","k":[2,7],"o":2},"candle":{"a":"Candle","b":"1F56F-FE0F","c":"1F56F","j":["fire","wax"],"k":[29,6],"o":2},"skateboard":{"a":"Skateboard","b":"1F6F9","k":[37,1],"o":11},"medical_symbol":{"a":"Medical Symbol","b":"2695-FE0F","c":"2695","k":[53,44],"n":["staff_of_aesculapius"],"o":4},"ghost":{"a":"Ghost","b":"1F47B","j":["halloween","spooky","scary"],"k":[23,36],"o":2},"beetle":{"a":"Lady Beetle","b":"1F41E","j":["animal","insect","nature","ladybug"],"k":[12,2],"o":2},"flag-gp":{"a":"Guadeloupe Flag","b":"1F1EC-1F1F5","k":[2,8],"o":2},"baby_bottle":{"a":"Baby Bottle","b":"1F37C","j":["food","container","milk"],"k":[7,27],"o":2},"infinity":{"a":"Infinity","b":"267E-FE0F","c":"267E","k":[53,39],"o":11},"glass_of_milk":{"a":"Glass of Milk","b":"1F95B","k":[41,42],"o":4},"man-facepalming":{"a":"Man Facepalming","b":"1F926-200D-2642-FE0F","c":"1F926-200D-2642","k":[38,29],"o":4},"cricket":{"a":"Cricket","b":"1F997","j":["sports"],"k":[42,41],"o":5},"busstop":{"a":"Bus Stop","b":"1F68F","j":["transportation","wait"],"k":[34,14],"o":2},"flag-gq":{"a":"Equatorial Guinea Flag","b":"1F1EC-1F1F6","k":[2,9],"o":2},"alien":{"a":"Extraterrestrial Alien","b":"1F47D","j":["UFO","paul","weird","outer_space"],"k":[23,43],"o":2},"bulb":{"a":"Electric Light Bulb","b":"1F4A1","j":["light","electricity","idea"],"k":[25,43],"o":2},"woman-facepalming":{"a":"Woman Facepalming","b":"1F926-200D-2640-FE0F","c":"1F926-200D-2640","k":[38,23],"o":4},"spider":{"a":"Spider","b":"1F577-FE0F","c":"1F577","j":["animal","arachnid"],"k":[29,34],"o":2},"space_invader":{"a":"Alien Monster","b":"1F47E","j":["game","arcade","play"],"k":[23,44],"o":2},"motorway":{"a":"Motorway","b":"1F6E3-FE0F","c":"1F6E3","j":["road","cupertino","interstate","highway"],"k":[36,45],"o":2},"flag-gr":{"a":"Greece Flag","b":"1F1EC-1F1F7","k":[2,10],"o":2},"recycle":{"a":"Black Universal Recycling Symbol","b":"267B-FE0F","c":"267B","j":["arrow","environment","garbage","trash"],"k":[53,38],"o":2},"coffee":{"a":"Hot Beverage","b":"2615","j":["beverage","caffeine","latte","espresso"],"k":[53,0],"o":2},"flashlight":{"a":"Electric Torch","b":"1F526","j":["dark","camping","sight","night"],"k":[28,9],"o":2},"spider_web":{"a":"Spider Web","b":"1F578-FE0F","c":"1F578","j":["animal","insect","arachnid","silk"],"k":[29,35],"o":2},"izakaya_lantern":{"a":"Izakaya Lantern","b":"1F3EE","j":["light","paper","halloween","spooky"],"k":[11,8],"n":["lantern"],"o":2},"flag-gs":{"a":"South Georgia & South Sandwich Islands Flag","b":"1F1EC-1F1F8","k":[2,11],"o":2},"fleur_de_lis":{"a":"Fleur De Lis","b":"269C-FE0F","c":"269C","j":["decorative","scout"],"k":[53,49],"o":2},"robot_face":{"a":"Robot Face","b":"1F916","k":[37,29],"o":2},"railway_track":{"a":"Railway Track","b":"1F6E4-FE0F","c":"1F6E4","j":["train","transportation"],"k":[36,46],"o":2},"tea":{"a":"Teacup Without Handle","b":"1F375","j":["drink","bowl","breakfast","green","british"],"k":[7,20],"o":2},"flag-gt":{"a":"Guatemala Flag","b":"1F1EC-1F1F9","k":[2,12],"o":2},"oil_drum":{"a":"Oil Drum","b":"1F6E2-FE0F","c":"1F6E2","j":["barrell"],"k":[36,44],"o":2},"diya_lamp":{"a":"Diya Lamp","b":"1FA94","k":[52,8],"o":12},"sake":{"a":"Sake Bottle and Cup","b":"1F376","j":["wine","drink","drunk","beverage","japanese","alcohol","booze"],"k":[7,21],"o":2},"trident":{"a":"Trident Emblem","b":"1F531","j":["weapon","spear"],"k":[28,20],"o":2},"man-shrugging":{"a":"Man Shrugging","b":"1F937-200D-2642-FE0F","c":"1F937-200D-2642","k":[39,41],"o":4},"smiley_cat":{"a":"Smiling Cat Face with Open Mouth","b":"1F63A","j":["animal","cats","happy","smile"],"k":[31,36],"o":2},"scorpion":{"a":"Scorpion","b":"1F982","j":["animal","arachnid"],"k":[42,20],"o":2},"woman-shrugging":{"a":"Woman Shrugging","b":"1F937-200D-2640-FE0F","c":"1F937-200D-2640","k":[39,35],"o":4},"notebook_with_decorative_cover":{"a":"Notebook with Decorative Cover","b":"1F4D4","j":["classroom","notes","record","paper","study"],"k":[26,42],"o":2},"fuelpump":{"a":"Fuel Pump","b":"26FD","j":["gas station","petroleum"],"k":[54,38],"o":2},"name_badge":{"a":"Name Badge","b":"1F4DB","j":["fire","forbid"],"k":[26,49],"o":2},"mosquito":{"a":"Mosquito","b":"1F99F","k":[42,49],"o":11},"flag-gu":{"a":"Guam Flag","b":"1F1EC-1F1FA","k":[2,13],"o":2},"smile_cat":{"a":"Grinning Cat Face with Smiling Eyes","b":"1F638","j":["animal","cats","smile"],"k":[31,34],"o":2},"champagne":{"a":"Bottle with Popping Cork","b":"1F37E","j":["drink","wine","bottle","celebration"],"k":[7,29],"o":2},"joy_cat":{"a":"Cat Face with Tears of Joy","b":"1F639","j":["animal","cats","haha","happy","tears"],"k":[31,35],"o":2},"closed_book":{"a":"Closed Book","b":"1F4D5","j":["read","library","knowledge","textbook","learn"],"k":[26,43],"o":2},"rotating_light":{"a":"Police Cars Revolving Light","b":"1F6A8","j":["police","ambulance","911","emergency","alert","error","pinged","law","legal"],"k":[34,56],"o":2},"microbe":{"a":"Microbe","b":"1F9A0","k":[42,50],"o":11},"flag-gw":{"a":"Guinea-Bissau Flag","b":"1F1EC-1F1FC","k":[2,14],"o":2},"wine_glass":{"a":"Wine Glass","b":"1F377","j":["drink","beverage","drunk","alcohol","booze"],"k":[7,22],"o":2},"beginner":{"a":"Japanese Symbol for Beginner","b":"1F530","j":["badge","shield"],"k":[28,19],"o":2},"bouquet":{"a":"Bouquet","b":"1F490","j":["flowers","nature","spring"],"k":[25,26],"o":2},"heart_eyes_cat":{"a":"Smiling Cat Face with Heart-Shaped Eyes","b":"1F63B","j":["animal","love","like","affection","cats","valentines","heart"],"k":[31,37],"o":2},"male-doctor":{"a":"Male Doctor","b":"1F468-200D-2695-FE0F","c":"1F468-200D-2695","k":[17,2],"o":4},"book":{"a":"Open Book","b":"1F4D6","k":[26,44],"n":["open_book"],"o":2},"traffic_light":{"a":"Horizontal Traffic Light","b":"1F6A5","j":["transportation","signal"],"k":[34,53],"o":2},"cocktail":{"a":"Cocktail Glass","b":"1F378","j":["drink","drunk","alcohol","beverage","booze","mojito"],"k":[7,23],"o":2},"o":{"a":"Heavy Large Circle","b":"2B55","j":["circle","round"],"k":[55,43],"o":2},"flag-gy":{"a":"Guyana Flag","b":"1F1EC-1F1FE","k":[2,15],"o":2},"female-doctor":{"a":"Female Doctor","b":"1F469-200D-2695-FE0F","c":"1F469-200D-2695","k":[19,44],"o":4},"smirk_cat":{"a":"Cat Face with Wry Smile","b":"1F63C","j":["animal","cats","smirk"],"k":[31,38],"o":2},"green_book":{"a":"Green Book","b":"1F4D7","j":["read","library","knowledge","study"],"k":[26,45],"o":2},"cherry_blossom":{"a":"Cherry Blossom","b":"1F338","j":["nature","plant","spring","flower"],"k":[6,16],"o":2},"flag-hk":{"a":"Hong Kong Sar China Flag","b":"1F1ED-1F1F0","k":[2,16],"o":2},"vertical_traffic_light":{"a":"Vertical Traffic Light","b":"1F6A6","j":["transportation","driving"],"k":[34,54],"o":2},"white_check_mark":{"a":"White Heavy Check Mark","b":"2705","j":["green-square","ok","agree","vote","election","answer","tick"],"k":[54,40],"o":2},"tropical_drink":{"a":"Tropical Drink","b":"1F379","j":["beverage","cocktail","summer","beach","alcohol","booze","mojito"],"k":[7,24],"o":2},"kissing_cat":{"a":"Kissing Cat Face with Closed Eyes","b":"1F63D","j":["animal","cats","kiss"],"k":[31,39],"o":2},"flag-hm":{"a":"Heard & Mcdonald Islands Flag","b":"1F1ED-1F1F2","k":[2,17],"o":2},"octagonal_sign":{"a":"Octagonal Sign","b":"1F6D1","k":[36,39],"o":4},"white_flower":{"a":"White Flower","b":"1F4AE","j":["japanese","spring"],"k":[26,4],"o":2},"ballot_box_with_check":{"a":"Ballot Box with Check","b":"2611-FE0F","c":"2611","j":["ok","agree","confirm","black-square","vote","election","yes","tick"],"k":[52,55],"o":2},"blue_book":{"a":"Blue Book","b":"1F4D8","j":["read","library","knowledge","learn","study"],"k":[26,46],"o":2},"beer":{"a":"Beer Mug","b":"1F37A","j":["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],"k":[7,25],"o":2},"construction":{"a":"Construction Sign","b":"1F6A7","j":["wip","progress","caution","warning"],"k":[34,55],"o":2},"rosette":{"a":"Rosette","b":"1F3F5-FE0F","c":"1F3F5","j":["flower","decoration","military"],"k":[11,18],"o":2},"heavy_check_mark":{"a":"Heavy Check Mark","b":"2714-FE0F","c":"2714","j":["ok","nike","answer","yes","tick"],"k":[55,12],"o":2},"scream_cat":{"a":"Weary Cat Face","b":"1F640","j":["animal","cats","munch","scared","scream"],"k":[31,42],"o":2},"orange_book":{"a":"Orange Book","b":"1F4D9","j":["read","library","knowledge","textbook","study"],"k":[26,47],"o":2},"beers":{"a":"Clinking Beer Mugs","b":"1F37B","j":["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],"k":[7,26],"o":2},"male-student":{"a":"Male Student","b":"1F468-200D-1F393","k":[14,50],"o":4},"flag-hn":{"a":"Honduras Flag","b":"1F1ED-1F1F3","k":[2,18],"o":2},"crying_cat_face":{"a":"Crying Cat Face","b":"1F63F","j":["animal","tears","weep","sad","cats","upset","cry"],"k":[31,41],"o":2},"anchor":{"a":"Anchor","b":"2693","j":["ship","ferry","sea","boat"],"k":[53,42],"o":2},"flag-hr":{"a":"Croatia Flag","b":"1F1ED-1F1F7","k":[2,19],"o":2},"heavy_multiplication_x":{"a":"Heavy Multiplication X","b":"2716-FE0F","c":"2716","j":["math","calculation"],"k":[55,13],"o":2},"female-student":{"a":"Female Student","b":"1F469-200D-1F393","k":[17,40],"o":4},"rose":{"a":"Rose","b":"1F339","j":["flowers","valentines","love","spring"],"k":[6,17],"o":2},"books":{"a":"Books","b":"1F4DA","j":["literature","library","study"],"k":[26,48],"o":2},"clinking_glasses":{"a":"Clinking Glasses","b":"1F942","j":["beverage","drink","party","alcohol","celebrate","cheers"],"k":[41,18],"o":4},"x":{"a":"Cross Mark","b":"274C","j":["no","delete","remove","cancel"],"k":[55,21],"o":2},"pouting_cat":{"a":"Pouting Cat Face","b":"1F63E","j":["animal","cats"],"k":[31,40],"o":2},"wilted_flower":{"a":"Wilted Flower","b":"1F940","j":["plant","nature","flower"],"k":[41,16],"o":4},"boat":{"a":"Sailboat","b":"26F5","k":[54,16],"n":["sailboat"],"o":2},"flag-ht":{"a":"Haiti Flag","b":"1F1ED-1F1F9","k":[2,20],"o":2},"tumbler_glass":{"a":"Tumbler Glass","b":"1F943","j":["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],"k":[41,19],"o":4},"notebook":{"a":"Notebook","b":"1F4D3","j":["stationery","record","notes","paper","study"],"k":[26,41],"o":2},"male-teacher":{"a":"Male Teacher","b":"1F468-200D-1F3EB","k":[15,11],"o":4},"ledger":{"a":"Ledger","b":"1F4D2","j":["notes","paper"],"k":[26,40],"o":2},"flag-hu":{"a":"Hungary Flag","b":"1F1ED-1F1FA","k":[2,21],"o":2},"cup_with_straw":{"a":"Cup with Straw","b":"1F964","k":[41,51],"o":5},"hibiscus":{"a":"Hibiscus","b":"1F33A","j":["plant","vegetable","flowers","beach"],"k":[6,18],"o":2},"see_no_evil":{"a":"See-No-Evil Monkey","b":"1F648","j":["monkey","animal","nature","haha"],"k":[32,44],"o":2},"canoe":{"a":"Canoe","b":"1F6F6","j":["boat","paddle","water","ship"],"k":[36,55],"o":4},"negative_squared_cross_mark":{"a":"Negative Squared Cross Mark","b":"274E","j":["x","green-square","no","deny"],"k":[55,22],"o":2},"flag-ic":{"a":"Canary Islands Flag","b":"1F1EE-1F1E8","k":[2,22],"o":2},"beverage_box":{"a":"Beverage Box","b":"1F9C3","k":[44,11],"o":12},"speedboat":{"a":"Speedboat","b":"1F6A4","j":["ship","transportation","vehicle","summer"],"k":[34,52],"o":2},"heavy_plus_sign":{"a":"Heavy Plus Sign","b":"2795","j":["math","calculation","addition","more","increase"],"k":[55,29],"o":2},"sunflower":{"a":"Sunflower","b":"1F33B","j":["nature","plant","fall"],"k":[6,19],"o":2},"page_with_curl":{"a":"Page with Curl","b":"1F4C3","j":["documents","office","paper"],"k":[26,25],"o":2},"female-teacher":{"a":"Female Teacher","b":"1F469-200D-1F3EB","k":[18,1],"o":4},"hear_no_evil":{"a":"Hear-No-Evil Monkey","b":"1F649","j":["animal","monkey","nature"],"k":[32,45],"o":2},"mate_drink":{"a":"Mate Drink","b":"1F9C9","k":[44,17],"o":12},"passenger_ship":{"a":"Passenger Ship","b":"1F6F3-FE0F","c":"1F6F3","j":["yacht","cruise","ferry"],"k":[36,52],"o":2},"scroll":{"a":"Scroll","b":"1F4DC","j":["documents","ancient","history","paper"],"k":[26,50],"o":2},"blossom":{"a":"Blossom","b":"1F33C","j":["nature","flowers","yellow"],"k":[6,20],"o":2},"flag-id":{"a":"Indonesia Flag","b":"1F1EE-1F1E9","k":[2,23],"o":2},"speak_no_evil":{"a":"Speak-No-Evil Monkey","b":"1F64A","j":["monkey","animal","nature","omg"],"k":[32,46],"o":2},"heavy_minus_sign":{"a":"Heavy Minus Sign","b":"2796","j":["math","calculation","subtract","less"],"k":[55,30],"o":2},"flag-ie":{"a":"Ireland Flag","b":"1F1EE-1F1EA","k":[2,24],"o":2},"ice_cube":{"a":"Ice Cube","b":"1F9CA","k":[44,18],"o":12},"page_facing_up":{"a":"Page Facing Up","b":"1F4C4","j":["documents","office","paper","information"],"k":[26,26],"o":2},"male-judge":{"a":"Male Judge","b":"1F468-200D-2696-FE0F","c":"1F468-200D-2696","k":[17,8],"o":4},"tulip":{"a":"Tulip","b":"1F337","j":["flowers","plant","nature","summer","spring"],"k":[6,15],"o":2},"ferry":{"a":"Ferry","b":"26F4-FE0F","c":"26F4","j":["boat","ship","yacht"],"k":[54,15],"o":2},"kiss":{"a":"Kiss Mark","b":"1F48B","j":["face","lips","love","like","affection","valentines"],"k":[25,21],"o":2},"heavy_division_sign":{"a":"Heavy Division Sign","b":"2797","j":["divide","math","calculation"],"k":[55,31],"o":2},"newspaper":{"a":"Newspaper","b":"1F4F0","j":["press","headline"],"k":[27,13],"o":2},"female-judge":{"a":"Female Judge","b":"1F469-200D-2696-FE0F","c":"1F469-200D-2696","k":[19,50],"o":4},"seedling":{"a":"Seedling","b":"1F331","j":["plant","nature","grass","lawn","spring"],"k":[6,9],"o":2},"love_letter":{"a":"Love Letter","b":"1F48C","j":["email","like","affection","envelope","valentines"],"k":[25,22],"o":2},"chopsticks":{"a":"Chopsticks","b":"1F962","k":[41,49],"o":5},"motor_boat":{"a":"Motor Boat","b":"1F6E5-FE0F","c":"1F6E5","j":["ship"],"k":[36,47],"o":2},"flag-il":{"a":"Israel Flag","b":"1F1EE-1F1F1","k":[2,25],"o":2},"curly_loop":{"a":"Curly Loop","b":"27B0","j":["scribble","draw","shape","squiggle"],"k":[55,33],"o":2},"flag-im":{"a":"Isle of Man Flag","b":"1F1EE-1F1F2","k":[2,26],"o":2},"evergreen_tree":{"a":"Evergreen Tree","b":"1F332","j":["plant","nature"],"k":[6,10],"o":2},"cupid":{"a":"Heart with Arrow","b":"1F498","j":["love","like","heart","affection","valentines"],"k":[25,34],"o":2},"loop":{"a":"Double Curly Loop","b":"27BF","j":["tape","cassette"],"k":[55,34],"o":2},"ship":{"a":"Ship","b":"1F6A2","j":["transportation","titanic","deploy"],"k":[34,33],"o":2},"rolled_up_newspaper":{"a":"Rolled Up Newspaper","b":"1F5DE-FE0F","c":"1F5DE","k":[30,23],"o":2},"knife_fork_plate":{"a":"Knife Fork Plate","b":"1F37D-FE0F","c":"1F37D","k":[7,28],"o":2},"fork_and_knife":{"a":"Fork and Knife","b":"1F374","j":["cutlery","kitchen"],"k":[7,19],"o":2},"male-farmer":{"a":"Male Farmer","b":"1F468-200D-1F33E","k":[14,38],"o":4},"bookmark_tabs":{"a":"Bookmark Tabs","b":"1F4D1","j":["favorite","save","order","tidy"],"k":[26,39],"o":2},"part_alternation_mark":{"a":"Part Alternation Mark","b":"303D-FE0F","c":"303D","j":["graph","presentation","stats","business","economics","bad"],"k":[55,45],"o":2},"flag-in":{"a":"India Flag","b":"1F1EE-1F1F3","k":[2,27],"o":2},"gift_heart":{"a":"Heart with Ribbon","b":"1F49D","j":["love","valentines"],"k":[25,39],"o":2},"airplane":{"a":"Airplane","b":"2708-FE0F","c":"2708","j":["vehicle","transportation","flight","fly"],"k":[54,41],"o":2},"deciduous_tree":{"a":"Deciduous Tree","b":"1F333","j":["plant","nature"],"k":[6,11],"o":2},"spoon":{"a":"Spoon","b":"1F944","j":["cutlery","kitchen","tableware"],"k":[41,20],"o":4},"flag-io":{"a":"British Indian Ocean Territory Flag","b":"1F1EE-1F1F4","k":[2,28],"o":2},"palm_tree":{"a":"Palm Tree","b":"1F334","j":["plant","vegetable","nature","summer","beach","mojito","tropical"],"k":[6,12],"o":2},"sparkling_heart":{"a":"Sparkling Heart","b":"1F496","j":["love","like","affection","valentines"],"k":[25,32],"o":2},"female-farmer":{"a":"Female Farmer","b":"1F469-200D-1F33E","k":[17,28],"o":4},"eight_spoked_asterisk":{"a":"Eight Spoked Asterisk","b":"2733-FE0F","c":"2733","j":["star","sparkle","green-square"],"k":[55,17],"o":2},"small_airplane":{"a":"Small Airplane","b":"1F6E9-FE0F","c":"1F6E9","j":["flight","transportation","fly","vehicle"],"k":[36,48],"o":2},"bookmark":{"a":"Bookmark","b":"1F516","j":["favorite","label","save"],"k":[27,50],"o":2},"eight_pointed_black_star":{"a":"Eight Pointed Black Star","b":"2734-FE0F","c":"2734","j":["orange-square","shape","polygon"],"k":[55,18],"o":2},"heartpulse":{"a":"Growing Heart","b":"1F497","j":["like","love","affection","valentines","pink"],"k":[25,33],"o":2},"label":{"a":"Label","b":"1F3F7-FE0F","c":"1F3F7","j":["sale","tag"],"k":[11,19],"o":2},"flag-iq":{"a":"Iraq Flag","b":"1F1EE-1F1F6","k":[2,29],"o":2},"hocho":{"a":"Hocho","b":"1F52A","j":["knife","blade","cutlery","kitchen","weapon"],"k":[28,13],"n":["knife"],"o":2},"cactus":{"a":"Cactus","b":"1F335","j":["vegetable","plant","nature"],"k":[6,13],"o":2},"airplane_departure":{"a":"Airplane Departure","b":"1F6EB","k":[36,49],"o":2},"airplane_arriving":{"a":"Airplane Arriving","b":"1F6EC","k":[36,50],"o":2},"ear_of_rice":{"a":"Ear of Rice","b":"1F33E","j":["nature","plant"],"k":[6,22],"o":2},"flag-ir":{"a":"Iran Flag","b":"1F1EE-1F1F7","k":[2,30],"o":2},"moneybag":{"a":"Money Bag","b":"1F4B0","j":["dollar","payment","coins","sale"],"k":[26,6],"o":2},"male-cook":{"a":"Male Cook","b":"1F468-200D-1F373","k":[14,44],"o":4},"heartbeat":{"a":"Beating Heart","b":"1F493","j":["love","like","affection","valentines","pink","heart"],"k":[25,29],"o":2},"sparkle":{"a":"Sparkle","b":"2747-FE0F","c":"2747","j":["stars","green-square","awesome","good","fireworks"],"k":[55,20],"o":2},"amphora":{"a":"Amphora","b":"1F3FA","j":["vase","jar"],"k":[11,22],"o":2},"yen":{"a":"Banknote with Yen Sign","b":"1F4B4","j":["money","sales","japanese","dollar","currency"],"k":[26,10],"o":2},"revolving_hearts":{"a":"Revolving Hearts","b":"1F49E","j":["love","like","affection","valentines"],"k":[25,40],"o":2},"bangbang":{"a":"Double Exclamation Mark","b":"203C-FE0F","c":"203C","j":["exclamation","surprise"],"k":[52,10],"o":2},"parachute":{"a":"Parachute","b":"1FA82","k":[52,3],"o":12},"herb":{"a":"Herb","b":"1F33F","j":["vegetable","plant","medicine","weed","grass","lawn"],"k":[6,23],"o":2},"flag-is":{"a":"Iceland Flag","b":"1F1EE-1F1F8","k":[2,31],"o":2},"female-cook":{"a":"Female Cook","b":"1F469-200D-1F373","k":[17,34],"o":4},"interrobang":{"a":"Exclamation Question Mark","b":"2049-FE0F","c":"2049","j":["wat","punctuation","surprise"],"k":[52,11],"o":2},"seat":{"a":"Seat","b":"1F4BA","j":["sit","airplane","transport","bus","flight","fly"],"k":[26,16],"o":2},"dollar":{"a":"Banknote with Dollar Sign","b":"1F4B5","j":["money","sales","bill","currency"],"k":[26,11],"o":2},"two_hearts":{"a":"Two Hearts","b":"1F495","j":["love","like","affection","valentines","heart"],"k":[25,31],"o":2},"it":{"a":"Italy Flag","b":"1F1EE-1F1F9","j":["italy","flag","nation","country","banner"],"k":[2,32],"n":["flag-it"],"o":2},"shamrock":{"a":"Shamrock","b":"2618-FE0F","c":"2618","j":["vegetable","plant","nature","irish","clover"],"k":[53,1],"o":2},"four_leaf_clover":{"a":"Four Leaf Clover","b":"1F340","j":["vegetable","plant","nature","lucky","irish"],"k":[6,24],"o":2},"euro":{"a":"Banknote with Euro Sign","b":"1F4B6","j":["money","sales","dollar","currency"],"k":[26,12],"o":2},"question":{"a":"Black Question Mark Ornament","b":"2753","j":["doubt","confused"],"k":[55,23],"o":2},"helicopter":{"a":"Helicopter","b":"1F681","j":["transportation","vehicle","fly"],"k":[34,0],"o":2},"heart_decoration":{"a":"Heart Decoration","b":"1F49F","j":["purple-square","love","like"],"k":[25,41],"o":2},"flag-je":{"a":"Jersey Flag","b":"1F1EF-1F1EA","k":[2,33],"o":2},"male-mechanic":{"a":"Male Mechanic","b":"1F468-200D-1F527","k":[15,50],"o":4},"suspension_railway":{"a":"Suspension Railway","b":"1F69F","j":["vehicle","transportation"],"k":[34,30],"o":2},"heavy_heart_exclamation_mark_ornament":{"a":"Heavy Heart Exclamation Mark Ornament","b":"2763-FE0F","c":"2763","k":[55,27],"o":2},"female-mechanic":{"a":"Female Mechanic","b":"1F469-200D-1F527","k":[18,35],"o":4},"flag-jm":{"a":"Jamaica Flag","b":"1F1EF-1F1F2","k":[2,34],"o":2},"grey_question":{"a":"White Question Mark Ornament","b":"2754","j":["doubts","gray","huh","confused"],"k":[55,24],"o":2},"maple_leaf":{"a":"Maple Leaf","b":"1F341","j":["nature","plant","vegetable","ca","fall"],"k":[6,25],"o":2},"pound":{"a":"Banknote with Pound Sign","b":"1F4B7","j":["british","sterling","money","sales","bills","uk","england","currency"],"k":[26,13],"o":2},"money_with_wings":{"a":"Money with Wings","b":"1F4B8","j":["dollar","bills","payment","sale"],"k":[26,14],"o":2},"flag-jo":{"a":"Jordan Flag","b":"1F1EF-1F1F4","k":[2,35],"o":2},"fallen_leaf":{"a":"Fallen Leaf","b":"1F342","j":["nature","plant","vegetable","leaves"],"k":[6,26],"o":2},"broken_heart":{"a":"Broken Heart","b":"1F494","j":["sad","sorry","break","heart","heartbreak"],"k":[25,30],"l":["0&&eo(),document.addEventListener("visibilitychange",r),j.on("connection.changed",eu),j.on("connection.recovered",eu),j.on("user.updated",eu),j.on("user.deleted",eu),a.on(eu)),[2]}})}),function(){!e&&t&&(document.removeEventListener("visibilitychange",r),null==a||a.off(eu),j.off("connection.changed",eu),j.off("connection.recovered",eu),j.off("user.updated",eu),j.off("user.deleted",eu),K.forEach(clearTimeout))}},[a.cid,o,u,null==z?void 0:z.read_events,y]),(0,el.useEffect)(function(){if(J.thread){var e,t=null===(e=J.messages)||void 0===e?void 0:e.find(function(e){var t;return e.id===(null===(t=J.thread)||void 0===t?void 0:t.id)});t&&X({message:t,type:"setThread"})}},[J.messages,J.thread]);var ed=function(e,t){if("string"==typeof e&&("success"===t||"error"===t)){var r=c9();W(function(i){return ip(ip([],i,!0),[{id:r,text:e,type:t}],!1)});var i=setTimeout(function(){return W(function(e){return e.filter(function(e){return e.id!==r})})},5e3);K.push(i)}},ep=cD()(function(e,t){Q.current&&X({hasMore:e,messages:t,type:"loadMoreFinished"})},2e3,{leading:!0,trailing:!0}),ef=function(e){return void 0===e&&(e=100),il(void 0,void 0,void 0,function(){var t,r,i,o,s;return ic(this,function(l){switch(l.label){case 0:if(!en.current||!window.navigator.onLine||!J.hasMore||(t=null===(s=null==J?void 0:J.messages)||void 0===s?void 0:s[0],J.loadingMore||J.loadingMoreNewer||(null==t?void 0:t.status)!=="received"))return[2,0];X({loadingMore:!0,type:"setLoadingMore"}),r=null==t?void 0:t.id,i=e,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,a.query({messages:{id_lt:r,limit:i},watchers:{limit:i}})];case 2:return o=l.sent(),[3,4];case 3:return console.warn("message pagination request failed with error",l.sent()),X({loadingMore:!1,type:"setLoadingMore"}),[2,0];case 4:return ep(o.messages.length===i,a.state.messages),[2,o.messages.length]}})})},eh=function(e){return void 0===e&&(e=100),il(void 0,void 0,void 0,function(){var t,r,i,o,s,l;return ic(this,function(u){switch(u.label){case 0:if(!en.current||!window.navigator.onLine||(t=null===(s=null==J?void 0:J.messages)||void 0===s?void 0:s[(null===(l=null==J?void 0:J.messages)||void 0===l?void 0:l.length)-1],J.loadingMore||J.loadingMoreNewer))return[2,0];X({loadingMoreNewer:!0,type:"setLoadingMoreNewer"}),r=null==t?void 0:t.id,i=e,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,a.query({messages:{id_gt:r,limit:i},watchers:{limit:i}})];case 2:return o=u.sent(),[3,4];case 3:return console.warn("message pagination request failed with error",u.sent()),X({loadingMoreNewer:!1,type:"setLoadingMoreNewer"}),[2,0];case 4:return X({hasMoreNewer:a.state.messages!==a.state.latestMessages,messages:a.state.messages,type:"loadMoreNewerFinished"}),[2,o.messages.length]}})})},em=(0,el.useRef)(null),eg=function(e,t){return void 0===t&&(t=100),il(void 0,void 0,void 0,function(){return ic(this,function(r){switch(r.label){case 0:return X({loadingMore:!0,type:"setLoadingMore"}),[4,a.state.loadMessageIntoState(e,void 0,t)];case 1:return r.sent(),ep(a.state.messages.findIndex(function(t){return t.id===e})>=Math.floor(t/2),a.state.messages),X({hasMoreNewer:a.state.messages!==a.state.latestMessages,highlightedMessageId:e,type:"jumpToMessageFinished"}),em.current&&clearTimeout(em.current),em.current=setTimeout(function(){em.current=null,X({type:"clearHighlightedMessage"})},500),[2]}})})},ev=function(){return il(void 0,void 0,void 0,function(){return ic(this,function(e){switch(e.label){case 0:return[4,a.state.loadMessageIntoState("latest")];case 1:return e.sent(),ep(a.state.messages.length>=25,a.state.messages),X({type:"jumpToLatestMessage"}),[2]}})})},eb=(0,el.useCallback)(function(e){return il(void 0,void 0,void 0,function(){var t;return ic(this,function(r){switch(r.label){case 0:if(!(null==e?void 0:e.id))throw Error("Cannot delete a message - missing message ID.");if(!l)return[3,2];return[4,l(e)];case 1:return t=r.sent(),[3,4];case 2:return[4,j.deleteMessage(e.id)];case 3:t=r.sent().message,r.label=4;case 4:return[2,t]}})})},[j,l]),ey=function(e){a.state.addMessageSorted(e,!0),X({channel:a,parentId:J.thread&&e.parent_id,type:"copyMessagesFromChannel"})},e_=function(e){var t;return(null===(t=e[0])||void 0===t?void 0:t.id)!=null},ew=function(e,t,r){return il(void 0,void 0,void 0,function(){var i,o,s,l,u,p,f,m,g,v,b,y,_,w,k,x,E;return ic(this,function(F){switch(F.label){case 0:i=e.attachments,o=e.id,l=void 0===(s=e.mentioned_users)?[]:s,u=e.parent_id,p=e.text,f=e_(l)?l.map(function(e){return e.id}):l,m=io({attachments:i,id:o,mentioned_users:f,parent_id:u,quoted_message_id:u===(null==G?void 0:G.parent_id)?null==G?void 0:G.id:void 0,text:p},t),F.label=1;case 1:if(F.trys.push([1,6,,7]),g=void 0,!d)return[3,3];return[4,d(a.cid,m,r)];case 2:return g=F.sent(),[3,5];case 3:return[4,a.sendMessage(m,r)];case 4:g=F.sent(),F.label=5;case 5:for(v=void 0,b=a.state.messages.length-1;b>=0;b--)if((y=a.state.messages[b]).id===m.id){v=y;break}return _=new Date((null===(x=null==g?void 0:g.message)||void 0===x?void 0:x.updated_at)||0).getTime()>((null===(E=null==v?void 0:v.updated_at)||void 0===E?void 0:E.getTime())||0),(null==g?void 0:g.message)&&(_||(null==v?void 0:v.status)==="sending")&&ey(io(io({},g.message),{status:"received"})),G&&u===(null==G?void 0:G.parent_id)&&Y(void 0),[3,7];case 6:return k=(w=JSON.stringify(F.sent()))?JSON.parse(w):{},ey(io(io({},e),{error:k,errorStatusCode:k.status||void 0,status:"failed"})),[3,7];case 7:return[2]}})})},ek=function(e,t,r){var i=e.attachments,o=void 0===i?[]:i,s=e.mentioned_users,l=void 0===s?[]:s,u=e.parent,d=e.text,p=void 0===d?"":d;return il(void 0,void 0,void 0,function(){var e,i;return ic(this,function(s){switch(s.label){case 0:return a.state.filterErrorMessages(),ey(e=io({__html:p,attachments:o,created_at:new Date,html:p,id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:"".concat(j.userID,"-").concat(c9()),mentioned_users:l,reactions:[],status:"sending",text:p,type:"regular",user:j.user},(null==u?void 0:u.id)?{parent_id:u.id}:null)),[4,ew(e,t,r)];case 1:return s.sent(),[2]}})})},ex=function(e){return il(void 0,void 0,void 0,function(){return ic(this,function(t){switch(t.label){case 0:return ey(io(io({},e),{errorStatusCode:void 0,status:"sending"})),e.attachments&&(e.attachments=e.attachments.filter(function(e){return!e.og_scrape_url})),[4,ew(e)];case 1:return t.sent(),[2]}})})},eE=function(e){a.state.removeMessage(e),X({channel:a,parentId:J.thread&&e.parent_id,type:"copyMessagesFromChannel"})},eF=function(e,t){null==t||t.preventDefault(),Y(function(t){if((null==t?void 0:t.parent_id)===(null==e?void 0:e.parent_id))return t}),X({channel:a,message:e,type:"openThread"})},eC=function(e){null==e||e.preventDefault(),X({type:"closeThread"})},eS=cD()(function(e,t){X({threadHasMore:e,threadMessages:t,type:"loadMoreThreadFinished"})},2e3,{leading:!0,trailing:!0}),eD=function(e){return void 0===e&&(e=50),il(void 0,void 0,void 0,function(){var t,r,i,o;return ic(this,function(s){switch(s.label){case 0:if(J.threadLoadingMore||!J.thread)return[2];if(X({type:"startLoadingThread"}),!(t=J.thread.id))return[2,X({type:"closeThread"})];i=null===(o=(r=a.state.threads[t]||[])[0])||void 0===o?void 0:o.id,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,a.getReplies(t,{id_lt:i,limit:e})];case 2:return eS(bE(s.sent().messages.length,e),a.state.threads[t]||[]),[3,4];case 3:return s.sent(),eS(!1,r),[3,4];case 4:return[2]}})})},ej=(0,el.useCallback)(function(e,t){if((F||E)&&e.target instanceof HTMLElement){var r=e.target.innerHTML.replace("*","");if("@"===r[0]){var i=r.replace("@",""),a=null==t?void 0:t.find(function(e){var t=e.id;return e.name===i||t===i});F&&"function"==typeof F&&"mouseover"===e.type&&F(e,a),E&&"click"===e.type&&"function"==typeof E&&E(e,a)}}},[E,F]),eT=us(p),eO=J.typing,eP=is(J,["typing"]),eR=ua(io(io({},eP),{acceptedFiles:r,channel:a,channelCapabilitiesArray:er,channelConfig:z,debounceURLEnrichmentMs:null==v?void 0:v.debounceURLEnrichmentMs,dragAndDropWindow:m,enrichURLForPreview:e.enrichURLForPreview,findURLFn:null==v?void 0:v.findURLFn,giphyVersion:e.giphyVersion||"fixed_height",imageAttachmentSizeHandler:e.imageAttachmentSizeHandler||bS,maxNumberOfFiles:k,multipleUploads:void 0===x||x,mutes:P,notifications:V,onLinkPreviewDismissed:null==v?void 0:v.onLinkPreviewDismissed,quotedMessage:G,shouldGenerateVideoThumbnail:e.shouldGenerateVideoThumbnail||!0,videoAttachmentSizeHandler:e.videoAttachmentSizeHandler||bD,watcher_count:J.watcherCount})),eM=(0,el.useMemo)(function(){return{addNotification:ed,closeThread:eC,deleteMessage:eb,dispatch:X,editMessage:eT,jumpToLatestMessage:ev,jumpToMessage:eg,loadMore:ef,loadMoreNewer:eh,loadMoreThread:eD,onMentionsClick:ej,onMentionsHover:ej,openThread:eF,removeMessage:eE,retrySendMessage:ex,sendMessage:ek,setQuotedMessage:Y,skipMessageDataMemoization:S,updateMessage:ey}},[a.cid,eb,null==v?void 0:v.findURLFn,null==v?void 0:v.onLinkPreviewDismissed,ef,eh,G,eg,ev]),eL=(0,el.useMemo)(function(){return{Attachment:e.Attachment||pL,AttachmentPreviewList:e.AttachmentPreviewList,AutocompleteSuggestionHeader:e.AutocompleteSuggestionHeader,AutocompleteSuggestionItem:e.AutocompleteSuggestionItem,AutocompleteSuggestionList:e.AutocompleteSuggestionList,Avatar:e.Avatar,BaseImage:e.BaseImage,CooldownTimer:e.CooldownTimer,DateSeparator:e.DateSeparator,EditMessageInput:e.EditMessageInput,EmojiIcon:e.EmojiIcon,EmptyStateIndicator:e.EmptyStateIndicator,FileUploadIcon:e.FileUploadIcon,GiphyPreviewMessage:e.GiphyPreviewMessage,HeaderComponent:e.HeaderComponent,Input:e.Input,LinkPreviewList:e.LinkPreviewList,LoadingIndicator:e.LoadingIndicator,Message:e.Message||bf,MessageDeleted:e.MessageDeleted,MessageListNotifications:e.MessageListNotifications,MessageNotification:e.MessageNotification,MessageOptions:e.MessageOptions,MessageRepliesCountButton:e.MessageRepliesCountButton,MessageStatus:e.MessageStatus,MessageSystem:e.MessageSystem,MessageTimestamp:e.MessageTimestamp,ModalGallery:e.ModalGallery,PinIndicator:e.PinIndicator,QuotedMessage:e.QuotedMessage,QuotedMessagePreview:e.QuotedMessagePreview,ReactionSelector:e.ReactionSelector,ReactionsList:e.ReactionsList,SendButton:e.SendButton,ThreadHead:e.ThreadHead,ThreadHeader:e.ThreadHeader,ThreadStart:e.ThreadStart,TriggerProvider:e.TriggerProvider,TypingIndicator:e.TypingIndicator,VirtualMessage:e.VirtualMessage}},[]),eA=(0,el.useMemo)(function(){return{Emoji:e.Emoji,emojiConfig:ei,EmojiIndex:e.EmojiIndex,EmojiPicker:e.EmojiPicker}},[]),eI=uo({typing:eO}),eN=a5(I,R,A);return J.error?ec().createElement("div",{className:eN},ec().createElement(void 0===_?pN:_,{error:J.error})):J.loading?ec().createElement("div",{className:eN},ec().createElement(void 0===w?pH:w,null)):a.watch?ec().createElement("div",{className:a5(eN,B)},ec().createElement(pt,{value:eR},ec().createElement(fr,{value:eM},ec().createElement(d5,{value:eL},ec().createElement(gW,{value:eA},ec().createElement(bv,{value:eI},ec().createElement("div",{className:"".concat(N)},m&&ec().createElement(bm,io({},void 0===C?{}:C),s),!m&&ec().createElement(ec().Fragment,null,s)))))))):ec().createElement("div",{className:eN},ec().createElement("div",null,M("Channel Missing")))},bL=ec().memo(function(e){var t=e.channel,r=e.EmptyPlaceholder,i=e.LoadingErrorIndicator,a=e.LoadingIndicator,o=void 0===a?pH:a,s=a4("Channel"),l=s.channel,u=s.channelsQueryState,d=s.customClasses,p=s.theme,f=bC({customClasses:d}),m=f.channelClass,g=f.chatClass,v=t||l,b=a5(g,p,m);return"reload"===u.queryInProgress&&o?ec().createElement("div",{className:b},ec().createElement(o,null)):u.error&&i?ec().createElement("div",{className:b},ec().createElement(i,{error:u.error})):(null==v?void 0:v.cid)?ec().createElement(bM,io({},e,{channel:v,key:v.cid})):ec().createElement("div",{className:b},void 0===r?null:r)}),bA=ec().memo(function(e){var t=e.children,r=e.hideOnThread,i=e.thread,a=pn("Window").thread;return ec().createElement("div",{className:a5("str-chat__main-panel",{"str-chat__main-panel--hideOnThread":void 0!==r&&r&&(a||i)})},t)}),bI=(0,el.createContext)(void 0),bN=function(e){var t=e.children,r=e.value;return ec().createElement(bI.Provider,{value:r},t)},bB=function(e){e instanceof WheelEvent&&1===e.deltaY&&e.preventDefault()},bU=function(e){var t=e.children,r=e.element,i=e.hasMore,a=e.hasMoreNewer,o=e.hasNextPage,s=e.hasPreviousPage,l=e.head,u=e.initialLoad,d=e.isLoading,p=e.listenToScroll,f=e.loader,m=e.loadMore,g=e.loadMoreNewer,v=e.loadNextPage,b=e.loadPreviousPage,y=e.threshold,_=void 0===y?250:y,w=e.useCapture,k=void 0!==w&&w,x=is(e,["children","element","hasMore","hasMoreNewer","hasNextPage","hasPreviousPage","head","initialLoad","isLoading","listenToScroll","loader","loadMore","loadMoreNewer","loadNextPage","loadPreviousPage","threshold","useCapture"]),E=v||g,F=b||m,C=o||a,S=s||i,D=(0,el.useRef)(),j=(0,el.useCallback)(function(){var e=D.current;if(e&&null!==e.offsetParent){var t=e.parentElement,r=e.scrollHeight-t.scrollTop-t.clientHeight,i=t.scrollTop;p&&p(r,i,_),!d&&(i3,o=(a?e.slice(0,3):i).join(", ").trim();return a?t("{{ users }} and more are typing...",{users:o}):t("{{ users }} and {{ user }} are typing...",{user:r,users:o})},bH=ec().memo(function(e){var t=e.Avatar,r=e.avatarSize,i=void 0===r?32:r,a=e.threadList,o=pn("TypingIndicator"),s=o.channelConfig,l=o.thread,u=a4("TypingIndicator"),d=u.client,p=u.themeVersion,f=d8("TypingIndicator").Avatar,m=((0,el.useContext)(bg)||(console.warn("The useTypingContext hook was called outside of the TypingContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat("TypingIndicator"," component.")),{})).typing,g=void 0===m?{}:m,v=t||f||ok,b=a?[]:Object.values(g).filter(function(e){var t,r=e.parent_id,i=e.user;return(null==i?void 0:i.id)!==(null===(t=d.user)||void 0===t?void 0:t.id)&&!r}),y=a?Object.values(g).filter(function(e){var t,r=e.parent_id,i=e.user;return(null==i?void 0:i.id)!==(null===(t=d.user)||void 0===t?void 0:t.id)&&r===(null==l?void 0:l.id)}):[],_=bz((a?y:b).map(function(e){var t=e.user;return(null==t?void 0:t.name)||(null==t?void 0:t.id)}).filter(Boolean)),w=a&&y.length||!a&&b.length;return(null==s?void 0:s.typing_events)===!1?null:"2"===p?w?ec().createElement("div",{className:a5("str-chat__typing-indicator",{"str-chat__typing-indicator--typing":w}),"data-testid":"typing-indicator"},ec().createElement("div",{className:"str-chat__typing-indicator__dots"},ec().createElement("span",{className:"str-chat__typing-indicator__dot"}),ec().createElement("span",{className:"str-chat__typing-indicator__dot"}),ec().createElement("span",{className:"str-chat__typing-indicator__dot"})),ec().createElement("div",{className:"str-chat__typing-indicator__users","data-testid":"typing-users"},_)):null:ec().createElement("div",{className:a5("str-chat__typing-indicator",{"str-chat__typing-indicator--typing":w})},ec().createElement("div",{className:"str-chat__typing-indicator__avatars"},(a?y:b).map(function(e,t){var r=e.user;return ec().createElement(v,{image:null==r?void 0:r.image,key:"".concat(null==r?void 0:r.id,"-").concat(t),name:(null==r?void 0:r.name)||(null==r?void 0:r.id),size:i,user:r})})),ec().createElement("div",{className:"str-chat__typing-indicator__dots"},ec().createElement("span",{className:"str-chat__typing-indicator__dot"}),ec().createElement("span",{className:"str-chat__typing-indicator__dot"}),ec().createElement("span",{className:"str-chat__typing-indicator__dot"})))}),bq=function(e){var t,r,i,a,o,s,l,u,d,p,f,m=e.loadMoreScrollThreshold,g=e.messages,v=e.scrolledUpThreshold,b=void 0===v?200:v,y=e.hasMoreNewer,_=e.suppressAutoscroll,w=e.listElement,k=(0,el.useState)(!1),x=k[0],E=k[1],F=(0,el.useState)(),C=F[0],S=F[1],D=(0,el.useState)(!0),j=D[0],T=D[1],O=(0,el.useRef)(!1),P=(0,el.useRef)(!1),R=(0,el.useRef)({autoScroll:0,scroll:0}),M=(0,el.useCallback)(function(){(null==w?void 0:w.scrollTo)&&!y&&!_&&(R.current.autoScroll+=1,w.scrollTo({top:w.scrollHeight}),E(!1))},[w,y,_]);(0,el.useLayoutEffect)(function(){w&&(S(w.getBoundingClientRect()),M())},[w,y]);var L=(r=(t={loadMoreScrollThreshold:m,messages:void 0===g?[]:g,onScrollBy:function(e){null==w||w.scrollBy({top:e})},scrollContainerMeasures:function(){return{offsetHeight:(null==w?void 0:w.offsetHeight)||0,scrollHeight:(null==w?void 0:w.scrollHeight)||0}},scrolledUpThreshold:b,scrollToBottom:M,showNewMessages:function(){return E(!0)}}).loadMoreScrollThreshold,i=t.onScrollBy,a=t.scrollContainerMeasures,o=t.scrolledUpThreshold,s=t.scrollToBottom,l=t.showNewMessages,u=a4("useMessageListScrollManager").client,d=(0,el.useRef)({offsetHeight:0,scrollHeight:0}),p=(0,el.useRef)(),f=(0,el.useRef)(0),(0,el.useLayoutEffect)(function(){var e,m,g,v=d.current,b=p.current,y=t.messages,_=y[y.length-1]||{},w=null==b?void 0:b[b.length-1],k=a(),x=v.scrollHeight-v.offsetHeight-f.current1?o[s]--:delete o[s];var u=e?ip([t],(null==r?void 0:r.latest_reactions)||[],!0):null===(i=r.latest_reactions)||void 0===i?void 0:i.filter(function(e){return!(e.type===t.type&&e.user_id===t.user_id)}),d=e?ip([t],(null==r?void 0:r.own_reactions)||[],!0):null===(a=null==r?void 0:r.own_reactions)||void 0===a?void 0:a.filter(function(e){return e.type!==t.type});return io(io({},r),{latest_reactions:u||r.latest_reactions,own_reactions:d,reaction_counts:o,reaction_scores:o})},[o.user,o.userID]),l=function(t){var r;return{message_id:null==e?void 0:e.id,score:1,type:t,user:o.user,user_id:null===(r=o.user)||void 0===r?void 0:r.id}},u=c4()(function(r,o,u){return il(void 0,void 0,void 0,function(){var d,p;return ic(this,function(f){switch(f.label){case 0:if(!e||!a["send-reaction"])return[2];d=s(u,l(o),e),f.label=1;case 1:if(f.trys.push([1,6,,7]),t(d),!u)return[3,3];return[4,i.sendReaction(r,{type:o})];case 2:return p=f.sent(),[3,5];case 3:return[4,i.deleteReaction(r,o)];case 4:p=f.sent(),f.label=5;case 5:return t(p.message),[3,7];case 6:return f.sent(),t(e),[3,7];case 7:return[2]}})})},1e3);return function(t,r){return il(void 0,void 0,void 0,function(){var i;return ic(this,function(a){switch(a.label){case 0:if((null==r?void 0:r.preventDefault)&&r.preventDefault(),!e)return[2,console.warn("Reaction handler was called, but it is missing one of its required arguments.\nMake sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message.")];i=null,e.own_reactions&&e.own_reactions.forEach(function(e){e.user&&o.userID===e.user.id&&e.type===t?i=e:e.user&&o.userID!==e.user.id&&console.warn("message.own_reactions contained reactions from a different user, this indicates a bug")}),a.label=1;case 1:if(a.trys.push([1,6,,7]),!i)return[3,3];return[4,u(e.id,i.type,!1)];case 2:return a.sent(),[3,5];case 3:return[4,u(e.id,t,!0)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:return console.log({error:a.sent()}),[3,7];case 7:return[2]}})})}},bJ=function(e,t,r,i){var a=pn("useReactionClick").channelCapabilities,o=(0,el.useState)(!1),s=o[0],l=o[1],u=(0,el.useRef)(!1),d=(void 0===a?{}:a)["send-reaction"],p=!!(null==e?void 0:e.deleted_at),f=(0,el.useCallback)(function(e){var r;(!(e.target instanceof HTMLElement&&(null===(r=null==t?void 0:t.current)||void 0===r?void 0:r.contains(e.target)))||i)&&l(!1)},[l,t]);return(0,el.useEffect)(function(){var e=null==r?void 0:r.current;return s&&!u.current&&(u.current=!0,document.addEventListener("click",f),e&&e.addEventListener("mouseleave",f)),!s&&u.current&&(document.removeEventListener("click",f),e&&e.removeEventListener("mouseleave",f),u.current=!1),function(){u.current&&(document.removeEventListener("click",f),e&&e.removeEventListener("mouseleave",f),u.current=!1)}},[s,f,r]),(0,el.useEffect)(function(){var e=null==r?void 0:r.current;p&&u.current&&(document.removeEventListener("click",f),e&&e.removeEventListener("mouseleave",f),u.current=!1)},[p,f,r]),{isReactionEnabled:d,onReactionListClick:function(e){var t;null===(t=null==e?void 0:e.stopPropagation)||void 0===t||t.call(e),l(function(e){return!e})},showDetailedReactions:s}},bX=function(e){var t=fi("useRetryHandler").retrySendMessage,r=e||t;return function(e){return il(void 0,void 0,void 0,function(){return ic(this,function(t){switch(t.label){case 0:if(!e)return[3,2];return[4,r(e)];case 1:t.sent(),t.label=2;case 2:return[2]}})})}},bQ=function(e,t){void 0===t&&(t={});var r=t.getErrorNotification,i=t.notify,a=fi("useDeleteHandler"),o=a.deleteMessage,s=a.updateMessage,l=a4("useDeleteHandler").client,u=aZ("useDeleteHandler").t;return function(t){return il(void 0,void 0,void 0,function(){var a;return ic(this,function(d){switch(d.label){case 0:if(t.preventDefault(),!(null==e?void 0:e.id)||!l||!s)return[2];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,o(e)];case 2:return s(d.sent()),[3,4];case 3:return d.sent(),a=r&&p2(r,[e]),i&&i(a||u("Error deleting message"),"error"),[3,4];case 4:return[2]}})})}},b0=function(e,t){void 0===t&&(t={});var r=a4("useFlagHandler").client,i=aZ("useFlagHandler").t;return function(a){return il(void 0,void 0,void 0,function(){var o,s,l,u,d,p;return ic(this,function(f){switch(f.label){case 0:if(a.preventDefault(),o=t.getErrorNotification,s=t.getSuccessNotification,l=t.notify,!r||!i||!l||!(null==e?void 0:e.id))return console.warn("useFlagHandler was called but it is missing one or more necessary parameters."),[2];if(null===(p=r.user)||void 0===p?void 0:p.banned)return[2,l(i("Error adding flag"),"error")];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,r.flagMessage(e.id)];case 2:return f.sent(),u=s&&p2(s,[e]),l(u||i("Message has been successfully flagged"),"success"),[3,4];case 3:return f.sent(),d=o&&p2(o,[e]),l(d||i("Error adding flag"),"error"),[3,4];case 4:return[2]}})})}},b1=function(e,t){void 0===t&&(t={});var r=pn("useMuteHandler").mutes,i=a4("useMuteHandler").client,a=aZ("useMuteHandler").t;return function(o){return il(void 0,void 0,void 0,function(){var s,l,u,d,p,f;return ic(this,function(m){switch(m.label){case 0:if(o.preventDefault(),s=t.getErrorNotification,l=t.getSuccessNotification,u=t.notify,!a||!(null==e?void 0:e.user)||!u||!i)return console.warn("useMuteHandler was called but it is missing one or more necessary parameter."),[2];if(p3(e,r))return[3,5];m.label=1;case 1:return m.trys.push([1,3,,4]),[4,i.muteUser(e.user.id)];case 2:return m.sent(),d=l&&p2(l,[e.user]),u(d||a("{{ user }} has been muted",{user:e.user.name||e.user.id}),"success"),[3,4];case 3:return m.sent(),p=s&&p2(s,[e.user]),u(p||a("Error muting a user ..."),"error"),[3,4];case 4:return[3,8];case 5:return m.trys.push([5,7,,8]),[4,i.unmuteUser(e.user.id)];case 6:return m.sent(),f=a("{{ user }} has been unmuted",{user:e.user.name||e.user.id}),"string"==typeof(d=l&&p2(l,[e.user])||f)&&u(d,"success"),[3,8];case 7:return m.sent(),"string"==typeof(p=s&&p2(s,[e.user])||a("Error unmuting a user ..."))&&u(p,"error"),[3,8];case 8:return[2]}})})}};function b2(e,t){return function(r){var i;"function"==typeof e&&(null===(i=null==t?void 0:t.mentioned_users)||void 0===i?void 0:i.length)&&e(r,t.mentioned_users)}}var b3=function(e,t){var r=fi("useMentionsHandler"),i=r.onMentionsClick,a=r.onMentionsHover,o=(null==t?void 0:t.onMentionsClick)||i||function(){return null},s=(null==t?void 0:t.onMentionsHover)||a||function(){return null};return{onMentionsClick:b2(o,e),onMentionsHover:b2(s,e)}},b4=function(e,t,r){void 0===t&&(t=p6),void 0===r&&(r={});var i=r.getErrorNotification,a=r.notify,o=fi("usePinHandler").updateMessage,s=pn("usePinHandler").channelCapabilities,l=a4("usePinHandler").client,u=aZ("usePinHandler").t;return{canPin:!!(void 0===s?{}:s)["pin-message"],handlePin:function(t){return il(void 0,void 0,void 0,function(){var r;return ic(this,function(s){switch(s.label){case 0:if(t.preventDefault(),!e)return[2];if(e.pinned)return[3,5];s.label=1;case 1:return s.trys.push([1,3,,4]),o(io(io({},e),{pinned:!0,pinned_at:new Date,pinned_by:l.user})),[4,l.pinMessage(e)];case 2:return s.sent(),[3,4];case 3:return s.sent(),r=i&&p2(i,[e]),a&&a(r||u("Error pinning message"),"error"),o(e),[3,4];case 4:return[3,8];case 5:return s.trys.push([5,7,,8]),o(io(io({},e),{pin_expires:null,pinned:!1,pinned_at:null,pinned_by:null})),[4,l.unpinMessage(e)];case 6:return s.sent(),[3,8];case 7:return s.sent(),r=i&&p2(i,[e]),a&&a(r||u("Error removing message pin"),"error"),o(e),[3,8];case 8:return[2]}})})}}},b6=ec().memo(function(e){var t,r=e.canPin,i=e.groupedByUser,a=e.Message,o=e.message,s=e.messageActions,l=void 0===s?Object.keys(p4):s,u=e.onUserClick,d=e.onUserHover,p=e.userRoles,f=d8("Message").Message,m="regular"===o.type&&"received"===o.status,g=bY(),v=g.clearEdit,b=g.editing,y=g.setEdit,_=(t={onUserClickHandler:u,onUserHoverHandler:d},{onUserClick:function(e){"function"==typeof(null==t?void 0:t.onUserClickHandler)&&(null==o?void 0:o.user)&&t.onUserClickHandler(e,o.user)},onUserHover:function(e){"function"==typeof(null==t?void 0:t.onUserHoverHandler)&&(null==o?void 0:o.user)&&t.onUserHoverHandler(e,o.user)}}),w=_.onUserClick,k=_.onUserHover,x=p.canDelete,E=p.canEdit,F=p.canFlag,C=p.canMute,S=p.canQuote,D=p.canReact,j=p.canReply,T=p.isMyMessage,O=(0,el.useCallback)(function(){return p5(l,{canDelete:x,canEdit:E,canFlag:F,canMute:C,canPin:r,canQuote:S,canReact:D,canReply:j})},[l,x,E,F,C,r,S,D,j]);e.canPin,e.messageActions,e.onlySenderCanEdit,e.onUserClick,e.onUserHover,e.userRoles;var P=is(e,["canPin","messageActions","onlySenderCanEdit","onUserClick","onUserHover","userRoles"]),R=io(io({},P),{actionsEnabled:m,clearEditingState:v,editing:b,getMessageActions:O,handleEdit:y,isMyMessage:function(){return T},onUserClick:w,onUserHover:k,setEditingState:y});return ec().createElement(fo,{value:R},ec().createElement(a||f,{groupedByUser:i}))},function(e,t){var r=e.message,i=e.Message,a=t.message;return!!(i===t.Message&&e.endOfGroup===t.endOfGroup&&t.showDetailedReactions===e.showDetailedReactions&&p9(r,a)&&pQ()(t.messageActions,e.messageActions)&&pQ()(t.readBy,e.readBy)&&pQ()(t.highlighted,e.highlighted)&&pQ()(t.groupStyles,e.groupStyles)&&pQ()(t.mutes,e.mutes)&&pQ()(t.lastReceivedId,e.lastReceivedId))&&e.messageListRect===t.messageListRect}),b5=function(e){var t=e.closeReactionSelectorOnClick,r=e.disableQuotedMessages,i=e.getDeleteMessageErrorNotification,a=e.getFlagMessageErrorNotification,o=e.getFlagMessageSuccessNotification,s=e.getMuteUserErrorNotification,l=e.getMuteUserSuccessNotification,u=e.getPinMessageErrorNotification,d=e.message,p=e.onlySenderCanEdit,f=e.onMentionsClick,m=e.onMentionsHover,g=e.openThread,v=e.pinPermissions,b=e.retrySendMessage,y=fi("Message").addNotification,_=pn("Message"),w=_.highlightedMessageId,k=_.mutes,x=(0,el.useRef)(null),E=function(e){var t=this,r=fi("useActionHandler"),i=r.removeMessage,a=r.updateMessage,o=pn("useActionHandler").channel;return function(r,s,l){return il(t,void 0,void 0,function(){var t,u,d;return ic(this,function(p){switch(p.label){case 0:if(l&&l.preventDefault(),!e||!a||!i||!o)return console.warn("Action handler was called, but it is missing one of its required arguments. \nMake sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message."),[2];if(t=e.id,u={},"string"==typeof r?u[r]=s:u=io({},r),!t)return[3,2];return[4,o.sendAction(t,u)];case 1:(null==(d=p.sent())?void 0:d.message)?a(d.message):i(e),p.label=2;case 2:return[2]}})})}}(d),F=bK(d,g),C=bZ(d),S=bX(b),D=pZ(d,void 0!==p&&p,r),j=bQ(d,{getErrorNotification:i,notify:y}),T=b0(d,{getErrorNotification:a,getSuccessNotification:o,notify:y}),O=b1(d,{getErrorNotification:s,getSuccessNotification:l,notify:y}),P=b3(d,{onMentionsClick:f,onMentionsHover:m}),R=P.onMentionsClick,M=P.onMentionsHover,L=b4(d,v,{getErrorNotification:u,notify:y}),A=L.canPin,I=L.handlePin,N=bJ(d,x,void 0,t),B=N.isReactionEnabled,U=N.onReactionListClick,z=N.showDetailedReactions,H=w===d.id;return ec().createElement(b6,{additionalMessageInputProps:e.additionalMessageInputProps,autoscrollToBottom:e.autoscrollToBottom,canPin:A,customMessageActions:e.customMessageActions,disableQuotedMessages:e.disableQuotedMessages,endOfGroup:e.endOfGroup,firstOfGroup:e.firstOfGroup,formatDate:e.formatDate,groupedByUser:e.groupedByUser,groupStyles:e.groupStyles,handleAction:E,handleDelete:j,handleFlag:T,handleMute:O,handleOpenThread:F,handlePin:I,handleReaction:C,handleRetry:S,highlighted:H,initialMessage:e.initialMessage,isReactionEnabled:B,lastReceivedId:e.lastReceivedId,message:d,Message:e.Message,messageActions:e.messageActions,messageListRect:e.messageListRect,mutes:k,onMentionsClickMessage:R,onMentionsHoverMessage:M,onReactionListClick:U,onUserClick:e.onUserClick,onUserHover:e.onUserHover,pinPermissions:e.pinPermissions,reactionSelectorRef:x,readBy:e.readBy,renderText:e.renderText,showDetailedReactions:z,threadList:e.threadList,unsafeHTML:e.unsafeHTML,userRoles:D})},b8=function(e){var t=e.enrichedMessages,r=e.internalMessageProps,i=e.messageGroupStyles,a=e.read,o=e.returnAllReadData,s=e.threadList,l=a4("useMessageListElements"),u=l.client,d=l.customClasses,p=d8("useMessageListElements"),f=p.DateSeparator,m=void 0===f?b$:f,g=p.HeaderComponent,v=p.MessageSystem,b=void 0===v?bG:v,y=bW({messages:t,read:a,returnAllReadData:o,userID:u.userID}),_=(0,el.useMemo)(function(){return b_(t)},[t]);return(0,el.useMemo)(function(){return t.map(function(e){if(e.customType===mX.date&&e.date&&a$(e.date))return ec().createElement("li",{key:"".concat(e.date.toISOString(),"-i")},ec().createElement(m,{date:e.date,formatDate:r.formatDate,unread:e.unread}));if(e.customType===mX.intro&&g)return ec().createElement("li",{key:"intro"},ec().createElement(g,null));if("system"===e.type)return ec().createElement("li",{key:e.id||e.created_at},ec().createElement(b,{message:e}));var t=i[e.id]||"",a=(null==d?void 0:d.message)||"str-chat__li str-chat__li--".concat(t);return ec().createElement("li",{className:a,"data-message-id":e.id,"data-testid":a,key:e.id||e.created_at},ec().createElement(b5,io({groupStyles:[t],lastReceivedId:_,message:e,readBy:y[e.id]||[],threadList:s},r)))})},[t,r,_,i,y,s])},b9=function(e){var t=e.children;return"2"===a4("MessageListMainPanel").themeVersion?ec().createElement("div",{className:"str-chat__main-panel-inner"},t):ec().createElement(ec().Fragment,null,t)},b7=ec().memo(function(e){var t=e.active,r=e.children,i=e.className,a=e.type;return t?ec().createElement("div",{"aria-live":"polite",className:a5("str-chat__custom-notification notification-".concat(a),"str-chat__notification","str-chat-react__notification",i),"data-testid":"custom-notification"},r):null}),ye=ec().memo(function(){var e=a4("ConnectionStatus").client,t=aZ("ConnectionStatus").t,r=(0,el.useState)(!0),i=r[0],a=r[1];return(0,el.useEffect)(function(){var t=function(e){var t=e.online,r=void 0!==t&&t;i!==r&&a(r)};return e.on("connection.changed",t),function(){return e.off("connection.changed",t)}},[e,i]),ec().createElement(b7,{active:!i,className:"str-chat__connection-status-notification",type:"error"},t("Connection failure, reconnecting now..."))}),yt=function(e){var t=e.hasNewMessages,r=e.isMessageListScrolledToBottom,i=e.isNotAtLatestMessageSet,a=e.MessageNotification,o=e.notifications,s=e.scrollToBottom,l=e.threadList,u=aZ("MessageListNotifications").t;return ec().createElement("div",{className:"str-chat__list-notifications"},o.map(function(e){return ec().createElement(b7,{active:!0,key:e.id,type:e.type},e.text)}),ec().createElement(ye,null),ec().createElement(a,{isMessageListScrolledToBottom:r,onClick:s,showNotification:t||i,threadList:l},u(i?"Latest Messages":"New Messages!")))},yn=ec().memo(function(e){var t=e.children,r=e.onClick,i=e.showNotification;return void 0===i||i?ec().createElement("button",{"aria-live":"polite",className:"str-chat__message-notification","data-testid":"message-notification",onClick:r},t):null});async function yr(e,t){try{let r=await fetch("http://localhost:5001/predict",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({input:e,direction:t})});if(r.ok){let e=await r.json();return"Translation: "+e.translation}{let e=await r.text();return"Error during the inference process: "+e}}catch(e){return"Error during the inference process: "+e.message}}var yi=function(e){let[t,r]=ec().useState(e.messages),[i,a]=ec().useState({});ec().useEffect(()=>{r(e.messages.map(e=>i[e.id]?{...e,text:i[e.id].text}:e))},[e.messages,i]),ec().useEffect(()=>{(async()=>{let o=t.length;if(o>0){let s=o-1,l=e.channel._client.userID;if(t[s].user.id!==l&&!i[t[s].id]){let e=t[s].text,i=await yr(e,"eng_to_fra");console.log(i);let o=[...t];o[s]={...o[s],text:i},r(o),a(e=>({...e,[t[s].id]:{text:i}}))}}})()},[t,i,e.channel._client.userID]);var o=e.channel,s=e.disableDateSeparator,l=e.groupStyles,u=e.hideDeletedMessages,d=e.hideNewMessageSeparator,p=e.internalInfiniteScrollProps,f=e.messageActions,m=void 0===f?Object.keys(p4):f,g=(e.messages,e.notifications),v=e.noGroupByUser,b=e.pinPermissions,y=e.returnAllReadData,_=e.threadList,w=void 0!==_&&_,k=e.unsafeHTML,x=e.headerPosition,E=e.read,F=e.messageLimit,C=void 0===F?100:F,S=e.loadMore,D=e.loadMoreNewer,j=e.hasMoreNewer,T=void 0!==j&&j,O=e.suppressAutoscroll,P=e.highlightedMessageId,R=e.jumpToLatestMessage,M=void 0===R?function(){return Promise.resolve()}:R,L=ec().useState(null),A=L[0],I=L[1],N=ec().useState(null),B=N[0],U=N[1],z=a4("MessageList").customClasses,H=d8("MessageList"),q=H.EmptyStateIndicator,V=void 0===q?c$:q,W=H.LoadingIndicator,$=H.MessageListNotifications,G=H.MessageNotification,Y=H.TypingIndicator,K=(null==p?void 0:p.threshold)||250,Z=bq({hasMoreNewer:T,listElement:A,loadMoreScrollThreshold:K,messages:t,scrolledUpThreshold:e.scrolledUpThreshold,suppressAutoscroll:O}),J=Z.hasNewMessages,X=Z.isMessageListScrolledToBottom,Q=Z.onScroll,ee=Z.scrollToBottom,et=Z.wrapperRect,en=bV({channel:o,disableDateSeparator:void 0!==s&&s,groupStyles:l,headerPosition:x,hideDeletedMessages:void 0!==u&&u,hideNewMessageSeparator:void 0!==d&&d,messages:t,noGroupByUser:void 0!==v&&v}),er=en.messageGroupStyles,ei=b8({enrichedMessages:en.messages,internalMessageProps:{additionalMessageInputProps:e.additionalMessageInputProps,closeReactionSelectorOnClick:e.closeReactionSelectorOnClick,customMessageActions:e.customMessageActions,disableQuotedMessages:e.disableQuotedMessages,formatDate:e.formatDate,getDeleteMessageErrorNotification:e.getDeleteMessageErrorNotification,getFlagMessageErrorNotification:e.getFlagMessageErrorNotification,getFlagMessageSuccessNotification:e.getFlagMessageSuccessNotification,getMuteUserErrorNotification:e.getMuteUserErrorNotification,getMuteUserSuccessNotification:e.getMuteUserSuccessNotification,getPinMessageErrorNotification:e.getPinMessageErrorNotification,Message:e.Message,messageActions:m,messageListRect:et,onlySenderCanEdit:e.onlySenderCanEdit,onMentionsClick:e.onMentionsClick,onMentionsHover:e.onMentionsHover,onUserClick:e.onUserClick,onUserHover:e.onUserHover,openThread:e.openThread,pinPermissions:void 0===b?p6:b,renderText:e.renderText,retrySendMessage:e.retrySendMessage,unsafeHTML:void 0!==k&&k},messageGroupStyles:er,read:E,returnAllReadData:void 0!==y&&y,threadList:w}),ea=(null==z?void 0:z.messageList)||"str-chat__list",eo=w?(null==z?void 0:z.threadList)||"str-chat__list--thread str-chat__thread-list":"",es=ec().useCallback(function(){S&&S(C)},[S,C]),el=ec().useCallback(function(){D&&D(C)},[D,C]),eu=ec().useCallback(function(){return il(void 0,void 0,void 0,function(){return ic(this,function(e){switch(e.label){case 0:if(!T)return[3,2];return[4,M()];case 1:return e.sent(),[3,3];case 2:ee(),e.label=3;case 3:return[2]}})})},[ee,T]);ec().useLayoutEffect(function(){if(P){var e=null==B?void 0:B.querySelector("[data-message-id='".concat(P,"']"));null==e||e.scrollIntoView({block:"center"})}},[P]);var ed=0===ei.length&&!w;return ec().createElement(bN,{value:{listElement:A,scrollToBottom:ee}},ec().createElement(b9,null,ec().createElement("div",{className:"".concat(ea," ").concat(eo),onScroll:Q,ref:I,tabIndex:0},ed?ec().createElement(V,{key:"empty-state-indicator",listType:w?"thread":"message"}):ec().createElement(bU,io({className:"str-chat__reverse-infinite-scroll str-chat__message-list-scroll","data-testid":"reverse-infinite-scroll",hasNextPage:e.hasMoreNewer,hasPreviousPage:e.hasMore,head:e.head,isLoading:e.loadingMore,loader:ec().createElement("div",{className:"str-chat__list__loading",key:"loading-indicator"},e.loadingMore&&ec().createElement(void 0===W?cG:W,{size:20})),loadNextPage:el,loadPreviousPage:es},e.internalInfiniteScrollProps,{threshold:K}),ec().createElement("ul",{className:"str-chat__ul",ref:U},ei),ec().createElement(void 0===Y?bH:Y,{threadList:w}),ec().createElement("div",{key:"bottom"})))),ec().createElement(void 0===$?yt:$,{hasNewMessages:J,isMessageListScrolledToBottom:X,isNotAtLatestMessageSet:T,MessageNotification:void 0===G?yn:G,notifications:g,scrollToBottom:eu,threadList:w}))},ya=function(e){var t=fi("MessageList"),r=t.jumpToLatestMessage,i=t.loadMore,a=t.loadMoreNewer,o=pn("MessageList"),s=(o.members,o.mutes,o.watchers,is(o,["members","mutes","watchers"]));return ec().createElement(yi,io({jumpToLatestMessage:r,loadMore:i,loadMoreNewer:a},s,e))},yo=function(){var e=pn("MessageInputSmall"),t=e.acceptedFiles,r=e.multipleUploads,i=e.quotedMessage,a=fi("MessageInputSmall").setQuotedMessage,o=aZ("MessageInputSmall").t,s=a4("MessageInputSmall").channel,l=gK("MessageInputSmall"),u=l.closeEmojiPicker,d=l.cooldownRemaining,p=l.emojiPickerIsOpen,f=l.handleSubmit,m=l.hideSendButton,g=l.isUploadEnabled,v=l.maxFilesLeft,b=l.numberOfUploads,y=l.openEmojiPicker,_=l.setCooldownRemaining,w=l.uploadNewFiles,k=d8("MessageInputSmall"),x=k.CooldownTimer,E=k.EmojiIcon,F=k.FileUploadIcon,C=k.SendButton,S=void 0===C?vt:C,D=k.QuotedMessagePreview;return(0,el.useEffect)(function(){var e=function(e){var t;if(i&&(null===(t=e.message)||void 0===t?void 0:t.id)===i.id){if("message.deleted"===e.type){a(void 0);return}a(e.message)}};return null==s||s.on("message.deleted",e),null==s||s.on("message.updated",e),function(){null==s||s.off("message.deleted",e),null==s||s.off("message.updated",e)}},[s,i]),ec().createElement("div",{className:"str-chat__small-message-input__wrapper"},ec().createElement(gI,{accept:t,disabled:!g||0===v||!!d,handleFiles:w,maxNumberOfFiles:v,multiple:r},ec().createElement("div",{className:"str-chat__small-message-input ".concat(S?"str-chat__small-message-input--send-button-active":""," ").concat(i&&i.parent_id?"str-chat__input-flat-quoted":""," ").concat(b?"str-chat__small-message-input-has-attachments":""," ")},i&&i.parent_id&&ec().createElement(void 0===D?vP:D,{quotedMessage:i}),g&&ec().createElement(vf,null),ec().createElement("div",{className:"str-chat__small-message-input--textarea-wrapper"},ec().createElement(vT,null),d?ec().createElement("div",{className:"str-chat__input-small-cooldown"},ec().createElement(void 0===x?vN:x,{cooldownInterval:d,setCooldownRemaining:_})):ec().createElement(ec().Fragment,null,g&&ec().createElement("div",{className:"str-chat__fileupload-wrapper","data-testid":"fileinput"},ec().createElement(hd,null,o(v?"Attach files":"You've reached the maximum number of files")),ec().createElement(gU,{accepts:t,disabled:0===v,handleFiles:w,multiple:r},ec().createElement("span",{className:"str-chat__small-message-input-fileupload"},ec().createElement(void 0===F?g2:F,null)))),ec().createElement("div",{className:"str-chat__emojiselect-wrapper"},ec().createElement(hd,null,o(p?"Close emoji picker":"Open emoji picker")),ec().createElement("button",{"aria-label":"Emoji picker",className:"str-chat__small-message-input-emojiselect",onClick:p?u:y},ec().createElement(void 0===E?gQ:E,null)))),ec().createElement(gJ,{small:!0})),!(d||m)&&ec().createElement(S,{sendMessage:f}))))},ys=r(82311),yl=function(e){var t=e.message;return ec().createElement("div",{className:"giphy-preview-message"},ec().createElement(b5,{message:t}))},yc=function(e){var t=(0,el.useState)(),r=t[0],i=t[1],a=a4("useGiphyPreview").client;return(0,el.useEffect)(function(){var t=function(e){var t=e.message,r=e.user;(null==t?void 0:t.command)==="giphy"&&(null==r?void 0:r.id)===a.userID&&i(void 0)};return e&&a.on("message.new",t),function(){return a.off("message.new",t)}},[e]),{giphyPreviewMessage:r,setGiphyPreviewMessage:i}},yu=function(e){var t=e.messages,r=e.scrollToBottom,i=e.scrollToLatestMessageOnFocus,a=ec().useState(!1),o=a[0],s=a[1],l=(0,el.useCallback)(function(){s(!1)},[]);(0,el.useEffect)(function(){s(!0)},[t]);var u=(0,el.useCallback)(function(e){i&&o&&e.target===window&&setTimeout(r,100)},[i,r,o]);(0,el.useEffect)(function(){return"undefined"!=typeof window&&(window.addEventListener("focus",u),window.addEventListener("blur",l)),function(){window.removeEventListener("focus",u),window.removeEventListener("blur",l)}},[u])},yd={failed:!0,sending:!0},yp=function(e){var t=e.messages,r=(0,el.useState)(+new Date),i=r[0],a=r[1],o=(0,el.useRef)();return(0,el.useEffect)(function(){var e;(null==t?void 0:t.find(function(e){return e.id===o.current}))||a(+new Date),o.current=null===(e=null==t?void 0:t[0])||void 0===e?void 0:e.id},[t]),{messageSetKey:i}};function yf(e,t){return e+t-1e7}var yh=function(e){var t,r,i=e.context,a=is(e,["context"]);if(!i)return ec().createElement(ec().Fragment,null);var o=i.processedMessages[yf(a["data-item-index"],i.numItemsPrepended)],s=i.messageGroupStyles[o.id];return ec().createElement("div",io({},a,{className:(null===(r=null==i?void 0:i.customClasses)||void 0===r?void 0:r.virtualMessage)||a5("str-chat__virtual-list-message-wrapper str-chat__li",((t={})["str-chat__li--".concat(s)]=s,t))}))},ym=function(e){var t=e.context,r=d8("VirtualizedMessageListHeader").LoadingIndicator,i=void 0===r?cG:r;return(null==t?void 0:t.loadingMore)?i?ec().createElement("div",{className:"str-chat__virtual-list__loading"},ec().createElement(i,{size:20})):(null==t?void 0:t.head)||null:null},yg=function(e){var t=e.context,r=d8("VirtualizedMessageList").EmptyStateIndicator,i=void 0===r?c$:r;return ec().createElement(ec().Fragment,null,i&&ec().createElement(i,{listType:(null==t?void 0:t.threadList)?"thread":"message"}))},yv=function(){var e=d8("VirtualizedMessageList").TypingIndicator;return e?ec().createElement(e,{avatarSize:24}):null},yb=function(e,t,r){var i,a,o,s,l,u,d,p,f,m=r.additionalMessageInputProps,g=r.closeReactionSelectorOnClick,v=r.customMessageActions,b=r.customMessageRenderer,y=r.DateSeparator,_=r.lastReceivedMessageId,w=r.Message,k=r.messageActions,x=r.MessageSystem,E=r.numItemsPrepended,F=r.ownMessagesReadByOthers,C=r.processedMessages,S=r.shouldGroupByUser,D=r.virtuosoRef,j=yf(e,E);if(b)return b(C,j);var T=C[j];if(!T)return ec().createElement("div",{style:{height:"1px"}});if(T.customType===mX.date&&T.date&&a$(T.date))return y?ec().createElement(y,{date:T.date,unread:T.unread}):null;if("system"===T.type)return x?ec().createElement(x,{message:T}):null;var O=S&&j>0&&(null===(i=T.user)||void 0===i?void 0:i.id)===(null===(a=C[j-1].user)||void 0===a?void 0:a.id),P=S&&(null===(o=T.user)||void 0===o?void 0:o.id)!==(null===(l=null===(s=C[j-1])||void 0===s?void 0:s.user)||void 0===l?void 0:l.id),R=S&&(null===(u=T.user)||void 0===u?void 0:u.id)!==(null===(p=null===(d=C[j+1])||void 0===d?void 0:d.user)||void 0===p?void 0:p.id);return ec().createElement(b5,{additionalMessageInputProps:m,autoscrollToBottom:null===(f=D.current)||void 0===f?void 0:f.autoscrollToBottom,closeReactionSelectorOnClick:g,customMessageActions:v,endOfGroup:R,firstOfGroup:P,groupedByUser:O,lastReceivedId:_,message:T,Message:w,messageActions:k,readBy:F[T.id]||[]})};function yy(e){("ResizeObserver loop completed with undelivered notifications."===e.message||"ResizeObserver loop limit exceeded"===e.message)&&e.stopImmediatePropagation()}function y_(e){return e.getBoundingClientRect().height}function yw(e,t){return e.findIndex(function(e){return e.id===t})}var yk=function(e){var t,r,i,a,o,s,l,u,d,p,f,m,g,v,b=e.additionalMessageInputProps,y=e.additionalVirtuosoProps,_=void 0===y?{}:y,w=e.channel,k=e.closeReactionSelectorOnClick,x=e.customMessageActions,E=e.customMessageRenderer,F=e.defaultItemHeight,C=e.disableDateSeparator,S=void 0===C||C,D=e.groupStyles,j=e.hasMore,T=e.hasMoreNewer,O=e.head,P=e.hideDeletedMessages,R=void 0!==P&&P,M=e.hideNewMessageSeparator,L=void 0!==M&&M,A=e.highlightedMessageId,I=e.jumpToLatestMessage,N=e.loadingMore,B=e.loadMore,U=e.loadMoreNewer,z=e.Message,H=e.messageActions,q=e.messageLimit,V=void 0===q?100:q,W=e.messages,$=e.notifications,G=e.overscan,Y=e.read,K=e.returnAllReadData,Z=e.scrollSeekPlaceHolder,J=e.scrollToLatestMessageOnFocus,X=e.separateGiphyPreview,Q=void 0!==X&&X,ee=e.shouldGroupByUser,et=void 0!==ee&&ee,en=e.stickToBottomScrollBehavior,er=void 0===en?"smooth":en,ei=e.suppressAutoscroll,ea=e.threadList,eo=_.components,es=is(_,["components"]);(0,el.useEffect)(function(){return window.addEventListener("error",yy),function(){window.removeEventListener("error",yy)}},[]);var eu=d8("VirtualizedMessageList"),ed=eu.DateSeparator,ep=eu.GiphyPreviewMessage,ef=eu.MessageListNotifications,eh=eu.MessageNotification,em=eu.MessageSystem,eg=eu.VirtualMessage,ev=a4("VirtualizedMessageList"),eb=ev.client,ey=ev.customClasses,e_=(0,el.useRef)(null),ew=(0,el.useMemo)(function(){var e;return null===(e=w.lastRead)||void 0===e?void 0:e.call(w)},[w]),ek=yc(Q),ex=ek.giphyPreviewMessage,eE=ek.setGiphyPreviewMessage,eF=(0,el.useMemo)(function(){return void 0===W?[]:S&&!R&&L&&!Q?W:bb({enableDateSeparator:!S,hideDeletedMessages:R,hideNewMessageSeparator:L,lastRead:ew,messages:W,setGiphyPreviewMessage:eE,userId:eb.userID||""})},[S,R,L,ew,W,null==W?void 0:W.length,eb.userID]),eC=bW({messages:eF,read:Y,returnAllReadData:void 0!==K&&K,userID:eb.userID}),eS=(0,el.useMemo)(function(){return b_(eF)},[eF]),eD=D||bx,ej=(0,el.useMemo)(function(){return eF.reduce(function(e,t,r){var i=eD(t,eF[r-1],eF[r+1],!et);return i&&(e[t.id]=i),e},{})},[eF.length,et,eD]),eT=(t=eb.userID,i=(r=(0,el.useState)(!1))[0],a=r[1],s=(o=(0,el.useState)(!0))[0],l=o[1],u=(0,el.useRef)(!1),d=(0,el.useRef)(""),p=(0,el.useRef)(!1),(0,el.useEffect)(function(){if(T){a(!0);return}if(null==eF?void 0:eF.length){var e,r=eF[eF.length-1],i=d.current;d.current=r.id||"",r.id!==i&&(p.current||((null===(e=r.user)||void 0===e?void 0:e.id)!==t&&u.current&&a(!0),u.current=!0))}},[t,eF,T]),{atBottom:p,isMessageListScrolledToBottom:s,newMessagesNotification:i,setIsMessageListScrolledToBottom:l,setNewMessagesNotification:a}),eO=eT.atBottom,eP=eT.isMessageListScrolledToBottom,eR=eT.newMessagesNotification,eM=eT.setIsMessageListScrolledToBottom,eL=eT.setNewMessagesNotification,eA=(0,el.useCallback)(function(){return il(void 0,void 0,void 0,function(){return ic(this,function(e){switch(e.label){case 0:if(!T)return[3,2];return[4,I()];case 1:return e.sent(),[2];case 2:return e_.current&&e_.current.scrollToIndex(eF.length-1),eL(!1),[2]}})})},[e_,eF,eL,eF.length,T,I]);yu({messages:W,scrollToBottom:eA,scrollToLatestMessageOnFocus:void 0!==J&&J});var eI=(f=S?0:1,m=(0,el.useRef)(),g=(0,el.useRef)(),v=(0,el.useRef)(0),(0,el.useMemo)(function(){if(!eF||!eF.length)return v.current=0,0;var e,t,r=null==eF?void 0:eF[f],i=(null==r?void 0:r.id)===(null===(e=g.current)||void 0===e?void 0:e.id),a=(null==r?void 0:r.status)&&yd[r.status];if(i||a)return v.current;m.current||(m.current=r),g.current=r;for(var o=v.current;o0){var a=e[e.length-1];if((null===(i=a.user)||void 0===i?void 0:i.id)===t&&r.current!==a.id)return r.current=a.id,!0}return!1}return(0,el.useEffect)(function(){e&&e.length&&!i.current&&(i.current=!0,a())},[e,null==e?void 0:e.length]),a}(eF,eb.userID),eU=(0,el.useCallback)(function(e,t,r){var i=r.numItemsPrepended;return r.processedMessages[yf(e,i)].id},[]);return((0,el.useEffect)(function(){var e;if(A){var t=yw(eF,A);-1!==t&&(null===(e=e_.current)||void 0===e||e.scrollToIndex({align:"center",index:t}))}},[A]),eF)?ec().createElement(ec().Fragment,null,ec().createElement(b9,null,ec().createElement("div",{className:(null==ey?void 0:ey.virtualizedMessageList)||"str-chat__virtual-list"},ec().createElement(ys.OO,io({atBottomStateChange:function(e){eO.current=e,eM(e),e&&eR&&eL(!1)},atBottomThreshold:200,className:"str-chat__message-list-scroll",components:io({EmptyPlaceholder:yg,Footer:yv,Header:ym,Item:yh},eo),computeItemKey:eU,context:{additionalMessageInputProps:b,closeReactionSelectorOnClick:k,customClasses:ey,customMessageActions:x,customMessageRenderer:E,DateSeparator:void 0===ed?b$:ed,head:O,lastReceivedMessageId:eS,loadingMore:N,Message:z||(void 0===eg?bf:eg),messageActions:H,messageGroupStyles:ej,MessageSystem:void 0===em?bG:em,numItemsPrepended:eI,ownMessagesReadByOthers:eC,processedMessages:eF,shouldGroupByUser:et,threadList:ea,virtuosoRef:e_},endReached:function(){T&&U&&U(V)},firstItemIndex:1e7-eI,followOutput:function(e){return!T&&!ei&&(eB()?e?er:"auto":!!e&&er)},increaseViewportBy:{bottom:200,top:0},initialTopMostItemIndex:function(e,t){if(t){var r=yw(e,t);if(-1!==r)return{align:"center",index:r}}return e.length-1}(eF,A),itemContent:yb,itemSize:y_,key:eN,overscan:void 0===G?0:G,ref:e_,startReached:function(){j&&B&&B(V)},style:{overflowX:"hidden"},totalCount:eF.length},es,Z?{scrollSeek:Z}:{},F?{defaultItemHeight:F}:{})))),ec().createElement(void 0===ef?yt:ef,{hasNewMessages:eR,isMessageListScrolledToBottom:eP,isNotAtLatestMessageSet:T,MessageNotification:void 0===eh?yn:eh,notifications:$,scrollToBottom:eA,threadList:ea}),ex&&ec().createElement(void 0===ep?yl:ep,{message:ex})):null};function yx(e){var t=fi("VirtualizedMessageList"),r=t.jumpToLatestMessage,i=t.loadMore,a=t.loadMoreNewer,o=pn("VirtualizedMessageList"),s=o.channel,l=o.hasMore,u=o.hasMoreNewer,d=o.highlightedMessageId,p=o.loadingMore,f=o.loadingMoreNewer,m=o.messages,g=o.notifications,v=o.read,b=o.suppressAutoscroll,y=e.messages||m;return ec().createElement(yk,io({channel:s,hasMore:!!l,hasMoreNewer:!!u,highlightedMessageId:d,jumpToLatestMessage:r,loadingMore:!!p,loadingMoreNewer:!!f,loadMore:i,loadMoreNewer:a,messages:y,notifications:g,read:v,suppressAutoscroll:b},e))}var yE=function(e){var t=e.title,r=aZ("CloseIcon").t;return ec().createElement("svg",{"data-testid":"close-no-outline",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},ec().createElement("title",null,null!=t?t:r("Close")),ec().createElement("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"black"}))},yF=function(e){var t=e.closeThread,r=e.overrideImage,i=e.overrideTitle,a=aZ("ThreadHeader").t,o=cE({channel:pn("").channel,overrideImage:r,overrideTitle:i}).displayTitle;return ec().createElement("div",{className:"str-chat__thread-header"},ec().createElement("div",{className:"str-chat__thread-header-details"},ec().createElement("div",{className:"str-chat__thread-header-title"},a("Thread")),ec().createElement("div",{className:"str-chat__thread-header-subtitle"},o)),ec().createElement("button",{"aria-label":"Close thread",className:"str-chat__square-button str-chat__close-thread-button","data-testid":"close-button",onClick:t},ec().createElement(yE,null)))},yC=function(){var e=pn("ThreadStart").thread,t=aZ("ThreadStart").t;return(null==e?void 0:e.reply_count)?ec().createElement("div",{className:"str-chat__thread-start"},t("replyCount",{count:e.reply_count})):null},yS=function(e){var t=d8("ThreadHead").ThreadStart;return ec().createElement("div",{className:"str-chat__parent-message-li"},ec().createElement(b5,io({initialMessage:!0,threadList:!0},e)),ec().createElement(void 0===t?yC:t,null))},yD=function(e){var t=pn("Thread"),r=t.channel,i=t.channelConfig,a=t.thread;return a&&(null==i?void 0:i.replies)!==!1?ec().createElement(yj,io({},e,{key:"thread-".concat(a.id,"-").concat(null==r?void 0:r.cid)})):null},yj=function(e){var t,r,i=e.additionalMessageInputProps,a=e.additionalMessageListProps,o=e.additionalParentMessageProps,s=e.additionalVirtualizedMessageListProps,l=e.autoFocus,u=e.enableDateSeparator,d=e.fullWidth,p=e.Input,f=e.Message,m=e.messageActions,g=void 0===m?Object.keys(p4):m,v=e.virtualized,b=pn("Thread"),y=b.thread,_=b.threadHasMore,w=b.threadLoadingMore,k=b.threadMessages,x=b.threadSuppressAutoscroll,E=fi("Thread"),F=E.closeThread,C=E.loadMoreThread,S=a4("Thread"),D=S.customClasses,j=S.themeVersion,T=d8("Thread"),O=T.ThreadInput,P=T.Message,R=T.ThreadHead,M=T.ThreadHeader,L=T.VirtualMessage,A=null!==(r=null!==(t=null!=p?p:null==i?void 0:i.Input)&&void 0!==t?t:O)&&void 0!==r?r:"2"===j?vB:yo,I=f||(null==a?void 0:a.Message)||(v&&L?L:P),N=v?yx:ya;if((0,el.useEffect)(function(){(null==y?void 0:y.id)&&(null==y?void 0:y.reply_count)&&C()},[]),!y)return null;var B=(null==D?void 0:D.thread)||a5("str-chat__thread-container str-chat__thread",{"str-chat__thread--full":void 0!==d&&d,"str-chat__thread--virtualized":v}),U=ec().createElement(void 0===R?yS:R,io({key:y.id,message:y,Message:I},o));return ec().createElement("div",{className:B},ec().createElement(void 0===M?yF:M,{closeThread:F,thread:y}),ec().createElement(N,io({disableDateSeparator:!(void 0!==u&&u),hasMore:_,head:U,loadingMore:w,loadMore:C,Message:I,messageActions:g,messages:k||[],suppressAutoscroll:x,threadList:!0},v?s:a)),ec().createElement(bi,io({focus:void 0===l||l,Input:A,parent:y,publishTypingEvent:!1},i)))};let yT=!0,yO=!0;function yP(e,t,r){let i=e.match(t);return i&&i.length>=r&&parseInt(i[r],10)}function yR(e,t,r){if(!e.RTCPeerConnection)return;let i=e.RTCPeerConnection.prototype,a=i.addEventListener;i.addEventListener=function(e,i){if(e!==t)return a.apply(this,arguments);let o=e=>{let t=r(e);t&&(i.handleEvent?i.handleEvent(t):i(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(i,o),a.apply(this,[e,o])};let o=i.removeEventListener;i.removeEventListener=function(e,r){if(e!==t||!this._eventMap||!this._eventMap[t]||!this._eventMap[t].has(r))return o.apply(this,arguments);let i=this._eventMap[t].get(r);return this._eventMap[t].delete(r),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,o.apply(this,[e,i])},Object.defineProperty(i,"on"+t,{get(){return this["_on"+t]},set(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}function yM(e){return"boolean"!=typeof e?Error("Argument type: "+typeof e+". Please use a boolean."):(yT=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function yL(e){return"boolean"!=typeof e?Error("Argument type: "+typeof e+". Please use a boolean."):(yO=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function yA(){"object"!=typeof window||yT||"undefined"==typeof console||"function"!=typeof console.log||console.log.apply(console,arguments)}function yI(e,t){yO&&console.warn(e+" is deprecated, please use "+t+" instead.")}function yN(e){return"[object Object]"===Object.prototype.toString.call(e)}function yB(e,t,r){let i=r?"outbound-rtp":"inbound-rtp",a=new Map;if(null===t)return a;let o=[];return e.forEach(e=>{"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)}),o.forEach(t=>{e.forEach(r=>{r.type===i&&r.trackId===t.id&&function e(t,r,i){!r||i.has(r.id)||(i.set(r.id,r),Object.keys(r).forEach(a=>{a.endsWith("Id")?e(t,t.get(r[a]),i):a.endsWith("Ids")&&r[a].forEach(r=>{e(t,t.get(r),i)})}))}(e,r,a)})}),a}function yU(e,t){let r=e&&e.navigator;if(!r.mediaDevices)return;let i=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;let t={};return Object.keys(e).forEach(r=>{if("require"===r||"advanced"===r||"mediaSource"===r)return;let i="object"==typeof e[r]?e[r]:{ideal:e[r]};void 0!==i.exact&&"number"==typeof i.exact&&(i.min=i.max=i.exact);let a=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==i.ideal){t.optional=t.optional||[];let e={};"number"==typeof i.ideal?(e[a("min",r)]=i.ideal,t.optional.push(e),(e={})[a("max",r)]=i.ideal):e[a("",r)]=i.ideal,t.optional.push(e)}void 0!==i.exact&&"number"!=typeof i.exact?(t.mandatory=t.mandatory||{},t.mandatory[a("",r)]=i.exact):["min","max"].forEach(e=>{void 0!==i[e]&&(t.mandatory=t.mandatory||{},t.mandatory[a(e,r)]=i[e])})}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},a=function(e,a){if(t.version>=61)return a(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){let t=function(e,t,r){t in e&&!(r in e)&&(e[r]=e[t],delete e[t])};t((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),t(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=i(e.audio)}if(e&&"object"==typeof e.video){let o=e.video.facingMode;o=o&&("object"==typeof o?o:{ideal:o});let s=t.version<66;if(o&&("user"===o.exact||"environment"===o.exact||"user"===o.ideal||"environment"===o.ideal)&&!(r.mediaDevices.getSupportedConstraints&&r.mediaDevices.getSupportedConstraints().facingMode&&!s)){let t;if(delete e.video.facingMode,"environment"===o.exact||"environment"===o.ideal?t=["back","rear"]:("user"===o.exact||"user"===o.ideal)&&(t=["front"]),t)return r.mediaDevices.enumerateDevices().then(r=>{let s=(r=r.filter(e=>"videoinput"===e.kind)).find(e=>t.some(t=>e.label.toLowerCase().includes(t)));return!s&&r.length&&t.includes("back")&&(s=r[r.length-1]),s&&(e.video.deviceId=o.exact?{exact:s.deviceId}:{ideal:s.deviceId}),e.video=i(e.video),yA("chrome: "+JSON.stringify(e)),a(e)})}e.video=i(e.video)}return yA("chrome: "+JSON.stringify(e)),a(e)},o=function(e){return t.version>=64?e:{name:({PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"})[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(r.getUserMedia=(function(e,t,i){a(e,e=>{r.webkitGetUserMedia(e,t,e=>{i&&i(o(e))})})}).bind(r),r.mediaDevices.getUserMedia){let e=r.mediaDevices.getUserMedia.bind(r.mediaDevices);r.mediaDevices.getUserMedia=function(t){return a(t,t=>e(t).then(e=>{if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(e=>{e.stop()}),new DOMException("","NotFoundError");return e},e=>Promise.reject(o(e))))}}}function yz(e,t){if((!e.navigator.mediaDevices||!("getDisplayMedia"in e.navigator.mediaDevices))&&e.navigator.mediaDevices){if("function"!=typeof t){console.error("shimGetDisplayMedia: getSourceId argument is not a function");return}e.navigator.mediaDevices.getDisplayMedia=function(r){return t(r).then(t=>{let i=r.video&&r.video.width,a=r.video&&r.video.height,o=r.video&&r.video.frameRate;return r.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:o||3}},i&&(r.video.mandatory.maxWidth=i),a&&(r.video.mandatory.maxHeight=a),e.navigator.mediaDevices.getUserMedia(r)})}}}function yH(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function yq(e){if("object"!=typeof e||!e.RTCPeerConnection||"ontrack"in e.RTCPeerConnection.prototype)yR(e,"track",e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e));else{Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});let t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=t=>{t.stream.addEventListener("addtrack",r=>{let i;i=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===r.track.id):{track:r.track};let a=new Event("track");a.track=r.track,a.receiver=i,a.transceiver={receiver:i},a.streams=[t.stream],this.dispatchEvent(a)}),t.stream.getTracks().forEach(r=>{let i;i=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===r.id):{track:r};let a=new Event("track");a.track=r,a.receiver=i,a.transceiver={receiver:i},a.streams=[t.stream],this.dispatchEvent(a)})},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}}function yV(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){let t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};let r=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,i){let a=r.apply(this,arguments);return a||(a=t(this,e),this._senders.push(a)),a};let i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){i.apply(this,arguments);let t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}let r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._senders=this._senders||[],r.apply(this,[e]),e.getTracks().forEach(e=>{this._senders.push(t(this,e))})};let i=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._senders=this._senders||[],i.apply(this,[e]),e.getTracks().forEach(e=>{let t=this._senders.find(t=>t.track===e);t&&this._senders.splice(this._senders.indexOf(t),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){let t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function yW(e){if(!e.RTCPeerConnection)return;let t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){let[e,r,i]=arguments;if(arguments.length>0&&"function"==typeof e)return t.apply(this,arguments);if(0===t.length&&(0==arguments.length||"function"!=typeof e))return t.apply(this,[]);let a=function(e){let t={};return e.result().forEach(e=>{let r={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach(t=>{r[t]=e.stat(t)}),t[r.id]=r}),t},o=function(e){return new Map(Object.keys(e).map(t=>[t,e[t]]))};return arguments.length>=2?t.apply(this,[function(e){r(o(a(e)))},e]):new Promise((e,r)=>{t.apply(this,[function(t){e(o(a(t)))},r])}).then(r,i)}}function y$(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){let t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});let r=e.RTCPeerConnection.prototype.addTrack;r&&(e.RTCPeerConnection.prototype.addTrack=function(){let e=r.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){let e=this;return this._pc.getStats().then(t=>yB(t,e.track,!0))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){let t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),yR(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){let e=this;return this._pc.getStats().then(t=>yB(t,e.track,!1))}}if(!("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype))return;let t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){let e,t,r;let i=arguments[0];return(this.getSenders().forEach(t=>{t.track===i&&(e?r=!0:e=t)}),this.getReceivers().forEach(e=>(e.track===i&&(t?r=!0:t=e),e.track===i)),r||e&&t)?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):e?e.getStats():t?t.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return t.apply(this,arguments)}}function yG(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(e=>this._shimmedLocalStreams[e][0])};let t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){if(!r)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};let i=t.apply(this,arguments);return this._shimmedLocalStreams[r.id]?-1===this._shimmedLocalStreams[r.id].indexOf(i)&&this._shimmedLocalStreams[r.id].push(i):this._shimmedLocalStreams[r.id]=[r,i],i};let r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")});let t=this.getSenders();r.apply(this,arguments);let i=this.getSenders().filter(e=>-1===t.indexOf(e));this._shimmedLocalStreams[e.id]=[e].concat(i)};let i=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],i.apply(this,arguments)};let a=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach(t=>{let r=this._shimmedLocalStreams[t].indexOf(e);-1!==r&&this._shimmedLocalStreams[t].splice(r,1),1===this._shimmedLocalStreams[t].length&&delete this._shimmedLocalStreams[t]}),a.apply(this,arguments)}}function yY(e,t){if(!e.RTCPeerConnection)return;if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return yG(e);let r=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){let e=r.apply(this);return this._reverseStreams=this._reverseStreams||{},e.map(e=>this._reverseStreams[e.id])};let i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[t.id]){let r=new e.MediaStream(t.getTracks());this._streams[t.id]=r,this._reverseStreams[r.id]=t,t=r}i.apply(this,[t])};let a=e.RTCPeerConnection.prototype.removeStream;function o(e,t){let r=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{let i=e._reverseStreams[t],a=e._streams[i.id];r=r.replace(RegExp(a.id,"g"),i.id)}),new RTCSessionDescription({type:t.type,sdp:r})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},a.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,r){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");let i=[].slice.call(arguments,1);if(1!==i.length||!i[0].getTracks().find(e=>e===t))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(e=>e.track===t))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};let a=this._streams[r.id];if(a)a.addTrack(t),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{let i=new e.MediaStream([t]);this._streams[r.id]=i,this._reverseStreams[i.id]=r,this.addStream(i)}return this.getSenders().find(e=>e.track===t)},["createOffer","createAnswer"].forEach(function(t){let r=e.RTCPeerConnection.prototype[t];e.RTCPeerConnection.prototype[t]=({[t](){let e=arguments,t=arguments.length&&"function"==typeof arguments[0];return t?r.apply(this,[t=>{let r=o(this,t);e[0].apply(null,[r])},t=>{e[1]&&e[1].apply(null,t)},arguments[2]]):r.apply(this,arguments).then(e=>o(this,e))}})[t]});let s=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){var e,t;let r;return arguments.length&&arguments[0].type&&(arguments[0]=(e=this,t=arguments[0],r=t.sdp,Object.keys(e._reverseStreams||[]).forEach(t=>{let i=e._reverseStreams[t],a=e._streams[i.id];r=r.replace(RegExp(i.id,"g"),a.id)}),new RTCSessionDescription({type:t.type,sdp:r}))),s.apply(this,arguments)};let l=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){let e=l.get.apply(this);return""===e.type?e:o(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){let t;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(e._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach(r=>{this._streams[r].getTracks().find(t=>e.track===t)&&(t=this._streams[r])}),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function yK(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){let r=e.RTCPeerConnection.prototype[t];e.RTCPeerConnection.prototype[t]=({[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}})[t]})}function yZ(e,t){yR(e,"negotiationneeded",e=>{let r=e.target;if(!(t.version<72)&&(!r.getConfiguration||"plan-b"!==r.getConfiguration().sdpSemantics)||"stable"===r.signalingState)return e})}function yJ(e,t){let r=e&&e.navigator,i=e&&e.MediaStreamTrack;if(r.getUserMedia=function(e,t,i){yI("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),r.mediaDevices.getUserMedia(e).then(t,i)},!(t.version>55&&"autoGainControl"in r.mediaDevices.getSupportedConstraints())){let e=function(e,t,r){t in e&&!(r in e)&&(e[r]=e[t],delete e[t])},t=r.mediaDevices.getUserMedia.bind(r.mediaDevices);if(r.mediaDevices.getUserMedia=function(r){return"object"==typeof r&&"object"==typeof r.audio&&(e((r=JSON.parse(JSON.stringify(r))).audio,"autoGainControl","mozAutoGainControl"),e(r.audio,"noiseSuppression","mozNoiseSuppression")),t(r)},i&&i.prototype.getSettings){let t=i.prototype.getSettings;i.prototype.getSettings=function(){let r=t.apply(this,arguments);return e(r,"mozAutoGainControl","autoGainControl"),e(r,"mozNoiseSuppression","noiseSuppression"),r}}if(i&&i.prototype.applyConstraints){let t=i.prototype.applyConstraints;i.prototype.applyConstraints=function(r){return"audio"===this.kind&&"object"==typeof r&&(e(r=JSON.parse(JSON.stringify(r)),"autoGainControl","mozAutoGainControl"),e(r,"noiseSuppression","mozNoiseSuppression")),t.apply(this,[r])}}}}function yX(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||!e.navigator.mediaDevices||(e.navigator.mediaDevices.getDisplayMedia=function(r){if(!(r&&r.video)){let e=new DOMException("getDisplayMedia without video constraints is undefined");return e.name="NotFoundError",e.code=8,Promise.reject(e)}return!0===r.video?r.video={mediaSource:t}:r.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(r)})}function yQ(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function y0(e,t){if("object"!=typeof e||!(e.RTCPeerConnection||e.mozRTCPeerConnection))return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){let r=e.RTCPeerConnection.prototype[t];e.RTCPeerConnection.prototype[t]=({[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}})[t]});let r={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},i=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){let[e,a,o]=arguments;return i.apply(this,[e||null]).then(e=>{if(t.version<53&&!a)try{e.forEach(e=>{e.type=r[e.type]||e.type})}catch(t){if("TypeError"!==t.name)throw t;e.forEach((t,i)=>{e.set(i,Object.assign({},t,{type:r[t.type]||t.type}))})}return e}).then(a,o)}}function y1(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;let t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});let r=e.RTCPeerConnection.prototype.addTrack;r&&(e.RTCPeerConnection.prototype.addTrack=function(){let e=r.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function y2(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;let t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),yR(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function y3(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){yI("removeStream","removeTrack"),this.getSenders().forEach(t=>{t.track&&e.getTracks().includes(t.track)&&this.removeTrack(t)})})}function y4(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function y6(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]);let r=(e=[...e]).length>0;r&&e.forEach(e=>{if("rid"in e&&!/^[a-z0-9]{0,16}$/i.test(e.rid))throw TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw RangeError("max_framerate must be >= 0.0")});let i=t.apply(this,arguments);if(r){let{sender:t}=i,r=t.getParameters();"encodings"in r&&(1!==r.encodings.length||0!==Object.keys(r.encodings[0]).length)||(r.encodings=e,t.sendEncodings=e,this.setParametersPromises.push(t.setParameters(r).then(()=>{delete t.sendEncodings}).catch(()=>{delete t.sendEncodings})))}return i})}function y5(e){if(!("object"==typeof e&&e.RTCRtpSender))return;let t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){let e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}function y8(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function y9(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function y7(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){let t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach(r=>t.call(this,r,e)),e.getVideoTracks().forEach(r=>t.call(this,r,e))},e.RTCPeerConnection.prototype.addTrack=function(e,...r){return r&&r.forEach(e=>{this._localStreams?this._localStreams.includes(e)||this._localStreams.push(e):this._localStreams=[e]}),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);let t=this._localStreams.indexOf(e);if(-1===t)return;this._localStreams.splice(t,1);let r=e.getTracks();this.getSenders().forEach(e=>{r.includes(e.track)&&this.removeTrack(e)})})}}function _e(e){if("object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=e=>{e.streams.forEach(e=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(e))return;this._remoteStreams.push(e);let t=new Event("addstream");t.stream=e,this.dispatchEvent(t)})})}});let t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){let e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach(t=>{if(e._remoteStreams||(e._remoteStreams=[]),e._remoteStreams.indexOf(t)>=0)return;e._remoteStreams.push(t);let r=new Event("addstream");r.stream=t,e.dispatchEvent(r)})}),t.apply(e,arguments)}}}function _t(e){if("object"!=typeof e||!e.RTCPeerConnection)return;let t=e.RTCPeerConnection.prototype,r=t.createOffer,i=t.createAnswer,a=t.setLocalDescription,o=t.setRemoteDescription,s=t.addIceCandidate;t.createOffer=function(e,t){let i=arguments.length>=2?arguments[2]:arguments[0],a=r.apply(this,[i]);return t?(a.then(e,t),Promise.resolve()):a},t.createAnswer=function(e,t){let r=arguments.length>=2?arguments[2]:arguments[0],a=i.apply(this,[r]);return t?(a.then(e,t),Promise.resolve()):a};let l=function(e,t,r){let i=a.apply(this,[e]);return r?(i.then(t,r),Promise.resolve()):i};t.setLocalDescription=l,l=function(e,t,r){let i=o.apply(this,[e]);return r?(i.then(t,r),Promise.resolve()):i},t.setRemoteDescription=l,l=function(e,t,r){let i=s.apply(this,[e]);return r?(i.then(t,r),Promise.resolve()):i},t.addIceCandidate=l}function _n(e){let t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){let e=t.mediaDevices,r=e.getUserMedia.bind(e);t.mediaDevices.getUserMedia=e=>r(_r(e))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=(function(e,r,i){t.mediaDevices.getUserMedia(e).then(r,i)}).bind(t))}function _r(e){return e&&void 0!==e.video?Object.assign({},e,{video:function e(t){return yN(t)?Object.keys(t).reduce(function(r,i){let a=yN(t[i]),o=a?e(t[i]):t[i],s=a&&!Object.keys(o).length;return void 0===o||s?r:Object.assign(r,{[i]:o})},{}):t}(e.video)}):e}function _i(e){if(!e.RTCPeerConnection)return;let t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,r){if(e&&e.iceServers){let t=[];for(let r=0;rt.generateCertificate})}function _a(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function _o(e){let t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);let t=this.getTransceivers().find(e=>"audio"===e.receiver.track.kind);!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection?t.setDirection("sendonly"):t.direction="sendonly":"recvonly"===t.direction&&(t.setDirection?t.setDirection("inactive"):t.direction="inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio",{direction:"recvonly"}),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);let r=this.getTransceivers().find(e=>"video"===e.receiver.track.kind);!1===e.offerToReceiveVideo&&r?"sendrecv"===r.direction?r.setDirection?r.setDirection("sendonly"):r.direction="sendonly":"recvonly"===r.direction&&(r.setDirection?r.setDirection("inactive"):r.direction="inactive"):!0!==e.offerToReceiveVideo||r||this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function _s(e){"object"!=typeof e||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}var _l=r(2752),_c=r.n(_l);function _u(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;let t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substring(2)),e.candidate&&e.candidate.length){let r=new t(e),i=_c().parseCandidate(e.candidate);for(let e in i)e in r||Object.defineProperty(r,e,{value:i[e]});return r.toJSON=function(){return{candidate:r.candidate,sdpMid:r.sdpMid,sdpMLineIndex:r.sdpMLineIndex,usernameFragment:r.usernameFragment}},r}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,yR(e,"icecandidate",t=>(t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t))}function _d(e){!e.RTCIceCandidate||e.RTCIceCandidate&&"relayProtocol"in e.RTCIceCandidate.prototype||yR(e,"icecandidate",e=>{if(e.candidate){let t=_c().parseCandidate(e.candidate.candidate);"relay"===t.type&&(e.candidate.relayProtocol=({0:"tls",1:"tcp",2:"udp"})[t.priority>>24])}return e})}function _p(e,t){if(!e.RTCPeerConnection)return;"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});let r=function(e){if(!e||!e.sdp)return!1;let t=_c().splitSections(e.sdp);return t.shift(),t.some(e=>{let t=_c().parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")})},i=function(e){let t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return -1;let r=parseInt(t[1],10);return r!=r?-1:r},a=function(e){let r=65536;return"firefox"===t.browser&&(r=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),r},o=function(e,r){let i=65536;"firefox"===t.browser&&57===t.version&&(i=65535);let a=_c().matchPrefix(e.sdp,"a=max-message-size:");return a.length>0?i=parseInt(a[0].substring(19),10):"firefox"===t.browser&&-1!==r&&(i=2147483637),i},s=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){let{sdpSemantics:e}=this.getConfiguration();"plan-b"===e&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(r(arguments[0])){let e;let t=i(arguments[0]),r=a(t),s=o(arguments[0],t);e=0===r&&0===s?Number.POSITIVE_INFINITY:0===r||0===s?Math.max(r,s):Math.min(r,s);let l={};Object.defineProperty(l,"maxMessageSize",{get:()=>e}),this._sctp=l}return s.apply(this,arguments)}}function _f(e){if(!(e.RTCPeerConnection&&"createDataChannel"in e.RTCPeerConnection.prototype))return;function t(e,t){let r=e.send;e.send=function(){let i=arguments[0],a=i.length||i.size||i.byteLength;if("open"===e.readyState&&t.sctp&&a>t.sctp.maxMessageSize)throw TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return r.apply(e,arguments)}}let r=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){let e=r.apply(this,arguments);return t(e,this),e},yR(e,"datachannel",e=>(t(e.channel,e.target),e))}function _h(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;let t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get(){return({completed:"connected",checking:"connecting"})[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(e=>{let r=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=e=>{let t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;let r=new Event("connectionstatechange",e);t.dispatchEvent(r)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),r.apply(this,arguments)}})}function _m(e,t){if(!e.RTCPeerConnection||"chrome"===t.browser&&t.version>=71||"safari"===t.browser&&t.version>=605)return;let r=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){let r=t.sdp.split("\n").filter(e=>"a=extmap-allow-mixed"!==e.trim()).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:r}):t.sdp=r}return r.apply(this,arguments)}}function _g(e,t){if(!(e.RTCPeerConnection&&e.RTCPeerConnection.prototype))return;let r=e.RTCPeerConnection.prototype.addIceCandidate;r&&0!==r.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():r.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}function _v(e,t){if(!(e.RTCPeerConnection&&e.RTCPeerConnection.prototype))return;let r=e.RTCPeerConnection.prototype.setLocalDescription;r&&0!==r.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){let e=arguments[0]||{};if("object"!=typeof e||e.type&&e.sdp)return r.apply(this,arguments);if(!(e={type:e.type,sdp:e.sdp}).type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":e.type="offer";break;default:e.type="answer"}return e.sdp||"offer"!==e.type&&"answer"!==e.type?r.apply(this,[e]):("offer"===e.type?this.createOffer:this.createAnswer).apply(this).then(e=>r.apply(this,[e]))})}!function({window:e}={},t={shimChrome:!0,shimFirefox:!0,shimSafari:!0}){let r=function(e){let t={browser:null,version:null};if(void 0===e||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;let{navigator:r}=e;return r.mozGetUserMedia?(t.browser="firefox",t.version=yP(r.userAgent,/Firefox\/(\d+)\./,1)):r.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection?(t.browser="chrome",t.version=yP(r.userAgent,/Chrom(e|ium)\/(\d+)\./,2)):e.RTCPeerConnection&&r.userAgent.match(/AppleWebKit\/(\d+)\./)?(t.browser="safari",t.version=yP(r.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype):t.browser="Not a supported browser.",t}(e),i={browserDetails:r,commonShim:eo,extractVersion:yP,disableLog:yM,disableWarnings:yL,sdp:_l};switch(r.browser){case"chrome":if(!er||!yK||!t.shimChrome){yA("Chrome shim is not included in this adapter release.");break}if(null===r.version){yA("Chrome shim can not determine version, not shimming.");break}yA("adapter.js shimming chrome."),i.browserShim=er,_g(e,r),_v(e,r),yU(e,r),yH(e,r),yK(e,r),yq(e,r),yY(e,r),yV(e,r),yW(e,r),y$(e,r),yZ(e,r),_u(e,r),_d(e,r),_h(e,r),_p(e,r),_f(e,r),_m(e,r);break;case"firefox":if(!ei||!y0||!t.shimFirefox){yA("Firefox shim is not included in this adapter release.");break}yA("adapter.js shimming firefox."),i.browserShim=ei,_g(e,r),_v(e,r),yJ(e,r),y0(e,r),yQ(e,r),y3(e,r),y1(e,r),y2(e,r),y4(e,r),y6(e,r),y5(e,r),y8(e,r),y9(e,r),_u(e,r),_h(e,r),_p(e,r),_f(e,r);break;case"safari":if(!ea||!t.shimSafari){yA("Safari shim is not included in this adapter release.");break}yA("adapter.js shimming safari."),i.browserShim=ea,_g(e,r),_v(e,r),_i(e,r),_o(e,r),_t(e,r),y7(e,r),_e(e,r),_a(e,r),_n(e,r),_s(e,r),_u(e,r),_d(e,r),_p(e,r),_f(e,r),_m(e,r);break;default:yA("Unsupported browser!")}}({window:"undefined"==typeof window?void 0:window});let _b=Symbol.for("protobuf-ts/message-type");function _y(e){let t=!1,r=[];for(let i=0;i!i.includes(e))||!r&&i.some(e=>!a.known.includes(e)))return!1;if(t<1)return!0;for(let i of a.oneofs){let a=e[i];if(!function(e){if("object"!=typeof e||null===e||!e.hasOwnProperty("oneofKind"))return!1;switch(typeof e.oneofKind){case"string":if(void 0===e[e.oneofKind])return!1;return 2==Object.keys(e).length;case"undefined":return 1==Object.keys(e).length;default:return!1}}(a))return!1;if(void 0===a.oneofKind)continue;let o=this.fields.find(e=>e.localName===a.oneofKind);if(!o||!this.field(a[a.oneofKind],o,r,t))return!1}for(let i of this.fields)if(void 0===i.oneof&&!this.field(e[i.localName],i,r,t))return!1;return!0}field(e,t,r,i){let a=t.repeat;switch(t.kind){case"scalar":if(void 0===e)return t.opt;if(a)return this.scalars(e,t.T,i,t.L);return this.scalar(e,t.T,t.L);case"enum":if(void 0===e)return t.opt;if(a)return this.scalars(e,E.INT32,i);return this.scalar(e,E.INT32);case"message":if(void 0===e)break;if(a)return this.messages(e,t.T(),r,i);return this.message(e,t.T(),r,i);case"map":if("object"!=typeof e||null===e)return!1;if(i<2)break;if(!this.mapKeys(e,t.K,i))return!1;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,i,t.V.L);case"enum":return this.scalars(Object.values(e),E.INT32,i);case"message":return this.messages(Object.values(e),t.V.T(),r,i)}}return!0}message(e,t,r,i){return r?t.isAssignable(e,i):t.is(e,i)}messages(e,t,r,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(r){for(let r=0;rparseInt(e)),t,r);case E.BOOL:return this.scalars(i.slice(0,r).map(e=>"true"==e||"false"!=e&&e),t,r);default:return this.scalars(i,t,r,F.STRING)}}}function _k(e){let t=typeof e;if("object"==t){if(Array.isArray(e))return"array";if(null===e)return"null"}return t}function _x(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}let _E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),_F=[];for(let e=0;e<_E.length;e++)_F[_E[e].charCodeAt(0)]=e;function _C(){let e=0,t=0;for(let r=0;r<28;r+=7){let i=this.buf[this.pos++];if(e|=(127&i)<>4,(128&r)==0)return this.assertBounds(),[e,t];for(let r=3;r<=31;r+=7){let i=this.buf[this.pos++];if(t|=(127&i)<>>i,o=!(a>>>7==0&&0==t),s=(o?128|a:a)&255;if(r.push(s),!o)return}let i=e>>>28&15|(7&t)<<4,a=t>>3!=0;if(r.push((a?128|i:i)&255),a){for(let e=3;e<31;e+=7){let i=t>>>e,a=i>>>7!=0,o=(a?128|i:i)&255;if(r.push(o),!a)return}r.push(t>>>31&1)}}function _D(e){let t="-"==e[0];t&&(e=e.slice(1));let r=0,i=0;function a(t,a){let o=Number(e.slice(t,a));i*=1e6,(r=1e6*r+o)>=4294967296&&(i+=r/4294967296|0,r%=4294967296)}return a(-24,-18),a(-18,-12),a(-12,-6),a(-6),[t,r,i]}function _j(e,t){if(t>>>0<=2097151)return""+(4294967296*t+(e>>>0));let r=(e>>>24|t<<8)>>>0&16777215,i=t>>16&65535,a=(16777215&e)+6777216*r+6710656*i,o=r+8147497*i,s=2*i;function l(e,t){let r=e?String(e):"";return t?"0000000".slice(r.length)+r:r}return a>=1e7&&(o+=Math.floor(a/1e7),a%=1e7),o>=1e7&&(s+=Math.floor(o/1e7),o%=1e7),l(s,0)+l(o,s)+l(a,1)}function _T(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let r=0;r<9;r++)t.push(127&e|128),e>>=7;t.push(1)}}function _O(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0}function _P(e){if(!e)throw Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}_F["-".charCodeAt(0)]=_E.indexOf("+"),_F["_".charCodeAt(0)]=_E.indexOf("/"),function(){let e=new DataView(new ArrayBuffer(8));o=void 0!==globalThis.BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:void 0}();let _R=/^-?[0-9]+$/;class _M{constructor(e,t){this.lo=0|e,this.hi=0|t}isZero(){return 0==this.lo&&0==this.hi}toNumber(){let e=4294967296*this.hi+(this.lo>>>0);if(!Number.isSafeInteger(e))throw Error("cannot convert to safe number");return e}}class _L extends _M{static from(e){if(o)switch(typeof e){case"string":if("0"==e)return this.ZERO;if(""==e)throw Error("string is no integer");e=o.C(e);case"number":if(0===e)return this.ZERO;e=o.C(e);case"bigint":if(!e)return this.ZERO;if(eo.UMAX)throw Error("ulong too large");return o.V.setBigUint64(0,e,!0),new _L(o.V.getInt32(0,!0),o.V.getInt32(4,!0))}else switch(typeof e){case"string":if("0"==e)return this.ZERO;if(e=e.trim(),!_R.test(e))throw Error("string is no integer");let[t,r,i]=_D(e);if(t)throw Error("signed value for ulong");return new _L(r,i);case"number":if(0==e)return this.ZERO;if(!Number.isSafeInteger(e))throw Error("number is no integer");if(e<0)throw Error("signed value for ulong");return new _L(e,e/4294967296)}throw Error("unknown value "+typeof e)}toString(){return o?this.toBigInt().toString():_j(this.lo,this.hi)}toBigInt(){return _P(o),o.V.setInt32(0,this.lo,!0),o.V.setInt32(4,this.hi,!0),o.V.getBigUint64(0,!0)}}_L.ZERO=new _L(0,0);class _A extends _M{static from(e){if(o)switch(typeof e){case"string":if("0"==e)return this.ZERO;if(""==e)throw Error("string is no integer");e=o.C(e);case"number":if(0===e)return this.ZERO;e=o.C(e);case"bigint":if(!e)return this.ZERO;if(eo.MAX)throw Error("signed long too large");return o.V.setBigInt64(0,e,!0),new _A(o.V.getInt32(0,!0),o.V.getInt32(4,!0))}else switch(typeof e){case"string":if("0"==e)return this.ZERO;if(e=e.trim(),!_R.test(e))throw Error("string is no integer");let[t,r,i]=_D(e);if(t){if(i>2147483648||2147483648==i&&0!=r)throw Error("signed long too small")}else if(i>=2147483648)throw Error("signed long too large");let a=new _A(r,i);return t?a.negate():a;case"number":if(0==e)return this.ZERO;if(!Number.isSafeInteger(e))throw Error("number is no integer");return e>0?new _A(e,e/4294967296):new _A(-e,-e/4294967296).negate()}throw Error("unknown value "+typeof e)}isNegative(){return(2147483648&this.hi)!=0}negate(){let e=~this.hi,t=this.lo;return t?t=~t+1:e+=1,new _A(t,e)}toString(){if(o)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+_j(e.lo,e.hi)}return _j(this.lo,this.hi)}toBigInt(){return _P(o),o.V.setInt32(0,this.lo,!0),o.V.setInt32(4,this.hi,!0),o.V.getBigInt64(0,!0)}}function _I(e,t){if(!e)throw Error(t)}function _N(e){if("number"!=typeof e)throw Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>2147483647||e<-2147483648)throw Error("invalid int 32: "+e)}function _B(e){if("number"!=typeof e)throw Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>4294967295||e<0)throw Error("invalid uint 32: "+e)}function _U(e){if("number"!=typeof e)throw Error("invalid float 32: "+typeof e);if(Number.isFinite(e)&&(e>34028234663852886e22||e<-34028234663852886e22))throw Error("invalid float 32: "+e)}function _z(e,t){switch(t){case F.BIGINT:return e.toBigInt();case F.NUMBER:return e.toNumber();default:return e.toString()}}_A.ZERO=new _A(0,0);class _H{constructor(e){this.info=e}prepare(){var e;if(void 0===this.fMap)for(let t of(this.fMap={},null!==(e=this.info.fields)&&void 0!==e?e:[]))this.fMap[t.name]=t,this.fMap[t.jsonName]=t,this.fMap[t.localName]=t}assert(e,t,r){if(!e){let e=_k(r);throw("number"==e||"boolean"==e)&&(e=r.toString()),Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${t}`)}}read(e,t,r){this.prepare();let i=[];for(let[a,o]of Object.entries(e)){let e;let s=this.fMap[a];if(!s){if(!r.ignoreUnknownFields)throw Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${a}`);continue}let l=s.localName;if(s.oneof){if(null===o&&("enum"!==s.kind||"google.protobuf.NullValue"!==s.T()[0]))continue;if(i.includes(s.oneof))throw Error(`Multiple members of the oneof group "${s.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(s.oneof),e=t[s.oneof]={oneofKind:l}}else e=t;if("map"==s.kind){if(null===o)continue;this.assert(_x(o),s.name,o);let t=e[l];for(let[e,i]of Object.entries(o)){let a;switch(this.assert(null!==i,s.name+" map value",null),s.V.kind){case"message":a=s.V.T().internalJsonRead(i,r);break;case"enum":if(!1===(a=this.enum(s.V.T(),i,s.name,r.ignoreUnknownFields)))continue;break;case"scalar":a=this.scalar(i,s.V.T,s.V.L,s.name)}this.assert(void 0!==a,s.name+" map value",i);let o=e;s.K==E.BOOL&&(o="true"==o||"false"!=o&&o),t[o=this.scalar(o,s.K,F.STRING,s.name).toString()]=a}}else if(s.repeat){if(null===o)continue;this.assert(Array.isArray(o),s.name,o);let t=e[l];for(let e of o){let i;switch(this.assert(null!==e,s.name,null),s.kind){case"message":i=s.T().internalJsonRead(e,r);break;case"enum":if(!1===(i=this.enum(s.T(),e,s.name,r.ignoreUnknownFields)))continue;break;case"scalar":i=this.scalar(e,s.T,s.L,s.name)}this.assert(void 0!==i,s.name,o),t.push(i)}}else switch(s.kind){case"message":if(null===o&&"google.protobuf.Value"!=s.T().typeName){this.assert(void 0===s.oneof,s.name+" (oneof member)",null);continue}e[l]=s.T().internalJsonRead(o,r,e[l]);break;case"enum":let u=this.enum(s.T(),o,s.name,r.ignoreUnknownFields);if(!1===u)continue;e[l]=u;break;case"scalar":e[l]=this.scalar(o,s.T,s.L,s.name)}}}enum(e,t,r,i){if("google.protobuf.NullValue"==e[0]&&_I(null===t||"NULL_VALUE"===t,`Unable to parse field ${this.info.typeName}#${r}, enum ${e[0]} only accepts null.`),null===t)return 0;switch(typeof t){case"number":return _I(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${r}, enum can only be integral number, got ${t}.`),t;case"string":let a=t;e[2]&&t.substring(0,e[2].length)===e[2]&&(a=t.substring(e[2].length));let o=e[1][a];if(void 0===o&&i)return!1;return _I("number"==typeof o,`Unable to parse field ${this.info.typeName}#${r}, enum ${e[0]} has no value for "${t}".`),o}_I(!1,`Unable to parse field ${this.info.typeName}#${r}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,r,i){let a;try{switch(t){case E.DOUBLE:case E.FLOAT:if(null===e)return 0;if("NaN"===e)return Number.NaN;if("Infinity"===e)return Number.POSITIVE_INFINITY;if("-Infinity"===e)return Number.NEGATIVE_INFINITY;if(""===e){a="empty string";break}if("string"==typeof e&&e.trim().length!==e.length){a="extra whitespace";break}if("string"!=typeof e&&"number"!=typeof e)break;let i=Number(e);if(Number.isNaN(i)){a="not a number";break}if(!Number.isFinite(i)){a="too large or small";break}return t==E.FLOAT&&_U(i),i;case E.INT32:case E.FIXED32:case E.SFIXED32:case E.SINT32:case E.UINT32:let o;if(null===e)return 0;if("number"==typeof e?o=e:""===e?a="empty string":"string"==typeof e&&(e.trim().length!==e.length?a="extra whitespace":o=Number(e)),void 0===o)break;return t==E.UINT32?_B(o):_N(o),o;case E.INT64:case E.SFIXED64:case E.SINT64:if(null===e)return _z(_A.ZERO,r);if("number"!=typeof e&&"string"!=typeof e)break;return _z(_A.from(e),r);case E.FIXED64:case E.UINT64:if(null===e)return _z(_L.ZERO,r);if("number"!=typeof e&&"string"!=typeof e)break;return _z(_L.from(e),r);case E.BOOL:if(null===e)return!1;if("boolean"!=typeof e)break;return e;case E.STRING:if(null===e)return"";if("string"!=typeof e){a="extra whitespace";break}try{encodeURIComponent(e)}catch(e){break}return e;case E.BYTES:if(null===e||""===e)return new Uint8Array(0);if("string"!=typeof e)break;return function(e){let t=3*e.length/4;"="==e[e.length-2]?t-=2:"="==e[e.length-1]&&(t-=1);let r=new Uint8Array(t),i=0,a=0,o,s=0;for(let t=0;t>4,s=o,a=2;break;case 2:r[i++]=(15&s)<<4|(60&o)>>2,s=o,a=3;break;case 3:r[i++]=(3&s)<<6|o,a=0}}if(1==a)throw Error("invalid base64 string.");return r.subarray(0,i)}(e)}}catch(e){a=e.message}this.assert(!1,i+(a?" - "+a:""),e)}}class _q{constructor(e){var t;this.fields=null!==(t=e.fields)&&void 0!==t?t:[]}write(e,t){let r={};for(let i of this.fields){if(!i.oneof){let a=this.field(i,e[i.localName],t);void 0!==a&&(r[t.useProtoFieldName?i.name:i.jsonName]=a);continue}let a=e[i.oneof];if(a.oneofKind!==i.localName)continue;let o="scalar"==i.kind||"enum"==i.kind?Object.assign(Object.assign({},t),{emitDefaultValues:!0}):t,s=this.field(i,a[i.localName],o);_I(void 0!==s),r[t.useProtoFieldName?i.name:i.jsonName]=s}return r}field(e,t,r){let i;if("map"==e.kind){_I("object"==typeof t&&null!==t);let a={};switch(e.V.kind){case"scalar":for(let[r,i]of Object.entries(t)){let t=this.scalar(e.V.T,i,e.name,!1,!0);_I(void 0!==t),a[r.toString()]=t}break;case"message":let o=e.V.T();for(let[i,s]of Object.entries(t)){let t=this.message(o,s,e.name,r);_I(void 0!==t),a[i.toString()]=t}break;case"enum":let s=e.V.T();for(let[i,o]of Object.entries(t)){_I(void 0===o||"number"==typeof o);let t=this.enum(s,o,e.name,!1,!0,r.enumAsInteger);_I(void 0!==t),a[i.toString()]=t}}(r.emitDefaultValues||Object.keys(a).length>0)&&(i=a)}else if(e.repeat){_I(Array.isArray(t));let a=[];switch(e.kind){case"scalar":for(let r=0;r0||r.emitDefaultValues)&&(i=a)}else switch(e.kind){case"scalar":i=this.scalar(e.T,t,e.name,e.opt,r.emitDefaultValues);break;case"enum":i=this.enum(e.T(),t,e.name,e.opt,r.emitDefaultValues,r.enumAsInteger);break;case"message":i=this.message(e.T(),t,e.name,r)}return i}enum(e,t,r,i,a,o){if("google.protobuf.NullValue"==e[0])return a||i?null:void 0;if(void 0===t){_I(i);return}if(0!==t||a||i)return(_I("number"==typeof t),_I(Number.isInteger(t)),o||!e[1].hasOwnProperty(t))?t:e[2]?e[2]+e[1][t]:e[1][t]}message(e,t,r,i){return void 0===t?i.emitDefaultValues?null:void 0:e.internalJsonWrite(t,i)}scalar(e,t,r,i,a){if(void 0===t){_I(i);return}let o=a||i;switch(e){case E.INT32:case E.SFIXED32:case E.SINT32:if(0===t)return o?0:void 0;return _N(t),t;case E.FIXED32:case E.UINT32:if(0===t)return o?0:void 0;return _B(t),t;case E.FLOAT:_U(t);case E.DOUBLE:if(0===t)return o?0:void 0;if(_I("number"==typeof t),Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case E.STRING:if(""===t)return o?"":void 0;return _I("string"==typeof t),t;case E.BOOL:if(!1===t)return!o&&void 0;return _I("boolean"==typeof t),t;case E.UINT64:case E.FIXED64:_I("number"==typeof t||"string"==typeof t||"bigint"==typeof t);let s=_L.from(t);if(s.isZero()&&!o)return;return s.toString();case E.INT64:case E.SFIXED64:case E.SINT64:_I("number"==typeof t||"string"==typeof t||"bigint"==typeof t);let l=_A.from(t);if(l.isZero()&&!o)return;return l.toString();case E.BYTES:if(_I(t instanceof Uint8Array),!t.byteLength)return o?"":void 0;return function(e){let t="",r=0,i,a=0;for(let o=0;o>2],a=(3&i)<<4,r=1;break;case 1:t+=_E[a|i>>4],a=(15&i)<<2,r=2;break;case 2:t+=_E[a|i>>6]+_E[63&i],r=0}return r&&(t+=_E[a]+"=",1==r&&(t+="=")),t}(t)}}}function _V(e,t=F.STRING){switch(e){case E.BOOL:return!1;case E.UINT64:case E.FIXED64:return _z(_L.ZERO,t);case E.INT64:case E.SFIXED64:case E.SINT64:return _z(_A.ZERO,t);case E.DOUBLE:case E.FLOAT:return 0;case E.BYTES:return new Uint8Array(0);case E.STRING:return"";default:return 0}}(function(e){e.symbol=Symbol.for("protobuf-ts/unknown"),e.onRead=(r,i,a,o,s)=>{(t(i)?i[e.symbol]:i[e.symbol]=[]).push({no:a,wireType:o,data:s})},e.onWrite=(t,r,i)=>{for(let{no:t,wireType:a,data:o}of e.list(r))i.tag(t,a).raw(o)},e.list=(r,i)=>{if(t(r)){let t=r[e.symbol];return i?t.filter(e=>e.no==i):t}return[]},e.last=(t,r)=>e.list(t,r).slice(-1)[0];let t=t=>t&&Array.isArray(t[e.symbol])})(S||(S={})),function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"}(D||(D={}));class _W{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let t=null!==(e=this.info.fields)&&void 0!==e?e:[];this.fieldNoToField=new Map(t.map(e=>[e.no,e]))}}read(e,t,r,i){this.prepare();let a=void 0===i?e.len:e.pos+i;for(;e.pose.no-t.no)}}write(e,t,r){for(let i of(this.prepare(),this.fields)){let a,o,s=i.repeat,l=i.localName;if(i.oneof){let t=e[i.oneof];if(t.oneofKind!==l)continue;a=t[l],o=!0}else a=e[l],o=!1;switch(i.kind){case"scalar":case"enum":let u="enum"==i.kind?E.INT32:i.T;if(s){if(_I(Array.isArray(a)),s==C.PACKED)this.packed(t,u,i.no,a);else for(let e of a)this.scalar(t,u,i.no,e,!0)}else void 0===a?_I(i.opt):this.scalar(t,u,i.no,a,o||i.opt);break;case"message":if(s)for(let e of(_I(Array.isArray(a)),a))this.message(t,r,i.T(),i.no,e);else this.message(t,r,i.T(),i.no,a);break;case"map":for(let[e,o]of(_I("object"==typeof a&&null!==a),Object.entries(a)))this.mapEntry(t,r,i,e,o)}}let i=r.writeUnknownFields;!1!==i&&(!0===i?S.onWrite:i)(this.info.typeName,e,t)}mapEntry(e,t,r,i,a){e.tag(r.no,D.LengthDelimited),e.fork();let o=i;switch(r.K){case E.INT32:case E.FIXED32:case E.UINT32:case E.SFIXED32:case E.SINT32:o=Number.parseInt(i);break;case E.BOOL:_I("true"==i||"false"==i),o="true"==i}switch(this.scalar(e,r.K,1,o,!0),r.V.kind){case"scalar":this.scalar(e,r.V.T,2,a,!0);break;case"enum":this.scalar(e,E.INT32,2,a,!0);break;case"message":this.message(e,t,r.V.T(),2,a)}e.join()}message(e,t,r,i,a){void 0!==a&&(r.internalBinaryWrite(a,e.tag(i,D.LengthDelimited).fork(),t),e.join())}scalar(e,t,r,i,a){let[o,s,l]=this.scalarInfo(t,i);(!l||a)&&(e.tag(r,o),e[s](i))}packed(e,t,r,i){if(!i.length)return;_I(t!==E.BYTES&&t!==E.STRING),e.tag(r,D.LengthDelimited),e.fork();let[,a]=this.scalarInfo(t);for(let t=0;tnew _1};class _1{constructor(e){this.stack=[],this.textEncoder=null!=e?e:new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(_B(e);e>127;)this.buf.push(127&e|128),e>>>=7;return this.buf.push(e),this}int32(e){return _N(e),_T(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.textEncoder.encode(e);return this.uint32(t.byteLength),this.raw(t)}float(e){_U(e);let t=new Uint8Array(4);return new DataView(t.buffer).setFloat32(0,e,!0),this.raw(t)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){_B(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){_N(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return _N(e),_T(e=(e<<1^e>>31)>>>0,this.buf),this}sfixed64(e){let t=new Uint8Array(8),r=new DataView(t.buffer),i=_A.from(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),r=new DataView(t.buffer),i=_L.from(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(t)}int64(e){let t=_A.from(e);return _S(t.lo,t.hi,this.buf),this}sint64(e){let t=_A.from(e),r=t.hi>>31;return _S(t.lo<<1^r,(t.hi<<1|t.lo>>>31)^r,this.buf),this}uint64(e){let t=_L.from(e);return _S(t.lo,t.hi,this.buf),this}}let _2={readUnknownField:!0,readerFactory:e=>new _3(e)};class _3{constructor(e,t){this.varint64=_C,this.uint32=_O,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=null!=t?t:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),t=e>>>3,r=7&e;if(t<=0||r<0||r>5)throw Error("illegal tag: field no "+t+" wire type "+r);return[t,r]}skip(e){let t=this.pos;switch(e){case D.Varint:for(;128&this.buf[this.pos++];);break;case D.Bit64:this.pos+=4;case D.Bit32:this.pos+=4;break;case D.LengthDelimited:let r=this.uint32();this.pos+=r;break;case D.StartGroup:let i;for(;(i=this.tag()[1])!==D.EndGroup;)this.skip(i);break;default:throw Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let e=this.uint32();return e>>>1^-(1&e)}int64(){return new _A(...this.varint64())}uint64(){return new _L(...this.varint64())}sint64(){let[e,t]=this.varint64(),r=-(1&e);return new _A(e=(e>>>1|(1&t)<<31)^r,t=t>>>1^r)}bool(){let[e,t]=this.varint64();return 0!==e||0!==t}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new _L(this.sfixed32(),this.sfixed32())}sfixed64(){return new _A(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}let _4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));class _6{constructor(e,t,r){this.defaultCheckDepth=16,this.typeName=e,this.fields=t.map(__),this.options=null!=r?r:{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},_4),{[_b]:{value:this}})),this.refTypeCheck=new _w(this),this.refJsonReader=new _H(this),this.refJsonWriter=new _q(this),this.refBinReader=new _W(this),this.refBinWriter=new _$(this)}create(e){let t=function(e){let t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},_b,{value:e});for(let r of e.fields){let e=r.localName;if(!r.opt){if(r.oneof)t[r.oneof]={oneofKind:void 0};else if(r.repeat)t[e]=[];else switch(r.kind){case"scalar":t[e]=_V(r.T,r.L);break;case"enum":t[e]=0;break;case"map":t[e]={}}}}return t}(this);return void 0!==e&&_G(this,t,e),t}clone(e){let t=this.create();return _G(this,t,e),t}equals(e,t){return function(e,t,r){if(t===r)return!0;if(!t||!r)return!1;for(let i of e.fields){let e=i.localName,a=i.oneof?t[i.oneof][e]:t[e],o=i.oneof?r[i.oneof][e]:r[e];switch(i.kind){case"enum":case"scalar":let s="enum"==i.kind?E.INT32:i.T;if(!(i.repeat?_X(s,a,o):_J(s,a,o)))return!1;break;case"map":if(!("message"==i.V.kind?_Q(i.V.T(),_Z(a),_Z(o)):_X("enum"==i.V.kind?E.INT32:i.V.T,_Z(a),_Z(o))))return!1;break;case"message":let l=i.T();if(!(i.repeat?_Q(l,a,o):l.equals(a,o)))return!1}}return!0}(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!1)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!0)}mergePartial(e,t){_G(this,e,t)}fromBinary(e,t){let r=t?Object.assign(Object.assign({},_2),t):_2;return this.internalBinaryRead(r.readerFactory(e),e.byteLength,r)}fromJson(e,t){return this.internalJsonRead(e,t?Object.assign(Object.assign({},_K),t):_K)}fromJsonString(e,t){let r=JSON.parse(e);return this.fromJson(r,t)}toJson(e,t){return this.internalJsonWrite(e,t?Object.assign(Object.assign({},_Y),t):_Y)}toJsonString(e,t){var r;return JSON.stringify(this.toJson(e,t),null,null!==(r=null==t?void 0:t.prettySpaces)&&void 0!==r?r:0)}toBinary(e,t){let r=t?Object.assign(Object.assign({},_0),t):_0;return this.internalBinaryWrite(e,r.writerFactory(),r).finish()}internalJsonRead(e,t,r){if(null!==e&&"object"==typeof e&&!Array.isArray(e)){let i=null!=r?r:this.create();return this.refJsonReader.read(e,i,t),i}throw Error(`Unable to parse message ${this.typeName} from JSON ${_k(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,r){return this.refBinWriter.write(e,t,r),t}internalBinaryRead(e,t,r,i){let a=null!=i?i:this.create();return this.refBinReader.read(e,a,r,t),a}}class _5{constructor(e,t,r){this.typeName=e,this.methods=t.map(e=>(function(e,t){var r,i,a;return e.service=t,e.localName=null!==(r=e.localName)&&void 0!==r?r:_y(e.name),e.serverStreaming=!!e.serverStreaming,e.clientStreaming=!!e.clientStreaming,e.options=null!==(i=e.options)&&void 0!==i?i:{},e.idempotency=null!==(a=e.idempotency)&&void 0!==a?a:void 0,e})(e,this)),this.options=null!=r?r:{}}}let{Axios:_8,AxiosError:_9,CanceledError:_7,isCancel:we,CancelToken:wt,VERSION:wn,all:wr,Cancel:wi,isAxiosError:wa,spread:wo,toFormData:ws,AxiosHeaders:wl,HttpStatusCode:wc,formToJSON:wu,getAdapter:wd,mergeConfig:wp}=nY;function wf(e){return"function"==typeof e}function wh(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}!function(e){e[e.cancelled=0]="cancelled",e[e.unknown=1]="unknown",e[e.invalid_argument=2]="invalid_argument",e[e.malformed=3]="malformed",e[e.deadline_exceeded=4]="deadline_exceeded",e[e.not_found=5]="not_found",e[e.bad_route=6]="bad_route",e[e.already_exists=7]="already_exists",e[e.permission_denied=8]="permission_denied",e[e.unauthenticated=9]="unauthenticated",e[e.resource_exhausted=10]="resource_exhausted",e[e.failed_precondition=11]="failed_precondition",e[e.aborted=12]="aborted",e[e.out_of_range=13]="out_of_range",e[e.unimplemented=14]="unimplemented",e[e.internal=15]="internal",e[e.unavailable=16]="unavailable",e[e.dataloss=17]="dataloss"}(j||(j={})),!function(e){e[e.PENDING=0]="PENDING",e[e.REJECTED=1]="REJECTED",e[e.RESOLVED=2]="RESOLVED"}(T||(T={}));var wm=wh(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function wg(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var wv=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,i,a,o=this._parentage;if(o){if(this._parentage=null,Array.isArray(o))try{for(var s=iu(o),l=s.next();!l.done;l=s.next())l.value.remove(this)}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this)}var u=this.initialTeardown;if(wf(u))try{u()}catch(e){a=e instanceof wm?e.errors:[e]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=iu(d),f=p.next();!f.done;f=p.next()){var m=f.value;try{w_(m)}catch(e){a=null!=a?a:[],e instanceof wm?a=ip(ip([],id(a)),id(e.errors)):a.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}if(a)throw new wm(a)}},t.prototype.add=function(e){var r;if(e&&e!==this){if(this.closed)w_(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&wg(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&wg(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),wb=wv.EMPTY;function wy(e){return e instanceof wv||e&&"closed"in e&&wf(e.remove)&&wf(e.add)&&wf(e.unsubscribe)}function w_(e){wf(e)?e():e.unsubscribe()}var ww={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wk={setTimeout:function(e,t){for(var r=[],i=2;i0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,a=this.observers;return r||i?wb:(this.currentObservers=null,a.push(e),new wv(function(){t.currentObservers=null,wg(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new wB;return e.source=this,e},t.create=function(e,t){return new wq(e,t)},t}(wB),wq=function(e){function t(t,r){var i=e.call(this)||this;return i.destination=t,i.source=r,i}return ia(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:wb},t}(wH),wV={now:function(){return(wV.delegate||Date).now()},delegate:void 0},wW=function(e){function t(t,r,i){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===i&&(i=wV);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,r),a}return ia(t,e),t.prototype.next=function(t){var r=this.isStopped,i=this._buffer,a=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!r&&(i.push(t),a||i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),a=0;a1||l(e,t)})},t&&(i[e]=t(i[e])))}function l(e,t){try{var r;(r=a[e](t)).value instanceof ih?Promise.resolve(r.value.v).then(u,d):p(o[0][2],r)}catch(e){p(o[0][3],e)}}function u(e){l("next",e)}function d(e){l("throw",e)}function p(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function(){var t,r,i;return ic(this,function(a){switch(a.label){case 0:t=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ih(t.read())];case 3:if(i=(r=a.sent()).value,!r.done)return[3,5];return[4,ih(void 0)];case 4:return[2,a.sent()];case 5:return[4,ih(i)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function w3(e){return wf(null==e?void 0:e.getReader)}function w4(e){if(e instanceof wB)return e;if(null!=e){if(wf(e[wI]))return new wB(function(t){var r=e[wI]();if(wf(r.subscribe))return r.subscribe(t);throw TypeError("Provided object does not correctly implement Symbol.observable")});if(wZ(e))return new wB(function(t){for(var r=0;r0&&(t=new wR({next:function(e){return b.next(e)},error:function(e){u=!0,p(),r=ku(m,l,e),b.error(e)},complete:function(){s=!0,p(),r=ku(m,d),b.complete()}}),w4(e).subscribe(t))})(e)}}function kp(e,t){return e===t}var kf=function(e){function t(t,r){return e.call(this)||this}return ia(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(wv),kh={setInterval:function(e,t){for(var r=[],i=2;ikS}}])}internalJsonWrite(e,t){let r={};for(let[t,i]of Object.entries(e.fields))r[t]=kS.toJson(i);return r}internalJsonRead(e,t,r){if(!_x(e))throw new globalThis.Error("Unable to parse message "+this.typeName+" from JSON "+_k(e)+".");for(let[t,i]of(r||(r=this.create()),globalThis.Object.entries(e)))r.fields[t]=kS.fromJson(i);return r}create(e){let t={fields:{}};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["google.protobuf.NullValue",O]},{no:2,name:"number_value",kind:"scalar",oneof:"kind",T:1},{no:3,name:"string_value",kind:"scalar",oneof:"kind",T:9},{no:4,name:"bool_value",kind:"scalar",oneof:"kind",T:8},{no:5,name:"struct_value",kind:"message",oneof:"kind",T:()=>kF},{no:6,name:"list_value",kind:"message",oneof:"kind",T:()=>kj}])}internalJsonWrite(e,t){if(void 0===e.kind.oneofKind)throw new globalThis.Error;switch(e.kind.oneofKind){case void 0:throw new globalThis.Error;case"boolValue":return e.kind.boolValue;case"nullValue":return null;case"numberValue":return e.kind.numberValue;case"stringValue":return e.kind.stringValue;case"listValue":let r=this.fields.find(e=>6===e.no);if(r?.kind!=="message")throw new globalThis.Error;return r.T().toJson(e.kind.listValue);case"structValue":let i=this.fields.find(e=>5===e.no);if(i?.kind!=="message")throw new globalThis.Error;return i.T().toJson(e.kind.structValue)}}internalJsonRead(e,t,r){switch(r||(r=this.create()),typeof e){case"number":r.kind={oneofKind:"numberValue",numberValue:e};break;case"string":r.kind={oneofKind:"stringValue",stringValue:e};break;case"boolean":r.kind={oneofKind:"boolValue",boolValue:e};break;case"object":null===e?r.kind={oneofKind:"nullValue",nullValue:O.NULL_VALUE}:globalThis.Array.isArray(e)?r.kind={oneofKind:"listValue",listValue:kj.fromJson(e)}:r.kind={oneofKind:"structValue",structValue:kF.fromJson(e)};break;default:throw new globalThis.Error("Unable to parse "+this.typeName+" from JSON "+_k(e))}return r}create(e){let t={kind:{oneofKind:void 0}};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskS}])}internalJsonWrite(e,t){return e.values.map(e=>kS.toJson(e))}internalJsonRead(e,t,r){if(!globalThis.Array.isArray(e))throw new globalThis.Error("Unable to parse "+this.typeName+" from JSON "+_k(e));r||(r=this.create());let i=e.map(e=>kS.fromJson(e));return r.values.push(...i),r}create(e){let t={values:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posDate.parse("9999-12-31T23:59:59Z"))throw Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(e.nanos<0)throw Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let i="Z";if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);i="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(r).toISOString().replace(".000Z",i)}internalJsonRead(e,t,r){if("string"!=typeof e)throw Error("Unable to parse Timestamp from JSON "+_k(e)+".");let i=e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!i)throw Error("Unable to parse Timestamp from JSON. Invalid format.");let a=Date.parse(i[1]+"-"+i[2]+"-"+i[3]+"T"+i[4]+":"+i[5]+":"+i[6]+(i[8]?i[8]:"Z"));if(Number.isNaN(a))throw Error("Unable to parse Timestamp from JSON. Invalid value.");if(aDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");return r||(r=this.create()),r.seconds=_A.from(a/1e3).toString(),r.nanos=0,i[7]&&(r.nanos=parseInt("1"+i[7]+"0".repeat(9-i[7].length))-1e9),r}create(e){let t={seconds:"0",nanos:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskB},{no:2,name:"started_at",kind:"message",T:()=>kO},{no:3,name:"participant_count",kind:"message",T:()=>kL},{no:4,name:"pins",kind:"message",repeat:1,T:()=>kI}])}create(e){let t={participants:[],pins:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",L,"TRACK_TYPE_"]},{no:4,name:"joined_at",kind:"message",T:()=>kO},{no:5,name:"track_lookup_prefix",kind:"scalar",T:9},{no:6,name:"connection_quality",kind:"enum",T:()=>["stream.video.sfu.models.ConnectionQuality",R,"CONNECTION_QUALITY_"]},{no:7,name:"is_speaking",kind:"scalar",T:8},{no:8,name:"is_dominant_speaker",kind:"scalar",T:8},{no:9,name:"audio_level",kind:"scalar",T:2},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"image",kind:"scalar",T:9},{no:12,name:"custom",kind:"message",T:()=>kF},{no:13,name:"roles",kind:"scalar",repeat:2,T:9}])}create(e){let t={userId:"",sessionId:"",publishedTracks:[],trackLookupPrefix:"",connectionQuality:0,isSpeaking:!1,isDominantSpeaker:!1,audioLevel:0,name:"",image:"",roles:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.VideoQuality",M,"VIDEO_QUALITY_"]},{no:2,name:"user_id",kind:"scalar",T:9}])}create(e){let t={videoQuality:0,userId:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskq},{no:4,name:"bitrate",kind:"scalar",T:13},{no:5,name:"fps",kind:"scalar",T:13},{no:6,name:"quality",kind:"enum",T:()=>["stream.video.sfu.models.VideoQuality",M,"VIDEO_QUALITY_"]}])}create(e){let t={rid:"",bitrate:0,fps:0,quality:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",P,"PEER_TYPE_"]},{no:2,name:"ice_candidate",kind:"scalar",T:9},{no:3,name:"session_id",kind:"scalar",T:9}])}create(e){let t={peerType:0,iceCandidate:"",sessionId:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",L,"TRACK_TYPE_"]},{no:5,name:"layers",kind:"message",repeat:1,T:()=>kW},{no:6,name:"mid",kind:"scalar",T:9},{no:7,name:"dtx",kind:"scalar",T:8},{no:8,name:"stereo",kind:"scalar",T:8},{no:9,name:"red",kind:"scalar",T:8}])}create(e){let t={trackId:"",trackType:0,layers:[],mid:"",dtx:!1,stereo:!1,red:!1};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskF},{no:6,name:"created_at",kind:"message",T:()=>kO},{no:7,name:"updated_at",kind:"message",T:()=>kO}])}create(e){let t={type:"",id:"",createdByUserId:"",hostUserId:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.ErrorCode",A,"ERROR_CODE_"]},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"should_retry",kind:"scalar",T:8}])}create(e){let t={code:0,message:"",shouldRetry:!1};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posk3},{no:2,name:"os",kind:"message",T:()=>k6},{no:3,name:"browser",kind:"message",T:()=>k8},{no:4,name:"device",kind:"message",T:()=>k7}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.SdkType",I,"SDK_TYPE_"]},{no:2,name:"major",kind:"scalar",T:9},{no:3,name:"minor",kind:"scalar",T:9},{no:4,name:"patch",kind:"scalar",T:9}])}create(e){let t={type:0,major:"",minor:"",patch:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",P,"PEER_TYPE_"]}])}create(e){let t={sessionId:"",peerType:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posxp}])}create(e){let t={sessionId:"",muteStates:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",L,"TRACK_TYPE_"]},{no:2,name:"muted",kind:"scalar",T:8}])}create(e){let t={trackType:0,muted:!1};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posx_}])}create(e){let t={sessionId:"",tracks:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",L,"TRACK_TYPE_"]},{no:4,name:"dimension",kind:"message",T:()=>kq}])}create(e){let t={userId:"",sessionId:"",trackType:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",P,"PEER_TYPE_"]},{no:2,name:"sdp",kind:"scalar",T:9},{no:3,name:"session_id",kind:"scalar",T:9}])}create(e){let t={peerType:0,sdp:"",sessionId:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskZ}])}create(e){let t={sdp:"",sessionId:"",tracks:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={sdp:"",sessionId:"",iceRestart:!1};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posx4},{no:2,name:"publisher_answer",kind:"message",oneof:"eventPayload",T:()=>x5},{no:3,name:"connection_quality_changed",kind:"message",oneof:"eventPayload",T:()=>x9},{no:4,name:"audio_level_changed",kind:"message",oneof:"eventPayload",T:()=>Eo},{no:5,name:"ice_trickle",kind:"message",oneof:"eventPayload",T:()=>kY},{no:6,name:"change_publish_quality",kind:"message",oneof:"eventPayload",T:()=>Eb},{no:10,name:"participant_joined",kind:"message",oneof:"eventPayload",T:()=>x0},{no:11,name:"participant_left",kind:"message",oneof:"eventPayload",T:()=>x2},{no:12,name:"dominant_speaker_changed",kind:"message",oneof:"eventPayload",T:()=>En},{no:13,name:"join_response",kind:"message",oneof:"eventPayload",T:()=>xX},{no:14,name:"health_check_response",kind:"message",oneof:"eventPayload",T:()=>xH},{no:16,name:"track_published",kind:"message",oneof:"eventPayload",T:()=>xV},{no:17,name:"track_unpublished",kind:"message",oneof:"eventPayload",T:()=>x$},{no:18,name:"error",kind:"message",oneof:"eventPayload",T:()=>xM},{no:19,name:"call_grants_updated",kind:"message",oneof:"eventPayload",T:()=>E_},{no:20,name:"go_away",kind:"message",oneof:"eventPayload",T:()=>Ek},{no:21,name:"ice_restart",kind:"message",oneof:"eventPayload",T:()=>xI},{no:22,name:"pins_updated",kind:"message",oneof:"eventPayload",T:()=>xP}])}create(e){let t={eventPayload:{oneofKind:void 0}};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskI}])}create(e){let t={pins:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskQ}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",P,"PEER_TYPE_"]},{no:2,name:"ice_candidate",kind:"scalar",T:9}])}create(e){let t={peerType:0,iceCandidate:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",P,"PEER_TYPE_"]}])}create(e){let t={peerType:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posxY},{no:2,name:"health_check_request",kind:"message",oneof:"requestPayload",T:()=>xU}])}create(e){let t={requestPayload:{oneofKind:void 0}};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskL}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",L,"TRACK_TYPE_"]},{no:4,name:"participant",kind:"message",T:()=>kB}])}create(e){let t={userId:"",sessionId:"",type:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",L,"TRACK_TYPE_"]},{no:4,name:"cause",kind:"enum",T:()=>["stream.video.sfu.models.TrackUnpublishReason",N,"TRACK_UNPUBLISH_REASON_"]},{no:5,name:"participant",kind:"message",T:()=>kB}])}create(e){let t={userId:"",sessionId:"",type:0,cause:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posk1},{no:5,name:"migration",kind:"message",T:()=>xZ},{no:6,name:"fast_reconnect",kind:"scalar",T:8}])}create(e){let t={token:"",sessionId:"",subscriberSdp:"",fastReconnect:!1};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskZ},{no:3,name:"subscriptions",kind:"message",repeat:1,T:()=>x_}])}create(e){let t={fromSfuId:"",announcedTracks:[],subscriptions:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskR},{no:2,name:"reconnected",kind:"scalar",T:8}])}create(e){let t={reconnected:!1};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskB}])}create(e){let t={callCid:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.poskB}])}create(e){let t={callCid:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posEe}])}create(e){let t={connectionQualityUpdates:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.ConnectionQuality",R,"CONNECTION_QUALITY_"]}])}create(e){let t={userId:"",sessionId:"",connectionQuality:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posEi}])}create(e){let t={audioLevels:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posEl},{no:2,name:"codec",kind:"message",T:()=>kG}])}create(e){let t={};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.event.VideoLayerSetting.Priority",U,"PRIORITY_"]},{no:6,name:"codec",kind:"message",T:()=>kG},{no:7,name:"max_framerate",kind:"scalar",T:13}])}create(e){let t={name:"",active:!1,maxBitrate:0,scaleResolutionDownBy:0,priority:0,maxFramerate:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posEp},{no:2,name:"codec",kind:"message",T:()=>kG},{no:3,name:"layers",kind:"message",repeat:1,T:()=>Eh}])}create(e){let t={layers:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posEu},{no:2,name:"video_senders",kind:"message",repeat:1,T:()=>Eg}])}create(e){let t={audioSenders:[],videoSenders:[]};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.posxt},{no:2,name:"message",kind:"scalar",T:9}])}create(e){let t={message:""};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos["stream.video.sfu.models.GoAwayReason",B,"GO_AWAY_REASON_"]}])}create(e){let t={reason:0};return globalThis.Object.defineProperty(t,_b,{enumerable:!1,value:this}),void 0!==e&&_G(this,t,e),t}internalBinaryRead(e,t,r,i){let a=i??this.create(),o=e.pos+t;for(;e.pos!!e.isLocalParticipant,EE=Object.freeze({trace:0,debug:1,info:2,warn:3,error:4}),EF=(e,t,...r)=>{let i;switch(e){case"error":i=console.error;break;case"warn":i=console.warn;break;case"info":i=console.info;break;case"trace":i=console.trace;break;default:i=console.log}i(t,...r)},EC=e=>{let t=s||EF,r=(e||[]).join(":");return(e,i,...a)=>{EE[e]>=EE.info&&t(e,`[${r}]: ${i}`,...a)}};EC(["Publisher"]),EC(["Subscriber"]),"undefined"!=typeof crypto&&void 0!==crypto?.getRandomValues?crypto.getRandomValues.bind(crypto):"undefined"!=typeof msCrypto&&msCrypto.getRandomValues.bind(msCrypto);let ES=e=>"function"==typeof e,ED=e=>{let t,r;if(kl([e]).subscribe({next:([e])=>{t=e},error:e=>{r=e}}).unsubscribe(),r)throw r;return t},Ej=(e,t)=>{let r=ES(t)?t(ED(e)):t;return e.next(r),r};var ET=Object.freeze({__proto__:null,createSubscription:(e,t)=>{let r=e.subscribe(t);return()=>{r.unsubscribe()}},getCurrentValue:ED,setCurrentValue:Ej});let EO=(...e)=>(t,r)=>{for(let i of e){let e=i(t,r);if(0!==e)return e}return 0},EP=e=>t=>(r,i)=>e(r,i)?t(r,i):0,ER=(e,t)=>e.isDominantSpeaker&&!t.isDominantSpeaker?-1:!e.isDominantSpeaker&&t.isDominantSpeaker?1:0,EM=(e,t)=>e.isSpeaking&&!t.isSpeaking?-1:!e.isSpeaking&&t.isSpeaking?1:0,EL=(e,t)=>Ez(e)&&!Ez(t)?-1:!Ez(e)&&Ez(t)?1:0,EA=(e,t)=>EH(e)&&!EH(t)?-1:!EH(e)&&EH(t)?1:0,EI=(e,t)=>Eq(e)&&!Eq(t)?-1:!Eq(e)&&Eq(t)?1:0,EN=(e,t)=>{if(e.pin&&t.pin){if(!e.pin.isLocalPin&&t.pin.isLocalPin)return -1;if(e.pin.isLocalPin&&!t.pin.isLocalPin)return 1;if(e.pin.pinnedAt>t.pin.pinnedAt)return -1;if(e.pin.pinnedAt(t,r)=>t.reaction?.type===e&&r.reaction?.type!==e?-1:t.reaction?.type!==e&&r.reaction?.type===e?1:0,EU=(e,t)=>(e.roles||[]).some(e=>t.includes(e)),Ez=e=>e.publishedTracks.includes(L.SCREEN_SHARE),EH=e=>e.publishedTracks.includes(L.VIDEO),Eq=e=>e.publishedTracks.includes(L.AUDIO),EV=EP((e,t)=>e.viewportVisibilityState?.videoTrack===z.INVISIBLE||t.viewportVisibilityState?.videoTrack===z.INVISIBLE),EW=EP((e,t)=>e.viewportVisibilityState?.videoTrack===z.INVISIBLE||e.viewportVisibilityState?.videoTrack===z.UNKNOWN||t.viewportVisibilityState?.videoTrack===z.INVISIBLE||t.viewportVisibilityState?.videoTrack===z.UNKNOWN),E$=EO(EN,EL,EV(EO(ER,EM,EB("raised-hand"),EA,EI)));EO(EN,EL,ER,EV(EO(EM,EB("raised-hand"),EA,EI)));let EG=EO(EN,EW(EO(ER,EM,EB("raised-hand"),EA,EI))),EY=EO(EV(EO(ER,EM,EB("raised-hand"),EA,EI)),((...e)=>(t,r)=>EU(t,e)&&!EU(r,e)?-1:!EU(t,e)&&EU(r,e)?1:0)("admin","host","speaker"));!function(e){e.UNKNOWN="unknown",e.IDLE="idle",e.RINGING="ringing",e.JOINING="joining",e.JOINED="joined",e.LEFT="left",e.RECONNECTING="reconnecting",e.MIGRATING="migrating",e.RECONNECTING_FAILED="reconnecting-failed",e.OFFLINE="offline"}(q||(q={}));class EK{constructor(){this.backstageSubject=new kc(!0),this.blockedUserIdsSubject=new kc([]),this.createdAtSubject=new kc(new Date),this.endedAtSubject=new kc(void 0),this.startsAtSubject=new kc(void 0),this.updatedAtSubject=new kc(new Date),this.createdBySubject=new kc(void 0),this.customSubject=new kc({}),this.egressSubject=new kc(void 0),this.ingressSubject=new kc(void 0),this.recordingSubject=new kc(!1),this.sessionSubject=new kc(void 0),this.settingsSubject=new kc(void 0),this.transcribingSubject=new kc(!1),this.endedBySubject=new kc(void 0),this.thumbnailsSubject=new kc(void 0),this.membersSubject=new kc([]),this.ownCapabilitiesSubject=new kc([]),this.callingStateSubject=new kc(q.UNKNOWN),this.startedAtSubject=new kc(void 0),this.participantCountSubject=new kc(0),this.anonymousParticipantCountSubject=new kc(0),this.participantsSubject=new kc([]),this.callStatsReportSubject=new kc(void 0),this.sortParticipantsBy=E$,this.setSortParticipantsBy=e=>{this.sortParticipantsBy=e,this.setCurrentValue(this.participantsSubject,e=>e)},this.getCurrentValue=ED,this.setCurrentValue=Ej,this.setParticipantCount=e=>this.setCurrentValue(this.participantCountSubject,e),this.setStartedAt=e=>this.setCurrentValue(this.startedAtSubject,e),this.setAnonymousParticipantCount=e=>this.setCurrentValue(this.anonymousParticipantCountSubject,e),this.setParticipants=e=>this.setCurrentValue(this.participantsSubject,e),this.setCallingState=e=>this.setCurrentValue(this.callingStateSubject,e),this.setCallStatsReport=e=>this.setCurrentValue(this.callStatsReportSubject,e),this.setMembers=e=>{this.setCurrentValue(this.membersSubject,e)},this.setOwnCapabilities=e=>this.setCurrentValue(this.ownCapabilitiesSubject,e),this.findParticipantBySessionId=e=>this.participants.find(t=>t.sessionId===e),this.getParticipantLookupBySessionId=()=>this.participants.reduce((e,t)=>(e[t.sessionId]=t,e),{}),this.updateParticipant=(e,t)=>{let r=this.findParticipantBySessionId(e);if(!r){this.logger("warn",`Participant with sessionId ${e} not found`);return}let i="function"==typeof t?t(r):t,a={...r,...i};return this.setParticipants(t=>t.map(t=>t.sessionId===e?a:t))},this.updateOrAddParticipant=(e,t)=>this.findParticipantBySessionId(e)?this.setParticipants(r=>r.map(r=>r.sessionId===e?{...r,...t}:r)):this.setParticipants(e=>[...e,t]),this.updateParticipants=e=>{if(0!==Object.keys(e).length)return this.setParticipants(t=>t.map(t=>{let r=e[t.sessionId];return r?{...t,...r}:t}))},this.updateFromEvent=e=>{let t=this.eventHandlers[e.type];t&&t(e)},this.setServerSidePins=e=>{let t=e.reduce((e,t)=>(e[t.sessionId]=Date.now(),e),{});return this.setParticipants(e=>e.map(e=>{let r=t[e.sessionId];return r?{...e,pin:{isLocalPin:!1,pinnedAt:r}}:e.pin&&!e.pin.isLocalPin?{...e,pin:void 0}:e}))},this.updateFromCallResponse=e=>{this.setCurrentValue(this.backstageSubject,e.backstage),this.setCurrentValue(this.blockedUserIdsSubject,e.blocked_user_ids),this.setCurrentValue(this.createdAtSubject,new Date(e.created_at)),this.setCurrentValue(this.updatedAtSubject,new Date(e.updated_at)),this.setCurrentValue(this.startsAtSubject,e.starts_at?new Date(e.starts_at):void 0),this.setCurrentValue(this.endedAtSubject,e.ended_at?new Date(e.ended_at):void 0),this.setCurrentValue(this.createdBySubject,e.created_by),this.setCurrentValue(this.customSubject,e.custom),this.setCurrentValue(this.egressSubject,e.egress),this.setCurrentValue(this.ingressSubject,e.ingress),this.setCurrentValue(this.recordingSubject,e.recording),this.setCurrentValue(this.sessionSubject,e.session),this.setCurrentValue(this.settingsSubject,e.settings),this.setCurrentValue(this.transcribingSubject,e.transcribing),this.setCurrentValue(this.thumbnailsSubject,e.thumbnails)},this.updateFromMemberRemoved=e=>{this.setCurrentValue(this.membersSubject,t=>t.filter(t=>-1===e.members.indexOf(t.user_id)))},this.updateFromMemberAdded=e=>{this.setCurrentValue(this.membersSubject,t=>[...t,...e.members])},this.updateFromHLSBroadcastStopped=()=>{this.setCurrentValue(this.egressSubject,e=>({...e,broadcasting:!1}))},this.updateFromHLSBroadcastingFailed=()=>{this.setCurrentValue(this.egressSubject,e=>({...e,broadcasting:!1}))},this.updateFromHLSBroadcastStarted=e=>{this.setCurrentValue(this.egressSubject,t=>({...t,broadcasting:!0,hls:{...t.hls,playlist_url:e.hls_playlist_url}}))},this.updateFromSessionParticipantLeft=e=>{this.setCurrentValue(this.sessionSubject,t=>{if(!t)return this.logger("warn","Received call.session_participant_left event but no session is available.",e),t;let{participants:r,participants_count_by_role:i}=t,{user:a,user_session_id:o}=e.participant;return{...t,participants:r.filter(e=>e.user_session_id!==o),participants_count_by_role:{...i,[a.role]:Math.max(0,(i[a.role]||0)-1)}}})},this.updateFromSessionParticipantJoined=e=>{this.setCurrentValue(this.sessionSubject,t=>{if(!t)return this.logger("warn","Received call.session_participant_joined event but no session is available.",e),t;let{participants:r,participants_count_by_role:i}=t,{user:a}=e.participant;return{...t,participants:[...r,e.participant],participants_count_by_role:{...i,[a.role]:(i[a.role]||0)+1}}})},this.updateMembers=e=>{this.setCurrentValue(this.membersSubject,t=>t.map(t=>e.members.find(e=>e.user_id===t.user_id)||t))},this.updateParticipantReaction=e=>{let{user:t,custom:r,type:i,emoji_code:a}=e.reaction;this.setParticipants(e=>e.map(e=>e.userId!==t.id?e:{...e,reaction:{type:i,emoji_code:a,custom:r}}))},this.unblockUser=e=>{this.setCurrentValue(this.blockedUserIdsSubject,t=>t?t.filter(t=>t!==e.user.id):t)},this.blockUser=e=>{this.setCurrentValue(this.blockedUserIdsSubject,t=>[...t||[],e.user.id])},this.updateOwnCapabilities=e=>{e.user.id===this.localParticipant?.userId&&this.setCurrentValue(this.ownCapabilitiesSubject,e.own_capabilities)},this.logger=EC(["CallState"]),this.participants$=this.participantsSubject.asObservable().pipe(ki(e=>e.sort(this.sortParticipantsBy)),kd({bufferSize:1,refCount:!0})),this.localParticipant$=this.participants$.pipe(ki(e=>e.find(Ex)),kd({bufferSize:1,refCount:!0})),this.remoteParticipants$=this.participants$.pipe(ki(e=>e.filter(e=>!e.isLocalParticipant)),kd({bufferSize:1,refCount:!0})),this.pinnedParticipants$=this.participants$.pipe(ki(e=>e.filter(e=>!!e.pin)),kd({bufferSize:1,refCount:!0})),this.dominantSpeaker$=this.participants$.pipe(ki(e=>e.find(e=>e.isDominantSpeaker)),kd({bufferSize:1,refCount:!0})),this.hasOngoingScreenShare$=this.participants$.pipe(ki(e=>e.some(e=>e.publishedTracks.includes(L.SCREEN_SHARE))),function(e,t){return void 0===t&&(t=wN),e=null!=e?e:kp,w8(function(r,i){var a,o=!0;r.subscribe(w9(i,function(r){var s=t(r);(o||!e(a,s))&&(o=!1,a=s,i.next(r))}))})}(),kd({bufferSize:1,refCount:!0})),this.startedAt$=this.startedAtSubject.asObservable(),this.participantCount$=this.participantCountSubject.asObservable(),this.anonymousParticipantCount$=this.anonymousParticipantCountSubject.asObservable(),this.callStatsReport$=this.callStatsReportSubject.asObservable(),this.members$=this.membersSubject.asObservable(),this.ownCapabilities$=this.ownCapabilitiesSubject.asObservable(),this.callingState$=this.callingStateSubject.asObservable(),this.backstage$=this.backstageSubject.asObservable(),this.blockedUserIds$=this.blockedUserIdsSubject.asObservable(),this.createdAt$=this.createdAtSubject.asObservable(),this.endedAt$=this.endedAtSubject.asObservable(),this.startsAt$=this.startsAtSubject.asObservable(),this.updatedAt$=this.updatedAtSubject.asObservable(),this.createdBy$=this.createdBySubject.asObservable(),this.custom$=this.customSubject.asObservable(),this.egress$=this.egressSubject.asObservable(),this.ingress$=this.ingressSubject.asObservable(),this.recording$=this.recordingSubject.asObservable(),this.session$=this.sessionSubject.asObservable(),this.settings$=this.settingsSubject.asObservable(),this.transcribing$=this.transcribingSubject.asObservable(),this.endedBy$=this.endedBySubject.asObservable(),this.thumbnails$=this.thumbnailsSubject.asObservable(),this.eventHandlers={"call.permission_request":void 0,"call.recording_failed":void 0,"call.recording_ready":void 0,"call.user_muted":void 0,"connection.error":void 0,"connection.ok":void 0,"health.check":void 0,custom:void 0,"call.accepted":e=>this.updateFromCallResponse(e.call),"call.blocked_user":this.blockUser,"call.created":e=>this.updateFromCallResponse(e.call),"call.ended":e=>{this.updateFromCallResponse(e.call),this.setCurrentValue(this.endedBySubject,e.user)},"call.hls_broadcasting_failed":this.updateFromHLSBroadcastingFailed,"call.hls_broadcasting_started":this.updateFromHLSBroadcastStarted,"call.hls_broadcasting_stopped":this.updateFromHLSBroadcastStopped,"call.live_started":e=>this.updateFromCallResponse(e.call),"call.member_added":this.updateFromMemberAdded,"call.member_removed":this.updateFromMemberRemoved,"call.member_updated_permission":this.updateMembers,"call.member_updated":this.updateMembers,"call.notification":e=>{this.updateFromCallResponse(e.call),this.setMembers(e.members)},"call.permissions_updated":this.updateOwnCapabilities,"call.reaction_new":this.updateParticipantReaction,"call.recording_started":()=>this.setCurrentValue(this.recordingSubject,!0),"call.recording_stopped":()=>this.setCurrentValue(this.recordingSubject,!1),"call.rejected":e=>this.updateFromCallResponse(e.call),"call.ring":e=>this.updateFromCallResponse(e.call),"call.session_ended":e=>this.updateFromCallResponse(e.call),"call.session_participant_joined":this.updateFromSessionParticipantJoined,"call.session_participant_left":this.updateFromSessionParticipantLeft,"call.session_started":e=>this.updateFromCallResponse(e.call),"call.unblocked_user":this.unblockUser,"call.updated":e=>this.updateFromCallResponse(e.call)}}get participantCount(){return this.getCurrentValue(this.participantCount$)}get startedAt(){return this.getCurrentValue(this.startedAt$)}get anonymousParticipantCount(){return this.getCurrentValue(this.anonymousParticipantCount$)}get participants(){return this.getCurrentValue(this.participants$)}get localParticipant(){return this.getCurrentValue(this.localParticipant$)}get remoteParticipants(){return this.getCurrentValue(this.remoteParticipants$)}get dominantSpeaker(){return this.getCurrentValue(this.dominantSpeaker$)}get pinnedParticipants(){return this.getCurrentValue(this.pinnedParticipants$)}get hasOngoingScreenShare(){return this.getCurrentValue(this.hasOngoingScreenShare$)}get callingState(){return this.getCurrentValue(this.callingState$)}get callStatsReport(){return this.getCurrentValue(this.callStatsReport$)}get members(){return this.getCurrentValue(this.members$)}get ownCapabilities(){return this.getCurrentValue(this.ownCapabilities$)}get backstage(){return this.getCurrentValue(this.backstage$)}get blockedUserIds(){return this.getCurrentValue(this.blockedUserIds$)}get createdAt(){return this.getCurrentValue(this.createdAt$)}get endedAt(){return this.getCurrentValue(this.endedAt$)}get startsAt(){return this.getCurrentValue(this.startsAt$)}get updatedAt(){return this.getCurrentValue(this.updatedAt$)}get createdBy(){return this.getCurrentValue(this.createdBy$)}get custom(){return this.getCurrentValue(this.custom$)}get egress(){return this.getCurrentValue(this.egress$)}get ingress(){return this.getCurrentValue(this.ingress$)}get recording(){return this.getCurrentValue(this.recording$)}get session(){return this.getCurrentValue(this.session$)}get settings(){return this.getCurrentValue(this.settings$)}get transcribing(){return this.getCurrentValue(this.transcribing$)}get endedBy(){return this.getCurrentValue(this.endedBy$)}get thumbnails(){return this.getCurrentValue(this.thumbnails$)}}EC(["events"]);var EZ=Object.freeze({__proto__:null,isChrome:()=>"undefined"!=typeof navigator&&navigator.userAgent?.includes("Chrome"),isFirefox:()=>"undefined"!=typeof navigator&&navigator.userAgent?.includes("Firefox"),isSafari:()=>"undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent||"")});z.UNKNOWN,z.UNKNOWN;class EJ{constructor(e,t={sortParticipantsBy:E$}){this.name=e,this.options=t}}class EX{constructor(e){this.register=e=>{this.callTypes[e.name]=e},this.unregister=e=>{delete this.callTypes[e]},this.get=e=>(this.callTypes[e]||this.register(new EJ(e)),this.callTypes[e]),this.callTypes=e.reduce((e,t)=>(e[t.name]=t,e),{})}}let EQ=new EX([new EJ("default",{sortParticipantsBy:E$}),new EJ("development",{sortParticipantsBy:E$}),new EJ("livestream",{sortParticipantsBy:EY}),new EJ("audio_room",{sortParticipantsBy:EY})]),E0=e=>new wB(t=>{navigator.mediaDevices.getUserMedia(e).then(e=>{navigator.mediaDevices.enumerateDevices().then(r=>{t.next(r),Fp(e),t.complete()})}).catch(e=>{EC(["devices"])("error","Failed to get devices",e),t.error(e)})}),E1=()=>"undefined"!=typeof document&&void 0!==document.createElement("audio").sinkId,E2={audio:{autoGainControl:!0,noiseSuppression:!0,echoCancellation:!0}},E3={video:{width:1280,height:720}},E4=e=>{let t;return()=>(t||(t=e()),t)},E6=E4(()=>new wB(e=>{if(!navigator.mediaDevices.addEventListener)return;let t=()=>e.next();return navigator.mediaDevices.addEventListener("devicechange",t),()=>{navigator.mediaDevices.removeEventListener("devicechange",t)}}).pipe(function(e,t){return void 0===t&&(t=kv),w8(function(e,r){var i=null,a=null,o=null,s=function(){if(i){i.unsubscribe(),i=null;var e=a;a=null,r.next(e)}};function l(){var e=o+500,a=t.now();if(akr(navigator.mediaDevices.enumerateDevices())),kd(1))),E5=E4(()=>k_(E0(E2),E6()).pipe(kd(1))),E8=E4(()=>k_(E0(E3),E6()).pipe(kd(1))),E9=()=>E5().pipe(ki(e=>e.filter(e=>"audioinput"===e.kind))),E7=()=>E8().pipe(ki(e=>e.filter(e=>"videoinput"===e.kind))),Fe=()=>E5().pipe(ki(e=>e.filter(e=>"audiooutput"===e.kind))),Ft=async e=>{try{return await navigator.mediaDevices.getUserMedia(e)}catch(t){throw EC(["devices"])("error","Failed get user media",{error:t,constraints:e}),t}},Fn=async e=>Ft({audio:{...E2.audio,...e}}),Fr=async e=>Ft({video:{...E3.video,...e}}),Fi=async e=>{try{return await navigator.mediaDevices.getDisplayMedia({video:!0,audio:{channelCount:{ideal:2},echoCancellation:!1,autoGainControl:!1,noiseSuppression:!1},systemAudio:"include",...e})}catch(e){throw EC(["devices"])("error","Failed to get screen share stream",e),e}},Fa=(e,t)=>{let r;switch(e){case"audioinput":r=E9();break;case"videoinput":r=E7();break;case"audiooutput":r=Fe()}return kl([r,t]).pipe(kw(([e,t])=>!!t&&!e.find(e=>e.deviceId===t)),ki(()=>!0))},Fo=e=>Fa("audioinput",e),Fs=e=>Fa("videoinput",e),Fl=e=>Fa("audiooutput",e),Fc=e=>{let t;switch(e){case"audioinput":t=E9();break;case"videoinput":t=E7();break;case"audiooutput":t=Fe();break;default:throw Error("Unknown MediaDeviceKind",e)}return t.pipe(w8(function(e,t){var r,i=!1;e.subscribe(w9(t,function(e){var a=r;r=e,i&&t.next([a,e]),i=!0}))}),kw(([e,t])=>{let r=e.find(e=>"default"===e.deviceId),i=t.find(e=>"default"===e.deviceId);return!!(t.length>e.length&&r&&i&&r.groupId!==i.groupId)}),ki(()=>!0))},Fu=()=>Fc("audioinput"),Fd=()=>Fc("videoinput"),Fp=e=>{e.active&&(e.getTracks().forEach(t=>{t.stop(),e.removeTrack(t)}),"function"==typeof e.release&&e.release())},Ff=(e,t,r={})=>{let{detectionFrequencyInMs:i=500,audioLevelThreshold:a=150,fftSize:o=128,destroyStreamOnStop:s=!0}=r,l=new AudioContext,u=l.createAnalyser();u.fftSize=o;let d=l.createMediaStreamSource(e);d.connect(u);let p=setInterval(()=>{let r=new Uint8Array(u.frequencyBinCount);u.getByteFrequencyData(r);let i=r.some(e=>e>=a),o=r.reduce((e,t)=>e+t,0)/r.length,s=o>a?100:Math.round(o/a*100);e.getAudioTracks()[0]?.enabled?t({isSoundDetected:i,audioLevel:s}):t({isSoundDetected:!1,audioLevel:0})},i);return async function(){clearInterval(p),d.disconnect(),u.disconnect(),await l.close(),s&&e.getTracks().forEach(t=>{t.stop(),e.removeTrack(t)})}};(function(e){e.Closed="CLOSED",e.Connected="CONNECTED",e.Connecting="CONNECTING",e.Disconnected="DISCONNECTED",e.Init="INIT"})(V||(V={})),EC(["location"]);let Fh={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Fm{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Fh,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),r=0;r{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i{let[t,i]=e;for(let e=0;e{let[i,a]=t;for(let t=0;t{e=r,t=i});return r.resolve=e,r.reject=t,r}function Fy(e){return null==e?"":""+e}let F_=/###/g;function Fw(e,t,r){function i(e){return e&&e.indexOf("###")>-1?e.replace(F_,"."):e}function a(){return!e||"string"==typeof e}let o="string"!=typeof t?t:t.split("."),s=0;for(;s":">",'"':""","'":"'","/":"/"};function FC(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>FF[e]):e}class FS{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}let FD=[" ",",","?","!",";"],Fj=new FS(20);function FT(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let i=t.split(r),a=e;for(let e=0;e-1&&s0?e.replace("_","-"):e}class FP extends Fv{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,s=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],r&&(Array.isArray(r)?i.push(...r):"string"==typeof r&&o?i.push(...r.split(o)):i.push(r)));let l=Fx(this.data,i);return(!l&&!t&&!r&&e.indexOf(".")>-1&&(e=i[0],t=i[1],r=i.slice(2).join(".")),l||!s||"string"!=typeof r)?l:FT(this.data&&this.data[e]&&this.data[e][t],r,o)}addResource(e,t,r,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,s=[e,t];r&&(s=s.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(s=e.split("."),i=t,t=s[1]),this.addNamespaces(t),Fk(this.data,s,i),a.silent||this.emit("added",e,t,r,i)}addResources(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in r)("string"==typeof r[i]||Array.isArray(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),i=r,r=t,t=s[1]),this.addNamespaces(t);let l=Fx(this.data,s)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?function e(t,r,i){for(let a in r)"__proto__"!==a&&"constructor"!==a&&(a in t?"string"==typeof t[a]||t[a]instanceof String||"string"==typeof r[a]||r[a]instanceof String?i&&(t[a]=r[a]):e(t[a],r[a],i):t[a]=r[a]);return t}(l,r,a):l={...l,...r},Fk(this.data,s,l),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var FR={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,a){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,r,i,a))}),t}};let FM={};class FL extends Fv{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,r){e.forEach(e=>{t[e]&&(r[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Fg.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,r){t=t||"",r=r||"";let i=FD.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===i.length)return!0;let a=Fj.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`),o=!a.test(e);if(!o){let t=e.indexOf(r);t>0&&!a.test(e.substring(0,t))&&(o=!0)}return o}(e,r,i);if(o&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:a};let o=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(o[0])>-1)&&(a=o.shift()),e=o.join(i)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(e[e.length-1],t),l=s[s.length-1],u=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(d){let e=t.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:o}let p=this.resolve(e,t),f=p&&p.res,m=p&&p.usedKey||o,g=p&&p.exactUsedKey||o,v=Object.prototype.toString.apply(f),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,_="string"!=typeof f&&"boolean"!=typeof f&&"number"!=typeof f;if(y&&f&&_&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(v)&&!("string"==typeof b&&Array.isArray(f))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,f,{...t,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(p.res=e,p.usedParams=this.getUsedParamsDetails(t),p):e}if(a){let e=Array.isArray(f),r=e?[]:{},i=e?g:m;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let o=`${i}${a}${e}`;r[e]=this.translate(o,{...t,joinArrays:!1,ns:s}),r[e]===o&&(r[e]=f[e])}f=r}}else if(y&&"string"==typeof b&&Array.isArray(f))(f=f.join(b))&&(f=this.extendTranslation(f,e,t,r));else{let i=!1,s=!1,d=void 0!==t.count&&"string"!=typeof t.count,m=FL.hasDefaultValue(t),g=d?this.pluralResolver.getSuffix(u,t.count,t):"",v=t.ordinal&&d?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",b=d&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),y=b&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${g}`]||t[`defaultValue${v}`]||t.defaultValue;!this.isValidLookup(f)&&m&&(i=!0,f=y),this.isValidLookup(f)||(s=!0,f=o);let _=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,w=m&&y!==f&&this.options.updateMissing;if(s||i||w){if(this.logger.log(w?"updateKey":"missingKey",u,l,o,w?y:f),a){let e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t{let a=m&&i!==f?i:_;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,r,a,w,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,r,a,w,t),this.emit("missingKey",e,l,r,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&d?e.forEach(e=>{let r=this.pluralResolver.getSuffixes(e,t);b&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>r.indexOf(`${this.options.pluralSeparator}zero`)&&r.push(`${this.options.pluralSeparator}zero`),r.forEach(r=>{i([e],o+r,t[`defaultValue${r}`]||y)})}):i(e,o,y))}f=this.extendTranslation(f,e,t,p,r),s&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(s||i)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,i?f:void 0):this.options.parseMissingKeyHandler(f))}return i?(p.res=f,p.usedParams=this.getUsedParamsDetails(t),p):f}extendTranslation(e,t,r,i,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){let s;r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});let l="string"==typeof e&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let u=r.replace&&"string"!=typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,r.lng||this.language,r),l){let t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(r.lng=i.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,i=Array(e),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,s),u=l.key;r=u;let d=l.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));let p=void 0!==s.count&&"string"!=typeof s.count,f=p&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),m=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,g=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);d.forEach(e=>{this.isValidLookup(t)||(o=e,!FM[`${g[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(FM[`${g[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${g.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(r=>{let o;if(this.isValidLookup(t))return;a=r;let l=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(l,u,r,e,s);else{let e;p&&(e=this.pluralResolver.getSuffix(r,s.count,s));let t=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(l.push(u+e),s.ordinal&&0===e.indexOf(i)&&l.push(u+e.replace(i,this.options.pluralSeparator)),f&&l.push(u+t)),m){let r=`${u}${this.options.contextSeparator}${s.context}`;l.push(r),p&&(l.push(r+e),s.ordinal&&0===e.indexOf(i)&&l.push(r+e.replace(i,this.options.pluralSeparator)),f&&l.push(r+t))}}for(;o=l.pop();)this.isValidLookup(t)||(i=o,t=this.getResource(r,e,o,s))}))})}),{res:t,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,i):this.resourceStore.getResource(e,t,r,i)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&"string"!=typeof e.replace,r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}function FA(e){return e.charAt(0).toUpperCase()+e.slice(1)}class FI{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Fg.create("languageUtils")}getScriptPartFromCode(e){if(!(e=FO(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=FO(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(e=>e.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=FA(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=FA(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=FA(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],a=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach(e=>{0>i.indexOf(e)&&a(this.formatLanguageCode(e))}),i}}let FN=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],FB={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},FU=["v1","v2","v3"],Fz=["v4"],FH={zero:0,one:1,two:2,few:3,many:4,other:5};class Fq{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Fg.create("pluralResolver"),(!this.options.compatibilityJSON||Fz.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){let e={};return FN.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:FB[t.fc]}})}),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(FO("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((e,t)=>FH[e]-FH[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):r.numbers.map(r=>this.getSuffix(e,r,t)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(e,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));let a=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!FU.includes(this.options.compatibilityJSON)}}function FV(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=function(e,t,r){let i=Fx(e,r);return void 0!==i?i:Fx(t,r)}(e,t,r);return!o&&a&&"string"==typeof r&&void 0===(o=FT(e,r,i))&&(o=FT(t,r,i)),o}class FW{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Fg.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:i,prefix:a,prefixEscaped:o,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:f,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:v,nestingOptionsSeparator:b,maxReplaces:y,alwaysFormat:_}=e.interpolation;this.escape=void 0!==t?t:FC,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==i&&i,this.prefix=a?FE(a):o||"{{",this.suffix=s?FE(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=f?FE(f):m||FE("$t("),this.nestingSuffix=g?FE(g):v||FE(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==_&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,i){let a,o,s;let l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}let d=e=>{if(0>e.indexOf(this.formatSeparator)){let a=FV(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,r,{...i,...t,interpolationkey:e}):a}let a=e.split(this.formatSeparator),o=a.shift().trim(),s=a.join(this.formatSeparator).trim();return this.format(FV(t,l,o,this.options.keySeparator,this.options.ignoreJSONStructure),s,r,{...i,...t,interpolationkey:o})};this.resetRegExp();let p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>u(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?u(this.escape(e)):u(e)}].forEach(t=>{for(s=0;a=t.regex.exec(e);){let r=a[1].trim();if(void 0===(o=d(r))){if("function"==typeof p){let t=p(e,a,i);o="string"==typeof t?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r))o="";else if(f){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=Fy(o));let l=t.safeValue(o);if(e=e.replace(a[0],l),f?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++s>=this.maxReplaces)break}}),e}nest(e,t){let r,i,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let i=e.split(RegExp(`${r}[ ]*{`)),o=`{${i[1]}`;e=i[0];let s=(o=this.interpolate(o,a)).match(/'/g),l=o.match(/"/g);(s&&s.length%2==0&&!l||l.length%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${o}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e}for(;r=this.nestingRegexp.exec(e);){let l=[];(a=(a={...o}).replace&&"string"!=typeof a.replace?a.replace:a).applyPostProcessor=!1,delete a.defaultValue;let u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),l=e,u=!0}if((i=t(s.call(this,r[1].trim(),a),a))&&r[0]===e&&"string"!=typeof i)return i;"string"!=typeof i&&(i=Fy(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),i=""),u&&(i=l.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}function F$(e){let t={};return function(r,i,a){let o=i+JSON.stringify(a),s=t[o];return s||(s=e(FO(i),a),t[o]=s),s(r)}}class FG{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Fg.create("formatter"),this.options=e,this.formats={number:F$((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:F$((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:F$((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:F$((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:F$((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},r=t.interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=F$(t)}format(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((e,t)=>{let{formatName:a,formatOptions:o}=function(e){let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let i=e.split("(");t=i[0].toLowerCase().trim();let a=i[1].substring(0,i[1].length-1);"currency"===t&&0>a.indexOf(":")?r.currency||(r.currency=a.trim()):"relativetime"===t&&0>a.indexOf(":")?r.range||(r.range=a.trim()):a.split(";").forEach(e=>{if(e){let[t,...i]=e.split(":"),a=i.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=a),"false"===a&&(r[o]=!1),"true"===a&&(r[o]=!0),isNaN(a)||(r[o]=parseInt(a,10))}})}return{formatName:t,formatOptions:r}}(t);if(this.formats[a]){let t=e;try{let s=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},l=s.locale||s.lng||i.locale||i.lng||r;t=this.formats[a](e,l,{...o,...i,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class FY extends Fv{constructor(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Fg.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(e,t,r,i){let a={},o={},s={},l={};return e.forEach(e=>{let i=!0;t.forEach(t=>{let s=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===o[s]&&(o[s]=!0):(this.state[s]=1,i=!1,void 0===o[s]&&(o[s]=!0),void 0===a[s]&&(a[s]=!0),void 0===l[t]&&(l[t]=!0)))}),i||(s[e]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(e,t,r){let i=e.split("|"),a=i[0],o=i[1];t&&this.emit("failedLoading",a,o,t),r&&this.store.addResourceBundle(a,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;let s={};this.queue.forEach(r=>{(function(e,t,r,i){let{obj:a,k:o}=Fw(e,t,Object);a[o]=a[o]||[],a[o].push(r)})(r.loaded,[a],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{s[e]||(s[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===s[e][t]&&(s[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:a,callback:o});return}this.readingCalls++;let s=(s,l)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(s&&l&&i{this.read.call(this,e,t,r,i+1,2*a,o)},a);return}o(s,l)},l=this.backend[r].bind(this.backend);if(2===l.length){try{let r=l(e,t);r&&"function"==typeof r.then?r.then(e=>s(null,e)).catch(s):s(null,r)}catch(e){s(e)}return}return l(e,t,s)}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let a=this.queueLoad(e,t,r,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],a=r[1];this.read(i,a,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${a} for language ${i} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${a} for language ${i}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=r&&""!==r){if(this.backend&&this.backend.create){let l={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let a;(a=5===u.length?u(e,t,r,i,l):u(e,t,r,i))&&"function"==typeof a.then?a.then(e=>s(null,e)).catch(s):s(null,a)}catch(e){s(e)}else u(e,t,r,i,s,l)}e&&e[0]&&this.store.addResource(e[0],t,r,i)}}}function FK(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function FZ(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function FJ(){}class FX extends Fv{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=FZ(e),this.services={},this.logger=Fg,this.modules={external:[]},function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let i=FK();function a(e){return e?"function"==typeof e?new e:e:null}if(this.options={...i,...this.options,...FZ(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?Fg.init(a(this.modules.logger),this.options):Fg.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=FG);let r=new FI(this.options);this.store=new FP(this.options.resources,this.options);let o=this.services;o.logger=Fg,o.resourceStore=this.store,o.languageUtils=r,o.pluralResolver=new Fq(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(o.formatter=a(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new FW(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new FY(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=FJ),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let o=Fb(),s=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FJ,r=t,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let i=Fb();return e||(e=this.languages),t||(t=this.options.ns),r||(r=FJ),this.services.backendConnector.reload(e,t,e=>{i.resolve(),r(e)}),i}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&FR.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;let i=Fb();this.emit("languageChanging",e);let a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(a(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},s=t=>{e||t||!this.services.languageDetector||(t=[]);let r="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||a(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,e=>{o(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),i}getFixedT(e,t,r){var i=this;let a=function(e,t){let o,s;if("object"!=typeof t){for(var l=arguments.length,u=Array(l>2?l-2:0),d=2;d`${o.keyPrefix}${p}${e}`):o.keyPrefix?`${o.keyPrefix}${p}${e}`:e,i.t(s,o)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=r,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!i||o(a,e)))}loadNamespaces(e,t){let r=Fb();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=Fb();"string"==typeof e&&(e=[e]);let i=this.options.preload||[],a=e.filter(e=>0>i.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=i.concat(a),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new FI(FK())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new FX(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FJ,r=e.forkResourceStore;r&&delete e.forkResourceStore;let i={...this.options,...e,isClone:!0},a=new FX(i);return(void 0!==e.debug||void 0!==e.prefix)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new FP(this.store.data,i),a.services.resourceStore=a.store),a.translator=new FL(a.services,i),a.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i{let{call:t,children:r}=e;return(0,es.jsx)(F0.Provider,{value:t,children:r})},F2=()=>(0,el.useContext)(F0),F3="stream-video",F4={debug:!1,currentLanguage:"en"},F6=Object.entries({}).reduce((e,[t,r])=>(e[t]={[F3]:r},e),{}),F5=e=>e;class F8{constructor(e={}){this.t=F5,this.init=async()=>{try{this.t=await this.i18nInstance.init()}catch(e){console.error(`Failed to initialize translations: ${JSON.stringify(e)}`)}return this},this.changeLanguage=async(e,t)=>{if(!this._checkIsInitialized())return;let r="undefined"!=typeof window&&window.navigator?window.navigator.language:void 0;await this.i18nInstance.changeLanguage(e||r),t?.(this.currentLanguage)},this.registerTranslationsForLanguage=({lng:e,translations:t})=>{this._checkIsInitialized()&&this.i18nInstance.addResourceBundle(e,F3,t,!0,!0)},this._checkIsInitialized=()=>(this.i18nInstance.isInitialized||console.warn("I18n instance is not initialized. Call yourStreamI18nInstance.init()."),this.i18nInstance.isInitialized);let{debug:t=F4.debug,currentLanguage:r=F4.currentLanguage,translationsOverrides:i}=e;this.i18nInstance=FQ.createInstance({debug:t,defaultNS:F3,fallbackLng:!1,interpolation:{escapeValue:!1},keySeparator:!1,lng:r,nsSeparator:!1,parseMissingKeyHandler:e=>e,resources:F6}),i&&this.i18nInstance.on("initialized",()=>{Object.entries(i).forEach(([e,t])=>{this.registerTranslationsForLanguage({lng:e,translations:t})})})}get currentLanguage(){return this._checkIsInitialized(),this.i18nInstance.language}get isInitialized(){return this.i18nInstance.isInitialized}}let F9=(0,el.createContext)({t:F5}),F7=({children:e,...t})=>{let{i18n:r,t:i}=Ce(t);return(0,es.jsx)(F9.Provider,{value:{t:i,i18n:r},children:e})},Ce=({i18nInstance:e,language:t,translationsOverrides:r})=>{let[i]=(0,el.useState)(()=>e||new F8({currentLanguage:t,translationsOverrides:r})),[a,o]=(0,el.useState)(()=>F5);return(0,el.useEffect)(()=>{let{isInitialized:e}=i;if(!e){i.init().then(e=>o(()=>e.i18nInstance.t));return}t&&i?.currentLanguage!==t&&i.changeLanguage(t).catch(e=>{console.log("Error while changing language",e)})},[i,e,t,r]),{i18n:i,t:a}},Ct=()=>(0,el.useContext)(F9),Cn=(0,el.createContext)(void 0),Cr=({children:e,client:t,i18nInstance:r,language:i,translationsOverrides:a})=>(0,es.jsx)(Cn.Provider,{value:t,children:(0,es.jsx)(F7,{i18nInstance:r,language:i,translationsOverrides:a,children:e})}),Ci=()=>(0,el.useContext)(Cn),Ca=e=>{let[t,r]=(0,el.useState)(()=>ET.getCurrentValue(e));return(0,el.useEffect)(()=>{let t=e.subscribe(r);return()=>{t.unsubscribe()}},[e]),t},Co=()=>{let e=F2();return e?e.state:(console.warn('You are using useCallState() outside a Call context. Please wrap your component in and provide a "call" instance.'),new EK)};var Cs=Object.freeze({__proto__:null,useAnonymousParticipantCount:()=>{let{anonymousParticipantCount$:e}=Co();return Ca(e)},useCallBlockedUserIds:()=>{let{blockedUserIds$:e}=Co();return Ca(e)},useCallCallingState:()=>{let{callingState$:e}=Co();return Ca(e)},useCallCreatedAt:()=>{let{createdAt$:e}=Co();return Ca(e)},useCallCreatedBy:()=>{let{createdBy$:e}=Co();return Ca(e)},useCallCustomData:()=>{let{custom$:e}=Co();return Ca(e)},useCallEgress:()=>{let{egress$:e}=Co();return Ca(e)},useCallEndedAt:()=>{let{endedAt$:e}=Co();return Ca(e)},useCallEndedBy:()=>{let{endedBy$:e}=Co();return Ca(e)},useCallIngress:()=>{let{ingress$:e}=Co();return Ca(e)},useCallMembers:()=>{let{members$:e}=Co();return Ca(e)},useCallSession:()=>{let{session$:e}=Co();return Ca(e)},useCallSettings:()=>{let{settings$:e}=Co();return Ca(e)},useCallStartedAt:()=>{let{startedAt$:e}=Co();return Ca(e)},useCallStartsAt:()=>{let{startsAt$:e}=Co();return Ca(e)},useCallState:Co,useCallStatsReport:()=>{let{callStatsReport$:e}=Co();return Ca(e)},useCallThumbnail:()=>{let{thumbnails$:e}=Co();return Ca(e)},useCallUpdatedAt:()=>{let{updatedAt$:e}=Co();return Ca(e)},useCameraState:()=>{let{camera:e}=F2();return{status:Ca(e.state.status$),direction:Ca(e.state.direction$)}},useDominantSpeaker:()=>{let{dominantSpeaker$:e}=Co();return Ca(e)},useHasOngoingScreenShare:()=>{let{hasOngoingScreenShare$:e}=Co();return Ca(e)},useIsCallBroadcastingInProgress:()=>{let{egress$:e}=Co(),t=Ca(e);return!!t&&t.broadcasting},useIsCallLive:()=>{let{backstage$:e}=Co();return!Ca(e)},useIsCallRecordingInProgress:()=>{let{recording$:e}=Co();return Ca(e)},useIsCallTranscribingInProgress:()=>{let{transcribing$:e}=Co();return Ca(e)},useLocalParticipant:()=>{let{localParticipant$:e}=Co();return Ca(e)},useMicrophoneState:()=>{let{microphone:e}=F2();return{status:Ca(e.state.status$),selectedDevice:Ca(e.state.selectedDevice$)}},useParticipantCount:()=>{let{participantCount$:e}=Co();return Ca(e)},useParticipants:({sortBy:e}={})=>{let{participants$:t}=Co(),r=Ca(t);return(0,el.useMemo)(()=>e?[...r].sort(e):r,[r,e])},useRemoteParticipants:()=>{let{remoteParticipants$:e}=Co();return Ca(e)},useScreenShareState:()=>{let{screenShare:e}=F2();return{status:Ca(e.state.status$)}}});let Cl=(...e)=>{let t=Cc();return e.every(e=>t?.includes(e))},Cc=()=>{let{ownCapabilities$:e}=Co();return Ca(e)},Cu=()=>{let e=Ci();if(!e)throw Error("StreamVideoClient isn't initialized or this hook is called outside of context.");return e.readOnlyStateStore},Cd=()=>{let{calls$:e}=Cu();return Ca(e)},Cp=()=>{let{connectedUser$:e}=Cu();return Ca(e)},Cf=()=>Cs,Ch=({canRequestOnly:e,hasPermissionsOnly:t,requiredGrants:r,requireAll:i=!0,children:a})=>{let o=F2(),s=Cc(),l=r[i?"every":"some"](e=>s?.includes(e));if(t)return l?(0,es.jsx)(es.Fragment,{children:a}):null;let u=r.some(e=>!!o&&o.permissionsContext.canRequest(e));return e?u?(0,es.jsx)(es.Fragment,{children:a}):null:l||u?(0,es.jsx)(es.Fragment,{children:a}):null};var Cm=r(29775);let Cg=Math.min,Cv=Math.max,Cb=Math.round,Cy=Math.floor,C_=e=>({x:e,y:e}),Cw={left:"right",right:"left",bottom:"top",top:"bottom"},Ck={start:"end",end:"start"};function Cx(e,t){return"function"==typeof e?e(t):e}function CE(e){return e.split("-")[0]}function CF(e){return e.split("-")[1]}function CC(e){return"x"===e?"y":"x"}function CS(e){return"y"===e?"height":"width"}function CD(e){return["top","bottom"].includes(CE(e))?"y":"x"}function Cj(e){return e.replace(/start|end/g,e=>Ck[e])}function CT(e){return e.replace(/left|right|bottom|top/g,e=>Cw[e])}function CO(e){let{x:t,y:r,width:i,height:a}=e;return{width:i,height:a,top:r,left:t,right:t+i,bottom:r+a,x:t,y:r}}function CP(e,t,r){let i,{reference:a,floating:o}=e,s=CD(t),l=CC(CD(t)),u=CS(l),d=CE(t),p="y"===s,f=a.x+a.width/2-o.width/2,m=a.y+a.height/2-o.height/2,g=a[u]/2-o[u]/2;switch(d){case"top":i={x:f,y:a.y-o.height};break;case"bottom":i={x:f,y:a.y+a.height};break;case"right":i={x:a.x+a.width,y:m};break;case"left":i={x:a.x-o.width,y:m};break;default:i={x:a.x,y:a.y}}switch(CF(t)){case"start":i[l]-=g*(r&&p?-1:1);break;case"end":i[l]+=g*(r&&p?-1:1)}return i}let CR=async(e,t,r)=>{let{placement:i="bottom",strategy:a="absolute",middleware:o=[],platform:s}=r,l=o.filter(Boolean),u=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:f}=CP(d,i,u),m=i,g={},v=0;for(let r=0;r{try{return e.matches(t)}catch(e){return!1}})}function CW(e){let t=C$(),r=CY(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function C$(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function CG(e){return["html","body","#document"].includes(CA(e))}function CY(e){return CI(e).getComputedStyle(e)}function CK(e){return CU(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function CZ(e){if("html"===CA(e))return e;let t=e.assignedSlot||e.parentNode||CH(e)&&e.host||CN(e);return CH(t)?t.host:t}function CJ(e,t,r){var i;void 0===t&&(t=[]),void 0===r&&(r=!0);let a=function e(t){let r=CZ(t);return CG(r)?t.ownerDocument?t.ownerDocument.body:t.body:Cz(r)&&Cq(r)?r:e(r)}(e),o=a===(null==(i=e.ownerDocument)?void 0:i.body),s=CI(a);return o?t.concat(s,s.visualViewport||[],Cq(a)?a:[],s.frameElement&&r?CJ(s.frameElement):[]):t.concat(a,CJ(a,[],r))}function CX(e){let t=CY(e),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=Cz(e),o=a?e.offsetWidth:r,s=a?e.offsetHeight:i,l=Cb(r)!==o||Cb(i)!==s;return l&&(r=o,i=s),{width:r,height:i,$:l}}function CQ(e){return CU(e)?e:e.contextElement}function C0(e){let t=CQ(e);if(!Cz(t))return C_(1);let r=t.getBoundingClientRect(),{width:i,height:a,$:o}=CX(t),s=(o?Cb(r.width):r.width)/i,l=(o?Cb(r.height):r.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let C1=C_(0);function C2(e){let t=CI(e);return C$()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:C1}function C3(e,t,r,i){var a;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=CQ(e),l=C_(1);t&&(i?CU(i)&&(l=C0(i)):l=C0(e));let u=(void 0===(a=r)&&(a=!1),i&&(!a||i===CI(s))&&a)?C2(s):C_(0),d=(o.left+u.x)/l.x,p=(o.top+u.y)/l.y,f=o.width/l.x,m=o.height/l.y;if(s){let e=CI(s),t=i&&CU(i)?CI(i):i,r=e,a=r.frameElement;for(;a&&i&&t!==r;){let e=C0(a),t=a.getBoundingClientRect(),i=CY(a),o=t.left+(a.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(a.clientTop+parseFloat(i.paddingTop))*e.y;d*=e.x,p*=e.y,f*=e.x,m*=e.y,d+=o,p+=s,a=(r=CI(a)).frameElement}}return CO({width:f,height:m,x:d,y:p})}function C4(e){return C3(CN(e)).left+CK(e).scrollLeft}function C6(e,t,r){let i;if("viewport"===t)i=function(e,t){let r=CI(e),i=CN(e),a=r.visualViewport,o=i.clientWidth,s=i.clientHeight,l=0,u=0;if(a){o=a.width,s=a.height;let e=C$();(!e||e&&"fixed"===t)&&(l=a.offsetLeft,u=a.offsetTop)}return{width:o,height:s,x:l,y:u}}(e,r);else if("document"===t)i=function(e){let t=CN(e),r=CK(e),i=e.ownerDocument.body,a=Cv(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=Cv(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+C4(e),l=-r.scrollTop;return"rtl"===CY(i).direction&&(s+=Cv(t.clientWidth,i.clientWidth)-a),{width:a,height:o,x:s,y:l}}(CN(e));else if(CU(t))i=function(e,t){let r=C3(e,!0,"fixed"===t),i=r.top+e.clientTop,a=r.left+e.clientLeft,o=Cz(e)?C0(e):C_(1),s=e.clientWidth*o.x;return{width:s,height:e.clientHeight*o.y,x:a*o.x,y:i*o.y}}(t,r);else{let r=C2(e);i={...t,x:t.x-r.x,y:t.y-r.y}}return CO(i)}function C5(e){return"static"===CY(e).position}function C8(e,t){return Cz(e)&&"fixed"!==CY(e).position?t?t(e):e.offsetParent:null}function C9(e,t){let r=CI(e);if(CV(e))return r;if(!Cz(e)){let t=CZ(e);for(;t&&!CG(t);){if(CU(t)&&!C5(t))return t;t=CZ(t)}return r}let i=C8(e,t);for(;i&&["table","td","th"].includes(CA(i))&&C5(i);)i=C8(i,t);return i&&CG(i)&&C5(i)&&!CW(i)?r:i||function(e){let t=CZ(e);for(;Cz(t)&&!CG(t)&&!CV(t);){if(CW(t))return t;t=CZ(t)}return null}(e)||r}let C7=async function(e){let t=this.getOffsetParent||C9,r=this.getDimensions,i=await r(e.floating);return{reference:function(e,t,r){let i=Cz(t),a=CN(t),o="fixed"===r,s=C3(e,!0,o,t),l={scrollLeft:0,scrollTop:0},u=C_(0);if(i||!i&&!o){if(("body"!==CA(t)||Cq(a))&&(l=CK(t)),i){let e=C3(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else a&&(u.x=C4(a))}return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},Se={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:i,strategy:a}=e,o="fixed"===a,s=CN(i),l=!!t&&CV(t.floating);if(i===s||l&&o)return r;let u={scrollLeft:0,scrollTop:0},d=C_(1),p=C_(0),f=Cz(i);if((f||!f&&!o)&&(("body"!==CA(i)||Cq(s))&&(u=CK(i)),Cz(i))){let e=C3(i);d=C0(i),p.x=e.x+i.clientLeft,p.y=e.y+i.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+p.x,y:r.y*d.y-u.scrollTop*d.y+p.y}},getDocumentElement:CN,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e,o=[..."clippingAncestors"===r?CV(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let i=CJ(e,[],!1).filter(e=>CU(e)&&"body"!==CA(e)),a=null,o="fixed"===CY(e).position,s=o?CZ(e):e;for(;CU(s)&&!CG(s);){let t=CY(s),r=CW(s);r||"fixed"!==t.position||(a=null),(o?!r&&!a:!r&&"static"===t.position&&!!a&&["absolute","fixed"].includes(a.position)||Cq(s)&&!r&&function e(t,r){let i=CZ(t);return!(i===r||!CU(i)||CG(i))&&("fixed"===CY(i).position||e(i,r))}(e,s))?i=i.filter(e=>e!==s):a=t,s=CZ(s)}return t.set(e,i),i}(t,this._c):[].concat(r),i],s=o[0],l=o.reduce((e,r)=>{let i=C6(t,r,a);return e.top=Cv(i.top,e.top),e.right=Cg(i.right,e.right),e.bottom=Cg(i.bottom,e.bottom),e.left=Cv(i.left,e.left),e},C6(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:C9,getElementRects:C7,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=CX(e);return{width:t,height:r}},getScale:C0,isElement:CU,isRTL:function(e){return"rtl"===CY(e).direction}},St=(e,t,r)=>{let i=new Map,a={platform:Se,...r},o={...a.platform,_c:i};return CR(e,t,{...a,platform:o})};var Sn="undefined"!=typeof document?el.useLayoutEffect:el.useEffect;function Sr(e,t){let r,i,a;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(i=r;0!=i--;)if(!Sr(e[i],t[i]))return!1;return!0}if((r=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(t,a[i]))return!1;for(i=r;0!=i--;){let r=a[i];if(("_owner"!==r||!e.$$typeof)&&!Sr(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function Si(e){let t=el.useRef(e);return Sn(()=>{t.current=e}),t}var Sa="undefined"!=typeof document?el.useLayoutEffect:el.useEffect;let So=!1,Ss=0,Sl=()=>"floating-ui-"+Ss++,Sc=el["useId".toString()]||function(){let[e,t]=el.useState(()=>So?Sl():void 0);return Sa(()=>{null==e&&t(Sl())},[]),el.useEffect(()=>{So||(So=!0)},[]),e},Su=el.createContext(null),Sd=()=>el.useContext(Su);function Sp(e){var t;return!!e&&e instanceof(((null==(t=e)?void 0:t.ownerDocument)||document).defaultView||window).Element}let Sf=el["useInsertionEffect".toString()]||(e=>e()),Sh=ST(),Sm=e=>SC(e,Sh),Sg=ST();Sm.write=e=>SC(e,Sg);let Sv=ST();Sm.onStart=e=>SC(e,Sv);let Sb=ST();Sm.onFrame=e=>SC(e,Sb);let Sy=ST();Sm.onFinish=e=>SC(e,Sy);let S_=[];Sm.setTimeout=(e,t)=>{let r=Sm.now()+t,i=()=>{let e=S_.findIndex(e=>e.cancel==i);~e&&S_.splice(e,1),SE-=~e?1:0},a={time:r,handler:e,cancel:i};return S_.splice(Sw(r),0,a),SE+=1,SS(),a};let Sw=e=>~(~S_.findIndex(t=>t.time>e)||~S_.length);Sm.cancel=e=>{Sv.delete(e),Sb.delete(e),Sh.delete(e),Sg.delete(e),Sy.delete(e)},Sm.sync=e=>{SF=!0,Sm.batchedUpdates(e),SF=!1},Sm.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function i(...e){t=e,Sm.onStart(r)}return i.handler=e,i.cancel=()=>{Sv.delete(r),t=null},i};let Sk="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Sm.use=e=>Sk=e,Sm.now="undefined"!=typeof performance?()=>performance.now():Date.now,Sm.batchedUpdates=e=>e(),Sm.catch=console.error,Sm.frameLoop="always",Sm.advance=()=>{"demand"!==Sm.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Sj()};let Sx=-1,SE=0,SF=!1;function SC(e,t){SF?(t.delete(e),e(0)):(t.add(e),SS())}function SS(){Sx<0&&(Sx=0,"demand"!==Sm.frameLoop&&Sk(SD))}function SD(){~Sx&&(Sk(SD),Sm.batchedUpdates(Sj))}function Sj(){let e=Sx,t=Sw(Sx=Sm.now());t&&(SO(S_.splice(0,t),e=>e.handler()),SE-=t),Sv.flush(),Sh.flush(e?Math.min(64,Sx-e):16.667),Sb.flush(),Sg.flush(),Sy.flush(),SE||(Sx=-1)}function ST(){let e=new Set,t=e;return{add(r){SE+=t!=e||e.has(r)?0:1,e.add(r)},delete:r=>(SE-=t==e&&e.has(r)?1:0,e.delete(r)),flush(r){t.size&&(e=new Set,SE-=t.size,SO(t,t=>t(r)&&e.add(t)),SE+=e.size,t=e)}}}function SO(e,t){e.forEach(e=>{try{t(e)}catch(e){Sm.catch(e)}})}function SP(){}let SR=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),SM={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function SL(e,t){if(SM.arr(e)){if(!SM.arr(t)||e.length!==t.length)return!1;for(let r=0;re.forEach(t);function SI(e,t,r){if(SM.arr(e)){for(let i=0;iSM.und(e)?[]:SM.arr(e)?e:[e];function SB(e,t){if(e.size){let r=Array.from(e);e.clear(),SA(r,t)}}let SU=(e,...t)=>SB(e,e=>e(...t)),Sz=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),SH=null,Sq=!1,SV=SP;var SW=Object.freeze({__proto__:null,get createStringInterpolator(){return l},get to(){return u},get colors(){return SH},get skipAnimation(){return Sq},get willAdvance(){return SV},assign:e=>{e.to&&(u=e.to),e.now&&(Sm.now=e.now),void 0!==e.colors&&(SH=e.colors),null!=e.skipAnimation&&(Sq=e.skipAnimation),e.createStringInterpolator&&(l=e.createStringInterpolator),e.requestAnimationFrame&&Sm.use(e.requestAnimationFrame),e.batchedUpdates&&(Sm.batchedUpdates=e.batchedUpdates),e.willAdvance&&(SV=e.willAdvance),e.frameLoop&&(Sm.frameLoop=e.frameLoop)}});let S$=new Set,SG=[],SY=[],SK=0,SZ={get idle(){return!S$.size&&!SG.length},start(e){SK>e.priority?(S$.add(e),Sm.onStart(SJ)):(SX(e),Sm(S0))},advance:S0,sort(e){if(SK)Sm.onFrame(()=>SZ.sort(e));else{let t=SG.indexOf(e);~t&&(SG.splice(t,1),SQ(e))}},clear(){SG=[],S$.clear()}};function SJ(){S$.forEach(SX),S$.clear(),Sm(S0)}function SX(e){SG.includes(e)||SQ(e)}function SQ(e){SG.splice(function(e,t){let r=e.findIndex(t);return r<0?e.length:r}(SG,t=>t.priority>e.priority),0,e)}function S0(e){let t=SY;for(let r=0;r0}let S1="[-+]?\\d*\\.?\\d+",S2=S1+"%";function S3(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let S4=RegExp("rgb"+S3(S1,S1,S1)),S6=RegExp("rgba"+S3(S1,S1,S1,S1)),S5=RegExp("hsl"+S3(S1,S2,S2)),S8=RegExp("hsla"+S3(S1,S2,S2,S1)),S9=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,S7=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,De=/^#([0-9a-fA-F]{6})$/,Dt=/^#([0-9a-fA-F]{8})$/;function Dn(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Dr(e,t,r){let i=r<.5?r*(1+t):r+t-r*t,a=2*r-i;return Math.round(255*Dn(a,i,e+1/3))<<24|Math.round(255*Dn(a,i,e))<<16|Math.round(255*Dn(a,i,e-1/3))<<8}function Di(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function Da(e){return(parseFloat(e)%360+360)%360/360}function Do(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ds(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function Dl(e){let t;let r="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=De.exec(e))?parseInt(t[1]+"ff",16)>>>0:SH&&void 0!==SH[e]?SH[e]:(t=S4.exec(e))?(Di(t[1])<<24|Di(t[2])<<16|Di(t[3])<<8|255)>>>0:(t=S6.exec(e))?(Di(t[1])<<24|Di(t[2])<<16|Di(t[3])<<8|Do(t[4]))>>>0:(t=S9.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Dt.exec(e))?parseInt(t[1],16)>>>0:(t=S7.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=S5.exec(e))?(255|Dr(Da(t[1]),Ds(t[2]),Ds(t[3])))>>>0:(t=S8.exec(e))?(Dr(Da(t[1]),Ds(t[2]),Ds(t[3]))|Do(t[4]))>>>0:null;if(null===r)return e;let i=(4278190080&(r=r||0))>>>24,a=(16711680&r)>>>16,o=(65280&r)>>>8,s=(255&r)/255;return`rgba(${i}, ${a}, ${o}, ${s})`}let Dc=(e,t,r)=>{if(SM.fun(e))return e;if(SM.arr(e))return Dc({range:e,output:t,extrapolate:r});if(SM.str(e.output[0]))return l(e);let i=e.output,a=e.range||[0,1],o=e.extrapolateLeft||e.extrapolate||"extend",s=e.extrapolateRight||e.extrapolate||"extend",u=e.easing||(e=>e);return t=>{let r=function(e,t){for(var r=1;r=e);++r);return r-1}(t,a);return function(e,t,r,i,a,o,s,l,u){let d=u?u(e):e;if(dr){if("identity"===l)return d;"clamp"===l&&(d=r)}return i===a?i:t===r?e<=t?i:a:(t===-1/0?d=-d:r===1/0?d-=t:d=(d-t)/(r-t),d=o(d),i===-1/0?d=-d:a===1/0?d+=i:d=d*(a-i)+i,d)}(t,a[r],a[r+1],i[r],i[r+1],u,o,s,e.map)}};function Du(){return(Du=Object.assign||function(e){for(var t=1;t!!(e&&e[Dd]),Dh=e=>e&&e[Dd]?e[Dd]():e,Dm=e=>e[Dp]||null;function Dg(e,t){let r=e[Dp];r&&r.forEach(e=>{e.eventObserved?e.eventObserved(t):e(t)})}class Dv{constructor(e){if(this[Dd]=void 0,this[Dp]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");Db(this,e)}}let Db=(e,t)=>Dw(e,Dd,t);function Dy(e,t){if(e[Dd]){let r=e[Dp];r||Dw(e,Dp,r=new Set),!r.has(t)&&(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function D_(e,t){let r=e[Dp];if(r&&r.has(t)){let i=r.size-1;i?r.delete(t):e[Dp]=null,e.observerRemoved&&e.observerRemoved(i,t)}}let Dw=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),Dk=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Dx=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,DE=RegExp(`(${Dk.source})(%|[a-z]+)`,"i"),DF=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,DC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,DS=e=>{let[t,r]=DD(e);if(!t||Sz())return e;let i=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(i)return i.trim();if(r&&r.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(r);if(e)return e}else if(r&&DC.test(r))return DS(r);else if(r)return r;return e},DD=e=>{let t=DC.exec(e);if(!t)return[,];let[,r,i]=t;return[r,i]},Dj=(e,t,r,i,a)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(i)}, ${a})`,DT=e=>{d||(d=SH?RegExp(`(${Object.keys(SH).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>Dh(e).replace(DC,DS).replace(Dx,Dl).replace(d,Dl)),r=t.map(e=>e.match(Dk).map(Number)),i=r[0].map((e,t)=>r.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>Dc(Du({},e,{output:t})));return e=>{var r;let a=!DE.test(t[0])&&(null==(r=t.find(e=>DE.test(e)))?void 0:r.replace(Dk,"")),o=0;return t[0].replace(Dk,()=>`${i[o++](e)}${a||""}`).replace(DF,Dj)}},DO="react-spring: ",DP=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${DO}once requires a function parameter`);return(...r)=>{t||(e(...r),t=!0)}},DR=DP(console.warn),DM=DP(console.warn);function DL(e){return SM.str(e)&&("#"==e[0]||/\d/.test(e)||!Sz()&&DC.test(e)||e in(SH||{}))}let DA="undefined"!=typeof window&&window.document&&window.document.createElement?el.useLayoutEffect:el.useEffect,DI=()=>{let e=(0,el.useRef)(!1);return DA(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function DN(){let e=(0,el.useState)()[1],t=DI();return()=>{t.current&&e(Math.random())}}let DB=e=>(0,el.useEffect)(e,DU),DU=[];function Dz(e){let t=(0,el.useRef)();return(0,el.useEffect)(()=>{t.current=e}),t.current}let DH=Symbol.for("Animated:node"),Dq=e=>!!e&&e[DH]===e,DV=e=>e&&e[DH],DW=(e,t)=>SR(e,DH,t),D$=e=>e&&e[DH]&&e[DH].getPayload();class DG{constructor(){this.payload=void 0,DW(this,this)}getPayload(){return this.payload||[]}}class DY extends DG{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,SM.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new DY(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return SM.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,SM.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class DK extends DY{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Dc({output:[e,e]})}static create(e){return new DK(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(SM.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Dc({output:[this.getValue(),e]})),this._value=0,super.reset()}}let DZ={dependencies:null};class DJ extends DG{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return SI(this.source,(r,i)=>{Dq(r)?t[i]=r.getValue(e):Df(r)?t[i]=Dh(r):e||(t[i]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&SA(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return SI(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){DZ.dependencies&&Df(e)&&DZ.dependencies.add(e);let t=D$(e);t&&SA(t,e=>this.add(e))}}class DX extends DJ{constructor(e){super(e)}static create(e){return new DX(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,r)=>t.setValue(e[r])).some(Boolean):(super.setValue(e.map(DQ)),!0)}}function DQ(e){return(DL(e)?DK:DY).create(e)}function D0(e){let t=DV(e);return t?t.constructor:SM.arr(e)?DX:DL(e)?DK:DY}function D1(){return(D1=Object.assign||function(e){for(var t=1;t{let r=!SM.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,el.forwardRef)((i,a)=>{let o=(0,el.useRef)(null),s=r&&(0,el.useCallback)(e=>{o.current=function(e,t){return e&&(SM.fun(e)?e(t):e.current=t),t}(a,e)},[a]),[l,u]=function(e,t){let r=new Set;return DZ.dependencies=r,e.style&&(e=D1({},e,{style:t.createAnimatedStyle(e.style)})),e=new DJ(e),DZ.dependencies=null,[e,r]}(i,t),d=DN(),p=()=>{let e=o.current;(!r||e)&&!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&d()},f=new D3(p,u),m=(0,el.useRef)();DA(()=>(m.current=f,SA(u,e=>Dy(e,f)),()=>{m.current&&(SA(m.current.deps,e=>D_(e,m.current)),Sm.cancel(m.current.update))})),(0,el.useEffect)(p,[]),DB(()=>()=>{let e=m.current;SA(e.deps,t=>D_(t,e))});let g=t.getComponentProps(l.getValue());return el.createElement(e,D1({},g,{ref:s}))})};class D3{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Sm.write(this.update)}}let D4=Symbol.for("AnimatedComponent"),D6=e=>SM.str(e)?e:e&&SM.str(e.displayName)?e.displayName:SM.fun(e)&&e.name||null;function D5(){return(D5=Object.assign||function(e){for(var t=1;t!0===e||!!(t&&e&&(SM.fun(e)?e(t):SN(e).includes(t))),D7=(e,t)=>SM.obj(e)?t&&e[t]:e,je=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,jt=e=>e,jn=(e,t=jt)=>{let r=jr;e.default&&!0!==e.default&&(r=Object.keys(e=e.default));let i={};for(let a of r){let r=t(e[a],a);SM.und(r)||(i[a]=r)}return i},jr=["config","onProps","onStart","onChange","onPause","onResume","onRest"],ji={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function ja(e){let t=function(e){let t={},r=0;if(SI(e,(e,i)=>{!ji[i]&&(t[i]=e,r++)}),r)return t}(e);if(t){let r={to:t};return SI(e,(e,i)=>i in t||(r[i]=e)),r}return D5({},e)}function jo(e){return e=Dh(e),SM.arr(e)?e.map(jo):DL(e)?SW.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function js(e){for(let t in e)return!0;return!1}function jl(e){return SM.fun(e)||SM.arr(e)&&SM.obj(e[0])}function jc(e,t){var r;null==(r=e.ref)||r.delete(e),null==t||t.delete(e)}function ju(e,t){if(t&&e.ref!==t){var r;null==(r=e.ref)||r.delete(e),t.add(e),e.ref=t}}let jd={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},jp=D5({},jd.default,{mass:1,damping:1,easing:e=>e,clamp:!1});class jf{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,jp)}}function jh(e,t){if(SM.und(t.decay)){let r=!SM.und(t.tension)||!SM.und(t.friction);!r&&SM.und(t.frequency)&&SM.und(t.damping)&&SM.und(t.mass)||(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}else e.duration=void 0}let jm=[];class jg{constructor(){this.changed=!1,this.values=jm,this.toValues=null,this.fromValues=jm,this.to=void 0,this.from=void 0,this.config=new jf,this.immediate=!1}}function jv(e,{key:t,props:r,defaultProps:i,state:a,actions:o}){return new Promise((s,l)=>{var u;let d,p;let f=D9(null!=(u=r.cancel)?u:null==i?void 0:i.cancel,t);if(f)v();else{SM.und(r.pause)||(a.paused=D9(r.pause,t));let e=null==i?void 0:i.pause;!0!==e&&(e=a.paused||D9(e,t)),d=D8(r.delay||0,t),e?(a.resumeQueue.add(g),o.pause()):(o.resume(),g())}function m(){a.resumeQueue.add(g),a.timeouts.delete(p),p.cancel(),d=p.time-Sm.now()}function g(){d>0&&!SW.skipAnimation?(a.delayed=!0,p=Sm.setTimeout(v,d),a.pauseQueue.add(m),a.timeouts.add(p)):v()}function v(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(m),a.timeouts.delete(p),e<=(a.cancelId||0)&&(f=!0);try{o.start(D5({},r,{callId:e,cancel:f}),s)}catch(e){l(e)}}})}let jb=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?jw(e.get()):t.every(e=>e.noop)?jy(e.get()):j_(e.get(),t.every(e=>e.finished)),jy=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),j_=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),jw=e=>({value:e,cancelled:!0,finished:!1});function jk(e,t,r,i){let{callId:a,parentId:o,onRest:s}=t,{asyncTo:l,promise:u}=r;return o||e!==l||t.reset?r.promise=(async()=>{let d,p,f;r.asyncId=a,r.asyncTo=e;let m=jn(t,(e,t)=>"onRest"===t?void 0:e),g=new Promise((e,t)=>(d=e,p=t)),v=e=>{let t=a<=(r.cancelId||0)&&jw(i)||a!==r.asyncId&&j_(i,!1);if(t)throw e.result=t,p(e),e},b=(e,t)=>{let o=new jE,s=new jF;return(async()=>{if(SW.skipAnimation)throw jx(r),s.result=j_(i,!1),p(s),s;v(o);let l=SM.obj(e)?D5({},e):D5({},t,{to:e});l.parentId=a,SI(m,(e,t)=>{SM.und(l[t])&&(l[t]=e)});let u=await i.start(l);return v(o),r.paused&&await new Promise(e=>{r.resumeQueue.add(e)}),u})()};if(SW.skipAnimation)return jx(r),j_(i,!1);try{let t;t=SM.arr(e)?(async e=>{for(let t of e)await b(t)})(e):Promise.resolve(e(b,i.stop.bind(i))),await Promise.all([t.then(d),g]),f=j_(i.get(),!0,!1)}catch(e){if(e instanceof jE)f=e.result;else if(e instanceof jF)f=e.result;else throw e}finally{a==r.asyncId&&(r.asyncId=o,r.asyncTo=o?l:void 0,r.promise=o?u:void 0)}return SM.fun(s)&&Sm.batchedUpdates(()=>{s(f,i,i.item)}),f})():u}function jx(e,t){SB(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class jE extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class jF extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}let jC=e=>e instanceof jD,jS=1;class jD extends Dv{constructor(...e){super(...e),this.id=jS++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=DV(this);return e&&e.getValue()}to(...e){return SW.to(this,e)}interpolate(...e){return DR(`${DO}The "interpolate" function is deprecated in v9 (use "to" instead)`),SW.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Dg(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||SZ.sort(this),Dg(this,{type:"priority",parent:this,priority:e})}}let jj=Symbol.for("SpringPhase"),jT=e=>(1&e[jj])>0,jO=e=>(2&e[jj])>0,jP=e=>(4&e[jj])>0,jR=(e,t)=>t?e[jj]|=3:e[jj]&=-3,jM=(e,t)=>t?e[jj]|=4:e[jj]&=-5;class jL extends jD{constructor(e,t){if(super(),this.key=void 0,this.animation=new jg,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!SM.und(e)||!SM.und(t)){let r=SM.obj(e)?D5({},e):D5({},t,{from:e});SM.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(jO(this)||this._state.asyncTo)||jP(this)}get goal(){return Dh(this.animation.to)}get velocity(){let e=DV(this);return e instanceof DY?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return jT(this)}get isAnimating(){return jO(this)}get isPaused(){return jP(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1,i=this.animation,{config:a,toValues:o}=i,s=D$(i.to);!s&&Df(i.to)&&(o=SN(Dh(i.to))),i.values.forEach((l,u)=>{if(l.done)return;let d=l.constructor==DK?1:s?s[u].lastPosition:o[u],p=i.immediate,f=d;if(!p){let t;if(f=l.lastPosition,a.tension<=0){l.done=!0;return}let r=l.elapsedTime+=e,o=i.fromValues[u],s=null!=l.v0?l.v0:l.v0=SM.arr(a.velocity)?a.velocity[u]:a.velocity;if(SM.und(a.duration)){if(a.decay){let e=!0===a.decay?.998:a.decay,i=Math.exp(-(1-e)*r);f=o+s/(1-e)*(1-i),p=.1>Math.abs(l.lastPosition-f),t=s*i}else{t=null==l.lastVelocity?s:l.lastVelocity;let r=a.precision||(o==d?.005:Math.min(1,.001*Math.abs(d-o))),i=a.restVelocity||r/10,u=a.clamp?0:a.bounce,m=!SM.und(u),g=o==d?l.v0>0:oi)&&(p=Math.abs(d-f)<=r));++e){m&&(f==d||f>d==g)&&(t=-t*u,f=d);let e=(-(1e-6*a.tension)*(f-d)+-(.001*a.friction)*t)/a.mass;t+=1*e,f+=1*t}}}else{let i=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,l.durationProgress>0&&(l.elapsedTime=a.duration*l.durationProgress,r=l.elapsedTime+=e)),i=(i=(a.progress||0)+r/this._memoizedDuration)>1?1:i<0?0:i,l.durationProgress=i),t=((f=o+a.easing(i)*(d-o))-l.lastPosition)/e,p=1==i}l.lastVelocity=t,Number.isNaN(f)&&(console.warn("Got NaN while animating:",this),p=!0)}s&&!s[u].done&&(p=!1),p?l.done=!0:t=!1,l.setValue(f,a.round)&&(r=!0)});let l=DV(this),u=l.getValue();if(t){let e=Dh(i.to);(u!==e||r)&&!a.decay?(l.setValue(e),this._onChange(e)):r&&a.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(e){return Sm.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(jO(this)){let{to:e,config:t}=this.animation;Sm.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return SM.und(e)?(r=this.queue||[],this.queue=[]):r=[SM.obj(e)?e:D5({},t,{to:e})],Promise.all(r.map(e=>this._update(e))).then(e=>jb(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),jx(this._state,e&&this._lastCallId),Sm.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:r,from:i}=e;(null==(r=SM.obj(r)?r[t]:r)||jl(r))&&(r=void 0),null==(i=SM.obj(i)?i[t]:i)&&(i=void 0);let a={to:r,from:i};return jT(this)||(e.reverse&&([r,i]=[i,r]),i=Dh(i),SM.und(i)?DV(this)||this._set(r):this._set(i)),a}_update(e,t){let r=D5({},e),{key:i,defaultProps:a}=this;r.default&&Object.assign(a,jn(r,(e,t)=>/^on/.test(t)?D7(e,i):e)),jz(this,r,"onProps"),jH(this,"onProps",r,this);let o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let s=this._state;return jv(++this._lastCallId,{key:i,props:r,defaultProps:a,state:s,actions:{pause:()=>{jP(this)||(jM(this,!0),SU(s.pauseQueue),jH(this,"onPause",j_(this,jA(this,this.animation.to)),this))},resume:()=>{jP(this)&&(jM(this,!1),jO(this)&&this._resume(),SU(s.resumeQueue),jH(this,"onResume",j_(this,jA(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(e=>{if(r.loop&&e.finished&&!(t&&e.noop)){let e=jI(r);if(e)return this._update(e,!0)}return e})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(jw(this));let i=!SM.und(e.to),a=!SM.und(e.from);if(i||a){if(!(t.callId>this._lastToId))return r(jw(this));this._lastToId=t.callId}let{key:o,defaultProps:s,animation:l}=this,{to:u,from:d}=l,{to:p=u,from:f=d}=e;a&&!i&&(!t.default||SM.und(p))&&(p=f),t.reverse&&([p,f]=[f,p]);let m=!SL(f,d);m&&(l.from=f),f=Dh(f);let g=!SL(p,u);g&&this._focus(p);let v=jl(t.to),{config:b}=l,{decay:y,velocity:_}=b;(i||a)&&(b.velocity=0),t.config&&!v&&function(e,t,r){for(let i in r&&(jh(r=D5({},r),t),t=D5({},r,t)),jh(e,t),Object.assign(e,t),jp)null==e[i]&&(e[i]=jp[i]);let{mass:i,frequency:a,damping:o}=e;SM.und(a)||(a<.01&&(a=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/a,2)*i,e.friction=4*Math.PI*o*i/a)}(b,D8(t.config,o),t.config!==s.config?D8(s.config,o):void 0);let w=DV(this);if(!w||SM.und(p))return r(j_(this,!0));let k=SM.und(t.reset)?a&&!t.default:!SM.und(f)&&D9(t.reset,o),x=k?f:this.get(),E=jo(p),F=SM.num(E)||SM.arr(E)||DL(E),C=!v&&(!F||D9(s.immediate||t.immediate,o));if(g){let e=D0(p);if(e!==w.constructor){if(C)w=this._set(E);else throw Error(`Cannot animate between ${w.constructor.name} and ${e.name}, as the "to" prop suggests`)}}let S=w.constructor,D=Df(p),j=!1;if(!D){let e=k||!jT(this)&&m;(g||e)&&(D=!(j=SL(jo(x),E))),(SL(l.immediate,C)||C)&&SL(b.decay,y)&&SL(b.velocity,_)||(D=!0)}if(j&&jO(this)&&(l.changed&&!k?D=!0:D||this._stop(u)),!v&&((D||Df(u))&&(l.values=w.getPayload(),l.toValues=Df(p)?null:S==DK?[1]:SN(E)),l.immediate==C||(l.immediate=C,C||k||this._set(u)),D)){let{onRest:e}=l;SA(jU,e=>jz(this,t,e));let i=j_(this,jA(this,u));SU(this._pendingCalls,i),this._pendingCalls.add(r),l.changed&&Sm.batchedUpdates(()=>{l.changed=!k,null==e||e(i,this),k?D8(s.onRest,i):null==l.onStart||l.onStart(i,this)})}k&&this._set(x),v?r(jk(t.to,t,this._state,this)):D?this._start():jO(this)&&!g?this._pendingCalls.add(r):r(jy(x))}_focus(e){let t=this.animation;e!==t.to&&(Dm(this)&&this._detach(),t.to=e,Dm(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;Df(t)&&(Dy(t,this),jC(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;Df(e)&&D_(e,this)}_set(e,t=!0){let r=Dh(e);if(!SM.und(r)){let e=DV(this);if(!e||!SL(r,e.getValue())){let i=D0(r);e&&e.constructor==i?e.setValue(r):DW(this,i.create(r)),e&&Sm.batchedUpdates(()=>{this._onChange(r,t)})}}return DV(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,jH(this,"onStart",j_(this,jA(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),D8(this.animation.onChange,e,this)),D8(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;DV(this).reset(Dh(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),jO(this)||(jR(this,!0),jP(this)||this._resume())}_resume(){SW.skipAnimation?this.finish():SZ.start(this)}_stop(e,t){if(jO(this)){jR(this,!1);let r=this.animation;SA(r.values,e=>{e.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Dg(this,{type:"idle",parent:this});let i=t?jw(this.get()):j_(this.get(),jA(this,null!=e?e:r.to));SU(this._pendingCalls,i),r.changed&&(r.changed=!1,jH(this,"onRest",i,this))}}}function jA(e,t){let r=jo(t);return SL(jo(e.get()),r)}function jI(e,t=e.loop,r=e.to){let i=D8(t);if(i){let a=!0!==i&&ja(i),o=(a||e).reverse,s=!a||a.reset;return jN(D5({},e,{loop:t,default:!1,pause:void 0,to:!o||jl(r)?r:void 0,from:s?e.from:void 0,reset:s},a))}}function jN(e){let{to:t,from:r}=e=ja(e),i=new Set;return SM.obj(t)&&jB(t,i),SM.obj(r)&&jB(r,i),e.keys=i.size?Array.from(i):null,e}function jB(e,t){SI(e,(e,r)=>null!=e&&t.add(r))}let jU=["onStart","onRest","onChange","onPause","onResume"];function jz(e,t,r){e.animation[r]=t[r]!==je(t,r)?D7(t[r],e.key):void 0}function jH(e,t,...r){var i,a,o,s;null==(i=(a=e.animation)[t])||i.call(a,...r),null==(o=(s=e.defaultProps)[t])||o.call(s,...r)}let jq=["onStart","onChange","onRest"],jV=1;class jW{constructor(e,t){this.id=jV++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(D5({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,r)=>e[r]=t.get()),e}set(e){for(let t in e){let r=e[t];SM.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(jN(e)),this}start(e){let{queue:t}=this;return(e?t=SN(e).map(jN):this.queue=[],this._flush)?this._flush(this,t):(jX(this,t),j$(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let r=this.springs;SA(SN(t),t=>r[t].stop(!!e))}else jx(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(SM.und(e))this.start({pause:!0});else{let t=this.springs;SA(SN(e),e=>t[e].pause())}return this}resume(e){if(SM.und(e))this.start({pause:!1});else{let t=this.springs;SA(SN(e),e=>t[e].resume())}return this}each(e){SI(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:r}=this._events,i=this._active.size>0,a=this._changed.size>0;(i&&!this._started||a&&!this._started)&&(this._started=!0,SB(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!i&&this._started,s=a||o&&r.size?this.get():null;a&&t.size&&SB(t,([e,t])=>{t.value=s,e(t,this,this._item)}),o&&(this._started=!1,SB(r,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}Sm.onFrame(this._onFrame)}}function j$(e,t){return Promise.all(t.map(t=>jG(e,t))).then(t=>jb(e,t))}async function jG(e,t,r){let{keys:i,to:a,from:o,loop:s,onRest:l,onResolve:u}=t,d=SM.obj(t.default)&&t.default;s&&(t.loop=!1),!1===a&&(t.to=null),!1===o&&(t.from=null);let p=SM.arr(a)||SM.fun(a)?a:void 0;p?(t.to=void 0,t.onRest=void 0,d&&(d.onRest=void 0)):SA(jq,r=>{let i=t[r];if(SM.fun(i)){let a=e._events[r];t[r]=({finished:e,cancelled:t})=>{let r=a.get(i);r?(e||(r.finished=!1),t&&(r.cancelled=!0)):a.set(i,{value:null,finished:e||!1,cancelled:t||!1})},d&&(d[r]=t[r])}});let f=e._state;!f.paused===t.pause?(f.paused=t.pause,SU(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let m=(i||Object.keys(e.springs)).map(r=>e.springs[r].start(t)),g=!0===t.cancel||!0===je(t,"cancel");(p||g&&f.asyncId)&&m.push(jv(++e._lastAsyncId,{props:t,state:f,actions:{pause:SP,resume:SP,start(t,r){g?(jx(f,e._lastAsyncId),r(jw(e))):(t.onRest=l,r(jk(p,t,f,e)))}}})),f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});let v=jb(e,await Promise.all(m));if(s&&v.finished&&!(r&&v.noop)){let r=jI(t,s,a);if(r)return jX(e,[r]),jG(e,r,!0)}return u&&Sm.batchedUpdates(()=>u(v,e,e.item)),v}function jY(e,t){let r=D5({},e.springs);return t&&SA(SN(t),e=>{SM.und(e.keys)&&(e=jN(e)),SM.obj(e.to)||(e=D5({},e,{to:void 0})),jJ(r,e,e=>jZ(e))}),jK(e,r),r}function jK(e,t){SI(t,(t,r)=>{e.springs[r]||(e.springs[r]=t,Dy(t,e))})}function jZ(e,t){let r=new jL;return r.key=e,t&&Dy(r,t),r}function jJ(e,t,r){t.keys&&SA(t.keys,i=>{(e[i]||(e[i]=r(i)))._prepareNode(t)})}function jX(e,t){SA(t,t=>{jJ(e.springs,t,t=>jZ(t,e))})}let jQ=["children"],j0=e=>{let{children:t}=e,r=function(e,t){if(null==e)return{};var r,i,a={},o=Object.keys(e);for(i=0;i=0||(a[r]=e[r]);return a}(e,jQ),i=(0,el.useContext)(j1),a=r.pause||!!i.pause,o=r.immediate||!!i.immediate;r=function(e,t){let[r]=(0,el.useState)(()=>({inputs:t,result:e()})),i=(0,el.useRef)(),a=i.current,o=a;return o?t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r{i.current=o,a==r&&(r.inputs=r.result=void 0)},[o]),o.result}(()=>({pause:a,immediate:o}),[a,o]);let{Provider:s}=j1;return el.createElement(s,{value:r},t)},j1=function(e,t){return Object.assign(e,el.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}(j0,{});j0.Provider=j1.Provider,j0.Consumer=j1.Consumer;let j2=()=>{let e=[],t=function(t){DM(`${DO}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);let i=[];return SA(e,(e,a)=>{if(SM.und(t))i.push(e.start());else{let o=r(t,e,a);o&&i.push(e.start(o))}}),i};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let r=e.indexOf(t);~r&&e.splice(r,1)},t.pause=function(){return SA(e,e=>e.pause(...arguments)),this},t.resume=function(){return SA(e,e=>e.resume(...arguments)),this},t.set=function(t){SA(e,e=>e.set(t))},t.start=function(t){let r=[];return SA(e,(e,i)=>{if(SM.und(t))r.push(e.start());else{let a=this._getProps(t,e,i);a&&r.push(e.start(a))}}),r},t.stop=function(){return SA(e,e=>e.stop(...arguments)),this},t.update=function(t){return SA(e,(e,r)=>e.update(this._getProps(t,e,r))),this};let r=function(e,t,r){return SM.fun(e)?e(r,t):e};return t._getProps=r,t};function j3(e,t){let r=SM.fun(e),[[i],a]=function(e,t,r){let i=SM.fun(t)&&t;i&&!r&&(r=[]);let a=(0,el.useMemo)(()=>i||3==arguments.length?j2():void 0,[]),o=(0,el.useRef)(0),s=DN(),l=(0,el.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let r=jY(e,t);return!(o.current>0)||l.queue.length||Object.keys(r).some(t=>!e.springs[t])?new Promise(i=>{jK(e,r),l.queue.push(()=>{i(j$(e,t))}),s()}):j$(e,t)}}),[]),u=(0,el.useRef)([...l.ctrls]),d=[],p=Dz(e)||0;function f(e,r){for(let a=e;a{SA(u.current.slice(e,p),e=>{jc(e,a),e.stop(!0)}),u.current.length=e,f(p,e)},[e]),(0,el.useMemo)(()=>{f(0,Math.min(p,e))},r);let m=u.current.map((e,t)=>jY(e,d[t])),g=(0,el.useContext)(j0),v=Dz(g),b=g!==v&&js(g);DA(()=>{o.current++,l.ctrls=u.current;let{queue:e}=l;e.length&&(l.queue=[],SA(e,e=>e())),SA(u.current,(e,t)=>{null==a||a.add(e),b&&e.start({default:g});let r=d[t];r&&(ju(e,r.ref),e.ref?e.queue.push(r):e.start(r))})}),DB(()=>()=>{SA(l.ctrls,e=>e.stop(!0))});let y=m.map(e=>D5({},e));return a?[y,a]:y}(1,r?e:[e],r?t||[]:t);return r||2==arguments.length?[i,a]:i}function j4(e,t,r){let i=SM.fun(t)&&t,{reset:a,sort:o,trail:s=0,expires:l=!0,exitBeforeEnter:u=!1,onDestroyed:d,ref:f,config:m}=i?i():t,g=(0,el.useMemo)(()=>i||3==arguments.length?j2():void 0,[]),v=SN(e),b=[],y=(0,el.useRef)(null),_=a?null:y.current;DA(()=>{y.current=b}),DB(()=>(SA(y.current,e=>{var t;null==(t=e.ctrl.ref)||t.add(e.ctrl);let r=S.get(e);r&&e.ctrl.start(r.payload)}),()=>{SA(y.current,e=>{e.expired&&clearTimeout(e.expirationId),jc(e.ctrl,g),e.ctrl.stop(!0)})}));let w=function(e,{key:t,keys:r=t},i){if(null===r){let t=new Set;return e.map(e=>{let r=i&&i.find(r=>r.item===e&&r.phase!==p.LEAVE&&!t.has(r));return r?(t.add(r),r.key):j6++})}return SM.und(r)?e:SM.fun(r)?e.map(r):SN(r)}(v,i?i():t,_),k=a&&y.current||[];DA(()=>SA(k,({ctrl:e,item:t,key:r})=>{jc(e,g),D8(d,t,r)}));let x=[];if(_&&SA(_,(e,t)=>{e.expired?(clearTimeout(e.expirationId),k.push(e)):~(t=x[t]=w.indexOf(e.key))&&(b[t]=e)}),SA(v,(e,t)=>{b[t]||(b[t]={key:w[t],item:e,phase:p.MOUNT,ctrl:new jW},b[t].ctrl.item=e)}),x.length){let e=-1,{leave:r}=i?i():t;SA(x,(t,i)=>{let a=_[i];~t?(e=b.indexOf(a),b[e]=D5({},a,{item:v[t]})):r&&b.splice(++e,0,a)})}SM.fun(o)&&b.sort((e,t)=>o(e.item,t.item));let E=-s,F=DN(),C=jn(t),S=new Map,D=(0,el.useRef)(new Map),j=(0,el.useRef)(!1);SA(b,(e,r)=>{let a,o;let d=e.key,g=e.phase,v=i?i():t,b=D8(v.delay||0,d);if(g==p.MOUNT)a=v.enter,o=p.ENTER;else{let e=0>w.indexOf(d);if(g!=p.LEAVE){if(e)a=v.leave,o=p.LEAVE;else{if(!(a=v.update))return;o=p.UPDATE}}else{if(e)return;a=v.enter,o=p.ENTER}}if(a=D8(a,e.item,r),!(a=SM.obj(a)?ja(a):{to:a}).config){let t=m||C.config;a.config=D8(t,e.item,r,o)}E+=s;let k=D5({},C,{delay:b+E,ref:f,immediate:v.immediate,reset:!1},a);if(o==p.ENTER&&SM.und(k.from)){let a=i?i():t,o=SM.und(a.initial)||_?a.from:a.initial;k.from=D8(o,e.item,r)}let{onResolve:x}=k;k.onResolve=e=>{D8(x,e);let t=y.current,r=t.find(e=>e.key===d);if(r){if(e.cancelled&&r.phase!=p.UPDATE)return;if(r.ctrl.idle){let e=t.every(e=>e.ctrl.idle);if(r.phase==p.LEAVE){let t=D8(l,r.item);if(!1!==t){let i=!0===t?0:t;if(r.expired=!0,!e&&i>0){i<=2147483647&&(r.expirationId=setTimeout(F,i));return}}}e&&t.some(e=>e.expired)&&(D.current.delete(r),u&&(j.current=!0),F())}}};let T=jY(e.ctrl,k);o===p.LEAVE&&u?D.current.set(e,{phase:o,springs:T,payload:k}):S.set(e,{phase:o,springs:T,payload:k})});let T=(0,el.useContext)(j0),O=Dz(T),P=T!==O&&js(T);DA(()=>{P&&SA(b,e=>{e.ctrl.start({default:T})})},[T]),SA(S,(e,t)=>{if(D.current.size){let e=b.findIndex(e=>e.key===t.key);b.splice(e,1)}}),DA(()=>{SA(D.current.size?D.current:S,({phase:e,payload:t},r)=>{let{ctrl:i}=r;r.phase=e,null==g||g.add(i),P&&e==p.ENTER&&i.start({default:T}),t&&(ju(i,t.ref),i.ref&&!j.current?i.update(t):(i.start(t),j.current&&(j.current=!1)))})},a?void 0:r);let R=e=>el.createElement(el.Fragment,null,b.map((t,r)=>{let{springs:i}=S.get(t)||t.ctrl,a=e(D5({},i),t.item,t,r);return a&&a.type?el.createElement(a.type,D5({},a.props,{key:SM.str(t.key)||SM.num(t.key)?t.key:t.ctrl.id,ref:a.ref})):a}));return g?[R,g]:R}!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(p||(p={}));let j6=1;class j5 extends jD{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Dc(...t);let r=this._get();DW(this,D0(r).create(r))}advance(e){let t=this._get();SL(t,this.get())||(DV(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&j9(this._active)&&j7(this)}_get(){let e=SM.arr(this.source)?this.source.map(Dh):SN(Dh(this.source));return this.calc(...e)}_start(){this.idle&&!j9(this._active)&&(this.idle=!1,SA(D$(this),e=>{e.done=!1}),SW.skipAnimation?(Sm.batchedUpdates(()=>this.advance()),j7(this)):SZ.start(this))}_attach(){let e=1;SA(SN(this.source),t=>{Df(t)&&Dy(t,this),jC(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){SA(SN(this.source),e=>{Df(e)&&D_(e,this)}),this._active.clear(),j7(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=SN(this.source).reduce((e,t)=>Math.max(e,(jC(t)?t.priority:0)+1),0))}}function j8(e){return!1!==e.idle}function j9(e){return!e.size||Array.from(e).every(j8)}function j7(e){e.idle||(e.idle=!0,SA(D$(e),e=>{e.done=!0}),Dg(e,{type:"idle",parent:e}))}let Te=(e,...t)=>new j5(e,t);function Tt(e,t){if(null==e)return{};var r,i,a={},o=Object.keys(e);for(i=0;i=0||(a[r]=e[r]);return a}SW.assign({createStringInterpolator:DT,to:(e,t)=>new j5(e,t)}),SZ.advance;let Tn=["style","children","scrollTop","scrollLeft"],Tr=/^--/,Ti={},Ta={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},To=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),Ts=["Webkit","Ms","Moz","O"];Ta=Object.keys(Ta).reduce((e,t)=>(Ts.forEach(r=>e[To(r,t)]=e[t]),e),Ta);let Tl=["x","y","z"],Tc=/^(matrix|translate|scale|rotate|skew)/,Tu=/^(translate)/,Td=/^(rotate|skew)/,Tp=(e,t)=>SM.num(e)&&0!==e?e+t:e,Tf=(e,t)=>SM.arr(e)?e.every(e=>Tf(e,t)):SM.num(e)?e===t:parseFloat(e)===t;class Th extends DJ{constructor(e){let{x:t,y:r,z:i}=e,a=Tt(e,Tl),o=[],s=[];(t||r||i)&&(o.push([t||0,r||0,i||0]),s.push(e=>[`translate3d(${e.map(e=>Tp(e,"px")).join(",")})`,Tf(e,0)])),SI(a,(e,t)=>{if("transform"===t)o.push([e||""]),s.push(e=>[e,""===e]);else if(Tc.test(t)){if(delete a[t],SM.und(e))return;let r=Tu.test(t)?"px":Td.test(t)?"deg":"";o.push(SN(e)),s.push("rotate3d"===t?([e,t,i,a])=>[`rotate3d(${e},${t},${i},${Tp(a,r)})`,Tf(a,0)]:e=>[`${t}(${e.map(e=>Tp(e,r)).join(",")})`,Tf(e,t.startsWith("scale")?1:0)])}}),o.length&&(a.transform=new Tm(o,s)),super(a)}}class Tm extends Dv{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return SA(this.inputs,(r,i)=>{let a=Dh(r[0]),[o,s]=this.transforms[i](SM.arr(a)?a:r.map(Dh));e+=" "+o,t=t&&s}),t?"none":e}observerAdded(e){1==e&&SA(this.inputs,e=>SA(e,e=>Df(e)&&Dy(e,this)))}observerRemoved(e){0==e&&SA(this.inputs,e=>SA(e,e=>Df(e)&&D_(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Dg(this,e)}}let Tg=["scrollTop","scrollLeft"];SW.assign({batchedUpdates:fh.unstable_batchedUpdates,createStringInterpolator:DT,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});let Tv=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=e=>new DJ(e),getComponentProps:i=e=>e}={})=>{let a={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:i},o=e=>{let t=D6(e)||"Anonymous";return(e=SM.str(e)?o[e]||(o[e]=D2(e,a)):e[D4]||(e[D4]=D2(e,a))).displayName=`Animated(${t})`,e};return SI(e,(t,r)=>{SM.arr(e)&&(r=D6(t)),o[r]=o(t)}),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:i,children:a,scrollTop:o,scrollLeft:s}=t,l=Tt(t,Tn),u=Object.values(l),d=Object.keys(l).map(t=>r||e.hasAttribute(t)?t:Ti[t]||(Ti[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==a&&(e.textContent=a),i)if(i.hasOwnProperty(t)){var p;let r=null==(p=i[t])||"boolean"==typeof p||""===p?"":"number"!=typeof p||0===p||Tr.test(t)||Ta.hasOwnProperty(t)&&Ta[t]?(""+p).trim():p+"px";Tr.test(t)?e.style.setProperty(t,r):e.style[t]=r}d.forEach((t,r)=>{e.setAttribute(t,u[r])}),void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new Th(e),getComponentProps:e=>Tt(e,Tg)}).animated;function Tb(){return(Tb=Object.assign||function(e){for(var t=1;t0&&f.height>0,y=Math.round(r[0]),_=Math.round(r[1]);b&&("top"===i?(y-=f.width/2,_-=f.height+14):"right"===i?(y+=14,_-=f.height/2):"bottom"===i?(y-=f.width/2,_+=14):"left"===i?(y-=f.width+14,_-=f.height/2):"center"===i&&(y-=f.width/2,_-=f.height/2),g={transform:T_(y,_)},m.current||(v=!0),m.current=[y,_]);var w=j3({to:g,config:u,immediate:!l||v}),k=Tb({},Ty,o.tooltip,{transform:null!=(t=w.transform)?t:T_(y,_)});return(0,es.jsx)(Tv.div,{ref:p,style:k,children:a})});Tw.displayName="TooltipWrapper";var Tk=(0,el.memo)(function(e){var t=e.size,r=void 0===t?12:t,i=e.color,a=e.style;return(0,es.jsx)("span",{style:Tb({display:"block",width:r,height:r,background:i},void 0===a?{}:a)})}),Tx=(0,el.memo)(function(e){var t,r=e.id,i=e.value,a=e.format,o=e.enableChip,s=e.color,l=e.renderContent,u=Lz(),d=LI(a);if("function"==typeof l)t=l();else{var p=i;void 0!==d&&void 0!==p&&(p=d(p)),t=(0,es.jsxs)("div",{style:u.tooltip.basic,children:[void 0!==o&&o&&(0,es.jsx)(Tk,{color:s,style:u.tooltip.chip}),void 0!==p?(0,es.jsxs)("span",{children:[r,": ",(0,es.jsx)("strong",{children:""+p})]}):r]})}return(0,es.jsx)("div",{style:u.tooltip.container,children:t})}),TE={width:"100%",borderCollapse:"collapse"},TF=(0,el.memo)(function(e){var t,r=e.title,i=e.rows,a=void 0===i?[]:i,o=e.renderContent,s=Lz();return a.length?(t="function"==typeof o?o():(0,es.jsxs)("div",{children:[r&&r,(0,es.jsx)("table",{style:Tb({},TE,s.tooltip.table),children:(0,es.jsx)("tbody",{children:a.map(function(e,t){return(0,es.jsx)("tr",{children:e.map(function(e,t){return(0,es.jsx)("td",{style:s.tooltip.tableCell,children:e},t)})},t)})})})]}),(0,es.jsx)("div",{style:s.tooltip.container,children:t})):null});TF.displayName="TableTooltip";var TC=(0,el.memo)(function(e){var t=e.x0,r=e.x1,i=e.y0,a=e.y1,o=Lz(),s=Lx(),l=s.animate,u=s.config,d=(0,el.useMemo)(function(){return Tb({},o.crosshair.line,{pointerEvents:"none"})},[o.crosshair.line]),p=j3({x1:t,x2:r,y1:i,y2:a,config:u,immediate:!l});return(0,es.jsx)(Tv.line,Tb({},p,{fill:"none",style:d}))});TC.displayName="CrosshairLine";var TS=(0,el.memo)(function(e){var t,r,i=e.width,a=e.height,o=e.type,s=e.x,l=e.y;return"cross"===o?(t={x0:s,x1:s,y0:0,y1:a},r={x0:0,x1:i,y0:l,y1:l}):"top-left"===o?(t={x0:s,x1:s,y0:0,y1:l},r={x0:0,x1:s,y0:l,y1:l}):"top"===o?t={x0:s,x1:s,y0:0,y1:l}:"top-right"===o?(t={x0:s,x1:s,y0:0,y1:l},r={x0:s,x1:i,y0:l,y1:l}):"right"===o?r={x0:s,x1:i,y0:l,y1:l}:"bottom-right"===o?(t={x0:s,x1:s,y0:l,y1:a},r={x0:s,x1:i,y0:l,y1:l}):"bottom"===o?t={x0:s,x1:s,y0:l,y1:a}:"bottom-left"===o?(t={x0:s,x1:s,y0:l,y1:a},r={x0:0,x1:s,y0:l,y1:l}):"left"===o?r={x0:0,x1:s,y0:l,y1:l}:"x"===o?t={x0:s,x1:s,y0:0,y1:a}:"y"===o&&(r={x0:0,x1:i,y0:l,y1:l}),(0,es.jsxs)(es.Fragment,{children:[t&&(0,es.jsx)(TC,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),r&&(0,es.jsx)(TC,{x0:r.x0,x1:r.x1,y0:r.y0,y1:r.y1})]})});TS.displayName="Crosshair";var TD=(0,el.createContext)({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Tj={isVisible:!1,position:[null,null],content:null,anchor:null},TT=(0,el.createContext)(Tj),TO=function(e){var t=(0,el.useState)(Tj),r=t[0],i=t[1],a=(0,el.useCallback)(function(e,t,r){void 0===r&&(r="top"),i({isVisible:!0,position:[t[0],t[1]],anchor:r,content:e})},[i]),o=(0,el.useCallback)(function(t,r,a){void 0===a&&(a="top");var o=e.current.getBoundingClientRect(),s=e.current.offsetWidth,l=s===o.width?1:s/o.width,u=(r.clientX-o.left)*l,d=(r.clientY-o.top)*l;"left"!==a&&"right"!==a||(a=ul&&(s=t.slice(l,s),d[u]?d[u]+=s:d[++u]=s),(a=a[0])===(o=o[0])?d[u]?d[u]+=o:d[++u]=o:(d[++u]=null,p.push({i:u,x:TH(a,o)})),l=TV.lastIndex;return l>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?Ol(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?Ol(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=T8.exec(e))?new Od(t[1],t[2],t[3],1):(t=T9.exec(e))?new Od(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=T7.exec(e))?Ol(t[1],t[2],t[3],t[4]):(t=Oe.exec(e))?Ol(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ot.exec(e))?Om(t[1],t[2]/100,t[3]/100,1):(t=On.exec(e))?Om(t[1],t[2]/100,t[3]/100,t[4]):Or.hasOwnProperty(e)?Os(Or[e]):"transparent"===e?new Od(NaN,NaN,NaN,0):null}function Os(e){return new Od(e>>16&255,e>>8&255,255&e,1)}function Ol(e,t,r,i){return i<=0&&(e=t=r=NaN),new Od(e,t,r,i)}function Oc(e){return(e instanceof T2||(e=Oo(e)),e)?new Od((e=e.rgb()).r,e.g,e.b,e.opacity):new Od}function Ou(e,t,r,i){return 1==arguments.length?Oc(e):new Od(e,t,r,null==i?1:i)}function Od(e,t,r,i){this.r=+e,this.g=+t,this.b=+r,this.opacity=+i}function Op(){return"#"+Oh(this.r)+Oh(this.g)+Oh(this.b)}function Of(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Oh(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Om(e,t,r,i){return i<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Ov(e,t,r,i)}function Og(e){if(e instanceof Ov)return new Ov(e.h,e.s,e.l,e.opacity);if(e instanceof T2||(e=Oo(e)),!e)return new Ov;if(e instanceof Ov)return e;var t=(e=e.rgb()).r/255,r=e.g/255,i=e.b/255,a=Math.min(t,r,i),o=Math.max(t,r,i),s=NaN,l=o-a,u=(o+a)/2;return l?(s=t===o?(r-i)/l+(r0&&u<1?0:s,new Ov(s,l,u,e.opacity)}function Ov(e,t,r,i){this.h=+e,this.s=+t,this.l=+r,this.opacity=+i}function Ob(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function Oy(e,t,r,i,a){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*r+(1+3*e+3*o-3*s)*i+s*a)/6}T0(T2,Oo,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Oi,formatHex:Oi,formatHsl:function(){return Og(this).formatHsl()},formatRgb:Oa,toString:Oa}),T0(Od,Ou,T1(T2,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new Od(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Od(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Op,formatHex:Op,formatRgb:Of,toString:Of})),T0(Ov,function(e,t,r,i){return 1==arguments.length?Og(e):new Ov(e,t,r,null==i?1:i)},T1(T2,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new Ov(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Ov(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*t,a=2*r-i;return new Od(Ob(e>=240?e-240:e+120,a,i),Ob(e,a,i),Ob(e<120?e+240:e-120,a,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));let O_=e=>()=>e;function Ow(e,t){return function(r){return e+r*t}}function Ok(e,t){var r=t-e;return r?Ow(e,r):O_(isNaN(e)?t:e)}let Ox=function e(t){var r,i=1==(r=+(r=t))?Ok:function(e,t){var i,a,o;return t-e?(i=e,a=t,i=Math.pow(i,o=r),a=Math.pow(a,o)-i,o=1/o,function(e){return Math.pow(i+e*a,o)}):O_(isNaN(e)?t:e)};function a(e,t){var r=i((e=Ou(e)).r,(t=Ou(t)).r),a=i(e.g,t.g),o=i(e.b,t.b),s=Ok(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=o(t),e.opacity=s(t),e+""}}return a.gamma=e,a}(1);function OE(e){return function(t){var r,i,a=t.length,o=Array(a),s=Array(a),l=Array(a);for(r=0;r=1?(r=1,t-1):Math.floor(r*t),a=e[i],o=e[i+1],s=i>0?e[i-1]:2*a-o,l=iOF(e[e.length-1]);var OS=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(TQ);let OD=OC(OS);var Oj=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(TQ);let OT=OC(Oj);var OO=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(TQ);let OP=OC(OO);var OR=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(TQ);let OM=OC(OR);var OL=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(TQ);let OA=OC(OL);var OI=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(TQ);let ON=OC(OI);var OB=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(TQ);let OU=OC(OB);var Oz=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(TQ);let OH=OC(Oz);var Oq=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(TQ);let OV=OC(Oq);var OW=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(TQ);let O$=OC(OW);var OG=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(TQ);let OY=OC(OG);var OK=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(TQ);let OZ=OC(OK);var OJ=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(TQ);let OX=OC(OJ);var OQ=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(TQ);let O0=OC(OQ);var O1=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(TQ);let O2=OC(O1);var O3=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(TQ);let O4=OC(O3);var O6=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(TQ);let O5=OC(O6);var O8=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(TQ);let O9=OC(O8);var O7=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(TQ);let Pe=OC(O7);var Pt=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(TQ);let Pn=OC(Pt);var Pr=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(TQ);let Pi=OC(Pr);var Pa=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(TQ);let Po=OC(Pa);var Ps=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(TQ);let Pl=OC(Ps);var Pc=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(TQ);let Pu=OC(Pc);var Pd=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(TQ);let Pp=OC(Pd);var Pf=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(TQ);let Ph=OC(Pf);var Pm=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(TQ);let Pg=OC(Pm),Pv=TQ("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Pb=TQ("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Py=TQ("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),P_=TQ("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Pw=TQ("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Pk=TQ("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Px=TQ("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),PE=TQ("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),PF=TQ("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function PC(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}let PS=PC(TQ("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var PD=PC(TQ("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Pj=PC(TQ("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),PT=PC(TQ("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));let PO=Math.PI/180,PP=180/Math.PI;var PR=-1.78277*.29227-.1347134789;function PM(e,t,r,i){return 1==arguments.length?function(e){if(e instanceof PL)return new PL(e.h,e.s,e.l,e.opacity);e instanceof Od||(e=Oc(e));var t=e.r/255,r=e.g/255,i=e.b/255,a=(PR*i+-1.7884503806*t-3.5172982438*r)/(PR+-1.7884503806-3.5172982438),o=i-a,s=-((1.97294*(r-a)- -.29227*o)/.90649),l=Math.sqrt(s*s+o*o)/(1.97294*a*(1-a)),u=l?Math.atan2(s,o)*PP-120:NaN;return new PL(u<0?u+360:u,l,a,e.opacity)}(e):new PL(e,t,r,null==i?1:i)}function PL(e,t,r,i){this.h=+e,this.s=+t,this.l=+r,this.opacity=+i}function PA(e){return function t(r){function i(t,i){var a=e((t=PM(t)).h,(i=PM(i)).h),o=Ok(t.s,i.s),s=Ok(t.l,i.l),l=Ok(t.opacity,i.opacity);return function(e){return t.h=a(e),t.s=o(e),t.l=s(Math.pow(e,r)),t.opacity=l(e),t+""}}return r=+r,i.gamma=t,i}(1)}T0(PL,PM,T1(T2,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new PL(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new PL(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*PO,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),i=Math.cos(e),a=Math.sin(e);return new Od(255*(t+r*(-.14861*i+1.78277*a)),255*(t+r*(-.29227*i+-.90649*a)),255*(t+1.97294*i*r),this.opacity)}})),PA(function(e,t){var r=t-e;return r?Ow(e,r>180||r<-180?r-360*Math.round(r/360):r):O_(isNaN(e)?t:e)});var PI=PA(Ok),PN=PI(PM(-100,.75,.35),PM(80,1.5,.8)),PB=PI(PM(260,.75,.35),PM(80,1.5,.8)),PU=PM();let Pz=PI(PM(300,.5,0),PM(-240,.5,1));var PH=Ou(),Pq=Math.PI/3,PV=2*Math.PI/3,PW=r(85586),P$=r.n(PW),PG=r(49037),PY=r.n(PG);function PK(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function PZ(e){this._context=e}function PJ(){}function PX(e){this._context=e}function PQ(e){this._context=e}function P0(e,t){this._basis=new PZ(e),this._beta=t}PZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:PK(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:PK(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},PX.prototype={areaStart:PJ,areaEnd:PJ,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:PK(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},PQ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:PK(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},P0.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,r=e.length-1;if(r>0)for(var i,a=e[0],o=t[0],s=e[r]-a,l=t[r]-o,u=-1;++u<=r;)i=u/r,this._basis.point(this._beta*e[u]+(1-this._beta)*(a+i*s),this._beta*t[u]+(1-this._beta)*(o+i*l));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};let P1=function e(t){function r(e){return 1===t?new PZ(e):new P0(e,t)}return r.beta=function(t){return e(+t)},r}(.85);function P2(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function P3(e,t){this._context=e,this._k=(1-t)/6}P3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:P2(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:P2(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let P4=function e(t){function r(e){return new P3(e,t)}return r.tension=function(t){return e(+t)},r}(0);function P6(e,t){this._context=e,this._k=(1-t)/6}P6.prototype={areaStart:PJ,areaEnd:PJ,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:P2(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let P5=function e(t){function r(e){return new P6(e,t)}return r.tension=function(t){return e(+t)},r}(0);function P8(e,t){this._context=e,this._k=(1-t)/6}P8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:P2(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let P9=function e(t){function r(e){return new P8(e,t)}return r.tension=function(t){return e(+t)},r}(0);function P7(e,t,r){var i=e._x1,a=e._y1,o=e._x2,s=e._y2;if(e._l01_a>1e-12){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,a=(a*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>1e-12){var d=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,p=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*d+e._x1*e._l23_2a-t*e._l12_2a)/p,s=(s*d+e._y1*e._l23_2a-r*e._l12_2a)/p}e._context.bezierCurveTo(i,a,o,s,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,i=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:P7(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let Rt=function e(t){function r(e){return t?new Re(e,t):new P3(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function Rn(e,t){this._context=e,this._alpha=t}Rn.prototype={areaStart:PJ,areaEnd:PJ,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,i=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:P7(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let Rr=function e(t){function r(e){return t?new Rn(e,t):new P6(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function Ri(e,t){this._context=e,this._alpha=t}Ri.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,i=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:P7(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let Ra=function e(t){function r(e){return t?new Ri(e,t):new P8(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function Ro(e){this._context=e}function Rs(e){return new Ro(e)}function Rl(e){this._context=e}function Rc(e,t,r){var i=e._x1-e._x0,a=t-e._x1,o=(e._y1-e._y0)/(i||a<0&&-0),s=(r-e._y1)/(a||i<0&&-0);return((o<0?-1:1)+(s<0?-1:1))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs((o*a+s*i)/(i+a)))||0}function Ru(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Rd(e,t,r){var i=e._x0,a=e._y0,o=e._x1,s=e._y1,l=(o-i)/3;e._context.bezierCurveTo(i+l,a+l*t,o-l,s-l*r,o,s)}function Rp(e){this._context=e}function Rf(e){this._context=new Rh(e)}function Rh(e){this._context=e}function Rm(e){this._context=e}function Rg(e){var t,r,i=e.length-1,a=Array(i),o=Array(i),s=Array(i);for(a[0]=0,o[0]=2,s[0]=e[0]+2*e[1],t=1;t=0;--t)a[t]=(s[t]-a[t+1])/o[t];for(t=0,o[i-1]=(e[i]+a[i-1])/2;t1)for(var r,i,a,o=1,s=e[t[0]],l=s.length;o1?i[0]+i.slice(2):i,+e.slice(r+1)]}function Rw(e){return(e=R_(Math.abs(e)))?e[1]:NaN}Rp.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Rd(this,this._t0,Ru(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Rd(this,Ru(this,r=Rc(this,e,t)),r);break;default:Rd(this,this._t0,r=Rc(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(Rf.prototype=Object.create(Rp.prototype)).point=function(e,t){Rp.prototype.point.call(this,t,e)},Rh.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,i,a,o){this._context.bezierCurveTo(t,e,i,r,o,a)}},Rm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var i=Rg(e),a=Rg(t),o=0,s=1;s=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var Rk=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rx(e){var t;if(!(t=Rk.exec(e)))throw Error("invalid format: "+e);return new RE({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function RE(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function RF(e,t){var r=R_(e,t);if(!r)return e+"";var i=r[0],a=r[1];return a<0?"0."+Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+Array(a-i.length+2).join("0")}Rx.prototype=RE.prototype,RE.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let RC={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return RF(100*e,t)},r:RF,s:function(e,t){var r=R_(e,t);if(!r)return e+"";var i=r[0],a=r[1],o=a-(W=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=i.length;return o===s?i:o>s?i+Array(o-s+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+Array(1-o).join("0")+R_(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function RS(e){return e}var RD=Array.prototype.map,Rj=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];G=($=function(e){var t,r,i,a=void 0===e.grouping||void 0===e.thousands?RS:(t=RD.call(e.grouping,Number),r=e.thousands+"",function(e,i){for(var a=e.length,o=[],s=0,l=t[0],u=0;a>0&&l>0&&(u+l+1>i&&(l=Math.max(1,i-u)),o.push(e.substring(a-=l,a+l)),!((u+=l+1)>i));)l=t[s=(s+1)%t.length];return o.reverse().join(r)}),o=void 0===e.currency?"":e.currency[0]+"",s=void 0===e.currency?"":e.currency[1]+"",l=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?RS:(i=RD.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return i[+e]})}),d=void 0===e.percent?"%":e.percent+"",p=void 0===e.minus?"-":e.minus+"",f=void 0===e.nan?"NaN":e.nan+"";function m(e){var t=(e=Rx(e)).fill,r=e.align,i=e.sign,m=e.symbol,g=e.zero,v=e.width,b=e.comma,y=e.precision,_=e.trim,w=e.type;"n"===w?(b=!0,w="g"):RC[w]||(void 0===y&&(y=12),_=!0,w="g"),(g||"0"===t&&"="===r)&&(g=!0,t="0",r="=");var k="$"===m?o:"#"===m&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",x="$"===m?s:/[%p]/.test(w)?d:"",E=RC[w],F=/[defgprs%]/.test(w);function C(e){var o,s,d,m=k,C=x;if("c"===w)C=E(e)+C,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?f:E(Math.abs(e),y),_&&(e=function(e){e:for(var t,r=e.length,i=1,a=-1;i0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==i&&(S=!1),m=(S?"("===i?i:p:"-"===i||"("===i?"":i)+m,C=("s"===w?Rj[8+W/3]:"")+C+(S&&"("===i?")":""),F){for(o=-1,s=e.length;++o(d=e.charCodeAt(o))||d>57){C=(46===d?l+e.slice(o+1):e.slice(o))+C,e=e.slice(0,o);break}}}b&&!g&&(e=a(e,1/0));var D=m.length+e.length+C.length,j=D>1)+m+e+C+j.slice(D);break;default:e=j+m+e+C}return u(e)}return y=void 0===y?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),C.toString=function(){return e+""},C}return{format:m,formatPrefix:function(e,t){var r=m(((e=Rx(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(Rw(t)/3))),a=Math.pow(10,-i),o=Rj[8+i/3];return function(e){return r(a*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})).format,Y=$.formatPrefix;var RT=new Date,RO=new Date;function RP(e,t,r,i){function a(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return a.floor=function(t){return e(t=new Date(+t)),t},a.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},a.round=function(e){var t=a(e),r=a.ceil(e);return e-t0))return l;do l.push(s=new Date(+r)),t(r,o),e(r);while(s=t)for(;e(t),!r(t);)t.setTime(t-1)},function(e,i){if(e>=e){if(i<0)for(;++i<=0;)for(;t(e,-1),!r(e););else for(;--i>=0;)for(;t(e,1),!r(e););}})},r&&(a.count=function(t,i){return RT.setTime(+t),RO.setTime(+i),e(RT),e(RO),Math.floor(r(RT,RO))},a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?a.filter(i?function(t){return i(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}function RR(e){return RP(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}var RM=RR(0),RL=RR(1),RA=RR(2),RI=RR(3),RN=RR(4),RB=RR(5),RU=RR(6);RM.range,RL.range,RA.range,RI.range,RN.range,RB.range,RU.range;var Rz=RP(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});function RH(e){return RP(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5})}Rz.range;var Rq=RH(0),RV=RH(1),RW=RH(2),R$=RH(3),RG=RH(4),RY=RH(5),RK=RH(6);Rq.range,RV.range,RW.range,R$.range,RG.range,RY.range,RK.range;var RZ=RP(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5},function(e){return e.getDate()-1});RZ.range;var RJ=RP(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});RJ.every=function(e){return isFinite(e=Math.floor(e))&&e>0?RP(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)}):null},RJ.range;var RX=RP(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function RQ(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function R0(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function R1(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}RX.every=function(e){return isFinite(e=Math.floor(e))&&e>0?RP(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null},RX.range;var R2={"-":"",_:" ",0:"0"},R3=/^\s*\d+/,R4=/^%/,R6=/[\\^$*+?|[\]().{}]/g;function R5(e,t,r){var i=e<0?"-":"",a=(i?-e:e)+"",o=a.length;return i+(o[e.toLowerCase(),t]))}function Me(e,t,r){var i=R3.exec(t.slice(r,r+1));return i?(e.w=+i[0],r+i[0].length):-1}function Mt(e,t,r){var i=R3.exec(t.slice(r,r+1));return i?(e.u=+i[0],r+i[0].length):-1}function Mn(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.U=+i[0],r+i[0].length):-1}function Mr(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.V=+i[0],r+i[0].length):-1}function Mi(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.W=+i[0],r+i[0].length):-1}function Ma(e,t,r){var i=R3.exec(t.slice(r,r+4));return i?(e.y=+i[0],r+i[0].length):-1}function Mo(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),r+i[0].length):-1}function Ms(e,t,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function Ml(e,t,r){var i=R3.exec(t.slice(r,r+1));return i?(e.q=3*i[0]-3,r+i[0].length):-1}function Mc(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.m=i[0]-1,r+i[0].length):-1}function Mu(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.d=+i[0],r+i[0].length):-1}function Md(e,t,r){var i=R3.exec(t.slice(r,r+3));return i?(e.m=0,e.d=+i[0],r+i[0].length):-1}function Mp(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.H=+i[0],r+i[0].length):-1}function Mf(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.M=+i[0],r+i[0].length):-1}function Mh(e,t,r){var i=R3.exec(t.slice(r,r+2));return i?(e.S=+i[0],r+i[0].length):-1}function Mm(e,t,r){var i=R3.exec(t.slice(r,r+3));return i?(e.L=+i[0],r+i[0].length):-1}function Mg(e,t,r){var i=R3.exec(t.slice(r,r+6));return i?(e.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function Mv(e,t,r){var i=R4.exec(t.slice(r,r+1));return i?r+i[0].length:-1}function Mb(e,t,r){var i=R3.exec(t.slice(r));return i?(e.Q=+i[0],r+i[0].length):-1}function My(e,t,r){var i=R3.exec(t.slice(r));return i?(e.s=+i[0],r+i[0].length):-1}function M_(e,t){return R5(e.getDate(),t,2)}function Mw(e,t){return R5(e.getHours(),t,2)}function Mk(e,t){return R5(e.getHours()%12||12,t,2)}function Mx(e,t){return R5(1+RZ.count(RJ(e),e),t,3)}function ME(e,t){return R5(e.getMilliseconds(),t,3)}function MF(e,t){return ME(e,t)+"000"}function MC(e,t){return R5(e.getMonth()+1,t,2)}function MS(e,t){return R5(e.getMinutes(),t,2)}function MD(e,t){return R5(e.getSeconds(),t,2)}function Mj(e){var t=e.getDay();return 0===t?7:t}function MT(e,t){return R5(Rq.count(RJ(e)-1,e),t,2)}function MO(e){var t=e.getDay();return t>=4||0===t?RG(e):RG.ceil(e)}function MP(e,t){return e=MO(e),R5(RG.count(RJ(e),e)+(4===RJ(e).getDay()),t,2)}function MR(e){return e.getDay()}function MM(e,t){return R5(RV.count(RJ(e)-1,e),t,2)}function ML(e,t){return R5(e.getFullYear()%100,t,2)}function MA(e,t){return R5((e=MO(e)).getFullYear()%100,t,2)}function MI(e,t){return R5(e.getFullYear()%1e4,t,4)}function MN(e,t){var r=e.getDay();return R5((e=r>=4||0===r?RG(e):RG.ceil(e)).getFullYear()%1e4,t,4)}function MB(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+R5(t/60|0,"0",2)+R5(t%60,"0",2)}function MU(e,t){return R5(e.getUTCDate(),t,2)}function Mz(e,t){return R5(e.getUTCHours(),t,2)}function MH(e,t){return R5(e.getUTCHours()%12||12,t,2)}function Mq(e,t){return R5(1+Rz.count(RX(e),e),t,3)}function MV(e,t){return R5(e.getUTCMilliseconds(),t,3)}function MW(e,t){return MV(e,t)+"000"}function M$(e,t){return R5(e.getUTCMonth()+1,t,2)}function MG(e,t){return R5(e.getUTCMinutes(),t,2)}function MY(e,t){return R5(e.getUTCSeconds(),t,2)}function MK(e){var t=e.getUTCDay();return 0===t?7:t}function MZ(e,t){return R5(RM.count(RX(e)-1,e),t,2)}function MJ(e){var t=e.getUTCDay();return t>=4||0===t?RN(e):RN.ceil(e)}function MX(e,t){return e=MJ(e),R5(RN.count(RX(e),e)+(4===RX(e).getUTCDay()),t,2)}function MQ(e){return e.getUTCDay()}function M0(e,t){return R5(RL.count(RX(e)-1,e),t,2)}function M1(e,t){return R5(e.getUTCFullYear()%100,t,2)}function M2(e,t){return R5((e=MJ(e)).getUTCFullYear()%100,t,2)}function M3(e,t){return R5(e.getUTCFullYear()%1e4,t,4)}function M4(e,t){var r=e.getUTCDay();return R5((e=r>=4||0===r?RN(e):RN.ceil(e)).getUTCFullYear()%1e4,t,4)}function M6(){return"+0000"}function M5(){return"%"}function M8(e){return+e}function M9(e){return Math.floor(+e/1e3)}Z=(K=function(e){var t=e.dateTime,r=e.date,i=e.time,a=e.periods,o=e.days,s=e.shortDays,l=e.months,u=e.shortMonths,d=R9(a),p=R7(a),f=R9(o),m=R7(o),g=R9(s),v=R7(s),b=R9(l),y=R7(l),_=R9(u),w=R7(u),k={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:M_,e:M_,f:MF,g:MA,G:MN,H:Mw,I:Mk,j:Mx,L:ME,m:MC,M:MS,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:M8,s:M9,S:MD,u:Mj,U:MT,V:MP,w:MR,W:MM,x:null,X:null,y:ML,Y:MI,Z:MB,"%":M5},x={a:function(e){return s[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:MU,e:MU,f:MW,g:M2,G:M4,H:Mz,I:MH,j:Mq,L:MV,m:M$,M:MG,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:M8,s:M9,S:MY,u:MK,U:MZ,V:MX,w:MQ,W:M0,x:null,X:null,y:M1,Y:M3,Z:M6,"%":M5},E={a:function(e,t,r){var i=g.exec(t.slice(r));return i?(e.w=v.get(i[0].toLowerCase()),r+i[0].length):-1},A:function(e,t,r){var i=f.exec(t.slice(r));return i?(e.w=m.get(i[0].toLowerCase()),r+i[0].length):-1},b:function(e,t,r){var i=_.exec(t.slice(r));return i?(e.m=w.get(i[0].toLowerCase()),r+i[0].length):-1},B:function(e,t,r){var i=b.exec(t.slice(r));return i?(e.m=y.get(i[0].toLowerCase()),r+i[0].length):-1},c:function(e,r,i){return S(e,t,r,i)},d:Mu,e:Mu,f:Mg,g:Mo,G:Ma,H:Mp,I:Mp,j:Md,L:Mm,m:Mc,M:Mf,p:function(e,t,r){var i=d.exec(t.slice(r));return i?(e.p=p.get(i[0].toLowerCase()),r+i[0].length):-1},q:Ml,Q:Mb,s:My,S:Mh,u:Mt,U:Mn,V:Mr,w:Me,W:Mi,x:function(e,t,i){return S(e,r,t,i)},X:function(e,t,r){return S(e,i,t,r)},y:Mo,Y:Ma,Z:Ms,"%":Mv};function F(e,t){return function(r){var i,a,o,s=[],l=-1,u=0,d=e.length;for(r instanceof Date||(r=new Date(+r));++l53)return null;"w"in o||(o.w=1),"Z"in o?(i=(a=(i=R0(R1(o.y,0,1))).getUTCDay())>4||0===a?RL.ceil(i):RL(i),i=Rz.offset(i,(o.V-1)*7),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(i=(a=(i=RQ(R1(o.y,0,1))).getDay())>4||0===a?RV.ceil(i):RV(i),i=RZ.offset(i,(o.V-1)*7),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),a="Z"in o?R0(R1(o.y,0,1)).getUTCDay():RQ(R1(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(a+5)%7:o.w+7*o.U-(a+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,R0(o)):RQ(o)}}function S(e,t,r,i){for(var a,o,s=0,l=t.length,u=r.length;s=u)return -1;if(37===(a=t.charCodeAt(s++))){if(!(o=E[(a=t.charAt(s++))in R2?t.charAt(s++):a])||(i=o(e,r,i))<0)return -1}else if(a!=r.charCodeAt(i++))return -1}return i}return k.x=F(r,k),k.X=F(i,k),k.c=F(t,k),x.x=F(r,x),x.X=F(i,x),x.c=F(t,x),{format:function(e){var t=F(e+="",k);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=F(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,J=K.parse,X=K.utcFormat,Q=K.utcParse,Object.prototype.hasOwnProperty;var M7=r(81711),Le=r.n(M7),Lt=r(36153),Ln=r.n(Lt),Lr=r(41686),Li=r.n(Lr);function La(){return(La=Object.assign||function(e){for(var t=1;t=0||(a[r]=e[r]);return a}var Ll={fill:lB().string,fontSize:lB().number,fontFamily:lB().string},Lc=lB().shape({domain:lB().shape({line:lB().shape({stroke:lB().string.isRequired,strokeWidth:lB().number.isRequired,strokeDasharray:lB().string}).isRequired}).isRequired,ticks:lB().shape({line:lB().shape({stroke:lB().string.isRequired,strokeWidth:lB().number.isRequired,strokeDasharray:lB().string}).isRequired,text:lB().shape(La({},Ll)).isRequired}).isRequired,legend:lB().shape({text:lB().shape(La({},Ll)).isRequired}).isRequired}),Lu=lB().shape({line:lB().shape({stroke:lB().string.isRequired,strokeWidth:lB().number.isRequired,strokeDasharray:lB().string}).isRequired}),Ld=lB().shape({hidden:lB().shape({symbol:lB().shape({fill:lB().string.isRequired,opacity:lB().number}).isRequired,text:lB().shape(La({},Ll,{opacity:lB().number})).isRequired}).isRequired,text:lB().shape(La({},Ll)).isRequired}),Lp=lB().shape({text:lB().shape(La({},Ll)).isRequired}),Lf=lB().shape({text:lB().shape(La({},Ll)).isRequired}),Lh=lB().shape({text:lB().shape(La({},Ll)).isRequired}),Lm=lB().shape({line:lB().shape({stroke:lB().string.isRequired,strokeWidth:lB().number.isRequired,strokeDasharray:lB().string}).isRequired}),Lg=lB().shape({text:lB().shape(La({},Ll,{outlineWidth:lB().number.isRequired,outlineColor:lB().string.isRequired})).isRequired,link:lB().shape({stroke:lB().string.isRequired,strokeWidth:lB().number.isRequired,outlineWidth:lB().number.isRequired,outlineColor:lB().string.isRequired}).isRequired,outline:lB().shape({stroke:lB().string.isRequired,strokeWidth:lB().number.isRequired,outlineWidth:lB().number.isRequired,outlineColor:lB().string.isRequired}).isRequired,symbol:lB().shape({fill:lB().string.isRequired,outlineWidth:lB().number.isRequired,outlineColor:lB().string.isRequired}).isRequired}),Lv=(lB().shape({background:lB().string.isRequired,fontFamily:lB().string.isRequired,fontSize:lB().number.isRequired,textColor:lB().string.isRequired,axis:Lc.isRequired,grid:Lu.isRequired,legends:Ld.isRequired,labels:Lp.isRequired,dots:Lf.isRequired,markers:Lh,crosshair:Lm.isRequired,annotations:Lg.isRequired}),{background:"transparent",fontFamily:"sans-serif",fontSize:11,textColor:"#333333",axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}}),Lb=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],Ly=function(e,t){var r=TI()({},e,t);return Lb.forEach(function(e){void 0===TB()(r,e+".fontFamily")&&Tz()(r,e+".fontFamily",r.fontFamily),void 0===TB()(r,e+".fontSize")&&Tz()(r,e+".fontSize",r.fontSize),void 0===TB()(r,e+".fill")&&Tz()(r,e+".fill",r.textColor)}),r},L_=(0,el.createContext)(),Lw=function(e){var t=e.children,r=e.animate,i=e.stiffness,a=e.damping,o=e.config,s=(0,el.useMemo)(function(){return{animate:r,springConfig:{stiffness:i,damping:a},config:TG()(o)?jd[o]:o}},[r,i,a,o]);return(0,es.jsx)(L_.Provider,{value:s,children:t})},Lk={animate:lB().bool,motionStiffness:lB().number,motionDamping:lB().number,motionConfig:lB().oneOfType([lB().oneOf(Object.keys(jd)),lB().shape({mass:lB().number,tension:lB().number,friction:lB().number,clamp:lB().bool,precision:lB().number,velocity:lB().number,duration:lB().number,easing:lB().func})])};Lw.propTypes={children:lB().node.isRequired,animate:Lk.animate,stiffness:Lk.motionStiffness,damping:Lk.motionDamping,config:Lk.motionConfig},Lw.defaultProps={animate:!0,stiffness:90,damping:15,config:"default"};var Lx=function(){return(0,el.useContext)(L_)},LE=function(e){var t,r=Lx(),i=r.animate,a=r.config,o=(t=(0,el.useRef)(),(0,el.useEffect)(function(){t.current=e},[e]),t.current),s=(0,el.useMemo)(function(){return TW(o,e)},[o,e]);return Te(j3({from:{value:0},to:{value:1},reset:!0,config:a,immediate:!i}).value,s)},LF=Object.keys({nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:TK()(OS),PRGn:TK()(Oj),PiYG:TK()(OO),PuOr:TK()(OR),RdBu:TK()(OL),RdGy:TK()(OI),RdYlBu:TK()(OB),RdYlGn:TK()(Oz),spectral:TK()(Oq),blues:TK()(OW),greens:TK()(OG),greys:TK()(OK),oranges:TK()(OJ),purples:TK()(OQ),reds:TK()(O1),BuGn:TK()(O3),BuPu:TK()(O6),GnBu:TK()(O8),OrRd:TK()(O7),PuBuGn:TK()(Pt),PuBu:TK()(Pr),PuRd:TK()(Pa),RdPu:TK()(Ps),YlGnBu:TK()(Pc),YlGn:TK()(Pd),YlOrBr:TK()(Pf),YlOrRd:TK()(Pm)}),LC=(TK()(OS),TK()(Oj),TK()(OO),TK()(OR),TK()(OL),TK()(OI),TK()(OB),TK()(Oz),TK()(Oq),TK()(OW),TK()(OG),TK()(OK),TK()(OJ),TK()(OQ),TK()(O1),TK()(O3),TK()(O6),TK()(O8),TK()(O7),TK()(Pt),TK()(Pr),TK()(Pa),TK()(Ps),TK()(Pc),TK()(Pd),TK()(Pf),TK()(Pm),lB().oneOfType([lB().oneOf(LF),lB().func,lB().arrayOf(lB().string)]),{basis:function(e){return new PZ(e)},basisClosed:function(e){return new PX(e)},basisOpen:function(e){return new PQ(e)},bundle:P1,cardinal:P4,cardinalClosed:P5,cardinalOpen:P9,catmullRom:Rt,catmullRomClosed:Rr,catmullRomOpen:Ra,linear:Rs,linearClosed:function(e){return new Rl(e)},monotoneX:function(e){return new Rp(e)},monotoneY:function(e){return new Rf(e)},natural:function(e){return new Rm(e)},step:function(e){return new Rv(e,.5)},stepAfter:function(e){return new Rv(e,1)},stepBefore:function(e){return new Rv(e,0)}}),LS=Object.keys(LC),LD=(lB().oneOf(LS),LS.filter(function(e){return e.endsWith("Closed")}),PY()(LS,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),PY()(LS,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed")),Lj=lB().oneOf(LD),LT=function(e){if(!LC[e])throw TypeError("'"+e+"', is not a valid curve interpolator identifier.");return LC[e]},LO={defs:lB().arrayOf(lB().shape({id:lB().string.isRequired})).isRequired,fill:lB().arrayOf(lB().shape({id:lB().string.isRequired,match:lB().oneOfType([lB().oneOf(["*"]),lB().object,lB().func]).isRequired})).isRequired},LP=Object.keys((lB().oneOf(["ascending","descending","insideOut","none","reverse"]),{expand:function(e,t){if((i=e.length)>0){for(var r,i,a,o=0,s=e[0].length;o0)for(var r,i,a,o,s,l,u=0,d=e[t[0]].length;u0?(i[0]=o,i[1]=o+=a):a<0?(i[1]=s,i[0]=s+=a):(i[0]=0,i[1]=a)},none:Ry,silhouette:function(e,t){if((r=e.length)>0){for(var r,i=0,a=e[t[0]],o=a.length;i0&&(i=(r=e[t[0]]).length)>0){for(var r,i,a,o=0,s=1;s0&&a.height>0;return(0,es.jsx)("div",{ref:i,style:{width:"100%",height:"100%"},children:o&&t({width:a.width,height:a.height})})};LW.propTypes={children:lB().func.isRequired};var L$=["id","colors"],LG=function(e){var t=e.id,r=e.colors,i=Ls(e,L$);return(0,es.jsx)("linearGradient",La({id:t,x1:0,x2:0,y1:0,y2:1},i,{children:r.map(function(e){var t=e.offset,r=e.color,i=e.opacity;return(0,es.jsx)("stop",{offset:t+"%",stopColor:r,stopOpacity:void 0!==i?i:1},t)})}))};LG.propTypes={id:lB().string.isRequired,colors:lB().arrayOf(lB().shape({offset:lB().number.isRequired,color:lB().string.isRequired,opacity:lB().number})).isRequired,gradientTransform:lB().string};var LY={linearGradient:LG},LK=(0,el.memo)(function(e){var t=e.id,r=e.background,i=e.color,a=e.size,o=e.padding,s=e.stagger,l=a+o,u=a/2,d=o/2;return!0===s&&(l=2*a+2*o),(0,es.jsxs)("pattern",{id:t,width:l,height:l,patternUnits:"userSpaceOnUse",children:[(0,es.jsx)("rect",{width:l,height:l,fill:r}),(0,es.jsx)("circle",{cx:d+u,cy:d+u,r:u,fill:i}),s&&(0,es.jsx)("circle",{cx:1.5*o+a+u,cy:1.5*o+a+u,r:u,fill:i})]})});LK.displayName="PatternDots",LK.propTypes={id:lB().string.isRequired,color:lB().string.isRequired,background:lB().string.isRequired,size:lB().number.isRequired,padding:lB().number.isRequired,stagger:lB().bool.isRequired},LK.defaultProps={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1};var LZ=function(e){return e*Math.PI/180},LJ={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},LX=(0,el.memo)(function(e){var t=e.id,r=e.spacing,i=e.rotation,a=e.background,o=e.color,s=e.lineWidth,l=Math.round(i)%360,u=Math.abs(r);l>180?l-=360:l>90?l-=180:l<-180?l+=360:l<-90&&(l+=180);var d,p=u,f=u;return 0===l?d="\n M 0 0 L "+p+" 0\n M 0 "+f+" L "+p+" "+f+"\n ":90===l?d="\n M 0 0 L 0 "+f+"\n M "+p+" 0 L "+p+" "+f+"\n ":(p=Math.abs(u/Math.sin(LZ(l))),f=u/Math.sin(LZ(90-l)),d=l>0?"\n M 0 "+-f+" L "+2*p+" "+f+"\n M "+-p+" "+-f+" L "+p+" "+f+"\n M "+-p+" 0 L "+p+" "+2*f+"\n ":"\n M "+-p+" "+f+" L "+p+" "+-f+"\n M "+-p+" "+2*f+" L "+2*p+" "+-f+"\n M 0 "+2*f+" L "+2*p+" 0\n "),(0,es.jsxs)("pattern",{id:t,width:p,height:f,patternUnits:"userSpaceOnUse",children:[(0,es.jsx)("rect",{width:p,height:f,fill:a,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),(0,es.jsx)("path",{d:d,strokeWidth:s,stroke:o,strokeLinecap:"square"})]})});LX.displayName="PatternLines",LX.propTypes={id:lB().string.isRequired,spacing:lB().number.isRequired,rotation:lB().number.isRequired,background:lB().string.isRequired,color:lB().string.isRequired,lineWidth:lB().number.isRequired},LX.defaultProps={spacing:5,rotation:0,color:"#000000",background:"#ffffff",lineWidth:2};var LQ=(0,el.memo)(function(e){var t=e.id,r=e.background,i=e.color,a=e.size,o=e.padding,s=e.stagger,l=a+o,u=o/2;return!0===s&&(l=2*a+2*o),(0,es.jsxs)("pattern",{id:t,width:l,height:l,patternUnits:"userSpaceOnUse",children:[(0,es.jsx)("rect",{width:l,height:l,fill:r}),(0,es.jsx)("rect",{x:u,y:u,width:a,height:a,fill:i}),s&&(0,es.jsx)("rect",{x:1.5*o+a,y:1.5*o+a,width:a,height:a,fill:i})]})});LQ.displayName="PatternSquares",LQ.propTypes={id:lB().string.isRequired,color:lB().string.isRequired,background:lB().string.isRequired,size:lB().number.isRequired,padding:lB().number.isRequired,stagger:lB().bool.isRequired},LQ.defaultProps={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1};var L0={patternDots:LK,patternLines:LX,patternSquares:LQ},L1=["type"],L2=La({},LY,L0),L3=function(e){var t=e.defs;return!t||t.length<1?null:(0,es.jsx)("defs",{"aria-hidden":!0,children:t.map(function(e){var t=e.type,r=Ls(e,L1);return L2[t]?(0,el.createElement)(L2[t],La({key:r.id},r)):null})})};L3.propTypes={defs:lB().arrayOf(lB().shape({type:lB().oneOf(Object.keys(L2)).isRequired,id:lB().string.isRequired}))};var L4=(0,el.memo)(L3),L6=function(e){var t=e.width,r=e.height,i=e.margin,a=e.defs,o=e.children,s=e.role,l=e.ariaLabel,u=e.ariaLabelledBy,d=e.ariaDescribedBy,p=e.isFocusable,f=Lz();return(0,es.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,role:s,"aria-label":l,"aria-labelledby":u,"aria-describedby":d,focusable:p,tabIndex:p?0:void 0,children:[(0,es.jsx)(L4,{defs:a}),(0,es.jsx)("rect",{width:t,height:r,fill:f.background}),(0,es.jsx)("g",{transform:"translate("+i.left+","+i.top+")",children:o})]})};L6.propTypes={width:lB().number.isRequired,height:lB().number.isRequired,margin:lB().shape({top:lB().number.isRequired,left:lB().number.isRequired}).isRequired,defs:lB().array,children:lB().oneOfType([lB().arrayOf(lB().node),lB().node]).isRequired,role:lB().string,isFocusable:lB().bool,ariaLabel:lB().string,ariaLabelledBy:lB().string,ariaDescribedBy:lB().string};var L5=function(e){var t=e.size,r=e.color,i=e.borderWidth,a=e.borderColor;return(0,es.jsx)("circle",{r:t/2,fill:r,stroke:a,strokeWidth:i,style:{pointerEvents:"none"}})};L5.propTypes={size:lB().number.isRequired,color:lB().string.isRequired,borderWidth:lB().number.isRequired,borderColor:lB().string.isRequired};var L8=(0,el.memo)(L5),L9=function(e){var t=e.x,r=e.y,i=e.symbol,a=void 0===i?L8:i,o=e.size,s=e.datum,l=e.color,u=e.borderWidth,d=e.borderColor,p=e.label,f=e.labelTextAnchor,m=e.labelYOffset,g=Lz(),v=Lx(),b=v.animate,y=j3({transform:"translate("+t+", "+r+")",config:v.config,immediate:!b});return(0,es.jsxs)(Tv.g,{transform:y.transform,style:{pointerEvents:"none"},children:[(0,el.createElement)(a,{size:o,color:l,datum:s,borderWidth:u,borderColor:d}),p&&(0,es.jsx)("text",{textAnchor:void 0===f?"middle":f,y:void 0===m?-12:m,style:g.dots.text,children:p})]})};L9.propTypes={x:lB().number.isRequired,y:lB().number.isRequired,datum:lB().object.isRequired,size:lB().number.isRequired,color:lB().string.isRequired,borderWidth:lB().number.isRequired,borderColor:lB().string.isRequired,symbol:lB().oneOfType([lB().func,lB().object]),label:lB().oneOfType([lB().string,lB().number]),labelTextAnchor:lB().oneOf(["start","middle","end"]),labelYOffset:lB().number};var L7=(0,el.memo)(L9),Ae=function(e){var t=e.width,r=e.height,i=e.axis,a=e.scale,o=e.value,s=e.lineStyle,l=e.textStyle,u=e.legend,d=e.legendPosition,p=e.legendOffsetX,f=e.legendOffsetY,m=e.legendOrientation,g=Lz(),v=0,b=0,y=0,_=0;"y"===i?(y=a(o),b=t):(v=a(o),_=r);var w=null;if(u){var k=function(e){var t=e.axis,r=e.width,i=e.height,a=e.position,o=e.offsetX,s=e.offsetY,l=e.orientation,u=0,d=0,p="start";if("x"===t)switch(a){case"top-left":u=-o,d=s,p="end";break;case"top":d=-s,p="horizontal"===l?"middle":"start";break;case"top-right":u=o,d=s,p="horizontal"===l?"start":"end";break;case"right":u=o,d=i/2,p="horizontal"===l?"start":"middle";break;case"bottom-right":u=o,d=i-s,p="start";break;case"bottom":d=i+s,p="horizontal"===l?"middle":"end";break;case"bottom-left":d=i-s,u=-o,p="horizontal"===l?"end":"start";break;case"left":u=-o,d=i/2,p="horizontal"===l?"end":"middle"}else switch(a){case"top-left":u=o,d=-s,p="start";break;case"top":u=r/2,d=-s,p="horizontal"===l?"middle":"start";break;case"top-right":u=r-o,d=-s,p="horizontal"===l?"end":"start";break;case"right":u=r+o,p="horizontal"===l?"start":"middle";break;case"bottom-right":u=r-o,d=s,p="end";break;case"bottom":u=r/2,d=s,p="horizontal"===l?"middle":"end";break;case"bottom-left":u=o,d=s,p="horizontal"===l?"start":"end";break;case"left":u=-o,p="horizontal"===l?"end":"middle"}return{x:u,y:d,rotation:"vertical"===l?-90:0,textAnchor:p}}({axis:i,width:t,height:r,position:d,offsetX:p,offsetY:f,orientation:m});w=(0,es.jsx)("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:l,children:u})}return(0,es.jsxs)("g",{transform:"translate("+v+", "+y+")",children:[(0,es.jsx)("line",{x1:0,x2:b,y1:0,y2:_,stroke:g.markers.lineColor,strokeWidth:g.markers.lineStrokeWidth,style:s}),w]})};Ae.propTypes={width:lB().number.isRequired,height:lB().number.isRequired,axis:lB().oneOf(["x","y"]).isRequired,scale:lB().func.isRequired,value:lB().oneOfType([lB().number,lB().string,lB().instanceOf(Date)]).isRequired,lineStyle:lB().object,textStyle:lB().object,legend:lB().string,legendPosition:lB().oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:lB().number.isRequired,legendOffsetY:lB().number.isRequired,legendOrientation:lB().oneOf(["horizontal","vertical"]).isRequired},Ae.defaultProps={legendPosition:"top-right",legendOffsetX:14,legendOffsetY:14,legendOrientation:"horizontal"};var At=(0,el.memo)(Ae),An=function(e){var t=e.markers,r=e.width,i=e.height,a=e.xScale,o=e.yScale;return t&&0!==t.length?t.map(function(e,t){return(0,es.jsx)(At,La({},e,{width:r,height:i,scale:"y"===e.axis?o:a}),t)}):null};An.propTypes={width:lB().number.isRequired,height:lB().number.isRequired,xScale:lB().func.isRequired,yScale:lB().func.isRequired,markers:lB().arrayOf(lB().shape({axis:lB().oneOf(["x","y"]).isRequired,value:lB().oneOfType([lB().number,lB().string,lB().instanceOf(Date)]).isRequired,lineStyle:lB().object,textStyle:lB().object}))};var Ar=(0,el.memo)(An),Ai=["theme","renderWrapper","animate","motionStiffness","motionDamping","motionConfig"],Aa=function(e){return function(t){function r(){return t.apply(this,arguments)||this}return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,Lo(r,t),r.prototype.render=function(){var t=this.props,r=t.theme,i=t.renderWrapper,a=t.animate,o=t.motionStiffness,s=t.motionDamping,l=t.motionConfig,u=Ls(t,Ai);return(0,es.jsx)(LV,{theme:r,renderWrapper:i,isInteractive:u.isInteractive,animate:a,motionStiffness:o,motionDamping:s,motionConfig:l,children:(0,es.jsx)(e,La({},u))})},r}(el.Component)},Ao=function(e,t){var r,i=P$()(e)?e:function(t){return TB()(t,e)};return t&&(r=P$()(t)?t:G(t)),r?function(e){return r(i(e))}:i},As=function(e,t){var r=t.clientX,i=t.clientY,a=e.getBoundingClientRect(),o=e.getBBox(),s=o.width===a.width?1:o.width/a.width;return[(r-a.left)*s,(i-a.top)*s]},Al=Object.keys(LY),Ac=Object.keys(L0),Au=function(e,t,r){if("*"===e)return!0;if(P$()(e))return e(t);if(Ln()(e)){var i=r?TB()(t,r):t;return Le()(Li()(i,Object.keys(e)),e)}return!1},Ad=function(e,t,r,i){var a=void 0===i?{}:i,o=a.dataKey,s=a.colorKey,l=void 0===s?"color":s,u=a.targetKey,d=void 0===u?"fill":u,p=[],f={};return e.length&&t.length&&(p=[].concat(e),t.forEach(function(t){for(var i=0;ie.length)&&(t=e.length);for(var r=0,i=Array(t);r1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return PU.h=360*e-100,PU.s=1.5-1.5*t,PU.l=.8-.9*t,PU+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,PH.r=255*(t=Math.sin(e))*t,PH.g=255*(t=Math.sin(e+Pq))*t,PH.b=255*(t=Math.sin(e+PV))*t,PH+""}}),Ax=(Object.keys(Ak),function(e,t){if("function"==typeof e)return e;if(Ln()(e)){if(void 0!==e.theme){if(void 0===t)throw Error("Unable to use color from theme as no theme was provided");var r=TB()(t,e.theme);if(void 0===r)throw Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return r}}if(void 0!==e.from){var i=function(t){return TB()(t,e.from)};if(Array.isArray(e.modifiers)){for(var a,o=[],s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Af(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Af(e,void 0):void 0}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(a=s()).done;)!function(){var e=a.value,t=e[0],r=e[1];if("brighter"===t)o.push(function(e){return e.brighter(r)});else if("darker"===t)o.push(function(e){return e.darker(r)});else{if("opacity"!==t)throw Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");o.push(function(e){return e.opacity=r,e})}}();return 0===o.length?i:function(e){return o.reduce(function(e,t){return t(e)},Ou(i(e))).toString()}}return i}throw Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}}),AE=function(e,t){return(0,el.useMemo)(function(){return Ax(e,t)},[e,t])},AF=lB().oneOfType([lB().func,lB().arrayOf(lB().string),lB().shape({scheme:lB().oneOf(Aw).isRequired,size:lB().number}),lB().shape({datum:lB().string.isRequired}),lB().string]),AC=(lB().oneOfType([lB().string,lB().func,lB().shape({theme:lB().string.isRequired}),lB().shape({from:lB().string.isRequired,modifiers:lB().arrayOf(lB().array)})]),{scheme:"turbo"}),AS={scheme:"red_yellow_blue",divergeAt:.5},AD={scheme:"turbo",steps:7},Aj=function(e,t){if("function"==typeof e)return e;var r="function"==typeof t?t:function(e){return TB()(e,t)};if(Array.isArray(e)){var i=TX(e),a=function(e){return i(r(e))};return a.scale=i,a}if(Ln()(e)){if(void 0!==e.datum)return function(t){return TB()(t,e.datum)};if(void 0!==e.scheme){if(o=e.scheme,Am.includes(o)){var o,s,l,u=TX(A_[e.scheme]),d=function(e){return u(r(e))};return d.scale=u,d}if(s=e.scheme,Av.includes(s)){if(void 0!==e.size&&(e.size<3||e.size>11))throw Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var p=TX(A_[e.scheme][e.size||11]),f=function(e){return p(r(e))};return f.scale=p,f}if(l=e.scheme,Ay.includes(l)){if(void 0!==e.size&&(e.size<3||e.size>9))throw Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var m=TX(A_[e.scheme][e.size||9]),g=function(e){return m(r(e))};return g.scale=m,g}}throw Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}},AT=r(7379),AO=r.n(AT),AP=r(82511),AR=r.n(AP),AM=r(77529),AL=r.n(AM),AA=r(16851),AI=r.n(AA),AN=Math.sqrt(50),AB=Math.sqrt(10),AU=Math.sqrt(2);function Az(e,t,r){var i,a,o,s,l=-1;if(r=+r,(e=+e)==(t=+t)&&r>0)return[e];if((i=t0){let r=Math.round(e/s),i=Math.round(t/s);for(r*st&&--i,o=Array(a=i-r+1);++lt&&--i,o=Array(a=i-r+1);++l=0?(o>=AN?10:o>=AB?5:o>=AU?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=AN?10:o>=AB?5:o>=AU?2:1)}function Aq(e,t,r){var i=Math.abs(t-e)/Math.max(0,r),a=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),o=i/a;return o>=AN?a*=10:o>=AB?a*=5:o>=AU&&(a*=2),tt?1:e>=t?0:NaN}function AW(e){let t=e,r=e;function i(e,t,i,a){for(null==i&&(i=0),null==a&&(a=e.length);i>>1;0>r(e[o],t)?i=o+1:a=o}return i}return 1===e.length&&(t=(t,r)=>e(t)-r,r=(t,r)=>AV(e(t),r)),{left:i,center:function(e,r,a,o){null==a&&(a=0),null==o&&(o=e.length);let s=i(e,r,a,o-1);return s>a&&t(e[s-1],r)>-t(e[s],r)?s-1:s},right:function(e,t,i,a){for(null==i&&(i=0),null==a&&(a=e.length);i>>1;r(e[o],t)>0?a=o:i=o+1}return i}}}let A$=AW(AV),AG=A$.right;A$.left,AW(function(e){return null===e?NaN:+e}).center;function AY(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function AK(e){return+e}var AZ=[0,1];function AJ(e){return e}function AX(e,t){var r;return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r})}function AQ(e,t,r){var i=e[0],a=e[1],o=t[0],s=t[1];return at&&(r=e,e=t,t=r),d=function(r){return Math.max(e,Math.min(t,r))}),i=u>2?A0:AQ,a=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(a||(a=i(s.map(e),l,u)))(e(d(t)))}return f.invert=function(r){return d(t((o||(o=i(l,s.map(e),TH)))(r)))},f.domain=function(e){return arguments.length?(s=Array.from(e,AK),p()):s.slice()},f.range=function(e){return arguments.length?(l=Array.from(e),p()):l.slice()},f.rangeRound=function(e){return l=Array.from(e),u=AY,p()},f.clamp=function(e){return arguments.length?(d=!!e||AJ,p()):d!==AJ},f.interpolate=function(e){return arguments.length?(u=e,p()):u},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,i){return e=r,t=i,p()}}function A3(e){var t=e.domain;return e.ticks=function(e){var r=t();return Az(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var i=t();return function(e,t,r,i){var a,o,s=Aq(e,t,r);switch((i=Rx(null==i?",f":i)).type){case"s":var l=Math.max(Math.abs(e),Math.abs(t));return null!=i.precision||isNaN(o=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Rw(l)/3)))-Rw(Math.abs(s))))||(i.precision=o),Y(i,l);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Math.max(0,Rw(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(a=Math.abs(a=s)))-Rw(a))+1)||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Math.max(0,-Rw(Math.abs(s))))||(i.precision=o-("%"===i.type)*2)}return G(i)}(i[0],i[i.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var i,a,o=t(),s=0,l=o.length-1,u=o[s],d=o[l],p=10;for(d0;){if((a=AH(u,d,r))===i)return o[s]=u,o[l]=d,t(o);if(a>0)u=Math.floor(u/a)*a,d=Math.ceil(d/a)*a;else if(a<0)u=Math.ceil(u*a)/a,d=Math.floor(d*a)/a;else break;i=a}return e},e}function A4(){var e,t,r=TX().unknown(void 0),i=r.domain,a=r.range,o=0,s=1,l=!1,u=0,d=0,p=.5;function f(){var r=i().length,f=s0))return l;do l.push(s=new Date(+r)),t(r,o),e(r);while(s=t)for(;e(t),!r(t);)t.setTime(t-1)},function(e,i){if(e>=e){if(i<0)for(;++i<=0;)for(;t(e,-1),!r(e););else for(;--i>=0;)for(;t(e,1),!r(e););}})},r&&(a.count=function(t,i){return A6.setTime(+t),A5.setTime(+i),e(A6),e(A5),Math.floor(r(A6,A5))},a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?a.filter(i?function(t){return i(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var A9=A8(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});A9.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?A8(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):A9:null},A9.range;var A7=A8(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()});A7.range;var Ie=A8(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()});Ie.range;var It=A8(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()});It.range;var In=A8(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);function Ir(e){return A8(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5})}In.range;var Ii=Ir(0),Ia=Ir(1),Io=Ir(2),Is=Ir(3),Il=Ir(4),Ic=Ir(5),Iu=Ir(6);Ii.range,Ia.range,Io.range,Is.range,Il.range,Ic.range,Iu.range;var Id=A8(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});Id.range;var Ip=A8(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Ip.every=function(e){return isFinite(e=Math.floor(e))&&e>0?A8(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)}):null},Ip.range;var If=A8(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()});If.range;var Ih=A8(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()});Ih.range;var Im=A8(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});function Ig(e){return A8(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}Im.range;var Iv=Ig(0),Ib=Ig(1),Iy=Ig(2),I_=Ig(3),Iw=Ig(4),Ik=Ig(5),Ix=Ig(6);Iv.range,Ib.range,Iy.range,I_.range,Iw.range,Ik.range,Ix.range;var IE=A8(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});IE.range;var IF=A8(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function IC(e,t,r,i,a,o){let s=[[A7,1,1e3],[A7,5,5e3],[A7,15,15e3],[A7,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[i,1,864e5],[i,2,1728e5],[r,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function l(t,r,i){let a=Math.abs(r-t)/i,o=AW(([,,e])=>e).right(s,a);if(o===s.length)return e.every(Aq(t/31536e6,r/31536e6,i));if(0===o)return A9.every(Math.max(Aq(t,r,i),1));let[l,u]=s[a/s[o-1][2]0?A8(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null},IF.range;let[IS,ID]=IC(IF,IE,Iv,Im,Ih,If),[Ij,IT]=IC(Ip,Id,Ii,In,It,Ie);function IO(e,t){e=e.slice();var r,i=0,a=e.length-1,o=e[i],s=e[a];return s0?e>1?RP(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):Iq:null},Iq.range;var IV=RP(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()});IV.range;var IW=RP(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()});IW.range;var I$=RP(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()});I$.range;var IG=RP(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()});IG.range;var IY=RP(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()});IY.range;var IK=RP(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});IK.range;var IZ=RP(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});function IJ(){return(IJ=Object.assign||function(e){for(var t=1;t0){for(;m<=g;++m)for(p=1,d=r(m);pu)break;b.push(f)}}else for(;m<=g;++m)for(p=o-1,d=r(m);p>=1;--p)if(!((f=d*p)u)break;b.push(f)}2*b.length0?(y=f.align[b?"left":"right"],_=f.baseline.center):("after"===a&&u>0||"before"===a&&u<0)&&(y=f.align[b?"right":"left"],_=f.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=m(e))?t:0}},g.lineX=s*("after"===a?1:-1),v.textX=(s+l)*("after"===a?1:-1),y="after"===a?f.align.left:f.align.right),{ticks:p.map(function(e){return Nf({key:e instanceof Date?""+e.valueOf():""+e,value:e},t(e),g,v)}),textAlign:y,textBaseline:_}},Nm=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var r=Z(e);return function(e){return r(e instanceof Date?e:new Date(e))}}return G(e)},Ng=function(e){var t=e.width,r=e.height,i=e.scale,a=e.axis,o=e.values,s=(Array.isArray(o)?o:void 0)||Np(i,o),l="bandwidth"in i?Nc(i):i;return"x"===a?s.map(function(e){var t,i;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=l(e))?t:0,x2:null!=(i=l(e))?i:0,y1:0,y2:r}}):s.map(function(e){var r,i;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:t,y1:null!=(r=l(e))?r:0,y2:null!=(i=l(e))?i:0}})},Nv=(0,el.memo)(function(e){var t,r=e.value,i=e.format,a=e.lineX,o=e.lineY,s=e.onClick,l=e.textBaseline,u=e.textAnchor,d=e.animatedProps,p=Lz(),f=null!=(t=null==i?void 0:i(r))?t:r,m=(0,el.useMemo)(function(){var e={opacity:d.opacity};return s?{style:Nf({},e,{cursor:"pointer"}),onClick:function(e){return s(e,f)}}:{style:e}},[d.opacity,s,f]);return(0,es.jsxs)(Tv.g,Nf({transform:d.transform},m,{children:[(0,es.jsx)("line",{x1:0,x2:a,y1:0,y2:o,style:p.axis.ticks.line}),(0,es.jsx)(Tv.text,{dominantBaseline:l,textAnchor:u,transform:d.textTransform,style:p.axis.ticks.text,children:f})]}))}),Nb=(0,el.memo)(function(e){var t=e.axis,r=e.scale,i=e.x,a=e.y,o=e.length,s=e.ticksPosition,l=e.tickValues,u=e.tickSize,d=e.tickPadding,p=e.tickRotation,f=void 0===p?0:p,m=e.format,g=e.renderTick,v=void 0===g?Nv:g,b=e.legend,y=e.legendPosition,_=void 0===y?"end":y,w=e.legendOffset,k=void 0===w?0:w,x=e.onClick,E=e.ariaHidden,F=Lz(),C=(0,el.useMemo)(function(){return Nm(m,r)},[m,r]),S=Nh({axis:t,scale:r,ticksPosition:s,tickValues:l,tickSize:void 0===u?5:u,tickPadding:void 0===d?5:d,tickRotation:f}),D=S.ticks,j=S.textAlign,T=S.textBaseline,O=null;if(void 0!==b){var P,R=0,M=0,L=0;"y"===t?(L=-90,R=k,"start"===_?(P="start",M=o):"middle"===_?(P="middle",M=o/2):"end"===_&&(P="end")):(M=k,"start"===_?P="start":"middle"===_?(P="middle",R=o/2):"end"===_&&(P="end",R=o)),O=(0,es.jsx)("text",{transform:"translate("+R+", "+M+") rotate("+L+")",textAnchor:P,style:Nf({dominantBaseline:"central"},F.axis.legend.text),children:b})}var A=Lx(),I=A.animate,N=A.config,B=j3({transform:"translate("+(void 0===i?0:i)+","+(void 0===a?0:a)+")",lineX2:"x"===t?o:0,lineY2:"x"===t?0:o,config:N,immediate:!I}),U=j4(D,{keys:function(e){return e.key},initial:function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+f+")"}},from:function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+f+")"}},enter:function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+f+")"}},update:function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+f+")"}},leave:{opacity:0},config:N,immediate:!I});return(0,es.jsxs)(Tv.g,{transform:B.transform,"aria-hidden":E,children:[U(function(e,t,r,i){return el.createElement(v,Nf({tickIndex:i,format:C,rotate:f,textBaseline:T,textAnchor:j,animatedProps:e},t,x?{onClick:x}:{}))}),(0,es.jsx)(Tv.line,{style:F.axis.domain.line,x1:0,x2:B.lineX2,y1:0,y2:B.lineY2}),O]})}),Ny={ticksPosition:lB().oneOf(["before","after"]),tickValues:lB().oneOfType([lB().number,lB().arrayOf(lB().oneOfType([lB().number,lB().string,lB().instanceOf(Date)])),lB().string]),tickSize:lB().number,tickPadding:lB().number,tickRotation:lB().number,format:lB().oneOfType([lB().func,lB().string]),renderTick:lB().func,legend:lB().node,legendPosition:lB().oneOf(["start","middle","end"]),legendOffset:lB().number,ariaHidden:lB().bool},N_=lB().shape(Ny),Nw=["top","right","bottom","left"],Nk=(0,el.memo)(function(e){var t=e.xScale,r=e.yScale,i=e.width,a=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return(0,es.jsx)(es.Fragment,{children:Nw.map(function(e){var s=o[e];if(!s)return null;var l="top"===e||"bottom"===e;return(0,es.jsx)(Nb,Nf({},s,{axis:l?"x":"y",x:"right"===e?i:0,y:"bottom"===e?a:0,scale:l?t:r,length:l?i:a,ticksPosition:"top"===e||"left"===e?"before":"after"}),e)})})}),Nx=(0,el.memo)(function(e){var t=e.animatedProps,r=Lz();return(0,es.jsx)(Tv.line,Nf({},t,r.grid.line))}),NE=(0,el.memo)(function(e){var t=e.lines,r=Lx(),i=r.animate,a=j4(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:r.config,immediate:!i});return(0,es.jsx)("g",{children:a(function(e,t){return(0,el.createElement)(Nx,Nf({},t,{key:t.key,animatedProps:e}))})})}),NF=(0,el.memo)(function(e){var t=e.width,r=e.height,i=e.xScale,a=e.yScale,o=e.xValues,s=e.yValues,l=(0,el.useMemo)(function(){return!!i&&Ng({width:t,height:r,scale:i,axis:"x",values:o})},[i,o,t,r]),u=(0,el.useMemo)(function(){return!!a&&Ng({width:t,height:r,scale:a,axis:"y",values:s})},[r,t,a,s]);return(0,es.jsxs)(es.Fragment,{children:[l&&(0,es.jsx)(NE,{lines:l}),u&&(0,es.jsx)(NE,{lines:u})]})}),NC=function(e,t){var r,i=t.axis,a=t.scale,o=t.x,s=t.y,l=t.length,u=t.ticksPosition,d=t.tickValues,p=t.tickSize,f=t.tickPadding,m=t.tickRotation,g=void 0===m?0:m,v=t.format,b=t.legend,y=t.legendPosition,_=void 0===y?"end":y,w=t.legendOffset,k=void 0===w?0:w,x=t.theme,E=Nh({axis:i,scale:a,ticksPosition:u,tickValues:d,tickSize:void 0===p?5:p,tickPadding:void 0===f?5:f,tickRotation:g,engine:"canvas"}),F=E.ticks,C=E.textAlign,S=E.textBaseline;e.save(),e.translate(void 0===o?0:o,void 0===s?0:s),e.textAlign=C,e.textBaseline=S,e.font=(x.axis.ticks.text.fontWeight?x.axis.ticks.text.fontWeight+" ":"")+x.axis.ticks.text.fontSize+"px "+x.axis.ticks.text.fontFamily,(null!=(r=x.axis.domain.line.strokeWidth)?r:0)>0&&(e.lineWidth=Number(x.axis.domain.line.strokeWidth),e.lineCap="square",x.axis.domain.line.stroke&&(e.strokeStyle=x.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===i?l:0,"x"===i?0:l),e.stroke());var D="function"==typeof v?v:function(e){return""+e};if(F.forEach(function(t){(null!=(r=x.axis.ticks.line.strokeWidth)?r:0)>0&&(e.lineWidth=Number(x.axis.ticks.line.strokeWidth),e.lineCap="square",x.axis.ticks.line.stroke&&(e.strokeStyle=x.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r,i=D(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(LZ(g)),x.axis.ticks.text.fill&&(e.fillStyle=x.axis.ticks.text.fill),e.fillText(String(i),0,0),e.restore()}),void 0!==b){var j=0,T=0,O=0,P="center";"y"===i?(O=-90,j=k,"start"===_?(P="start",T=l):"middle"===_?(P="center",T=l/2):"end"===_&&(P="end")):(T=k,"start"===_?P="start":"middle"===_?(P="center",j=l/2):"end"===_&&(P="end",j=l)),e.translate(j,T),e.rotate(LZ(O)),e.font=(x.axis.legend.text.fontWeight?x.axis.legend.text.fontWeight+" ":"")+x.axis.legend.text.fontSize+"px "+x.axis.legend.text.fontFamily,x.axis.legend.text.fill&&(e.fillStyle=x.axis.legend.text.fill),e.textAlign=P,e.textBaseline="middle",e.fillText(b,0,0)}e.restore()},NS=function(e,t){var r=t.xScale,i=t.yScale,a=t.width,o=t.height,s=t.top,l=t.right,u=t.bottom,d=t.left,p=t.theme,f={top:s,right:l,bottom:u,left:d};Nw.forEach(function(t){var s=f[t];if(!s)return null;var l="top"===t||"bottom"===t,u=l?r:i,d=Nm(s.format,u);NC(e,Nf({},s,{axis:l?"x":"y",x:"right"===t?a:0,y:"bottom"===t?o:0,scale:u,format:d,length:l?a:o,ticksPosition:"top"===t||"left"===t?"before":"after",theme:p}))})},ND=function(e,t){Ng({width:t.width,height:t.height,scale:t.scale,axis:t.axis,values:t.values}).forEach(function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()})};function Nj(){return(Nj=Object.assign||function(e){for(var t=1;t1e-6){if(Math.abs(p*l-u*d)>1e-6&&a){var m=r-o,g=i-s,v=l*l+u*u,b=Math.sqrt(v),y=Math.sqrt(f),_=a*Math.tan((NH-Math.acos((v+f-(m*m+g*g))/(2*b*y)))/2),w=_/y,k=_/b;Math.abs(w-1)>1e-6&&(this._+="L"+(e+w*d)+","+(t+w*p)),this._+="A"+a+","+a+",0,0,"+ +(p*m>d*g)+","+(this._x1=e+k*l)+","+(this._y1=t+k*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t)}},arc:function(e,t,r,i,a,o){e=+e,t=+t,r=+r,o=!!o;var s=r*Math.cos(i),l=r*Math.sin(i),u=e+s,d=t+l,p=1^o,f=o?i-a:a-i;if(r<0)throw Error("negative radius: "+r);null===this._x1?this._+="M"+u+","+d:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+u+","+d),r&&(f<0&&(f=f%Nq+Nq),f>NV?this._+="A"+r+","+r+",0,1,"+p+","+(e-s)+","+(t-l)+"A"+r+","+r+",0,1,"+p+","+(this._x1=u)+","+(this._y1=d):f>1e-6&&(this._+="A"+r+","+r+",0,"+ +(f>=NH)+","+p+","+(this._x1=e+r*Math.cos(a))+","+(this._y1=t+r*Math.sin(a))))},rect:function(e,t,r,i){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +i+"h"+-r+"Z"},toString:function(){return this._}};let NJ=new Uint32Array(512);class NX{static from(e,t=N4,r=N6){let i=e.length,a=new Float64Array(2*i);for(let o=0;o>1;if(t>0&&"number"!=typeof e[0])throw Error("Expected coords to contain numbers.");this.coords=e;let r=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*r),this._halfedges=new Int32Array(3*r),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){let e,t,r;let{coords:i,_hullPrev:a,_hullNext:o,_hullTri:s,_hullHash:l}=this,u=i.length>>1,d=1/0,p=1/0,f=-1/0,m=-1/0;for(let e=0;ef&&(f=t),r>m&&(m=r),this._ids[e]=e}let g=(d+f)/2,v=(p+m)/2,b=1/0;for(let t=0;t0&&(t=r,b=a)}let w=i[2*t],k=i[2*t+1],x=1/0;for(let a=0;ai&&(e[t++]=a,i=this._dists[a])}this.hull=e.subarray(0,t),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(N1(y,_,w,k,E,F)){let e=t,i=w,a=k;t=r,w=E,k=F,r=e,E=i,F=a}let C=function(e,t,r,i,a,o){let s=r-e,l=i-t,u=a-e,d=o-t,p=s*s+l*l,f=u*u+d*d,m=.5/(s*d-l*u);return{x:e+(d*p-l*f)*m,y:t+(s*f-u*p)*m}}(y,_,w,k,E,F);this._cx=C.x,this._cy=C.y;for(let e=0;e0&&2220446049250313e-31>=Math.abs(m-d)&&2220446049250313e-31>=Math.abs(g-p)||(d=m,p=g,f===e||f===t||f===r))continue;let v=0;for(let e=0,t=this._hashKey(m,g);e0?3-r:1+r)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){let{_triangles:t,_halfedges:r,coords:i}=this,a=0,o=0;for(;;){let s=r[e],l=e-e%3;if(o=l+(e+2)%3,-1===s){if(0===a)break;e=NJ[--a];continue}let u=s-s%3,d=l+(e+1)%3,p=u+(s+2)%3,f=t[o],m=t[e],g=t[d],v=t[p];if(function(e,t,r,i,a,o,s,l){let u=e-s,d=t-l,p=r-s,f=i-l,m=a-s,g=o-l,v=p*p+f*f,b=m*m+g*g;return u*(f*b-v*g)-d*(p*b-v*m)+(u*u+d*d)*(p*g-f*m)<0}(i[2*f],i[2*f+1],i[2*m],i[2*m+1],i[2*g],i[2*g+1],i[2*v],i[2*v+1])){t[e]=v,t[s]=f;let i=r[p];if(-1===i){let t=this._hullStart;do{if(this._hullTri[t]===p){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,i),this._link(s,r[o]),this._link(o,p);let l=u+(s+1)%3;a=33306690738754716e-32*Math.abs(s+l)?s-l:0}function N1(e,t,r,i,a,o){return 0>(N0(a,o,e,t,r,i)||N0(e,t,r,i,a,o)||N0(r,i,a,o,e,t))}function N2(e,t,r,i){if(i-r<=20)for(let a=r+1;a<=i;a++){let i=e[a],o=t[i],s=a-1;for(;s>=r&&t[e[s]]>o;)e[s+1]=e[s--];e[s+1]=i}else{let a=r+i>>1,o=r+1,s=i;N3(e,a,o),t[e[r]]>t[e[i]]&&N3(e,r,i),t[e[o]]>t[e[i]]&&N3(e,o,i),t[e[r]]>t[e[o]]&&N3(e,r,o);let l=e[o],u=t[l];for(;;){do o++;while(t[e[o]]u);if(s=s-r?(N2(e,t,o,i),N2(e,t,r,s-1)):(N2(e,t,r,s-1),N2(e,t,o,i))}}function N3(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function N4(e){return e[0]}function N6(e){return e[1]}class N5{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,r){e=+e,t=+t;let i=e+(r=+r),a=t;if(r<0)throw Error("negative radius");null===this._x1?this._+=`M${i},${a}`:(Math.abs(this._x1-i)>1e-6||Math.abs(this._y1-a)>1e-6)&&(this._+="L"+i+","+a),r&&(this._+=`A${r},${r},0,1,1,${e-r},${t}A${r},${r},0,1,1,${this._x1=i},${this._y1=a}`)}rect(e,t,r,i){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+r}v${+i}h${-r}Z`}value(){return this._||null}}class N8{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class N9{constructor(e,[t,r,i,a]=[0,0,960,500]){if(!((i=+i)>=(t=+t))||!((a=+a)>=(r=+r)))throw Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=i,this.xmin=t,this.ymax=a,this.ymin=r,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){let{delaunay:{points:e,hull:t,triangles:r},vectors:i}=this,a=this.circumcenters=this._circumcenters.subarray(0,r.length/3*2);for(let t=0,i=0,o=r.length,s,l;tMath.abs(F))s=(p+v)/2,l=(f+b)/2;else{let e=1/F;s=p+(k*x-_*E)*e,l=f+(y*E-w*x)*e}}else s=(p+v)/2-1e8*k,l=(f+b)/2+1e8*w;a[i]=s,a[i+1]=l}let o=t[t.length-1],s,l=4*o,u,d=e[2*o],p,f=e[2*o+1];i.fill(0);for(let r=0;r1;)a-=2;for(let e=2;e4)for(let e=0;e0){if(t>=this.ymax)return null;(o=(this.ymax-t)/i)0){if(e>=this.xmax)return null;(o=(this.xmax-e)/r)this.xmax?2:0)|(tthis.ymax?8:0)}}let N7=2*Math.PI,Be=Math.pow;function Bt(e){return e[0]}function Bn(e){return e[1]}class Br{static from(e,t=Bt,r=Bn,i){return new Br("length"in e?function(e,t,r,i){let a=e.length,o=new Float64Array(2*a);for(let s=0;s2&&function(e){let{triangles:t,coords:r}=e;for(let e=0;e1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,r)=>t[2*e]-t[2*r]||t[2*e+1]-t[2*r+1]);let e=this.collinear[0],a=this.collinear[this.collinear.length-1],o=[t[2*e],t[2*e+1],t[2*a],t[2*a+1]],s=1e-8*Math.hypot(o[3]-o[1],o[2]-o[0]);for(let e=0,a=t.length/2;e0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=o[0],this.triangles[1]=o[1],this.triangles[2]=o[1],l[o[0]]=1,2===o.length&&(l[o[1]]=0))}voronoi(e){return new N9(this,e)}*neighbors(e){let{inedges:t,hull:r,_hullIndex:i,halfedges:a,triangles:o,collinear:s}=this;if(s){let t=s.indexOf(e);t>0&&(yield s[t-1]),t=0&&i!==r&&i!==a;)r=i;return i}_step(e,t,r){let{inedges:i,hull:a,_hullIndex:o,halfedges:s,triangles:l,points:u}=this;if(-1===i[e]||!u.length)return(e+1)%(u.length>>1);let d=e,p=Be(t-u[2*e],2)+Be(r-u[2*e+1],2),f=i[e],m=f;do{let i=l[m],f=Be(t-u[2*i],2)+Be(r-u[2*i+1],2);if(f=p;--f)l.point(y[f],_[f]);l.lineEnd(),l.areaEnd()}}b&&(y[d]=+e(m,d,u),_[d]=+r(m,d,u),l.point(t?+t(m,d,u):y[d],i?+i(m,d,u):_[d]))}if(g)return l=null,g+""||null}function d(){return NZ().defined(a).curve(s).context(o)}return u.x=function(r){return arguments.length?(e="function"==typeof r?r:NG(+r),t=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:NG(+t),u):e},u.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:NG(+e),u):t},u.y=function(e){return arguments.length?(r="function"==typeof e?e:NG(+e),i=null,u):r},u.y0=function(e){return arguments.length?(r="function"==typeof e?e:NG(+e),u):r},u.y1=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:NG(+e),u):i},u.lineX0=u.lineY0=function(){return d().x(e).y(r)},u.lineY1=function(){return d().x(e).y(i)},u.lineX1=function(){return d().x(t).y(r)},u.defined=function(e){return arguments.length?(a="function"==typeof e?e:NG(!!e),u):a},u.curve=function(e){return arguments.length?(s=e,null!=o&&(l=s(o)),u):s},u.context=function(e){return arguments.length?(null==e?o=l=null:l=s(o=e),u):o},u})().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y1(function(e){return e.y}).curve(LT(t)).y0(r(i))},[t,r,i])},BS=function(e){var t=e.enableSlices,r=e.points,i=e.width,a=e.height;return(0,el.useMemo)(function(){if(!1===t)return[];if("x"===t){var e=new Map;return r.forEach(function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))}),Array.from(e.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,r){var o,s=e[0],l=e[1],u=r[t-1],d=r[t+1];return{id:s,x0:o=u?s-(s-u[0])/2:s,x:s,y0:0,y:0,width:d?s-o+(d[0]-s)/2:i-o,height:a,points:l.reverse()}})}if("y"===t){var o=new Map;return r.forEach(function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))}),Array.from(o.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,r){var o,s,l=e[0],u=e[1],d=r[t-1],p=r[t+1];return o=d?l-(l-d[0])/2:l,s=p?l-o+(p[0]-l)/2:a-o,{id:l,x0:0,x:0,y0:o,y:l,width:i,height:s,points:u.reverse()}})}},[t,r])},BD=function(e){var t,r,i,a,o,s,l=e.data,u=e.xScale,d=void 0===u?Bx.xScale:u,p=e.xFormat,f=e.yScale,m=void 0===f?Bx.yScale:f,g=e.yFormat,v=e.width,b=e.height,y=e.colors,_=void 0===y?Bx.colors:y,w=e.curve,k=void 0===w?Bx.curve:w,x=e.areaBaselineValue,E=void 0===x?Bx.areaBaselineValue:x,F=e.pointColor,C=void 0===F?Bx.pointColor:F,S=e.pointBorderColor,D=void 0===S?Bx.pointBorderColor:S,j=e.enableSlices,T=void 0===j?Bx.enableSlicesTooltip:j,O=LI(p),P=LI(g),R=(0,el.useMemo)(function(){return Aj(_,"id")},[_,"id"]),M=Lz(),L=AE(C,M),A=AE(D,M),I=(0,el.useState)([]),N=I[0],B=I[1],U=(0,el.useMemo)(function(){return Nr(l.filter(function(e){return -1===N.indexOf(e.id)}),d,m,v,b)},[l,N,d,m,v,b]),z=U.xScale,H=U.yScale,q=U.series,V=(0,el.useMemo)(function(){var e=l.map(function(e){return{id:e.id,label:e.id,color:R(e)}}),t=e.map(function(e){return Bh({},q.find(function(t){return t.id===e.id}),{color:e.color})}).filter(function(e){return!!e.id});return{legendData:e.map(function(e){return Bh({},e,{hidden:!t.find(function(t){return t.id===e.id})})}).reverse(),series:t}},[l,q,R]),W=V.legendData,$=V.series,G=(0,el.useCallback)(function(e){B(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),Y=(r=(t={series:$,getPointColor:L,getPointBorderColor:A,formatX:O,formatY:P}).series,i=t.getPointColor,a=t.getPointBorderColor,o=t.formatX,s=t.formatY,(0,el.useMemo)(function(){return r.reduce(function(e,t){return[].concat(e,t.data.filter(function(e){return null!==e.position.x&&null!==e.position.y}).map(function(r,l){var u={id:t.id+"."+l,index:e.length+l,serieId:t.id,serieColor:t.color,x:r.position.x,y:r.position.y};return u.color=i(t),u.borderColor=a(u),u.data=Bh({},r.data,{xFormatted:o(r.data.x),yFormatted:s(r.data.y)}),u}))},[])},[r,i,a,o,s])),K=BS({enableSlices:T,points:Y,width:v,height:b});return{legendData:W,toggleSerie:G,lineGenerator:BF({curve:k}),areaGenerator:BC({curve:k,yScale:H,areaBaselineValue:E}),getColor:R,series:$,xScale:z,yScale:H,slices:K,points:Y}},Bj=function(e){var t=e.areaBlendMode,r=e.areaOpacity,i=e.color,a=e.fill,o=e.path,s=Lx(),l=s.animate,u=s.config,d=LE(o),p=j3({color:i,config:u,immediate:!l});return(0,es.jsx)(Tv.path,{d:d,fill:a||p.color,fillOpacity:r,strokeWidth:0,style:{mixBlendMode:t}})};Bj.propTypes={areaBlendMode:LR.isRequired,areaOpacity:lB().number.isRequired,color:lB().string,fill:lB().string,path:lB().string.isRequired};var BT=function(e){var t=e.areaGenerator,r=e.areaOpacity,i=e.areaBlendMode,a=e.lines.slice(0).reverse();return(0,es.jsx)("g",{children:a.map(function(e){return(0,es.jsx)(Bj,Bh({path:t(e.data.map(function(e){return e.position}))},Bh({areaOpacity:r,areaBlendMode:i},e)),e.id)})})};BT.propTypes={areaGenerator:lB().func.isRequired,areaOpacity:lB().number.isRequired,areaBlendMode:LR.isRequired,lines:lB().arrayOf(lB().object).isRequired};var BO=(0,el.memo)(BT),BP=function(e){var t=e.lineGenerator,r=e.points,i=e.color,a=e.thickness,o=LE((0,el.useMemo)(function(){return t(r)},[t,r]));return(0,es.jsx)(Tv.path,{d:o,fill:"none",strokeWidth:a,stroke:i})};BP.propTypes={points:lB().arrayOf(lB().shape({x:lB().oneOfType([lB().string,lB().number]),y:lB().oneOfType([lB().string,lB().number])})),lineGenerator:lB().func.isRequired,color:lB().string.isRequired,thickness:lB().number.isRequired};var BR=(0,el.memo)(BP),BM=function(e){var t=e.lines,r=e.lineGenerator,i=e.lineWidth;return t.slice(0).reverse().map(function(e){var t=e.id,a=e.data,o=e.color;return(0,es.jsx)(BR,{id:t,points:a.map(function(e){return e.position}),lineGenerator:r,color:o,thickness:i},t)})};BM.propTypes={lines:lB().arrayOf(lB().shape({id:lB().oneOfType([lB().string,lB().number]).isRequired,color:lB().string.isRequired,data:lB().arrayOf(lB().shape({data:lB().shape({x:lB().oneOfType([lB().string,lB().number,lB().instanceOf(Date)]),y:lB().oneOfType([lB().string,lB().number,lB().instanceOf(Date)])}).isRequired,position:lB().shape({x:lB().number,y:lB().number}).isRequired})).isRequired})).isRequired,lineWidth:lB().number.isRequired,lineGenerator:lB().func.isRequired};var BL=(0,el.memo)(BM),BA=function(e){var t=e.slice,r=e.axis,i=e.debug,a=e.tooltip,o=e.isCurrent,s=e.setCurrent,l=TP(),u=l.showTooltipFromEvent,d=l.hideTooltip,p=(0,el.useCallback)(function(e){u((0,el.createElement)(a,{slice:t,axis:r}),e,"right"),s(t)},[u,a,t]),f=(0,el.useCallback)(function(e){u((0,el.createElement)(a,{slice:t,axis:r}),e,"right")},[u,a,t]),m=(0,el.useCallback)(function(){d(),s(null)},[d]);return(0,es.jsx)("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:i?1:0,strokeOpacity:.75,fill:"red",fillOpacity:o&&i?.35:0,onMouseEnter:p,onMouseMove:f,onMouseLeave:m})};BA.propTypes={slice:lB().object.isRequired,axis:lB().oneOf(["x","y"]).isRequired,debug:lB().bool.isRequired,height:lB().number.isRequired,tooltip:lB().oneOfType([lB().func,lB().object]),isCurrent:lB().bool.isRequired,setCurrent:lB().func.isRequired};var BI=(0,el.memo)(BA),BN=function(e){var t=e.slices,r=e.axis,i=e.debug,a=e.height,o=e.tooltip,s=e.current,l=e.setCurrent;return t.map(function(e){return(0,es.jsx)(BI,{slice:e,axis:r,debug:i,height:a,tooltip:o,setCurrent:l,isCurrent:null!==s&&s.id===e.id},e.id)})};BN.propTypes={slices:lB().arrayOf(lB().shape({id:lB().oneOfType([lB().number,lB().string,lB().instanceOf(Date)]).isRequired,x:lB().number.isRequired,y:lB().number.isRequired,points:lB().arrayOf(lB().object).isRequired})).isRequired,axis:lB().oneOf(["x","y"]).isRequired,debug:lB().bool.isRequired,height:lB().number.isRequired,tooltip:lB().oneOfType([lB().func,lB().object]).isRequired,current:lB().object,setCurrent:lB().func.isRequired};var BB=(0,el.memo)(BN),BU=function(e){var t=e.points,r=e.symbol,i=e.size,a=e.borderWidth,o=e.enableLabel,s=e.label,l=e.labelYOffset,u=Lz(),d=Ao(s),p=t.slice(0).reverse().map(function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?d(e.data):null}});return(0,es.jsx)("g",{children:p.map(function(e){return(0,es.jsx)(L7,{x:e.x,y:e.y,datum:e.datum,symbol:r,size:i,color:e.fill,borderWidth:a,borderColor:e.stroke,label:e.label,labelYOffset:l,theme:u},e.id)})})};BU.propTypes={points:lB().arrayOf(lB().object),symbol:lB().func,size:lB().number.isRequired,color:lB().func.isRequired,borderWidth:lB().number.isRequired,borderColor:lB().func.isRequired,enableLabel:lB().bool.isRequired,label:lB().oneOfType([lB().string,lB().func]).isRequired,labelYOffset:lB().number};var Bz=(0,el.memo)(BU),BH=function(e){var t=e.points,r=e.width,i=e.height,a=e.margin,o=e.setCurrent,s=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,d=e.onClick,p=e.tooltip,f=e.debug,m=TP(),g=m.showTooltipAt,v=m.hideTooltip,b=(0,el.useCallback)(function(e,t){g((0,el.createElement)(p,{point:e}),[e.x+a.left,e.y+a.top],"top"),o(e),s&&s(e,t)},[o,g,p,s,a]),y=(0,el.useCallback)(function(e,t){g((0,el.createElement)(p,{point:e}),[e.x+a.left,e.y+a.top],"top"),o(e),l&&l(e,t)},[o,g,p,l]),_=(0,el.useCallback)(function(e,t){v(),o(null),u&&u(e,t)},[v,o,u]),w=(0,el.useCallback)(function(e,t){d&&d(e,t)},[d]);return(0,es.jsx)(Bd,{nodes:t,width:r,height:i,onMouseEnter:b,onMouseMove:y,onMouseLeave:_,onClick:w,debug:f})};BH.propTypes={points:lB().arrayOf(lB().object).isRequired,width:lB().number.isRequired,height:lB().number.isRequired,margin:lB().object.isRequired,setCurrent:lB().func.isRequired,onMouseEnter:lB().func,onMouseMove:lB().func,onMouseLeave:lB().func,onClick:lB().func,tooltip:lB().oneOfType([lB().func,lB().object]).isRequired,debug:lB().bool.isRequired};var Bq=(0,el.memo)(BH),BV=function(e){var t=e.data,r=e.xScale,i=e.xFormat,a=e.yScale,o=e.yFormat,s=e.layers,l=e.curve,u=e.areaBaselineValue,d=e.colors,p=e.margin,f=e.width,m=e.height,g=e.axisTop,v=e.axisRight,b=e.axisBottom,y=e.axisLeft,_=e.enableGridX,w=e.enableGridY,k=e.gridXValues,x=e.gridYValues,E=e.lineWidth,F=e.enableArea,C=e.areaOpacity,S=e.areaBlendMode,D=e.enablePoints,j=e.pointSymbol,T=e.pointSize,O=e.pointColor,P=e.pointBorderWidth,R=e.pointBorderColor,M=e.enablePointLabel,L=e.pointLabel,A=e.pointLabelYOffset,I=e.defs,N=e.fill,B=e.markers,U=e.legends,z=e.isInteractive,H=e.useMesh,q=e.debugMesh,V=e.onMouseEnter,W=e.onMouseMove,$=e.onMouseLeave,G=e.onClick,Y=e.tooltip,K=e.enableSlices,Z=e.debugSlices,J=e.sliceTooltip,X=e.enableCrosshair,Q=e.crosshairType,ee=e.role,et=LL(f,m,p),en=et.margin,er=et.innerWidth,ei=et.innerHeight,ea=et.outerWidth,eo=et.outerHeight,ec=BD({data:t,xScale:r,xFormat:i,yScale:a,yFormat:o,width:er,height:ei,colors:d,curve:l,areaBaselineValue:u,pointColor:O,pointBorderColor:R,enableSlices:K}),eu=ec.legendData,ed=ec.toggleSerie,ep=ec.lineGenerator,ef=ec.areaGenerator,eh=ec.series,em=ec.xScale,eg=ec.yScale,ev=ec.slices,eb=ec.points,ey=Lz(),e_=AE(O,ey),ew=AE(R,ey),ek=(0,el.useState)(null),ex=ek[0],eE=ek[1],eF=(0,el.useState)(null),eC=eF[0],eS=eF[1],eD={grid:(0,es.jsx)(NF,{theme:ey,width:er,height:ei,xScale:_?em:null,yScale:w?eg:null,xValues:k,yValues:x},"grid"),markers:(0,es.jsx)(Ar,{markers:B,width:er,height:ei,xScale:em,yScale:eg,theme:ey},"markers"),axes:(0,es.jsx)(Nk,{xScale:em,yScale:eg,width:er,height:ei,theme:ey,top:g,right:v,bottom:b,left:y},"axes"),areas:null,lines:(0,es.jsx)(BL,{lines:eh,lineGenerator:ep,lineWidth:E},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:U.map(function(e,t){return(0,es.jsx)(NN,Bh({},e,{containerWidth:er,containerHeight:ei,data:e.data||eu,theme:ey,toggleSerie:e.toggleSerie?ed:void 0}),"legend."+t)})},ej=Ad(I,eh,N);return F&&(eD.areas=(0,es.jsx)(BO,{areaGenerator:ef,areaOpacity:C,areaBlendMode:S,lines:eh},"areas")),z&&!1!==K&&(eD.slices=(0,es.jsx)(BB,{slices:ev,axis:K,debug:Z,height:ei,tooltip:J,current:eC,setCurrent:eS},"slices")),D&&(eD.points=(0,es.jsx)(Bz,{points:eb,symbol:j,size:T,color:e_,borderWidth:P,borderColor:ew,enableLabel:M,label:L,labelYOffset:A},"points")),z&&X&&(null!==ex&&(eD.crosshair=(0,es.jsx)(TS,{width:er,height:ei,x:ex.x,y:ex.y,type:Q},"crosshair")),null!==eC&&(eD.crosshair=(0,es.jsx)(TS,{width:er,height:ei,x:eC.x,y:eC.y,type:K},"crosshair"))),z&&H&&!1===K&&(eD.mesh=(0,es.jsx)(Bq,{points:eb,width:er,height:ei,margin:en,current:ex,setCurrent:eE,onMouseEnter:V,onMouseMove:W,onMouseLeave:$,onClick:G,tooltip:Y,debug:q},"mesh")),(0,es.jsx)(L6,{defs:ej,width:ea,height:eo,margin:en,role:ee,children:s.map(function(t,r){return"function"==typeof t?(0,es.jsx)(el.Fragment,{children:t(Bh({},e,{innerWidth:er,innerHeight:ei,series:eh,slices:ev,points:eb,xScale:em,yScale:eg,lineGenerator:ep,areaGenerator:ef,currentPoint:ex,setCurrentPoint:eE,currentSlice:eC,setCurrentSlice:eS}))},r):eD[t]})})};BV.propTypes=B_,BV.defaultProps=Bx,Aa(BV);var BW=function(e){var t=e.width,r=e.height,i=e.margin,a=e.pixelRatio,o=e.data,s=e.xScale,l=e.xFormat,u=e.yScale,d=e.yFormat,p=e.curve,f=e.layers,m=e.colors,g=e.lineWidth,v=e.enableArea,b=e.areaBaselineValue,y=e.areaOpacity,_=e.enablePoints,w=e.pointSize,k=e.pointColor,x=e.pointBorderWidth,E=e.pointBorderColor,F=e.enableGridX,C=e.gridXValues,S=e.enableGridY,D=e.gridYValues,j=e.axisTop,T=e.axisRight,O=e.axisBottom,P=e.axisLeft,R=e.legends,M=e.isInteractive,L=e.debugMesh,A=e.onMouseLeave,I=e.onClick,N=e.tooltip,B=e.canvasRef,U=(0,el.useRef)(null),z=LL(t,r,i),H=z.margin,q=z.innerWidth,V=z.innerHeight,W=z.outerWidth,$=z.outerHeight,G=Lz(),Y=(0,el.useState)(null),K=Y[0],Z=Y[1],J=BD({data:o,xScale:s,xFormat:l,yScale:u,yFormat:d,width:q,height:V,colors:m,curve:p,areaBaselineValue:b,pointColor:k,pointBorderColor:E}),X=J.lineGenerator,Q=J.areaGenerator,ee=J.series,et=J.xScale,en=J.yScale,er=J.points,ei=Bl({points:er,width:q,height:V,debug:L}),ea=ei.delaunay,eo=ei.voronoi;(0,el.useEffect)(function(){B&&(B.current=U.current),U.current.width=W*a,U.current.height=$*a;var e=U.current.getContext("2d");e.scale(a,a),e.fillStyle=G.background,e.fillRect(0,0,W,$),e.translate(H.left,H.top),f.forEach(function(t){if("function"==typeof t&&t({ctx:e,innerWidth:q,innerHeight:V,series:ee,points:er,xScale:et,yScale:en,lineWidth:g,lineGenerator:X,areaGenerator:Q,currentPoint:K,setCurrentPoint:Z}),"grid"===t&&G.grid.line.strokeWidth>0&&(e.lineWidth=G.grid.line.strokeWidth,e.strokeStyle=G.grid.line.stroke,F&&ND(e,{width:q,height:V,scale:et,axis:"x",values:C}),S&&ND(e,{width:q,height:V,scale:en,axis:"y",values:D})),"axes"===t&&NS(e,{xScale:et,yScale:en,width:q,height:V,top:j,right:T,bottom:O,left:P,theme:G}),"areas"===t&&!0===v&&(e.save(),e.globalAlpha=y,Q.context(e),ee.forEach(function(t){e.fillStyle=t.color,e.beginPath(),Q(t.data.map(function(e){return e.position})),e.fill()}),e.restore()),"lines"===t&&(X.context(e),ee.forEach(function(t){e.strokeStyle=t.color,e.lineWidth=g,e.beginPath(),X(t.data.map(function(e){return e.position})),e.stroke()})),"points"===t&&!0===_&&w>0&&er.forEach(function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,w/2,0,2*Math.PI),e.fill(),x>0&&(e.strokeStyle=t.borderColor,e.lineWidth=x,e.stroke())}),"mesh"===t&&!0===L&&(Bp(e,eo),K&&Bf(e,eo,K.index)),"legends"===t){var r=ee.map(function(e){return{id:e.id,label:e.id,color:e.color}}).reverse();R.forEach(function(t){NU(e,Bh({},t,{data:t.data||r,containerWidth:q,containerHeight:V,theme:G}))})}})},[U,W,$,f,G,X,ee,et,en,F,C,S,D,j,T,O,P,R,er,_,w,K]);var ec=(0,el.useCallback)(function(e){var t,r,i=As(U.current,e),a=i[0],o=i[1];return(t=H.left,r=H.top,t<=a&&a<=t+q&&r<=o&&o<=r+V)?er[ea.find(a-H.left,o-H.top)]:null},[U,H,q,V,ea]),eu=TP(),ed=eu.showTooltipFromEvent,ep=eu.hideTooltip,ef=(0,el.useCallback)(function(e){var t=ec(e);Z(t),t?ed((0,el.createElement)(N,{point:t}),e):ep()},[ec,Z,ed,ep,N]),eh=(0,el.useCallback)(function(e){ep(),Z(null),K&&A&&A(K,e)},[ep,Z,A]),em=(0,el.useCallback)(function(e){if(I){var t=ec(e);t&&I(t,e)}},[ec,I]);return(0,es.jsx)("canvas",{ref:U,width:W*a,height:$*a,style:{width:W,height:$,cursor:M?"auto":"normal"},onMouseEnter:M?ef:void 0,onMouseMove:M?ef:void 0,onMouseLeave:M?eh:void 0,onClick:M?em:void 0})};BW.propTypes=Bw,BW.defaultProps=BE;var B$=Aa(BW),BG=(0,el.forwardRef)(function(e,t){return(0,es.jsx)(B$,Bh({},e,{canvasRef:t}))});(0,el.forwardRef)(function(e,t){return(0,es.jsx)(LW,{children:function(r){var i=r.width,a=r.height;return(0,es.jsx)(BG,Bh({width:i,height:a},e,{ref:t}))}})});let BY=({participant:e,trackType:t="audioTrack",...r})=>{let i=F2(),[a,o]=(0,el.useState)(null),{userId:s,sessionId:l}=e;return(0,el.useEffect)(()=>{if(!i||!a)return;let e=i.bindAudioElement(a,l,t);return()=>{e?.()}},[i,l,a,t]),(0,es.jsx)("audio",{autoPlay:!0,...r,ref:o,"data-user-id":s,"data-session-id":l,"data-track-type":t})},BK=e=>{let{participants:t,audioProps:r}=e;return(0,es.jsx)(es.Fragment,{children:t.map(e=>{if(e.isLocalParticipant)return null;let t=e.publishedTracks.includes(xn.TrackType.AUDIO),i=e.publishedTracks.includes(xn.TrackType.SCREEN_SHARE_AUDIO);return t&&e.audioStream?(0,el.createElement)(BY,{...r,trackType:"audioTrack",participant:e,key:e.sessionId}):i&&e.screenShareAudioStream?(0,el.createElement)(BY,{...r,trackType:"screenShareAudioTrack",participant:e,key:e.sessionId}):null})})},BZ=e=>null!==e&&!(0,el.isValidElement)(e),BJ=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(r,i)=>e.slice(t*i,t*i+t)),BX=(e,t)=>{if(e){if("function"==typeof e)return e(t);e.current=t}};(0,el.forwardRef)(({stream:e,...t},r)=>{let[i,a]=(0,el.useState)(null);return(0,el.useEffect)(()=>{if(i&&e&&e!==i.srcObject)return i.srcObject=e,(EZ.isSafari()||EZ.isFirefox())&&setTimeout(()=>{i.srcObject=e,i.play().catch(e=>{console.error("Failed to play stream",e)})},0),()=>{i.pause(),i.srcObject=null}},[e,i]),(0,es.jsx)("video",{autoPlay:!0,playsInline:!0,...t,ref:e=>{BX(r,e),a(e)}})});let BQ=(0,el.forwardRef)(({participant:e,style:t},r)=>{let[i,a]=(0,el.useState)(!1),o=e.name||e.userId;return(0,es.jsxs)("div",{className:"str-video__video-placeholder",style:t,ref:r,children:[(!e.image||i)&&(o?(0,es.jsx)("div",{className:"str-video__video-placeholder__initials-fallback",children:(0,es.jsx)("div",{children:o[0]})}):(0,es.jsx)("div",{children:"Video is disabled"})),e.image&&!i&&(0,es.jsx)("img",{onError:()=>a(!0),alt:"video-placeholder",className:"str-video__video-placeholder__avatar",src:e.image})]})}),B0=({trackType:e,participant:t,className:r,VideoPlaceholder:i=BQ,refs:a,...o})=>{let{sessionId:s,videoStream:l,screenShareStream:u,publishedTracks:d,viewportVisibilityState:p,isLocalParticipant:f,userId:m}=t,g=F2(),[v,b]=(0,el.useState)(null),[y,_]=(0,el.useState)(!0),[w,k]=(0,el.useState)(!0),x="videoTrack"===e?l:"screenShareTrack"===e?u:void 0;if((0,el.useLayoutEffect)(()=>{if(!g||!v||"none"===e)return;let t=g.bindVideoElement(v,s,e);return()=>{t?.()}},[g,e,s,v]),(0,el.useEffect)(()=>{if(!x||!v)return;let[e]=x.getVideoTracks();if(!e)return;let t=()=>{_(v.paused);let{width:t=0,height:r=0}=e.getSettings();k(t>=r)};return _(v.paused),v.addEventListener("play",t),v.addEventListener("pause",t),e.addEventListener("unmute",t),()=>{v.removeEventListener("play",t),v.removeEventListener("pause",t),e.removeEventListener("unmute",t),_(!0)}},[x,v]),!g)return null;let E="videoTrack"===e?d.includes(xn.TrackType.VIDEO):"screenShareTrack"===e&&d.includes(xn.TrackType.SCREEN_SHARE),F="none"===e||p?.[e]===z.INVISIBLE,C=!E||F,S=f&&"videoTrack"===e,D="screenShareTrack"===e;return(0,es.jsxs)(es.Fragment,{children:[!C&&(0,es.jsx)("video",{...o,className:a5(r,"str-video__video",{"str-video__video--not-playing":y,"str-video__video--tall":!w,"str-video__video--mirror":S,"str-video__video--screen-share":D}),"data-user-id":m,"data-session-id":s,ref:e=>{b(e),a?.setVideoElement?.(e)}}),(C||y)&&(0,es.jsx)(i,{style:{position:"absolute"},participant:t,ref:a?.setVideoPlaceholderElement})]})},B1=e=>{let[t,r]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{let t;let i=e=>{let{state:t}=e.target;r("granted"===t)};return(async()=>{try{(t=await navigator.permissions.query({name:e})).addEventListener("change",i),r("granted"===t.state)}catch(e){r(!0)}})(),()=>{t?.removeEventListener("change",i)}},[e]),t},B2=e=>{let[t,r]=(0,el.useState)([]);return(0,el.useEffect)(()=>{let t=e().subscribe(r);return()=>{t.unsubscribe()}},[e]),t},B3=()=>B2(E7),B4=()=>B2(E9),B6=(e,t,r,i)=>{(0,el.useEffect)(()=>{if(!e)return;let a=t.pipe().subscribe(e=>{e.find(e=>e.deviceId===i)||r()});return()=>{a.unsubscribe()}},[e,t,i,r])},B5=(e,t,r)=>B6(t,E7(),e,r),B8=(e,t,r)=>B6(t,E9(),e,r),B9=(e,t,r)=>B6(t,Fe(),e,r),B7=({initialAudioMuted:e,audioDeviceId:t})=>{let r=F2(),{useCallState:i,useCallCallingState:a,useLocalParticipant:o}=Cf(),s=i(),l=a(),u=o(),d=B1("microphone"),{localParticipant$:p}=s,f=u?.publishedTracks.includes(xn.TrackType.AUDIO),m=(0,el.useCallback)(async()=>{if(r){if(!r.permissionsContext.hasPermission(kk.SEND_AUDIO))throw Error("No permission to publish audio");try{let e=await Fn({deviceId:t});await r.publishAudioStream(e)}catch(e){console.log("Failed to publish audio stream",e)}}},[t,r]),g=(0,el.useRef)(t);(0,el.useEffect)(()=>{l===q.JOINED&&t!==g.current&&(g.current=t,m().catch(e=>{console.error("Failed to publish audio stream",e)}))},[t,l,m]);let v=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{l!==q.JOINED||v.current||e||(m().catch(e=>{console.error("Failed to publish audio stream",e)}),v.current=!0)},[l,e,m]),(0,el.useEffect)(()=>{if(!p||!d)return;let e=Fo(p.pipe(ki(e=>e?.audioDeviceId))).subscribe(async()=>{r&&(r.setAudioDevice(void 0),await r.stopPublish(xn.TrackType.AUDIO))});return()=>{e.unsubscribe()}},[d,p,r]),(0,el.useEffect)(()=>{if(!u?.audioStream||!r||!f)return;let[e]=u.audioStream.getAudioTracks(),i=e.getSettings().deviceId,a=Fu().subscribe(async()=>{if(!(r&&u.audioStream&&"default"===i))return;e.stop();let t=await Fn({deviceId:"default"});await r.publishAudioStream(t)}),o=async()=>{if(i===t){let e=await Fn({deviceId:t});await r.publishAudioStream(e)}};return e.addEventListener("ended",o),()=>{e.removeEventListener("ended",o),a.unsubscribe()}},[t,r,u?.audioStream,f]),m},Ue=()=>(0,el.useMemo)(()=>"undefined"==typeof window?null:new URLSearchParams(window.location.search),[]),Ut=()=>{let e=Ue();return!!e?.get("debug")},Un=()=>{let e=Ue();return e?.get("video_codec")},Ur=({initialVideoMuted:e,videoDeviceId:t})=>{let r=F2(),{useCallState:i,useCallCallingState:a,useLocalParticipant:o,useCallSettings:s}=Cf(),l=i(),u=a(),d=o(),p=B1("camera"),{localParticipant$:f}=l,m=Un(),g=d?.publishedTracks.includes(xn.TrackType.VIDEO),v=s(),b=v?.video,y=b?.target_resolution,_=(0,el.useCallback)(async()=>{if(r){if(!r.permissionsContext.hasPermission(kk.SEND_VIDEO))throw Error("No permission to publish video");try{let e=await Fr({deviceId:t,width:y?.width,height:y?.height,facingMode:Ui(b?.camera_facing)});await r.publishVideoStream(e,{preferredCodec:m})}catch(e){console.log("Failed to publish video stream",e)}}},[r,m,y?.height,y?.width,t,b?.camera_facing]),w=(0,el.useRef)(t);(0,el.useEffect)(()=>{u===q.JOINED&&t!==w.current&&(w.current=t,_().catch(e=>{console.error("Failed to publish video stream",e)}))},[_,t,u]);let k=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{u!==q.JOINED||k.current||e||(_().catch(e=>{console.error("Failed to publish video stream",e)}),k.current=!0)},[u,e,_]),(0,el.useEffect)(()=>{if(!f||!p)return;let e=Fs(f.pipe((0,Cm.UI)(e=>e?.videoDeviceId))).subscribe(async()=>{r&&(r.setVideoDevice(void 0),await r.stopPublish(xn.TrackType.VIDEO))});return()=>{e.unsubscribe()}},[p,f,r]),(0,el.useEffect)(()=>{if(!d?.videoStream||!r||!g)return;let[e]=d.videoStream.getVideoTracks(),i=e.getSettings().deviceId,a=Fd().subscribe(async()=>{if(!(r&&d.videoStream&&"default"===i))return;e.stop();let t=await Fr({deviceId:"default"});await r.publishVideoStream(t)}),o=async()=>{if(i===t){let e=await Fr({deviceId:t});await r.publishVideoStream(e)}};return e.addEventListener("ended",o),()=>{e.removeEventListener("ended",o),a.unsubscribe()}},[t,r,d?.videoStream,g]),_},Ui=e=>{switch(e){case kx.FRONT:return"user";case kx.BACK:return"environment";default:return}},Ua=({trackedElement:e,dynascaleManager:t,sessionId:r,trackType:i})=>{let a=F2(),o=t??a?.dynascaleManager;(0,el.useEffect)(()=>{if(!e||!o||!a||"none"===i)return;let t=o.trackElementVisibility(e,r,i);return()=>{t()}},[e,o,a,r,i])},Uo=({imageSrc:e,name:t,style:r,className:i,...a})=>{let[o,s]=(0,el.useState)(!1);return(0,es.jsxs)(es.Fragment,{children:[(!e||o)&&t&&(0,es.jsx)(Us,{className:i,style:r,names:[t]}),e&&!o&&(0,es.jsx)("img",{onError:()=>s(!0),alt:"avatar",className:a5("str-video__avatar",i),src:e,style:r,...a})]})},Us=({className:e,names:t,style:r})=>(0,es.jsx)("div",{className:a5("str-video__avatar--initials-fallback",e),style:r,children:(0,es.jsxs)("div",{children:[t[0][0],t[1]?.[0]]})}),Ul=({placement:e,strategy:t})=>{let{refs:r,x:i,y:a,update:o,elements:{domReference:s,floating:l}}=function(e){void 0===e&&(e={});let{open:t=!1,onOpenChange:r,nodeId:i}=e,a=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:a,whileElementsMounted:o,open:s}=e,[l,u]=el.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=el.useState(i);Sr(d,i)||p(i);let f=el.useRef(null),m=el.useRef(null),g=el.useRef(l),v=Si(o),b=Si(a),[y,_]=el.useState(null),[w,k]=el.useState(null),x=el.useCallback(e=>{f.current!==e&&(f.current=e,_(e))},[]),E=el.useCallback(e=>{m.current!==e&&(m.current=e,k(e))},[]),F=el.useCallback(()=>{if(!f.current||!m.current)return;let e={placement:t,strategy:r,middleware:d};b.current&&(e.platform=b.current),St(f.current,m.current,e).then(e=>{let t={...e,isPositioned:!0};C.current&&!Sr(g.current,t)&&(g.current=t,fh.flushSync(()=>{u(t)}))})},[d,t,r,b]);Sn(()=>{!1===s&&g.current.isPositioned&&(g.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[s]);let C=el.useRef(!1);Sn(()=>(C.current=!0,()=>{C.current=!1}),[]),Sn(()=>{if(y&&w){if(v.current)return v.current(y,w,F);F()}},[y,w,F,v]);let S=el.useMemo(()=>({reference:f,floating:m,setReference:x,setFloating:E}),[x,E]),D=el.useMemo(()=>({reference:y,floating:w}),[y,w]);return el.useMemo(()=>({...l,update:F,refs:S,elements:D,reference:x,floating:E}),[l,F,S,D,x,E])}(e),o=Sd(),s=el.useRef(null),l=el.useRef({}),u=el.useState(()=>(function(){let e=new Map;return{emit(t,r){var i;null==(i=e.get(t))||i.forEach(e=>e(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var i;e.set(t,(null==(i=e.get(t))?void 0:i.filter(e=>e!==r))||[])}}})())[0],d=Sc(),[p,f]=el.useState(null),m=el.useCallback(e=>{let t=Sp(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;a.refs.setReference(t)},[a.refs]),g=el.useCallback(e=>{(Sp(e)||null===e)&&(s.current=e,f(e)),(Sp(a.refs.reference.current)||null===a.refs.reference.current||null!==e&&!Sp(e))&&a.refs.setReference(e)},[a.refs]),v=el.useMemo(()=>({...a.refs,setReference:g,setPositionReference:m,domReference:s}),[a.refs,g,m]),b=el.useMemo(()=>({...a.elements,domReference:p}),[a.elements,p]),y=function(e){let t=el.useRef(()=>{});return Sf(()=>{t.current=e}),el.useCallback(function(){for(var e=arguments.length,r=Array(e),i=0;i({...a,refs:v,elements:b,dataRef:l,nodeId:i,floatingId:d,events:u,open:t,onOpenChange:y}),[a,i,d,u,t,y,v,b]);return Sa(()=>{let e=null==o?void 0:o.nodesRef.current.find(e=>e.id===i);e&&(e.context=_)}),el.useMemo(()=>({...a,context:_,refs:v,elements:b,reference:g,positionReference:m}),[a,v,b,_,g,m])}({placement:e,strategy:t,middleware:[function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,i;let{x:a,y:o,placement:s,middlewareData:l}=t,u=await CL(t,e);return s===(null==(r=l.offset)?void 0:r.placement)&&null!=(i=l.arrow)&&i.alignmentOffset?{}:{x:a+u.x,y:o+u.y,data:{...u,placement:s}}}}}(10),function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...u}=Cx(e,t),d={x:r,y:i},p=await CM(t,u),f=CD(CE(a)),m=CC(f),g=d[m],v=d[f];if(o){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=g+p[e],i=g-p[t];g=Cv(r,Cg(g,i))}if(s){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=v+p[e],i=v-p[t];v=Cv(r,Cg(v,i))}let b=l.fn({...t,[m]:g,[f]:v});return{...b,data:{x:b.x-r,y:b.y-i}}}}}(),function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,i,a,o,s;let{placement:l,middlewareData:u,rects:d,initialPlacement:p,platform:f,elements:m}=t,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:w=!0,...k}=Cx(e,t);if(null!=(r=u.arrow)&&r.alignmentOffset)return{};let x=CE(l),E=CD(p),F=CE(p)===p,C=await (null==f.isRTL?void 0:f.isRTL(m.floating)),S=b||(F||!w?[CT(p)]:function(e){let t=CT(e);return[Cj(e),t,Cj(t)]}(p)),D="none"!==_;!b&&D&&S.push(...function(e,t,r,i){let a=CF(e),o=function(e,t,r){let i=["left","right"],a=["right","left"];switch(e){case"top":case"bottom":if(r)return t?a:i;return t?i:a;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(CE(e),"start"===r,i);return a&&(o=o.map(e=>e+"-"+a),t&&(o=o.concat(o.map(Cj)))),o}(p,w,_,C));let j=[p,...S],T=await CM(t,k),O=[],P=(null==(i=u.flip)?void 0:i.overflows)||[];if(g&&O.push(T[x]),v){let e=function(e,t,r){void 0===r&&(r=!1);let i=CF(e),a=CC(CD(e)),o=CS(a),s="x"===a?i===(r?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=CT(s)),[s,CT(s)]}(l,d,C);O.push(T[e[0]],T[e[1]])}if(P=[...P,{placement:l,overflows:O}],!O.every(e=>e<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=j[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let r=null==(o=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(y){case"bestFit":{let e=null==(s=P.filter(e=>{if(D){let t=CD(e.placement);return t===E||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(r=e);break}case"initialPlacement":r=p}if(l!==r)return{reset:{placement:r}}}return{}}}}(),function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,i;let{placement:a,rects:o,platform:s,elements:l}=t,{apply:u=()=>{},...d}=Cx(e,t),p=await CM(t,d),f=CE(a),m=CF(a),g="y"===CD(a),{width:v,height:b}=o.floating;"top"===f||"bottom"===f?(r=f,i=m===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(i=f,r="end"===m?"top":"bottom");let y=b-p.top-p.bottom,_=v-p.left-p.right,w=Cg(b-p[r],y),k=Cg(v-p[i],_),x=!t.middlewareData.shift,E=w,F=k;if(g?F=m||x?Cg(k,_):_:E=m||x?Cg(w,y):y,x&&!m){let e=Cv(p.left,0),t=Cv(p.right,0),r=Cv(p.top,0),i=Cv(p.bottom,0);g?F=v-2*(0!==e||0!==t?e+t:Cv(p.left,p.right)):E=b-2*(0!==r||0!==i?r+i:Cv(p.top,p.bottom))}await u({...t,availableWidth:F,availableHeight:E});let C=await s.getDimensions(l.floating);return v!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}}({padding:10,apply:({availableHeight:e,elements:t})=>{Object.assign(t.floating.style,{maxHeight:`${e}px`})}})]});return(0,el.useEffect)(()=>{if(!s||!l)return;let e=function(e,t,r,i){let a;void 0===i&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,p=CQ(e),f=o||s?[...p?CJ(p):[],...CJ(t)]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let m=p&&u?function(e,t){let r,i=null,a=CN(e);function o(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}return function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),o();let{left:d,top:p,width:f,height:m}=e.getBoundingClientRect();if(l||t(),!f||!m)return;let g=Cy(p),v=Cy(a.clientWidth-(d+f)),b={rootMargin:-g+"px "+-v+"px "+-Cy(a.clientHeight-(p+m))+"px "+-Cy(d)+"px",threshold:Cv(0,Cg(1,u))||1},y=!0;function _(e){let t=e[0].intersectionRatio;if(t!==u){if(!y)return s();t?s(!1,t):r=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{i=new IntersectionObserver(_,{...b,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(_,b)}i.observe(e)}(!0),o}(p,r):null,g=-1,v=null;l&&(v=new ResizeObserver(e=>{let[i]=e;i&&i.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),p&&!d&&v.observe(p),v.observe(t));let b=d?C3(e):null;return d&&function t(){let i=C3(e);b&&(i.x!==b.x||i.y!==b.y||i.width!==b.width||i.height!==b.height)&&r(),b=i,a=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(a)}}(s,l,o);return()=>e()},[s,l,o]),{refs:r,x:i,y:a,domReference:s,floating:l,strategy:t}},Uc=e=>{let t=F2(),r=Cl(e),[i,a]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{r&&a(!1)},[r]),{requestPermission:(0,el.useCallback)(async()=>{if(r)return!0;let o=!!t?.permissionsContext.canRequest(e);if(i||!o)return!1;a(!0);try{await t?.requestPermissions({permissions:[e]})}catch(e){throw a(!1),Error(`requestPermission failed: ${e}`)}return!1},[t,r,i,e]),hasPermission:r,canRequestPermission:!!t?.permissionsContext.canRequest(e),isAwaitingPermission:i}},Uu=()=>{let{publishAudioStream:e,stopPublishingAudio:t}=U3(),{useLocalParticipant:r}=Cf(),i=r(),{isAwaitingPermission:a,requestPermission:o}=Uc(kk.SEND_AUDIO),s=(0,el.useRef)(!1);return s.current=!i?.publishedTracks.includes(xn.TrackType.AUDIO),{toggleAudioMuteState:(0,el.useCallback)(async()=>{if(s.current&&await o())return e();s.current||await t()},[e,o,t]),isAwaitingPermission:a}},Ud=()=>{let{publishVideoStream:e,stopPublishingVideo:t}=U3(),{useLocalParticipant:r}=Cf(),i=r(),{isAwaitingPermission:a,requestPermission:o}=Uc(kk.SEND_VIDEO),s=(0,el.useRef)(!1);return s.current=!i?.publishedTracks.includes(xn.TrackType.VIDEO),{toggleVideoMuteState:(0,el.useCallback)(async()=>{if(s.current&&await o())return e();s.current||await t()},[e,o,t]),isAwaitingPermission:a}},Up=()=>{let{useLocalParticipant:e}=Cf(),t=e(),r=F2(),i=(0,el.useRef)(!1),{isAwaitingPermission:a,requestPermission:o}=Uc(kk.SCREENSHARE),s=!!t?.publishedTracks.includes(xn.TrackType.SCREEN_SHARE);return i.current=s,{toggleScreenShare:(0,el.useCallback)(async()=>{if(!i.current){if(!await o())return;let e=await Fi().catch(e=>{console.log(`Can't share screen: ${e}`)});if(e)return r?.publishScreenShareStream(e)}await r?.stopPublish(xn.TrackType.SCREEN_SHARE)},[r,o]),isAwaitingPermission:a,isScreenSharing:s}},Uf=({ToggleButton:e,placement:t="top-start",strategy:r="absolute",children:i})=>{let[a,o]=(0,el.useState)(!1),{floating:s,domReference:l,refs:u,x:d,y:p}=Ul({placement:t,strategy:r});return(0,el.useEffect)(()=>{let e=e=>{!s&&l?.contains(e.target)?o(!0):s&&!s?.contains(e.target)&&o(!1)},t=e=>{"escape"!==e.key.toLowerCase()||e.altKey||e.ctrlKey||o(!1)};return document?.addEventListener("click",e,{capture:!0}),document?.addEventListener("keydown",t),()=>{document?.removeEventListener("click",e,{capture:!0}),document?.removeEventListener("keydown",t)}},[s,l]),(0,es.jsxs)(es.Fragment,{children:[a&&(0,es.jsx)("div",{className:"str-video__menu-container",ref:u.setFloating,style:{position:r,top:p??0,left:d??0,overflowY:"auto"},children:i}),(0,es.jsx)(e,{menuShown:a,ref:u.setReference})]})},Uh=({children:e})=>(0,es.jsx)("ul",{className:"str-video__generic-menu",children:e}),Um=({children:e,...t})=>(0,es.jsx)("li",{className:"str-video__generic-menu--item",children:(0,es.jsx)("button",{...t,children:e})}),Ug=({icon:e})=>(0,es.jsx)("span",{className:a5("str-video__icon",e&&`str-video__icon--${e}`)}),Uv=(0,el.forwardRef)((e,t)=>{let{icon:r,enabled:i,variant:a,onClick:o,className:s,...l}=e;return(0,es.jsx)("button",{className:a5("str-video__call-controls__button",s,{[`str-video__call-controls__button--variant-${a}`]:a,"str-video__call-controls__button--enabled":i}),onClick:e=>{e.preventDefault(),o?.(e)},ref:t,...l,children:(0,es.jsx)(Ug,{icon:r})})}),Ub=(0,el.forwardRef)(({caption:e,children:t,active:r,Menu:i,menuPlacement:a},o)=>(0,es.jsxs)("div",{className:"str-video__composite-button",ref:o,children:[(0,es.jsxs)("div",{className:a5("str-video__composite-button__button-group",{"str-video__composite-button__button-group--active":r}),children:[t,i&&(0,es.jsx)(Uf,{placement:a,ToggleButton:Uy,children:BZ(i)?(0,es.jsx)(i,{}):i})]}),e&&(0,es.jsx)("div",{className:"str-video__composite-button__caption",children:e})]})),Uy=(0,el.forwardRef)(({menuShown:e},t)=>{let{t:r}=Ct();return(0,es.jsx)(Uv,{className:"str-video__menu-toggle-button",icon:e?"caret-down":"caret-up",title:r("Toggle device menu"),ref:t})});(0,el.forwardRef)(({Button:e,className:t,copyValue:r,onClick:i,onError:a,onSuccess:o,...s},l)=>{let u=(0,el.useCallback)(async e=>{i&&i(e);let t="function"==typeof r?r():r;try{await navigator?.clipboard.writeText(t),o?.(e.target)}catch(t){a?.(e.target,t)}},[r,i,a,o]),d={...s,ref:l,className:a5("str-video__copy-to-clipboard-button",t),onClick:u};return e?(0,es.jsx)(e,{...d}):(0,es.jsx)("button",{...d})});let U_=({disabled:e,onAccept:t,onClick:r})=>{let i=F2(),a=(0,el.useCallback)(async e=>{r?r(e):i&&(await i.join(),t?.())},[r,t,i]);return(0,es.jsx)(Uv,{disabled:e,icon:"call-accept",variant:"success",onClick:a})},Uw=e=>{let{isVisible:t,message:r,children:i,visibilityTimeout:a,resetIsVisible:o,placement:s="top",iconClassName:l="str-video__notification__icon"}=e,{refs:u,x:d,y:p,strategy:f}=Ul({placement:s,strategy:"absolute"});return(0,el.useEffect)(()=>{if(!t||!a||!o)return;let e=setTimeout(()=>{o()},a);return()=>clearTimeout(e)},[t,o,a]),(0,es.jsxs)("div",{ref:u.setReference,children:[t&&(0,es.jsxs)("div",{className:"str-video__notification",ref:u.setFloating,style:{position:f,top:p??0,left:d??0,overflowY:"auto"},children:[l&&(0,es.jsx)("i",{className:l}),(0,es.jsx)("span",{className:"str-video__notification__message",children:r})]}),i]})},Uk=e=>{let{permission:t,isAwaitingApproval:r,messageApproved:i,messageAwaitingApproval:a,messageRevoked:o,visibilityTimeout:s=3500,children:l}=e,u=Cl(t),d=(0,el.useRef)(u),[p,f]=(0,el.useState)();(0,el.useEffect)(()=>{u&&!d.current?(f("granted"),d.current=!0):!u&&d.current&&(f("revoked"),d.current=!1)},[u]);let m=(0,el.useCallback)(()=>f(void 0),[]);return r?(0,es.jsx)(Uw,{isVisible:r&&!u,message:a,children:l}):(0,es.jsx)(Uw,{isVisible:!!p,visibilityTimeout:s,resetIsVisible:m,message:"granted"===p?i:o,children:l})},Ux=({children:e,text:t})=>{let{useLocalParticipant:r}=Cf(),i=r(),{getAudioStream:a}=U3(),{t:o}=Ct(),s=t??o("You are muted. Unmute to speak."),l=!i?.publishedTracks.includes(xn.TrackType.AUDIO),u=i?.audioDeviceId,[d,p]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{if(!l)return;let e=a({deviceId:u}).then(e=>Ff(e,({isSoundDetected:e})=>{p(t=>t||e)}));return e.catch(e=>{console.error("Error while creating sound detector",e)}),()=>{e.then(e=>e()).catch(e=>{console.error("Error while disposing sound detector",e)}),p(!1)}},[u,a,l]),(0,el.useEffect)(()=>{if(!d)return;let e=setTimeout(()=>{p(!1)},3500);return()=>{clearTimeout(e),p(!1)}},[d]),(0,es.jsx)(Uw,{message:s,isVisible:d,children:e})},UE=e=>{let{label:t,value:r}=e;return(0,es.jsxs)("div",{className:"str-video__call-stats__card",children:[(0,es.jsx)("div",{className:"str-video__call-stats__card_label",children:t}),(0,es.jsx)("div",{className:"str-video__call-stats__card_value",children:r})]})};(0,el.forwardRef)(({menuShown:e},t)=>(0,es.jsx)(Ub,{ref:t,active:e,caption:"Stats",children:(0,es.jsx)(Uv,{icon:"stats",title:"Statistics"})}));let UF=({disabled:e,onClick:t,onLeave:r})=>{let i=F2(),a=(0,el.useCallback)(async e=>{t?t(e):i&&(await i.leave(),r?.())},[t,r,i]);return(0,es.jsx)(Uv,{disabled:e,icon:"call-end",variant:"danger",onClick:a})},UC={":like:":"\uD83D\uDC4D",":raise-hand:":"✋",":fireworks:":"\uD83C\uDF89",":dislike:":"\uD83D\uDC4E",":heart:":"❤️",":smile:":"\uD83D\uDE00"},US=({participant:{reaction:e,sessionId:t},hideAfterTimeoutInMs:r=5500,emojiReactionMap:i=UC})=>{let a=F2();if((0,el.useEffect)(()=>{if(!a||!e)return;let i=setTimeout(()=>{a.resetReaction(t)},r);return()=>{clearTimeout(i)}},[a,r,e,t]),!e)return null;let{emoji_code:o}=e;return(0,es.jsx)("div",{className:"str-video__reaction",children:(0,es.jsx)("span",{className:"str-video__reaction__emoji",children:o&&i[o]})})},UD=e=>{let t=F2(),{useHasOngoingScreenShare:r}=Cf(),i=r(),{t:a}=Ct(),{caption:o=a("Screen Share")}=e,{toggleScreenShare:s,isAwaitingPermission:l,isScreenSharing:u}=Up();return(0,es.jsx)(Ch,{requiredGrants:[kk.SCREENSHARE],children:(0,es.jsx)(Uk,{permission:kk.SCREENSHARE,isAwaitingApproval:l,messageApproved:a("You can now share your screen."),messageAwaitingApproval:a("Awaiting for an approval to share screen."),messageRevoked:a("You can no longer share your screen."),children:(0,es.jsx)(Ub,{active:i,caption:o,children:(0,es.jsx)(Uv,{icon:u?"screen-share-on":"screen-share-off",title:a("Share screen"),disabled:!u&&i||!t,onClick:s})})})})},Uj=({disabled:e,id:t,label:r,onChange:i,name:a,selected:o,defaultChecked:s,value:l})=>(0,es.jsxs)("label",{className:a5("str-video__device-settings__option",{"str-video__device-settings__option--selected":o,"str-video__device-settings__option--disabled":e}),htmlFor:t,children:[(0,es.jsx)("input",{type:"radio",name:a,onChange:i,value:l,id:t,checked:o,defaultChecked:s,disabled:e}),r]}),UT=e=>{let{devices:t=[],selectedDeviceId:r,title:i,onChange:a}=e,o=i.replace(" ","-").toLowerCase(),s=r;return t.length>0&&!t.find(e=>e.deviceId===s)&&(s=t[0].deviceId),(0,es.jsxs)("div",{className:"str-video__device-settings__device-kind",children:[(0,es.jsx)("div",{className:"str-video__device-settings__device-selector-title",children:i}),t.length?t.map(e=>(0,es.jsx)(Uj,{id:`${o}--${e.deviceId}`,value:e.deviceId,label:e.label,onChange:e=>{a?.(e.target.value)},name:o,selected:e.deviceId===s||1===t.length},e.deviceId)):(0,es.jsx)(Uj,{id:`${o}--default`,label:"Default",name:o,defaultChecked:!0,value:"default"})]})},UO=({title:e="Select a Mic"})=>{let{selectedAudioInputDeviceId:t,switchDevice:r}=U3(),i=B4();return(0,es.jsx)(UT,{devices:i,selectedDeviceId:t,onChange:e=>{r("audioinput",e)},title:e})},UP=({title:e})=>{let{selectedVideoDeviceId:t,switchDevice:r}=U3(),i=B3();return(0,es.jsx)(UT,{devices:i,selectedDeviceId:t,onChange:e=>{r("videoinput",e)},title:e||"Select a Camera"})};(0,el.forwardRef)(({menuShown:e},t)=>{let{t:r}=Ct();return(0,es.jsx)(Uv,{className:a5("str-video__device-settings__button",{"str-video__device-settings__button--active":e}),title:r("Toggle device menu"),icon:"device-settings",ref:t})});let UR=e=>{let{useLocalParticipant:t}=Cf(),r=t(),{t:i}=Ct(),{caption:a=i("Mic"),Menu:o=UO}=e,s=!r?.publishedTracks.includes(xn.TrackType.AUDIO),{toggleAudioMuteState:l,isAwaitingPermission:u}=Uu();return(0,es.jsx)(Ch,{requiredGrants:[kk.SEND_AUDIO],children:(0,es.jsx)(Uk,{permission:kk.SEND_AUDIO,isAwaitingApproval:u,messageApproved:i("You can now speak."),messageAwaitingApproval:i("Awaiting for an approval to speak."),messageRevoked:i("You can no longer speak."),children:(0,es.jsx)(Ub,{Menu:o,active:s,caption:a,children:(0,es.jsx)(Uv,{icon:s?"mic-off":"mic",onClick:l})})})})},UM=e=>{let{useLocalParticipant:t}=Cf(),r=t(),{t:i}=Ct(),{caption:a=i("Video"),Menu:o=UP}=e,s=!r?.publishedTracks.includes(xn.TrackType.VIDEO),{toggleVideoMuteState:l,isAwaitingPermission:u}=Ud();return(0,es.jsx)(Ch,{requiredGrants:[kk.SEND_VIDEO],children:(0,es.jsx)(Uk,{permission:kk.SEND_VIDEO,isAwaitingApproval:u,messageApproved:i("You can now share your video."),messageAwaitingApproval:i("Awaiting for an approval to share your video."),messageRevoked:i("You can no longer share your video."),children:(0,es.jsx)(Ub,{Menu:o,active:s,caption:a,children:(0,es.jsx)(Uv,{icon:s?"camera-off":"camera",onClick:l})})})})};(0,el.forwardRef)((e,t)=>(0,es.jsx)(Uv,{enabled:e.menuShown,icon:"ellipsis",ref:t}));let UL=({participant:e,participantViewElement:t,videoElement:r})=>{let[i,a]=(0,el.useState)(!!document.fullscreenElement),[o,s]=(0,el.useState)(document.pictureInPictureElement),l=F2(),{t:u}=Ct(),{pin:d,publishedTracks:p,sessionId:f,userId:m}=e,g=p.includes(xn.TrackType.AUDIO),v=p.includes(xn.TrackType.VIDEO),b=p.includes(xn.TrackType.SCREEN_SHARE),y=p.includes(xn.TrackType.SCREEN_SHARE_AUDIO),_=e=>()=>{l?.updateUserPermissions({user_id:m,grant_permissions:[e]})},w=e=>()=>{l?.updateUserPermissions({user_id:m,revoke_permissions:[e]})};return(0,el.useEffect)(()=>{if(!r)return;let e=()=>{s(document.pictureInPictureElement)};return r.addEventListener("enterpictureinpicture",e),r.addEventListener("leavepictureinpicture",e),()=>{r.removeEventListener("enterpictureinpicture",e),r.removeEventListener("leavepictureinpicture",e)}},[r]),(0,es.jsxs)(Uh,{children:[(0,es.jsxs)(Um,{onClick:()=>{d?l?.unpin(f):l?.pin(f)},disabled:d&&!d.isLocalPin,children:[(0,es.jsx)(Ug,{icon:"pin"}),u(d?"Unpin":"Pin")]}),(0,es.jsxs)(Ch,{requiredGrants:[kk.PIN_FOR_EVERYONE],children:[(0,es.jsxs)(Um,{onClick:()=>{l?.pinForEveryone({user_id:m,session_id:f}).catch(e=>{console.error(`Failed to pin participant ${m}`,e)})},disabled:d&&!d.isLocalPin,children:[(0,es.jsx)(Ug,{icon:"pin"}),u("Pin for everyone")]}),(0,es.jsxs)(Um,{onClick:()=>{l?.unpinForEveryone({user_id:m,session_id:f}).catch(e=>{console.error(`Failed to unpin participant ${m}`,e)})},disabled:!d||d.isLocalPin,children:[(0,es.jsx)(Ug,{icon:"pin"}),u("Unpin for everyone")]})]}),(0,es.jsx)(Ch,{requiredGrants:[kk.BLOCK_USERS],children:(0,es.jsxs)(Um,{onClick:()=>l?.blockUser(m),children:[(0,es.jsx)(Ug,{icon:"not-allowed"}),u("Block")]})}),(0,es.jsxs)(Ch,{requiredGrants:[kk.MUTE_USERS],children:[(0,es.jsxs)(Um,{disabled:!v,onClick:()=>l?.muteUser(m,"video"),children:[(0,es.jsx)(Ug,{icon:"camera-off-outline"}),u("Turn off video")]}),(0,es.jsxs)(Um,{disabled:!b,onClick:()=>l?.muteUser(m,"screenshare"),children:[(0,es.jsx)(Ug,{icon:"screen-share-off"}),u("Turn off screen share")]}),(0,es.jsxs)(Um,{disabled:!g,onClick:()=>l?.muteUser(m,"audio"),children:[(0,es.jsx)(Ug,{icon:"no-audio"}),u("Mute audio")]}),(0,es.jsxs)(Um,{disabled:!y,onClick:()=>l?.muteUser(m,"screenshare_audio"),children:[(0,es.jsx)(Ug,{icon:"no-audio"}),u("Mute screen share audio")]})]}),t&&(0,es.jsx)(Um,{onClick:()=>{if(!i)return t?.requestFullscreen().then(()=>a(!0)).catch(console.error);document.exitFullscreen().catch(console.error).finally(()=>a(!1))},children:u("{{ direction }} fullscreen",{direction:u(i?"Leave":"Enter")})}),r&&document.pictureInPictureEnabled&&(0,es.jsx)(Um,{onClick:()=>{if(r&&o!==r)return r.requestPictureInPicture().catch(console.error);document.exitPictureInPicture().catch(console.error)},children:u("{{ direction }} picture-in-picture",{direction:u(o===r?"Leave":"Enter")})}),(0,es.jsxs)(Ch,{requiredGrants:[kk.UPDATE_CALL_PERMISSIONS],children:[(0,es.jsx)(Um,{onClick:_(kk.SEND_AUDIO),children:u("Allow audio")}),(0,es.jsx)(Um,{onClick:_(kk.SEND_VIDEO),children:u("Allow video")}),(0,es.jsx)(Um,{onClick:_(kk.SCREENSHARE),children:u("Allow screen sharing")}),(0,es.jsx)(Um,{onClick:w(kk.SEND_AUDIO),children:u("Disable audio")}),(0,es.jsx)(Um,{onClick:w(kk.SEND_VIDEO),children:u("Disable video")}),(0,es.jsx)(Um,{onClick:w(kk.SCREENSHARE),children:u("Disable screen sharing")})]})]})};(0,el.forwardRef)((e,t)=>(0,es.jsx)(Uv,{enabled:e.menuShown,icon:"filter",ref:t})),(0,el.forwardRef)(({className:e,...t},r)=>(0,es.jsxs)("button",{...t,className:a5("str-video__invite-link-button",e),ref:r,children:[(0,es.jsx)("div",{className:"str-video__invite-participant-icon"}),(0,es.jsx)("div",{className:"str-video__invite-link-button__text",children:"Invite Link"})]})),(0,el.forwardRef)((e,t)=>(0,es.jsx)("button",{...e,className:a5("str-video__call-recording-list-item__action-button","str-video__call-recording-list-item__action-button--copy-link"),ref:t,title:"Copy the recording link",children:(0,es.jsx)("span",{className:a5("str-video__call-recording-list-item__action-button-icon","str-video__copy-button--icon")})}));let UA=()=>{let e=F2(),{useCallCallingState:t}=Cf(),r=t();if(!e)return null;let i=r!==q.RINGING;return(0,es.jsx)("div",{className:"str-video__pending-call-controls",children:e.isCreatedByMe?(0,es.jsx)(UF,{disabled:i}):(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(U_,{disabled:i}),(0,es.jsx)(UF,{onClick:()=>e.leave({reject:!0}),disabled:i})]})})},UI={[q.JOINING]:"Joining",[q.RINGING]:"Ringing",[q.MIGRATING]:"Migrating",[q.RECONNECTING]:"Re-connecting",[q.RECONNECTING_FAILED]:"Failed",[q.OFFLINE]:"No internet connection",[q.IDLE]:"",[q.UNKNOWN]:"",[q.JOINED]:"Joined",[q.LEFT]:"Left call"},UN=e=>{let{includeSelf:t=!1,totalMembersToShow:r=3}=e,i=F2(),{t:a}=Ct(),{useCallCallingState:o,useCallMembers:s}=Cf(),l=o(),u=s(),d=Cp();if(!i)return null;let p=(u||[]).slice(0,r).map(({user:e})=>e).filter(e=>e.id!==d?.id||t);if(t&&!p.find(e=>e.id===d?.id)){let e=u.find(({user:e})=>e.id===d?.id);e&&p.splice(0,1,e.user)}let f=UI[l];return(0,es.jsxs)("div",{className:"str-video__call-panel str-video__call-panel--ringing",children:[(0,es.jsx)("div",{className:"str-video__call-panel__members-list",children:p.map(e=>(0,es.jsxs)("div",{className:"str-video__call-panel__member-box",children:[(0,es.jsx)(Uo,{name:e.name,imageSrc:e.image}),e.name&&(0,es.jsx)("div",{className:"str-video__member_details",children:(0,es.jsx)("span",{className:"str-video__member_name",children:e.name})})]},e.id))}),f&&(0,es.jsx)("div",{className:"str-video__call-panel__calling-state-label",children:a(f)}),[q.RINGING,q.JOINING].includes(l)&&(0,es.jsx)(UA,{})]})};(0,el.forwardRef)((e,t)=>{let{permissionRequests:r,handleUpdatePermission:i,...a}=e,{t:o}=Ct();return(0,es.jsx)("div",{className:"str-video__permission-requests-list",ref:t,...a,children:r.map((e,t)=>{let{user:r,permissions:a}=e;return(0,es.jsx)(el.Fragment,{children:a.map(t=>(0,es.jsxs)("div",{className:"str-video__permission-request",children:[(0,es.jsx)("div",{className:"str-video__permission-request__message",children:UU(r.name||r.id,t,o)}),(0,es.jsx)(UB,{className:"str-video__permission-request__button--allow",type:"button",onClick:i(e,"grant"),children:o("Allow")}),(0,es.jsx)(UB,{className:"str-video__permission-request__button--reject",type:"button",onClick:i(e,"revoke"),children:o("Revoke")}),(0,es.jsx)(UB,{className:"str-video__permission-request__button--reject",type:"button",onClick:i(e,"dismiss"),children:o("Dismiss")})]},t))},`${r.id}/${t}`)})})});let UB=e=>{let{className:t,...r}=e;return(0,es.jsx)("button",{className:a5("str-video__permission-request__button",t),...r})},UU=(e,t,r)=>{switch(t){case kk.SEND_AUDIO:return r("{{ userName }} is requesting to speak",{userName:e});case kk.SEND_VIDEO:return r("{{ userName }} is requesting to share their camera",{userName:e});case kk.SCREENSHARE:return r("{{ userName }} is requesting to present their screen",{userName:e});default:return r("{{ userName }} is requesting permission: {{ permission }}",{userName:e,permission:t})}},Uz=({as:e="div",className:t,children:r,...i})=>(0,es.jsx)(e,{...i,className:a5("str-video",t),children:r}),UH=e=>{let{call:t,participant:r}=e,[i,a]=(0,el.useState)(),[o,s]=(0,el.useState)(()=>({f:!0,h:!0,q:!0}));return(0,el.useEffect)(()=>t.on("changePublishQuality",e=>{if("changePublishQuality"!==e.eventPayload.oneofKind)return;let{videoSenders:t}=e.eventPayload.changePublishQuality,[r]=t.map(({layers:e})=>e.map(e=>({[e.name]:e.active})));s(e=>({...e,...r}))}),[t]),(0,es.jsxs)("select",{title:`Published tracks: ${JSON.stringify(o)}`,value:i,onChange:e=>{let i=e.target.value;a(i);let o=960,s=540;"h"===i?(o/=2,s/=2):"q"===i&&(o/=4,s/=4),t.updateSubscriptionsPartial("video",{[r.sessionId]:{dimension:{width:o,height:s}}})},children:[(0,es.jsx)("option",{value:"f",children:"High (f)"}),(0,es.jsx)("option",{value:"h",children:"Medium (h)"}),(0,es.jsx)("option",{value:"q",children:"Low (q)"})]})},Uq=e=>{let{call:t,mediaStream:r,sessionId:i,userId:a}=e,{useCallStatsReport:o}=Cf(),s=o();(0,el.useEffect)(()=>(t.startReportingStatsFor(i),()=>{t.stopReportingStatsFor(i)}),[t,i]);let l=s?.participants[i],u=l?.flatMap(e=>e.streams),d=(0,el.useRef)({f:0,h:0,q:0}),p=(0,el.useRef)({f:0,h:0,q:0});u?.forEach(e=>{if("video"!==e.kind)return;let{frameWidth:t=0,frameHeight:r=0,rid:o=""}=e;if(t!==d.current[o]||r!==p.current[o]){let e=`${t}x${r}`;console.log(`Track stats (${a}/${i}): ${o}(${e})`),d.current[o]=t,p.current[o]=r}});let{refs:f,strategy:m,y:g,x:v}=Ul({placement:"top",strategy:"absolute"}),[b,y]=(0,el.useState)(!1),[_]=r?.getVideoTracks()??[],w=_?.getSettings();return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)("span",{className:"str-video__debug__track-stats-icon",tabIndex:0,ref:f.setReference,title:w&&`${w.width}x${w.height}@${Math.round(w.frameRate||0)}`,onClick:()=>{y(e=>!e)}}),b&&(0,es.jsxs)("div",{className:"str-video__debug__track-stats str-video__call-stats",ref:f.setFloating,style:{position:m,top:g??0,left:v??0,overflowY:"auto"},children:[(0,es.jsx)("h3",{children:"Participant stats"}),(0,es.jsx)("div",{className:"str-video__call-stats__card-container",children:u?.map(e=>"video"===e.kind?es.jsx(UE,{label:`${e.kind}: ${e.codec} `+(e.rid?` (${e.rid})`:""),value:`${e.frameWidth||0}x${e.frameHeight||0}@${e.framesPerSecond||0}fps`},`${e.rid}/${e.ssrc}/${e.codec}/${e.kind}`):"audio"===e.kind?es.jsx(UE,{label:e.codec||"N/A",value:`Jitter: ${e.jitter||0}ms`},`${e.ssrc}/${e.codec}/${e.kind}`):null).filter(Boolean)}),l?.map((e,t)=>es.jsx("pre",{children:JSON.stringify(UV(e.rawStats),null,2)},t))]})]})},UV=e=>{let t={};return e?.forEach(e=>{t[e.id]=e}),t},UW=(0,el.forwardRef)((e,t)=>(0,es.jsx)(Uv,{enabled:e.menuShown,icon:"ellipsis",ref:t})),U$=()=>{let e=F2();return(0,es.jsxs)("div",{className:"str-video__screen-share-overlay",children:[(0,es.jsx)(Ug,{icon:"screen-share-off"}),(0,es.jsx)("span",{className:"str-video__screen-share-overlay__title",children:"You are presenting your screen"}),(0,es.jsxs)("button",{onClick:()=>{e?.stopPublish(xn.TrackType.SCREEN_SHARE).catch(console.error)},className:"str-video__screen-share-overlay__button",children:[(0,es.jsx)(Ug,{icon:"close"})," Stop Screen Sharing"]})]})},UG=({indicatorsVisible:e=!0,menuPlacement:t="bottom-end",showMenuButton:r=!0})=>{let{participant:i,participantViewElement:a,trackType:o,videoElement:s}=UZ(),{publishedTracks:l}=i,u=l.includes(xn.TrackType.SCREEN_SHARE);return i.isLocalParticipant&&u&&"screenShareTrack"===o?(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(U$,{}),(0,es.jsx)(UY,{indicatorsVisible:e})]}):(0,es.jsxs)(es.Fragment,{children:[r&&(0,es.jsx)(Uf,{strategy:"fixed",placement:t,ToggleButton:UW,children:(0,es.jsx)(UL,{participantViewElement:a,participant:i,videoElement:s})}),(0,es.jsx)(US,{participant:i}),(0,es.jsx)(UY,{indicatorsVisible:e})]})},UY=({indicatorsVisible:e=!0})=>{let{participant:t}=UZ(),{isDominantSpeaker:r,isLocalParticipant:i,connectionQuality:a,publishedTracks:o,pin:s,sessionId:l,name:u,userId:d,videoStream:p}=t,f=F2(),m=!!a&&xn.ConnectionQuality[a].toLowerCase(),g=o.includes(xn.TrackType.AUDIO),v=o.includes(xn.TrackType.VIDEO),b=!!s&&s.isLocalPin,y=Ut();return(0,es.jsxs)("div",{className:"str-video__participant-details",children:[(0,es.jsxs)("span",{className:"str-video__participant-details__name",children:[u||d,e&&r&&(0,es.jsx)("span",{className:"str-video__participant-details__name--dominant_speaker",title:"Dominant speaker"}),e&&(0,es.jsx)(Uw,{isVisible:i&&a===xn.ConnectionQuality.POOR,message:"Poor connection quality. Please check your internet connection.",children:m&&(0,es.jsx)("span",{className:a5("str-video__participant-details__connection-quality",`str-video__participant-details__connection-quality--${m}`),title:m})}),e&&!g&&(0,es.jsx)("span",{className:"str-video__participant-details__name--audio-muted"}),e&&!v&&(0,es.jsx)("span",{className:"str-video__participant-details__name--video-muted"}),e&&b&&(0,es.jsx)("span",{title:"Unpin",onClick:()=>f?.unpin(l),style:{cursor:"pointer"},className:"str-video__participant-details__name--pinned"})]}),y&&(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(UH,{participant:t,call:f}),(0,es.jsx)(Uq,{call:f,sessionId:l,userId:d,mediaStream:p})]})]})},UK=(0,el.createContext)(void 0),UZ=()=>(0,el.useContext)(UK),UJ=(0,el.forwardRef)(({participant:e,trackType:t="videoTrack",muteAudio:r,refs:{setVideoElement:i,setVideoPlaceholderElement:a}={},className:o,VideoPlaceholder:s,ParticipantViewUI:l=UG},u)=>{let{isLocalParticipant:d,isSpeaking:p,isDominantSpeaker:f,publishedTracks:m,sessionId:g}=e,v=m.includes(xn.TrackType.AUDIO),b=m.includes(xn.TrackType.VIDEO),y=m.includes(xn.TrackType.SCREEN_SHARE_AUDIO),[_,w]=(0,el.useState)(null),[k,x]=(0,el.useState)(null),[E,F]=(0,el.useState)(null);Ua({sessionId:g,trackedElement:_,trackType:t});let C=(0,el.useMemo)(()=>({participant:e,participantViewElement:_,videoElement:k,videoPlaceholderElement:E,trackType:t}),[k,E,e,_,t]),S=(0,el.useMemo)(()=>({setVideoElement:e=>{i?.(e),x(e)},setVideoPlaceholderElement:e=>{a?.(e),F(e)}}),[i,a]);return(0,es.jsx)("div",{"data-testid":"participant-view",ref:e=>{BX(u,e),w(e)},className:a5("str-video__participant-view",f&&"str-video__participant-view--dominant-speaker",p&&"str-video__participant-view--speaking",!b&&"str-video__participant-view--no-video",!v&&"str-video__participant-view--no-audio",o),children:(0,es.jsxs)(UK.Provider,{value:C,children:[!d&&!r&&(0,es.jsxs)(es.Fragment,{children:[v&&(0,es.jsx)(BY,{participant:e,trackType:"audioTrack"}),y&&(0,es.jsx)(BY,{participant:e,trackType:"screenShareAudioTrack"})]}),(0,es.jsx)(B0,{VideoPlaceholder:s,participant:e,trackType:t,refs:S,autoPlay:!0}),BZ(l)?(0,es.jsx)(l,{}):l]})})}),UX={starting:"stopped",playing:"stopped",stopped:"starting",uninitialized:"starting",error:"starting"},UQ={starting:{type:"starting",enabled:!0},playing:{type:"playing",enabled:!0},stopped:{type:"stopped",enabled:!1},uninitialized:{type:"uninitialized",enabled:!1},error:{type:"error",message:"",enabled:!1}},U0="default",U1=(0,el.createContext)(null),U2=({children:e,initialAudioEnabled:t,initialVideoEnabled:r,initialVideoInputDeviceId:i=U0,initialAudioOutputDeviceId:a=U0,initialAudioInputDeviceId:o=U0})=>{let s=F2(),{useCallCallingState:l,useCallState:u,useCallSettings:d}=Cf(),p=l(),{localParticipant$:f}=u(),m=B1("camera"),g=B1("microphone"),[v,b]=(0,el.useState)(o),[y,_]=(0,el.useState)(a),[w,k]=(0,el.useState)(i),[x]=(0,el.useState)(()=>E1()),[E,F]=(0,el.useState)(!!t),[C,S]=(0,el.useState)(()=>r?UQ.starting:UQ.uninitialized),D=d();(0,el.useEffect)(()=>{if(!D)return;let{audio:e,video:i}=D;void 0===t&&e.mic_default_on&&F(e.mic_default_on),void 0===r&&i.camera_default_on&&S(UQ.starting)},[t,r,D]);let j=Ur({initialVideoMuted:!C.enabled,videoDeviceId:w}),T=B7({initialAudioMuted:!E,audioDeviceId:v}),O=(0,el.useCallback)(async()=>{p===q.IDLE||p===q.RINGING?F(!1):s?.stopPublish(xn.TrackType.AUDIO)},[s,p]),P=(0,el.useCallback)(async()=>{p===q.IDLE||p===q.RINGING?S(UQ.stopped):s?.stopPublish(xn.TrackType.VIDEO)},[s,p]),R=(0,el.useCallback)(()=>F(e=>!e),[]),M=(0,el.useCallback)(()=>S(e=>UQ[UX[e.type]]),[]),L=(0,el.useCallback)((e,t)=>{"videoinput"===e&&k(t),"audioinput"===e&&b(t),"audiooutput"===e&&_(t)},[]);return B8(()=>L("audioinput",U0),g,v),B9(()=>L("audiooutput",U0),g,y),B5(()=>L("videoinput",U0),m,w),(0,el.useEffect)(()=>{s&&p===q.JOINED&&s.setAudioOutputDevice(y)},[s,p,y]),(0,el.useEffect)(()=>{if(!f||!g)return;let e=Fl(f.pipe(ki(e=>e?.audioOutputDeviceId))).subscribe(async()=>{_(U0)});return()=>{e.unsubscribe()}},[g,f]),(0,es.jsx)(U1.Provider,{value:{disposeOfMediaStream:Fp,getAudioStream:Fn,getVideoStream:Fr,isAudioOutputChangeSupported:x,selectedAudioInputDeviceId:v,selectedAudioOutputDeviceId:y,selectedVideoDeviceId:w,switchDevice:L,initialAudioEnabled:E,initialVideoState:C,setInitialAudioEnabled:F,setInitialVideoState:S,toggleInitialAudioMuteState:R,toggleInitialVideoMuteState:M,publishAudioStream:T,publishVideoStream:j,stopPublishingAudio:O,stopPublishingVideo:P},children:e})},U3=()=>{let e=(0,el.useContext)(U1);return e||console.warn("Null MediaDevicesContext"),e},U4=({children:e,call:t,mediaDevicesProviderProps:r})=>(0,es.jsx)(F1,{call:t,children:(0,es.jsx)(U2,{...r,children:e})}),U6={en:{Joining:"Joining",Mic:"Mic","No internet connection":"No internet connection","Re-connecting":"Re-connecting",Ringing:"Ringing","Screen Share":"Screen Share","Select a Camera":"Select a Camera","Select a Mic":"Select a Mic","Select Speakers":"Select Speakers",Speakers:"Speakers",Video:"Video","You are muted. Unmute to speak.":"You are muted. Unmute to speak.",Live:"Live","You can now speak.":"You can now speak.","Awaiting for an approval to speak.":"Awaiting for an approval to speak.","You can no longer speak.":"You can no longer speak.","You can now share your video.":"You can now share your video.","Awaiting for an approval to share your video.":"Awaiting for an approval to share your video.","You can no longer share your video.":"You can no longer share your video.","Waiting for recording to stop...":"Waiting for recording to stop...","Waiting for recording to start...":"Waiting for recording to start...","Record call":"Record call",Reactions:"Reactions","You can now share your screen.":"You can now share your screen.","Awaiting for an approval to share screen.":"Awaiting for an approval to share screen.","You can no longer share your screen.":"You can no longer share your screen.","Share screen":"Share screen","Incoming Call...":"Incoming Call...","Calling...":"Calling...","Mute All":"Mute All",Invite:"Invite",Join:"Join",You:"You",Me:"Me",Unknown:"Unknown","Toggle device menu":"Toggle device menu",Allow:"Allow",Revoke:"Revoke",Dismiss:"Dismiss","Microphone on":"Microphone on","Microphone off":"Microphone off","Camera on":"Camera on","Camera off":"Camera off",Pinned:"Pinned",Unpin:"Unpin",Pin:"Pin","Pin for everyone":"Pin for everyone","Unpin for everyone":"Unpin for everyone",Block:"Block","Turn off video":"Turn off video","Turn off screen share":"Turn off screen share","Mute audio":"Mute audio","Mute screen share audio":"Mute screen share audio","Allow audio":"Allow audio","Allow video":"Allow video","Allow screen sharing":"Allow screen sharing","Disable audio":"Disable audio","Disable video":"Disable video","Disable screen sharing":"Disable screen sharing",Enter:"Enter",Leave:"Leave","{{ direction }} fullscreen":"{{ direction }} fullscreen","{{ direction }} picture-in-picture":"{{ direction }} picture-in-picture",Participants:"Participants",Anonymous:", and ({{ count }}) anonymous","No participants found":"No participants found","Participants ({{ numberOfParticipants }})":"Participants ({{ numberOfParticipants }})","{{ userName }} is sharing their screen":"{{ userName }} is sharing their screen","{{ userName }} is requesting to speak":"{{ userName }} is requesting to speak","{{ userName }} is requesting to share their camera":"{{ userName }} is requesting to share their camera","{{ userName }} is requesting to present their screen":"{{ userName }} is requesting to present their screen","{{ userName }} is requesting permission: {{ permission }}":"{{ userName }} is requesting permission: {{ permission }}"}},U5=e=>(0,es.jsx)(Cr,{translationsOverrides:U6,...e}),U8=e=>{(0,el.useEffect)(()=>{if(e)return e.setSortParticipantsBy(EG),()=>{U9(e)}},[e])},U9=e=>{let t=EQ.get(e.type);e.setSortParticipantsBy(t.options.sortParticipantsBy||E$)},U7=16,ze=({group:e,VideoPlaceholder:t,ParticipantViewUI:r})=>(0,es.jsx)("div",{className:a5("str-video__paginated-grid-layout__group",{"str-video__paginated-grid-layout--one":1===e.length,"str-video__paginated-grid-layout--two-four":e.length>=2&&e.length<=4,"str-video__paginated-grid-layout--five-nine":e.length>=5&&e.length<=9}),children:e.map(e=>(0,es.jsx)(UJ,{participant:e,muteAudio:!0,VideoPlaceholder:t,ParticipantViewUI:r},e.sessionId))}),zt=({groupSize:e=U7,excludeLocalParticipant:t=!1,pageArrowsVisible:r=!0,VideoPlaceholder:i,ParticipantViewUI:a=UG})=>{let[o,s]=(0,el.useState)(0),[l,u]=(0,el.useState)(null),d=F2(),{useParticipants:p,useRemoteParticipants:f}=Cf(),m=p(),g=f();U8(d),(0,el.useEffect)(()=>{if(!l||!d)return;let e=d.setViewport(l);return()=>e()},[l,d]);let v=(0,el.useMemo)(()=>BJ(t?g:m,e),[t,g,m,e]),b=v.length;(0,el.useEffect)(()=>{o>b-1&&s(Math.max(0,b-1))},[o,b]);let y=v[o];return d?(0,es.jsxs)("div",{className:"str-video__paginated-grid-layout__wrapper",ref:u,children:[(0,es.jsx)(BK,{participants:g}),(0,es.jsxs)("div",{className:"str-video__paginated-grid-layout",children:[r&&b>1&&(0,es.jsx)(Uv,{icon:"caret-left",disabled:0===o,onClick:()=>s(e=>Math.max(0,e-1))}),y&&(0,es.jsx)(ze,{group:v[o],VideoPlaceholder:i,ParticipantViewUI:a}),r&&b>1&&(0,es.jsx)(Uv,{disabled:o===b-1,icon:"caret-right",onClick:()=>s(e=>Math.min(b-1,e+1))})]})]}):null},[zn,zr,zi]="0.3.47".split(".");xn.SdkType.REACT;let za=((e,t=21)=>c8(e,t,c5))("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",10),zo=()=>{let e=Ci(),{channel:t}=pn(),r=(0,el.useCallback)(()=>{e?.call("default",function(e=12){return za(e)}()).getOrCreate({ring:!0,data:{custom:{channelCid:t.cid},members:Object.values(t.state.members).map(e=>({user_id:e.user_id}))}}).then(e=>{console.log("call",e)})},[e,t.cid,t.state.members]),i=!e;return es.jsx("button",{className:"rmc__button rmc__button--green",disabled:i,onClick:r,children:es.jsx("span",{children:"Start a call"})})},zs=()=>(0,es.jsxs)("svg",{"data-testid":"menu-icon",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",children:[es.jsx("title",{children:"Menu"}),es.jsx("path",{d:"M0 88C0 74.75 10.75 64 24 64H424C437.3 64 448 74.75 448 88C448 101.3 437.3 112 424 112H24C10.75 112 0 101.3 0 88zM0 248C0 234.7 10.75 224 24 224H424C437.3 224 448 234.7 448 248C448 261.3 437.3 272 424 272H24C10.75 272 0 261.3 0 248zM424 432H24C10.75 432 0 421.3 0 408C0 394.7 10.75 384 24 384H424C437.3 384 448 394.7 448 408C448 421.3 437.3 432 424 432z",fill:"currentColor"})]}),zl=ec().memo(e=>{let{image:t,live:r,title:i}=e,{channel:a,watcher_count:o}=pn("ChannelHeader"),{openMobileNav:s}=a4("ChannelHeader"),{t:l}=aZ("ChannelHeader"),{displayImage:u,displayTitle:d}=cE({channel:a,overrideImage:t,overrideTitle:i}),{member_count:p,subtitle:f}=a?.data||{};return(0,es.jsxs)("div",{className:"str-chat__header-livestream str-chat__channel-header",children:[es.jsx("button",{"aria-label":"Menu",className:"str-chat__header-hamburger",onClick:s,children:es.jsx(zs,{})}),es.jsx(ok,{image:u,name:d,shape:"rounded",size:a?.type==="commerce"?60:40}),(0,es.jsxs)("div",{className:"str-chat__header-livestream-left str-chat__channel-header-end",children:[(0,es.jsxs)("p",{className:"str-chat__header-livestream-left--title str-chat__channel-header-title",children:[d," ",r&&es.jsx("span",{className:"str-chat__header-livestream-left--livelabel",children:l("live")})]}),!!f&&es.jsx("p",{className:"str-chat__header-livestream-left--subtitle",children:l("{{ subtitle }}",{subtitle:f})}),(0,es.jsxs)("p",{className:"str-chat__header-livestream-left--members str-chat__channel-header-info",children:[!r&&!!p&&p>0&&(0,es.jsxs)(es.Fragment,{children:[l("{{ memberCount }} members",{memberCount:p}),","," "]}),l("{{ watcherCount }} online",{watcherCount:o})]})]}),es.jsx(zo,{})]})}),zc=()=>(0,es.jsxs)(bL,{children:[(0,es.jsxs)(bA,{children:[es.jsx(zl,{}),es.jsx(ya,{}),es.jsx(bi,{focus:!0})]}),es.jsx(yD,{})]}),zu=(e,t)=>{let r=Date.now();return i=>{r+t-Date.now()<=0&&(e(i),r=Date.now())}},zd=e=>{let t=(0,el.useRef)(null);(0,el.useEffect)(()=>{if(!e)return;let r=r=>{if(!(0===r.button&&1===r.buttons))return;let{left:i,top:a}=e.getBoundingClientRect();t.current={x:r.clientX-i,y:r.clientY-a}},i=()=>{document.removeEventListener("mousemove",a),t.current=null},a=r=>{if(!t.current)return;let i=r.pageX-t.current.x,a=r.pageY-t.current.y;e.style.left=i+"px",e.style.top=a+"px"};return e.addEventListener("mousedown",r),document.addEventListener("mouseup",i),document.addEventListener("mousemove",zu(a,100)),()=>{e.removeEventListener("mousedown",r),document.removeEventListener("mouseup",i),document.removeEventListener("mousemove",a)}},[e])},zp=()=>{let e=F2(),{useCallCallingState:t,useCallCustomData:r}=Cf(),i=t(),a=r(),{channel:o}=a4(),[s,l]=(0,el.useState)(null);if(zd(s),!e)return null;let u=o?.cid===a.channelCid;return q.RINGING!==i||u?i===q.JOINED?(0,es.jsxs)("div",{className:"str-video__call-panel rmc__call-panel-wrapper",ref:l,children:[es.jsx(zt,{groupSize:4}),(0,es.jsxs)("div",{className:"rmc__active-call-controls",children:[es.jsx(UD,{}),es.jsx(Ux,{children:es.jsx(UR,{})}),es.jsx(UM,{}),es.jsx(UF,{})]})]}):[q.RINGING,q.JOINING].includes(i)?es.jsx("div",{className:"rmc__call-panel-wrapper",ref:l,children:es.jsx(UN,{})}):null:null},zf=()=>{let e=Cd();return es.jsx(es.Fragment,{children:e.map(e=>es.jsx(U4,{call:e,children:es.jsx(zp,{})},e.cid))})};function zh(){return es.jsx("form",{action:"/auth/sign-out",method:"post",className:"w-6 h-6 flex items-center",children:es.jsx("button",{children:es.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:es.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75"})})})})}function zm({user:e}){return(0,es.jsxs)("div",{className:"text-white flex items-center justify-between profile-row p-4",children:[es.jsx(ok,{image:`https://getstream.io/random_png/?id=${e?.id||"undefined"}&name=${e?.name||"undefined"}`,shape:"rounded",size:50}),(0,es.jsxs)("div",{className:"flex items-center",children:[es.jsx("button",{className:"w-6 h-6",children:es.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:es.jsx("path",{fillRule:"evenodd",d:"M12 2.25c-2.429 0-4.817.178-7.152.521C2.87 3.061 1.5 4.795 1.5 6.741v6.018c0 1.946 1.37 3.68 3.348 3.97.877.129 1.761.234 2.652.316V21a.75.75 0 001.28.53l4.184-4.183a.39.39 0 01.266-.112c2.006-.05 3.982-.22 5.922-.506 1.978-.29 3.348-2.023 3.348-3.97V6.741c0-1.947-1.37-3.68-3.348-3.97A49.145 49.145 0 0012 2.25zM8.25 8.625a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25zm2.625 1.125a1.125 1.125 0 112.25 0 1.125 1.125 0 01-2.25 0zm4.875-1.125a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25z",clipRule:"evenodd"})})}),es.jsx(zh,{})]})]})}function zg({user:e}){let[t,r]=(0,el.useState)(!0),i=r9.getInstance("5nz6vmfhyptn"),[a,o]=(0,el.useState)(),s={type:"messaging",members:{$in:[e.id]}},l=i.user;return(0,es.jsxs)(es.Fragment,{children:[t&&es.jsx("div",{className:"text-white w-full flex items-center justify-center",children:es.jsx("p",{children:"Loading…"})}),!t&&a&&es.jsx("div",{id:"root",children:es.jsx(a6,{client:i,children:es.jsx(U5,{client:a,children:(0,es.jsxs)(Uz,{as:"main",className:"main-container",children:[(0,es.jsxs)("div",{className:"channel-list-container",children:[es.jsx(zm,{user:l}),es.jsx(c2,{sort:{last_message_at:-1},filters:s,showChannelSearch:!0})]}),es.jsx(zc,{}),es.jsx(zf,{})]})})})})]})}r(86418),r(15044),r(6698)},56230:(e,t)=>{"use strict";t.Nm=t.Rq=void 0;var r=/^([^\w]*)(javascript|data|vbscript)/im,i=/&#(\w+)(^\w|;)?/g,a=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s=/^.+(:|:)/gim,l=[".","/"];t.Rq="about:blank",t.Nm=function(e){if(!e)return t.Rq;var u=e.replace(o,"").replace(i,function(e,t){return String.fromCharCode(t)}).replace(a,"").replace(o,"").trim();if(!u)return t.Rq;if(l.indexOf(u[0])>-1)return u;var d=u.match(s);if(!d)return u;var p=d[0];return r.test(p)?t.Rq:u}},73930:(e,t,r)=>{e.exports={parallel:r(37638),serial:r(70545),serialOrdered:r(57779)}},89774:e=>{e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}};function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}},1281:(e,t,r)=>{var i=r(19336);e.exports=function(e){var t=!1;return i(function(){t=!0}),function(r,a){t?e(r,a):i(function(){e(r,a)})}}},19336:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},72534:(e,t,r)=>{var i=r(1281),a=r(89774);e.exports=function(e,t,r,o){var s,l,u=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[u]=(s=e[u],l=function(e,t){u in r.jobs&&(delete r.jobs[u],e?a(r):r.results[u]=t,o(e,r.results))},2==t.length?t(s,i(l)):t(s,u,i(l)))}},66807:e=>{e.exports=function(e,t){var r=!Array.isArray(e),i={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&i.keyedList.sort(r?t:function(r,i){return t(e[r],e[i])}),i}},19867:(e,t,r)=>{var i=r(89774),a=r(1281);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,i(this),a(e)(null,this.results))}},37638:(e,t,r)=>{var i=r(72534),a=r(66807),o=r(19867);e.exports=function(e,t,r){for(var s=a(e);s.index<(s.keyedList||e).length;)i(e,t,s,function(e,t){if(e){r(e,t);return}if(0===Object.keys(s.jobs).length){r(null,s.results);return}}),s.index++;return o.bind(s,r)}},70545:(e,t,r)=>{var i=r(57779);e.exports=function(e,t,r){return i(e,t,null,r)}},57779:(e,t,r)=>{var i=r(72534),a=r(66807),o=r(19867);function s(e,t){return et?1:0}e.exports=function(e,t,r,s){var l=a(e,r);return i(e,t,l,function r(a,o){if(a){s(a,o);return}if(l.index++,l.index<(l.keyedList||e).length){i(e,t,l,r);return}s(null,l.results)}),o.bind(l,s)},e.exports.ascending=s,e.exports.descending=function(e,t){return -1*s(e,t)}},34191:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),i=e.name||"",a=(e.type||"").toLowerCase(),o=a.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):a===t})}return!0}},714:(e,t)=>{"use strict";t.JQ=function(e){for(var t,i=e.length,a=i%3,o=[],s=0,l=i-a;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}(e,s,s+16383>l?l:s+16383));return 1===a?o.push(r[(t=e[i-1])>>2]+r[t<<4&63]+"=="):2===a&&o.push(r[(t=(e[i-2]<<8)+e[i-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],i=[],a=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o=0,s=a.length;o{"use strict";var i=r(14300).Buffer,a=r(14300).SlowBuffer;function o(e,t){if(!i.isBuffer(e)||!i.isBuffer(t)||e.length!==t.length)return!1;for(var r=0,a=0;a{var i=r(73837),a=r(12781).Stream,o=r(4130);function s(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=s,i.inherits(s,a),s.create=function(e){var t=new this;for(var r in e=e||{})t[r]=e[r];return t},s.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},s.prototype.append=function(e){if(s.isStreamLike(e)){if(!(e instanceof o)){var t=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},s.prototype.pipe=function(e,t){return a.prototype.pipe.call(this,e,t),this.resume(),e},s.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},s.prototype._realGetNext=function(){var e=this._streams.shift();if(void 0===e){this.end();return}if("function"!=typeof e){this._pipeNext(e);return}e((function(e){s.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}).bind(this))},s.prototype._pipeNext=function(e){if(this._currentStream=e,s.isStreamLike(e)){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}this.write(e),this._getNext()},s.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},s.prototype.write=function(e){this.emit("data",e)},s.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},s.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},s.prototype.end=function(){this._reset(),this.emit("end")},s.prototype.destroy=function(){this._reset(),this.emit("close")},s.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},s.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(e))}},s.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},s.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},88295:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",r="minute",i="hour",a="week",o="month",s="quarter",l="year",u="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m=function(e,t,r){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(r)+e},g="en",v={};v[g]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}};var b="$isDayjsObject",y=function(e){return e instanceof x||!(!e||!e[b])},_=function e(t,r,i){var a;if(!t)return g;if("string"==typeof t){var o=t.toLowerCase();v[o]&&(a=o),r&&(v[o]=r,a=o);var s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var l=t.name;v[l]=t,a=l}return!i&&a&&(g=a),a||!i&&g},w=function(e,t){if(y(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},k={s:m,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+m(Math.floor(r/60),2,"0")+":"+m(r%60,2,"0")},m:function e(t,r){if(t.date()=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t},e.exports=i(r(88295))},78630:function(e,t,r){var i;i=function(e){"use strict";var t={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t},e.exports=i(r(88295))},92562:function(e,t,r){var i;i=function(e){"use strict";var t="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),r="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),i="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),a="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function s(e,t,r){var i,a;return"m"===r?t?"минута":"минуту":e+" "+(i=+e,a=({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"})[r].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2])}var l=function(e,i){return o.test(i)?t[e.month()]:r[e.month()]};l.s=r,l.f=t;var u=function(e,t){return o.test(t)?i[e.month()]:a[e.month()]};u.s=a,u.f=i;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:l,monthsShort:u,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:s,mm:s,h:"час",hh:s,d:"день",dd:s,M:"месяц",MM:s,y:"год",yy:s},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(d,null,!0),d},e.exports=i(r(88295))},1655:function(e,t,r){var i;i=function(e){"use strict";var t={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t},e.exports=i(r(88295))},74392:function(e){var t;t=function(){return function(e,t,r){var i="h:mm A",a={lastDay:"[Yesterday at] "+i,sameDay:"[Today at] "+i,nextDay:"[Tomorrow at] "+i,nextWeek:"dddd [at] "+i,lastWeek:"[Last] dddd [at] "+i,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var i=t||this.$locale().calendar||a,o=r(e||void 0).startOf("d"),s=this.diff(o,"d",!0),l="sameElse",u=s<-6?l:s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":l,d=i[u]||a[u];return"function"==typeof d?d.call(this,r()):this.format(d)}}},e.exports=t()},7846:function(e){var t;t=function(){return function(e,t,r){var i=t.prototype,a=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,r,i,o){var s=e.name?e:e.$locale(),l=a(s[t]),u=a(s[r]),d=l||u.map(function(e){return e.slice(0,i)});if(!o)return d;var p=s.weekStart;return d.map(function(e,t){return d[(t+(p||0))%7]})},s=function(){return r.Ls[r.locale()]},l=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return u.bind(this)()},r.localeData=function(){var e=s();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return o(s(),"months")},r.monthsShort=function(){return o(s(),"monthsShort","months",3)},r.weekdays=function(e){return o(s(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return o(s(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return o(s(),"weekdaysMin","weekdays",2,e)}}},e.exports=t()},53616:function(e){var t;t=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,r,i){var a=r.prototype,o=a.format;i.en.formats=e,a.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var r,i,a=this.$locale().formats,s=(r=t,i=void 0===a?{}:a,r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,a){var o=a&&a.toUpperCase();return r||i[a]||e[a]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})}));return o.call(this,s)}}},e.exports=t()},62989:function(e){var t;t=function(){return function(e,t,r){e=e||{};var i=t.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,r,a){return i.fromToBase(e,t,r,a)}r.en.relativeTime=a,i.fromToBase=function(t,i,o,s,l){for(var u,d,p,f=o.$locale().relativeTime||a,m=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],g=m.length,v=0;v0,y<=b.r||!b.r){y<=1&&v>0&&(b=m[v-1]);var _=f[b.l];l&&(y=l(""+y)),d="string"==typeof _?_.replace("%d",y):_(y,i,b.l,p);break}}if(i)return d;var w=p?f.future:f.past;return"function"==typeof w?w(d):w.replace("%s",d)},i.to=function(e,t){return o(e,t,this,!0)},i.from=function(e,t){return o(e,t,this)};var s=function(e){return e.$u?r.utc():r()};i.toNow=function(e){return this.to(s(this),e)},i.fromNow=function(e){return this.from(s(this),e)}}},e.exports=t()},69748:function(e){var t;t=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,i,a){var o,s=function(e,r,i){void 0===i&&(i={});var a,o,s,l,u=new Date(e);return(void 0===(a=i)&&(a={}),(l=t[s=r+"|"+(o=a.timeZoneName||"short")])||(l=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),t[s]=l),l).formatToParts(u)},l=function(t,r){for(var i=s(t,r),o=[],l=0;l=0&&(o[f]=parseInt(p,10))}var m=o[3],g=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===m?0:m)+":"+o[4]+":"+o[5]+":000",v=+t;return(a.utc(g).valueOf()-(v-=v%1e3))/6e4},u=i.prototype;u.tz=function(e,t){void 0===e&&(e=o);var r=this.utcOffset(),i=this.toDate(),s=i.toLocaleString("en-US",{timeZone:e}),l=Math.round((i-new Date(s))/1e3/60),u=a(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(-(15*Math.round(i.getTimezoneOffset()/15))-l,!0);if(t){var d=u.utcOffset();u=u.add(r-d,"minute")}return u.$x.$timezone=e,u},u.offsetName=function(e){var t=this.$x.$timezone||a.tz.guess(),r=s(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var d=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return d.call(this,e,t);var r=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return d.call(r,e,t).tz(this.$x.$timezone,!0)},a.tz=function(e,t,r){var i=r&&t,s=r||t||o,u=l(+a(),s);if("string"!=typeof e)return a(e).tz(s);var d=function(e,t,r){var i=e-60*t*1e3,a=l(i,r);if(t===a)return[i,t];var o=l(i-=60*(a-t)*1e3,r);return a===o?[i,a]:[e-60*Math.min(a,o)*1e3,Math.max(a,o)]}(a.utc(e,i).valueOf(),u,s),p=d[0],f=d[1],m=a(p).utcOffset(f);return m.$x.$timezone=s,m},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(e){o=e}}},e.exports=t()},89047:function(e){var t;t=function(){return function(e,t,r){r.updateLocale=function(e,t){var i=r.Ls[e];if(i)return(t?Object.keys(t):[]).forEach(function(e){i[e]=t[e]}),i}}},e.exports=t()},8534:function(e){var t;t=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(i,a,o){var s=a.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new a(t)},s.utc=function(t){var r=o(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},s.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var l=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),l.call(this,e)};var u=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var d=s.utcOffset;s.utcOffset=function(i,a){var o=this.$utils().u;if(o(i))return this.$u?0:o(this.$offset)?d.call(this):this.$offset;if("string"==typeof i&&null===(i=function(e){void 0===e&&(e="");var i=e.match(t);if(!i)return null;var a=(""+i[0]).match(r)||["-",0,0],o=a[0],s=60*+a[1]+ +a[2];return 0===s?0:"+"===o?s:-s}(i)))return this;var s=16>=Math.abs(i)?60*i:i,l=this;if(a)return l.$offset=s,l.$u=0===i,l;if(0!==i){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(l=this.local().add(s+u,e)).$offset=s,l.$x.$localOffset=u}else l=this.utc();return l};var p=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var f=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var m=s.diff;s.diff=function(e,t,r){if(e&&this.$u===e.$u)return m.call(this,e,t,r);var i=this.local(),a=o(e).local();return m.call(i,a,t,r)}}},e.exports=t()},5719:e=>{function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,a,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===o&&isFinite(e))return r.long?(i=Math.abs(e))>=864e5?t(e,i,864e5,"day"):i>=36e5?t(e,i,36e5,"hour"):i>=6e4?t(e,i,6e4,"minute"):i>=1e3?t(e,i,1e3,"second"):e+" ms":(a=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":a>=36e5?Math.round(e/36e5)+"h":a>=6e4?Math.round(e/6e4)+"m":a>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},39662:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,a=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(a=i))}),t.splice(a,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(47507)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},47507:(e,t,r)=>{e.exports=function(e){function t(e){let r,a,o;let s=null;function l(...e){if(!l.enabled)return;let i=Number(new Date),a=i-(r||i);l.diff=a,l.prev=r,l.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";o++;let a=t.formatters[i];if("function"==typeof a){let t=e[o];r=a.call(l,t),e.splice(o,1),o--}return r}),t.formatArgs.call(l,e),(l.log||t.log).apply(l,e)}return l.namespace=e,l.useColors=t.useColors(),l.color=t.selectColor(e),l.extend=i,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(l),l}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(a),...t.skips.map(a).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let i=("string"==typeof e?e:"").split(/[\s,]+/),a=i.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"undefined"==typeof process||"renderer"===process.type||process.__nwjs?e.exports=r(39662):e.exports=r(56027)},56027:(e,t,r)=>{let i=r(76224),a=r(73837);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(2362);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(47507)(t);let{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}},10909:e=>{"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==r},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l(Array.isArray(e)?[]:{},e,t):e}function a(e,t,r){return e.concat(t).map(function(e){return i(e,r)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function s(e,t){try{return t in e}catch(e){return!1}}function l(e,r,u){(u=u||{}).arrayMerge=u.arrayMerge||a,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=i;var d,p,f=Array.isArray(r);return f!==Array.isArray(e)?i(r,u):f?u.arrayMerge(e,r,u):(p={},(d=u).isMergeableObject(e)&&o(e).forEach(function(t){p[t]=i(e[t],d)}),o(r).forEach(function(t){(!s(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(s(e,t)&&d.isMergeableObject(r[t])?p[t]=(function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l})(t,d)(e[t],r[t],d):p[t]=i(r[t],d))}),p)}l.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return l(e,r,t)},{})},e.exports=l},4130:(e,t,r)=>{var i=r(12781).Stream,a=r(73837);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,a.inherits(o,i),o.create=function(e,t){var r=new this;for(var i in t=t||{})r[i]=t[i];r.source=e;var a=e.emit;return e.emit=function(){return r._handleEmit(arguments),a.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(e){this.emit.apply(this,e)}).bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},o.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}"data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)},o.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(e))}}},3164:(e,t,r)=>{"use strict";var i=r(90892).Buffer,a=r(21887);function o(e){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function s(e,t,r){for(var i=0;t+i=128&&--i,i}e.exports={derToJose:function(e,t){e=o(e);var r=a(t),s=r+1,l=e.length,u=0;if(48!==e[u++])throw Error('Could not find expected "seq"');var d=e[u++];if(129===d&&(d=e[u++]),l-u{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var r={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=r[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}},45718:e=>{"use strict";e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}},71771:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var i,a=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!o)return!1;for(i in e);return void 0===i||t.call(e,i)},l=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(a)return a(e,r).value}return e[r]};e.exports=function e(){var t,r,i,a,d,p,f=arguments[0],m=1,g=arguments.length,v=!1;for("boolean"==typeof f&&(v=f,f=arguments[1]||{},m=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});m{var i;e.exports=function(){if(!i){try{i=r(8589)("follow-redirects")}catch(e){}"function"!=typeof i&&(i=function(){})}i.apply(null,arguments)}},19831:(e,t,r)=>{var i=r(57310),a=i.URL,o=r(13685),s=r(95687),l=r(12781).Writable,u=r(39491),d=r(59057),p=!1;try{u(new a)}catch(e){p="ERR_INVALID_URL"===e.code}var f=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],m=["abort","aborted","connect","error","socket","timeout"],g=Object.create(null);m.forEach(function(e){g[e]=function(t,r,i){this._redirectable.emit(e,t,r,i)}});var v=T("ERR_INVALID_URL","Invalid URL",TypeError),b=T("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),y=T("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",b),_=T("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w=T("ERR_STREAM_WRITE_AFTER_END","write after end"),k=l.prototype.destroy||F;function x(e,t){l.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(e){try{r._processResponse(e)}catch(e){r.emit("error",e instanceof b?e:new b({cause:e}))}},this._performRequest()}function E(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(i){var o=i+":",s=r[o]=e[i],l=t[i]=Object.create(s);Object.defineProperties(l,{request:{value:function(e,i,s){var l;return(l=e,a&&l instanceof a)?e=D(e):P(e)?e=D(C(e)):(s=i,i=S(e),e={protocol:o}),R(i)&&(s=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=r,P(i.host)||P(i.hostname)||(i.hostname="::1"),u.equal(i.protocol,o,"protocol mismatch"),d("options",i),new x(i,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,r){var i=l.request(e,t,r);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})}),t}function F(){}function C(e){var t;if(p)t=new a(e);else if(!P((t=S(i.parse(e))).protocol))throw new v({input:e});return t}function S(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname)||/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new v({input:e.href||e});return e}function D(e,t){var r=t||{};for(var i of f)r[i]=e[i];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),""!==r.port&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function j(e,t){var r;for(var i in t)e.test(i)&&(r=t[i],delete t[i]);return null==r?void 0:String(r).trim()}function T(e,t,r){function i(r){Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(r||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function O(e,t){for(var r of m)e.removeListener(r,g[r]);e.on("error",F),e.destroy(t)}function P(e){return"string"==typeof e||e instanceof String}function R(e){return"function"==typeof e}x.prototype=Object.create(l.prototype),x.prototype.abort=function(){O(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},x.prototype.destroy=function(e){return O(this._currentRequest,e),k.call(this,e),this},x.prototype.write=function(e,t,r){if(this._ending)throw new w;if(!P(e)&&!("object"==typeof e&&"length"in e))throw TypeError("data should be a string, Buffer or Uint8Array");if(R(t)&&(r=t,t=null),0===e.length){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new _),this.abort())},x.prototype.end=function(e,t,r){if(R(e)?(r=e,e=t=null):R(t)&&(r=t,t=null),e){var i=this,a=this._currentRequest;this.write(e,t,function(){i._ended=!0,a.end(null,null,r)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,r)},x.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,t){var r=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),o()},e),i(t)}function o(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",o),r.removeListener("error",o),r.removeListener("response",o),r.removeListener("close",o),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",i),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){x.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})}),x.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},x.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o of(a._redirectable=this,m))a.on(o,g[o]);if(this._currentUrl=/^\//.test(this._options.path)?i.format(this._options):this._options.path,this._isRedirect){var s=0,l=this,u=this._requestBodyBuffers;!function e(t){if(a===l._currentRequest){if(t)l.emit("error",t);else if(s=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(O(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new y;var f=this._options.beforeRedirect;f&&(o=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var m=this._options.method;(301!==s&&302!==s||"POST"!==this._options.method)&&(303!==s||/^(?:GET|HEAD)$/.test(this._options.method))||(this._options.method="GET",this._requestBodyBuffers=[],j(/^content-/i,this._options.headers));var g=j(/^host$/i,this._options.headers),v=C(this._currentUrl),b=g||v.host,_=/^\w+:/.test(l)?this._currentUrl:i.format(Object.assign(v,{host:b})),w=p?new a(l,_):C(i.resolve(_,l));if(d("redirecting to",w.href),this._isRedirect=!0,D(w,this._options),(w.protocol===v.protocol||"https:"===w.protocol)&&(w.host===b||(u(P(t=w.host)&&P(b)),(r=t.length-b.length-1)>0&&"."===t[r]&&t.endsWith(b)))||j(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),R(f)){var k={headers:e.headers,statusCode:s},x={url:_,method:m,headers:o};f(this._options,k,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=E({http:o,https:s}),e.exports.wrap=E},54127:(e,t,r)=>{var i=r(38726),a=r(73837),o=r(71017),s=r(13685),l=r(95687),u=r(57310).parse,d=r(57147),p=r(12781).Stream,f=r(70045),m=r(73930),g=r(6578);function v(e){if(!(this instanceof v))return new v(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],i.call(this),e=e||{})this[t]=e[t]}e.exports=v,a.inherits(v,i),v.LINE_BREAK="\r\n",v.DEFAULT_CONTENT_TYPE="application/octet-stream",v.prototype.append=function(e,t,r){"string"==typeof(r=r||{})&&(r={filename:r});var o=i.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),a.isArray(t)){this._error(Error("Arrays are not supported."));return}var s=this._multiPartHeader(e,t,r),l=this._multiPartFooter();o(s),o(t),o(l),this._trackLength(s,t,r)},v.prototype._trackLength=function(e,t,r){var i=0;null!=r.knownLength?i+=+r.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+v.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof p)&&(r.knownLength||this._valuesToMeasure.push(t))},v.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?void 0!=e.end&&e.end!=1/0&&void 0!=e.start?t(null,e.end+1-(e.start?e.start:0)):d.stat(e.path,function(r,i){if(r){t(r);return}t(null,i.size-(e.start?e.start:0))}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(r){e.pause(),t(null,+r.headers["content-length"])}),e.resume()):t("Unknown stream")},v.prototype._multiPartHeader=function(e,t,r){if("string"==typeof r.header)return r.header;var i,a=this._getContentDisposition(t,r),o=this._getContentType(t,r),s="",l={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(o||[])};for(var u in"object"==typeof r.header&&g(l,r.header),l)if(l.hasOwnProperty(u)){if(null==(i=l[u]))continue;Array.isArray(i)||(i=[i]),i.length&&(s+=u+": "+i.join("; ")+v.LINE_BREAK)}return"--"+this.getBoundary()+v.LINE_BREAK+s+v.LINE_BREAK},v.prototype._getContentDisposition=function(e,t){var r,i;return"string"==typeof t.filepath?r=o.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?r=o.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(r=o.basename(e.client._httpMessage.path||"")),r&&(i='filename="'+r+'"'),i},v.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e.name&&(r=f.lookup(e.name)),!r&&e.path&&(r=f.lookup(e.path)),!r&&e.readable&&e.hasOwnProperty("httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=f.lookup(t.filepath||t.filename)),r||"object"!=typeof e||(r=v.DEFAULT_CONTENT_TYPE),r},v.prototype._multiPartFooter=function(){return(function(e){var t=v.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}).bind(this)},v.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+v.LINE_BREAK},v.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(r[t.toLowerCase()]=e[t]);return r},v.prototype.setBoundary=function(e){this._boundary=e},v.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},v.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,i=this._streams.length;r{e.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}},6007:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g;function d(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var p=1,f=1;function m(e){var t=e.match(r);t&&(p+=t.length);var i=e.lastIndexOf("\n");f=~i?e.length-i:f+e.length}function g(){var e={line:p,column:f};return function(t){return t.position=new v(e),_(i),t}}function v(e){this.start=e,this.end={line:p,column:f},this.source=u.source}v.prototype.content=e;var b=[];function y(t){var r=Error(u.source+":"+p+":"+f+": "+t);if(r.reason=t,r.filename=u.source,r.line=p,r.column=f,r.source=e,u.silent)b.push(r);else throw r}function _(t){var r=t.exec(e);if(r){var i=r[0];return m(i),e=e.slice(i.length),r}}function w(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=g();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return y("End of comment missing");var i=e.slice(2,r-2);return f+=2,m(i),e=e.slice(r),f+=2,t({type:"comment",comment:i})}}return _(i),function(){var e,r=[];for(w(r);e=function(){var e=g(),r=_(a);if(r){if(k(),!_(o))return y("property missing ':'");var i=_(s),u=e({type:"declaration",property:d(r[0].replace(t,"")),value:i?d(i[0].replace(t,"")):""});return _(l),u}}();)!1!==e&&(r.push(e),w(r));return r}()}},98238:e=>{/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},73512:(e,t,r)=>{"use strict";e.exports=r(13154)},85911:(e,t,r)=>{var i=r(8287);e.exports=function(e,t){t=t||{};var r=i.decode(e,t);if(!r)return null;var a=r.payload;if("string"==typeof a)try{var o=JSON.parse(a);null!==o&&"object"==typeof o&&(a=o)}catch(e){}return!0===t.complete?{header:r.header,payload:a,signature:r.signature}:a}},98327:(e,t,r)=>{e.exports={decode:r(85911),verify:r(17910),sign:r(85917),JsonWebTokenError:r(69062),NotBeforeError:r(13020),TokenExpiredError:r(82504)}},69062:e=>{var t=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},13020:(e,t,r)=>{var i=r(69062),a=function(e,t){i.call(this,e),this.name="NotBeforeError",this.date=t};a.prototype=Object.create(i.prototype),a.prototype.constructor=a,e.exports=a},82504:(e,t,r)=>{var i=r(69062),a=function(e,t){i.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};a.prototype=Object.create(i.prototype),a.prototype.constructor=a,e.exports=a},2511:(e,t,r)=>{let i=r(86315);e.exports=i.satisfies(process.version,">=15.7.0")},20499:(e,t,r)=>{var i=r(86315);e.exports=i.satisfies(process.version,"^6.12.0 || >=8.0.0")},80980:(e,t,r)=>{let i=r(86315);e.exports=i.satisfies(process.version,">=16.9.0")},59477:(e,t,r)=>{var i=r(87914);e.exports=function(e,t){var r=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var a=i(e);if(void 0===a)return;return Math.floor(r+a/1e3)}if("number"==typeof e)return r+e}},40451:(e,t,r)=>{let i=r(2511),a=r(80980),o={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},s={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let l=o[r];if(!l)throw Error(`Unknown key type "${r}".`);if(!l.includes(e))throw Error(`"alg" parameter for "${r}" key type must be one of: ${l.join(", ")}.`);if(i)switch(r){case"ec":let u=t.asymmetricKeyDetails.namedCurve,d=s[e];if(u!==d)throw Error(`"alg" parameter "${e}" requires curve "${d}".`);break;case"rsa-pss":if(a){let r=parseInt(e.slice(-3),10),{hashAlgorithm:i,mgf1HashAlgorithm:a,saltLength:o}=t.asymmetricKeyDetails;if(i!==`sha${r}`||a!==i)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==o&&o>r>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},85917:(e,t,r)=>{let i=r(59477),a=r(20499),o=r(40451),s=r(8287),l=r(48905),u=r(69006),d=r(47139),p=r(32904),f=r(8247),m=r(82743),g=r(27599),{KeyObject:v,createSecretKey:b,createPrivateKey:y}=r(6113),_=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];a&&_.splice(3,0,"PS256","PS384","PS512");let w={expiresIn:{isValid:function(e){return d(e)||m(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return d(e)||m(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return m(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:l.bind(null,_),message:'"algorithm" must be a valid string enum value'},header:{isValid:f,message:'"header" must be an object'},encoding:{isValid:m,message:'"encoding" must be a string'},issuer:{isValid:m,message:'"issuer" must be a string'},subject:{isValid:m,message:'"subject" must be a string'},jwtid:{isValid:m,message:'"jwtid" must be a string'},noTimestamp:{isValid:u,message:'"noTimestamp" must be a boolean'},keyid:{isValid:m,message:'"keyid" must be a string'},mutatePayload:{isValid:u,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:u,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:u,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},k={iat:{isValid:p,message:'"iat" should be a number of seconds'},exp:{isValid:p,message:'"exp" should be a number of seconds'},nbf:{isValid:p,message:'"nbf" should be a number of seconds'}};function x(e,t,r,i){if(!f(r))throw Error('Expected "'+i+'" to be a plain object.');Object.keys(r).forEach(function(a){let o=e[a];if(!o){if(!t)throw Error('"'+a+'" is not allowed in "'+i+'"');return}if(!o.isValid(r[a]))throw Error(o.message)})}let E={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},F=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,t,r,a){var l,u;"function"==typeof r?(a=r,r={}):r=r||{};let d="object"==typeof e&&!Buffer.isBuffer(e),p=Object.assign({alg:r.algorithm||"HS256",typ:d?"JWT":void 0,kid:r.keyid},r.header);function f(e){if(a)return a(e);throw e}if(!t&&"none"!==r.algorithm)return f(Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof v))try{t=y(t)}catch(e){try{t=b("string"==typeof t?Buffer.from(t):t)}catch(e){return f(Error("secretOrPrivateKey is not valid key material"))}}if(p.alg.startsWith("HS")&&"secret"!==t.type)return f(Error(`secretOrPrivateKey must be a symmetric key when using ${p.alg}`));if(/^(?:RS|PS|ES)/.test(p.alg)){if("private"!==t.type)return f(Error(`secretOrPrivateKey must be an asymmetric key when using ${p.alg}`));if(!r.allowInsecureKeySizes&&!p.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return f(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${p.alg}`))}if(void 0===e)return f(Error("payload is required"));if(d){try{l=e,x(k,!0,l,"payload")}catch(e){return f(e)}r.mutatePayload||(e=Object.assign({},e))}else{let t=F.filter(function(e){return void 0!==r[e]});if(t.length>0)return f(Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==r.expiresIn)return f(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==r.notBefore)return f(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{u=r,x(w,!1,u,"options")}catch(e){return f(e)}if(!r.allowInvalidAsymmetricKeyTypes)try{o(p.alg,t)}catch(e){return f(e)}let m=e.iat||Math.floor(Date.now()/1e3);if(r.noTimestamp?delete e.iat:d&&(e.iat=m),void 0!==r.notBefore){try{e.nbf=i(r.notBefore,m)}catch(e){return f(e)}if(void 0===e.nbf)return f(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==r.expiresIn&&"object"==typeof e){try{e.exp=i(r.expiresIn,m)}catch(e){return f(e)}if(void 0===e.exp)return f(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(E).forEach(function(t){let i=E[t];if(void 0!==r[t]){if(void 0!==e[i])return f(Error('Bad "options.'+t+'" option. The payload already has an "'+i+'" property.'));e[i]=r[t]}});let _=r.encoding||"utf8";if("function"==typeof a)a=a&&g(a),s.createSign({header:p,privateKey:t,payload:e,encoding:_}).once("error",a).once("done",function(e){if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(p.alg)&&e.length<256)return a(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${p.alg}`));a(null,e)});else{let i=s.sign({header:p,payload:e,secret:t,encoding:_});if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(p.alg)&&i.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${p.alg}`);return i}}},17910:(e,t,r)=>{let i=r(69062),a=r(13020),o=r(82504),s=r(85911),l=r(59477),u=r(40451),d=r(20499),p=r(8287),{KeyObject:f,createSecretKey:m,createPublicKey:g}=r(6113),v=["RS256","RS384","RS512"],b=["ES256","ES384","ES512"],y=["RS256","RS384","RS512"],_=["HS256","HS384","HS512"];d&&(v.splice(v.length,0,"PS256","PS384","PS512"),y.splice(y.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,r,d){let w,k,x;if("function"!=typeof r||d||(d=r,r={}),r||(r={}),r=Object.assign({},r),w=d||function(e,t){if(e)throw e;return t},r.clockTimestamp&&"number"!=typeof r.clockTimestamp)return w(new i("clockTimestamp must be a number"));if(void 0!==r.nonce&&("string"!=typeof r.nonce||""===r.nonce.trim()))return w(new i("nonce must be a non-empty string"));if(void 0!==r.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof r.allowInvalidAsymmetricKeyTypes)return w(new i("allowInvalidAsymmetricKeyTypes must be a boolean"));let E=r.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return w(new i("jwt must be provided"));if("string"!=typeof e)return w(new i("jwt must be a string"));let F=e.split(".");if(3!==F.length)return w(new i("jwt malformed"));try{k=s(e,{complete:!0})}catch(e){return w(e)}if(!k)return w(new i("invalid token"));let C=k.header;if("function"==typeof t){if(!d)return w(new i("verify must be called asynchronous if secret or public key is provided as a callback"));x=t}else x=function(e,r){return r(null,t)};return x(C,function(t,s){let d;if(t)return w(new i("error in secret or public key callback: "+t.message));let x=""!==F[2].trim();if(!x&&s)return w(new i("jwt signature is required"));if(x&&!s)return w(new i("secret or public key must be provided"));if(!x&&!r.algorithms)return w(new i('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=s&&!(s instanceof f))try{s=g(s)}catch(e){try{s=m("string"==typeof s?Buffer.from(s):s)}catch(e){return w(new i("secretOrPublicKey is not valid key material"))}}if(r.algorithms||("secret"===s.type?r.algorithms=_:["rsa","rsa-pss"].includes(s.asymmetricKeyType)?r.algorithms=y:"ec"===s.asymmetricKeyType?r.algorithms=b:r.algorithms=v),-1===r.algorithms.indexOf(k.header.alg))return w(new i("invalid algorithm"));if(C.alg.startsWith("HS")&&"secret"!==s.type)return w(new i(`secretOrPublicKey must be a symmetric key when using ${C.alg}`));if(/^(?:RS|PS|ES)/.test(C.alg)&&"public"!==s.type)return w(new i(`secretOrPublicKey must be an asymmetric key when using ${C.alg}`));if(!r.allowInvalidAsymmetricKeyTypes)try{u(C.alg,s)}catch(e){return w(e)}try{d=p.verify(e,k.header.alg,s)}catch(e){return w(e)}if(!d)return w(new i("invalid signature"));let S=k.payload;if(void 0!==S.nbf&&!r.ignoreNotBefore){if("number"!=typeof S.nbf)return w(new i("invalid nbf value"));if(S.nbf>E+(r.clockTolerance||0))return w(new a("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!r.ignoreExpiration){if("number"!=typeof S.exp)return w(new i("invalid exp value"));if(E>=S.exp+(r.clockTolerance||0))return w(new o("jwt expired",new Date(1e3*S.exp)))}if(r.audience){let e=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some(function(t){return e.some(function(e){return e instanceof RegExp?e.test(t):e===t})}))return w(new i("jwt audience invalid. expected: "+e.join(" or ")))}if(r.issuer&&("string"==typeof r.issuer&&S.iss!==r.issuer||Array.isArray(r.issuer)&&-1===r.issuer.indexOf(S.iss)))return w(new i("jwt issuer invalid. expected: "+r.issuer));if(r.subject&&S.sub!==r.subject)return w(new i("jwt subject invalid. expected: "+r.subject));if(r.jwtid&&S.jti!==r.jwtid)return w(new i("jwt jwtid invalid. expected: "+r.jwtid));if(r.nonce&&S.nonce!==r.nonce)return w(new i("jwt nonce invalid. expected: "+r.nonce));if(r.maxAge){if("number"!=typeof S.iat)return w(new i("iat required when maxAge is specified"));let e=l(r.maxAge,S.iat);if(void 0===e)return w(new i('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(E>=e+(r.clockTolerance||0))return w(new o("maxAge exceeded",new Date(1e3*e)))}return!0===r.complete?w(null,{header:C,payload:S,signature:k.signature}):w(null,S)})}},95350:(e,t,r)=>{var i=r(29916),a=r(90892).Buffer,o=r(6113),s=r(3164),l=r(73837),u="secret must be a string or buffer",d="key must be a string or a buffer",p="function"==typeof o.createPublicKey;function f(e){if(!a.isBuffer(e)&&"string"!=typeof e&&(!p||"object"!=typeof e||"string"!=typeof e.type||"string"!=typeof e.asymmetricKeyType||"function"!=typeof e.export))throw b(d)}function m(e){if(!a.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw b("key must be a string, a buffer or an object")}function g(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function v(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var r=0;r{var i=r(99505),a=r(55850);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=i.sign,t.verify=a.verify,t.decode=a.decode,t.isValid=a.isValid,t.createSign=function(e){return new i(e)},t.createVerify=function(e){return new a(e)}},34630:(e,t,r)=>{var i=r(90892).Buffer,a=r(12781);function o(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=i.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=i.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick((function(){this.emit("end",e),this.readable=!1,this.emit("close")}).bind(this)),this;throw TypeError("Unexpected data type ("+typeof e+")")}r(73837).inherits(o,a),o.prototype.write=function(e){this.buffer=i.concat([this.buffer,i.from(e)]),this.emit("data",e)},o.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=o},99505:(e,t,r)=>{var i=r(90892).Buffer,a=r(34630),o=r(95350),s=r(12781),l=r(60904),u=r(73837);function d(e,t){return i.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(e){var t,r,i,a=e.header,s=e.payload,p=e.secret||e.privateKey,f=e.encoding,m=o(a.alg),g=(t=(t=f)||"utf8",r=d(l(a),"binary"),i=d(l(s),t),u.format("%s.%s",r,i)),v=m.sign(g,p);return u.format("%s.%s",g,v)}function f(e){var t=new a(e.secret||e.privateKey||e.key);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=t,this.payload=new a(e.payload),this.secret.once("close",(function(){!this.payload.writable&&this.readable&&this.sign()}).bind(this)),this.payload.once("close",(function(){!this.secret.writable&&this.readable&&this.sign()}).bind(this))}u.inherits(f,s),f.prototype.sign=function(){try{var e=p({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},f.sign=p,e.exports=f},60904:(e,t,r)=>{var i=r(14300).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||i.isBuffer(e)?e.toString():JSON.stringify(e)}},55850:(e,t,r)=>{var i=r(90892).Buffer,a=r(34630),o=r(95350),s=r(12781),l=r(60904),u=r(73837),d=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function p(e){var t=e.split(".",1)[0];return function(e){if("[object Object]"===Object.prototype.toString.call(e))return e;try{return JSON.parse(e)}catch(e){return}}(i.from(t,"base64").toString("binary"))}function f(e){return e.split(".")[2]}function m(e){return d.test(e)&&!!p(e)}function g(e,t,r){if(!t){var i=Error("Missing algorithm parameter for jws.verify");throw i.code="MISSING_ALGORITHM",i}var a=f(e=l(e)),s=e.split(".",2).join(".");return o(t).verify(s,a,r)}function v(e,t){if(t=t||{},!m(e=l(e)))return null;var r,a,o=p(e);if(!o)return null;var s=(r=r||"utf8",a=e.split(".")[1],i.from(a,"base64").toString(r));return("JWT"===o.typ||t.json)&&(s=JSON.parse(s,t.encoding)),{header:o,payload:s,signature:f(e)}}function b(e){var t=new a((e=e||{}).secret||e.publicKey||e.key);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=t,this.signature=new a(e.signature),this.secret.once("close",(function(){!this.signature.writable&&this.readable&&this.verify()}).bind(this)),this.signature.once("close",(function(){!this.secret.writable&&this.readable&&this.verify()}).bind(this))}u.inherits(b,s),b.prototype.verify=function(){try{var e=g(this.signature.buffer,this.algorithm,this.key.buffer),t=v(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},b.decode=v,b.isValid=m,b.verify=g,e.exports=b},20812:e=>{function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,i){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async=!("async"in r)||!!r.async,o.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(o,r.attrs),r.text&&(o.text=""+r.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,i),o.onload||t(o,i),a.appendChild(o)}},97964:e=>{var t=0/0,r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,m=Math.min,g=function(){return d.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if("symbol"==typeof(l=e)||l&&"object"==typeof l&&"[object Symbol]"==p.call(l))return t;if(v(e)){var l,u="function"==typeof e.valueOf?e.valueOf():e;e=v(u)?u+"":u}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var d=a.test(e);return d||o.test(e)?s(e.slice(2),d?2:8):i.test(e)?t:+e}e.exports=function(e,t,r){var i,a,o,s,l,u,d=0,p=!1,y=!1,_=!0;if("function"!=typeof e)throw TypeError("Expected a function");function w(t){var r=i,o=a;return i=a=void 0,d=t,s=e.apply(o,r)}function k(e){var r=e-u,i=e-d;return void 0===u||r>=t||r<0||y&&i>=o}function x(){var e,r,i,a=g();if(k(a))return E(a);l=setTimeout(x,(e=a-u,r=a-d,i=t-e,y?m(i,o-r):i))}function E(e){return(l=void 0,_&&i)?w(e):(i=a=void 0,s)}function F(){var e,r=g(),o=k(r);if(i=arguments,a=this,u=r,o){if(void 0===l)return d=e=u,l=setTimeout(x,t),p?w(e):s;if(y)return l=setTimeout(x,t),w(u)}return void 0===l&&(l=setTimeout(x,t)),s}return t=b(t)||0,v(r)&&(p=!!r.leading,o=(y="maxWait"in r)?f(b(r.maxWait)||0,t):o,_="trailing"in r?!!r.trailing:_),F.cancel=function(){void 0!==l&&clearTimeout(l),d=0,i=u=a=l=void 0},F.flush=function(){return void 0===l?s:E(g())},F}},48905:e=>{var t,r,i=1/0,a=0/0,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,d=/^(?:0|[1-9]\d*)$/,p=parseInt;function f(e){return e!=e}var m=Object.prototype,g=m.hasOwnProperty,v=m.toString,b=m.propertyIsEnumerable,y=(t=Object.keys,r=Object,function(e){return t(r(e))}),_=Math.max,w=Array.isArray;function k(e){var t,r;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=9007199254740991&&!("[object Function]"==(r=x(e)?v.call(e):"")||"[object GeneratorFunction]"==r)}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){return!!e&&"object"==typeof e}e.exports=function(e,t,r,F){e=k(e)?e:(C=e)?function(e,t){for(var r=-1,i=e?e.length:0,a=Array(i);++r-1&&s%1==0&&s-1:!!O&&function(e,t,r){if(t!=t)return function(e,t,r,i){for(var a=e.length,o=r+-1;++o-1}},69006:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||!!e&&"object"==typeof e&&"[object Boolean]"==t.call(e)}},47139:e=>{var t=1/0,r=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u=Object.prototype.toString;function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){var p,f,m;return"number"==typeof e&&e==(m=(f=(p=e)?(p=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==u.call(t))return r;if(d(e)){var t,p="function"==typeof e.valueOf?e.valueOf():e;e=d(p)?p+"":p}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var f=o.test(e);return f||s.test(e)?l(e.slice(2),f?2:8):a.test(e)?r:+e}(p))===t||p===-t?(p<0?-1:1)*17976931348623157e292:p==p?p:0:0===p?p:0)%1,f==f?m?f-m:f:0)}},32904:e=>{var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||!!e&&"object"==typeof e&&"[object Number]"==t.call(e)}},8247:e=>{var t,r,i=Object.prototype,a=Function.prototype.toString,o=i.hasOwnProperty,s=a.call(Object),l=i.toString,u=(t=Object.getPrototypeOf,r=Object,function(e){return t(r(e))});e.exports=function(e){if(!(e&&"object"==typeof e)||"[object Object]"!=l.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=u(e);if(null===t)return!0;var r=o.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==s}},82743:e=>{var t=Object.prototype.toString,r=Array.isArray;e.exports=function(e){var i;return"string"==typeof e||!r(e)&&!!(i=e)&&"object"==typeof i&&"[object String]"==t.call(e)}},27599:e=>{var t=1/0,r=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u=Object.prototype.toString;function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return function(e,p){var f,m,g,v;if("function"!=typeof p)throw TypeError("Expected a function");return v=(g=(m=e)?(m=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==u.call(t))return r;if(d(e)){var t,p="function"==typeof e.valueOf?e.valueOf():e;e=d(p)?p+"":p}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var f=o.test(e);return f||s.test(e)?l(e.slice(2),f?2:8):a.test(e)?r:+e}(m))===t||m===-t?(m<0?-1:1)*17976931348623157e292:m==m?m:0:0===m?m:0)%1,e=g==g?v?g-v:g:0,function(){return--e>0&&(f=p.apply(this,arguments)),e<=1&&(p=void 0),f}}(2,e)}},91594:e=>{var t="Expected a function",r=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof global&&global&&global.Object===Object&&global,d="object"==typeof self&&self&&self.Object===Object&&self,p=u||d||Function("return this")(),f=Object.prototype.toString,m=Math.max,g=Math.min,v=function(){return p.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return r;if(b(e)){var t,u="function"==typeof e.valueOf?e.valueOf():e;e=b(u)?u+"":u}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var d=o.test(e);return d||s.test(e)?l(e.slice(2),d?2:8):a.test(e)?r:+e}e.exports=function(e,r,i){var a=!0,o=!0;if("function"!=typeof e)throw TypeError(t);return b(i)&&(a="leading"in i?!!i.leading:a,o="trailing"in i?!!i.trailing:o),function(e,r,i){var a,o,s,l,u,d,p=0,f=!1,_=!1,w=!0;if("function"!=typeof e)throw TypeError(t);function k(t){var r=a,i=o;return a=o=void 0,p=t,l=e.apply(i,r)}function x(e){var t=e-d,i=e-p;return void 0===d||t>=r||t<0||_&&i>=s}function E(){var e,t,i,a=v();if(x(a))return F(a);u=setTimeout(E,(e=a-d,t=a-p,i=r-e,_?g(i,s-t):i))}function F(e){return(u=void 0,w&&a)?k(e):(a=o=void 0,l)}function C(){var e,t=v(),i=x(t);if(a=arguments,o=this,d=t,i){if(void 0===u)return p=e=d,u=setTimeout(E,r),f?k(e):l;if(_)return u=setTimeout(E,r),k(d)}return void 0===u&&(u=setTimeout(E,r)),l}return r=y(r)||0,b(i)&&(f=!!i.leading,s=(_="maxWait"in i)?m(y(i.maxWait)||0,r):s,w="trailing"in i?!!i.trailing:w),C.cancel=function(){void 0!==u&&clearTimeout(u),p=0,a=d=o=u=void 0},C.flush=function(){return void 0===u?l:F(v())},C}(e,r,{leading:a,maxWait:r,trailing:o})}},88807:(e,t,r)=>{e=r.nmd(e);var i,a,o="__lodash_hash_undefined__",s=1/0,l="[object Arguments]",u="[object Array]",d="[object Boolean]",p="[object Date]",f="[object Error]",m="[object Function]",g="[object Map]",v="[object Number]",b="[object Object]",y="[object Promise]",_="[object RegExp]",w="[object Set]",k="[object String]",x="[object Symbol]",E="[object WeakMap]",F="[object ArrayBuffer]",C="[object DataView]",S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,D=/^\w*$/,j=/^\./,T=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,P=/^\[object .+?Constructor\]$/,R=/^(?:0|[1-9]\d*)$/,M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M[l]=M[u]=M[F]=M[d]=M[C]=M[p]=M[f]=M[m]=M[g]=M[v]=M[b]=M[_]=M[w]=M[k]=M[E]=!1;var L="object"==typeof global&&global&&global.Object===Object&&global,A="object"==typeof self&&self&&self.Object===Object&&self,I=L||A||Function("return this")(),N=t&&!t.nodeType&&t,B=N&&e&&!e.nodeType&&e,U=B&&B.exports===N&&L.process,z=function(){try{return U&&U.binding("util")}catch(e){}}(),H=z&&z.isTypedArray;function q(e,t){return!!(e?e.length:0)&&function(e,t,r){if(t!=t)return function(e,t,r,i){for(var a=e.length,o=-1;++o-1}function V(e){return e!=e}function W(e,t){return e.has(t)}function $(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function G(e){var t=-1,r=Array(e.size);return e.forEach(function(e,i){r[++t]=[i,e]}),r}function Y(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var K=Array.prototype,Z=Function.prototype,J=Object.prototype,X=I["__core-js_shared__"],Q=function(){var e=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ee=Z.toString,et=J.hasOwnProperty,en=J.toString,er=RegExp("^"+ee.call(et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ei=I.Symbol,ea=I.Uint8Array,eo=J.propertyIsEnumerable,es=K.splice,el=(i=Object.keys,a=Object,function(e){return i(a(e))}),ec=eL(I,"DataView"),eu=eL(I,"Map"),ed=eL(I,"Promise"),ep=eL(I,"Set"),ef=eL(I,"WeakMap"),eh=eL(Object,"create"),em=eH(ec),eg=eH(eu),ev=eH(ed),eb=eH(ep),ey=eH(ef),e_=ei?ei.prototype:void 0,ew=e_?e_.valueOf:void 0,ek=e_?e_.toString:void 0;function ex(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1},eE.prototype.set=function(e,t){var r=this.__data__,i=eD(r,e);return i<0?r.push([e,t]):r[i][1]=t,this},eF.prototype.clear=function(){this.__data__={hash:new ex,map:new(eu||eE),string:new ex}},eF.prototype.delete=function(e){return eM(this,e).delete(e)},eF.prototype.get=function(e){return eM(this,e).get(e)},eF.prototype.has=function(e){return eM(this,e).has(e)},eF.prototype.set=function(e,t){return eM(this,e).set(e,t),this},eC.prototype.add=eC.prototype.push=function(e){return this.__data__.set(e,o),this},eC.prototype.has=function(e){return this.__data__.has(e)},eS.prototype.clear=function(){this.__data__=new eE},eS.prototype.delete=function(e){return this.__data__.delete(e)},eS.prototype.get=function(e){return this.__data__.get(e)},eS.prototype.has=function(e){return this.__data__.has(e)},eS.prototype.set=function(e,t){var r=this.__data__;if(r instanceof eE){var i=r.__data__;if(!eu||i.length<199)return i.push([e,t]),this;r=this.__data__=new eF(i)}return r.set(e,t),this};var eP=ep&&1/Y(new ep([,-0]))[1]==s?function(e){return new ep(e)}:function(){};function eR(e,t,r,i,a,o){var s=2&a,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var d=o.get(e);if(d&&o.get(t))return d==t;var p=-1,f=!0,m=1&a?new eC:void 0;for(o.set(e,t),o.set(t,e);++p-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function eZ(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eJ(e){return!!e&&"object"==typeof e}function eX(e){return"symbol"==typeof e||eJ(e)&&en.call(e)==x}var eQ=H?function(e){return H(e)}:function(e){return eJ(e)&&eK(e.length)&&!!M[en.call(e)]};function e0(e){return eG(e)?function(e,t){var r=e$(e)||eW(e)?function(e,t){for(var r=-1,i=Array(e);++r=200){var d=t?null:eP(e);if(d)return Y(d);s=!1,a=W,u=new eC}else u=t?[]:l;n:for(;++i{var i=r(7017)(r(39288),"DataView");e.exports=i},27513:(e,t,r)=>{var i=r(7392),a=r(29247),o=r(84190),s=r(66193),l=r(66681);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var i=r(38048),a=r(82142),o=r(83226),s=r(84001),l=r(31127);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var i=r(7017)(r(39288),"Map");e.exports=i},30095:(e,t,r)=>{var i=r(86487),a=r(93976),o=r(91053),s=r(29941),l=r(70144);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var i=r(7017)(r(39288),"Promise");e.exports=i},39746:(e,t,r)=>{var i=r(7017)(r(39288),"Set");e.exports=i},43484:(e,t,r)=>{var i=r(30095),a=r(51793),o=r(59191);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new i;++t{var i=r(58148),a=r(82795),o=r(9113),s=r(80934),l=r(68732),u=r(5525);function d(e){var t=this.__data__=new i(e);this.size=t.size}d.prototype.clear=a,d.prototype.delete=o,d.prototype.get=s,d.prototype.has=l,d.prototype.set=u,e.exports=d},76245:(e,t,r)=>{var i=r(39288).Symbol;e.exports=i},89377:(e,t,r)=>{var i=r(39288).Uint8Array;e.exports=i},35803:(e,t,r)=>{var i=r(7017)(r(39288),"WeakMap");e.exports=i},39137:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},17536:e=>{e.exports=function(e,t){for(var r=-1,i=null==e?0:e.length,a=0,o=[];++r{var i=r(44658);e.exports=function(e,t){return!!(null==e?0:e.length)&&i(e,t,0)>-1}},19544:e=>{e.exports=function(e,t,r){for(var i=-1,a=null==e?0:e.length;++i{var i=r(84643),a=r(46148),o=r(32966),s=r(10750),l=r(19699),u=r(42191),d=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),p=!r&&a(e),f=!r&&!p&&s(e),m=!r&&!p&&!f&&u(e),g=r||p||f||m,v=g?i(e.length,String):[],b=v.length;for(var y in e)(t||d.call(e,y))&&!(g&&("length"==y||f&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,b)))&&v.push(y);return v}},29738:e=>{e.exports=function(e,t){for(var r=-1,i=null==e?0:e.length,a=Array(i);++r{e.exports=function(e,t){for(var r=-1,i=t.length,a=e.length;++r{e.exports=function(e,t){for(var r=-1,i=null==e?0:e.length;++r{var i=r(15216),a=r(64111);e.exports=function(e,t,r){(void 0===r||a(e[t],r))&&(void 0!==r||t in e)||i(e,t,r)}},29126:(e,t,r)=>{var i=r(15216),a=r(64111),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&a(s,r)&&(void 0!==r||t in e)||i(e,t,r)}},33646:(e,t,r)=>{var i=r(64111);e.exports=function(e,t){for(var r=e.length;r--;)if(i(e[r][0],t))return r;return -1}},15216:(e,t,r)=>{var i=r(99e3);e.exports=function(e,t,r){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},39016:(e,t,r)=>{var i=r(62880),a=Object.create,o=function(){function e(){}return function(t){if(!i(t))return{};if(a)return a(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},49834:(e,t,r)=>{var i=r(43484),a=r(34776),o=r(19544),s=r(29738),l=r(96291),u=r(5354);e.exports=function(e,t,r,d){var p=-1,f=a,m=!0,g=e.length,v=[],b=t.length;if(!g)return v;r&&(t=s(t,l(r))),d?(f=o,m=!1):t.length>=200&&(f=u,m=!1,t=new i(t));n:for(;++p{var i=r(47851),a=r(15271)(i);e.exports=a},47941:e=>{e.exports=function(e,t,r,i){for(var a=e.length,o=r+(i?1:-1);i?o--:++o{var i=r(18939),a=r(62565);e.exports=function e(t,r,o,s,l){var u=-1,d=t.length;for(o||(o=a),l||(l=[]);++u0&&o(p)?r>1?e(p,r-1,o,s,l):i(l,p):s||(l[l.length]=p)}return l}},67917:(e,t,r)=>{var i=r(13012)();e.exports=i},47851:(e,t,r)=>{var i=r(67917),a=r(85865);e.exports=function(e,t){return e&&i(e,t,a)}},57305:(e,t,r)=>{var i=r(80204),a=r(1094);e.exports=function(e,t){t=i(t,e);for(var r=0,o=t.length;null!=e&&r{var i=r(18939),a=r(32966);e.exports=function(e,t,r){var o=t(e);return a(e)?o:i(o,r(e))}},1534:(e,t,r)=>{var i=r(76245),a=r(34244),o=r(13390),s=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?a(e):o(e)}},50045:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},44658:(e,t,r)=>{var i=r(47941),a=r(22570),o=r(936);e.exports=function(e,t,r){return t==t?o(e,t,r):i(e,a,r)}},79574:(e,t,r)=>{var i=r(1534),a=r(91380);e.exports=function(e){return a(e)&&"[object Arguments]"==i(e)}},78768:(e,t,r)=>{var i=r(1534),a=r(91380);e.exports=function(e){return a(e)&&"[object Date]"==i(e)}},88132:(e,t,r)=>{var i=r(80588),a=r(91380);e.exports=function e(t,r,o,s,l){return t===r||(null!=t&&null!=r&&(a(t)||a(r))?i(t,r,o,s,e,l):t!=t&&r!=r)}},80588:(e,t,r)=>{var i=r(82006),a=r(12317),o=r(99487),s=r(1958),l=r(74963),u=r(32966),d=r(10750),p=r(42191),f="[object Arguments]",m="[object Array]",g="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,b,y,_){var w=u(e),k=u(t),x=w?m:l(e),E=k?m:l(t);x=x==f?g:x,E=E==f?g:E;var F=x==g,C=E==g,S=x==E;if(S&&d(e)){if(!d(t))return!1;w=!0,F=!1}if(S&&!F)return _||(_=new i),w||p(e)?a(e,t,r,b,y,_):o(e,t,x,r,b,y,_);if(!(1&r)){var D=F&&v.call(e,"__wrapped__"),j=C&&v.call(t,"__wrapped__");if(D||j){var T=D?e.value():e,O=j?t.value():t;return _||(_=new i),y(T,O,r,b,_)}}return!!S&&(_||(_=new i),s(e,t,r,b,y,_))}},7240:(e,t,r)=>{var i=r(82006),a=r(88132);e.exports=function(e,t,r,o){var s=r.length,l=s,u=!o;if(null==e)return!l;for(e=Object(e);s--;){var d=r[s];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++s{e.exports=function(e){return e!=e}},74104:(e,t,r)=>{var i=r(85586),a=r(15621),o=r(62880),s=r(81708),l=/^\[object .+?Constructor\]$/,u=Object.prototype,d=Function.prototype.toString,p=u.hasOwnProperty,f=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(i(e)?f:l).test(s(e))}},17633:(e,t,r)=>{var i=r(1534),a=r(99002),o=r(91380),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&a(e.length)&&!!s[i(e)]}},44729:(e,t,r)=>{var i=r(71069),a=r(44723),o=r(24576),s=r(32966),l=r(94416);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?a(e[0],e[1]):i(e):l(e)}},54190:(e,t,r)=>{var i=r(83314),a=r(66045),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return a(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},75806:(e,t,r)=>{var i=r(62880),a=r(83314),o=r(22350),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return o(e);var t=a(e),r=[];for(var l in e)"constructor"==l&&(t||!s.call(e,l))||r.push(l);return r}},64635:(e,t,r)=>{var i=r(57706),a=r(17632);e.exports=function(e,t){var r=-1,o=a(e)?Array(e.length):[];return i(e,function(e,i,a){o[++r]=t(e,i,a)}),o}},71069:(e,t,r)=>{var i=r(7240),a=r(35906),o=r(17106);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||i(r,e,t)}}},44723:(e,t,r)=>{var i=r(88132),a=r(9459),o=r(1433),s=r(76958),l=r(61623),u=r(17106),d=r(1094);e.exports=function(e,t){return s(e)&&l(t)?u(d(e),t):function(r){var s=a(r,e);return void 0===s&&s===t?o(r,e):i(t,s,3)}}},50076:(e,t,r)=>{var i=r(82006),a=r(80512),o=r(67917),s=r(97503),l=r(62880),u=r(58698),d=r(38599);e.exports=function e(t,r,p,f,m){t!==r&&o(r,function(o,u){if(m||(m=new i),l(o))s(t,r,u,p,e,f,m);else{var g=f?f(d(t,u),o,u+"",t,r,m):void 0;void 0===g&&(g=o),a(t,u,g)}},u)}},97503:(e,t,r)=>{var i=r(80512),a=r(70892),o=r(68845),s=r(11160),l=r(71814),u=r(46148),d=r(32966),p=r(16400),f=r(10750),m=r(85586),g=r(62880),v=r(36153),b=r(42191),y=r(38599),_=r(38018);e.exports=function(e,t,r,w,k,x,E){var F=y(e,r),C=y(t,r),S=E.get(C);if(S){i(e,r,S);return}var D=x?x(F,C,r+"",e,t,E):void 0,j=void 0===D;if(j){var T=d(C),O=!T&&f(C),P=!T&&!O&&b(C);D=C,T||O||P?d(F)?D=F:p(F)?D=s(F):O?(j=!1,D=a(C,!0)):P?(j=!1,D=o(C,!0)):D=[]:v(C)||u(C)?(D=F,u(F)?D=_(F):(!g(F)||m(F))&&(D=l(C))):j=!1}j&&(E.set(C,D),k(D,C,w,x,E),E.delete(C)),i(e,r,D)}},40620:(e,t,r)=>{var i=r(29738),a=r(57305),o=r(44729),s=r(64635),l=r(12704),u=r(96291),d=r(52463),p=r(24576),f=r(32966);e.exports=function(e,t,r){t=t.length?i(t,function(e){return f(e)?function(t){return a(t,1===e.length?e[0]:e)}:e}):[p];var m=-1;return t=i(t,u(o)),l(s(e,function(e,r,a){return{criteria:i(t,function(t){return t(e)}),index:++m,value:e}}),function(e,t){return d(e,t,r)})}},79064:(e,t,r)=>{var i=r(3648),a=r(1433);e.exports=function(e,t){return i(e,t,function(t,r){return a(e,r)})}},3648:(e,t,r)=>{var i=r(57305),a=r(15517),o=r(80204);e.exports=function(e,t,r){for(var s=-1,l=t.length,u={};++s{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},3243:(e,t,r)=>{var i=r(57305);e.exports=function(e){return function(t){return i(t,e)}}},44563:(e,t,r)=>{var i=r(24576),a=r(21112),o=r(234);e.exports=function(e,t){return o(a(e,t,i),e+"")}},15517:(e,t,r)=>{var i=r(29126),a=r(80204),o=r(19699),s=r(62880),l=r(1094);e.exports=function(e,t,r,u){if(!s(e))return e;t=a(t,e);for(var d=-1,p=t.length,f=p-1,m=e;null!=m&&++d{var i=r(44347),a=r(99e3),o=r(24576),s=a?function(e,t){return a(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:o;e.exports=s},12704:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},84643:e=>{e.exports=function(e,t){for(var r=-1,i=Array(e);++r{var i=r(76245),a=r(29738),o=r(32966),s=r(76871),l=1/0,u=i?i.prototype:void 0,d=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(s(t))return d?d.call(t):"";var r=t+"";return"0"==r&&1/t==-l?"-0":r}},96291:e=>{e.exports=function(e){return function(t){return e(t)}}},21213:(e,t,r)=>{var i=r(43484),a=r(34776),o=r(19544),s=r(5354),l=r(51512),u=r(78874);e.exports=function(e,t,r){var d=-1,p=a,f=e.length,m=!0,g=[],v=g;if(r)m=!1,p=o;else if(f>=200){var b=t?null:l(e);if(b)return u(b);m=!1,p=s,v=new i}else v=t?[]:g;n:for(;++d{e.exports=function(e,t){return e.has(t)}},80204:(e,t,r)=>{var i=r(32966),a=r(76958),o=r(31364),s=r(41029);e.exports=function(e,t){return i(e)?e:a(e,t)?[e]:o(s(e))}},8265:(e,t,r)=>{var i=r(89377);e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},70892:(e,t,r)=>{e=r.nmd(e);var i=r(39288),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,s=o&&o.exports===a?i.Buffer:void 0,l=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,i=l?l(r):new e.constructor(r);return e.copy(i),i}},68845:(e,t,r)=>{var i=r(8265);e.exports=function(e,t){var r=t?i(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},17523:(e,t,r)=>{var i=r(76871);e.exports=function(e,t){if(e!==t){var r=void 0!==e,a=null===e,o=e==e,s=i(e),l=void 0!==t,u=null===t,d=t==t,p=i(t);if(!u&&!p&&!s&&e>t||s&&l&&d&&!u&&!p||a&&l&&d||!r&&d||!o)return 1;if(!a&&!s&&!p&&e{var i=r(17523);e.exports=function(e,t,r){for(var a=-1,o=e.criteria,s=t.criteria,l=o.length,u=r.length;++a=u)return d;return d*("desc"==r[a]?-1:1)}}return e.index-t.index}},11160:e=>{e.exports=function(e,t){var r=-1,i=e.length;for(t||(t=Array(i));++r{var i=r(29126),a=r(15216);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var l=-1,u=t.length;++l{var i=r(39288)["__core-js_shared__"];e.exports=i},58958:(e,t,r)=>{var i=r(44563),a=r(47760);e.exports=function(e){return i(function(t,r){var i=-1,o=r.length,s=o>1?r[o-1]:void 0,l=o>2?r[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,l&&a(r[0],r[1],l)&&(s=o<3?void 0:s,o=1),t=Object(t);++i{var i=r(17632);e.exports=function(e,t){return function(r,a){if(null==r)return r;if(!i(r))return e(r,a);for(var o=r.length,s=t?o:-1,l=Object(r);(t?s--:++s{e.exports=function(e){return function(t,r,i){for(var a=-1,o=Object(t),s=i(t),l=s.length;l--;){var u=s[e?l:++a];if(!1===r(o[u],u,o))break}return t}}},51512:(e,t,r)=>{var i=r(39746),a=r(73525),o=r(78874),s=i&&1/o(new i([,-0]))[1]==1/0?function(e){return new i(e)}:a;e.exports=s},99e3:(e,t,r)=>{var i=r(7017),a=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},12317:(e,t,r)=>{var i=r(43484),a=r(83057),o=r(5354);e.exports=function(e,t,r,s,l,u){var d=1&r,p=e.length,f=t.length;if(p!=f&&!(d&&f>p))return!1;var m=u.get(e),g=u.get(t);if(m&&g)return m==t&&g==e;var v=-1,b=!0,y=2&r?new i:void 0;for(u.set(e,t),u.set(t,e);++v{var i=r(76245),a=r(89377),o=r(64111),s=r(12317),l=r(59616),u=r(78874),d=i?i.prototype:void 0,p=d?d.valueOf:void 0;e.exports=function(e,t,r,i,d,f,m){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!f(new a(e),new a(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var g=l;case"[object Set]":var v=1&i;if(g||(g=u),e.size!=t.size&&!v)break;var b=m.get(e);if(b)return b==t;i|=2,m.set(e,t);var y=s(g(e),g(t),i,d,f,m);return m.delete(e),y;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1}},1958:(e,t,r)=>{var i=r(67),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,s,l){var u=1&r,d=i(e),p=d.length;if(p!=i(t).length&&!u)return!1;for(var f=p;f--;){var m=d[f];if(!(u?m in t:a.call(t,m)))return!1}var g=l.get(e),v=l.get(t);if(g&&v)return g==t&&v==e;var b=!0;l.set(e,t),l.set(t,e);for(var y=u;++f{var i=r(7450),a=r(21112),o=r(234);e.exports=function(e){return o(a(e,void 0,i),e+"")}},37611:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},67:(e,t,r)=>{var i=r(24003),a=r(26102),o=r(85865);e.exports=function(e){return i(e,o,a)}},4326:(e,t,r)=>{var i=r(24587);e.exports=function(e,t){var r=e.__data__;return i(t)?r["string"==typeof t?"string":"hash"]:r.map}},35906:(e,t,r)=>{var i=r(61623),a=r(85865);e.exports=function(e){for(var t=a(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,i(s)]}return t}},7017:(e,t,r)=>{var i=r(74104),a=r(12751);e.exports=function(e,t){var r=a(e,t);return i(r)?r:void 0}},89083:(e,t,r)=>{var i=r(87181)(Object.getPrototypeOf,Object);e.exports=i},34244:(e,t,r)=>{var i=r(76245),a=Object.prototype,o=a.hasOwnProperty,s=a.toString,l=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),r=e[l];try{e[l]=void 0;var i=!0}catch(e){}var a=s.call(e);return i&&(t?e[l]=r:delete e[l]),a}},26102:(e,t,r)=>{var i=r(17536),a=r(95252),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:i(s(e=Object(e)),function(t){return o.call(e,t)})}:a;e.exports=l},74963:(e,t,r)=>{var i=r(44654),a=r(67926),o=r(9186),s=r(39746),l=r(35803),u=r(1534),d=r(81708),p="[object Map]",f="[object Promise]",m="[object Set]",g="[object WeakMap]",v="[object DataView]",b=d(i),y=d(a),_=d(o),w=d(s),k=d(l),x=u;(i&&x(new i(new ArrayBuffer(1)))!=v||a&&x(new a)!=p||o&&x(o.resolve())!=f||s&&x(new s)!=m||l&&x(new l)!=g)&&(x=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,i=r?d(r):"";if(i)switch(i){case b:return v;case y:return p;case _:return f;case w:return m;case k:return g}return t}),e.exports=x},12751:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},23932:(e,t,r)=>{var i=r(80204),a=r(46148),o=r(32966),s=r(19699),l=r(99002),u=r(1094);e.exports=function(e,t,r){t=i(t,e);for(var d=-1,p=t.length,f=!1;++d{var i=r(67193);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},29247:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},84190:(e,t,r)=>{var i=r(67193),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(t,e)?t[e]:void 0}},66193:(e,t,r)=>{var i=r(67193),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:a.call(t,e)}},66681:(e,t,r)=>{var i=r(67193);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},71814:(e,t,r)=>{var i=r(39016),a=r(89083),o=r(83314);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:i(a(e))}},62565:(e,t,r)=>{var i=r(76245),a=r(46148),o=r(32966),s=i?i.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||a(e)||!!(s&&e&&e[s])}},19699:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var i=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e{var i=r(64111),a=r(17632),o=r(19699),s=r(62880);e.exports=function(e,t,r){if(!s(r))return!1;var l=typeof t;return("number"==l?!!(a(r)&&o(t,r.length)):"string"==l&&t in r)&&i(r[t],e)}},76958:(e,t,r)=>{var i=r(32966),a=r(76871),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||a(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},24587:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15621:(e,t,r)=>{var i=r(35987),a=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!a&&a in e}},83314:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},61623:(e,t,r)=>{var i=r(62880);e.exports=function(e){return e==e&&!i(e)}},38048:e=>{e.exports=function(){this.__data__=[],this.size=0}},82142:(e,t,r)=>{var i=r(33646),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=i(t,e);return!(r<0)&&(r==t.length-1?t.pop():a.call(t,r,1),--this.size,!0)}},83226:(e,t,r)=>{var i=r(33646);e.exports=function(e){var t=this.__data__,r=i(t,e);return r<0?void 0:t[r][1]}},84001:(e,t,r)=>{var i=r(33646);e.exports=function(e){return i(this.__data__,e)>-1}},31127:(e,t,r)=>{var i=r(33646);e.exports=function(e,t){var r=this.__data__,a=i(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}},86487:(e,t,r)=>{var i=r(27513),a=r(58148),o=r(67926);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||a),string:new i}}},93976:(e,t,r)=>{var i=r(4326);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},91053:(e,t,r)=>{var i=r(4326);e.exports=function(e){return i(this,e).get(e)}},29941:(e,t,r)=>{var i=r(4326);e.exports=function(e){return i(this,e).has(e)}},70144:(e,t,r)=>{var i=r(4326);e.exports=function(e,t){var r=i(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}},59616:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,i){r[++t]=[i,e]}),r}},17106:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},85244:(e,t,r)=>{var i=r(97300);e.exports=function(e){var t=i(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},67193:(e,t,r)=>{var i=r(7017)(Object,"create");e.exports=i},66045:(e,t,r)=>{var i=r(87181)(Object.keys,Object);e.exports=i},22350:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},7553:(e,t,r)=>{e=r.nmd(e);var i=r(37611),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,s=o&&o.exports===a&&i.process,l=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l},13390:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},87181:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},21112:(e,t,r)=>{var i=r(39137),a=Math.max;e.exports=function(e,t,r){return t=a(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,l=a(o.length-t,0),u=Array(l);++s{var i=r(37611),a="object"==typeof self&&self&&self.Object===Object&&self,o=i||a||Function("return this")();e.exports=o},38599:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},51793:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},59191:e=>{e.exports=function(e){return this.__data__.has(e)}},78874:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},234:(e,t,r)=>{var i=r(44578),a=r(72347)(i);e.exports=a},72347:e=>{var t=Date.now;e.exports=function(e){var r=0,i=0;return function(){var a=t(),o=16-(a-i);if(i=a,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},82795:(e,t,r)=>{var i=r(58148);e.exports=function(){this.__data__=new i,this.size=0}},9113:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},80934:e=>{e.exports=function(e){return this.__data__.get(e)}},68732:e=>{e.exports=function(e){return this.__data__.has(e)}},5525:(e,t,r)=>{var i=r(58148),a=r(67926),o=r(30095);e.exports=function(e,t){var r=this.__data__;if(r instanceof i){var s=r.__data__;if(!a||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},936:e=>{e.exports=function(e,t,r){for(var i=r-1,a=e.length;++i{var i=r(85244),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=i(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,r,i,a){t.push(i?a.replace(o,"$1"):r||e)}),t});e.exports=s},1094:(e,t,r)=>{var i=r(76871),a=1/0;e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}},81708:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},44347:e=>{e.exports=function(e){return function(){return e}}},64111:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},7450:(e,t,r)=>{var i=r(24354);e.exports=function(e){return(null==e?0:e.length)?i(e,1):[]}},9459:(e,t,r)=>{var i=r(57305);e.exports=function(e,t,r){var a=null==e?void 0:i(e,t);return void 0===a?r:a}},1433:(e,t,r)=>{var i=r(50045),a=r(23932);e.exports=function(e,t){return null!=e&&a(e,t,i)}},24576:e=>{e.exports=function(e){return e}},46148:(e,t,r)=>{var i=r(79574),a=r(91380),o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable,u=i(function(){return arguments}())?i:function(e){return a(e)&&s.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},32966:e=>{var t=Array.isArray;e.exports=t},17632:(e,t,r)=>{var i=r(85586),a=r(99002);e.exports=function(e){return null!=e&&a(e.length)&&!i(e)}},16400:(e,t,r)=>{var i=r(17632),a=r(91380);e.exports=function(e){return a(e)&&i(e)}},10750:(e,t,r)=>{e=r.nmd(e);var i=r(39288),a=r(89531),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,l=s&&s.exports===o?i.Buffer:void 0,u=l?l.isBuffer:void 0;e.exports=u||a},16851:(e,t,r)=>{var i=r(78768),a=r(96291),o=r(7553),s=o&&o.isDate,l=s?a(s):i;e.exports=l},81711:(e,t,r)=>{var i=r(88132);e.exports=function(e,t){return i(e,t)}},85586:(e,t,r)=>{var i=r(1534),a=r(62880);e.exports=function(e){if(!a(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},99002:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},62880:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},91380:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},36153:(e,t,r)=>{var i=r(1534),a=r(89083),o=r(91380),s=Object.prototype,l=Function.prototype.toString,u=s.hasOwnProperty,d=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=i(e))return!1;var t=a(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==d}},4891:(e,t,r)=>{var i=r(1534),a=r(32966),o=r(91380);e.exports=function(e){return"string"==typeof e||!a(e)&&o(e)&&"[object String]"==i(e)}},76871:(e,t,r)=>{var i=r(1534),a=r(91380);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==i(e)}},42191:(e,t,r)=>{var i=r(17633),a=r(96291),o=r(7553),s=o&&o.isTypedArray,l=s?a(s):i;e.exports=l},85865:(e,t,r)=>{var i=r(77133),a=r(54190),o=r(17632);e.exports=function(e){return o(e)?i(e):a(e)}},58698:(e,t,r)=>{var i=r(77133),a=r(75806),o=r(17632);e.exports=function(e){return o(e)?i(e,!0):a(e)}},90601:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},97300:(e,t,r)=>{var i=r(30095);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var i=arguments,a=t?t.apply(this,i):i[0],o=r.cache;if(o.has(a))return o.get(a);var s=e.apply(this,i);return r.cache=o.set(a,s)||o,s};return r.cache=new(a.Cache||i),r}a.Cache=i,e.exports=a},86506:(e,t,r)=>{var i=r(50076),a=r(58958)(function(e,t,r){i(e,t,r)});e.exports=a},73525:e=>{e.exports=function(){}},41686:(e,t,r)=>{var i=r(79064),a=r(77991)(function(e,t){return null==e?{}:i(e,t)});e.exports=a},94416:(e,t,r)=>{var i=r(78974),a=r(3243),o=r(76958),s=r(1094);e.exports=function(e){return o(e)?i(s(e)):a(e)}},76629:(e,t,r)=>{var i=r(15517);e.exports=function(e,t,r){return null==e?e:i(e,t,r)}},77529:(e,t,r)=>{var i=r(24354),a=r(40620),o=r(44563),s=r(47760),l=o(function(e,t){if(null==e)return[];var r=t.length;return r>1&&s(e,t[0],t[1])?t=[]:r>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),a(e,i(t,1),[])});e.exports=l},95252:e=>{e.exports=function(){return[]}},89531:e=>{e.exports=function(){return!1}},38018:(e,t,r)=>{var i=r(44295),a=r(58698);e.exports=function(e){return i(e,a(e))}},41029:(e,t,r)=>{var i=r(96115);e.exports=function(e){return null==e?"":i(e)}},7379:(e,t,r)=>{var i=r(21213);e.exports=function(e){return e&&e.length?i(e):[]}},82511:(e,t,r)=>{var i=r(44729),a=r(21213);e.exports=function(e,t){return e&&e.length?a(e,i(t,2)):[]}},49037:(e,t,r)=>{var i=r(49834),a=r(44563),o=r(16400),s=a(function(e,t){return o(e)?i(e,t):[]});e.exports=s},39542:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var i=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function a(e,t){if(e.length!==t.length)return!1;for(var r,a,o=0;o{/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + */e.exports=r(40572)},70045:(e,t,r)=>{"use strict";/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var i=r(46866),a=r(71017).extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=o.exec(e),r=t&&i[t[1].toLowerCase()];return r&&r.charset?r.charset:!!(t&&s.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var r=-1===e.indexOf("/")?t.lookup(e):e;if(!r)return!1;if(-1===r.indexOf("charset")){var i=t.charset(r);i&&(r+="; charset="+i.toLowerCase())}return r},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var r=o.exec(e),i=r&&t.extensions[r[1].toLowerCase()];return!!i&&!!i.length&&i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var r=a("x."+e).toLowerCase().substr(1);return!!r&&(t.types[r]||!1)},t.types=Object.create(null),function(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(i).forEach(function(a){var o=i[a],s=o.extensions;if(s&&s.length){e[a]=s;for(var l=0;lp||d===p&&"application/"===t[u].substr(0,12)))continue}t[u]=a}}})}(t.extensions,t.types)},87914:e=>{function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,a,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===o&&isFinite(e))return r.long?(i=Math.abs(e))>=864e5?t(e,i,864e5,"day"):i>=36e5?t(e,i,36e5,"hour"):i>=6e4?t(e,i,6e4,"minute"):i>=1e3?t(e,i,1e3,"second"):e+" ms":(a=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":a>=36e5?Math.round(e/36e5)+"h":a>=6e4?Math.round(e/6e4)+"m":a>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},21100:e=>{"use strict";let t=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],r=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],i=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],a=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],o=(e,t,r)=>{let i=e;return"string"==typeof t||Array.isArray(t)?i=e.toLocaleString(t,r):(!0===t||void 0!==r)&&(i=e.toLocaleString(void 0,r)),i};e.exports=(e,s)=>{let l;if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);let u=(s=Object.assign({bits:!1,binary:!1},s)).bits?s.binary?a:i:s.binary?r:t;if(s.signed&&0===e)return` 0 ${u[0]}`;let d=e<0,p=d?"-":s.signed?"+":"";if(d&&(e=-e),void 0!==s.minimumFractionDigits&&(l={minimumFractionDigits:s.minimumFractionDigits}),void 0!==s.maximumFractionDigits&&(l=Object.assign({maximumFractionDigits:s.maximumFractionDigits},l)),e<1)return p+o(e,s.locale,l)+" "+u[0];let f=Math.min(Math.floor(s.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),u.length-1);return e/=Math.pow(s.binary?1024:1e3,f),l||(e=e.toPrecision(3)),p+o(Number(e),s.locale,l)+" "+u[f]}},99899:(e,t,r)=>{"use strict";var i=r(56715);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,s){if(s!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},78439:(e,t,r)=>{e.exports=r(99899)()},56715:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},13304:(e,t,r)=>{"use strict";var i=r(57310).parse,a={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},o=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function s(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.j=function(e){var t,r,l,u="string"==typeof e?i(e):e||{},d=u.protocol,p=u.host,f=u.port;if("string"!=typeof p||!p||"string"!=typeof d||(d=d.split(":",1)[0],t=p=p.replace(/:\d*$/,""),r=f=parseInt(f)||a[d]||0,!(!(l=(s("npm_config_no_proxy")||s("no_proxy")).toLowerCase())||"*"!==l&&l.split(/[,\s]/).every(function(e){if(!e)return!0;var i=e.match(/^(.+):(\d+)$/),a=i?i[1]:e,s=i?parseInt(i[2]):0;return!!s&&s!==r||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!o.call(t,a)):t!==a)}))))return"";var m=s("npm_config_"+d+"_proxy")||s(d+"_proxy")||s("npm_config_proxy")||s("all_proxy");return m&&-1===m.indexOf("://")&&(m=d+"://"+m),m}},86725:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,i="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,s){if(o===s)return!0;if(o&&s&&"object"==typeof o&&"object"==typeof s){var l,u,d,p;if(o.constructor!==s.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=s.length)return!1;for(u=l;0!=u--;)if(!e(o[u],s[u]))return!1;return!0}if(r&&o instanceof Map&&s instanceof Map){if(o.size!==s.size)return!1;for(p=o.entries();!(u=p.next()).done;)if(!s.has(u.value[0]))return!1;for(p=o.entries();!(u=p.next()).done;)if(!e(u.value[1],s.get(u.value[0])))return!1;return!0}if(i&&o instanceof Set&&s instanceof Set){if(o.size!==s.size)return!1;for(p=o.entries();!(u=p.next()).done;)if(!s.has(u.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(s)){if((l=o.length)!=s.length)return!1;for(u=l;0!=u--;)if(o[u]!==s[u])return!1;return!0}if(o.constructor===RegExp)return o.source===s.source&&o.flags===s.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof s.valueOf)return o.valueOf()===s.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof s.toString)return o.toString()===s.toString();if((l=(d=Object.keys(o)).length)!==Object.keys(s).length)return!1;for(u=l;0!=u--;)if(!Object.prototype.hasOwnProperty.call(s,d[u]))return!1;if(t&&o instanceof Element)return!1;for(u=l;0!=u--;)if(("_owner"!==d[u]&&"__v"!==d[u]&&"__o"!==d[u]||!o.$$typeof)&&!e(o[d[u]],s[d[u]]))return!1;return!0}return o!=o&&s!=s}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},49268:function(e,t,r){var i;i=function(e){return(()=>{var t={703:(e,t,r)=>{"use strict";var i=r(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,s){if(s!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,i="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,s){if(o===s)return!0;if(o&&s&&"object"==typeof o&&"object"==typeof s){var l,u,d,p;if(o.constructor!==s.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=s.length)return!1;for(u=l;0!=u--;)if(!e(o[u],s[u]))return!1;return!0}if(r&&o instanceof Map&&s instanceof Map){if(o.size!==s.size)return!1;for(p=o.entries();!(u=p.next()).done;)if(!s.has(u.value[0]))return!1;for(p=o.entries();!(u=p.next()).done;)if(!e(u.value[1],s.get(u.value[0])))return!1;return!0}if(i&&o instanceof Set&&s instanceof Set){if(o.size!==s.size)return!1;for(p=o.entries();!(u=p.next()).done;)if(!s.has(u.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(s)){if((l=o.length)!=s.length)return!1;for(u=l;0!=u--;)if(o[u]!==s[u])return!1;return!0}if(o.constructor===RegExp)return o.source===s.source&&o.flags===s.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===s.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===s.toString();if((l=(d=Object.keys(o)).length)!==Object.keys(s).length)return!1;for(u=l;0!=u--;)if(!Object.prototype.hasOwnProperty.call(s,d[u]))return!1;if(t&&o instanceof Element)return!1;for(u=l;0!=u--;)if(("_owner"!==d[u]&&"__v"!==d[u]&&"__o"!==d[u]||!o.$$typeof)&&!e(o[d[u]],s[d[u]]))return!1;return!0}return o!=o&&s!=s}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},37:function(e,t,r){!function(e,t){function r(){return(r=Object.assign||function(e){for(var t=1;t1||e(function(e,i){i.trackMouse&&(document.addEventListener(u,f),document.addEventListener(d,g));var a="touches"in t?t.touches[0]:t,o=p([a.clientX,a.clientY],i.rotationAngle);return r({},e,l,{initial:[].concat(o),xy:o,start:t.timeStamp||0})})},f=function(t){e(function(e,s){if("touches"in t&&t.touches.length>1)return e;var l="touches"in t?t.touches[0]:t,u=p([l.clientX,l.clientY],s.rotationAngle),d=u[0],f=u[1],m=d-e.xy[0],g=f-e.xy[1],v=Math.abs(m),b=Math.abs(g),y=(t.timeStamp||0)-e.start;if(vb?m>0?a:i:g>0?o:"Up",w={absX:v,absY:b,deltaX:m,deltaY:g,dir:_,event:t,first:e.first,initial:e.initial,velocity:Math.sqrt(v*v+b*b)/(y||1),vxvy:[m/(y||1),g/(y||1)]};s.onSwiping&&s.onSwiping(w);var k=!1;return(s.onSwiping||s.onSwiped||"onSwiped"+_ in s)&&(k=!0),k&&s.preventDefaultTouchmoveEvent&&s.trackTouch&&t.cancelable&&t.preventDefault(),r({},e,{first:!1,eventData:w,swiping:!0})})},m=function(t){e(function(e,i){var a;if(e.swiping&&e.eventData){a=r({},e.eventData,{event:t}),i.onSwiped&&i.onSwiped(a);var o="onSwiped"+a.dir;o in i&&i[o](a)}else i.onTap&&i.onTap({event:t});return r({},e,l,{eventData:a})})},g=function(e){document.removeEventListener(u,f),document.removeEventListener(d,g),m(e)},_=function(e,t){var r=function(){};if(e&&e.addEventListener){var i=[["touchstart",s],["touchmove",f],["touchend",m]];i.forEach(function(r){var i=r[0],a=r[1];return e.addEventListener(i,a,{passive:t})}),r=function(){return i.forEach(function(t){var r=t[0],i=t[1];return e.removeEventListener(r,i)})}}return r},w={ref:function(t){null!==t&&e(function(e,i){if(e.el===t)return e;var a={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),a.cleanUpTouch=void 0),i.trackTouch&&t&&(a.cleanUpTouch=_(t,!i.preventDefaultTouchmoveEvent)),r({},e,{el:t},a)})}},t.trackMouse&&(w.onMouseDown=s),[w,_]},[v]),w=_[0],k=_[1];return b.current=(f=b.current,m=y.current,g={},!m.trackTouch&&f.cleanUpTouch?(f.cleanUpTouch(),g.cleanUpTouch=void 0):m.trackTouch&&!f.cleanUpTouch&&f.el&&(g.cleanUpTouch=k(f.el,!m.preventDefaultTouchmoveEvent)),r({},f,g)),w}}(t,r(888))},888:t=>{"use strict";t.exports=e}},r={};function i(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}};return t[e].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";function e(){for(var e,t,r=0,i="";re_});var t=i(888),r=i.n(t);let o=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},s="object"==typeof global&&global&&global.Object===Object&&global;var l="object"==typeof self&&self&&self.Object===Object&&self;let u=s||l||Function("return this")(),d=function(){return u.Date.now()};var p=/\s/,f=/^\s+/;let m=u.Symbol;var g=Object.prototype,v=g.hasOwnProperty,b=g.toString,y=m?m.toStringTag:void 0,_=Object.prototype.toString,w=m?m.toStringTag:void 0,k=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,E=/^0o[0-7]+$/i,F=parseInt;let C=function(e){if("number"==typeof e)return e;if("symbol"==typeof(r=e)||null!=r&&"object"==typeof r&&"[object Symbol]"==(null==(t=r)?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?function(e){var t=v.call(e,y),r=e[y];try{e[y]=void 0;var i=!0}catch(e){}var a=b.call(e);return i&&(t?e[y]=r:delete e[y]),a}(t):_.call(t)))return NaN;if(o(e)){var t,r,i,a="function"==typeof e.valueOf?e.valueOf():e;e=o(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;e=(i=e)?i.slice(0,function(e){for(var t=e.length;t--&&p.test(e.charAt(t)););return t}(i)+1).replace(f,""):i;var s=x.test(e);return s||E.test(e)?F(e.slice(2),s?2:8):k.test(e)?NaN:+e};var S=Math.max,D=Math.min;let j=function(e,t,r){var i,a,s,l,u,p,f=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=i,o=a;return i=a=void 0,f=t,l=e.apply(o,r)}function y(e){var r=e-p;return void 0===p||r>=t||r<0||g&&e-f>=s}function _(){var e,r=d();if(y(r))return w(r);u=setTimeout(_,(e=t-(r-p),g?D(e,s-(r-f)):e))}function w(e){return u=void 0,v&&i?b(e):(i=a=void 0,l)}function k(){var e,r=d(),o=y(r);if(i=arguments,a=this,p=r,o){if(void 0===u)return f=e=p,u=setTimeout(_,t),m?b(e):l;if(g)return clearTimeout(u),u=setTimeout(_,t),b(p)}return void 0===u&&(u=setTimeout(_,t)),l}return t=C(t)||0,o(r)&&(m=!!r.leading,s=(g="maxWait"in r)?S(C(r.maxWait)||0,t):s,v="trailing"in r?!!r.trailing:v),k.cancel=function(){void 0!==u&&clearTimeout(u),f=0,i=p=a=u=void 0},k.flush=function(){return void 0===u?l:w(d())},k},T=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),j(e,t,{leading:i,maxWait:t,trailing:a})};var O=i(590),P=i.n(O),R=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,i){return e[0]===t&&(r=i,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),i=this.__entries__[r];return i&&i[1]},t.prototype.set=function(t,r){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,i=e(r,t);~i&&r.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,i=this.__entries__;r0},e.prototype.connect_=function(){M&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),N?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){M&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;I.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),U=function(e,t){for(var r=0,i=Object.keys(t);r0},e}(),Z="undefined"!=typeof WeakMap?new WeakMap:new R,J=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var r=new K(t,B.getInstance(),this);Z.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){J.prototype[e]=function(){var t;return(t=Z.get(this))[e].apply(t,arguments)}});let X=void 0!==L.ResizeObserver?L.ResizeObserver:J;var Q=i(37),ee=i(697),et=r().memo(function(e){var t=e.description,i=e.fullscreen,a=e.handleImageLoaded,o=e.isFullscreen,s=e.onImageError,l=e.original,u=e.originalAlt,d=e.originalHeight,p=e.originalWidth,f=e.originalTitle,m=e.sizes,g=e.srcSet,v=e.loading,b=o&&i||l;return r().createElement(r().Fragment,null,r().createElement("img",{className:"image-gallery-image",src:b,alt:u,srcSet:g,height:d,width:p,sizes:m,title:f,onLoad:function(e){return a(e,l)},onError:s,loading:v}),t&&r().createElement("span",{className:"image-gallery-description"},t))});et.displayName="Item",et.propTypes={description:ee.string,fullscreen:ee.string,handleImageLoaded:ee.func.isRequired,isFullscreen:ee.bool,onImageError:ee.func.isRequired,original:ee.string.isRequired,originalAlt:ee.string,originalHeight:ee.string,originalWidth:ee.string,originalTitle:ee.string,sizes:ee.string,srcSet:ee.string,loading:ee.string},et.defaultProps={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"};var en={left:r().createElement("polyline",{points:"15 18 9 12 15 6"}),right:r().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:r().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:r().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:r().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:r().createElement(r().Fragment,null,r().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),r().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},er=function(e){var t=e.strokeWidth,i=e.viewBox,a=e.icon;return r().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:i,fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"},en[a])};er.propTypes={strokeWidth:ee.number,viewBox:ee.string,icon:(0,ee.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired},er.defaultProps={strokeWidth:1,viewBox:"0 0 24 24"};var ei=r().memo(function(e){var t=e.isFullscreen,i=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:i,"aria-label":"Open Fullscreen"},r().createElement(er,{strokeWidth:2,icon:t?"minimize":"maximize"}))});ei.displayName="Fullscreen",ei.propTypes={isFullscreen:ee.bool.isRequired,onClick:ee.func.isRequired};var ea=r().memo(function(e){var t=e.disabled,i=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:t,onClick:i,"aria-label":"Previous Slide"},r().createElement(er,{icon:"left",viewBox:"6 0 12 24"}))});ea.displayName="LeftNav",ea.propTypes={disabled:ee.bool.isRequired,onClick:ee.func.isRequired};var eo=r().memo(function(e){var t=e.disabled,i=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:t,onClick:i,"aria-label":"Next Slide"},r().createElement(er,{icon:"right",viewBox:"6 0 12 24"}))});eo.displayName="RightNav",eo.propTypes={disabled:ee.bool.isRequired,onClick:ee.func.isRequired};var es=r().memo(function(e){var t=e.isPlaying,i=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:i,"aria-label":"Play or Pause Slideshow"},r().createElement(er,{strokeWidth:2,icon:t?"pause":"play"}))});function el(){return(el=Object.assign||function(e){for(var t=1;t=3&&i&&(0===e&&t===a.length-1?o=" ".concat(l):e===a.length-1&&0===t&&(o=" ".concat(s))),o}},{key:"getTranslateXForTwoSlide",value:function(e){var t=this.state,r=t.currentIndex,i=t.currentSlideOffset,a=t.previousIndex,o=0===e&&1===r,s=1===e&&0===r,l=0===i,u=-100*r+100*e+i;return i>0?this.direction="left":i<0&&(this.direction="right"),s&&i>0&&(u=-100+i),o&&i<0&&(u=100+i),r!==a?0===e&&0===a&&l&&"left"===this.direction?u=100:1===e&&1===a&&l&&"right"===this.direction&&(u=-100):(s&&l&&"left"===this.direction&&(u=-100),o&&l&&"right"===this.direction&&(u=100)),u}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(e){var t=this.state,r=t.currentIndex,i=t.currentSlideOffset,a=t.slideStyle,o=this.props,s=o.infinite,l=o.items,u=o.useTranslate3D,d=o.isRTL,p=l.length-1,f=(-100*r+100*e)*(d?-1:1)+i;s&&l.length>2&&(0===r&&e===p?f=-100*(d?-1:1)+i:r===p&&0===e&&(f=100*(d?-1:1)+i)),s&&2===l.length&&(f=this.getTranslateXForTwoSlide(e));var m="translate(".concat(f,"%, 0)");return u&&(m="translate3d(".concat(f,"%, 0, 0)")),ep({display:this.isSlideVisible(e)?"inherit":"none",WebkitTransform:m,MozTransform:m,msTransform:m,OTransform:m,transform:m},a)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var e,t=this.props,r=t.useTranslate3D,i=t.isRTL,a=this.state,o=a.thumbsTranslate,s=a.thumbsStyle,l=i?-1*o:o;return this.isThumbnailVertical()?(e="translate(0, ".concat(o,"px)"),r&&(e="translate3d(0, ".concat(o,"px, 0)"))):(e="translate(".concat(l,"px, 0)"),r&&(e="translate3d(".concat(l,"px, 0, 0)"))),ep({WebkitTransform:e,MozTransform:e,msTransform:e,OTransform:e,transform:e},s)}},{key:"getSlideItems",value:function(){var t=this,i=this.state.currentIndex,a=this.props,o=a.items,s=a.slideOnThumbnailOver,l=a.onClick,u=a.lazyLoad,d=a.onTouchMove,p=a.onTouchEnd,f=a.onTouchStart,m=a.onMouseOver,g=a.onMouseLeave,v=a.renderItem,b=a.renderThumbInner,y=a.showThumbnails,_=a.showBullets,w=[],k=[],x=[];return o.forEach(function(a,o){var E=t.getAlignmentClassName(o),F=a.originalClass?" ".concat(a.originalClass):"",C=a.thumbnailClass?" ".concat(a.thumbnailClass):"",S=a.renderItem||v||t.renderItem,D=a.renderThumbInner||b||t.renderThumbInner,j=!u||E||t.lazyLoaded[o];j&&u&&!t.lazyLoaded[o]&&(t.lazyLoaded[o]=!0);var T=t.getSlideStyle(o),O=r().createElement("div",{"aria-label":"Go to Slide ".concat(o+1),key:"slide-".concat(o),tabIndex:"-1",className:"image-gallery-slide ".concat(E," ").concat(F),style:T,onClick:l,onKeyUp:t.handleSlideKeyUp,onTouchMove:d,onTouchEnd:p,onTouchStart:f,onMouseOver:m,onFocus:m,onMouseLeave:g,role:"button"},j?S(a):r().createElement("div",{style:{height:"100%"}}));if(w.push(O),y&&a.thumbnail){var P=e("image-gallery-thumbnail",C,{active:i===o});k.push(r().createElement("button",{key:"thumbnail-".concat(o),type:"button",tabIndex:"0","aria-pressed":i===o?"true":"false","aria-label":"Go to Slide ".concat(o+1),className:P,onMouseLeave:s?t.onThumbnailMouseLeave:null,onMouseOver:function(e){return t.handleThumbnailMouseOver(e,o)},onFocus:function(e){return t.handleThumbnailMouseOver(e,o)},onKeyUp:function(e){return t.handleThumbnailKeyUp(e,o)},onClick:function(e){return t.onThumbnailClick(e,o)}},D(a)))}if(_){var R=e("image-gallery-bullet",a.bulletClass,{active:i===o});x.push(r().createElement("button",{type:"button",key:"bullet-".concat(o),className:R,onClick:function(e){return a.bulletOnClick&&a.bulletOnClick({item:a,itemIndex:o,currentIndex:i}),e.target.blur(),t.slideToIndex.call(t,o,e)},"aria-pressed":i===o?"true":"false","aria-label":"Go to Slide ".concat(o+1)}))}}),{slides:w,thumbnails:k,bullets:x}}},{key:"ignoreIsTransitioning",value:function(){var e=this.props.items,t=this.state,r=t.previousIndex,i=t.currentIndex,a=e.length-1;return Math.abs(r-i)>1&&!(0===r&&i===a)&&!(r===a&&0===i)}},{key:"isFirstOrLastSlide",value:function(e){return e===this.props.items.length-1||0===e}},{key:"slideIsTransitioning",value:function(e){var t=this.state,r=t.isTransitioning,i=t.previousIndex,a=t.currentIndex;return r&&!(e===i||e===a)}},{key:"isSlideVisible",value:function(e){return!this.slideIsTransitioning(e)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(e)}},{key:"slideThumbnailBar",value:function(){var e=this.state,t=e.currentIndex,r=e.isSwipingThumbnail,i=-this.getThumbsTranslate(t);r||(0===t?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:i,thumbsSwipedTranslate:i}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var e=this.props,t=e.infinite,r=e.isRTL;return t||(r?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var e=this.props,t=e.infinite,r=e.isRTL;return t||(r?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex=100&&(v=100),this.setState({currentSlideOffset:g*v,slideStyle:{transition:"transform ".concat(m,"ms ease-out")}})}}}else p||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(e){var t=e.event,r=e.absX,i=e.absY,a=e.dir,o=this.props,s=o.stopPropagation,l=o.swipingThumbnailTransitionDuration,u=this.state,d=u.thumbsSwipedTranslate,p=u.thumbnailsWrapperHeight,f=u.thumbnailsWrapperWidth,m=u.swipingUpDown,g=u.swipingLeftRight;if(this.isThumbnailVertical()){if((a===Q.LEFT||a===Q.RIGHT||g)&&!m)return void(g||this.setState({swipingLeftRight:!0}));a!==Q.UP&&a!==Q.DOWN||m||this.setState({swipingUpDown:!0})}else{if((a===Q.UP||a===Q.DOWN||m)&&!g)return void(m||this.setState({swipingUpDown:!0}));a!==Q.LEFT&&a!==Q.RIGHT||g||this.setState({swipingLeftRight:!0})}var v,b,y,_,w=this.thumbnails&&this.thumbnails.current;this.isThumbnailVertical()?(b=Math.abs(v=d+(a===Q.DOWN?i:-i))>w.scrollHeight-p+20,y=v>20,_=w.scrollHeight<=p):(b=Math.abs(v=d+(a===Q.RIGHT?r:-r))>w.scrollWidth-f+20,y=v>20,_=w.scrollWidth<=f),_||(a===Q.LEFT||a===Q.UP)&&b||(a===Q.RIGHT||a===Q.DOWN)&&y||(s&&t.stopPropagation(),this.setState({thumbsTranslate:v,thumbsStyle:{transition:"transform ".concat(l,"ms ease-out")}}))}},{key:"handleOnThumbnailSwiped",value:function(){var e=this.state.thumbsTranslate,t=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:e,thumbsStyle:{transition:"all ".concat(t,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){return Math.abs(this.state.currentSlideOffset)>this.props.swipeThreshold}},{key:"resetSwipingDirection",value:function(){var e=this.state,t=e.swipingUpDown,r=e.swipingLeftRight;t&&this.setState({swipingUpDown:!1}),r&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(e){var t=e.event,r=e.dir,i=e.velocity,a=this.props,o=a.disableSwipe,s=a.stopPropagation,l=a.flickThreshold;if(!o){var u=this.props.isRTL;s&&t.stopPropagation(),this.resetSwipingDirection();var d=(r===Q.LEFT?1:-1)*(u?-1:1),p=r===Q.UP||r===Q.DOWN;this.handleOnSwipedTo(d,i>l&&!p)}}},{key:"handleOnSwipedTo",value:function(e,t){var r=this.state,i=r.currentIndex,a=r.isTransitioning,o=i;(this.sufficientSwipe()||t)&&!a&&(o+=e),(-1!==e||this.canSlideLeft())&&(1!==e||this.canSlideRight())||(o=i),this.unthrottledSlideToIndex(o)}},{key:"handleTouchMove",value:function(e){this.state.swipingLeftRight&&e.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(e){var t=this.props,r=t.disableKeyDown,i=t.useBrowserFullscreen,a=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!r)switch(parseInt(e.keyCode||e.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(e);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(e);break;case 27:a&&!i&&this.exitFullScreen()}}},{key:"handleImageError",value:function(e){var t=this.props.onErrorImageURL;t&&-1===e.target.src.indexOf(t)&&(e.target.src=t)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var e=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(e)))}},{key:"initSlideWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeSlideWrapperObserver=new X(j(function(e){e&&e.forEach(function(e){t.setState({thumbnailsWrapperWidth:e.contentRect.width},t.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(e.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeThumbnailWrapperObserver=new X(j(function(e){e&&e.forEach(function(e){t.setState({thumbnailsWrapperHeight:e.contentRect.height},t.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(e.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var e=this.props,t=e.onScreenChange,r=e.useBrowserFullscreen,i=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,a=this.imageGallery.current===i;t&&t(a),r&&this.setState({isFullscreen:a})}},{key:"slideToIndex",value:function(e,t){var r=this.state,i=r.currentIndex,a=r.isTransitioning,o=this.props,s=o.items,l=o.slideDuration,u=o.onBeforeSlide;if(!a){t&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var d=s.length-1,p=e;e<0?p=d:e>d&&(p=0),u&&p!==i&&u(p),this.setState({previousIndex:i,currentIndex:p,isTransitioning:p!==i,currentSlideOffset:0,slideStyle:{transition:"all ".concat(l,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"right":"left")}},{key:"slideRight",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"left":"right")}},{key:"slideTo",value:function(e,t){var r=this,i=this.state,a=i.currentIndex,o=i.currentSlideOffset,s=i.isTransitioning,l=this.props.items,u=a+("left"===t?-1:1);s||(2===l.length?this.setState({currentSlideOffset:o+("left"===t?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return r.slideToIndex(u,e)},25)}):this.slideToIndex(u,e))}},{key:"handleThumbnailMouseOver",value:function(e,t){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(e,t)}},{key:"handleThumbnailKeyUp",value:function(e,t){eb(e)&&this.onThumbnailClick(e,t)}},{key:"handleSlideKeyUp",value:function(e){eb(e)&&(0,this.props.onClick)(e)}},{key:"isThumbnailVertical",value:function(){var e=this.props.thumbnailPosition;return"left"===e||"right"===e}},{key:"addScreenChangeEvent",value:function(){var e=this;eg.forEach(function(t){document.addEventListener(t,e.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var e=this;eg.forEach(function(t){document.removeEventListener(t,e.handleScreenChange)})}},{key:"fullScreen",value:function(){var e=this.props.useBrowserFullscreen,t=this.imageGallery.current;e?t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var e=this.state.isFullscreen,t=this.props.useBrowserFullscreen;e&&(t?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var e=this.props.infinite,t=this.state.currentIndex;e||this.canSlideRight()?this.slideToIndex(t+1):this.pause()}},{key:"play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,r=t.onPlay,i=t.slideInterval,a=t.slideDuration,o=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(i,a)),r&&e&&r(o))}},{key:"pause",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props.onPause,r=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),t&&e&&t(r))}},{key:"isImageLoaded",value:function(e){return!!this.loadedImages[e.original]||(this.loadedImages[e.original]=!0,!1)}},{key:"handleImageLoaded",value:function(e,t){var r=this.props.onImageLoad;!this.loadedImages[t]&&r&&(this.loadedImages[t]=!0,r(e))}},{key:"renderItem",value:function(e){var t=this.state.isFullscreen,i=this.props.onImageError||this.handleImageError;return r().createElement(et,{description:e.description,fullscreen:e.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:t,onImageError:i,original:e.original,originalAlt:e.originalAlt,originalHeight:e.originalHeight,originalWidth:e.originalWidth,originalTitle:e.originalTitle,sizes:e.sizes,loading:e.loading,srcSet:e.srcSet})}},{key:"renderThumbInner",value:function(e){var t=this.props.onThumbnailError||this.handleImageError;return r().createElement("span",{className:"image-gallery-thumbnail-inner"},r().createElement("img",{className:"image-gallery-thumbnail-image",src:e.thumbnail,height:e.thumbnailHeight,width:e.thumbnailWidth,alt:e.thumbnailAlt,title:e.thumbnailTitle,loading:e.thumbnailLoading,onError:t}),e.thumbnailLabel&&r().createElement("div",{className:"image-gallery-thumbnail-label"},e.thumbnailLabel))}},{key:"render",value:function(){var t=this.state,i=t.currentIndex,a=t.isFullscreen,o=t.modalFullscreen,s=t.isPlaying,l=this.props,u=l.additionalClass,d=l.disableThumbnailSwipe,p=l.indexSeparator,f=l.isRTL,m=l.items,g=l.thumbnailPosition,v=l.renderFullscreenButton,b=l.renderCustomControls,y=l.renderLeftNav,_=l.renderRightNav,w=l.showBullets,k=l.showFullscreenButton,x=l.showIndex,E=l.showThumbnails,F=l.showNav,C=l.showPlayButton,S=l.renderPlayPauseButton,D=this.getThumbnailStyle(),j=this.getSlideItems(),T=j.slides,O=j.thumbnails,P=j.bullets,R=e("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(g),{"image-gallery-rtl":f}),M=r().createElement("div",{ref:this.imageGallerySlideWrapper,className:R},b&&b(),this.canSlide()?r().createElement(r().Fragment,null,F&&r().createElement(r().Fragment,null,y(this.slideLeft,!this.canSlideLeft()),_(this.slideRight,!this.canSlideRight())),r().createElement(ec,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},r().createElement("div",{className:"image-gallery-slides"},T))):r().createElement("div",{className:"image-gallery-slides"},T),C&&S(this.togglePlay,s),w&&r().createElement("div",{className:"image-gallery-bullets"},r().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},P)),k&&v(this.toggleFullScreen,a),x&&r().createElement("div",{className:"image-gallery-index"},r().createElement("span",{className:"image-gallery-index-current"},i+1),r().createElement("span",{className:"image-gallery-index-separator"},p),r().createElement("span",{className:"image-gallery-index-total"},m.length))),L=e("image-gallery",u,{"fullscreen-modal":o}),A=e("image-gallery-content",this.getThumbnailPositionClassName(g),{fullscreen:a}),I=e("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(g),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&f},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!d},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!d});return r().createElement("div",{ref:this.imageGallery,className:L,"aria-live":"polite"},r().createElement("div",{className:A},("bottom"===g||"right"===g)&&M,E&&O.length>0?r().createElement(ec,{className:I,delta:0,onSwiping:!d&&this.handleThumbnailSwiping,onSwiped:!d&&this.handleOnThumbnailSwiped},r().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},r().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:D,"aria-label":"Thumbnail Navigation"},O))):null,("top"===g||"left"===g)&&M))}}],function(e,t){for(var r=0;r{"use strict";/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r,i=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case o:case l:case s:case m:case g:return e;default:switch(e=e&&e.$$typeof){case p:case d:case f:case b:case v:case u:return e;default:return t}}case a:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=d,t.ContextProvider=u,t.Element=i,t.ForwardRef=f,t.Fragment=o,t.Lazy=b,t.Memo=v,t.Portal=a,t.Profiler=l,t.StrictMode=s,t.Suspense=m,t.SuspenseList=g,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return _(e)===d},t.isContextProvider=function(e){return _(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===b},t.isMemo=function(e){return _(e)===v},t.isPortal=function(e){return _(e)===a},t.isProfiler=function(e){return _(e)===l},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===m},t.isSuspenseList=function(e){return _(e)===g},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===s||e===m||e===g||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===u||e.$$typeof===d||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=_},68167:(e,t,r)=>{"use strict";e.exports=r(20868)},52495:(e,t,r)=>{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=function(e){return e&&e.__esModule?e:{default:e}}(r(86725)),s=r(16969),l=r(33948);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(){return(d=Object.assign||function(e){for(var t=1;t0&&e<1){var i=this.player.getDuration();if(!i){console.warn("ReactPlayer: could not seek using fraction –\xa0duration not yet available");return}this.player.seekTo(i*e);return}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?a.default.createElement(e,d({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],function(e,t){for(var r=0;r{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=e[s]}return r.default=e,t&&t.set(e,r),r}(r(17577));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function l(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var i=F(r(17577)),a=p(r(10909)),o=p(r(39542)),s=p(r(86725)),l=r(16969),u=r(33948),d=p(r(52495));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function g(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,i=Array(t);r0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null}),x(w(r),"seekTo",function(e,t){if(!r.player)return null;r.player.seekTo(e,t)}),x(w(r),"handleReady",function(){r.props.onReady(w(r))}),x(w(r),"getActivePlayer",(0,o.default)(function(r){for(var i=0,a=[].concat(O,b(e));i{"use strict";t.Z=void 0;var i=function(e){return e&&e.__esModule?e:{default:e}}(r(61424)),a=r(15642),o=i.default[i.default.length-1],s=(0,a.createReactPlayer)(i.default,o);t.Z=s},8613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var i=r(33948);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s,l=!0,u=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return l=e.done,e},e:function(e){u=!0,s=e},f:function(){try{l||null==o.return||o.return()}finally{if(u)throw s}}}}(t);try{for(o.s();!(r=o.n()).done;){var s=r.value;if("string"==typeof s&&e(s)||e(s.src))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}return!!((0,i.isMediaStream)(t)||(0,i.isBlobUrl)(t))||w.test(t)||k.test(t)||x.test(t)||E.test(t)||F.test(t)}}},76499:(e,t,r)=>{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||function(e){for(var t=1;t{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||function(e){for(var t=1;t1,b=g&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||v)&&!window.MSStream,y=/www\.dropbox\.com\/.+/,_=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,r,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=f(g);return e=t?Reflect.construct(r,arguments,f(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:p(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,r=Array(t),i=0;iparseInt(s)?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:r.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()}),this.shouldUseFLV(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",l),"flvjs").then(function(r){t.flv=r.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.on(r.Events.ERROR,function(e,i){t.props.onError(e,i,t.flv,r)}),t.flv.load(),t.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,o.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,r=e.seekable;return t===1/0&&r.length>0?r.end(r.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),r=this.getDuration();return t>r?r:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),r=this.shouldUseDASH(e),i=this.shouldUseFLV(e);return e instanceof Array||(0,o.isMediaStream)(e)||t||r||i?void 0:y.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,r=e.playing,i=e.loop,o=e.controls,s=e.muted,l=e.config,d=e.width,p=e.height,f=this.shouldUseAudio(this.props);return a.default.createElement(f?"audio":"video",u({ref:this.ref,src:this.getSource(t),style:{width:"auto"===d?d:"100%",height:"auto"===p?p:"100%"},preload:"auto",autoPlay:r||void 0,controls:o,muted:s,loop:i},l.attributes),t instanceof Array&&t.map(this.renderSourceElement),l.tracks.map(this.renderTrack))}}],function(e,t){for(var r=0;r{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(l,e);var t,r,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=p(l);return e=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:d(this)});function l(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,r=Array(t),i=0;i{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e){for(var t=1;t{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e){for(var t=1;t{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(m,e);var t,r,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=p(m);return e=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:d(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,r=Array(t),i=0;i{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,r,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=f(g);return e=t?Reflect.construct(r,arguments,f(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:p(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,r=Array(t),i=0;i{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,r,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=f(g);return e=t?Reflect.construct(r,arguments,f(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:p(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,r=Array(t),i=0;i{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(l,e);var t,r,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=f(l);return e=t?Reflect.construct(r,arguments,f(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:p(this)});function l(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,r=Array(t),i=0;i{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,r,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=f(g);return e=t?Reflect.construct(r,arguments,f(this).constructor):r.apply(this,arguments),e&&("object"===i(e)||"function"==typeof e)?e:p(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,r=Array(t),i=0;i{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(17577)),o=r(33948),s=r(8613);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,i=Array(t);r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(17577),a=r(33948),o=r(8613);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}var d=[{key:"youtube",name:"YouTube",canPlay:o.canPlay.youtube,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(91247))})})},{key:"soundcloud",name:"SoundCloud",canPlay:o.canPlay.soundcloud,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(98890))})})},{key:"vimeo",name:"Vimeo",canPlay:o.canPlay.vimeo,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(10225))})})},{key:"facebook",name:"Facebook",canPlay:o.canPlay.facebook,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(76750))})})},{key:"streamable",name:"Streamable",canPlay:o.canPlay.streamable,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(42013))})})},{key:"wistia",name:"Wistia",canPlay:o.canPlay.wistia,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(26904))})})},{key:"twitch",name:"Twitch",canPlay:o.canPlay.twitch,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(75851))})})},{key:"dailymotion",name:"DailyMotion",canPlay:o.canPlay.dailymotion,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(76499))})})},{key:"mixcloud",name:"Mixcloud",canPlay:o.canPlay.mixcloud,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(8515))})})},{key:"vidyard",name:"Vidyard",canPlay:o.canPlay.vidyard,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(61033))})})},{key:"kaltura",name:"Kaltura",canPlay:o.canPlay.kaltura,lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(60011))})})},{key:"file",name:"FilePlayer",canPlay:o.canPlay.file,canEnablePIP:function(e){return o.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,a.supportsWebKitPresentationMode)())&&!o.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,i.lazy)(function(){return Promise.resolve().then(function(){return u(r(43758))})})}];t.default=d},16969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var i=function(e){return e&&e.__esModule?e:{default:e}}(r(78439)),a=i.default.string,o=i.default.bool,s=i.default.number,l=i.default.array,u=i.default.oneOfType,d=i.default.shape,p=i.default.object,f=i.default.func,m=i.default.node,g={url:u([a,l,p]),playing:o,loop:o,controls:o,volume:s,muted:o,playbackRate:s,width:u([a,s]),height:u([a,s]),style:p,progressInterval:s,playsinline:o,pip:o,stopOnUnmount:o,light:u([o,a]),playIcon:m,previewTabIndex:s,fallback:m,oEmbedUrl:a,wrapper:u([a,f,d({render:f.isRequired})]),config:d({soundcloud:d({options:p}),youtube:d({playerVars:p,embedOptions:p,onUnstarted:f}),facebook:d({appId:a,version:a,playerId:a,attributes:p}),dailymotion:d({params:p}),vimeo:d({playerOptions:p,title:a}),file:d({attributes:p,tracks:l,forceVideo:o,forceAudio:o,forceHLS:o,forceDASH:o,forceFLV:o,hlsOptions:p,hlsVersion:a,dashVersion:a,flvVersion:a}),wistia:d({options:p,playerId:a,customControls:l}),mixcloud:d({options:p}),twitch:d({options:p,playerId:a}),vidyard:d({options:p})}),onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onPlaybackRateChange:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f};t.propTypes=g;var v=function(){};t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:v},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:v,onStart:v,onPlay:v,onPause:v,onBuffer:v,onBufferEnd:v,onEnded:v,onError:v,onDuration:v,onSeek:v,onPlaybackRateChange:v,onProgress:v,onClickPreview:v,onEnablePIP:v,onDisablePIP:v}},33948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return f(e,l)},t.parseEndTime=function(e){return f(e,u)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},t.getSDK=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.default,s=m(t);return s&&a(s)?Promise.resolve(s):new Promise(function(i,a){if(g[e]){g[e].push({resolve:i,reject:a});return}g[e]=[{resolve:i,reject:a}];var s=function(t){g[e].forEach(function(e){return e.resolve(t)})};if(r){var l=window[r];window[r]=function(){l&&l(),s(m(t))}}o(e,function(i){i?(g[e].forEach(function(e){return e.reject(i)}),g[e]=null):r||s(m(t))})})},t.getConfig=function(e,t){return(0,a.default)(t.config,e.config)},t.omit=function(e){for(var t,r=arguments.length,i=Array(r>1?r-1:0),a=1;a1?i-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var i=o(r(20812)),a=o(r(10909));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r{"use strict";r.d(t,{OO:()=>nf});var i=r(17577);function a(e,t){return function(r){return e(t(r))}}function o(e,t){return t(e)}function s(e,t){return function(r){return e(t,r)}}function l(e,t){return function(){return e(t)}}function u(){for(var e=arguments.length,t=Array(e),r=0;r-1&&e.splice(t,1)};case 0:e.slice().forEach(function(e){e(r)});return;default:throw Error("unrecognized action "+t)}}}function k(e){var t=e,r=w();return function(e,i){switch(e){case 1:i(t);break;case 0:t=i;break;case 4:return t}return r(e,i)}}function x(e){var t;return y(e,t=w()),t}function E(e,t){var r;return y(e,r=k(t)),r}function F(){for(var e=arguments.length,t=Array(e),r=0;r1?t-1:0),i=1;i0?e--:t(r)}}}function M(e){var t,r;return function(i){return function(a){t=a,r||(r=setTimeout(function(){r=void 0,i(t)},e))}}}function L(e){var t,r;return function(i){return function(a){t=a,r&&clearTimeout(r),r=setTimeout(function(){i(t)},e)}}}function A(){for(var e=arguments.length,t=Array(e),r=0;re.length)&&(t=e.length);for(var r=0,i=Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var V=["children"],W="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function $(e,t,r){var a=Object.keys(t.required||{}),o=Object.keys(t.optional||{}),u=Object.keys(t.methods||{}),d=Object.keys(t.events||{}),f=(0,i.createContext)({});function y(e,r){e.propsReady&&g(e.propsReady,!1);for(var i,s=q(a);!(i=s()).done;){var l=i.value;g(e[t.required[l]],r[l])}for(var u,d=q(o);!(u=d()).done;){var p=u.value;p in r&&g(e[t.optional[p]],r[p])}e.propsReady&&g(e.propsReady,!0)}function _(e){return d.reduce(function(r,i){var a,o,s,l;return r[i]=(a=e[t.events[i]],l=function(){return o&&o()},function(e,t){switch(e){case 1:if(!t)return l(),m;if(s===t)return;return l(),s=t,o=a(1,t);case 2:l(),s=null;return;default:throw Error("unrecognized action "+e)}}),r},{})}return{Component:(0,i.forwardRef)(function(s,m){var b=s.children,w=function(e,t){if(null==e)return{};var r,i,a={},o=Object.keys(e);for(i=0;i=0||(a[r]=e[r]);return a}(s,V),k=(0,i.useState)(function(){var t,r;return t=new Map,y(r=function e(r){var i=r.id,a=r.constructor,o=r.dependencies,s=r.singleton;if(s&&t.has(i))return t.get(i);var l=a(o.map(function(t){return e(t)}));return s&&t.set(i,l),l}(e),w),r})[0],x=(0,i.useState)(l(_,k))[0];return W(function(){for(var e,t=q(d);!(e=t()).done;){var r=e.value;r in w&&(0,x[r])(1,w[r])}return function(){Object.values(x).map(v)}},[w,x,k]),W(function(){y(k,w)}),(0,i.useImperativeHandle)(m,p(u.reduce(function(e,r){return e[r]=function(e){g(k[t.methods[r]],e)},e},{}))),(0,i.createElement)(f.Provider,{value:k},r?(0,i.createElement)(r,function(e,t){for(var r={},i={},a=0,o=e.length;a=0||(a[r]=e[r]);return a}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var X,Q,ee="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;!function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(Q||(Q={}));var et=((X={})[Q.DEBUG]="debug",X[Q.INFO]="log",X[Q.WARN]="warn",X[Q.ERROR]="error",X),en=U(function(){var e=k(Q.ERROR);return{log:k(function(t,r,i){var a;void 0===i&&(i=Q.INFO),i>=(null!=(a=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?a:b(e))&&console[et[i]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)}),logLevel:e}},[],{singleton:!0});function er(e,t){void 0===t&&(t=!0);var r=(0,i.useRef)(null),a=function(e){};if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver(function(t){var r=t[0].target;null!==r.offsetParent&&e(r)});a=function(e){e&&t?(o.observe(e),r.current=e):(r.current&&o.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:a}}function ei(e,t){return void 0===t&&(t=!0),er(e,t).callbackRef}function ea(e,t,r,i,a,o,s){return er(function(r){for(var l,u=function(e,t,r,i){var a=e.length;if(0===a)return null;for(var o=[],s=0;sMath.abs(e-t)}function el(e,t,r,a,o){void 0===a&&(a=m);var s=(0,i.useRef)(null),l=(0,i.useRef)(null),u=(0,i.useRef)(null),d=(0,i.useRef)(!1),p=(0,i.useCallback)(function(r){var i=r.target,a=i===window||i===document,o=a?window.pageYOffset||document.documentElement.scrollTop:i.scrollTop,s=a?document.documentElement.scrollHeight:i.scrollHeight,p=a?window.innerHeight:i.offsetHeight,f=function(){e({scrollTop:Math.max(o,0),scrollHeight:s,viewportHeight:p})};d.current?(0,G.flushSync)(f):f(),d.current=!1,null!==l.current&&(o===l.current||o<=0||o===s-p)&&(l.current=null,t(!0),u.current&&(clearTimeout(u.current),u.current=null))},[e,t]);return(0,i.useEffect)(function(){var e=o||s.current;return a(o||s.current),p({target:e}),e.addEventListener("scroll",p,{passive:!0}),function(){a(null),e.removeEventListener("scroll",p)}},[s,p,r,a,o]),{scrollerRef:s,scrollByCallback:function(e){d.current=!0,s.current.scrollBy(e)},scrollToCallback:function(r){var i=s.current;if(i&&(!("offsetHeight"in i)||0!==i.offsetHeight)){var a,o,d,p="smooth"===r.behavior;if(i===window?(o=Math.max(eo(document.documentElement,"height"),document.documentElement.scrollHeight),a=window.innerHeight,d=document.documentElement.scrollTop):(o=i.scrollHeight,a=eo(i,"height"),d=i.scrollTop),r.top=Math.ceil(Math.max(Math.min(o-a,r.top),0)),es(a,o)||r.top===d)return e({scrollTop:d,scrollHeight:o,viewportHeight:a}),void(p&&t(!0));p?(l.current=r.top,u.current&&clearTimeout(u.current),u.current=setTimeout(function(){u.current=null,l.current=null,t(!0)},1e3)):l.current=null,i.scrollTo(r)}}}}var ec=U(function(){var e=w(),t=w(),r=k(0),i=w(),a=k(0),o=w(),s=w(),l=k(0),u=k(0),d=k(0),p=k(0),f=w(),m=w(),g=k(!1),v=k(!1);return y(C(e,T(function(e){return e.scrollTop})),t),y(C(e,T(function(e){return e.scrollHeight})),s),y(t,a),{scrollContainerState:e,scrollTop:t,viewportHeight:o,headerHeight:l,fixedHeaderHeight:u,fixedFooterHeight:d,footerHeight:p,scrollHeight:s,smoothScrollTargetReached:i,react18ConcurrentRendering:v,scrollTo:f,scrollBy:m,statefulScrollTop:a,deviation:r,scrollingInProgress:g}},[],{singleton:!0}),eu={lvl:0};function ed(e,t,r,i,a){return void 0===i&&(i=eu),void 0===a&&(a=eu),{k:e,v:t,lvl:r,l:i,r:a}}function ep(e){return e===eu}function ef(e,t,r){if(void 0===r&&(r="k"),ep(e))return[-1/0,void 0];if(e[r]===t)return[e.k,e.v];if(e[r]e.r.lvl}function eb(e){var t=e.l,r=e.r,i=e.lvl;if(r.lvl>=i-1&&t.lvl>=i-1)return e;if(i>r.lvl+1){if(ev(t))return ek(eg(e,{lvl:i-1}));if(ep(t)||ep(t.r))throw Error("Unexpected empty nodes");return eg(t.r,{l:eg(t,{r:t.r.l}),r:eg(e,{l:t.r.r,lvl:i-1}),lvl:i})}if(ev(e))return ew(eg(e,{lvl:i-1}));if(ep(r)||ep(r.l))throw Error("Unexpected empty nodes");var a=r.l,o=ev(a)?r.lvl-1:r.lvl;return eg(a,{l:eg(e,{r:a.l,lvl:i-1}),r:ew(eg(r,{l:a.r,lvl:o})),lvl:a.lvl+1})}function ey(e,t,r){return ep(e)?[]:e_(function e(t,r,i){if(ep(t))return[];var a=t.k,o=t.v,s=t.r,l=[];return a>r&&(l=l.concat(e(t.l,r,i))),a>=r&&a<=i&&l.push({k:a,v:o}),a<=i&&(l=l.concat(e(s,r,i))),l}(e,ef(e,t)[0],r),function(e){return{index:e.k,value:e.v}})}function e_(e,t){var r=e.length;if(0===r)return[];for(var i=t(e[0]),a=i.index,o=i.value,s=[],l=1;l0&&(0,t[2])("received item sizes",r,Q.DEBUG);var o=e.sizeTree,s=o,l=0;if(i.length>0&&ep(o)&&2===r.length){var u=r[0].size,d=r[1].size;s=i.reduce(function(e,t){return eh(eh(e,t,u),t+1,d)},s)}else{var p=function(e,t){for(var r,i=ep(e)?0:1/0,a=J(t);!(r=a()).done;){var o=r.value,s=o.size,l=o.startIndex,u=o.endIndex;if(i=Math.min(i,l),ep(e))e=eh(e,0,s);else{var d=ey(e,l-1,u+1);if(!d.some(function(e){var t=e.size,r=e.startIndex,i=e.endIndex;return function(e){return e.start===r&&(e.end===i||1/0===e.end)&&e.value===t}}(o))){for(var p,f=!1,m=!1,g=J(d);!(p=g()).done;){var v=p.value,b=v.start,y=v.end,_=v.value;f?(u>=b||s===_)&&(e=function e(t,r){if(ep(t))return eu;var i=t.k,a=t.l,o=t.r;if(r===i){if(ep(a))return o;if(ep(o))return a;var s=function e(t){return ep(t.r)?[t.k,t.v]:e(t.r)}(a);return eb(eg(t,{k:s[0],v:s[1],l:function e(t){return ep(t.r)?t.l:eb(eg(t,{r:e(t.r)}))}(a)}))}return eb(eg(t,ru&&u>=b&&_!==s&&(e=eh(e,u+1,_))}m&&(e=eh(e,l,s))}}}return[e,i]}(s,r);s=p[0],l=p[1]}if(s===o)return e;var f=eD(e.offsetTree,l,s,a),m=f.offsetTree;return{sizeTree:s,offsetTree:m,lastIndex:f.lastIndex,lastOffset:f.lastOffset,lastSize:f.lastSize,groupOffsetTree:i.reduce(function(e,t){return eh(e,t,eT(t,m,a))},eu),groupIndices:i}}function eT(e,t,r){if(0===t.length)return 0;var i=t[ex(t,e,eF)],a=e-i.index,o=i.size*a+(a-1)*r+i.offset;return o>0?o+r:o}function eO(e,t,r){if(void 0!==e.groupIndex)return t.groupIndices[e.groupIndex]+1;var i=eP("LAST"===e.index?r:e.index,t);return Math.max(0,i,Math.min(r,i))}function eP(e,t){if(!eR(t))return e;for(var r=0;t.groupIndices[r]<=e+r;)r++;return e+r}function eR(e){return!ep(e.groupOffsetTree)}var eM={offsetHeight:"height",offsetWidth:"width"},eL=U(function(e){var t=e[0].log,r=e[1].recalcInProgress,i=w(),a=w(),o=E(a,0),s=w(),l=w(),u=k(0),d=k([]),p=k(void 0),f=k(void 0),m=k(function(e,t){return eo(e,eM[t])}),v=k(void 0),_=k(0),F={offsetTree:[],sizeTree:eu,groupOffsetTree:eu,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},S=E(C(i,A(d,t,_),P(ej,F),D()),F);y(C(d,j(function(e){return e.length>0}),A(S,_),T(function(e){var t=e[0],r=e[1],i=e[2],a=t.reduce(function(e,t,a){return eh(e,t,eT(t,r.offsetTree,i)||a)},eu);return Y({},r,{groupIndices:t,groupOffsetTree:a})})),S),y(C(a,A(S),j(function(e){return e[0]0?(g(r,!0),g(s,e)):e<0&&g(l,e)}),C(u,A(t))(1,function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:u},Q.ERROR)});var M=x(s);y(C(s,A(S),T(function(e){var t=e[0],r=e[1];if(r.groupIndices.length>0)throw Error("Virtuoso: prepending items does not work with groups");return em(r.sizeTree).reduce(function(e,r){var i=r.k,a=r.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:i+t-1,size:e.prevSize}]),prevIndex:i+t,prevSize:a}},{ranges:[],prevIndex:0,prevSize:r.lastSize}).ranges})),i);var L=x(C(l,A(S,_),T(function(e){return eT(-e[0],e[1].offsetTree,e[2])})));return y(C(l,A(S,_),T(function(e){var t=e[0],r=e[1],i=e[2];if(r.groupIndices.length>0)throw Error("Virtuoso: shifting items does not work with groups");var a=em(r.sizeTree).reduce(function(e,r){var i=r.v;return eh(e,Math.max(0,r.k+t),i)},eu);return Y({},r,{sizeTree:a},eD(r.offsetTree,0,a,i))})),S),{data:v,totalCount:a,sizeRanges:i,groupIndices:d,defaultItemSize:f,fixedItemSize:p,unshiftWith:s,shiftWith:l,shiftWithOffset:L,beforeUnshiftWith:M,firstItemIndex:u,gap:_,sizes:S,listRefresh:R,statefulTotalCount:o,trackItemSizes:O,itemSize:m}},u(en,eE),{singleton:!0}),eA="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function eI(e){var t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&eA||(t.behavior="auto"),t.offset||(t.offset=0),t}var eN=U(function(e){var t=e[0],r=t.sizes,i=t.totalCount,a=t.listRefresh,o=t.gap,s=e[1],l=s.scrollingInProgress,u=s.viewportHeight,d=s.scrollTo,p=s.smoothScrollTargetReached,f=s.headerHeight,m=s.footerHeight,v=s.fixedHeaderHeight,b=s.fixedFooterHeight,x=e[2].log,E=w(),F=k(0),S=null,D=null,j=null;function O(){S&&(S(),S=null),j&&(j(),j=null),D&&(clearTimeout(D),D=null),g(l,!1)}return y(C(E,A(r,u,i,F,f,m,x),A(o,v,b),T(function(e){var t=e[0],r=t[0],i=t[1],o=t[2],s=t[3],u=t[4],d=t[5],f=t[6],m=t[7],v=e[1],b=e[2],y=e[3],w=eI(r),k=w.align,x=w.behavior,F=w.offset,T=s-1,P=eO(w,i,T),R=eT(P,i.offsetTree,v)+d;"end"===k?(R+=b+ef(i.sizeTree,P)[1]-o+y,P===T&&(R+=f)):"center"===k?R+=(b+ef(i.sizeTree,P)[1]-o+y)/2:R-=u,F&&(R+=F);var M=function(e){O(),e?(m("retrying to scroll to",{location:r},Q.DEBUG),g(E,r)):m("list did not change, scroll successful",{},Q.DEBUG)};if(O(),"smooth"===x){var L=!1;j=a(1,function(e){L=L||e}),S=_(p,function(){M(L)})}else S=_(C(a,function(e){var t=setTimeout(function(){e(!1)},150);return function(r){r&&(e(!0),clearTimeout(t))}}),M);return D=setTimeout(function(){O()},1200),g(l,!0),m("scrolling from index to",{index:P,top:R,behavior:x},Q.DEBUG),{top:R,behavior:x}})),d),{scrollToIndex:E,topListHeight:F}},u(eL,ec,en),{singleton:!0}),eB={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},eU=U(function(e){var t=e[0],r=t.scrollContainerState,i=t.scrollTop,a=t.viewportHeight,o=t.headerHeight,s=t.footerHeight,l=t.scrollBy,u=k(!1),d=k(!0),p=w(),f=w(),m=k(4),g=k(0),v=E(C(I(C(N(i),R(1),O(!0)),C(N(i),R(1),O(!1),L(100))),D()),!1),_=E(C(I(C(l,O(!0)),C(l,O(!1),L(200))),D()),!1);y(C(B(N(i),N(g)),T(function(e){return e[0]<=e[1]}),D()),d),y(C(d,M(50)),f);var F=x(C(B(r,N(a),N(o),N(s),N(m)),P(function(e,t){var r,i,a=t[0],o=a.scrollTop,s=a.scrollHeight,l=t[1],u={viewportHeight:l,scrollTop:o,scrollHeight:s};return o+l-s>-t[4]?(o>e.state.scrollTop?(r="SCROLLED_DOWN",i=e.state.scrollTop-o):(r="SIZE_DECREASED",i=e.state.scrollTop-o||e.scrollTopDelta),{atBottom:!0,state:u,atBottomBecause:r,scrollTopDelta:i}):{atBottom:!1,notAtBottomBecause:u.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":lt+m-b&&(v="up"),(s-=d)0){s=e[0].offset;var u=e[e.length-1];l=u.offset+u.size}var d=r-a.lastIndex,p=s,f=a.lastOffset+d*a.lastSize+(d-1)*i-l;return{items:eQ(e,a,o),topItems:eQ(t,a,o),topListHeight:t.reduce(function(e,t){return t.size+e},0),offsetTop:s,offsetBottom:f,top:p,bottom:l,totalCount:r,firstItemIndex:o}}var e1=U(function(e){var t=e[0],r=t.sizes,i=t.totalCount,a=t.data,o=t.firstItemIndex,s=t.gap,l=e[1],u=e[2],d=u.visibleRange,p=u.listBoundary,f=u.topListHeight,m=e[3],g=m.scrolledToInitialItem,v=m.initialTopMostItemIndex,b=e[4].topListHeight,_=e[5],F=e[6].didMount,S=e[7].recalcInProgress,O=k([]),P=w();y(l.topItemsIndexes,O);var R=E(C(B(F,S,N(d,eG),N(i),N(r),N(v),g,N(O),N(o),N(s),a),j(function(e){return e[0]&&!e[1]}),T(function(e){var t,r,i,a,o,s,l,u=e[2],d=u[0],p=u[1],f=e[3],m=e[5],g=e[6],v=e[7],b=e[8],y=e[9],_=e[10],w=e[4],k=w.sizeTree,x=w.offsetTree;if(0===f||0===d&&0===p)return Y({},eX,{totalCount:f});if(ep(k))return e0(function(e,t,r){if(eR(t)){var i=eP(e,t);return[{index:ef(t.groupOffsetTree,i)[0],size:0,offset:0},{index:i,size:0,offset:0,data:r&&r[0]}]}return[{index:e,size:0,offset:0,data:r&&r[0]}]}("number"==typeof m?m:"LAST"===m.index?f-1:m.index,w,_),[],f,y,w,b);var E=[];if(v.length>0)for(var F,C=v[0],S=v[v.length-1],D=0,j=J(ey(k,C,S));!(F=j()).done;)for(var T=F.value,O=T.value,P=Math.max(T.start,C),R=Math.min(T.end,S),M=P;M<=R;M++)E.push({index:M,size:O,offset:D,data:_&&_[M]}),D+=O;if(!g)return e0([],E,f,y,w,b);var L=v.length>0?v[v.length-1]+1:0,A=(t=x,r=d,i=p,void 0===(a=L)&&(a=0),a>0&&(r=Math.max(r,t[ex(t,a,eF)].offset)),e_((o=ex(t,r,eC),s=ex(t,i,eC,o),t.slice(o,s+1)),eS));if(0===A.length)return null;var I=f-1;return e0((function(e){for(var t,r=J(A);!(t=r()).done;){var i=t.value,a=i.value,o=a.offset,s=i.start,l=a.size;if(a.offset=p);m++)e.push({index:m,size:l,offset:o,data:_&&_[m]}),o+=l+y}}(l=[]),l),E,f,y,w,b)}),j(function(e){return null!==e}),D()),eX);return y(C(a,j(function(e){return void 0!==e}),T(function(e){return e.length})),i),y(C(R,T(function(e){return e.topListHeight})),b),y(b,f),y(C(R,T(function(e){return[e.top,e.bottom]})),p),y(C(R,T(function(e){return e.items})),P),Y({listState:R,topItemsIndexes:O,endReached:x(C(R,j(function(e){return e.items.length>0}),A(i,a),j(function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1}),T(function(e){return[e[1]-1,e[2]]}),D(eG),T(function(e){return e[0]}))),startReached:x(C(R,M(200),j(function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length}),T(function(e){return e.items[0].index}),D())),rangeChanged:x(C(R,j(function(e){return e.items.length>0}),T(function(e){for(var t=e.items,r=0,i=t.length-1;"group"===t[r].type&&rr;)i--;return{startIndex:t[r].index,endIndex:t[i].index}}),D(eY))),itemsRendered:P},_)},u(eL,e$,eJ,eH,eN,eU,ez,eE),{singleton:!0}),e2=U(function(e){var t=e[0],r=t.sizes,i=t.firstItemIndex,a=t.data,o=t.gap,s=e[1].listState,l=e[2].didMount,u=k(0);return y(C(l,A(u),j(function(e){return 0!==e[1]}),A(r,i,o,a),T(function(e){var t=e[0][1],r=e[1],i=e[2],a=e[3],o=e[4],s=void 0===o?[]:o,l=0;if(r.groupIndices.length>0)for(var u,d=J(r.groupIndices);!((u=d()).done||u.value-l>=t);)l++;var p=t+l;return e0(Array.from({length:p}).map(function(e,t){return{index:t,size:0,offset:0,data:s[t]}}),[],p,a,r,i)})),s),{initialItemCount:u}},u(eL,e1,ez),{singleton:!0}),e3=U(function(e){var t=e[0].scrollVelocity,r=k(!1),i=w(),a=k(!1);return y(C(t,A(a,r,i),j(function(e){return!!e[1]}),T(function(e){var t=e[0],r=e[1],i=e[2],a=e[3],o=r.enter;if(i){if((0,r.exit)(t,a))return!1}else if(o(t,a))return!0;return i}),D()),r),C(B(r,t,i),A(a))(1,function(e){var t=e[0],r=e[1];return t[0]&&r&&r.change&&r.change(t[1],t[2])}),{isSeeking:r,scrollSeekConfiguration:a,scrollVelocity:t,scrollSeekRangeChanged:i}},u(eU),{singleton:!0}),e4=U(function(e){var t=e[0].topItemsIndexes,r=k(0);return y(C(r,j(function(e){return e>0}),T(function(e){return Array.from({length:e}).map(function(e,t){return t})})),t),{topItemCount:r}},u(e1)),e6=U(function(e){var t=e[0],r=t.footerHeight,i=t.headerHeight,a=t.fixedHeaderHeight,o=t.fixedFooterHeight,s=e[1].listState,l=w(),u=E(C(B(r,o,i,a,s),T(function(e){var t=e[4];return e[0]+e[1]+e[2]+e[3]+t.offsetBottom+t.bottom})),0);return y(N(u),l),{totalListHeight:u,totalListHeightChanged:l}},u(ec,e1),{singleton:!0});function e5(e){var t,r=!1;return function(){return r||(r=!0,t=e()),t}}var e8=e5(function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)}),e9=U(function(e){var t=e[0],r=t.scrollBy,i=t.scrollTop,a=t.deviation,o=t.scrollingInProgress,s=e[1],l=s.isScrolling,u=s.isAtBottom,d=s.scrollDirection,p=e[3],f=p.beforeUnshiftWith,m=p.shiftWithOffset,v=p.sizes,b=p.gap,_=e[4].log,w=e[5].recalcInProgress,k=x(C(e[2].listState,A(s.lastJumpDueToItemResize),P(function(e,t){var r=e[1],i=t[0],a=i.items,o=i.totalCount,s=i.bottom+i.offsetBottom,l=0;return e[2]===o&&r.length>0&&a.length>0&&(0===a[0].originalIndex&&0===r[0].originalIndex||0!=(l=s-e[3])&&(l+=t[1])),[l,a,o,s]},[0,[],0,0]),j(function(e){return 0!==e[0]}),A(i,d,o,u,_),j(function(e){return!e[3]&&0!==e[1]&&"up"===e[2]}),T(function(e){var t=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:t},Q.DEBUG),t})));function F(e){e>0?(g(r,{top:-e,behavior:"auto"}),g(a,0)):(g(a,0),g(r,{top:-e,behavior:"auto"}))}return C(k,A(a,l))(1,function(e){var t=e[0],r=e[1];e[2]&&e8()?g(a,r-t):F(-t)}),C(B(E(l,!1),a,w),j(function(e){return!e[0]&&!e[2]&&0!==e[1]}),T(function(e){return e[1]}),M(1))(1,F),y(C(m,T(function(e){return{top:-e}})),r),C(f,A(v,b),T(function(e){var t=e[0];return t*e[1].lastSize+t*e[2]}))(1,function(e){g(a,e),requestAnimationFrame(function(){g(r,{top:e}),requestAnimationFrame(function(){g(a,0),g(w,!1)})})}),{deviation:a}},u(ec,eU,e1,eL,en,eE)),e7=U(function(e){var t=e[0].totalListHeight,r=e[1].didMount,i=e[2].scrollTo,a=k(0);return C(r,A(a),j(function(e){return 0!==e[1]}),T(function(e){return{top:e[1]}}))(1,function(e){_(C(t,j(function(e){return 0!==e})),function(){setTimeout(function(){g(i,e)})})}),{initialScrollTop:a}},u(e6,ez,ec),{singleton:!0}),te=U(function(e){var t=e[0].viewportHeight,r=e[1].totalListHeight,i=k(!1);return{alignToBottom:i,paddingTopAddition:E(C(B(i,t,r),j(function(e){return e[0]}),T(function(e){return Math.max(0,e[1]-e[2])}),D()),0)}},u(ec,e6),{singleton:!0}),tt=U(function(e){var t=e[0],r=t.scrollTo,i=t.scrollContainerState,a=w(),o=w(),s=w(),l=k(!1),u=k(void 0);return y(C(B(a,o),T(function(e){var t=e[0],r=t.viewportHeight,i=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:i,viewportHeight:r}})),i),y(C(r,A(o),T(function(e){var t=e[0];return Y({},t,{top:t.top+e[1].offsetTop})})),s),{useWindowScroll:l,customScrollParent:u,windowScrollContainerState:a,windowViewportRect:o,windowScrollTo:s}},u(ec)),tn=["done","behavior","align"],tr=U(function(e){var t=e[0],r=t.sizes,i=t.totalCount,a=t.gap,o=e[1],s=o.scrollTop,l=o.viewportHeight,u=o.headerHeight,d=o.fixedHeaderHeight,p=o.fixedFooterHeight,f=o.scrollingInProgress,m=e[2].scrollToIndex,g=w();return y(C(g,A(r,l,i,u,d,p,s),A(a),T(function(e){var t=e[0],r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],d=t[7],p=e[1],m=r.done,g=r.behavior,v=r.align,b=K(r,tn),y=null,w=eO(r,i,o-1),k=eT(w,i.offsetTree,p)+s+l;return kd+a-u&&(y=Y({},b,{behavior:g,align:null!=v?v:"end"})),y?m&&_(C(f,R(1),j(function(e){return!1===e})),m):m&&m(),y}),j(function(e){return null!==e})),m),{scrollIntoView:g}},u(eL,ec,eN,e1,en),{singleton:!0}),ti=["listState","topItemsIndexes"],ta=U(function(e){return Y({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},u(eJ,e2,ez,e3,e6,e7,te,tt,tr)),to=U(function(e){var t=e[0],r=t.totalCount,i=t.sizeRanges,a=t.fixedItemSize,o=t.defaultItemSize,s=t.trackItemSizes,l=t.itemSize,u=t.data,d=t.firstItemIndex,p=t.groupIndices,f=t.statefulTotalCount,m=t.gap,g=e[1],v=g.initialTopMostItemIndex,b=g.scrolledToInitialItem,_=e[2],w=e[3],k=e[4],x=k.listState,E=k.topItemsIndexes,F=K(k,ti),S=e[5].scrollToIndex,D=e[7].topItemCount,j=e[8].groupCounts,O=e[9],P=e[10];return y(F.rangeChanged,O.scrollSeekRangeChanged),y(C(O.windowViewportRect,T(function(e){return e.visibleHeight})),_.viewportHeight),Y({totalCount:r,data:u,firstItemIndex:d,sizeRanges:i,initialTopMostItemIndex:v,scrolledToInitialItem:b,topItemsIndexes:E,topItemCount:D,groupCounts:j,fixedItemHeight:a,defaultItemHeight:o,gap:m},w,{statefulTotalCount:f,listState:x,scrollToIndex:S,trackItemSizes:s,itemSize:l,groupIndices:p},F,O,_,P)},u(eL,eH,ec,eV,e1,eN,e9,e4,e$,ta,en)),ts=e5(function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"});function tl(e,t){var r=(0,i.useRef)(null),a=(0,i.useCallback)(function(i){if(null!==i&&i.offsetParent){var a,o,s=i.getBoundingClientRect(),l=s.width;if(t){var u=t.getBoundingClientRect(),d=s.top-u.top;a=u.height-Math.max(0,d),o=d+t.scrollTop}else a=window.innerHeight-Math.max(0,s.top),o=s.top+window.pageYOffset;r.current={offsetTop:o,visibleHeight:a,visibleWidth:l},e(r.current)}},[e,t]),o=er(a),s=o.callbackRef,l=o.ref,u=(0,i.useCallback)(function(){a(l.current)},[a,l]);return(0,i.useEffect)(function(){if(t){t.addEventListener("scroll",u);var e=new ResizeObserver(u);return e.observe(t),function(){t.removeEventListener("scroll",u),e.unobserve(t)}}return window.addEventListener("scroll",u),window.addEventListener("resize",u),function(){window.removeEventListener("scroll",u),window.removeEventListener("resize",u)}},[u,t]),s}var tc=i.createContext(void 0),tu=["placeholder"],td=["style","children"],tp=["style","children"];function tf(e){return e}var th=U(function(){var e=k(function(e){return"Item "+e}),t=k(null),r=k(function(e){return"Group "+e}),i=k({}),a=k(tf),o=k("div"),s=k(m),l=function(e,t){return void 0===t&&(t=null),E(C(i,T(function(t){return t[e]}),D()),t)};return{context:t,itemContent:e,groupContent:r,components:i,computeItemKey:a,headerFooterTag:o,scrollerRef:s,FooterComponent:l("Footer"),HeaderComponent:l("Header"),TopItemListComponent:l("TopItemList"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),GroupComponent:l("Group","div"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder")}});function tm(e,t){var r=w();return r(1,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+t,"color: red;","color: inherit;","color: blue;")}),y(r,e),r}var tg=U(function(e){var t=e[0],r=e[1],i={item:tm(r.itemContent,"Rename the %citem%c prop to %citemContent."),group:tm(r.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:tm(t.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:tm(t.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:tm(t.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:w(),maxHeightCacheSize:w(),footer:w(),header:w(),HeaderContainer:w(),FooterContainer:w(),ItemContainer:w(),ScrollContainer:w(),GroupContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function a(e,t,i){y(C(e,A(r.components),T(function(e){var r,a=e[0],o=e[1];return console.warn("react-virtuoso: "+i+" property is deprecated. Pass components."+t+" instead."),Y({},o,((r={})[t]=a,r))})),r.components)}return(0,i.adjustForPrependedItems)(1,function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")}),(0,i.maxHeightCacheSize)(1,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),(0,i.HeaderContainer)(1,function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")}),(0,i.FooterContainer)(1,function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")}),(0,i.scrollSeek)(1,function(e){var i=e.placeholder,a=K(e,tu);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),g(r.components,Y({},b(r.components),{ScrollSeekPlaceholder:i})),g(t.scrollSeekConfiguration,a)}),a(i.footer,"Footer","footer"),a(i.header,"Header","header"),a(i.ItemContainer,"Item","ItemContainer"),a(i.ListContainer,"List","ListContainer"),a(i.ScrollContainer,"Scroller","ScrollContainer"),a(i.emptyComponent,"EmptyPlaceholder","emptyComponent"),a(i.GroupContainer,"Group","GroupContainer"),Y({},t,r,i)},u(to,th)),tv=function(e){return i.createElement("div",{style:{height:e.height}})},tb={position:ts(),zIndex:1,overflowAnchor:"none"},ty={overflowAnchor:"none"},t_=i.memo(function(e){var t=e.showTopList,r=void 0!==t&&t,a=tL("listState"),o=tM("sizeRanges"),s=tL("useWindowScroll"),l=tL("customScrollParent"),u=tM("windowScrollContainerState"),d=tM("scrollContainerState"),p=tL("itemContent"),f=tL("context"),g=tL("groupContent"),v=tL("trackItemSizes"),b=ea(o,tL("itemSize"),v,r?m:l||s?u:d,tL("log"),tM("gap"),l).callbackRef,y=i.useState(0),_=y[0],w=y[1];tA("deviation",function(e){_!==e&&w(e)});var k=tL("EmptyPlaceholder"),x=tL("ScrollSeekPlaceholder")||tv,E=tL("ListComponent"),F=tL("ItemComponent"),C=tL("GroupComponent"),S=tL("computeItemKey"),D=tL("isSeeking"),j=tL("groupIndices").length>0,T=tL("paddingTopAddition"),O=r?{}:{boxSizing:"border-box",paddingTop:a.offsetTop+T,paddingBottom:a.offsetBottom,marginTop:_};return!r&&0===a.totalCount&&k?(0,i.createElement)(k,tE(k,f)):(0,i.createElement)(E,Y({},tE(E,f),{ref:b,style:O,"data-test-id":r?"virtuoso-top-item-list":"virtuoso-item-list"}),(r?a.topItems:a.items).map(function(e){var t=e.originalIndex,r=S(t+a.firstItemIndex,e.data,f);return D?(0,i.createElement)(x,Y({},tE(x,f),{key:r,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,i.createElement)(C,Y({},tE(C,f),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:tb}),g(e.index)):(0,i.createElement)(F,Y({},tE(F,f),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:ty}),j?p(e.index,e.groupIndex,e.data,f):p(e.index,e.data,f))}))}),tw={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},tk={width:"100%",height:"100%",position:"absolute",top:0},tx={width:"100%",position:ts(),top:0};function tE(e,t){if("string"!=typeof e)return{context:t}}var tF=i.memo(function(){var e=tL("HeaderComponent"),t=tM("headerHeight"),r=tL("headerFooterTag"),a=ei(function(e){return t(eo(e,"height"))}),o=tL("context");return e?(0,i.createElement)(r,{ref:a},(0,i.createElement)(e,tE(e,o))):null}),tC=i.memo(function(){var e=tL("FooterComponent"),t=tM("footerHeight"),r=tL("headerFooterTag"),a=ei(function(e){return t(eo(e,"height"))}),o=tL("context");return e?(0,i.createElement)(r,{ref:a},(0,i.createElement)(e,tE(e,o))):null});function tS(e){var t=e.usePublisher,r=e.useEmitter,a=e.useEmitterValue;return i.memo(function(e){var o=e.style,s=e.children,l=K(e,td),u=t("scrollContainerState"),d=a("ScrollerComponent"),p=t("smoothScrollTargetReached"),f=a("scrollerRef"),m=a("context"),g=el(u,p,d,f),v=g.scrollerRef,b=g.scrollByCallback;return r("scrollTo",g.scrollToCallback),r("scrollBy",b),(0,i.createElement)(d,Y({ref:v,style:Y({},tw,o),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},l,tE(d,m)),s)})}function tD(e){var t=e.usePublisher,r=e.useEmitter,a=e.useEmitterValue;return i.memo(function(e){var o=e.style,s=e.children,l=K(e,tp),u=t("windowScrollContainerState"),d=a("ScrollerComponent"),p=t("smoothScrollTargetReached"),f=a("totalListHeight"),g=a("deviation"),v=a("customScrollParent"),b=a("context"),y=el(u,p,d,m,v),_=y.scrollerRef,w=y.scrollByCallback,k=y.scrollToCallback;return ee(function(){return _.current=v||window,function(){_.current=null}},[_,v]),r("windowScrollTo",k),r("scrollBy",w),(0,i.createElement)(d,Y({style:Y({position:"relative"},o,0!==f?{height:f+g}:{}),"data-virtuoso-scroller":!0},l,tE(d,b)),s)})}var tj=function(e){var t=e.children,r=(0,i.useContext)(tc),o=tM("viewportHeight"),s=tM("fixedItemHeight"),l=ei(a(o,function(e){return eo(e,"height")}));return i.useEffect(function(){r&&(o(r.viewportHeight),s(r.itemHeight))},[r,o,s]),i.createElement("div",{style:tk,ref:l,"data-viewport-type":"element"},t)},tT=function(e){var t=e.children,r=(0,i.useContext)(tc),a=tM("windowViewportRect"),o=tM("fixedItemHeight"),s=tl(a,tL("customScrollParent"));return i.useEffect(function(){r&&(o(r.itemHeight),a({offsetTop:0,visibleHeight:r.viewportHeight,visibleWidth:100}))},[r,a,o]),i.createElement("div",{ref:s,style:tk,"data-viewport-type":"window"},t)},tO=function(e){var t=e.children,r=tL("TopItemListComponent"),a=tL("headerHeight"),o=Y({},tx,{marginTop:a+"px"}),s=tL("context");return(0,i.createElement)(r||"div",{style:o,context:s},t)},tP=$(tg,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},i.memo(function(e){var t=tL("useWindowScroll"),r=tL("topItemsIndexes").length>0,a=tL("customScrollParent");return i.createElement(a||t?tN:tI,Y({},e),i.createElement(a||t?tT:tj,null,i.createElement(tF,null),i.createElement(t_,null),i.createElement(tC,null)),r&&i.createElement(tO,null,i.createElement(t_,{showTopList:!0})))})),tR=tP.Component,tM=tP.usePublisher,tL=tP.useEmitterValue,tA=tP.useEmitter,tI=tS({usePublisher:tM,useEmitterValue:tL,useEmitter:tA}),tN=tD({usePublisher:tM,useEmitterValue:tL,useEmitter:tA}),tB={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},tU={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},tz=Math.round,tH=Math.ceil,tq=Math.floor,tV=Math.min,tW=Math.max;function t$(e,t){return Array.from({length:t-e+1}).map(function(t,r){return{index:r+e}})}function tG(e,t){return e&&e.column===t.column&&e.row===t.row}var tY=U(function(e){var t=e[0],r=t.overscan,i=t.visibleRange,a=t.listBoundary,o=e[1],s=o.scrollTop,l=o.viewportHeight,u=o.scrollBy,d=o.scrollTo,p=o.smoothScrollTargetReached,f=o.scrollContainerState,m=e[2],g=e[3],v=e[4],b=v.propsReady,_=v.didMount,F=e[5],S=F.windowViewportRect,P=F.windowScrollTo,R=F.useWindowScroll,M=F.customScrollParent,L=F.windowScrollContainerState,I=e[6],U=k(0),z=k(0),H=k(tB),q=k({height:0,width:0}),V=k({height:0,width:0}),W=w(),$=w(),G=k(0),K=k({row:0,column:0});y(C(_,A(z),j(function(e){return 0!==e[1]}),T(function(e){return{items:t$(0,e[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),H),y(C(B(N(U),i,N(K,tG),N(V,function(e,t){return e&&e.width===t.width&&e.height===t.height})),A(q),T(function(e){var t,r=e[0],i=r[0],a=r[1],o=a[0],s=a[1],l=r[2],u=r[3],d=e[1],p=l.row,f=u.height,m=u.width,g=d.width;if(0===i||0===g)return tB;if(0===m)return tU;var v=tW(1,tq((g+(t=l.column))/(m+t))),b=v*tq((o+p)/(f+p)),y=v*tH((s+p)/(f+p))-1;y=tW(0,tV(i-1,y));var _=t$(b=tV(y,tW(0,b)),y),w=tK(d,l,u,_),k=w.top,x=w.bottom,E=tH(i/v);return{items:_,offsetTop:k,offsetBottom:E*f+(E-1)*p-x,top:k,bottom:x,itemHeight:f,itemWidth:m}})),H),y(C(q,T(function(e){return e.height})),l),y(C(B(q,V,H,K),T(function(e){var t=tK(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]}),D(eG)),a);var Z=x(C(N(H),j(function(e){return e.items.length>0}),A(U),j(function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1}),T(function(e){return e[1]-1}),D())),J=x(C(N(H),j(function(e){var t=e.items;return t.length>0&&0===t[0].index}),O(0),D())),X=x(C(N(H),j(function(e){return e.items.length>0}),T(function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}}),D(eY)));y(X,g.scrollSeekRangeChanged),y(C(W,A(q,V,U,K),T(function(e){var t=e[1],r=e[2],i=e[3],a=e[4],o=eI(e[0]),s=o.align,l=o.behavior,u=o.offset,d=o.index;"LAST"===d&&(d=i-1);var p=tZ(t,a,r,d=tW(0,d,tV(i-1,d)));return"end"===s?p=tz(p-t.height+r.height):"center"===s&&(p=tz(p-t.height/2+r.height/2)),u&&(p+=u),{top:p,behavior:l}})),d);var Q=E(C(H,T(function(e){return e.offsetBottom+e.bottom})),0);return y(C(S,T(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),q),Y({totalCount:U,viewportDimensions:q,itemDimensions:V,scrollTop:s,scrollHeight:$,overscan:r,scrollBy:u,scrollTo:d,scrollToIndex:W,smoothScrollTargetReached:p,windowViewportRect:S,windowScrollTo:P,useWindowScroll:R,customScrollParent:M,windowScrollContainerState:L,deviation:G,scrollContainerState:f,initialItemCount:z,gap:K},g,{gridState:H,totalListHeight:Q},m,{startReached:J,endReached:Z,rangeChanged:X,propsReady:b},I)},u(eJ,ec,eU,e3,ez,tt,en));function tK(e,t,r,i){var a=r.height;return void 0===a||0===i.length?{top:0,bottom:0}:{top:tZ(e,t,r,i[0].index),bottom:tZ(e,t,r,i[i.length-1].index)+a}}function tZ(e,t,r,i){var a,o,s,l=tq(i/(a=e.width,o=r.width,tW(1,tq((a+(s=t.column))/(o+s))))),u=l*r.height+tW(0,l-1)*t.row;return u>0?u+t.row:u}var tJ=["placeholder"],tX=U(function(){var e=k(function(e){return"Item "+e}),t=k({}),r=k(null),i=k("virtuoso-grid-item"),a=k("virtuoso-grid-list"),o=k(tf),s=k(m),l=function(e,r){return void 0===r&&(r=null),E(C(t,T(function(t){return t[e]}),D()),r)};return{context:r,itemContent:e,components:t,computeItemKey:o,itemClassName:i,listClassName:a,scrollerRef:s,ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}}),tQ=U(function(e){var t=e[0],r=e[1],i={item:tm(r.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:w(),ScrollContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function a(e,t,i){y(C(e,A(r.components),T(function(e){var r,a=e[0],o=e[1];return console.warn("react-virtuoso: "+i+" property is deprecated. Pass components."+t+" instead."),Y({},o,((r={})[t]=a,r))})),r.components)}return(0,i.scrollSeek)(1,function(e){var i=e.placeholder,a=K(e,tJ);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),g(r.components,Y({},b(r.components),{ScrollSeekPlaceholder:i})),g(t.scrollSeekConfiguration,a)}),a(i.ItemContainer,"Item","ItemContainer"),a(i.ListContainer,"List","ListContainer"),a(i.ScrollContainer,"Scroller","ScrollContainer"),Y({},t,r,i)},u(tY,tX)),t0=i.memo(function(){var e=t6("gridState"),t=t6("listClassName"),r=t6("itemClassName"),a=t6("itemContent"),o=t6("computeItemKey"),s=t6("isSeeking"),l=t4("scrollHeight"),u=t6("ItemComponent"),d=t6("ListComponent"),p=t6("ScrollSeekPlaceholder"),f=t6("context"),m=t4("itemDimensions"),g=t4("gap"),v=t6("log"),b=ei(function(e){l(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&m(t.getBoundingClientRect()),g({row:t7("row-gap",getComputedStyle(e).rowGap,v),column:t7("column-gap",getComputedStyle(e).columnGap,v)})});return(0,i.createElement)(d,Y({ref:b,className:t},tE(d,f),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(t){var l=o(t.index);return s?(0,i.createElement)(p,Y({key:l},tE(p,f),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,i.createElement)(u,Y({},tE(u,f),{className:r,"data-index":t.index,key:l}),a(t.index,f))}))}),t1=function(e){var t=e.children,r=t4("viewportDimensions"),a=ei(function(e){r(e.getBoundingClientRect())});return i.createElement("div",{style:tk,ref:a},t)},t2=function(e){var t=e.children,r=tl(t4("windowViewportRect"),t6("customScrollParent"));return i.createElement("div",{ref:r,style:tk},t)},t3=$(tQ,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},i.memo(function(e){var t=Y({},e),r=t6("useWindowScroll"),a=t6("customScrollParent");return i.createElement(a||r?t9:t8,Y({},t),i.createElement(a||r?t2:t1,null,i.createElement(t0,null)))})),t4=(t3.Component,t3.usePublisher),t6=t3.useEmitterValue,t5=t3.useEmitter,t8=tS({usePublisher:t4,useEmitterValue:t6,useEmitter:t5}),t9=tD({usePublisher:t4,useEmitterValue:t6,useEmitter:t5});function t7(e,t,r){return"normal"===t||null!=t&&t.endsWith("px")||r(e+" was not resolved to pixel value correctly",t,Q.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}var ne=U(function(){var e=k(function(e){return i.createElement("td",null,"Item $",e)}),t=k(null),r=k(null),a=k(null),o=k({}),s=k(tf),l=k(m),u=function(e,t){return void 0===t&&(t=null),E(C(o,T(function(t){return t[e]}),D()),t)};return{context:t,itemContent:e,fixedHeaderContent:r,fixedFooterContent:a,components:o,computeItemKey:s,scrollerRef:l,TableComponent:u("Table","table"),TableHeadComponent:u("TableHead","thead"),TableFooterComponent:u("TableFoot","tfoot"),TableBodyComponent:u("TableBody","tbody"),TableRowComponent:u("TableRow","tr"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder"),FillerRow:u("FillerRow")}}),nt=U(function(e){return Y({},e[0],e[1])},u(to,ne)),nn=function(e){return i.createElement("tr",null,i.createElement("td",{style:{height:e.height}}))},nr=function(e){return i.createElement("tr",null,i.createElement("td",{style:{height:e.height,padding:0,border:0}}))},ni=i.memo(function(){var e=nc("listState"),t=nl("sizeRanges"),r=nc("useWindowScroll"),a=nc("customScrollParent"),o=nl("windowScrollContainerState"),s=nl("scrollContainerState"),l=nc("itemContent"),u=nc("trackItemSizes"),d=ea(t,nc("itemSize"),u,a||r?o:s,nc("log"),void 0,a),p=d.callbackRef,f=d.ref,m=i.useState(0),g=m[0],v=m[1];nu("deviation",function(e){g!==e&&(f.current.style.marginTop=e+"px",v(e))});var b=nc("EmptyPlaceholder"),y=nc("ScrollSeekPlaceholder")||nn,_=nc("FillerRow")||nr,w=nc("TableBodyComponent"),k=nc("TableRowComponent"),x=nc("computeItemKey"),E=nc("isSeeking"),F=nc("paddingTopAddition"),C=nc("firstItemIndex"),S=nc("statefulTotalCount"),D=nc("context");if(0===S&&b)return(0,i.createElement)(b,tE(b,D));var j=e.offsetTop+F+g,T=e.offsetBottom,O=j>0?i.createElement(_,{height:j,key:"padding-top"}):null,P=T>0?i.createElement(_,{height:T,key:"padding-bottom"}):null,R=e.items.map(function(e){var t=e.originalIndex,r=x(t+C,e.data,D);return E?(0,i.createElement)(y,Y({},tE(y,D),{key:r,index:e.index,height:e.size,type:e.type||"item"})):(0,i.createElement)(k,Y({},tE(k,D),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),l(e.index,e.data,D))});return(0,i.createElement)(w,Y({ref:p,"data-test-id":"virtuoso-item-list"},tE(w,D)),[O].concat(R,[P]))}),na=function(e){var t=e.children,r=(0,i.useContext)(tc),o=nl("viewportHeight"),s=nl("fixedItemHeight"),l=ei(a(o,function(e){return eo(e,"height")}));return i.useEffect(function(){r&&(o(r.viewportHeight),s(r.itemHeight))},[r,o,s]),i.createElement("div",{style:tk,ref:l,"data-viewport-type":"element"},t)},no=function(e){var t=e.children,r=(0,i.useContext)(tc),a=nl("windowViewportRect"),o=nl("fixedItemHeight"),s=tl(a,nc("customScrollParent"));return i.useEffect(function(){r&&(o(r.itemHeight),a({offsetTop:0,visibleHeight:r.viewportHeight,visibleWidth:100}))},[r,a,o]),i.createElement("div",{ref:s,style:tk,"data-viewport-type":"window"},t)},ns=$(nt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},i.memo(function(e){var t=nc("useWindowScroll"),r=nc("customScrollParent"),o=nl("fixedHeaderHeight"),s=nl("fixedFooterHeight"),l=nc("fixedHeaderContent"),u=nc("fixedFooterContent"),d=nc("context"),p=ei(a(o,function(e){return eo(e,"height")})),f=ei(a(s,function(e){return eo(e,"height")})),m=r||t?np:nd,g=r||t?no:na,v=nc("TableComponent"),b=nc("TableHeadComponent"),y=nc("TableFooterComponent"),_=l?i.createElement(b,Y({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:p},tE(b,d)),l()):null,w=u?i.createElement(y,Y({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:f},tE(y,d)),u()):null;return i.createElement(m,Y({},e),i.createElement(g,null,i.createElement(v,Y({style:{borderSpacing:0}},tE(v,d)),[_,i.createElement(ni,{key:"TableBody"}),w])))})),nl=(ns.Component,ns.usePublisher),nc=ns.useEmitterValue,nu=ns.useEmitter,nd=tS({usePublisher:nl,useEmitterValue:nc,useEmitter:nu}),np=tD({usePublisher:nl,useEmitterValue:nc,useEmitter:nu}),nf=tR},8008:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return i(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this._hasValue,i=this._value,a=this.thrownError,o=this.isStopped,s=this._isComplete;t?e.error(a):(o||s)&&(r&&e.next(i),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this._hasValue,r=this._value;this._isComplete||(this._isComplete=!0,t&&e.prototype.next.call(this,r),e.prototype.complete.call(this))},t}(r(45164).Subject);t.AsyncSubject=a},40290:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var a=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r.closed||t.next(this._value),r},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,r=this._value;if(e)throw t;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r(45164).Subject);t.BehaviorSubject=a},24666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var i=r(3874),a=r(22651),o=r(90512),s=r(53062);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(t.NotificationKind||(t.NotificationKind={}));var l=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var i=this.kind,a=this.value,o=this.error;return"N"===i?null==e?void 0:e(a):"E"===i?null==t?void 0:t(o):null==r?void 0:r()},e.prototype.accept=function(e,t,r){return s.isFunction(null==e?void 0:e.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this.kind,t=this.value,r=this.error,s="N"===e?a.of(t):"E"===e?o.throwError(function(){return r}):"C"===e?i.EMPTY:0;if(!s)throw TypeError("Unexpected notification kind "+e);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,i,a,o=e.kind,s=e.value,l=e.error;if("string"!=typeof o)throw TypeError('Invalid notification, missing "kind"');"N"===o?null===(r=t.next)||void 0===r||r.call(t,s):"E"===o?null===(i=t.error)||void 0===i||i.call(t,l):null===(a=t.complete)||void 0===a||a.call(t)}t.Notification=l,t.observeNotification=u},19158:(e,t)=>{"use strict";function r(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=r("C",void 0,void 0),t.errorNotification=function(e){return r("E",void 0,e)},t.nextNotification=function(e){return r("N",e,void 0)},t.createNotification=r},10693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var i=r(94971),a=r(48268),o=r(17336),s=r(95348),l=r(9261),u=r(53062),d=r(68653),p=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var o,s=this,l=(o=e)&&o instanceof i.Subscriber||o&&u.isFunction(o.next)&&u.isFunction(o.error)&&u.isFunction(o.complete)&&a.isSubscription(o)?e:new i.SafeSubscriber(e,t,r);return d.errorContext(function(){var e=s.operator,t=s.source;l.add(e?e.call(l,t):t?s._subscribe(l):s._trySubscribe(l))}),l},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=f(t))(function(t,a){var o=new i.SafeSubscriber({next:function(t){try{e(t)}catch(e){a(e),o.unsubscribe()}},error:a,complete:t});r.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var a=r(45164),o=r(25530),s=function(e){function t(t,r,i){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===i&&(i=o.dateTimestampProvider);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,r),a}return i(t,e),t.prototype.next=function(t){var r=this.isStopped,i=this._buffer,a=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!r&&(i.push(t),a||i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var i=r(25530),a=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=i.dateTimestampProvider.now,e}();t.Scheduler=a},45164:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var o=r(10693),s=r(48268),l=r(30166),u=r(62929),d=r(68653),p=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i(t,e),t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new l.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;d.errorContext(function(){var r,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=a(t.currentObservers),s=o.next();!s.done;s=o.next())s.value.next(e)}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;d.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;d.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,a=this.observers;return r||i?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,a.push(e),new s.Subscription(function(){t.currentObservers=null,u.arrRemove(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new o.Observable;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(o.Observable);t.Subject=p;var f=function(e){function t(t,r){var i=e.call(this)||this;return i.destination=t,i.source=r,i}return i(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:s.EMPTY_SUBSCRIPTION},t}(p);t.AnonymousSubject=f},94971:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var a=r(53062),o=r(48268),s=r(9261),l=r(24210),u=r(73355),d=r(19158),p=r(31957),f=r(68653),m=function(e){function r(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,o.isSubscription(r)&&r.add(i)):i.destination=t.EMPTY_OBSERVER,i}return i(r,e),r.create=function(e,t,r){return new y(e,t,r)},r.prototype.next=function(e){this.isStopped?w(d.nextNotification(e),this):this._next(e)},r.prototype.error=function(e){this.isStopped?w(d.errorNotification(e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?w(d.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(o.Subscription);t.Subscriber=m;var g=Function.prototype.bind;function v(e,t){return g.call(e,t)}var b=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){_(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){_(e)}else _(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){_(e)}},e}(),y=function(e){function t(t,r,i){var o,l,u=e.call(this)||this;return a.isFunction(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=i?i:void 0}:u&&s.config.useDeprecatedNextContext?((l=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},o={next:t.next&&v(t.next,l),error:t.error&&v(t.error,l),complete:t.complete&&v(t.complete,l)}):o=t,u.destination=new b(o),u}return i(t,e),t}(m);function _(e){s.config.useDeprecatedSynchronousErrorHandling?f.captureError(e):l.reportUnhandledError(e)}function w(e,t){var r=s.config.onStoppedNotification;r&&p.timeoutProvider.setTimeout(function(){return r(e,t)})}t.SafeSubscriber=y,t.EMPTY_OBSERVER={closed:!0,next:u.noop,error:function(e){throw e},complete:u.noop}},48268:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},o=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9422:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var a=r(10693),o=r(48268),s=r(26638),l=r(96526),u=r(31714),d=function(e){function t(t,r){var i=e.call(this)||this;return i.source=t,i.subjectFactory=r,i._subject=null,i._refCount=0,i._connection=null,u.hasLift(t)&&(i.lift=t.lift),i}return i(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new o.Subscription;var r=this.getSubject();t.add(this.source.subscribe(l.createOperatorSubscriber(r,void 0,function(){e._teardown(),r.complete()},function(t){e._teardown(),r.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=o.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return s.refCount()(this)},t}(a.Observable);t.ConnectableObservable=d},89469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var i=r(10693),a=r(62338),o=r(24988),s=r(31487),l=r(1031),u=r(13261),d=r(72733),p=r(96526),f=r(53946);function m(e,t,r){return void 0===r&&(r=s.identity),function(i){g(t,function(){for(var a=e.length,s=Array(a),l=a,u=a,d=function(a){g(t,function(){var d=o.from(e[a],t),f=!1;d.subscribe(p.createOperatorSubscriber(i,function(e){s[a]=e,!f&&(f=!0,u--),u||i.next(r(s.slice()))},function(){--l||i.complete()}))},i)},f=0;f{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var i=r(79429),a=r(13261),o=r(24988);t.concat=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var i=r(10693);t.EMPTY=new i.Observable(function(e){return e.complete()}),t.empty=function(e){return e?new i.Observable(function(t){return e.schedule(function(){return t.complete()})}):t.EMPTY}},24988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var i=r(26568),a=r(21435);t.from=function(e,t){return t?i.scheduled(e,t):a.innerFrom(e)}},11867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var i=r(10693);t.fromSubscribable=function(e){return new i.Observable(function(t){return e.subscribe(t)})}},21435:(e,t,r)=>{"use strict";var i=function(e,t){var r,i,a,o,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(a=(a=s.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var s=r(78685),l=r(57452),u=r(10693),d=r(99105),p=r(28220),f=r(83205),m=r(31214),g=r(36696),v=r(53062),b=r(24210),y=r(17336);function _(e){return new u.Observable(function(t){var r=e[y.observable]();if(v.isFunction(r.subscribe))return r.subscribe(t);throw TypeError("Provided object does not correctly implement Symbol.observable")})}function w(e){return new u.Observable(function(t){for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var i=r(69210),a=r(50603);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=i.asyncScheduler),e<0&&(e=0),a.timer(e,e,t)}},22651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var i=r(13261),a=r(24988);t.of=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var i=r(10693),a=r(14841),o=r(96526),s=r(73355),l=r(21435);t.onErrorResumeNext=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var i=r(10693),a=r(21435),o=r(14841),s=r(96526);function l(e){return function(t){for(var r=[],i=function(i){r.push(a.innerFrom(e[i]).subscribe(s.createOperatorSubscriber(t,function(e){if(r){for(var a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var i=r(10693),a=r(53062);t.throwError=function(e,t){var r=a.isFunction(e)?e:function(){return e},o=function(e){return e.error(r())};return new i.Observable(t?function(e){return t.schedule(o,0,e)}:o)}},50603:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var i=r(10693),a=r(69210),o=r(2773),s=r(68699);t.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=a.async);var l=-1;return null!=t&&(o.isScheduler(t)?r=t:l=t),new i.Observable(function(t){var i=s.isValidDate(e)?+e-r.now():e;i<0&&(i=0);var a=0;return r.schedule(function(){t.closed||(t.next(a++),0<=l?this.schedule(void 0,l):t.complete())},i)})}},69555:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var a=r(94971);t.createOperatorSubscriber=function(e,t,r,i,a){return new o(e,t,r,i,a)};var o=function(e){function t(t,r,i,a,o,s){var l=e.call(this,t)||this;return l.onFinalize=o,l.shouldUnsubscribe=s,l._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,l._error=a?function(e){try{a(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,l}return i(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null===(t=this.onFinalize)||void 0===t||t.call(this)}},t}(a.Subscriber);t.OperatorSubscriber=o},29750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var i=r(31714),a=r(21435),o=r(96526);t.audit=function(e){return i.operate(function(t,r){var i=!1,s=null,l=null,u=!1,d=function(){if(null==l||l.unsubscribe(),l=null,i){i=!1;var e=s;s=null,r.next(e)}u&&r.complete()},p=function(){l=null,u&&r.complete()};t.subscribe(o.createOperatorSubscriber(r,function(t){i=!0,s=t,l||a.innerFrom(e(t)).subscribe(l=o.createOperatorSubscriber(r,d,p))},function(){u=!0,i&&l&&!l.closed||r.complete()}))})}},57070:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var i=r(69210),a=r(29750),o=r(50603);t.auditTime=function(e,t){return void 0===t&&(t=i.asyncScheduler),a.audit(function(){return o.timer(e,t)})}},84768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var i=r(31714),a=r(73355),o=r(96526),s=r(21435);t.buffer=function(e){return i.operate(function(t,r){var i=[];return t.subscribe(o.createOperatorSubscriber(r,function(e){return i.push(e)},function(){r.next(i),r.complete()})),s.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){var e=i;i=[],r.next(e)},a.noop)),function(){i=null}})}},59152:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var a=r(31714),o=r(96526),s=r(62929);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,a.operate(function(r,a){var l=[],u=0;r.subscribe(o.createOperatorSubscriber(a,function(r){var o,d,p,f,m=null;u++%t==0&&l.push([]);try{for(var g=i(l),v=g.next();!v.done;v=g.next()){var b=v.value;b.push(r),e<=b.length&&(m=null!=m?m:[]).push(b)}}catch(e){o={error:e}}finally{try{v&&!v.done&&(d=g.return)&&d.call(g)}finally{if(o)throw o.error}}if(m)try{for(var y=i(m),_=y.next();!_.done;_=y.next()){var b=_.value;s.arrRemove(l,b),a.next(b)}}catch(e){p={error:e}}finally{try{_&&!_.done&&(f=y.return)&&f.call(y)}finally{if(p)throw p.error}}},function(){var e,t;try{for(var r=i(l),o=r.next();!o.done;o=r.next()){var s=o.value;a.next(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}a.complete()},void 0,function(){l=null}))})}},11915:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var a=r(48268),o=r(31714),s=r(96526),l=r(62929),u=r(69210),d=r(13261),p=r(53946);t.bufferTime=function(e){for(var t,r,f=[],m=1;m=0?p.executeSchedule(r,g,f,v,!0):u=!0,f();var m=s.createOperatorSubscriber(r,function(e){var t,r,a=o.slice();try{for(var s=i(a),l=s.next();!l.done;l=s.next()){var u=l.value,p=u.buffer;p.push(e),b<=p.length&&d(u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}},function(){for(;null==o?void 0:o.length;)r.next(o.shift().buffer);null==m||m.unsubscribe(),r.complete(),r.unsubscribe()},void 0,function(){return o=null});t.subscribe(m)})}},24612:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var a=r(48268),o=r(31714),s=r(21435),l=r(96526),u=r(73355),d=r(62929);t.bufferToggle=function(e,t){return o.operate(function(r,o){var p=[];s.innerFrom(e).subscribe(l.createOperatorSubscriber(o,function(e){var r=[];p.push(r);var i=new a.Subscription;i.add(s.innerFrom(t(e)).subscribe(l.createOperatorSubscriber(o,function(){d.arrRemove(p,r),o.next(r),i.unsubscribe()},u.noop)))},u.noop)),r.subscribe(l.createOperatorSubscriber(o,function(e){var t,r;try{for(var a=i(p),o=a.next();!o.done;o=a.next())o.value.push(e)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},function(){for(;p.length>0;)o.next(p.shift());o.complete()}))})}},35162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var i=r(31714),a=r(73355),o=r(96526),s=r(21435);t.bufferWhen=function(e){return i.operate(function(t,r){var i=null,l=null,u=function(){null==l||l.unsubscribe();var t=i;i=[],t&&r.next(t),s.innerFrom(e()).subscribe(l=o.createOperatorSubscriber(r,u,a.noop))};u(),t.subscribe(o.createOperatorSubscriber(r,function(e){return null==i?void 0:i.push(e)},function(){i&&r.next(i),r.complete()},void 0,function(){return i=l=null}))})}},26173:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var i=r(21435),a=r(96526),o=r(31714);t.catchError=function e(t){return o.operate(function(r,o){var s,l=null,u=!1;l=r.subscribe(a.createOperatorSubscriber(o,void 0,void 0,function(a){s=i.innerFrom(t(a,e(t)(r))),l?(l.unsubscribe(),l=null,s.subscribe(o)):u=!0})),u&&(l.unsubscribe(),l=null,s.subscribe(o))})}},24162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var i=r(67619);t.combineAll=i.combineLatestAll},93697:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var i=r(89469),a=r(1452);t.combineLatestAll=function(e){return a.joinAllInternals(i.combineLatest,e)}},7588:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var i=r(79791);t.concatAll=function(){return i.mergeAll(1)}},42408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var i=r(30714),a=r(53062);t.concatMap=function(e,t){return a.isFunction(t)?i.mergeMap(e,t,1):i.mergeMap(e,1)}},45327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var i=r(42408),a=r(53062);t.concatMapTo=function(e,t){return a.isFunction(t)?i.concatMap(function(){return e},t):i.concatMap(function(){return e})}},86162:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var i=r(45164),a=r(21435),o=r(31714),s=r(11867),l={connector:function(){return new i.Subject}};t.connect=function(e,t){void 0===t&&(t=l);var r=t.connector;return o.operate(function(t,i){var o=r();a.innerFrom(e(s.fromSubscribable(o))).subscribe(i),i.add(t.subscribe(o))})}},31354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var i=r(98839);t.count=function(e){return i.reduce(function(t,r,i){return!e||e(r,i)?t+1:t},0)}},25831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var i=r(31714),a=r(73355),o=r(96526),s=r(21435);t.debounce=function(e){return i.operate(function(t,r){var i=!1,l=null,u=null,d=function(){if(null==u||u.unsubscribe(),u=null,i){i=!1;var e=l;l=null,r.next(e)}};t.subscribe(o.createOperatorSubscriber(r,function(t){null==u||u.unsubscribe(),i=!0,l=t,u=o.createOperatorSubscriber(r,d,a.noop),s.innerFrom(e(t)).subscribe(u)},function(){d(),r.complete()},void 0,function(){l=u=null}))})}},18338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var i=r(69210),a=r(31714),o=r(96526);t.debounceTime=function(e,t){return void 0===t&&(t=i.asyncScheduler),a.operate(function(r,i){var a=null,s=null,l=null,u=function(){if(a){a.unsubscribe(),a=null;var e=s;s=null,i.next(e)}};function d(){var r=l+e,o=t.now();if(o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var i=r(31714),a=r(96526);t.defaultIfEmpty=function(e){return i.operate(function(t,r){var i=!1;t.subscribe(a.createOperatorSubscriber(r,function(e){i=!0,r.next(e)},function(){i||r.next(e),r.complete()}))})}},10296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var i=r(69210),a=r(1558),o=r(50603);t.delay=function(e,t){void 0===t&&(t=i.asyncScheduler);var r=o.timer(e,t);return a.delayWhen(function(){return r})}},1558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var i=r(73691),a=r(20261),o=r(67549),s=r(51084),l=r(30714),u=r(21435);t.delayWhen=function e(t,r){return r?function(s){return i.concat(r.pipe(a.take(1),o.ignoreElements()),s.pipe(e(t)))}:l.mergeMap(function(e,r){return u.innerFrom(t(e,r)).pipe(a.take(1),s.mapTo(e))})}},33681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var i=r(24666),a=r(31714),o=r(96526);t.dematerialize=function(){return a.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(e){return i.observeNotification(e,t)}))})}},8472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var i=r(31714),a=r(96526),o=r(73355),s=r(21435);t.distinct=function(e,t){return i.operate(function(r,i){var l=new Set;r.subscribe(a.createOperatorSubscriber(i,function(t){var r=e?e(t):t;l.has(r)||(l.add(r),i.next(t))})),t&&s.innerFrom(t).subscribe(a.createOperatorSubscriber(i,function(){return l.clear()},o.noop))})}},1035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var i=r(31487),a=r(31714),o=r(96526);function s(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=i.identity),e=null!=e?e:s,a.operate(function(r,i){var a,s=!0;r.subscribe(o.createOperatorSubscriber(i,function(r){var o=t(r);(s||!e(a,o))&&(s=!1,a=o,i.next(r))}))})}},54238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var i=r(1035);t.distinctUntilKeyChanged=function(e,t){return i.distinctUntilChanged(function(r,i){return t?t(r[e],i[e]):r[e]===i[e]})}},66235:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var i=r(26531),a=r(56235),o=r(47846),s=r(11683),l=r(20261);t.elementAt=function(e,t){if(e<0)throw new i.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(u){return u.pipe(a.filter(function(t,r){return r===e}),l.take(1),r?s.defaultIfEmpty(t):o.throwIfEmpty(function(){return new i.ArgumentOutOfRangeError}))}}},44905:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var i=r(31714),a=r(96526);t.every=function(e,t){return i.operate(function(r,i){var o=0;r.subscribe(a.createOperatorSubscriber(i,function(a){e.call(t,a,o++,r)||(i.next(!1),i.complete())},function(){i.next(!0),i.complete()}))})}},75359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var i=r(37210);t.exhaust=i.exhaustAll},37210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var i=r(2115),a=r(31487);t.exhaustAll=function(){return i.exhaustMap(a.identity)}},2115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var i=r(71971),a=r(21435),o=r(31714),s=r(96526);t.exhaustMap=function e(t,r){return r?function(o){return o.pipe(e(function(e,o){return a.innerFrom(t(e,o)).pipe(i.map(function(t,i){return r(e,t,o,i)}))}))}:o.operate(function(e,r){var i=0,o=null,l=!1;e.subscribe(s.createOperatorSubscriber(r,function(e){o||(o=s.createOperatorSubscriber(r,void 0,function(){o=null,l&&r.complete()}),a.innerFrom(t(e,i++)).subscribe(o))},function(){l=!0,o||r.complete()}))})}},60806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var i=r(31714),a=r(29078);t.expand=function(e,t,r){return void 0===t&&(t=1/0),t=1>(t||0)?1/0:t,i.operate(function(i,o){return a.mergeInternals(i,o,e,t,void 0,!0,r)})}},56235:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var i=r(31714),a=r(96526);t.filter=function(e,t){return i.operate(function(r,i){var o=0;r.subscribe(a.createOperatorSubscriber(i,function(r){return e.call(t,r,o++)&&i.next(r)}))})}},33699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var i=r(31714);t.finalize=function(e){return i.operate(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}},71851:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var i=r(31714),a=r(96526);function o(e,t,r){var i="index"===r;return function(r,o){var s=0;r.subscribe(a.createOperatorSubscriber(o,function(a){var l=s++;e.call(t,a,l,r)&&(o.next(i?l:a),o.complete())},function(){o.next(i?-1:void 0),o.complete()}))}}t.find=function(e,t){return i.operate(o(e,t,"value"))},t.createFind=o},77568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var i=r(31714),a=r(71851);t.findIndex=function(e,t){return i.operate(a.createFind(e,t,"index"))}},44252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var i=r(30206),a=r(56235),o=r(20261),s=r(11683),l=r(47846),u=r(31487);t.first=function(e,t){var r=arguments.length>=2;return function(d){return d.pipe(e?a.filter(function(t,r){return e(t,r,d)}):u.identity,o.take(1),r?s.defaultIfEmpty(t):l.throwIfEmpty(function(){return new i.EmptyError}))}}},5543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var i=r(30714);t.flatMap=i.mergeMap},58807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var i=r(10693),a=r(21435),o=r(45164),s=r(31714),l=r(96526);t.groupBy=function(e,t,r,u){return s.operate(function(s,d){t&&"function"!=typeof t?(r=t.duration,p=t.element,u=t.connector):p=t;var p,f=new Map,m=function(e){f.forEach(e),e(d)},g=function(e){return m(function(t){return t.error(e)})},v=0,b=!1,y=new l.OperatorSubscriber(d,function(t){try{var s=e(t),m=f.get(s);if(!m){f.set(s,m=u?u():new o.Subject);var _,w,k=(_=m,(w=new i.Observable(function(e){v++;var t=_.subscribe(e);return function(){t.unsubscribe(),0==--v&&b&&y.unsubscribe()}})).key=s,w);if(d.next(k),r){var x=l.createOperatorSubscriber(m,function(){m.complete(),null==x||x.unsubscribe()},void 0,void 0,function(){return f.delete(s)});y.add(a.innerFrom(r(k)).subscribe(x))}}m.next(p?p(t):t)}catch(e){g(e)}},function(){return m(function(e){return e.complete()})},g,function(){return f.clear()},function(){return b=!0,0===v});s.subscribe(y)})}},67549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var i=r(31714),a=r(96526),o=r(73355);t.ignoreElements=function(){return i.operate(function(e,t){e.subscribe(a.createOperatorSubscriber(t,o.noop))})}},26192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var i=r(31714),a=r(96526);t.isEmpty=function(){return i.operate(function(e,t){e.subscribe(a.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}},1452:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var i=r(31487),a=r(1031),o=r(95348),s=r(30714),l=r(54301);t.joinAllInternals=function(e,t){return o.pipe(l.toArray(),s.mergeMap(function(t){return e(t)}),t?a.mapOneOrManyArgs(t):i.identity)}},55777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var i=r(30206),a=r(56235),o=r(54894),s=r(47846),l=r(11683),u=r(31487);t.last=function(e,t){var r=arguments.length>=2;return function(d){return d.pipe(e?a.filter(function(t,r){return e(t,r,d)}):u.identity,o.takeLast(1),r?l.defaultIfEmpty(t):s.throwIfEmpty(function(){return new i.EmptyError}))}}},71971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var i=r(31714),a=r(96526);t.map=function(e,t){return i.operate(function(r,i){var o=0;r.subscribe(a.createOperatorSubscriber(i,function(r){i.next(e.call(t,r,o++))}))})}},51084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var i=r(71971);t.mapTo=function(e){return i.map(function(){return e})}},4329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var i=r(24666),a=r(31714),o=r(96526);t.materialize=function(){return a.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(e){t.next(i.Notification.createNext(e))},function(){t.next(i.Notification.createComplete()),t.complete()},function(e){t.next(i.Notification.createError(e)),t.complete()}))})}},21471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var i=r(98839),a=r(53062);t.max=function(e){return i.reduce(a.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}},4449:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var i=r(30714),a=r(31487);t.mergeAll=function(e){return void 0===e&&(e=1/0),i.mergeMap(a.identity,e)}},29078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var i=r(21435),a=r(53946),o=r(96526);t.mergeInternals=function(e,t,r,s,l,u,d,p){var f=[],m=0,g=0,v=!1,b=function(){!v||f.length||m||t.complete()},y=function(e){return m{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var i=r(71971),a=r(21435),o=r(31714),s=r(29078),l=r(53062);t.mergeMap=function e(t,r,u){return(void 0===u&&(u=1/0),l.isFunction(r))?e(function(e,o){return i.map(function(t,i){return r(e,t,o,i)})(a.innerFrom(t(e,o)))},u):("number"==typeof r&&(u=r),o.operate(function(e,r){return s.mergeInternals(e,r,t,u)}))}},64407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var i=r(30714),a=r(53062);t.mergeMapTo=function(e,t,r){return(void 0===r&&(r=1/0),a.isFunction(t))?i.mergeMap(function(){return e},t,r):("number"==typeof t&&(r=t),i.mergeMap(function(){return e},r))}},56801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var i=r(31714),a=r(29078);t.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),i.operate(function(i,o){var s=t;return a.mergeInternals(i,o,function(t,r){return e(s,t,r)},r,function(e){s=e},!1,void 0,function(){return s=null})})}},27828:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var i=r(98839),a=r(53062);t.min=function(e){return i.reduce(a.isFunction(e)?function(t,r){return 0>e(t,r)?t:r}:function(e,t){return e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var i=r(9422),a=r(53062),o=r(40841);t.multicast=function(e,t){var r=a.isFunction(e)?e:function(){return e};return a.isFunction(t)?o.connect(t,{connector:r}):function(e){return new i.ConnectableObservable(e,r)}}},87195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var i=r(53946),a=r(31714),o=r(96526);t.observeOn=function(e,t){return void 0===t&&(t=0),a.operate(function(r,a){r.subscribe(o.createOperatorSubscriber(a,function(r){return i.executeSchedule(a,e,function(){return a.next(r)},t)},function(){return i.executeSchedule(a,e,function(){return a.complete()},t)},function(r){return i.executeSchedule(a,e,function(){return a.error(r)},t)}))})}},96466:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var i=r(31714),a=r(96526);t.pairwise=function(){return i.operate(function(e,t){var r,i=!1;e.subscribe(a.createOperatorSubscriber(t,function(e){var a=r;r=e,i&&t.next([a,e]),i=!0}))})}},19124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var i=r(12340),a=r(56235);t.partition=function(e,t){return function(r){return[a.filter(e,t)(r),a.filter(i.not(e,t))(r)]}}},67954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var i=r(71971);t.pluck=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var i=r(45164),a=r(54707),o=r(40841);t.publish=function(e){return e?function(t){return o.connect(e)(t)}:function(e){return a.multicast(new i.Subject)(e)}}},63408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var i=r(40290),a=r(9422);t.publishBehavior=function(e){return function(t){var r=new i.BehaviorSubject(e);return new a.ConnectableObservable(t,function(){return r})}}},37937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var i=r(8008),a=r(9422);t.publishLast=function(){return function(e){var t=new i.AsyncSubject;return new a.ConnectableObservable(e,function(){return t})}}},8602:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var i=r(84936),a=r(54707),o=r(53062);t.publishReplay=function(e,t,r,s){r&&!o.isFunction(r)&&(s=r);var l=o.isFunction(r)?r:void 0;return function(r){return a.multicast(new i.ReplaySubject(e,t,s),l)(r)}}},55098:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var i=r(31885),a=r(31714);t.reduce=function(e,t){return a.operate(i.scanInternals(e,t,arguments.length>=2,!1,!0))}},26638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var i=r(31714),a=r(96526);t.refCount=function(){return i.operate(function(e,t){var r=null;e._refCount++;var i=a.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){r=null;return}var i=e._connection,a=r;r=null,i&&(!a||i===a)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(i),i.closed||(r=e.connect())})}},42251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var i=r(3874),a=r(31714),o=r(96526),s=r(21435),l=r(50603);t.repeat=function(e){var t,r,u=1/0;return null!=e&&("object"==typeof e?(u=void 0===(t=e.count)?1/0:t,r=e.delay):u=e),u<=0?function(){return i.EMPTY}:a.operate(function(e,t){var i,a=0,d=function(){if(null==i||i.unsubscribe(),i=null,null!=r){var e="number"==typeof r?l.timer(r):s.innerFrom(r(a)),u=o.createOperatorSubscriber(t,function(){u.unsubscribe(),p()});e.subscribe(u)}else p()},p=function(){var r=!1;i=e.subscribe(o.createOperatorSubscriber(t,void 0,function(){++a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var i=r(21435),a=r(45164),o=r(31714),s=r(96526);t.repeatWhen=function(e){return o.operate(function(t,r){var o,l,u=!1,d=!1,p=!1,f=function(){return p&&d&&(r.complete(),!0)},m=function(){p=!1,o=t.subscribe(s.createOperatorSubscriber(r,void 0,function(){p=!0,f()||(l||(l=new a.Subject,i.innerFrom(e(l)).subscribe(s.createOperatorSubscriber(r,function(){o?m():u=!0},function(){d=!0,f()}))),l).next()})),u&&(o.unsubscribe(),o=null,u=!1,m())};m()})}},40685:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var i=r(31714),a=r(96526),o=r(31487),s=r(50603),l=r(21435);t.retry=function(e){void 0===e&&(e=1/0);var t,r=(t=e&&"object"==typeof e?e:{count:e}).count,u=void 0===r?1/0:r,d=t.delay,p=t.resetOnSuccess,f=void 0!==p&&p;return u<=0?o.identity:i.operate(function(e,t){var r,i=0,o=function(){var p=!1;r=e.subscribe(a.createOperatorSubscriber(t,function(e){f&&(i=0),t.next(e)},void 0,function(e){if(i++{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var i=r(21435),a=r(45164),o=r(31714),s=r(96526);t.retryWhen=function(e){return o.operate(function(t,r){var o,l,u=!1,d=function(){o=t.subscribe(s.createOperatorSubscriber(r,void 0,void 0,function(t){l||(l=new a.Subject,i.innerFrom(e(l)).subscribe(s.createOperatorSubscriber(r,function(){return o?d():u=!0}))),l&&l.next(t)})),u&&(o.unsubscribe(),o=null,u=!1,d())};d()})}},17591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var i=r(21435),a=r(31714),o=r(73355),s=r(96526);t.sample=function(e){return a.operate(function(t,r){var a=!1,l=null;t.subscribe(s.createOperatorSubscriber(r,function(e){a=!0,l=e})),i.innerFrom(e).subscribe(s.createOperatorSubscriber(r,function(){if(a){a=!1;var e=l;l=null,r.next(e)}},o.noop))})}},53732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var i=r(69210),a=r(17591),o=r(37945);t.sampleTime=function(e,t){return void 0===t&&(t=i.asyncScheduler),a.sample(o.interval(e,t))}},89857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var i=r(31714),a=r(31885);t.scan=function(e,t){return i.operate(a.scanInternals(e,t,arguments.length>=2,!0))}},31885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var i=r(96526);t.scanInternals=function(e,t,r,a,o){return function(s,l){var u=r,d=t,p=0;s.subscribe(i.createOperatorSubscriber(l,function(t){var r=p++;d=u?e(d,t,r):(u=!0,t),a&&l.next(d)},o&&function(){u&&l.next(d),l.complete()}))}}},50739:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var i=r(31714),a=r(96526),o=r(21435);function s(){return{buffer:[],complete:!1}}t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),i.operate(function(r,i){var l=s(),u=s(),d=function(e){i.next(e),i.complete()},p=function(e,r){var o=a.createOperatorSubscriber(i,function(i){var a=r.buffer,o=r.complete;0===a.length?o?d(!1):e.buffer.push(i):t(i,a.shift())||d(!1)},function(){e.complete=!0;var t=r.complete,i=r.buffer;t&&d(0===i.length),null==o||o.unsubscribe()});return o};r.subscribe(p(l,u)),o.innerFrom(e).subscribe(p(u,l))})}},78998:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r0&&(t=new l.SafeSubscriber({next:function(e){return w.next(e)},error:function(e){v=!0,b(),i=d(y,a,e),w.error(e)},complete:function(){m=!0,b(),i=d(y,f),w.complete()}}),o.innerFrom(e).subscribe(t))})(e)}}},82335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var i=r(84936),a=r(78998);t.shareReplay=function(e,t,r){var o,s,l,u,d=!1;return e&&"object"==typeof e?(u=void 0===(o=e.bufferSize)?1/0:o,t=void 0===(s=e.windowTime)?1/0:s,d=void 0!==(l=e.refCount)&&l,r=e.scheduler):u=null!=e?e:1/0,a.share({connector:function(){return new i.ReplaySubject(u,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}},57234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var i=r(30206),a=r(20425),o=r(33),s=r(31714),l=r(96526);t.single=function(e){return s.operate(function(t,r){var s,u=!1,d=!1,p=0;t.subscribe(l.createOperatorSubscriber(r,function(i){d=!0,(!e||e(i,p++,t))&&(u&&r.error(new a.SequenceError("Too many matching values")),u=!0,s=i)},function(){u?(r.next(s),r.complete()):r.error(d?new o.NotFoundError("No matching values"):new i.EmptyError)}))})}},20747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var i=r(56235);t.skip=function(e){return i.filter(function(t,r){return e<=r})}},35508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var i=r(31487),a=r(31714),o=r(96526);t.skipLast=function(e){return e<=0?i.identity:a.operate(function(t,r){var i=Array(e),a=0;return t.subscribe(o.createOperatorSubscriber(r,function(t){var o=a++;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var i=r(31714),a=r(96526),o=r(21435),s=r(73355);t.skipUntil=function(e){return i.operate(function(t,r){var i=!1,l=a.createOperatorSubscriber(r,function(){null==l||l.unsubscribe(),i=!0},s.noop);o.innerFrom(e).subscribe(l),t.subscribe(a.createOperatorSubscriber(r,function(e){return i&&r.next(e)}))})}},23659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var i=r(31714),a=r(96526);t.skipWhile=function(e){return i.operate(function(t,r){var i=!1,o=0;t.subscribe(a.createOperatorSubscriber(r,function(t){return(i||(i=!e(t,o++)))&&r.next(t)}))})}},34928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var i=r(73691),a=r(13261),o=r(31714);t.startWith=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var i=r(31714);t.subscribeOn=function(e,t){return void 0===t&&(t=0),i.operate(function(r,i){i.add(e.schedule(function(){return r.subscribe(i)},t))})}},63114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var i=r(92684),a=r(31487);t.switchAll=function(){return i.switchMap(a.identity)}},92684:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var i=r(21435),a=r(31714),o=r(96526);t.switchMap=function(e,t){return a.operate(function(r,a){var s=null,l=0,u=!1,d=function(){return u&&!s&&a.complete()};r.subscribe(o.createOperatorSubscriber(a,function(r){null==s||s.unsubscribe();var u=0,p=l++;i.innerFrom(e(r,p)).subscribe(s=o.createOperatorSubscriber(a,function(e){return a.next(t?t(r,e,p,u++):e)},function(){s=null,d()}))},function(){u=!0,d()}))})}},99594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var i=r(92684),a=r(53062);t.switchMapTo=function(e,t){return a.isFunction(t)?i.switchMap(function(){return e},t):i.switchMap(function(){return e})}},24507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var i=r(92684),a=r(31714);t.switchScan=function(e,t){return a.operate(function(r,a){var o=t;return i.switchMap(function(t,r){return e(o,t,r)},function(e,t){return o=t,t})(r).subscribe(a),function(){o=null}})}},20261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var i=r(3874),a=r(31714),o=r(96526);t.take=function(e){return e<=0?function(){return i.EMPTY}:a.operate(function(t,r){var i=0;t.subscribe(o.createOperatorSubscriber(r,function(t){++i<=e&&(r.next(t),e<=i&&r.complete())}))})}},54894:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var a=r(3874),o=r(31714),s=r(96526);t.takeLast=function(e){return e<=0?function(){return a.EMPTY}:o.operate(function(t,r){var a=[];t.subscribe(s.createOperatorSubscriber(r,function(t){a.push(t),e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var i=r(31714),a=r(96526),o=r(21435),s=r(73355);t.takeUntil=function(e){return i.operate(function(t,r){o.innerFrom(e).subscribe(a.createOperatorSubscriber(r,function(){return r.complete()},s.noop)),r.closed||t.subscribe(r)})}},65439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var i=r(31714),a=r(96526);t.takeWhile=function(e,t){return void 0===t&&(t=!1),i.operate(function(r,i){var o=0;r.subscribe(a.createOperatorSubscriber(i,function(r){var a=e(r,o++);(a||t)&&i.next(r),a||i.complete()}))})}},88187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var i=r(53062),a=r(31714),o=r(96526),s=r(31487);t.tap=function(e,t,r){var l=i.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return l?a.operate(function(e,t){null===(r=l.subscribe)||void 0===r||r.call(l);var r,i=!0;e.subscribe(o.createOperatorSubscriber(t,function(e){var r;null===(r=l.next)||void 0===r||r.call(l,e),t.next(e)},function(){var e;i=!1,null===(e=l.complete)||void 0===e||e.call(l),t.complete()},function(e){var r;i=!1,null===(r=l.error)||void 0===r||r.call(l,e),t.error(e)},function(){var e,t;i&&(null===(e=l.unsubscribe)||void 0===e||e.call(l)),null===(t=l.finalize)||void 0===t||t.call(l)}))}):s.identity}},81759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var i=r(31714),a=r(96526),o=r(21435);t.throttle=function(e,t){return i.operate(function(r,i){var s=null!=t?t:{},l=s.leading,u=void 0===l||l,d=s.trailing,p=void 0!==d&&d,f=!1,m=null,g=null,v=!1,b=function(){null==g||g.unsubscribe(),g=null,p&&(w(),v&&i.complete())},y=function(){g=null,v&&i.complete()},_=function(t){return g=o.innerFrom(e(t)).subscribe(a.createOperatorSubscriber(i,b,y))},w=function(){if(f){f=!1;var e=m;m=null,i.next(e),v||_(e)}};r.subscribe(a.createOperatorSubscriber(i,function(e){f=!0,m=e,g&&!g.closed||(u?w():_(e))},function(){v=!0,p&&f&&g&&!g.closed||i.complete()}))})}},73353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var i=r(69210),a=r(81759),o=r(50603);t.throttleTime=function(e,t,r){void 0===t&&(t=i.asyncScheduler);var s=o.timer(e,t);return a.throttle(function(){return s},r)}},47846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var i=r(30206),a=r(31714),o=r(96526);function s(){return new i.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=s),a.operate(function(t,r){var i=!1;t.subscribe(o.createOperatorSubscriber(r,function(e){i=!0,r.next(e)},function(){return i?r.complete():r.error(e())}))})}},6362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var i=r(69210),a=r(31714),o=r(96526);t.timeInterval=function(e){return void 0===e&&(e=i.asyncScheduler),a.operate(function(t,r){var i=e.now();t.subscribe(o.createOperatorSubscriber(r,function(t){var a=e.now(),o=a-i;i=a,r.next(new s(t,o))}))})};var s=function(e,t){this.value=e,this.interval=t};t.TimeInterval=s},3487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var i=r(69210),a=r(68699),o=r(31714),s=r(21435),l=r(9259),u=r(96526),d=r(53946);function p(e){throw new t.TimeoutError(e)}t.TimeoutError=l.createErrorClass(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}}),t.timeout=function(e,t){var r=a.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,l=r.first,f=r.each,m=r.with,g=void 0===m?p:m,v=r.scheduler,b=void 0===v?null!=t?t:i.asyncScheduler:v,y=r.meta,_=void 0===y?null:y;if(null==l&&null==f)throw TypeError("No timeout provided.");return o.operate(function(e,t){var r,i,a=null,o=0,p=function(e){i=d.executeSchedule(t,b,function(){try{r.unsubscribe(),s.innerFrom(g({meta:_,lastValue:a,seen:o})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe(u.createOperatorSubscriber(t,function(e){null==i||i.unsubscribe(),o++,t.next(a=e),f>0&&p(f)},void 0,void 0,function(){(null==i?void 0:i.closed)||null==i||i.unsubscribe(),a=null})),o||p(null!=l?"number"==typeof l?l:+l-b.now():f)})}},88998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var i=r(69210),a=r(68699),o=r(3487);t.timeoutWith=function(e,t,r){var s,l,u;if(r=null!=r?r:i.async,a.isValidDate(e)?s=e:"number"==typeof e&&(l=e),t)u=function(){return t};else throw TypeError("No observable provided to switch to");if(null==s&&null==l)throw TypeError("No timeout provided.");return o.timeout({first:s,each:l,scheduler:r,with:u})}},72242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var i=r(25530),a=r(71971);t.timestamp=function(e){return void 0===e&&(e=i.dateTimestampProvider),a.map(function(t){return{value:t,timestamp:e.now()}})}},54301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var i=r(98839),a=r(31714),o=function(e,t){return e.push(t),e};t.toArray=function(){return a.operate(function(e,t){i.reduce(o,[])(e).subscribe(t)})}},98700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var i=r(45164),a=r(31714),o=r(96526),s=r(73355),l=r(21435);t.window=function(e){return a.operate(function(t,r){var a=new i.Subject;r.next(a.asObservable());var u=function(e){a.error(e),r.error(e)};return t.subscribe(o.createOperatorSubscriber(r,function(e){return null==a?void 0:a.next(e)},function(){a.complete(),r.complete()},u)),l.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){a.complete(),r.next(a=new i.Subject)},s.noop,u)),function(){null==a||a.unsubscribe(),a=null}})}},62953:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var a=r(45164),o=r(31714),s=r(96526);t.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return o.operate(function(t,o){var l=[new a.Subject],u=0;o.next(l[0].asObservable()),t.subscribe(s.createOperatorSubscriber(o,function(t){try{for(var s,d,p=i(l),f=p.next();!f.done;f=p.next())f.value.next(t)}catch(e){s={error:e}}finally{try{f&&!f.done&&(d=p.return)&&d.call(p)}finally{if(s)throw s.error}}var m=u-e+1;if(m>=0&&m%r==0&&l.shift().complete(),++u%r==0){var g=new a.Subject;l.push(g),o.next(g.asObservable())}},function(){for(;l.length>0;)l.shift().complete();o.complete()},function(e){for(;l.length>0;)l.shift().error(e);o.error(e)},function(){l=null}))})}},67355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var i=r(45164),a=r(69210),o=r(48268),s=r(31714),l=r(96526),u=r(62929),d=r(13261),p=r(53946);t.windowTime=function(e){for(var t,r,f=[],m=1;m=0?p.executeSchedule(r,g,f,v,!0):s=!0,f();var m=function(e){return a.slice().forEach(e)},y=function(e){m(function(t){return e(t.window)}),e(r),r.unsubscribe()};return t.subscribe(l.createOperatorSubscriber(r,function(e){m(function(t){t.window.next(e),b<=++t.seen&&d(t)})},function(){return y(function(e){return e.complete()})},function(e){return y(function(t){return t.error(e)})})),function(){a=null}})}},4791:(e,t,r)=>{"use strict";var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var a=r(45164),o=r(48268),s=r(31714),l=r(21435),u=r(96526),d=r(73355),p=r(62929);t.windowToggle=function(e,t){return s.operate(function(r,s){var f=[],m=function(e){for(;0{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var i=r(45164),a=r(31714),o=r(96526),s=r(21435);t.windowWhen=function(e){return a.operate(function(t,r){var a,l,u=function(e){a.error(e),r.error(e)},d=function(){var t;null==l||l.unsubscribe(),null==a||a.complete(),a=new i.Subject,r.next(a.asObservable());try{t=s.innerFrom(e())}catch(e){u(e);return}t.subscribe(l=o.createOperatorSubscriber(r,d,d,u))};d(),t.subscribe(o.createOperatorSubscriber(r,function(e){return a.next(e)},function(){a.complete(),r.complete()},u,function(){null==l||l.unsubscribe(),a=null}))})}},96108:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var i=r(69555),a=r(1452);t.zipAll=function(e){return a.joinAllInternals(i.zip,e)}},37965:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var i=r(10693);t.scheduleArray=function(e,t){return new i.Observable(function(r){var i=0;return t.schedule(function(){i===e.length?r.complete():(r.next(e[i++]),r.closed||this.schedule())})})}},23455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var i=r(10693),a=r(53946);t.scheduleAsyncIterable=function(e,t){if(!e)throw Error("Iterable cannot be null");return new i.Observable(function(r){a.executeSchedule(r,t,function(){var i=e[Symbol.asyncIterator]();a.executeSchedule(r,t,function(){i.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}},26803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var i=r(10693),a=r(19678),o=r(53062),s=r(53946);t.scheduleIterable=function(e,t){return new i.Observable(function(r){var i;return s.executeSchedule(r,t,function(){i=e[a.iterator](),s.executeSchedule(r,t,function(){var e,t,a;try{t=(e=i.next()).value,a=e.done}catch(e){r.error(e);return}a?r.complete():r.next(t)},0,!0)}),function(){return o.isFunction(null==i?void 0:i.return)&&i.return()}})}},21520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var i=r(21435),a=r(87195),o=r(88405);t.scheduleObservable=function(e,t){return i.innerFrom(e).pipe(o.subscribeOn(t),a.observeOn(t))}},22701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var i=r(21435),a=r(87195),o=r(88405);t.schedulePromise=function(e,t){return i.innerFrom(e).pipe(o.subscribeOn(t),a.observeOn(t))}},11063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var i=r(23455),a=r(36696);t.scheduleReadableStreamLike=function(e,t){return i.scheduleAsyncIterable(a.readableStreamLikeToAsyncGenerator(e),t)}},26568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var i=r(21520),a=r(22701),o=r(36774),s=r(26803),l=r(23455),u=r(99105),d=r(57452),p=r(78685),f=r(31214),m=r(28220),g=r(83205),v=r(36696),b=r(11063);t.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return i.scheduleObservable(e,t);if(p.isArrayLike(e))return o.scheduleArray(e,t);if(d.isPromise(e))return a.schedulePromise(e,t);if(m.isAsyncIterable(e))return l.scheduleAsyncIterable(e,t);if(f.isIterable(e))return s.scheduleIterable(e,t);if(v.isReadableStreamLike(e))return b.scheduleReadableStreamLike(e,t)}throw g.createInvalidObservableTypeError(e)}},9023:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var a=function(e){function t(t,r){return e.call(this)||this}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(48268).Subscription);t.Action=a},42094:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var a=r(9023),o=r(78631),s=r(62929),l=function(e){function t(t,r){var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i.pending=!1,i}return i(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,i=this.id,a=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(a,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(a,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),o.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&o.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,i=!1;try{this.work(e)}catch(e){i=!0,r=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,i=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(i,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(a.Action);t.AsyncAction=l},25493:(e,t,r)=>{"use strict";var i=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var a=r(37620),o=function(e){function t(t,r){void 0===r&&(r=a.Scheduler.now);var i=e.call(this,t,r)||this;return i.actions=[],i._active=!1,i}return i(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active){r.push(e);return}this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(a.Scheduler);t.AsyncScheduler=o},69210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var i=r(42094),a=r(25493);t.asyncScheduler=new a.AsyncScheduler(i.AsyncAction),t.async=t.asyncScheduler},25530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},78631:(e,t)=>{"use strict";var r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},i=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";var r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},i=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=r,t.iterator=r()},17336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},26531:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var i=r(9259);t.ArgumentOutOfRangeError=i.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},30206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var i=r(9259);t.EmptyError=i.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},33:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var i=r(9259);t.NotFoundError=i.createErrorClass(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}})},30166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var i=r(9259);t.ObjectUnsubscribedError=i.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},20425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var i=r(9259);t.SequenceError=i.createErrorClass(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}})},5638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var i=r(9259);t.UnsubscriptionError=i.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}})},13261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var i=r(53062),a=r(2773);function o(e){return e[e.length-1]}t.popResultSelector=function(e){return i.isFunction(o(e))?e.pop():void 0},t.popScheduler=function(e){return a.isScheduler(o(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof o(e)?e.pop():t}},62338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var r=Array.isArray,i=Object.getPrototypeOf,a=Object.prototype,o=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(r(t))return{args:t,keys:null};if(t&&"object"==typeof t&&i(t)===a){var s=o(t);return{args:s.map(function(e){return t[e]}),keys:s}}}return{args:e,keys:null}}},14841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var r=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&r(e[0])?e[0]:e}},62929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},9259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},72733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce(function(e,r,i){return e[r]=t[i],e},{})}},68653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var i=r(9261),a=null;t.errorContext=function(e){if(i.config.useDeprecatedSynchronousErrorHandling){var t=!a;if(t&&(a={errorThrown:!1,error:null}),e(),t){var r=a,o=r.errorThrown,s=r.error;if(a=null,o)throw s}}else e()},t.captureError=function(e){i.config.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=e)}},53946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,r,i,a){void 0===i&&(i=0),void 0===a&&(a=!1);var o=t.schedule(function(){r(),a?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!a)return o}},31487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},78685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},28220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var i=r(53062);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&i.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},68699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},53062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},99105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var i=r(17336),a=r(53062);t.isInteropObservable=function(e){return a.isFunction(e[i.observable])}},31214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var i=r(19678),a=r(53062);t.isIterable=function(e){return a.isFunction(null==e?void 0:e[i.iterator])}},57452:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var i=r(53062);t.isPromise=function(e){return i.isFunction(null==e?void 0:e.then)}},36696:(e,t,r)=>{"use strict";var i=function(e,t){var r,i,a,o,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(a=(a=s.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]1||u(e,t)})})}function u(e,t){try{var r;(r=o[e](t)).value instanceof a?Promise.resolve(r.value.v).then(d,p):f(s[0][2],r)}catch(e){f(s[0][3],e)}}function d(e){u("next",e)}function p(e){u("throw",e)}function f(e,t){e(t),s.shift(),s.length&&u(s[0][0],s[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var s=r(53062);t.readableStreamLikeToAsyncGenerator=function(e){return o(this,arguments,function(){var t,r,o;return i(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,a(t.read())];case 3:if(o=(r=i.sent()).value,!r.done)return[3,5];return[4,a(void 0)];case 4:return[2,i.sent()];case 5:return[4,a(o)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},t.isReadableStreamLike=function(e){return s.isFunction(null==e?void 0:e.getReader)}},2773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var i=r(53062);t.isScheduler=function(e){return e&&i.isFunction(e.schedule)}},31714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var i=r(53062);function a(e){return i.isFunction(null==e?void 0:e.lift)}t.hasLift=a,t.operate=function(e){return function(t){if(a(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}},1031:(e,t,r)=>{"use strict";var i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},a=function(e,t){for(var r=0,i=t.length,a=e.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},12340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(r,i){return!e.call(t,r,i)}}},95348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var i=r(31487);function a(e){return 0===e.length?i.identity:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}t.pipe=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var i=r(9261),a=r(31957);t.reportUnhandledError=function(e){a.timeoutProvider.setTimeout(function(){var t=i.config.onUnhandledError;if(t)t(e);else throw e})}},83205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},29775:(e,t,r)=>{"use strict";t.UI=void 0,r(29750),r(57070),r(84768),r(59152),r(11915),r(24612),r(35162),r(26173),r(24162),r(67619),r(93697),r(7588),r(41340),r(79429),r(42408),r(45327),r(86162),r(40841),r(31354),r(25831),r(18338),r(11683),r(10296),r(1558),r(33681),r(8472),r(1035),r(54238),r(66235),r(44905),r(28827),r(75359),r(37210),r(2115),r(60806),r(56235),r(33699),r(71851),r(77568),r(44252),r(58807),r(67549),r(26192),r(55777);var i=r(71971);Object.defineProperty(t,"UI",{enumerable:!0,get:function(){return i.map}}),r(51084),r(4329),r(21471),r(4449),r(79791),r(5543),r(30714),r(64407),r(56801),r(27828),r(49077),r(54707),r(87195),r(96466),r(23760),r(19124),r(67954),r(84372),r(63408),r(37937),r(8602),r(55098),r(41744),r(98839),r(42251),r(3747),r(40685),r(40047),r(26638),r(17591),r(53732),r(89857),r(50739),r(78998),r(82335),r(57234),r(20747),r(35508),r(46369),r(23659),r(34928),r(88405),r(63114),r(92684),r(99594),r(24507),r(20261),r(54894),r(18641),r(65439),r(88187),r(81759),r(73353),r(47846),r(6362),r(3487),r(88998),r(72242),r(54301),r(98700),r(62953),r(67355),r(4791),r(20178),r(96108),r(40589),r(69126),r(37965)},90892:(e,t,r)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var i=r(14300),a=i.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return a(e,t,r)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=i:(o(i,t),t.Buffer=s),s.prototype=Object.create(a.prototype),o(a,s),s.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return a(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=a(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return a(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},11634:e=>{var t=e.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(e){return e.encoding?"rtpmap:%d %s/%s/%s":e.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(e){return null!=e.address?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%s trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(e){return null!=e.subtype?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))?(?: (urn:ietf:params:rtp-hdrext:encrypt))? (\S*)(?: (\S*))?/,names:["value","direction","encrypt-uri","uri","config"],format:function(e){return"extmap:%d"+(e.direction?"/%s":"%v")+(e["encrypt-uri"]?" %s":"%v")+" %s"+(e.config?" %s":"")}},{name:"extmapAllowMixed",reg:/^(extmap-allow-mixed)/},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(e){return null!=e.sessionConfig?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"connectionType",reg:/^connection:(new|existing)/,format:"connection:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*(?:\.\d*)*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*(?:\.\d*)*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(e){var t="candidate:%s %d %s %d %s %d typ %s";return t+=(null!=e.raddr?" raddr %s rport %d":"%v%v")+(null!=e.tcptype?" tcptype %s":"%v"),null!=e.generation&&(t+=" generation %d"),t+=(null!=e["network-id"]?" network-id %d":"%v")+(null!=e["network-cost"]?" network-cost %d":"%v")}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(e){var t="ssrc:%d";return null!=e.attribute&&(t+=" %s",null!=e.value&&(t+=":%s")),t}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(e){return null!=e.maxMessageSize?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(e){return e.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(e){return"imageattr:%s %s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast",reg:RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(e){return"simulcast:%s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{name:"sourceFilter",reg:/^source-filter: *(excl|incl) (\S*) (IP4|IP6|\*) (\S*) (.*)/,names:["filterMode","netType","addressTypes","destAddress","srcList"],format:"source-filter: %s %s %s %s %s"},{name:"bundleOnly",reg:/^(bundle-only)/},{name:"label",reg:/^label:(.+)/,format:"label:%s"},{name:"sctpPort",reg:/^sctp-port:(\d+)$/,format:"sctp-port:%s"},{name:"maxMessageSize",reg:/^max-message-size:(\d+)$/,format:"max-message-size:%s"},{push:"tsRefClocks",reg:/^ts-refclk:([^\s=]*)(?:=(\S*))?/,names:["clksrc","clksrcExt"],format:function(e){return"ts-refclk:%s"+(null!=e.clksrcExt?"=%s":"")}},{name:"mediaClk",reg:/^mediaclk:(?:id=(\S*))? *([^\s=]*)(?:=(\S*))?(?: *rate=(\d+)\/(\d+))?/,names:["id","mediaClockName","mediaClockValue","rateNumerator","rateDenominator"],format:function(e){return"mediaclk:"+((null!=e.id?"id=%s %s":"%v%s")+(null!=e.mediaClockValue?"=%s":"")+(null!=e.rateNumerator?" rate=%s":""))+(null!=e.rateDenominator?"/%s":"")}},{name:"keywords",reg:/^keywds:(.+)$/,format:"keywds:%s"},{name:"content",reg:/^content:(.+)/,format:"content:%s"},{name:"bfcpFloorCtrl",reg:/^floorctrl:(c-only|s-only|c-s)/,format:"floorctrl:%s"},{name:"bfcpConfId",reg:/^confid:(\d+)/,format:"confid:%s"},{name:"bfcpUserId",reg:/^userid:(\d+)/,format:"userid:%s"},{name:"bfcpFloorId",reg:/^floorid:(.+) (?:m-stream|mstrm):(.+)/,names:["id","mStream"],format:"floorid:%s mstrm:%s"},{push:"invalid",names:["value"]}]};Object.keys(t).forEach(function(e){t[e].forEach(function(e){e.reg||(e.reg=/(.*)/),e.format||(e.format="%s")})})},25515:(e,t,r)=>{var i=r(43875),a=r(51759);t.cW=a,t.Qc=i.parse,i.parseParams,i.parseFmtpConfig,i.parsePayloads,i.parseRemoteCandidates,i.parseImageAttributes,i.parseSimulcastStreamList},43875:(e,t,r)=>{var i=function(e){return String(Number(e))===e?Number(e):e},a=function(e,t,r,a){if(a&&!r)t[a]=i(e[1]);else for(var o=0;o1&&(e[r[0]]=void 0),e};t.parseParams=function(e){return e.split(/;\s?/).reduce(u,{})},t.parseFmtpConfig=t.parseParams,t.parsePayloads=function(e){return e.toString().split(" ").map(Number)},t.parseRemoteCandidates=function(e){for(var t=[],r=e.split(" ").map(i),a=0;a{var i=r(11634),a=/%[sdv%]/g,o=function(e){var t=1,r=arguments,i=r.length;return e.replace(a,function(e){if(t>=i)return e;var a=r[t];switch(t+=1,e){case"%%":return"%";case"%s":return String(a);case"%d":return Number(a);case"%v":return""}})},s=function(e,t,r){var i=[e+"="+(t.format instanceof Function?t.format(t.push?r:r[t.name]):t.format)];if(t.names)for(var a=0;a{"use strict";let t={};t.generateIdentifier=function(){return Math.random().toString(36).substring(2,12)},t.localCName=t.generateIdentifier(),t.splitLines=function(e){return e.trim().split("\n").map(e=>e.trim())},t.splitSections=function(e){return e.split("\nm=").map((e,t)=>(t>0?"m="+e:e).trim()+"\r\n")},t.getDescription=function(e){let r=t.splitSections(e);return r&&r[0]},t.getMediaSections=function(e){let r=t.splitSections(e);return r.shift(),r},t.matchPrefix=function(e,r){return t.splitLines(e).filter(e=>0===e.indexOf(r))},t.parseCandidate=function(e){let t;let r={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let e=8;e0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},t.parseFmtp=function(e){let t;let r={},i=e.substring(e.indexOf(" ")+1).split(";");for(let e=0;e{void 0!==e.parameters[t]?i.push(t+"="+e.parameters[t]):i.push(t)}),t+="a=fmtp:"+r+" "+i.join(";")+"\r\n"}return t},t.parseRtcpFb=function(e){let t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},t.writeRtcpFb=function(e){let t="",r=e.payloadType;return void 0!==e.preferredPayloadType&&(r=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(e=>{t+="a=rtcp-fb:"+r+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},t.parseSsrcMedia=function(e){let t=e.indexOf(" "),r={ssrc:parseInt(e.substring(7,t),10)},i=e.indexOf(":",t);return i>-1?(r.attribute=e.substring(t+1,i),r.value=e.substring(i+1)):r.attribute=e.substring(t+1),r},t.parseSsrcGroup=function(e){let t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(e=>parseInt(e,10))}},t.getMid=function(e){let r=t.matchPrefix(e,"a=mid:")[0];if(r)return r.substring(6)},t.parseFingerprint=function(e){let t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},t.getDtlsParameters=function(e,r){return{role:"auto",fingerprints:t.matchPrefix(e+r,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){let r="a=setup:"+t+"\r\n";return e.fingerprints.forEach(e=>{r+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),r},t.parseCryptoLine=function(e){let t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},t.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?t.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;let t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},t.getCryptoParameters=function(e,r){return t.matchPrefix(e+r,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(e,r){let i=t.matchPrefix(e+r,"a=ice-ufrag:")[0],a=t.matchPrefix(e+r,"a=ice-pwd:")[0];return i&&a?{usernameFragment:i.substring(12),password:a.substring(10)}:null},t.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},t.parseRtpParameters=function(e){let r={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},i=t.splitLines(e)[0].split(" ");r.profile=i[2];for(let a=3;a{r.headerExtensions.push(t.parseExtmap(e))});let a=t.matchPrefix(e,"a=rtcp-fb:* ").map(t.parseRtcpFb);return r.codecs.forEach(e=>{a.forEach(t=>{e.rtcpFeedback.find(e=>e.type===t.type&&e.parameter===t.parameter)||e.rtcpFeedback.push(t)})}),r},t.writeRtpDescription=function(e,r){let i="";i+="m="+e+" "+(r.codecs.length>0?"9":"0")+" "+(r.profile||"UDP/TLS/RTP/SAVPF")+" "+r.codecs.map(e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType).join(" ")+"\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\n",r.codecs.forEach(e=>{i+=t.writeRtpMap(e)+t.writeFmtp(e)+t.writeRtcpFb(e)});let a=0;return r.codecs.forEach(e=>{e.maxptime>a&&(a=e.maxptime)}),a>0&&(i+="a=maxptime:"+a+"\r\n"),r.headerExtensions&&r.headerExtensions.forEach(e=>{i+=t.writeExtmap(e)}),i},t.parseRtpEncodingParameters=function(e){let r;let i=[],a=t.parseRtpParameters(e),o=-1!==a.fecMechanisms.indexOf("RED"),s=-1!==a.fecMechanisms.indexOf("ULPFEC"),l=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute),u=l.length>0&&l[0].ssrc,d=t.matchPrefix(e,"a=ssrc-group:FID").map(e=>e.substring(17).split(" ").map(e=>parseInt(e,10)));d.length>0&&d[0].length>1&&d[0][0]===u&&(r=d[0][1]),a.codecs.forEach(e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let t={ssrc:u,codecPayloadType:parseInt(e.parameters.apt,10)};u&&r&&(t.rtx={ssrc:r}),i.push(t),o&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:u,mechanism:s?"red+ulpfec":"red"},i.push(t))}}),0===i.length&&u&&i.push({ssrc:u});let p=t.matchPrefix(e,"b=");return p.length&&(p=0===p[0].indexOf("b=TIAS:")?parseInt(p[0].substring(7),10):0===p[0].indexOf("b=AS:")?950*parseInt(p[0].substring(5),10)-16e3:void 0,i.forEach(e=>{e.maxBitrate=p})),i},t.parseRtcpParameters=function(e){let r={},i=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute)[0];i&&(r.cname=i.value,r.ssrc=i.ssrc);let a=t.matchPrefix(e,"a=rtcp-rsize");r.reducedSize=a.length>0,r.compound=0===a.length;let o=t.matchPrefix(e,"a=rtcp-mux");return r.mux=o.length>0,r},t.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},t.parseMsid=function(e){let r;let i=t.matchPrefix(e,"a=msid:");if(1===i.length)return{stream:(r=i[0].substring(7).split(" "))[0],track:r[1]};let a=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"msid"===e.attribute);if(a.length>0)return{stream:(r=a[0].value.split(" "))[0],track:r[1]}},t.parseSctpDescription=function(e){let r;let i=t.parseMLine(e),a=t.matchPrefix(e,"a=max-message-size:");a.length>0&&(r=parseInt(a[0].substring(19),10)),isNaN(r)&&(r=65536);let o=t.matchPrefix(e,"a=sctp-port:");if(o.length>0)return{port:parseInt(o[0].substring(12),10),protocol:i.fmt,maxMessageSize:r};let s=t.matchPrefix(e,"a=sctpmap:");if(s.length>0){let e=s[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:r}}},t.writeSctpDescription=function(e,t){let r=[];return r="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&r.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),r.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(e,r,i){return"v=0\r\no="+(i||"thisisadapterortc")+" "+(e||t.generateSessionId())+" "+(void 0!==r?r:2)+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(e,r){let i=t.splitLines(e);for(let e=0;e{let i=Symbol("SemVer ANY");class a{static get ANY(){return i}constructor(e,t){if(t=o(t),e instanceof a){if(!!t.loose===e.loose)return e;e=e.value}d("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,d("comp",this)}parse(e){let t=this.options.loose?s[l.COMPARATORLOOSE]:s[l.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new p(r[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(d("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new p(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=a;let o=r(19991),{safeRe:s,t:l}=r(71550),u=r(64514),d=r(16509),p=r(77026),f=r(11025)},11025:(e,t,r)=>{class i{constructor(e,t){if(t=o(t),e instanceof i){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new i(e.raw,t)}if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&_(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&v)|(this.options.loose&&b))+":"+e,r=a.get(t);if(r)return r;let i=this.options.loose,o=i?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];l("hyphen replace",e=e.replace(o,P(this.options.includePrerelease))),l("comparator trim",e=e.replace(d[p.COMPARATORTRIM],f)),l("tilde trim",e=e.replace(d[p.TILDETRIM],m)),l("caret trim",e=e.replace(d[p.CARETTRIM],g));let u=e.split(" ").map(e=>k(e,this.options)).join(" ").split(/\s+/).map(e=>O(e,this.options));i&&(u=u.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(d[p.COMPARATORLOOSE])))),l("range list",u);let _=new Map;for(let e of u.map(e=>new s(e,this.options))){if(y(e))return[e];_.set(e.value,e)}_.size>1&&_.has("")&&_.delete("");let w=[..._.values()];return a.set(t,w),w}intersects(e,t){if(!(e instanceof i))throw TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,_=e=>""===e.value,w=(e,t)=>{let r=!0,i=e.slice(),a=i.pop();for(;r&&i.length;)r=i.every(e=>a.intersects(e,t)),a=i.pop();return r},k=(e,t)=>(l("comp",e,t),l("caret",e=C(e,t)),l("tildes",e=E(e,t)),l("xrange",e=D(e,t)),l("stars",e=T(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,E=(e,t)=>e.trim().split(/\s+/).map(e=>F(e,t)).join(" "),F=(e,t)=>{let r=t.loose?d[p.TILDELOOSE]:d[p.TILDE];return e.replace(r,(t,r,i,a,o)=>{let s;return l("tilde",e,t,r,i,a,o),x(r)?s="":x(i)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:x(a)?s=`>=${r}.${i}.0 <${r}.${+i+1}.0-0`:o?(l("replaceTilde pr",o),s=`>=${r}.${i}.${a}-${o} <${r}.${+i+1}.0-0`):s=`>=${r}.${i}.${a} <${r}.${+i+1}.0-0`,l("tilde return",s),s})},C=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{l("caret",e,t);let r=t.loose?d[p.CARETLOOSE]:d[p.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(t,r,a,o,s)=>{let u;return l("caret",e,t,r,a,o,s),x(r)?u="":x(a)?u=`>=${r}.0.0${i} <${+r+1}.0.0-0`:x(o)?u="0"===r?`>=${r}.${a}.0${i} <${r}.${+a+1}.0-0`:`>=${r}.${a}.0${i} <${+r+1}.0.0-0`:s?(l("replaceCaret pr",s),u="0"===r?"0"===a?`>=${r}.${a}.${o}-${s} <${r}.${a}.${+o+1}-0`:`>=${r}.${a}.${o}-${s} <${r}.${+a+1}.0-0`:`>=${r}.${a}.${o}-${s} <${+r+1}.0.0-0`):(l("no pr"),u="0"===r?"0"===a?`>=${r}.${a}.${o}${i} <${r}.${a}.${+o+1}-0`:`>=${r}.${a}.${o}${i} <${r}.${+a+1}.0-0`:`>=${r}.${a}.${o} <${+r+1}.0.0-0`),l("caret return",u),u})},D=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>j(e,t)).join(" ")),j=(e,t)=>{e=e.trim();let r=t.loose?d[p.XRANGELOOSE]:d[p.XRANGE];return e.replace(r,(r,i,a,o,s,u)=>{l("xRange",e,r,i,a,o,s,u);let d=x(a),p=d||x(o),f=p||x(s);return"="===i&&f&&(i=""),u=t.includePrerelease?"-0":"",d?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&f?(p&&(o=0),s=0,">"===i?(i=">=",p?(a=+a+1,o=0):o=+o+1,s=0):"<="===i&&(i="<",p?a=+a+1:o=+o+1),"<"===i&&(u="-0"),r=`${i+a}.${o}.${s}${u}`):p?r=`>=${a}.0.0${u} <${+a+1}.0.0-0`:f&&(r=`>=${a}.${o}.0${u} <${a}.${+o+1}.0-0`),l("xRange return",r),r})},T=(e,t)=>(l("replaceStars",e,t),e.trim().replace(d[p.STAR],"")),O=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),P=e=>(t,r,i,a,o,s,l,u,d,p,f,m)=>(r=x(i)?"":x(a)?`>=${i}.0.0${e?"-0":""}`:x(o)?`>=${i}.${a}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`,u=x(d)?"":x(p)?`<${+d+1}.0.0-0`:x(f)?`<${d}.${+p+1}.0-0`:m?`<=${d}.${p}.${f}-${m}`:e?`<${d}.${p}.${+f+1}-0`:`<=${u}`,`${r} ${u}`.trim()),R=(e,t,r)=>{for(let r=0;r0){let i=e[r].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},77026:(e,t,r)=>{let i=r(16509),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=r(83783),{safeRe:s,t:l}=r(71550),u=r(19991),{compareIdentifiers:d}=r(14960);class p{constructor(e,t){if(t=u(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>a)throw TypeError(`version is longer than ${a} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?s[l.LOOSE]:s[l.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let i=[t,e];!1===r&&(i=[t]),0===d(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=p},24958:(e,t,r)=>{let i=r(80698);e.exports=(e,t)=>{let r=i(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},64514:(e,t,r)=>{let i=r(13811),a=r(61545),o=r(53399),s=r(54480),l=r(88952),u=r(10917);e.exports=(e,t,r,d)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return i(e,r,d);case"!=":return a(e,r,d);case">":return o(e,r,d);case">=":return s(e,r,d);case"<":return l(e,r,d);case"<=":return u(e,r,d);default:throw TypeError(`Invalid operator: ${t}`)}}},45905:(e,t,r)=>{let i=r(77026),a=r(80698),{safeRe:o,t:s}=r(71550);e.exports=(e,t)=>{if(e instanceof i)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let i;let a=t.includePrerelease?o[s.COERCERTLFULL]:o[s.COERCERTL];for(;(i=a.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),a.lastIndex=i.index+i[1].length+i[2].length;a.lastIndex=-1}else r=e.match(t.includePrerelease?o[s.COERCEFULL]:o[s.COERCE]);if(null===r)return null;let l=r[2],u=r[3]||"0",d=r[4]||"0",p=t.includePrerelease&&r[5]?`-${r[5]}`:"",f=t.includePrerelease&&r[6]?`+${r[6]}`:"";return a(`${l}.${u}.${d}${p}${f}`,t)}},92966:(e,t,r)=>{let i=r(77026);e.exports=(e,t,r)=>{let a=new i(e,r),o=new i(t,r);return a.compare(o)||a.compareBuild(o)}},72893:(e,t,r)=>{let i=r(63780);e.exports=(e,t)=>i(e,t,!0)},63780:(e,t,r)=>{let i=r(77026);e.exports=(e,t,r)=>new i(e,r).compare(new i(t,r))},32774:(e,t,r)=>{let i=r(80698);e.exports=(e,t)=>{let r=i(e,null,!0),a=i(t,null,!0),o=r.compare(a);if(0===o)return null;let s=o>0,l=s?r:a,u=s?a:r,d=!!l.prerelease.length;if(u.prerelease.length&&!d)return u.patch||u.minor?l.patch?"patch":l.minor?"minor":"major":"major";let p=d?"pre":"";return r.major!==a.major?p+"major":r.minor!==a.minor?p+"minor":r.patch!==a.patch?p+"patch":"prerelease"}},13811:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>0===i(e,t,r)},53399:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>i(e,t,r)>0},54480:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>i(e,t,r)>=0},79656:(e,t,r)=>{let i=r(77026);e.exports=(e,t,r,a,o)=>{"string"==typeof r&&(o=a,a=r,r=void 0);try{return new i(e instanceof i?e.version:e,r).inc(t,a,o).version}catch(e){return null}}},88952:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>0>i(e,t,r)},10917:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>0>=i(e,t,r)},19397:(e,t,r)=>{let i=r(77026);e.exports=(e,t)=>new i(e,t).major},19489:(e,t,r)=>{let i=r(77026);e.exports=(e,t)=>new i(e,t).minor},61545:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>0!==i(e,t,r)},80698:(e,t,r)=>{let i=r(77026);e.exports=(e,t,r=!1)=>{if(e instanceof i)return e;try{return new i(e,t)}catch(e){if(!r)return null;throw e}}},86427:(e,t,r)=>{let i=r(77026);e.exports=(e,t)=>new i(e,t).patch},53898:(e,t,r)=>{let i=r(80698);e.exports=(e,t)=>{let r=i(e,t);return r&&r.prerelease.length?r.prerelease:null}},20418:(e,t,r)=>{let i=r(63780);e.exports=(e,t,r)=>i(t,e,r)},81247:(e,t,r)=>{let i=r(92966);e.exports=(e,t)=>e.sort((e,r)=>i(r,e,t))},39030:(e,t,r)=>{let i=r(11025);e.exports=(e,t,r)=>{try{t=new i(t,r)}catch(e){return!1}return t.test(e)}},885:(e,t,r)=>{let i=r(92966);e.exports=(e,t)=>e.sort((e,r)=>i(e,r,t))},9491:(e,t,r)=>{let i=r(80698);e.exports=(e,t)=>{let r=i(e,t);return r?r.version:null}},86315:(e,t,r)=>{let i=r(71550),a=r(83783),o=r(77026),s=r(14960),l=r(80698),u=r(9491),d=r(24958),p=r(79656),f=r(32774),m=r(19397),g=r(19489),v=r(86427),b=r(53898),y=r(63780),_=r(20418),w=r(72893),k=r(92966),x=r(885),E=r(81247),F=r(53399),C=r(88952),S=r(13811),D=r(61545),j=r(54480),T=r(10917),O=r(64514),P=r(45905),R=r(70840),M=r(11025),L=r(39030),A=r(35913),I=r(89027),N=r(80478),B=r(83214),U=r(64307),z=r(38916),H=r(20345),q=r(38189),V=r(48077),W=r(45748),$=r(7354);e.exports={parse:l,valid:u,clean:d,inc:p,diff:f,major:m,minor:g,patch:v,prerelease:b,compare:y,rcompare:_,compareLoose:w,compareBuild:k,sort:x,rsort:E,gt:F,lt:C,eq:S,neq:D,gte:j,lte:T,cmp:O,coerce:P,Comparator:R,Range:M,satisfies:L,toComparators:A,maxSatisfying:I,minSatisfying:N,minVersion:B,validRange:U,outside:z,gtr:H,ltr:q,intersects:V,simplifyRange:W,subset:$,SemVer:o,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},83783:e=>{let t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},16509:e=>{let t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},14960:e=>{let t=/^[0-9]+$/,r=(e,r)=>{let i=t.test(e),a=t.test(r);return i&&a&&(e=+e,r=+r),e===r?0:i&&!a?-1:a&&!i?1:er(t,e)}},70441:e=>{class t{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=t},19991:e=>{let t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},71550:(e,t,r)=>{let{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:o}=r(83783),s=r(16509),l=(t=e.exports={}).re=[],u=t.safeRe=[],d=t.src=[],p=t.t={},f=0,m="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",o],[m,a]],v=e=>{for(let[t,r]of g)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},b=(e,t,r)=>{let i=v(t),a=f++;s(e,a,t),p[e]=a,d[a]=t,l[a]=new RegExp(t,r?"g":void 0),u[a]=new RegExp(i,r?"g":void 0)};b("NUMERICIDENTIFIER","0|[1-9]\\d*"),b("NUMERICIDENTIFIERLOOSE","\\d+"),b("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${m}*`),b("MAINVERSION",`(${d[p.NUMERICIDENTIFIER]})\\.(${d[p.NUMERICIDENTIFIER]})\\.(${d[p.NUMERICIDENTIFIER]})`),b("MAINVERSIONLOOSE",`(${d[p.NUMERICIDENTIFIERLOOSE]})\\.(${d[p.NUMERICIDENTIFIERLOOSE]})\\.(${d[p.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASEIDENTIFIER",`(?:${d[p.NUMERICIDENTIFIER]}|${d[p.NONNUMERICIDENTIFIER]})`),b("PRERELEASEIDENTIFIERLOOSE",`(?:${d[p.NUMERICIDENTIFIERLOOSE]}|${d[p.NONNUMERICIDENTIFIER]})`),b("PRERELEASE",`(?:-(${d[p.PRERELEASEIDENTIFIER]}(?:\\.${d[p.PRERELEASEIDENTIFIER]})*))`),b("PRERELEASELOOSE",`(?:-?(${d[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[p.PRERELEASEIDENTIFIERLOOSE]})*))`),b("BUILDIDENTIFIER",`${m}+`),b("BUILD",`(?:\\+(${d[p.BUILDIDENTIFIER]}(?:\\.${d[p.BUILDIDENTIFIER]})*))`),b("FULLPLAIN",`v?${d[p.MAINVERSION]}${d[p.PRERELEASE]}?${d[p.BUILD]}?`),b("FULL",`^${d[p.FULLPLAIN]}$`),b("LOOSEPLAIN",`[v=\\s]*${d[p.MAINVERSIONLOOSE]}${d[p.PRERELEASELOOSE]}?${d[p.BUILD]}?`),b("LOOSE",`^${d[p.LOOSEPLAIN]}$`),b("GTLT","((?:<|>)?=?)"),b("XRANGEIDENTIFIERLOOSE",`${d[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),b("XRANGEIDENTIFIER",`${d[p.NUMERICIDENTIFIER]}|x|X|\\*`),b("XRANGEPLAIN",`[v=\\s]*(${d[p.XRANGEIDENTIFIER]})(?:\\.(${d[p.XRANGEIDENTIFIER]})(?:\\.(${d[p.XRANGEIDENTIFIER]})(?:${d[p.PRERELEASE]})?${d[p.BUILD]}?)?)?`),b("XRANGEPLAINLOOSE",`[v=\\s]*(${d[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[p.XRANGEIDENTIFIERLOOSE]})(?:${d[p.PRERELEASELOOSE]})?${d[p.BUILD]}?)?)?`),b("XRANGE",`^${d[p.GTLT]}\\s*${d[p.XRANGEPLAIN]}$`),b("XRANGELOOSE",`^${d[p.GTLT]}\\s*${d[p.XRANGEPLAINLOOSE]}$`),b("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),b("COERCE",`${d[p.COERCEPLAIN]}(?:$|[^\\d])`),b("COERCEFULL",d[p.COERCEPLAIN]+`(?:${d[p.PRERELEASE]})?`+`(?:${d[p.BUILD]})?`+"(?:$|[^\\d])"),b("COERCERTL",d[p.COERCE],!0),b("COERCERTLFULL",d[p.COERCEFULL],!0),b("LONETILDE","(?:~>?)"),b("TILDETRIM",`(\\s*)${d[p.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",b("TILDE",`^${d[p.LONETILDE]}${d[p.XRANGEPLAIN]}$`),b("TILDELOOSE",`^${d[p.LONETILDE]}${d[p.XRANGEPLAINLOOSE]}$`),b("LONECARET","(?:\\^)"),b("CARETTRIM",`(\\s*)${d[p.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",b("CARET",`^${d[p.LONECARET]}${d[p.XRANGEPLAIN]}$`),b("CARETLOOSE",`^${d[p.LONECARET]}${d[p.XRANGEPLAINLOOSE]}$`),b("COMPARATORLOOSE",`^${d[p.GTLT]}\\s*(${d[p.LOOSEPLAIN]})$|^$`),b("COMPARATOR",`^${d[p.GTLT]}\\s*(${d[p.FULLPLAIN]})$|^$`),b("COMPARATORTRIM",`(\\s*)${d[p.GTLT]}\\s*(${d[p.LOOSEPLAIN]}|${d[p.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",b("HYPHENRANGE",`^\\s*(${d[p.XRANGEPLAIN]})\\s+-\\s+(${d[p.XRANGEPLAIN]})\\s*$`),b("HYPHENRANGELOOSE",`^\\s*(${d[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[p.XRANGEPLAINLOOSE]})\\s*$`),b("STAR","(<|>)?=?\\s*\\*"),b("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),b("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},20345:(e,t,r)=>{let i=r(38916);e.exports=(e,t,r)=>i(e,t,">",r)},48077:(e,t,r)=>{let i=r(11025);e.exports=(e,t,r)=>(e=new i(e,r),t=new i(t,r),e.intersects(t,r))},38189:(e,t,r)=>{let i=r(38916);e.exports=(e,t,r)=>i(e,t,"<",r)},89027:(e,t,r)=>{let i=r(77026),a=r(11025);e.exports=(e,t,r)=>{let o=null,s=null,l=null;try{l=new a(t,r)}catch(e){return null}return e.forEach(e=>{l.test(e)&&(!o||-1===s.compare(e))&&(s=new i(o=e,r))}),o}},80478:(e,t,r)=>{let i=r(77026),a=r(11025);e.exports=(e,t,r)=>{let o=null,s=null,l=null;try{l=new a(t,r)}catch(e){return null}return e.forEach(e=>{l.test(e)&&(!o||1===s.compare(e))&&(s=new i(o=e,r))}),o}},83214:(e,t,r)=>{let i=r(77026),a=r(11025),o=r(53399);e.exports=(e,t)=>{e=new a(e,t);let r=new i("0.0.0");if(e.test(r)||(r=new i("0.0.0-0"),e.test(r)))return r;r=null;for(let t=0;t{let t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!s||o(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),s&&(!r||o(r,s))&&(r=s)}return r&&e.test(r)?r:null}},38916:(e,t,r)=>{let i=r(77026),a=r(70840),{ANY:o}=a,s=r(11025),l=r(39030),u=r(53399),d=r(88952),p=r(10917),f=r(54480);e.exports=(e,t,r,m)=>{let g,v,b,y,_;switch(e=new i(e,m),t=new s(t,m),r){case">":g=u,v=p,b=d,y=">",_=">=";break;case"<":g=d,v=f,b=u,y="<",_="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,m))return!1;for(let r=0;r{e.semver===o&&(e=new a(">=0.0.0")),s=s||e,l=l||e,g(e.semver,s.semver,m)?s=e:b(e.semver,l.semver,m)&&(l=e)}),s.operator===y||s.operator===_||(!l.operator||l.operator===y)&&v(e,l.semver)||l.operator===_&&b(e,l.semver))return!1}return!0}},45748:(e,t,r)=>{let i=r(39030),a=r(63780);e.exports=(e,t,r)=>{let o=[],s=null,l=null,u=e.sort((e,t)=>a(e,t,r));for(let e of u)i(e,t,r)?(l=e,s||(s=e)):(l&&o.push([s,l]),l=null,s=null);s&&o.push([s,null]);let d=[];for(let[e,t]of o)e===t?d.push(e):t||e!==u[0]?t?e===u[0]?d.push(`<=${t}`):d.push(`${e} - ${t}`):d.push(`>=${e}`):d.push("*");let p=d.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return p.length{let i=r(11025),a=r(70840),{ANY:o}=a,s=r(39030),l=r(63780),u=[new a(">=0.0.0-0")],d=[new a(">=0.0.0")],p=(e,t,r)=>{let i,a,p,g,v,b,y;if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?u:d}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=d}let _=new Set;for(let t of e)">"===t.operator||">="===t.operator?i=f(i,t,r):"<"===t.operator||"<="===t.operator?a=m(a,t,r):_.add(t.semver);if(_.size>1||i&&a&&((p=l(i.semver,a.semver,r))>0||0===p&&(">="!==i.operator||"<="!==a.operator)))return null;for(let e of _){if(i&&!s(e,String(i),r)||a&&!s(e,String(a),r))return null;for(let i of t)if(!s(e,String(i),r))return!1;return!0}let w=!!a&&!r.includePrerelease&&!!a.semver.prerelease.length&&a.semver,k=!!i&&!r.includePrerelease&&!!i.semver.prerelease.length&&i.semver;for(let e of(w&&1===w.prerelease.length&&"<"===a.operator&&0===w.prerelease[0]&&(w=!1),t)){if(y=y||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,i){if(k&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===k.major&&e.semver.minor===k.minor&&e.semver.patch===k.patch&&(k=!1),">"===e.operator||">="===e.operator){if((g=f(i,e,r))===e&&g!==i)return!1}else if(">="===i.operator&&!s(i.semver,String(e),r))return!1}if(a){if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),"<"===e.operator||"<="===e.operator){if((v=m(a,e,r))===e&&v!==a)return!1}else if("<="===a.operator&&!s(a.semver,String(e),r))return!1}if(!e.operator&&(a||i)&&0!==p)return!1}return(!i||!b||!!a||0===p)&&(!a||!y||!!i||0===p)&&!k&&!w},f=(e,t,r)=>{if(!e)return t;let i=l(e.semver,t.semver,r);return i>0?e:i<0?t:">"===t.operator&&">="===e.operator?t:e},m=(e,t,r)=>{if(!e)return t;let i=l(e.semver,t.semver,r);return i<0?e:i>0?t:"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new i(e,r),t=new i(t,r);let a=!1;r:for(let i of e.set){for(let e of t.set){let t=p(i,e,r);if(a=a||null!==t,t)continue r}if(a)return!1}return!0}},35913:(e,t,r)=>{let i=r(11025);e.exports=(e,t)=>new i(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},64307:(e,t,r)=>{let i=r(11025);e.exports=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}}},28301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=String.fromCodePoint||function(){var e,t,r=[],i=-1,a=arguments.length;if(!a)return"";for(var o="";++i1114111||Math.floor(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?r.push(s):(s-=65536,e=(s>>10)+55296,t=s%1024+56320,r.push(e,t)),(i+1===a||r.length>16384)&&(o+=String.fromCharCode.apply(null,r),r.length=0)}return o};t.default=r},96510:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uncompress=t.compress=t.buildSearch=void 0;var r={name:"a",unified:"b",non_qualified:"c",has_img_apple:"d",has_img_google:"e",has_img_twitter:"f",has_img_facebook:"h",keywords:"j",sheet:"k",emoticons:"l",text:"m",short_names:"n",added_in:"o"},i=function(e){var t=[],r=function(e,r){e&&(Array.isArray(e)?e:[e]).forEach(function(e){(r?e.split(/[-|_|\s]+/):[e]).forEach(function(e){e=e.toLowerCase(),-1==t.indexOf(e)&&t.push(e)})})};return r(e.short_names,!0),r(e.name,!0),r(e.keywords,!1),r(e.emoticons,!1),t.join(",")};t.buildSearch=i,t.compress=function(e){for(var t in e.short_names=e.short_names.filter(function(t){return t!==e.short_name}),delete e.short_name,e.sheet=[e.sheet_x,e.sheet_y],delete e.sheet_x,delete e.sheet_y,e.added_in=parseInt(e.added_in),6===e.added_in&&delete e.added_in,r)e[r[t]]=e[t],delete e[t];for(var i in e){var a=e[i];Array.isArray(a)&&!a.length?delete e[i]:"string"!=typeof a||a.length?null===a&&delete e[i]:delete e[i]}},t.uncompress=function(e){for(var t in e.compressed=!1,e.emojis){var a=e.emojis[t];for(var o in r)a[o]=a[r[o]],delete a[r[o]];a.short_names||(a.short_names=[]),a.short_names.unshift(t),a.sheet_x=a.sheet[0],a.sheet_y=a.sheet[1],delete a.sheet,a.text||(a.text=""),a.added_in||(a.added_in=6),a.added_in=a.added_in.toFixed(1),a.search=i(a)}}},95242:(e,t,r)=>{"use strict";var i=r(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(r(68326)),o=i(r(42706)),s=r(22070),l=r(96510),u=i(r(10053)),d=function(){function e(t,r){(0,a.default)(this,e),t.compressed&&(0,l.uncompress)(t),this.data=t||{},this.set=r||null,this.originalPool={},this.index={},this.emojis={},this.emoticons={},this.customEmojisList=[],this.buildIndex()}return(0,o.default)(e,[{key:"buildIndex",value:function(){var e=this;for(var t in this.data.emojis)!function(t){var r=e.data.emojis[t],i=r.short_names,a=r.emoticons,o=r.skin_variations,l=i[0];if(a&&a.forEach(function(t){e.emoticons[t]||(e.emoticons[t]=l)}),o){e.emojis[l]={};for(var u=1;u<=6;u++)e.emojis[l][u]=(0,s.getSanitizedData)({id:l,skin:u},u,e.set,e.data)}else e.emojis[l]=(0,s.getSanitizedData)(l,null,e.set,e.data);e.originalPool[l]=r}(t)}},{key:"clearCustomEmojis",value:function(e){var t=this;this.customEmojisList.forEach(function(r){var i=r.id||r.short_names[0];delete e[i],delete t.emojis[i]})}},{key:"addCustomToPool",value:function(e,t){var r=this;this.customEmojisList.length&&this.clearCustomEmojis(t),e.forEach(function(e){var i=e.id||e.short_names[0];i&&!t[i]&&(t[i]=(0,s.getData)(e,null,null,r.data),r.emojis[i]=(0,s.getSanitizedData)(e,null,null,r.data))}),this.customEmojisList=e,this.index={}}},{key:"search",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.emojisToShowFilter,a=r.maxResults,o=r.include,l=r.exclude,d=r.custom,p=void 0===d?[]:d;this.customEmojisList!=p&&this.addCustomToPool(p,this.originalPool);var f=u.default.get("skin")||1;a||(a=75),o||(o=[]),l||(l=[]);var m=null,g=this.originalPool;if(e.length){if("-"==e||"-1"==e)return[this.emojis["-1"][f]];var v=e.toLowerCase().split(/[\s|,|\-|_]+/),b=[];if(v.length>2&&(v=[v[0],v[1]]),(o.length||l.length)&&(g={},this.data.categories.forEach(function(e){var r=!o||!o.length||o.indexOf(e.id)>-1,i=!!l&&!!l.length&&l.indexOf(e.id)>-1;r&&!i&&e.emojis.forEach(function(e){return g[e]=t.data.emojis[e]})}),p.length)){var y=!o||!o.length||o.indexOf("custom")>-1,_=!!l&&!!l.length&&l.indexOf("custom")>-1;y&&!_&&this.addCustomToPool(p,g)}m=(b=v.map(function(e){for(var r=g,i=t.index,a=0,o=0;o1?s.intersect.apply(null,b):b.length?b[0]:[]}return m&&(i&&(m=m.filter(function(e){return i(g[e.id])})),m&&m.length>a&&(m=m.slice(0,a))),m}}]),e}();t.default=d},22070:(e,t,r)=>{"use strict";var i=r(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.getData=f,t.getEmojiDataFromNative=function(e,t,r){r.compressed&&(0,o.uncompress)(r);var i,a,s,l=["1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];for(var u in["\uD83C\uDFFB","\uD83C\uDFFC","\uD83C\uDFFD","\uD83C\uDFFE","\uD83C\uDFFF"].forEach(function(t,r){e.indexOf(t)>0&&(i=r+2,a=l[r])}),r.emojis){var f=r.emojis[u],m=f.unified;f.variations&&f.variations.length&&(m=f.variations.shift()),i&&f.skin_variations&&f.skin_variations[a]&&(m=f.skin_variations[a].unified),d(m)===e&&(s=f)}return s?(s.id=s.short_names[0],p(s,i,t,r)):null},t.getSanitizedData=p,t.uniq=m,t.intersect=function(e,t){var r=m(e),i=m(t);return r.filter(function(e){return i.indexOf(e)>=0})},t.deepMerge=function e(t,r){var i={};for(var o in t){var s=t[o],l=s;r.hasOwnProperty(o)&&(l=r[o]),"object"===(0,a.default)(l)&&(l=e(s,l)),i[o]=l}return i},t.unifiedToNative=d,t.measureScrollbar=function(){if("undefined"==typeof document)return 0;var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},t.throttleIdleTask=function(e){var t="function"==typeof requestIdleCallback?requestIdleCallback:setTimeout,r=!1;return function(){r||(r=!0,t(function(){r=!1,e()}))}};var a=i(r(12054)),o=r(96510),s=i(r(28301)),l=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,u=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];function d(e){var t=e.split("-").map(function(e){return"0x".concat(e)});return s.default.apply(null,t)}function p(){var e,t,r,i,a,o,s,l,u,p,m,g;return e=f.apply(void 0,arguments),t=e.name,r=e.short_names,i=e.skin_tone,a=e.skin_variations,o=e.emoticons,s=e.unified,l=e.custom,u=e.customCategory,p=e.imageUrl,m=e.id||r[0],g=":".concat(m,":"),l?{id:m,name:t,short_names:r,colons:g,emoticons:o,custom:l,customCategory:u,imageUrl:p}:(i&&(g+=":skin-tone-".concat(i,":")),{id:m,name:t,short_names:r,colons:g,emoticons:o,unified:s.toLowerCase(),skin:i||(a?1:null),native:d(s)})}function f(e,t,r,i){var a={};if("string"==typeof e){var s=e.match(l);if(s&&(e=s[1],s[2]&&(t=parseInt(s[2],10))),i.aliases.hasOwnProperty(e)&&(e=i.aliases[e]),!i.emojis.hasOwnProperty(e))return null;a=i.emojis[e]}else e.id&&(i.aliases.hasOwnProperty(e.id)&&(e.id=i.aliases[e.id]),i.emojis.hasOwnProperty(e.id)&&(a=i.emojis[e.id],t||(t=e.skin)));if(Object.keys(a).length||((a=e).custom=!0,a.search||(a.search=(0,o.buildSearch)(e))),a.emoticons||(a.emoticons=[]),a.variations||(a.variations=[]),a.skin_variations&&t>1){a=JSON.parse(JSON.stringify(a));var d=u[t-1],p=a.skin_variations[d];if(p&&(!p.variations&&a.variations&&delete a.variations,r&&(void 0==p["has_img_".concat(r)]||p["has_img_".concat(r)])||!r))for(var f in a.skin_tone=t,p){var m=p[f];a[f]=m}}return a.variations&&a.variations.length&&((a=JSON.parse(JSON.stringify(a))).unified=a.variations.shift()),a}function m(e){return e.reduce(function(e,t){return -1===e.indexOf(t)&&e.push(t),e},[])}},10053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,a="emoji-mart",o="undefined"!=typeof window&&"localStorage"in window;function s(e,t){if(i)i(e,t);else{if(!o)return;try{window.localStorage["".concat(a,".").concat(e)]=JSON.stringify(t)}catch(e){}}}t.default={update:function(e){for(var t in e){var r=e[t];s(t,r)}},set:s,get:function(e){if(r)return r(e);if(o)try{var t=window.localStorage["".concat(a,".").concat(e)];if(t)return JSON.parse(t)}catch(e){return}},setNamespace:function(e){a=e},setHandlers:function(e){e||(e={}),r=e.getter,i=e.setter}}},84058:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal");/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r,i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=(Symbol.for("react.server_context"),Symbol.for("react.forward_ref")),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");r=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===o||e===a||e===d||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===r||void 0!==e.getModuleId)}},97456:(e,t,r)=>{"use strict";e.exports=r(84058)},9247:(e,t,r)=>{"use strict";e.exports=r(72654)},72654:(e,t,r)=>{"use strict";let i=r(62414);i.createWebSocketStream=r(88365),i.Server=r(86425),i.Receiver=r(40037),i.Sender=r(24207),e.exports=i},80121:(e,t,r)=>{"use strict";let{EMPTY_BUFFER:i}=r(96414);function a(e,t){if(0===e.length)return i;if(1===e.length)return e[0];let r=Buffer.allocUnsafe(t),a=0;for(let t=0;t{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},55832:e=>{"use strict";class t{constructor(e,t){this.target=t,this.type=e}}class r extends t{constructor(e,t){super("message",t),this.data=e}}class i extends t{constructor(e,t,r){super("close",r),this.wasClean=r._closeFrameReceived&&r._closeFrameSent,this.reason=t,this.code=e}}class a extends t{constructor(e){super("open",e)}}class o extends t{constructor(e,t){super("error",t),this.message=e.message,this.error=e}}e.exports={addEventListener(e,t,s){if("function"!=typeof t)return;function l(e){t.call(this,new r(e,this))}function u(e,r){t.call(this,new i(e,r,this))}function d(e){t.call(this,new o(e,this))}function p(){t.call(this,new a(this))}let f=s&&s.once?"once":"on";"message"===e?(l._listener=t,this[f](e,l)):"close"===e?(u._listener=t,this[f](e,u)):"error"===e?(d._listener=t,this[f](e,d)):"open"===e?(p._listener=t,this[f](e,p)):this[f](e,t)},removeEventListener(e,t){let r=this.listeners(e);for(let i=0;i{"use strict";let t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function r(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.exports={format:function(e){return Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>[t].concat(Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let i,a;let o=Object.create(null);if(void 0===e||""===e)return o;let s=Object.create(null),l=!1,u=!1,d=!1,p=-1,f=-1,m=0;for(;m{"use strict";let t=Symbol("kDone"),r=Symbol("kRun");class i{constructor(e){this[t]=()=>{this.pending--,this[r]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[r]()}[r](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[t])}}}e.exports=i},86721:(e,t,r)=>{"use strict";let i;let a=r(59796),o=r(80121),s=r(72320),{kStatusCode:l,NOOP:u}=r(96414),d=Buffer.from([0,0,255,255]),p=Symbol("permessage-deflate"),f=Symbol("total-length"),m=Symbol("callback"),g=Symbol("buffers"),v=Symbol("error");class b{constructor(e,t,r){this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,i||(i=new s(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[m];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,r=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!r)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:(!0===r.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete r.client_max_window_bits,r}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let r=e[t];if(r.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==r)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=r})}),e}decompress(e,t,r){i.add(i=>{this._decompress(e,t,(e,t)=>{i(),r(e,t)})})}compress(e,t,r){i.add(i=>{this._compress(e,t,(e,t)=>{i(),r(e,t)})})}_decompress(e,t,r){let i=this._isServer?"client":"server";if(!this._inflate){let e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=a.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[p]=this,this._inflate[f]=0,this._inflate[g]=[],this._inflate.on("error",w),this._inflate.on("data",_)}this._inflate[m]=r,this._inflate.write(e),t&&this._inflate.write(d),this._inflate.flush(()=>{let e=this._inflate[v];if(e){this._inflate.close(),this._inflate=null,r(e);return}let a=o.concat(this._inflate[g],this._inflate[f]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[f]=0,this._inflate[g]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),r(null,a)})}_compress(e,t,r){let i=this._isServer?"server":"client";if(!this._deflate){let e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=a.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[f]=0,this._deflate[g]=[],this._deflate.on("error",u),this._deflate.on("data",y)}this._deflate[m]=r,this._deflate.write(e),this._deflate.flush(a.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=o.concat(this._deflate[g],this._deflate[f]);t&&(e=e.slice(0,e.length-4)),this._deflate[m]=null,this._deflate[f]=0,this._deflate[g]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),r(null,e)})}}function y(e){this[g].push(e),this[f]+=e.length}function _(e){if(this[f]+=e.length,this[p]._maxPayload<1||this[f]<=this[p]._maxPayload){this[g].push(e);return}this[v]=RangeError("Max payload size exceeded"),this[v].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[v][l]=1009,this.removeListener("data",_),this.reset()}function w(e){this[p]._inflate=null,e[l]=1007,this[m](e)}e.exports=b},40037:(e,t,r)=>{"use strict";let{Writable:i}=r(12781),a=r(86721),{BINARY_TYPES:o,EMPTY_BUFFER:s,kStatusCode:l,kWebSocket:u}=r(96414),{concat:d,toArrayBuffer:p,unmask:f}=r(80121),{isValidStatusCode:m,isValidUTF8:g}=r(42063);class v extends i{constructor(e,t,r,i){super(),this._binaryType=e||o[0],this[u]=void 0,this._extensions=t||{},this._isServer=!!r,this._maxPayload=0|i,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e=r.length?t.set(this._buffers.shift(),i):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),i),this._buffers[0]=r.slice(e)),e-=r.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:this._loop=!1;return}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=!1;return}let e=this.consume(2);if((48&e[0])!=0)return this._loop=!1,b(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");let t=(64&e[0])==64;if(t&&!this._extensions[a.extensionName])return this._loop=!1,b(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=(128&e[0])==128,this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,b(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,b(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,b(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7)||!(this._opcode<11))return this._loop=!1,b(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,b(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,b(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,b(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&e[1])==128,this._isServer){if(!this._masked)return this._loop=!1,b(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,b(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=!1;return}return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=!1;return}let e=this.consume(8),t=e.readUInt32BE(0);return t>2097151?(this._loop=!1,b(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=4294967296*t+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,b(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=s;if(this._payloadLength){if(this._bufferedBytes7)return this.controlMessage(t);if(this._compressed){this._state=5,this.decompress(t,e);return}return t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage()}decompress(e,t){this._extensions[a.extensionName].decompress(e,this._fin,(e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(b(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}let i=this.dataMessage();if(i)return t(i);this.startLoop(t)})}dataMessage(){if(this._fin){let e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?d(t,e):"arraybuffer"===this._binaryType?p(d(t,e)):t,this.emit("message",r)}else{let r=d(t,e);if(!g(r))return this._loop=!1,b(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",r.toString())}}this._state=0}controlMessage(e){if(8===this._opcode){if(this._loop=!1,0===e.length)this.emit("conclude",1005,""),this.end();else{if(1===e.length)return b(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");let t=e.readUInt16BE(0);if(!m(t))return b(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");let r=e.slice(2);if(!g(r))return b(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,r.toString()),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}function b(e,t,r,i,a){let o=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,b),o.code=a,o[l]=i,o}e.exports=v},24207:(e,t,r)=>{"use strict";r(41808),r(24404);let{randomFillSync:i}=r(6113),a=r(86721),{EMPTY_BUFFER:o}=r(96414),{isValidStatusCode:s}=r(42063),{mask:l,toBuffer:u}=r(80121),d=Buffer.alloc(4);class p{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){let r=t.mask&&t.readOnly,a=t.mask?6:2,o=e.length;e.length>=65536?(a+=8,o=127):e.length>125&&(a+=2,o=126);let s=Buffer.allocUnsafe(r?e.length+a:a);return(s[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(s[0]|=64),s[1]=o,126===o?s.writeUInt16BE(e.length,2):127===o&&(s.writeUInt32BE(0,2),s.writeUInt32BE(e.length,6)),t.mask)?(i(d,0,4),s[1]|=128,s[a-4]=d[0],s[a-3]=d[1],s[a-2]=d[2],s[a-1]=d[3],r)?(l(e,d,s,a,e.length),[s]):(l(e,d,e,0,e.length),[s,e]):[s,e]}close(e,t,r,i){let a;if(void 0===e)a=o;else if("number"==typeof e&&s(e)){if(void 0===t||""===t)(a=Buffer.allocUnsafe(2)).writeUInt16BE(e,0);else{let r=Buffer.byteLength(t);if(r>123)throw RangeError("The message must not be greater than 123 bytes");(a=Buffer.allocUnsafe(2+r)).writeUInt16BE(e,0),a.write(t,2)}}else throw TypeError("First argument must be a valid error code number");this._deflating?this.enqueue([this.doClose,a,r,i]):this.doClose(a,r,i)}doClose(e,t,r){this.sendFrame(p.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),r)}ping(e,t,r){let i=u(e);if(i.length>125)throw RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,i,t,u.readOnly,r]):this.doPing(i,t,u.readOnly,r)}doPing(e,t,r,i){this.sendFrame(p.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:r}),i)}pong(e,t,r){let i=u(e);if(i.length>125)throw RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,i,t,u.readOnly,r]):this.doPong(i,t,u.readOnly,r)}doPong(e,t,r,i){this.sendFrame(p.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:r}),i)}send(e,t,r){let i=u(e),o=this._extensions[a.extensionName],s=t.binary?2:1,l=t.compress;if(this._firstFragment?(this._firstFragment=!1,l&&o&&(l=i.length>=o._threshold),this._compress=l):(l=!1,s=0),t.fin&&(this._firstFragment=!0),o){let e={fin:t.fin,rsv1:l,opcode:s,mask:t.mask,readOnly:u.readOnly};this._deflating?this.enqueue([this.dispatch,i,this._compress,e,r]):this.dispatch(i,this._compress,e,r)}else this.sendFrame(p.frame(i,{fin:t.fin,rsv1:!1,opcode:s,mask:t.mask,readOnly:u.readOnly}),r)}dispatch(e,t,r,i){if(!t){this.sendFrame(p.frame(e,r),i);return}let o=this._extensions[a.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,o.compress(e,r.fin,(t,a)=>{if(this._socket.destroyed){let e=Error("The socket was closed while data was being compressed");"function"==typeof i&&i(e);for(let t=0;t{"use strict";let{Duplex:i}=r(12781);function a(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function s(e){this.removeListener("error",s),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let r=!0,l=!0;function u(){r&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",u)}):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",u));let d=new i({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t){d.push(t)||(r=!1,e._socket.pause())}),e.once("error",function(e){d.destroyed||(l=!1,d.destroy(e))}),e.once("close",function(){d.destroyed||d.push(null)}),d._destroy=function(t,r){if(e.readyState===e.CLOSED){r(t),process.nextTick(a,d);return}let i=!1;e.once("error",function(e){i=!0,r(e)}),e.once("close",function(){i||r(t),process.nextTick(a,d)}),l&&e.terminate()},d._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function(){d._final(t)});return}null!==e._socket&&(e._socket._writableState.finished?(t(),d._readableState.endEmitted&&d.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},d._read=function(){e.readyState!==e.OPEN&&e.readyState!==e.CLOSING||r||(r=!0,e._receiver._writableState.needDrain||e._socket.resume())},d._write=function(t,r,i){if(e.readyState===e.CONNECTING){e.once("open",function(){d._write(t,r,i)});return}e.send(t,i)},d.on("end",o),d.on("error",s),d}},42063:(e,t,r)=>{"use strict";function i(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function a(e){let t=e.length,r=0;for(;r=t||(192&e[r+1])!=128||(192&e[r+2])!=128||224===e[r]&&(224&e[r+1])==128||237===e[r]&&(224&e[r+1])==160)return!1;r+=3}else{if((248&e[r])!=240||r+3>=t||(192&e[r+1])!=128||(192&e[r+2])!=128||(192&e[r+3])!=128||240===e[r]&&(240&e[r+1])==128||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}try{let t=r(77640);"object"==typeof t&&(t=t.Validation.isValidUTF8),e.exports={isValidStatusCode:i,isValidUTF8:e=>e.length<150?a(e):t(e)}}catch(t){e.exports={isValidStatusCode:i,isValidUTF8:a}}},86425:(e,t,r)=>{"use strict";let i=r(82361),a=r(13685);r(95687),r(41808),r(24404);let{createHash:o}=r(6113),s=r(86721),l=r(62414),{format:u,parse:d}=r(28460),{GUID:p,kWebSocket:f}=r(96414),m=/^[+/0-9A-Za-z]{22}==$/;class g extends i{constructor(e,t){if(super(),null==(e={maxPayload:104857600,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=a.createServer((e,t)=>{let r=a.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){let e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(let r of Object.keys(t))e.on(r,t[r]);return function(){for(let r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,i)=>{this.handleUpgrade(t,r,i,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set),this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(e&&this.once("close",e),2===this._state){process.nextTick(v,this);return}if(1===this._state)return;if(this._state=1,this.clients)for(let e of this.clients)e.terminate();let t=this._server;if(t&&(this._removeListeners(),this._removeListeners=this._server=null,null!=this.options.port)){t.close(v.bind(void 0,this));return}process.nextTick(v,this)}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,i){t.on("error",b);let a=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"].trim(),o=e.headers.upgrade,l=+e.headers["sec-websocket-version"],u={};if("GET"!==e.method||void 0===o||"websocket"!==o.toLowerCase()||!a||!m.test(a)||8!==l&&13!==l||!this.shouldHandle(e))return y(t,400);if(this.options.perMessageDeflate){let r=new s(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let t=d(e.headers["sec-websocket-extensions"]);t[s.extensionName]&&(r.accept(t[s.extensionName]),u[s.extensionName]=r)}catch(e){return y(t,400)}}if(this.options.verifyClient){let o={origin:e.headers[`${8===l?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length){this.options.verifyClient(o,(o,s,l,d)=>{if(!o)return y(t,s||401,l,d);this.completeUpgrade(a,u,e,t,r,i)});return}if(!this.options.verifyClient(o))return y(t,401)}this.completeUpgrade(a,u,e,t,r,i)}completeUpgrade(e,t,r,i,a,d){if(!i.readable||!i.writable)return i.destroy();if(i[f])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return y(i,503);let m=o("sha1").update(e+p).digest("base64"),g=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${m}`],v=new l(null),w=r.headers["sec-websocket-protocol"];if(w&&(w=w.split(",").map(_),(w=this.options.handleProtocols?this.options.handleProtocols(w,r):w[0])&&(g.push(`Sec-WebSocket-Protocol: ${w}`),v._protocol=w)),t[s.extensionName]){let e=t[s.extensionName].params,r=u({[s.extensionName]:[e]});g.push(`Sec-WebSocket-Extensions: ${r}`),v._extensions=t}this.emit("headers",g,r),i.write(g.concat("\r\n").join("\r\n")),i.removeListener("error",b),v.setSocket(i,a,this.options.maxPayload),this.clients&&(this.clients.add(v),v.on("close",()=>this.clients.delete(v))),d(v,r)}}function v(e){e._state=2,e.emit("close")}function b(){this.destroy()}function y(e,t,r,i){e.writable&&(r=r||a.STATUS_CODES[t],i={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...i},e.write(`HTTP/1.1 ${t} ${a.STATUS_CODES[t]}\r +`+Object.keys(i).map(e=>`${e}: ${i[e]}`).join("\r\n")+"\r\n\r\n"+r)),e.removeListener("error",b),e.destroy()}function _(e){return e.trim()}e.exports=g},62414:(e,t,r)=>{"use strict";let i=r(82361),a=r(95687),o=r(13685),s=r(41808),l=r(24404),{randomBytes:u,createHash:d}=r(6113),{Readable:p}=r(12781),{URL:f}=r(57310),m=r(86721),g=r(40037),v=r(24207),{BINARY_TYPES:b,EMPTY_BUFFER:y,GUID:_,kStatusCode:w,kWebSocket:k,NOOP:x}=r(96414),{addEventListener:E,removeEventListener:F}=r(55832),{format:C,parse:S}=r(28460),{toBuffer:D}=r(80121),j=["CONNECTING","OPEN","CLOSING","CLOSED"],T=[8,13];class O extends i{constructor(e,t,r){super(),this._binaryType=b[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=O.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(t)?t=t.join(", "):"object"==typeof t&&null!==t&&(r=t,t=void 0),function e(t,r,i,s){let l,p;let g={protocolVersion:T[1],maxPayload:104857600,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!T.includes(g.protocolVersion))throw RangeError(`Unsupported protocol version: ${g.protocolVersion} (supported versions: ${T.join(", ")})`);r instanceof f?(l=r,t._url=r.href):(l=new f(r),t._url=r);let v="ws+unix:"===l.protocol;if(!l.host&&(!v||!l.pathname)){let e=Error(`Invalid URL: ${t.url}`);if(0===t._redirects)throw e;P(t,e);return}let b="wss:"===l.protocol||"https:"===l.protocol,y=b?443:80,w=u(16).toString("base64"),k=b?a.get:o.get;if(g.createConnection=b?M:R,g.defaultPort=g.defaultPort||y,g.port=l.port||y,g.host=l.hostname.startsWith("[")?l.hostname.slice(1,-1):l.hostname,g.headers={"Sec-WebSocket-Version":g.protocolVersion,"Sec-WebSocket-Key":w,Connection:"Upgrade",Upgrade:"websocket",...g.headers},g.path=l.pathname+l.search,g.timeout=g.handshakeTimeout,g.perMessageDeflate&&(p=new m(!0!==g.perMessageDeflate?g.perMessageDeflate:{},!1,g.maxPayload),g.headers["Sec-WebSocket-Extensions"]=C({[m.extensionName]:p.offer()})),i&&(g.headers["Sec-WebSocket-Protocol"]=i),g.origin&&(g.protocolVersion<13?g.headers["Sec-WebSocket-Origin"]=g.origin:g.headers.Origin=g.origin),(l.username||l.password)&&(g.auth=`${l.username}:${l.password}`),v){let e=g.path.split(":");g.socketPath=e[0],g.path=e[1]}if(g.followRedirects){if(0===t._redirects){t._originalUnixSocket=v,t._originalSecure=b,t._originalHostOrSocketPath=v?g.socketPath:l.host;let e=s&&s.headers;if(s={...s,headers:{}},e)for(let[t,r]of Object.entries(e))s.headers[t.toLowerCase()]=r}else{let e=v?!!t._originalUnixSocket&&g.socketPath===t._originalHostOrSocketPath:!t._originalUnixSocket&&l.host===t._originalHostOrSocketPath;e&&(!t._originalSecure||b)||(delete g.headers.authorization,delete g.headers.cookie,e||delete g.headers.host,g.auth=void 0)}g.auth&&!s.headers.authorization&&(s.headers.authorization="Basic "+Buffer.from(g.auth).toString("base64"))}let x=t._req=k(g);g.timeout&&x.on("timeout",()=>{L(t,x,"Opening handshake has timed out")}),x.on("error",e=>{null===x||x.aborted||(x=t._req=null,P(t,e))}),x.on("response",a=>{let o=a.headers.location,l=a.statusCode;if(o&&g.followRedirects&&l>=300&&l<400){let a;if(++t._redirects>g.maxRedirects){L(t,x,"Maximum redirects exceeded");return}x.abort();try{a=new f(o,r)}catch(e){P(t,e);return}e(t,a,i,s)}else t.emit("unexpected-response",x,a)||L(t,x,`Unexpected server response: ${a.statusCode}`)}),x.on("upgrade",(e,r,a)=>{let o;if(t.emit("upgrade",e),t.readyState!==O.CONNECTING)return;x=t._req=null;let s=e.headers.upgrade;if(void 0===s||"websocket"!==s.toLowerCase()){L(t,r,"Invalid Upgrade header");return}let l=d("sha1").update(w+_).digest("base64");if(e.headers["sec-websocket-accept"]!==l){L(t,r,"Invalid Sec-WebSocket-Accept header");return}let u=e.headers["sec-websocket-protocol"],f=(i||"").split(/, */);if(!i&&u?o="Server sent a subprotocol but none was requested":i&&!u?o="Server sent no subprotocol":u&&!f.includes(u)&&(o="Server sent an invalid subprotocol"),o){L(t,r,o);return}u&&(t._protocol=u);let v=e.headers["sec-websocket-extensions"];if(void 0!==v){let e;if(!p){L(t,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}try{e=S(v)}catch(e){L(t,r,"Invalid Sec-WebSocket-Extensions header");return}let i=Object.keys(e);if(i.length){if(1!==i.length||i[0]!==m.extensionName){L(t,r,"Server indicated an extension that was not requested");return}try{p.accept(e[m.extensionName])}catch(e){L(t,r,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[m.extensionName]=p}}t.setSocket(r,a,g.maxPayload)})}(this,e,t,r)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){b.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){}set onclose(e){}get onerror(){}set onerror(e){}get onopen(){}set onopen(e){}get onmessage(){}set onmessage(e){}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){let i=new g(this.binaryType,this._extensions,this._isServer,r);this._sender=new v(e,this._extensions),this._receiver=i,this._socket=e,i[k]=this,e[k]=this,i.on("conclude",I),i.on("drain",N),i.on("error",B),i.on("message",z),i.on("ping",H),i.on("pong",q),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",W),e.on("data",$),e.on("end",G),e.on("error",Y),this._readyState=O.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=O.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[m.extensionName]&&this._extensions[m.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=O.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==O.CLOSED){if(this.readyState===O.CONNECTING)return L(this,this._req,"WebSocket was closed before the connection was established");if(this.readyState===O.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=O.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)}}ping(e,t,r){if(this.readyState===O.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==O.OPEN){A(this,e,r);return}void 0===t&&(t=!this._isServer),this._sender.ping(e||y,t,r)}pong(e,t,r){if(this.readyState===O.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==O.OPEN){A(this,e,r);return}void 0===t&&(t=!this._isServer),this._sender.pong(e||y,t,r)}send(e,t,r){if(this.readyState===O.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==O.OPEN){A(this,e,r);return}let i={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[m.extensionName]||(i.compress=!1),this._sender.send(e||y,i,r)}terminate(){if(this.readyState!==O.CLOSED){if(this.readyState===O.CONNECTING)return L(this,this._req,"WebSocket was closed before the connection was established");this._socket&&(this._readyState=O.CLOSING,this._socket.destroy())}}}function P(e,t){e._readyState=O.CLOSING,e.emit("error",t),e.emitClose()}function R(e){return e.path=e.socketPath,s.connect(e)}function M(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=s.isIP(e.host)?"":e.host),l.connect(e)}function L(e,t,r){e._readyState=O.CLOSING;let i=Error(r);Error.captureStackTrace(i,L),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",i)):(t.destroy(i),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function A(e,t,r){if(t){let r=D(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}r&&r(Error(`WebSocket is not open: readyState ${e.readyState} (${j[e.readyState]})`))}function I(e,t){let r=this[k];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[k]&&(r._socket.removeListener("data",$),process.nextTick(V,r._socket),1005===e?r.close():r.close(e,t))}function N(){this[k]._socket.resume()}function B(e){let t=this[k];void 0!==t._socket[k]&&(t._socket.removeListener("data",$),process.nextTick(V,t._socket),t.close(e[w])),t.emit("error",e)}function U(){this[k].emitClose()}function z(e){this[k].emit("message",e)}function H(e){let t=this[k];t.pong(e,!t._isServer,x),t.emit("ping",e)}function q(e){this[k].emit("pong",e)}function V(e){e.resume()}function W(){let e;let t=this[k];this.removeListener("close",W),this.removeListener("data",$),this.removeListener("end",G),t._readyState=O.CLOSING,this._readableState.endEmitted||t._closeFrameReceived||t._receiver._writableState.errorEmitted||null===(e=t._socket.read())||t._receiver.write(e),t._receiver.end(),this[k]=void 0,clearTimeout(t._closeTimer),t._receiver._writableState.finished||t._receiver._writableState.errorEmitted?t.emitClose():(t._receiver.on("error",U),t._receiver.on("finish",U))}function $(e){this[k]._receiver.write(e)||this.pause()}function G(){let e=this[k];e._readyState=O.CLOSING,e._receiver.end(),this.end()}function Y(){let e=this[k];this.removeListener("error",Y),this.on("error",x),e&&(e._readyState=O.CLOSING,this.destroy())}Object.defineProperty(O,"CONNECTING",{enumerable:!0,value:j.indexOf("CONNECTING")}),Object.defineProperty(O.prototype,"CONNECTING",{enumerable:!0,value:j.indexOf("CONNECTING")}),Object.defineProperty(O,"OPEN",{enumerable:!0,value:j.indexOf("OPEN")}),Object.defineProperty(O.prototype,"OPEN",{enumerable:!0,value:j.indexOf("OPEN")}),Object.defineProperty(O,"CLOSING",{enumerable:!0,value:j.indexOf("CLOSING")}),Object.defineProperty(O.prototype,"CLOSING",{enumerable:!0,value:j.indexOf("CLOSING")}),Object.defineProperty(O,"CLOSED",{enumerable:!0,value:j.indexOf("CLOSED")}),Object.defineProperty(O.prototype,"CLOSED",{enumerable:!0,value:j.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(e=>{Object.defineProperty(O.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(O.prototype,`on${e}`,{enumerable:!0,get(){let t=this.listeners(e);for(let e=0;e{var i=r(6007);function a(e,t){var r,a,o,s=null;if(!e||"string"!=typeof e)return s;for(var l=i(e),u="function"==typeof t,d=0,p=l.length;d{!function(){var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],r="undefined"!=typeof window,i=r&&null!=window.mozInnerScreenX;function a(e,a,o){if(!r)throw Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var s=o&&o.debug||!1;if(s){var l=document.querySelector("#input-textarea-caret-position-mirror-div");l&&l.parentNode.removeChild(l)}var u=document.createElement("div");u.id="input-textarea-caret-position-mirror-div",document.body.appendChild(u);var d=u.style,p=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,f="INPUT"===e.nodeName;d.whiteSpace="pre-wrap",f||(d.wordWrap="break-word"),d.position="absolute",s||(d.visibility="hidden"),t.forEach(function(e){f&&"lineHeight"===e?d.lineHeight=p.height:d[e]=p[e]}),i?e.scrollHeight>parseInt(p.height)&&(d.overflowY="scroll"):d.overflow="hidden",u.textContent=e.value.substring(0,a),f&&(u.textContent=u.textContent.replace(/\s/g,"\xa0"));var m=document.createElement("span");m.textContent=e.value.substring(a)||".",u.appendChild(m);var g={top:m.offsetTop+parseInt(p.borderTopWidth),left:m.offsetLeft+parseInt(p.borderLeftWidth),height:parseInt(p.lineHeight)};return s?m.style.backgroundColor="#aaa":document.body.removeChild(u),g}void 0!==e.exports?e.exports=a:r&&(window.getCaretCoordinates=a)}()},53557:function(e,t,r){var i;!function(a,o){"use strict";var s="function",l="undefined",u="object",d="string",p="major",f="model",m="name",g="type",v="vendor",b="version",y="architecture",_="console",w="mobile",k="tablet",x="smarttv",E="wearable",F="embedded",C="Amazon",S="Apple",D="ASUS",j="BlackBerry",T="Browser",O="Chrome",P="Firefox",R="Google",M="Huawei",L="Microsoft",A="Motorola",I="Opera",N="Samsung",B="Sharp",U="Sony",z="Xiaomi",H="Zebra",q="Facebook",V="Chromium OS",W="Mac OS",$=function(e,t){var r={};for(var i in e)t[i]&&t[i].length%2==0?r[i]=t[i].concat(e[i]):r[i]=e[i];return r},G=function(e){for(var t={},r=0;r0?2===l.length?typeof l[1]==s?this[l[0]]=l[1].call(this,p):this[l[0]]=l[1]:3===l.length?typeof l[1]!==s||l[1].exec&&l[1].test?this[l[0]]=p?p.replace(l[1],l[2]):void 0:this[l[0]]=p?l[1].call(this,p,l[2]):void 0:4===l.length&&(this[l[0]]=p?l[3].call(this,p.replace(l[1],l[2])):void 0):this[l]=p||o;f+=2}},X=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var i=0;i2&&(e[f]="iPad",e[g]=k),e},this.getEngine=function(){var e={};return e[m]=o,e[b]=o,J.call(e,i,x.engine),e},this.getOS=function(){var e={};return e[m]=o,e[b]=o,J.call(e,i,x.os),E&&!e[m]&&_&&_.platform&&"Unknown"!=_.platform&&(e[m]=_.platform.replace(/chrome os/i,V).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===d&&e.length>500?Z(e,500):e,this},this.setUA(i),this};et.VERSION="1.0.38",et.BROWSER=G([m,b,p]),et.CPU=G([y]),et.DEVICE=G([f,v,g,_,w,x,k,E,F]),et.ENGINE=et.OS=G([m,b]),typeof t!==l?(e.exports&&(t=e.exports=et),t.UAParser=et):r.amdO?o!==(i=(function(){return et}).call(t,r,t,e))&&(e.exports=i):typeof a!==l&&(a.UAParser=et);var en=typeof a!==l&&(a.jQuery||a.Zepto);if(en&&!en.ua){var er=new et;en.ua=er.getResult(),en.ua.get=function(){return er.getUA()},en.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)en.ua[r]=t[r]}}}("object"==typeof window?window:this)},13154:(e,t,r)=>{"use strict";let i=r(46342);i.createWebSocketStream=r(42504),i.Server=r(30359),i.Receiver=r(83958),i.Sender=r(74036),i.WebSocket=i,i.WebSocketServer=i.Server,e.exports=i},17878:(e,t,r)=>{"use strict";let{EMPTY_BUFFER:i}=r(39353),a=Buffer[Symbol.species];function o(e,t,r,i,a){for(let o=0;o{"use strict";let t=["nodebuffer","arraybuffer","fragments"],r="undefined"!=typeof Blob;r&&t.push("blob"),e.exports={BINARY_TYPES:t,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:r,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},91368:(e,t,r)=>{"use strict";let{kForOnEventAttribute:i,kListener:a}=r(39353),o=Symbol("kCode"),s=Symbol("kData"),l=Symbol("kError"),u=Symbol("kMessage"),d=Symbol("kReason"),p=Symbol("kTarget"),f=Symbol("kType"),m=Symbol("kWasClean");class g{constructor(e){this[p]=null,this[f]=e}get target(){return this[p]}get type(){return this[f]}}Object.defineProperty(g.prototype,"target",{enumerable:!0}),Object.defineProperty(g.prototype,"type",{enumerable:!0});class v extends g{constructor(e,t={}){super(e),this[o]=void 0===t.code?0:t.code,this[d]=void 0===t.reason?"":t.reason,this[m]=void 0!==t.wasClean&&t.wasClean}get code(){return this[o]}get reason(){return this[d]}get wasClean(){return this[m]}}Object.defineProperty(v.prototype,"code",{enumerable:!0}),Object.defineProperty(v.prototype,"reason",{enumerable:!0}),Object.defineProperty(v.prototype,"wasClean",{enumerable:!0});class b extends g{constructor(e,t={}){super(e),this[l]=void 0===t.error?null:t.error,this[u]=void 0===t.message?"":t.message}get error(){return this[l]}get message(){return this[u]}}Object.defineProperty(b.prototype,"error",{enumerable:!0}),Object.defineProperty(b.prototype,"message",{enumerable:!0});class y extends g{constructor(e,t={}){super(e),this[s]=void 0===t.data?null:t.data}get data(){return this[s]}}function _(e,t,r){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,r):e.call(t,r)}Object.defineProperty(y.prototype,"data",{enumerable:!0}),e.exports={CloseEvent:v,ErrorEvent:b,Event:g,EventTarget:{addEventListener(e,t,r={}){let o;for(let o of this.listeners(e))if(!r[i]&&o[a]===t&&!o[i])return;if("message"===e)o=function(e,r){let i=new y("message",{data:r?e:e.toString()});i[p]=this,_(t,this,i)};else if("close"===e)o=function(e,r){let i=new v("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});i[p]=this,_(t,this,i)};else if("error"===e)o=function(e){let r=new b("error",{error:e,message:e.message});r[p]=this,_(t,this,r)};else{if("open"!==e)return;o=function(){let e=new g("open");e[p]=this,_(t,this,e)}}o[i]=!!r[i],o[a]=t,r.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(let r of this.listeners(e))if(r[a]===t&&!r[i]){this.removeListener(e,r);break}}},MessageEvent:y}},49964:(e,t,r)=>{"use strict";let{tokenChars:i}=r(94568);function a(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.exports={format:function(e){return Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>[t].concat(Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let t,r;let o=Object.create(null),s=Object.create(null),l=!1,u=!1,d=!1,p=-1,f=-1,m=-1,g=0;for(;g{"use strict";let t=Symbol("kDone"),r=Symbol("kRun");class i{constructor(e){this[t]=()=>{this.pending--,this[r]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[r]()}[r](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[t])}}}e.exports=i},97959:(e,t,r)=>{"use strict";let i;let a=r(59796),o=r(17878),s=r(25936),{kStatusCode:l}=r(39353),u=Buffer[Symbol.species],d=Buffer.from([0,0,255,255]),p=Symbol("permessage-deflate"),f=Symbol("total-length"),m=Symbol("callback"),g=Symbol("buffers"),v=Symbol("error");class b{constructor(e,t,r){this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,i||(i=new s(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[m];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,r=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!r)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:(!0===r.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete r.client_max_window_bits,r}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let r=e[t];if(r.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==r)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=r})}),e}decompress(e,t,r){i.add(i=>{this._decompress(e,t,(e,t)=>{i(),r(e,t)})})}compress(e,t,r){i.add(i=>{this._compress(e,t,(e,t)=>{i(),r(e,t)})})}_decompress(e,t,r){let i=this._isServer?"client":"server";if(!this._inflate){let e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=a.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[p]=this,this._inflate[f]=0,this._inflate[g]=[],this._inflate.on("error",w),this._inflate.on("data",_)}this._inflate[m]=r,this._inflate.write(e),t&&this._inflate.write(d),this._inflate.flush(()=>{let e=this._inflate[v];if(e){this._inflate.close(),this._inflate=null,r(e);return}let a=o.concat(this._inflate[g],this._inflate[f]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[f]=0,this._inflate[g]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),r(null,a)})}_compress(e,t,r){let i=this._isServer?"server":"client";if(!this._deflate){let e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=a.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[f]=0,this._deflate[g]=[],this._deflate.on("data",y)}this._deflate[m]=r,this._deflate.write(e),this._deflate.flush(a.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=o.concat(this._deflate[g],this._deflate[f]);t&&(e=new u(e.buffer,e.byteOffset,e.length-4)),this._deflate[m]=null,this._deflate[f]=0,this._deflate[g]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),r(null,e)})}}function y(e){this[g].push(e),this[f]+=e.length}function _(e){if(this[f]+=e.length,this[p]._maxPayload<1||this[f]<=this[p]._maxPayload){this[g].push(e);return}this[v]=RangeError("Max payload size exceeded"),this[v].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[v][l]=1009,this.removeListener("data",_),this.reset()}function w(e){this[p]._inflate=null,e[l]=1007,this[m](e)}e.exports=b},83958:(e,t,r)=>{"use strict";let{Writable:i}=r(12781),a=r(97959),{BINARY_TYPES:o,EMPTY_BUFFER:s,kStatusCode:l,kWebSocket:u}=r(39353),{concat:d,toArrayBuffer:p,unmask:f}=r(17878),{isValidStatusCode:m,isValidUTF8:g}=r(94568),v=Buffer[Symbol.species];class b extends i{constructor(e={}){super(),this._allowSynchronousEvents=void 0===e.allowSynchronousEvents||e.allowSynchronousEvents,this._binaryType=e.binaryType||o[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[u]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e=r.length?t.set(this._buffers.shift(),i):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),i),this._buffers[0]=new v(r.buffer,r.byteOffset+e,r.length-e)),e-=r.length}while(e>0);return t}startLoop(e){this._loop=!0;do switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:this._loop=!1;return}while(this._loop);this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((48&t[0])!=0){e(this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3"));return}let r=(64&t[0])==64;if(r&&!this._extensions[a.extensionName]){e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));return}if(this._fin=(128&t[0])==128,this._opcode=15&t[0],this._payloadLength=127&t[1],0===this._opcode){if(r){e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));return}if(!this._fragmented){e(this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE"));return}this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented){e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));return}this._compressed=r}else if(this._opcode>7&&this._opcode<11){if(!this._fin){e(this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN"));return}if(r){e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));return}if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength){e(this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH"));return}}else{e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));return}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&t[1])==128,this._isServer){if(!this._masked){e(this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK"));return}}else if(this._masked){e(this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK"));return}126===this._payloadLength?this._state=1:127===this._payloadLength?this._state=2:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),r=t.readUInt32BE(0);if(r>2097151){e(this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH"));return}this._payloadLength=4294967296*r+t.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){e(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));return}this._masked?this._state=3:this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=s;if(this._payloadLength){if(this._bufferedBytes7){this.controlMessage(t,e);return}if(this._compressed){this._state=5,this.decompress(t,e);return}t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage(e)}decompress(e,t){this._extensions[a.extensionName].decompress(e,this._fin,(e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0){t(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));return}this._fragments.push(r)}this.dataMessage(t),0===this._state&&this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=0;return}let t=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let i;i="nodebuffer"===this._binaryType?d(r,t):"arraybuffer"===this._binaryType?p(d(r,t)):"blob"===this._binaryType?new Blob(r):r,this._allowSynchronousEvents?(this.emit("message",i,!0),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",i,!0),this._state=0,this.startLoop(e)}))}else{let i=d(r,t);if(!this._skipUTF8Validation&&!g(i)){e(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));return}5===this._state||this._allowSynchronousEvents?(this.emit("message",i,!1),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",i,!1),this._state=0,this.startLoop(e)}))}}controlMessage(e,t){if(8===this._opcode){if(0===e.length)this._loop=!1,this.emit("conclude",1005,s),this.end();else{let r=e.readUInt16BE(0);if(!m(r)){t(this.createError(RangeError,`invalid status code ${r}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE"));return}let i=new v(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!g(i)){t(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));return}this._loop=!1,this.emit("conclude",r,i),this.end()}this._state=0;return}this._allowSynchronousEvents?(this.emit(9===this._opcode?"ping":"pong",e),this._state=0):(this._state=6,setImmediate(()=>{this.emit(9===this._opcode?"ping":"pong",e),this._state=0,this.startLoop(t)}))}createError(e,t,r,i,a){this._loop=!1,this._errored=!0;let o=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=a,o[l]=i,o}}e.exports=b},74036:(e,t,r)=>{"use strict";let i;let{Duplex:a}=r(12781),{randomFillSync:o}=r(6113),s=r(97959),{EMPTY_BUFFER:l,kWebSocket:u,NOOP:d}=r(39353),{isBlob:p,isValidStatusCode:f}=r(94568),{mask:m,toBuffer:g}=r(17878),v=Symbol("kByteLength"),b=Buffer.alloc(4),y=8192;class _{constructor(e,t,r){this._extensions=t||{},r&&(this._generateMask=r,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=0,this.onerror=d,this[u]=void 0}static frame(e,t){let r,a;let s=!1,l=2,u=!1;t.mask&&(r=t.maskBuffer||b,t.generateMask?t.generateMask(r):(8192===y&&(void 0===i&&(i=Buffer.alloc(8192)),o(i,0,8192),y=0),r[0]=i[y++],r[1]=i[y++],r[2]=i[y++],r[3]=i[y++]),u=(r[0]|r[1]|r[2]|r[3])==0,l=6),"string"==typeof e?a=(!t.mask||u)&&void 0!==t[v]?t[v]:(e=Buffer.from(e)).length:(a=e.length,s=t.mask&&t.readOnly&&!u);let d=a;a>=65536?(l+=8,d=127):a>125&&(l+=2,d=126);let p=Buffer.allocUnsafe(s?a+l:l);return(p[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(p[0]|=64),p[1]=d,126===d?p.writeUInt16BE(a,2):127===d&&(p[2]=p[3]=0,p.writeUIntBE(a,4,6)),t.mask)?(p[1]|=128,p[l-4]=r[0],p[l-3]=r[1],p[l-2]=r[2],p[l-1]=r[3],u)?[p,e]:s?(m(e,r,p,l,a),[p]):(m(e,r,e,0,a),[p,e]):[p,e]}close(e,t,r,i){let a;if(void 0===e)a=l;else if("number"==typeof e&&f(e)){if(void 0!==t&&t.length){let r=Buffer.byteLength(t);if(r>123)throw RangeError("The message must not be greater than 123 bytes");(a=Buffer.allocUnsafe(2+r)).writeUInt16BE(e,0),"string"==typeof t?a.write(t,2):a.set(t,2)}else(a=Buffer.allocUnsafe(2)).writeUInt16BE(e,0)}else throw TypeError("First argument must be a valid error code number");let o={[v]:a.length,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};0!==this._state?this.enqueue([this.dispatch,a,!1,o,i]):this.sendFrame(_.frame(a,o),i)}ping(e,t,r){let i,a;if("string"==typeof e?(i=Buffer.byteLength(e),a=!1):p(e)?(i=e.size,a=!1):(i=(e=g(e)).length,a=g.readOnly),i>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[v]:i,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:a,rsv1:!1};p(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,r]):this.getBlobData(e,!1,o,r):0!==this._state?this.enqueue([this.dispatch,e,!1,o,r]):this.sendFrame(_.frame(e,o),r)}pong(e,t,r){let i,a;if("string"==typeof e?(i=Buffer.byteLength(e),a=!1):p(e)?(i=e.size,a=!1):(i=(e=g(e)).length,a=g.readOnly),i>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[v]:i,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:a,rsv1:!1};p(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,r]):this.getBlobData(e,!1,o,r):0!==this._state?this.enqueue([this.dispatch,e,!1,o,r]):this.sendFrame(_.frame(e,o),r)}send(e,t,r){let i,a;let o=this._extensions[s.extensionName],l=t.binary?2:1,u=t.compress;"string"==typeof e?(i=Buffer.byteLength(e),a=!1):p(e)?(i=e.size,a=!1):(i=(e=g(e)).length,a=g.readOnly),this._firstFragment?(this._firstFragment=!1,u&&o&&o.params[o._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(u=i>=o._threshold),this._compress=u):(u=!1,l=0),t.fin&&(this._firstFragment=!0);let d={[v]:i,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:l,readOnly:a,rsv1:u};p(e)?0!==this._state?this.enqueue([this.getBlobData,e,this._compress,d,r]):this.getBlobData(e,this._compress,d,r):0!==this._state?this.enqueue([this.dispatch,e,this._compress,d,r]):this.dispatch(e,this._compress,d,r)}getBlobData(e,t,r,i){this._bufferedBytes+=r[v],this._state=2,e.arrayBuffer().then(e=>{if(this._socket.destroyed){let e=Error("The socket was closed while the blob was being read");process.nextTick(w,this,e,i);return}this._bufferedBytes-=r[v];let a=g(e);t?this.dispatch(a,t,r,i):(this._state=0,this.sendFrame(_.frame(a,r),i),this.dequeue())}).catch(e=>{process.nextTick(k,this,e,i)})}dispatch(e,t,r,i){if(!t){this.sendFrame(_.frame(e,r),i);return}let a=this._extensions[s.extensionName];this._bufferedBytes+=r[v],this._state=1,a.compress(e,r.fin,(e,t)=>{if(this._socket.destroyed){w(this,Error("The socket was closed while data was being compressed"),i);return}this._bufferedBytes-=r[v],this._state=0,r.readOnly=!1,this.sendFrame(_.frame(t,r),i),this.dequeue()})}dequeue(){for(;0===this._state&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][v],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][v],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}function w(e,t,r){"function"==typeof r&&r(t);for(let r=0;r{"use strict";let{Duplex:i}=r(12781);function a(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function s(e){this.removeListener("error",s),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let r=!0,l=new i({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t,r){let i=!r&&l._readableState.objectMode?t.toString():t;l.push(i)||e.pause()}),e.once("error",function(e){l.destroyed||(r=!1,l.destroy(e))}),e.once("close",function(){l.destroyed||l.push(null)}),l._destroy=function(t,i){if(e.readyState===e.CLOSED){i(t),process.nextTick(a,l);return}let o=!1;e.once("error",function(e){o=!0,i(e)}),e.once("close",function(){o||i(t),process.nextTick(a,l)}),r&&e.terminate()},l._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function(){l._final(t)});return}null!==e._socket&&(e._socket._writableState.finished?(t(),l._readableState.endEmitted&&l.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},l._read=function(){e.isPaused&&e.resume()},l._write=function(t,r,i){if(e.readyState===e.CONNECTING){e.once("open",function(){l._write(t,r,i)});return}e.send(t,i)},l.on("end",o),l.on("error",s),l}},62444:(e,t,r)=>{"use strict";let{tokenChars:i}=r(94568);e.exports={parse:function(e){let t=new Set,r=-1,a=-1,o=0;for(;o{"use strict";let{isUtf8:i}=r(14300),{hasBlob:a}=r(39353);function o(e){let t=e.length,r=0;for(;r=t||(192&e[r+1])!=128||(192&e[r+2])!=128||224===e[r]&&(224&e[r+1])==128||237===e[r]&&(224&e[r+1])==160)return!1;r+=3}else{if((248&e[r])!=240||r+3>=t||(192&e[r+1])!=128||(192&e[r+2])!=128||(192&e[r+3])!=128||240===e[r]&&(240&e[r+1])==128||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}if(e.exports={isBlob:function(e){return a&&"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&("Blob"===e[Symbol.toStringTag]||"File"===e[Symbol.toStringTag])},isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:o,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},i)e.exports.isValidUTF8=function(e){return e.length<24?o(e):i(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let t=r(93739);e.exports.isValidUTF8=function(e){return e.length<32?o(e):t(e)}}catch(e){}},30359:(e,t,r)=>{"use strict";let i=r(82361),a=r(13685),{Duplex:o}=r(12781),{createHash:s}=r(6113),l=r(49964),u=r(97959),d=r(62444),p=r(46342),{GUID:f,kWebSocket:m}=r(39353),g=/^[+/0-9A-Za-z]{22}==$/;class v extends i{constructor(e,t){if(super(),null==(e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:p,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=a.createServer((e,t)=>{let r=a.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){let e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(let r of Object.keys(t))e.on(r,t[r]);return function(){for(let r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,i)=>{this.handleUpgrade(t,r,i,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state){e&&this.once("close",()=>{e(Error("The server is not running"))}),process.nextTick(b,this);return}if(e&&this.once("close",e),1!==this._state){if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(b,this);else{let e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close(()=>{b(this)})}}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,i){t.on("error",y);let a=e.headers["sec-websocket-key"],o=e.headers.upgrade,s=+e.headers["sec-websocket-version"];if("GET"!==e.method){w(this,e,t,405,"Invalid HTTP method");return}if(void 0===o||"websocket"!==o.toLowerCase()){w(this,e,t,400,"Invalid Upgrade header");return}if(void 0===a||!g.test(a)){w(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");return}if(8!==s&&13!==s){w(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header");return}if(!this.shouldHandle(e)){_(t,400);return}let p=e.headers["sec-websocket-protocol"],f=new Set;if(void 0!==p)try{f=d.parse(p)}catch(r){w(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let m=e.headers["sec-websocket-extensions"],v={};if(this.options.perMessageDeflate&&void 0!==m){let r=new u(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let e=l.parse(m);e[u.extensionName]&&(r.accept(e[u.extensionName]),v[u.extensionName]=r)}catch(r){w(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let o={origin:e.headers[`${8===s?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length){this.options.verifyClient(o,(o,s,l,u)=>{if(!o)return _(t,s||401,l,u);this.completeUpgrade(v,a,f,e,t,r,i)});return}if(!this.options.verifyClient(o))return _(t,401)}this.completeUpgrade(v,a,f,e,t,r,i)}completeUpgrade(e,t,r,i,a,o,d){if(!a.readable||!a.writable)return a.destroy();if(a[m])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return _(a,503);let p=s("sha1").update(t+f).digest("base64"),g=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${p}`],v=new this.options.WebSocket(null,void 0,this.options);if(r.size){let e=this.options.handleProtocols?this.options.handleProtocols(r,i):r.values().next().value;e&&(g.push(`Sec-WebSocket-Protocol: ${e}`),v._protocol=e)}if(e[u.extensionName]){let t=e[u.extensionName].params,r=l.format({[u.extensionName]:[t]});g.push(`Sec-WebSocket-Extensions: ${r}`),v._extensions=e}this.emit("headers",g,i),a.write(g.concat("\r\n").join("\r\n")),a.removeListener("error",y),v.setSocket(a,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(v),v.on("close",()=>{this.clients.delete(v),this._shouldEmitClose&&!this.clients.size&&process.nextTick(b,this)})),d(v,i)}}function b(e){e._state=2,e.emit("close")}function y(){this.destroy()}function _(e,t,r,i){r=r||a.STATUS_CODES[t],i={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...i},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${a.STATUS_CODES[t]}\r +`+Object.keys(i).map(e=>`${e}: ${i[e]}`).join("\r\n")+"\r\n\r\n"+r)}function w(e,t,r,i,a){if(e.listenerCount("wsClientError")){let i=Error(a);Error.captureStackTrace(i,w),e.emit("wsClientError",i,r,t)}else _(r,i,a)}e.exports=v},46342:(e,t,r)=>{"use strict";let i=r(82361),a=r(95687),o=r(13685),s=r(41808),l=r(24404),{randomBytes:u,createHash:d}=r(6113),{Duplex:p,Readable:f}=r(12781),{URL:m}=r(57310),g=r(97959),v=r(83958),b=r(74036),{isBlob:y}=r(94568),{BINARY_TYPES:_,EMPTY_BUFFER:w,GUID:k,kForOnEventAttribute:x,kListener:E,kStatusCode:F,kWebSocket:C,NOOP:S}=r(39353),{EventTarget:{addEventListener:D,removeEventListener:j}}=r(91368),{format:T,parse:O}=r(49964),{toBuffer:P}=r(17878),R=Symbol("kAborted"),M=[8,13],L=["CONNECTING","OPEN","CLOSING","CLOSED"],A=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class I extends i{constructor(e,t,r){super(),this._binaryType=_[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=w,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=I.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),function e(t,r,i,s){let l,p,f,v;let b={allowSynchronousEvents:!0,autoPong:!0,protocolVersion:M[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(t._autoPong=b.autoPong,!M.includes(b.protocolVersion))throw RangeError(`Unsupported protocol version: ${b.protocolVersion} (supported versions: ${M.join(", ")})`);if(r instanceof m)l=r;else try{l=new m(r)}catch(e){throw SyntaxError(`Invalid URL: ${r}`)}"http:"===l.protocol?l.protocol="ws:":"https:"===l.protocol&&(l.protocol="wss:"),t._url=l.href;let y="wss:"===l.protocol,_="ws+unix:"===l.protocol;if("ws:"===l.protocol||y||_?_&&!l.pathname?p="The URL's pathname is empty":l.hash&&(p="The URL contains a fragment identifier"):p='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https", or "ws+unix:"',p){let e=SyntaxError(p);if(0===t._redirects)throw e;N(t,e);return}let w=y?443:80,x=u(16).toString("base64"),E=y?a.request:o.request,F=new Set;if(b.createConnection=b.createConnection||(y?U:B),b.defaultPort=b.defaultPort||w,b.port=l.port||w,b.host=l.hostname.startsWith("[")?l.hostname.slice(1,-1):l.hostname,b.headers={...b.headers,"Sec-WebSocket-Version":b.protocolVersion,"Sec-WebSocket-Key":x,Connection:"Upgrade",Upgrade:"websocket"},b.path=l.pathname+l.search,b.timeout=b.handshakeTimeout,b.perMessageDeflate&&(f=new g(!0!==b.perMessageDeflate?b.perMessageDeflate:{},!1,b.maxPayload),b.headers["Sec-WebSocket-Extensions"]=T({[g.extensionName]:f.offer()})),i.length){for(let e of i){if("string"!=typeof e||!A.test(e)||F.has(e))throw SyntaxError("An invalid or duplicated subprotocol was specified");F.add(e)}b.headers["Sec-WebSocket-Protocol"]=i.join(",")}if(b.origin&&(b.protocolVersion<13?b.headers["Sec-WebSocket-Origin"]=b.origin:b.headers.Origin=b.origin),(l.username||l.password)&&(b.auth=`${l.username}:${l.password}`),_){let e=b.path.split(":");b.socketPath=e[0],b.path=e[1]}if(b.followRedirects){if(0===t._redirects){t._originalIpc=_,t._originalSecure=y,t._originalHostOrSocketPath=_?b.socketPath:l.host;let e=s&&s.headers;if(s={...s,headers:{}},e)for(let[t,r]of Object.entries(e))s.headers[t.toLowerCase()]=r}else if(0===t.listenerCount("redirect")){let e=_?!!t._originalIpc&&b.socketPath===t._originalHostOrSocketPath:!t._originalIpc&&l.host===t._originalHostOrSocketPath;e&&(!t._originalSecure||y)||(delete b.headers.authorization,delete b.headers.cookie,e||delete b.headers.host,b.auth=void 0)}b.auth&&!s.headers.authorization&&(s.headers.authorization="Basic "+Buffer.from(b.auth).toString("base64")),v=t._req=E(b),t._redirects&&t.emit("redirect",t.url,v)}else v=t._req=E(b);b.timeout&&v.on("timeout",()=>{z(t,v,"Opening handshake has timed out")}),v.on("error",e=>{null===v||v[R]||(v=t._req=null,N(t,e))}),v.on("response",a=>{let o=a.headers.location,l=a.statusCode;if(o&&b.followRedirects&&l>=300&&l<400){let a;if(++t._redirects>b.maxRedirects){z(t,v,"Maximum redirects exceeded");return}v.abort();try{a=new m(o,r)}catch(e){N(t,SyntaxError(`Invalid URL: ${o}`));return}e(t,a,i,s)}else t.emit("unexpected-response",v,a)||z(t,v,`Unexpected server response: ${a.statusCode}`)}),v.on("upgrade",(e,r,i)=>{let a;if(t.emit("upgrade",e),t.readyState!==I.CONNECTING)return;v=t._req=null;let o=e.headers.upgrade;if(void 0===o||"websocket"!==o.toLowerCase()){z(t,r,"Invalid Upgrade header");return}let s=d("sha1").update(x+k).digest("base64");if(e.headers["sec-websocket-accept"]!==s){z(t,r,"Invalid Sec-WebSocket-Accept header");return}let l=e.headers["sec-websocket-protocol"];if(void 0!==l?F.size?F.has(l)||(a="Server sent an invalid subprotocol"):a="Server sent a subprotocol but none was requested":F.size&&(a="Server sent no subprotocol"),a){z(t,r,a);return}l&&(t._protocol=l);let u=e.headers["sec-websocket-extensions"];if(void 0!==u){let e;if(!f){z(t,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}try{e=O(u)}catch(e){z(t,r,"Invalid Sec-WebSocket-Extensions header");return}let i=Object.keys(e);if(1!==i.length||i[0]!==g.extensionName){z(t,r,"Server indicated an extension that was not requested");return}try{f.accept(e[g.extensionName])}catch(e){z(t,r,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[g.extensionName]=f}t.setSocket(r,i,{allowSynchronousEvents:b.allowSynchronousEvents,generateMask:b.generateMask,maxPayload:b.maxPayload,skipUTF8Validation:b.skipUTF8Validation})}),b.finishRequest?b.finishRequest(v,t):v.end()}(this,e,t,r)):(this._autoPong=r.autoPong,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){_.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){let i=new v({allowSynchronousEvents:r.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation}),a=new b(e,this._extensions,r.generateMask);this._receiver=i,this._sender=a,this._socket=e,i[C]=this,a[C]=this,e[C]=this,i.on("conclude",q),i.on("drain",V),i.on("error",W),i.on("message",G),i.on("ping",Y),i.on("pong",K),a.onerror=J,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",Q),e.on("data",ee),e.on("end",et),e.on("error",en),this._readyState=I.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=I.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[g.extensionName]&&this._extensions[g.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=I.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==I.CLOSED){if(this.readyState===I.CONNECTING){z(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===I.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=I.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),X(this)}}pause(){this.readyState!==I.CONNECTING&&this.readyState!==I.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,r){if(this.readyState===I.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN){H(this,e,r);return}void 0===t&&(t=!this._isServer),this._sender.ping(e||w,t,r)}pong(e,t,r){if(this.readyState===I.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN){H(this,e,r);return}void 0===t&&(t=!this._isServer),this._sender.pong(e||w,t,r)}resume(){this.readyState!==I.CONNECTING&&this.readyState!==I.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,r){if(this.readyState===I.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN){H(this,e,r);return}let i={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[g.extensionName]||(i.compress=!1),this._sender.send(e||w,i,r)}terminate(){if(this.readyState!==I.CLOSED){if(this.readyState===I.CONNECTING){z(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=I.CLOSING,this._socket.destroy())}}}function N(e,t){e._readyState=I.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function B(e){return e.path=e.socketPath,s.connect(e)}function U(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=s.isIP(e.host)?"":e.host),l.connect(e)}function z(e,t,r){e._readyState=I.CLOSING;let i=Error(r);Error.captureStackTrace(i,z),t.setHeader?(t[R]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(N,e,i)):(t.destroy(i),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function H(e,t,r){if(t){let r=y(t)?t.size:P(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}if(r){let t=Error(`WebSocket is not open: readyState ${e.readyState} (${L[e.readyState]})`);process.nextTick(r,t)}}function q(e,t){let r=this[C];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[C]&&(r._socket.removeListener("data",ee),process.nextTick(Z,r._socket),1005===e?r.close():r.close(e,t))}function V(){let e=this[C];e.isPaused||e._socket.resume()}function W(e){let t=this[C];void 0!==t._socket[C]&&(t._socket.removeListener("data",ee),process.nextTick(Z,t._socket),t.close(e[F])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function $(){this[C].emitClose()}function G(e,t){this[C].emit("message",e,t)}function Y(e){let t=this[C];t._autoPong&&t.pong(e,!this._isServer,S),t.emit("ping",e)}function K(e){this[C].emit("pong",e)}function Z(e){e.resume()}function J(e){let t=this[C];t.readyState===I.CLOSED||(t.readyState===I.OPEN&&(t._readyState=I.CLOSING,X(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function X(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),3e4)}function Q(){let e;let t=this[C];this.removeListener("close",Q),this.removeListener("data",ee),this.removeListener("end",et),t._readyState=I.CLOSING,this._readableState.endEmitted||t._closeFrameReceived||t._receiver._writableState.errorEmitted||null===(e=t._socket.read())||t._receiver.write(e),t._receiver.end(),this[C]=void 0,clearTimeout(t._closeTimer),t._receiver._writableState.finished||t._receiver._writableState.errorEmitted?t.emitClose():(t._receiver.on("error",$),t._receiver.on("finish",$))}function ee(e){this[C]._receiver.write(e)||this.pause()}function et(){let e=this[C];e._readyState=I.CLOSING,e._receiver.end(),this.end()}function en(){let e=this[C];this.removeListener("error",en),this.on("error",S),e&&(e._readyState=I.CLOSING,this.destroy())}Object.defineProperty(I,"CONNECTING",{enumerable:!0,value:L.indexOf("CONNECTING")}),Object.defineProperty(I.prototype,"CONNECTING",{enumerable:!0,value:L.indexOf("CONNECTING")}),Object.defineProperty(I,"OPEN",{enumerable:!0,value:L.indexOf("OPEN")}),Object.defineProperty(I.prototype,"OPEN",{enumerable:!0,value:L.indexOf("OPEN")}),Object.defineProperty(I,"CLOSING",{enumerable:!0,value:L.indexOf("CLOSING")}),Object.defineProperty(I.prototype,"CLOSING",{enumerable:!0,value:L.indexOf("CLOSING")}),Object.defineProperty(I,"CLOSED",{enumerable:!0,value:L.indexOf("CLOSED")}),Object.defineProperty(I.prototype,"CLOSED",{enumerable:!0,value:L.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(I.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(I.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[x])return t[E];return null},set(t){for(let t of this.listeners(e))if(t[x]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[x]:!0})}})}),I.prototype.addEventListener=D,I.prototype.removeEventListener=j,e.exports=I},11506:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o,metadata:()=>a});var i=r(19510);r(67272);let a={title:"UnBabelerChat web app",description:"Created and powered by logoi.ai"};function o({children:e}){return i.jsx("html",{lang:"en",children:i.jsx("body",{children:i.jsx("main",{className:"min-h-screen flex flex-col items-center",children:e})})})}},71852:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g,dynamic:()=>m});var i=r(19510),a=r(68570);let o=(0,a.createProxy)(String.raw`/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/components/UnBabelerChat.tsx`),{__esModule:s,$$typeof:l}=o;o.default;let u=(0,a.createProxy)(String.raw`/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/components/UnBabelerChat.tsx#default`);var d=r(20344),p=r(71615),f=r(57371);let m="force-dynamic";async function g(){let e=(0,d.createServerComponentClient)({cookies:p.cookies}),{data:{user:t}}=await e.auth.getUser();return(0,i.jsxs)("div",{className:"w-full h-screen flex flex-col items-center px-8 pt-8 custom",children:[!t&&i.jsx("nav",{className:"w-full flex justify-center border-b border-b-foreground/10 h-16",children:i.jsx("div",{className:"w-full max-w-4xl flex justify-end items-center p-3 text-sm text-foreground",children:i.jsx("div",{children:i.jsx(f.default,{href:"/login",className:"py-2 px-4 rounded-md no-underline bg-btn-background hover:bg-btn-background-hover",children:"Login"})})})}),t&&i.jsx(u,{user:t})]})}},57481:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var i=r(66621);let a=e=>[{type:"image/x-icon",sizes:"16x16",url:(0,i.fillMetadataSegment)(".",e.params,"favicon.ico")+""}]},67272:()=>{},15044:()=>{},6698:()=>{},86418:()=>{},4798:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},4450:(e,t,r)=>{var i=r(4798);e.exports=function(e){if(Array.isArray(e))return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},33002:e=>{e.exports=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},50231:e=>{function t(e,t,r,i,a,o,s){try{var l=e[o](s),u=l.value}catch(e){return void r(e)}l.done?t(u):Promise.resolve(u).then(i,a)}e.exports=function(e){return function(){var r=this,i=arguments;return new Promise(function(a,o){var s=e.apply(r,i);function l(e){t(s,a,o,l,u,"next",e)}function u(e){t(s,a,o,l,u,"throw",e)}l(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},68326:e=>{e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},62519:(e,t,r)=>{var i=r(41584),a=r(86896);e.exports=function(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var s=new(e.bind.apply(e,o));return r&&a(s,r.prototype),s},e.exports.__esModule=!0,e.exports.default=e.exports},42706:(e,t,r)=>{var i=r(61518);function a(e,t){for(var r=0;r{var i=r(61518);e.exports=function(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},65684:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},59356:(e,t,r)=>{var i=r(86896);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},39618:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},23642:e=>{e.exports=function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},41584:e=>{function t(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e.exports=t=function(){return!!r},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},96372:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},98562:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,a,o,s,l=[],u=!0,d=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(i=o.call(r)).done)&&(l.push(i.value),l.length!==t);u=!0);}catch(e){d=!0,a=e}finally{try{if(!u&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(d)throw a}}return l}},e.exports.__esModule=!0,e.exports.default=e.exports},77427:e=>{e.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},72048:e=>{e.exports=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},2718:(e,t,r)=>{var i=r(62081);e.exports=function(e,t){if(null==e)return{};var r,a,o=i(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a{e.exports=function(e,t){if(null==e)return{};var r={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;r[i]=e[i]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},83041:(e,t,r)=>{var i=r(12054).default,a=r(33002);e.exports=function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},72354:(e,t,r)=>{var i=r(12054).default;function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=a=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},o=Object.prototype,s=o.hasOwnProperty,l=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},d=u.iterator||"@@iterator",p=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function m(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{m({},"")}catch(e){m=function(e,t,r){return e[t]=r}}function g(e,r,i,a){var o,s,u=Object.create((r&&r.prototype instanceof k?r:k).prototype);return l(u,"_invoke",{value:(o=new R(a||[]),s=b,function(r,a){if(s===y)throw Error("Generator is already running");if(s===_){if("throw"===r)throw a;return{value:t,done:!0}}for(o.method=r,o.arg=a;;){var l=o.delegate;if(l){var u=function e(r,i){var a=i.method,o=r.iterator[a];if(o===t)return i.delegate=null,"throw"===a&&r.iterator.return&&(i.method="return",i.arg=t,e(r,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=TypeError("The iterator does not provide a '"+a+"' method")),w;var s=v(o,r.iterator,i.arg);if("throw"===s.type)return i.method="throw",i.arg=s.arg,i.delegate=null,w;var l=s.arg;return l?l.done?(i[r.resultName]=l.value,i.next=r.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,w):l:(i.method="throw",i.arg=TypeError("iterator result is not an object"),i.delegate=null,w)}(l,o);if(u){if(u===w)continue;return u}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(s===b)throw s=_,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);s=y;var d=v(e,i,o);if("normal"===d.type){if(s=o.done?_:"suspendedYield",d.arg===w)continue;return{value:d.arg,done:o.done}}"throw"===d.type&&(s=_,o.method="throw",o.arg=d.arg)}})}),u}function v(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=g;var b="suspendedStart",y="executing",_="completed",w={};function k(){}function x(){}function E(){}var F={};m(F,d,function(){return this});var C=Object.getPrototypeOf,S=C&&C(C(M([])));S&&S!==o&&s.call(S,d)&&(F=S);var D=E.prototype=k.prototype=Object.create(F);function j(e){["next","throw","return"].forEach(function(t){m(e,t,function(e){return this._invoke(t,e)})})}function T(e,t){var r;l(this,"_invoke",{value:function(a,o){function l(){return new t(function(r,l){!function r(a,o,l,u){var d=v(e[a],e,o);if("throw"!==d.type){var p=d.arg,f=p.value;return f&&"object"==i(f)&&s.call(f,"__await")?t.resolve(f.__await).then(function(e){r("next",e,l,u)},function(e){r("throw",e,l,u)}):t.resolve(f).then(function(e){p.value=e,l(p)},function(e){return r("throw",e,l,u)})}u(d.arg)}(a,o,r,l)})}return r=r?r.then(l,l):l()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[d];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=s.call(o,"catchLoc"),d=s.call(o,"finallyLoc");if(u&&d){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&s.call(i,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var i=r.completion;if("throw"===i.type){var a=i.arg;P(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,i){return this.delegate={iterator:M(e),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=t),w}},r}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},86896:e=>{function t(r,i){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,i)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},35895:(e,t,r)=>{var i=r(31439),a=r(98562),o=r(81287),s=r(77427);e.exports=function(e,t){return i(e)||a(e,t)||o(e,t)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},84653:(e,t,r)=>{var i=r(4450),a=r(96372),o=r(81287),s=r(72048);e.exports=function(e){return i(e)||a(e)||o(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},31961:(e,t,r)=>{var i=r(12054).default;e.exports=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},61518:(e,t,r)=>{var i=r(12054).default,a=r(31961);e.exports=function(e){var t=a(e,"string");return"symbol"==i(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},12054:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},81287:(e,t,r)=>{var i=r(4798);e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},71799:(e,t,r)=>{var i=r(89899),a=r(86896),o=r(23642),s=r(62519);function l(t){var r="function"==typeof Map?new Map:void 0;return e.exports=l=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return s(e,arguments,i(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,l(t)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},16477:(e,t,r)=>{var i=r(72354)();e.exports=i;try{regeneratorRuntime=i}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},2362:(e,t,r)=>{"use strict";let i;r.r(t),r.d(t,{createSupportsColor:()=>d,default:()=>p});let a=require("node:process"),o=require("node:os"),s=require("node:tty");function l(e,t=globalThis.Deno?globalThis.Deno.args:a.argv){let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),o=t.indexOf("--");return -1!==i&&(-1===o||i=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in u)return"GITHUB_ACTIONS"in u||"GITEA_ACTIONS"in u?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(e=>e in u)||"codeship"===u.CI_NAME?1:p;if("TEAMCITY_VERSION"in u)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(u.TEAMCITY_VERSION)?1:0;if("truecolor"===u.COLORTERM||"xterm-kitty"===u.TERM)return 3;if("TERM_PROGRAM"in u){let e=Number.parseInt((u.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(u.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(u.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(u.TERM)||"COLORTERM"in u?1:p}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}l("no-color")||l("no-colors")||l("color=false")||l("color=never")?i=0:(l("color")||l("colors")||l("color=true")||l("color=always"))&&(i=1);let p={stdout:d({isTTY:s.isatty(1)}),stderr:d({isTTY:s.isatty(2)})}},40572:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),i=t.X(0,[948,525,471,997],()=>r(56974));module.exports=i})(); \ No newline at end of file diff --git a/server/app/page.js.nft.json b/server/app/page.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..39bf441745ea9e71a192ab6165477e97073978c7 --- /dev/null +++ b/server/app/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../node_modules/next/dist/client/components/async-local-storage.js","../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/package.json","../../../package.json","../../package.json","../chunks/181.js","../chunks/441.js","../chunks/471.js","../chunks/525.js","../chunks/539.js","../chunks/893.js","../chunks/948.js","../chunks/967.js","../chunks/997.js","../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/server/app/page_client-reference-manifest.js b/server/app/page_client-reference-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..07350ca40f568d866f56d3cbbc68387380a01ecd --- /dev/null +++ b/server/app/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"231":{"*":{"id":"79404","name":"*","chunks":[],"async":false}},"16585":{"*":{"id":"41868","name":"*","chunks":[],"async":false}},"39275":{"*":{"id":"79671","name":"*","chunks":[],"async":false}},"55138":{"*":{"id":"4349","name":"*","chunks":[],"async":false}},"61343":{"*":{"id":"84759","name":"*","chunks":[],"async":false}},"66513":{"*":{"id":"96114","name":"*","chunks":[],"async":false}},"74320":{"*":{"id":"53980","name":"*","chunks":[],"async":false}},"76130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"95751":{"*":{"id":"12994","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/app-router.js":{"id":95751,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/app-router.js":{"id":95751,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/client-page.js":{"id":66513,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/client-page.js":{"id":66513,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/error-boundary.js":{"id":76130,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":76130,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/layout-router.js":{"id":39275,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39275,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/not-found-boundary.js":{"id":16585,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":16585,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/render-from-template-context.js":{"id":61343,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61343,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/globals.css":{"id":58877,"name":"*","chunks":["185","static/chunks/app/layout-1681915e2606683d.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/login/messages.tsx":{"id":74320,"name":"*","chunks":[],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/link.js":{"id":231,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/esm/client/link.js":{"id":231,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false},"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/components/UnBabelerChat.tsx":{"id":55138,"name":"*","chunks":["575","static/chunks/609137f5-4bd446340650f68b.js","171","static/chunks/3baf5dbb-ed8dea615ac54336.js","463","static/chunks/b714f034-8213c9155ace647b.js","231","static/chunks/231-bbb88541883d0442.js","956","static/chunks/956-8850d7531e12447d.js","931","static/chunks/app/page-941f86cb5e7d79ba.js"],"async":false}},"entryCSSFiles":{"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/":[],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/layout":["static/css/b316092d6e638128.css","static/css/82f62eb1d3c473d2.css"],"/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/app/page":["static/css/780e3421e6a81e10.css","static/css/fdd0463956fb52ba.css","static/css/c75df1c048895661.css","static/css/d0d9d365675bcf3b.css"]}} \ No newline at end of file diff --git a/server/chunks/181.js b/server/chunks/181.js new file mode 100644 index 0000000000000000000000000000000000000000..a2e6e42a71bb1a5c1d68ccb4f75c66b0f70e90e5 --- /dev/null +++ b/server/chunks/181.js @@ -0,0 +1 @@ +"use strict";exports.id=181,exports.ids=[181],exports.modules={13181:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n.default});var n=o(18168)},18168:(e,t,o)=>{var n=o(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(o(65684)),r=n(o(61092)),i=n(o(17577)),u=n(o(78439)),l=o(22070),s=o(96510),c=o(89801),f=o(17411);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function m(e){for(var t=1;t").concat(g||"","")):i.default.createElement(w.name,(0,a.default)({onClick:function(e){return k(e,t)},onMouseEnter:function(e){return h(e,t)},onMouseLeave:function(e){return j(e,t)},"aria-label":P,title:S,className:y},w.props),i.default.createElement("span",{style:d},g))};y.propTypes=m({},c.EmojiPropTypes,{data:u.default.object.isRequired}),y.defaultProps=f.EmojiDefaultProps,t.default=y},17411:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EmojiDefaultProps=t.PickerDefaultProps=void 0;var o={skin:1,set:"apple",sheetSize:64,sheetColumns:57,sheetRows:57,native:!1,forceSize:!1,tooltip:!1,useButton:!0,backgroundImageFn:function(e,t){return"https://unpkg.com/emoji-datasource-".concat(e,"@").concat("5.0.1","/img/").concat(e,"/sheets-256/").concat(t,".png")}};t.EmojiDefaultProps=o;var n={onClick:function(){},onSelect:function(){},onSkinChange:function(){},emojiSize:24,perLine:9,i18n:{},style:{},title:"Emoji Mart™",emoji:"department_store",color:"#ae65c5",set:o.set,theme:"light",skin:null,defaultSkin:o.skin,native:o.native,sheetSize:o.sheetSize,backgroundImageFn:o.backgroundImageFn,emojisToShowFilter:null,showPreview:!0,showSkinTones:!0,emojiTooltip:o.tooltip,useButton:o.useButton,autoFocus:!1,enableFrequentEmojiSort:!1,custom:[],skinEmoji:"",notFound:function(){},notFoundEmoji:"sleuth_or_spy",icons:{}};t.PickerDefaultProps=n},89801:(e,t,o)=>{var n=o(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.PickerPropTypes=t.EmojiPropTypes=void 0;var a=n(o(78439)),r={data:a.default.object.isRequired,onOver:a.default.func,onLeave:a.default.func,onClick:a.default.func,fallback:a.default.func,backgroundImageFn:a.default.func,native:a.default.bool,forceSize:a.default.bool,tooltip:a.default.bool,useButton:a.default.bool,skin:a.default.oneOf([1,2,3,4,5,6]),sheetSize:a.default.oneOf([16,20,32,64]),sheetColumns:a.default.number,sheetRows:a.default.number,set:a.default.oneOf(["apple","google","twitter","facebook"]),size:a.default.number.isRequired,emoji:a.default.oneOfType([a.default.string,a.default.object]).isRequired};t.EmojiPropTypes=r;var i={onClick:a.default.func,onSelect:a.default.func,onSkinChange:a.default.func,perLine:a.default.number,emojiSize:a.default.number,i18n:a.default.object,style:a.default.object,title:a.default.string,emoji:a.default.string,color:a.default.string,set:r.set,skin:r.skin,native:a.default.bool,backgroundImageFn:r.backgroundImageFn,sheetSize:r.sheetSize,emojisToShowFilter:a.default.func,showPreview:a.default.bool,showSkinTones:a.default.bool,emojiTooltip:r.tooltip,useButton:r.useButton,theme:a.default.oneOf(["auto","light","dark"]),include:a.default.arrayOf(a.default.string),exclude:a.default.arrayOf(a.default.string),recent:a.default.arrayOf(a.default.string),autoFocus:a.default.bool,enableFrequentEmojiSort:a.default.bool,custom:a.default.arrayOf(a.default.shape({name:a.default.string.isRequired,short_names:a.default.arrayOf(a.default.string).isRequired,emoticons:a.default.arrayOf(a.default.string),keywords:a.default.arrayOf(a.default.string),imageUrl:a.default.string,spriteUrl:a.default.string,sheet_x:a.default.number,sheet_y:a.default.number,size:a.default.number,sheetColumns:a.default.number,sheetRows:a.default.number})),skinEmoji:a.default.string,notFound:a.default.func,notFoundEmoji:a.default.string,icons:a.default.object};t.PickerPropTypes=i}}; \ No newline at end of file diff --git a/server/chunks/441.js b/server/chunks/441.js new file mode 100644 index 0000000000000000000000000000000000000000..b24d1597eeccea9c3108f263014f4ec627fb5e77 --- /dev/null +++ b/server/chunks/441.js @@ -0,0 +1 @@ +exports.id=441,exports.ids=[441],exports.modules={60441:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>n.Z});var n=a(59253)},89264:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(68326)),r=n(a(42706)),o=n(a(83041)),s=n(a(89899)),l=n(a(33002)),c=n(a(59356)),u=n(a(17577)),d=n(a(78439)),h=function(e){function t(e){(0,i.default)(this,t),a=(0,o.default)(this,(0,s.default)(t).call(this,e));var a,n=e.categories.filter(function(e){return e.first})[0];return a.state={selected:n.name},a.handleClick=a.handleClick.bind((0,l.default)(a)),a}return(0,c.default)(t,e),(0,r.default)(t,[{key:"handleClick",value:function(e){var t=e.currentTarget.getAttribute("data-index"),a=this.props,n=a.categories;(0,a.onAnchorClick)(n[t],t)}},{key:"render",value:function(){var e=this,t=this.props,a=t.categories,n=t.color,i=t.i18n,r=t.icons,o=this.state.selected;return u.default.createElement("nav",{className:"emoji-mart-anchors","aria-label":i.categorieslabel},a.map(function(t,a){var s=t.id,l=t.name,c=t.anchor,d=l==o;if(!1===c)return null;var h=s.startsWith("custom-")?"custom":s;return u.default.createElement("button",{key:s,"aria-label":i.categories[h],title:i.categories[h],"data-index":a,type:"button",onClick:e.handleClick,className:"emoji-mart-anchor ".concat(d?"emoji-mart-anchor-selected":""),style:{color:d?n:null}},u.default.createElement("div",{className:"emoji-mart-anchor-icon"},r.categories[h]()),u.default.createElement("span",{className:"emoji-mart-anchor-bar",style:{backgroundColor:n}}))}))}}]),t}(u.default.PureComponent);t.default=h,h.propTypes={categories:d.default.array,onAnchorClick:d.default.func,icons:d.default.object},h.defaultProps={categories:[],onAnchorClick:function(){},icons:{}}},27112:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(61092)),r=n(a(68326)),o=n(a(42706)),s=n(a(83041)),l=n(a(89899)),c=n(a(33002)),u=n(a(59356)),d=n(a(17577)),h=n(a(78439)),f=n(a(72573)),m=a(22070),p=n(a(18168)),v=n(a(67668));function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var k=function(e){function t(e){var a;return(0,r.default)(this,t),(a=(0,s.default)(this,(0,l.default)(t).call(this,e))).data=e.data,a.setContainerRef=a.setContainerRef.bind((0,c.default)(a)),a.setLabelRef=a.setLabelRef.bind((0,c.default)(a)),a}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.margin=0,this.minMargin=0,this.memoizeSize()}},{key:"shouldComponentUpdate",value:function(e,t){var a=this.props,n=a.name,i=a.perLine,r=a.native,o=a.hasStickyPosition,s=a.emojis,l=a.emojiProps,c=l.skin,u=l.size,d=l.set,h=e.perLine,f=e.native,m=e.hasStickyPosition,p=e.emojis,v=e.emojiProps,g=v.skin,k=v.size,y=v.set,j=!1;return"Recent"==n&&i!=h&&(j=!0),"Search"==n&&(j=s!=p),(c!=g||u!=k||r!=f||d!=y||o!=m)&&(j=!0),j}},{key:"memoizeSize",value:function(){if(!this.container){this.top=0,this.maxMargin=0;return}var e=this.container.parentElement,t=this.container.getBoundingClientRect(),a=t.top,n=t.height,i=e.getBoundingClientRect().top,r=this.label.getBoundingClientRect().height;this.top=a-i+e.scrollTop,0==n?this.maxMargin=0:this.maxMargin=n-r}},{key:"handleScroll",value:function(e){var t=e-this.top;if((t=(t=tthis.maxMargin?this.maxMargin:t)!=this.margin)return this.props.hasStickyPosition||(this.label.style.top="".concat(t,"px")),this.margin=t,!0}},{key:"getEmojis",value:function(){var e=this,t=this.props,a=t.name,n=t.emojis,i=t.recent,r=t.perLine;if("Recent"==a){var o=this.props.custom,s=i||f.default.get(r);if(s.length&&(n=s.map(function(e){return o.filter(function(t){return t.id===e})[0]||e}).filter(function(t){return!!(0,m.getData)(t,null,null,e.data)})),0===n.length&&s.length>0)return null}return n&&(n=n.slice(0)),n}},{key:"updateDisplay",value:function(e){this.getEmojis()&&this.container&&(this.container.style.display=e)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setLabelRef",value:function(e){this.label=e}},{key:"render",value:function(){var e=this,t=this.props,a=t.id,n=t.name,r=t.hasStickyPosition,o=t.emojiProps,s=t.i18n,l=t.notFound,c=t.notFoundEmoji,u=this.getEmojis(),h={},f={},m={};u||(m={display:"none"}),r||(h={height:28},f={position:"absolute"});var k=s.categories[a]||n;return d.default.createElement("section",{ref:this.setContainerRef,className:"emoji-mart-category","aria-label":k,style:m},d.default.createElement("div",{style:h,"data-name":n,className:"emoji-mart-category-label"},d.default.createElement("span",{style:f,ref:this.setLabelRef,"aria-hidden":!0},k)),d.default.createElement("ul",{className:"emoji-mart-category-list"},u&&u.map(function(t){return d.default.createElement("li",{key:t.short_names&&t.short_names.join("_")||t},(0,p.default)(function(e){for(var t=1;t{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(65684)),r=n(a(61092)),o=n(a(17577)),s=n(a(78439)),l=a(22070),c=a(96510),u=a(89801),d=a(17411);function h(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function f(e){for(var t=1;t").concat(v||"","")):o.default.createElement(S.name,(0,i.default)({onClick:function(e){return g(e,t)},onMouseEnter:function(e){return k(e,t)},onMouseLeave:function(e){return y(e,t)},"aria-label":E,title:C,className:b},S.props),o.default.createElement("span",{style:h},v))};b.propTypes=f({},u.EmojiPropTypes,{data:s.default.object.isRequired}),b.defaultProps=d.EmojiDefaultProps,t.default=b},67668:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(61092)),r=n(a(68326)),o=n(a(42706)),s=n(a(83041)),l=n(a(89899)),c=n(a(59356)),u=n(a(17577)),d=n(a(78439)),h=n(a(18168));function f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var m=function(e){function t(){return(0,r.default)(this,t),(0,s.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,o.default)(t,[{key:"render",value:function(){var e=this.props,t=e.data,a=e.emojiProps,n=e.i18n,r=e.notFound,o=e.notFoundEmoji;return r&&r()||u.default.createElement("div",{className:"emoji-mart-no-results"},(0,h.default)(function(e){for(var t=1;t{"use strict";var n=a(64056),i=a(39618);t.Z=void 0;var r=i(a(61092)),o=i(a(68326)),s=i(a(42706)),l=i(a(83041)),c=i(a(89899)),u=i(a(33002)),d=i(a(59356)),h=i(a(17577)),f=i(a(78439)),m=n(a(10192)),p=i(a(10053)),v=i(a(72573)),g=a(22070),k=a(96510),y=a(89801),j=i(a(89264)),b=i(a(27112)),w=i(a(847)),E=i(a(53790)),C=a(17411);function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t0){var i={},r=0;e.custom.forEach(function(e){!i[e.customCategory]&&(i[e.customCategory]={id:e.customCategory?"custom-".concat(e.customCategory):"custom",name:e.customCategory||"Custom",emojis:[],anchor:0===r},r++);var t=i[e.customCategory],n=O({},e,{id:e.short_names[0],custom:!0});t.emojis.push(n),a.CUSTOM.push(n)}),n=n.concat(Object.keys(i).map(function(e){return i[e]}))}a.hideRecent=!0,void 0!=e.include&&n.sort(function(t,a){return e.include.indexOf(t.id)>e.include.indexOf(a.id)?1:-1});for(var s=0;s-1,f=!!e.exclude&&!!e.exclude.length&&e.exclude.indexOf(d.id)>-1;if(h&&!f){if(e.emojisToShowFilter){for(var p=[],v=d.emojis,y=0;y-1,E=!!e.exclude&&!!e.exclude.length&&e.exclude.indexOf(a.RECENT_CATEGORY.id)>-1;return w&&!E&&(a.hideRecent=!1,a.categories.unshift(a.RECENT_CATEGORY)),a.categories[0]&&(a.categories[0].first=!0),a.categories.unshift(a.SEARCH_CATEGORY),a.setAnchorsRef=a.setAnchorsRef.bind((0,u.default)(a)),a.handleAnchorClick=a.handleAnchorClick.bind((0,u.default)(a)),a.setSearchRef=a.setSearchRef.bind((0,u.default)(a)),a.handleSearch=a.handleSearch.bind((0,u.default)(a)),a.setScrollRef=a.setScrollRef.bind((0,u.default)(a)),a.handleScroll=a.handleScroll.bind((0,u.default)(a)),a.handleScrollPaint=a.handleScrollPaint.bind((0,u.default)(a)),a.handleEmojiOver=a.handleEmojiOver.bind((0,u.default)(a)),a.handleEmojiLeave=a.handleEmojiLeave.bind((0,u.default)(a)),a.handleEmojiClick=a.handleEmojiClick.bind((0,u.default)(a)),a.handleEmojiSelect=a.handleEmojiSelect.bind((0,u.default)(a)),a.setPreviewRef=a.setPreviewRef.bind((0,u.default)(a)),a.handleSkinChange=a.handleSkinChange.bind((0,u.default)(a)),a.handleKeyDown=a.handleKeyDown.bind((0,u.default)(a)),a.handleDarkMatchMediaChange=a.handleDarkMatchMediaChange.bind((0,u.default)(a)),a}return(0,d.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.state.firstRender&&(this.testStickyPosition(),this.firstRenderTimeout=setTimeout(function(){e.setState({firstRender:!1})},60))}},{key:"componentDidUpdate",value:function(){this.updateCategoriesSize(),this.handleScroll()}},{key:"componentWillUnmount",value:function(){this.SEARCH_CATEGORY.emojis=null,clearTimeout(this.leaveTimeout),clearTimeout(this.firstRenderTimeout),this.darkMatchMedia&&this.darkMatchMedia.removeListener(this.handleDarkMatchMediaChange)}},{key:"testStickyPosition",value:function(){var e=document.createElement("div");["","-webkit-","-ms-","-moz-","-o-"].forEach(function(t){return e.style.position="".concat(t,"sticky")}),this.hasStickyPosition=!!e.style.position.length}},{key:"getPreferredTheme",value:function(){return"auto"!=this.props.theme?this.props.theme:this.state.theme?this.state.theme:"function"!=typeof matchMedia?C.PickerDefaultProps.theme:(this.darkMatchMedia||(this.darkMatchMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMatchMedia.addListener(this.handleDarkMatchMediaChange)),this.darkMatchMedia.media.match(/^not/))?C.PickerDefaultProps.theme:this.darkMatchMedia.matches?"dark":"light"}},{key:"handleDarkMatchMediaChange",value:function(){this.setState({theme:this.darkMatchMedia.matches?"dark":"light"})}},{key:"handleEmojiOver",value:function(e){var t=this.preview;if(t){var a=this.CUSTOM.filter(function(t){return t.id===e.id})[0];for(var n in a)a.hasOwnProperty(n)&&(e[n]=a[n]);t.setState({emoji:e}),clearTimeout(this.leaveTimeout)}}},{key:"handleEmojiLeave",value:function(e){var t=this.preview;t&&(this.leaveTimeout=setTimeout(function(){t.setState({emoji:null})},16))}},{key:"handleEmojiClick",value:function(e,t){this.props.onClick(e,t),this.handleEmojiSelect(e)}},{key:"handleEmojiSelect",value:function(e){var t=this;this.props.onSelect(e),this.hideRecent||this.props.recent||v.default.add(e);var a=this.categoryRefs["category-1"];if(a){var n=a.maxMargin;this.props.enableFrequentEmojiSort&&a.forceUpdate(),requestAnimationFrame(function(){t.scroll&&(a.memoizeSize(),n!=a.maxMargin&&(t.updateCategoriesSize(),t.handleScrollPaint(),t.SEARCH_CATEGORY.emojis&&a.updateDisplay("none")))})}}},{key:"handleScroll",value:function(){this.waitingForPaint||(this.waitingForPaint=!0,requestAnimationFrame(this.handleScrollPaint))}},{key:"handleScrollPaint",value:function(){if(this.waitingForPaint=!1,this.scroll){var e=null;if(this.SEARCH_CATEGORY.emojis)e=this.SEARCH_CATEGORY;else{for(var t=this.scroll.scrollTop,a=t>(this.scrollTop||0),n=0,i=0,r=this.categories.length;i0&&(n=l.top),c&&!e&&(e=s)}}t=this.scrollHeight&&(e=this.categories[this.categories.length-1])}if(e){var u=this.anchors,d=e.name;u.state.selected!=d&&u.setState({selected:d})}this.scrollTop=t}}},{key:"handleSearch",value:function(e){this.SEARCH_CATEGORY.emojis=e;for(var t=0,a=this.categories.length;t{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(61092)),r=n(a(68326)),o=n(a(42706)),s=n(a(83041)),l=n(a(89899)),c=n(a(59356)),u=n(a(17577)),d=n(a(78439)),h=a(22070),f=n(a(18168)),m=n(a(6927)),p=n(a(46630));function v(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function g(e){for(var t=1;t=0||(v.push(e.toLowerCase()),k.push(e))}),u.default.createElement("div",{className:"emoji-mart-preview"},u.default.createElement("div",{className:"emoji-mart-preview-emoji","aria-hidden":"true"},(0,f.default)(g({key:e.id,emoji:e,data:this.data},a))),u.default.createElement("div",{className:"emoji-mart-preview-data","aria-hidden":"true"},u.default.createElement("div",{className:"emoji-mart-preview-name"},e.name),u.default.createElement("div",{className:"emoji-mart-preview-shortnames"},c.short_names.map(function(e){return u.default.createElement("span",{key:e,className:"emoji-mart-preview-shortname"},":",e,":")})),u.default.createElement("div",{className:"emoji-mart-preview-emoticons"},k.map(function(e){return u.default.createElement("span",{key:e,className:"emoji-mart-preview-emoticon"},e)}))))}}]),t}(u.default.PureComponent);t.default=k,k.propTypes={showSkinTones:d.default.bool,title:d.default.string.isRequired,emoji:d.default.string.isRequired,emojiProps:d.default.object.isRequired,skinsProps:d.default.object.isRequired},k.defaultProps={showSkinTones:!0,onChange:function(){}}},53790:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(68326)),r=n(a(42706)),o=n(a(83041)),s=n(a(89899)),l=n(a(33002)),c=n(a(59356)),u=n(a(17577)),d=n(a(78439)),h=a(10192),f=n(a(95242)),m=a(22070),p=0,v=function(e){function t(e){var a;return(0,i.default)(this,t),(a=(0,o.default)(this,(0,s.default)(t).call(this,e))).state={icon:h.search.search,isSearching:!1,id:++p},a.data=e.data,a.emojiIndex=new f.default(a.data),a.setRef=a.setRef.bind((0,l.default)(a)),a.clear=a.clear.bind((0,l.default)(a)),a.handleKeyUp=a.handleKeyUp.bind((0,l.default)(a)),a.handleChange=(0,m.throttleIdleTask)(a.handleChange.bind((0,l.default)(a))),a}return(0,c.default)(t,e),(0,r.default)(t,[{key:"componentDidMount",value:function(){this.input&&this.input.value&&this.search(this.input.value)}},{key:"search",value:function(e){""==e?this.setState({icon:h.search.search,isSearching:!1}):this.setState({icon:h.search.delete,isSearching:!0}),this.props.onSearch(this.emojiIndex.search(e,{emojisToShowFilter:this.props.emojisToShowFilter,maxResults:this.props.maxResults,include:this.props.include,exclude:this.props.exclude,custom:this.props.custom}))}},{key:"clear",value:function(){""!=this.input.value&&(this.input.value="",this.input.focus(),this.search(""))}},{key:"handleChange",value:function(){this.input&&this.search(this.input.value)}},{key:"handleKeyUp",value:function(e){13===e.keyCode&&this.clear()}},{key:"setRef",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.i18n,a=e.autoFocus,n=this.state,i=n.icon,r=n.isSearching,o=n.id,s="emoji-mart-search-".concat(o);return u.default.createElement("section",{className:"emoji-mart-search","aria-label":t.search},u.default.createElement("input",{id:s,ref:this.setRef,type:"search",onChange:this.handleChange,placeholder:t.search,autoFocus:a}),u.default.createElement("label",{className:"emoji-mart-sr-only",htmlFor:s},t.search),u.default.createElement("button",{className:"emoji-mart-search-icon",onClick:this.clear,onKeyUp:this.handleKeyUp,"aria-label":t.clear,disabled:!r},i()))}}]),t}(u.default.PureComponent);t.default=v,v.propTypes={onSearch:d.default.func,maxResults:d.default.number,emojisToShowFilter:d.default.func,autoFocus:d.default.bool},v.defaultProps={onSearch:function(){},maxResults:75,emojisToShowFilter:null,autoFocus:!1}},46630:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(65684)),r=n(a(68326)),o=n(a(42706)),s=n(a(83041)),l=n(a(89899)),c=n(a(33002)),u=n(a(59356)),d=n(a(17577)),h=n(a(78439)),f=function(e){function t(e){var a;return(0,r.default)(this,t),(a=(0,s.default)(this,(0,l.default)(t).call(this,e))).handleClick=a.handleClick.bind((0,c.default)(a)),a.handleKeyDown=a.handleKeyDown.bind((0,c.default)(a)),a}return(0,u.default)(t,e),(0,o.default)(t,[{key:"handleKeyDown",value:function(e){(13===e.keyCode||32===e.keyCode)&&(e.preventDefault(),this.handleClick(e))}},{key:"render",value:function(){for(var e=this.props,t=e.skin,a=e.i18n,n=this.state.opened,r=[],o=1;o<=6;o++){var s=o===t,l=n||s;r.push(d.default.createElement("span",(0,i.default)({key:"skin-tone-".concat(o),className:"emoji-mart-skin-swatch".concat(s?" selected":""),"aria-label":a.skintones[o],"aria-hidden":!l},n?{role:"menuitem"}:{}),d.default.createElement("span",(0,i.default)({onClick:this.handleClick,onKeyDown:this.handleKeyDown,role:"button"},s?{"aria-haspopup":!0,"aria-expanded":!!n}:{},n?{"aria-pressed":!!s}:{},{tabIndex:l?"0":"","aria-label":a.skintones[o],title:a.skintones[o],"data-skin":o,className:"emoji-mart-skin emoji-mart-skin-tone-".concat(o)}))))}return d.default.createElement("section",{className:"emoji-mart-skin-swatches".concat(n?" opened":""),"aria-label":a.skintext},d.default.createElement("div",n?{role:"menubar"}:{},r))}}]),t}(n(a(98131)).default);t.default=f,f.propTypes={onChange:h.default.func,skin:h.default.number.isRequired,i18n:h.default.object},f.defaultProps={onChange:function(){}}},6927:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(68326)),r=n(a(42706)),o=n(a(83041)),s=n(a(89899)),l=n(a(33002)),c=n(a(59356)),u=n(a(17577)),d=n(a(78439)),h=n(a(18168)),f=function(e){function t(e){var a;return(0,i.default)(this,t),(a=(0,o.default)(this,(0,s.default)(t).call(this,e))).handleClick=a.handleClick.bind((0,l.default)(a)),a}return(0,c.default)(t,e),(0,r.default)(t,[{key:"render",value:function(){for(var e=this.props,t=e.skin,a=e.emojiProps,n=e.data,i=e.skinEmoji,r=e.i18n,o=this.state.opened,s=[],l=1;l<=6;l++){var c=l===t;s.push(u.default.createElement("span",{key:"skin-tone-".concat(l),className:"emoji-mart-skin-swatch custom".concat(c?" selected":"")},u.default.createElement("span",{onClick:this.handleClick,"data-skin":l,className:"emoji-mart-skin-tone-".concat(l)},(0,h.default)({emoji:i,data:n,skin:l,backgroundImageFn:a.backgroundImageFn,native:a.native,set:a.set,sheetSize:a.sheetSize,size:23}))))}return u.default.createElement("div",{className:"emoji-mart-skin-swatches custom".concat(o?" opened":"")},u.default.createElement("div",{className:"emoji-mart-skin-text".concat(o?" opened":"")},r.skintext),s)}}]),t}(n(a(98131)).default);t.default=f,f.propTypes={onChange:d.default.func,skin:d.default.number.isRequired,emojiProps:d.default.object.isRequired,skinTone:d.default.number,skinEmoji:d.default.string.isRequired,i18n:d.default.object},f.defaultProps={onChange:function(){},skinTone:null}},98131:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(68326)),r=n(a(42706)),o=n(a(83041)),s=n(a(89899)),l=n(a(59356)),c=n(a(17577)),u=n(a(78439)),d=function(e){function t(e){var a;return(0,i.default)(this,t),(a=(0,o.default)(this,(0,s.default)(t).call(this,e))).state={opened:!1},a}return(0,l.default)(t,e),(0,r.default)(t,[{key:"handleClick",value:function(e){var t=parseInt(e.currentTarget.getAttribute("data-skin")),a=this.props.onChange;this.state.opened?(this.setState({opened:!1}),t!=this.props.skin&&a(t)):this.setState({opened:!0})}},{key:"render",value:function(){return null}}]),t}(c.default.PureComponent);t.default=d,d.propTypes={onChange:u.default.func,skin:u.default.number.isRequired},d.defaultProps={onChange:function(){}}},10192:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.search=t.categories=void 0;var i=n(a(17577));t.categories={activity:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"}))},custom:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("g",{transform:"translate(2.000000, 1.000000)"},i.default.createElement("rect",{id:"Rectangle",x:"8",y:"0",width:"3",height:"21",rx:"1.5"}),i.default.createElement("rect",{id:"Rectangle",transform:"translate(9.843, 10.549) rotate(60) translate(-9.843, -10.549) ",x:"8.343",y:"0.049",width:"3",height:"21",rx:"1.5"}),i.default.createElement("rect",{id:"Rectangle",transform:"translate(9.843, 10.549) rotate(-60) translate(-9.843, -10.549) ",x:"8.343",y:"0.049",width:"3",height:"21",rx:"1.5"})))},flags:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"}))},foods:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"}))},nature:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),i.default.createElement("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"}))},objects:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),i.default.createElement("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"}))},people:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),i.default.createElement("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"}))},places:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),i.default.createElement("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"}))},recent:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),i.default.createElement("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}))},symbols:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"}))}},t.search={search:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 20 20",opacity:"0.5"},i.default.createElement("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"}))},delete:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 20 20",opacity:"0.5"},i.default.createElement("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"}))}}},72573:(e,t,a)=>{"use strict";var n,i,r=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(a(10053)),s=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"],l={};function c(){i=!0,n=o.default.get("frequently")}t.default={add:function(e){i||c();var t=e.id;n||(n=l),n[t]||(n[t]=0),n[t]+=1,o.default.set("last",t),o.default.set("frequently",n)},get:function(e){if(i||c(),!n){l={};for(var t=[],a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmojiDefaultProps=t.PickerDefaultProps=void 0;var a={skin:1,set:"apple",sheetSize:64,sheetColumns:57,sheetRows:57,native:!1,forceSize:!1,tooltip:!1,useButton:!0,backgroundImageFn:function(e,t){return"https://unpkg.com/emoji-datasource-".concat(e,"@").concat("5.0.1","/img/").concat(e,"/sheets-256/").concat(t,".png")}};t.EmojiDefaultProps=a;var n={onClick:function(){},onSelect:function(){},onSkinChange:function(){},emojiSize:24,perLine:9,i18n:{},style:{},title:"Emoji Mart™",emoji:"department_store",color:"#ae65c5",set:a.set,theme:"light",skin:null,defaultSkin:a.skin,native:a.native,sheetSize:a.sheetSize,backgroundImageFn:a.backgroundImageFn,emojisToShowFilter:null,showPreview:!0,showSkinTones:!0,emojiTooltip:a.tooltip,useButton:a.useButton,autoFocus:!1,enableFrequentEmojiSort:!1,custom:[],skinEmoji:"",notFound:function(){},notFoundEmoji:"sleuth_or_spy",icons:{}};t.PickerDefaultProps=n},89801:(e,t,a)=>{"use strict";var n=a(39618);Object.defineProperty(t,"__esModule",{value:!0}),t.PickerPropTypes=t.EmojiPropTypes=void 0;var i=n(a(78439)),r={data:i.default.object.isRequired,onOver:i.default.func,onLeave:i.default.func,onClick:i.default.func,fallback:i.default.func,backgroundImageFn:i.default.func,native:i.default.bool,forceSize:i.default.bool,tooltip:i.default.bool,useButton:i.default.bool,skin:i.default.oneOf([1,2,3,4,5,6]),sheetSize:i.default.oneOf([16,20,32,64]),sheetColumns:i.default.number,sheetRows:i.default.number,set:i.default.oneOf(["apple","google","twitter","facebook"]),size:i.default.number.isRequired,emoji:i.default.oneOfType([i.default.string,i.default.object]).isRequired};t.EmojiPropTypes=r;var o={onClick:i.default.func,onSelect:i.default.func,onSkinChange:i.default.func,perLine:i.default.number,emojiSize:i.default.number,i18n:i.default.object,style:i.default.object,title:i.default.string,emoji:i.default.string,color:i.default.string,set:r.set,skin:r.skin,native:i.default.bool,backgroundImageFn:r.backgroundImageFn,sheetSize:r.sheetSize,emojisToShowFilter:i.default.func,showPreview:i.default.bool,showSkinTones:i.default.bool,emojiTooltip:r.tooltip,useButton:r.useButton,theme:i.default.oneOf(["auto","light","dark"]),include:i.default.arrayOf(i.default.string),exclude:i.default.arrayOf(i.default.string),recent:i.default.arrayOf(i.default.string),autoFocus:i.default.bool,enableFrequentEmojiSort:i.default.bool,custom:i.default.arrayOf(i.default.shape({name:i.default.string.isRequired,short_names:i.default.arrayOf(i.default.string).isRequired,emoticons:i.default.arrayOf(i.default.string),keywords:i.default.arrayOf(i.default.string),imageUrl:i.default.string,spriteUrl:i.default.string,sheet_x:i.default.number,sheet_y:i.default.number,size:i.default.number,sheetColumns:i.default.number,sheetRows:i.default.number})),skinEmoji:i.default.string,notFound:i.default.func,notFoundEmoji:i.default.string,icons:i.default.object};t.PickerPropTypes=o},64056:(e,t,a)=>{var n=a(12054).default;function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var a=i(t);if(a&&a.has(e))return a.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&({}).hasOwnProperty.call(e,s)){var l=o?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=e[s]}return r.default=e,a&&a.set(e,r),r},e.exports.__esModule=!0,e.exports.default=e.exports}}; \ No newline at end of file diff --git a/server/chunks/471.js b/server/chunks/471.js new file mode 100644 index 0000000000000000000000000000000000000000..606a221d56c4972c29b99b15e5c3b477ca635470 --- /dev/null +++ b/server/chunks/471.js @@ -0,0 +1,2 @@ +"use strict";exports.id=471,exports.ids=[471],exports.modules={3486:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(8974),l=r(23658);function o(e,t){return(0,l.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15424:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return l}});let n=r(12994);async function l(e,t){let r=(0,n.getServerActionDispatcher)();if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,l)=>{r({actionId:e,actionArgs:t,resolve:n,reject:l})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68038:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return a}});let n=r(17577),l=r(60962),o="next-route-announcer";function a(e){let{tree:t}=e,[r,a]=(0,n.useState)(null);(0,n.useEffect)(()=>(a(function(){var e;let t=document.getElementsByName(o)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(o);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(o)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[u,i]=(0,n.useState)(""),c=(0,n.useRef)();return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),r?(0,l.createPortal)(u,r):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5138:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION:function(){return n},FLIGHT_PARAMETERS:function(){return i},NEXT_DID_POSTPONE_HEADER:function(){return d},NEXT_ROUTER_PREFETCH_HEADER:function(){return o},NEXT_ROUTER_STATE_TREE:function(){return l},NEXT_RSC_UNION_QUERY:function(){return c},NEXT_URL:function(){return a},RSC_CONTENT_TYPE_HEADER:function(){return u},RSC_HEADER:function(){return r}});let r="RSC",n="Next-Action",l="Next-Router-State-Tree",o="Next-Router-Prefetch",a="Next-Url",u="text/x-component",i=[[r],[l],[o]],c="_rsc",d="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12994:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createEmptyCacheNode:function(){return w},default:function(){return U},getServerActionDispatcher:function(){return S},urlToUrlWithoutFlightMarker:function(){return M}});let n=r(58374),l=r(10326),o=n._(r(17577)),a=r(52413),u=r(57767),i=r(17584),c=r(97008),d=r(77326),s=r(9727),f=r(6199),p=r(32148),h=r(3486),y=r(68038),_=r(46265),g=r(22492),b=r(39519),v=r(5138),m=r(74237),P=r(37929),R=r(68071),j=null,O=null;function S(){return O}let E={};function M(e){let t=new URL(e,location.origin);return t.searchParams.delete(v.NEXT_RSC_UNION_QUERY),t}function T(e){return e.origin!==window.location.origin}function x(e){let{appRouterState:t,sync:r}=e;return(0,o.useInsertionEffect)(()=>{let{tree:e,pushRef:n,canonicalUrl:l}=t,o={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};n.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==l?(n.pendingPush=!1,window.history.pushState(o,"",l)):window.history.replaceState(o,"",l),r(t)},[t,r]),null}function w(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null}}function C(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function A(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,l=null!==n?n:r;return(0,o.useDeferredValue)(r,l)}function N(e){let t,{buildId:r,initialHead:n,initialTree:i,initialCanonicalUrl:s,initialSeedData:v,couldBeIntercepted:S,assetPrefix:M,missingSlots:w}=e,N=(0,o.useMemo)(()=>(0,f.createInitialRouterState)({buildId:r,initialSeedData:v,initialCanonicalUrl:s,initialTree:i,initialParallelRoutes:j,location:null,initialHead:n,couldBeIntercepted:S}),[r,v,s,i,n,S]),[U,D,I]=(0,d.useReducerWithReduxDevtools)(N);(0,o.useEffect)(()=>{j=null},[]);let{canonicalUrl:F}=(0,d.useUnwrapState)(U),{searchParams:H,pathname:L}=(0,o.useMemo)(()=>{let e=new URL(F,"http://n");return{searchParams:e.searchParams,pathname:(0,P.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[F]),k=(0,o.useCallback)(e=>{let{previousTree:t,serverResponse:r}=e;(0,o.startTransition)(()=>{D({type:u.ACTION_SERVER_PATCH,previousTree:t,serverResponse:r})})},[D]),z=(0,o.useCallback)((e,t,r)=>{let n=new URL((0,h.addBasePath)(e),location.href);return D({type:u.ACTION_NAVIGATE,url:n,isExternalUrl:T(n),locationSearch:location.search,shouldScroll:null==r||r,navigateType:t})},[D]);O=(0,o.useCallback)(e=>{(0,o.startTransition)(()=>{D({...e,type:u.ACTION_SERVER_ACTION})})},[D]);let G=(0,o.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r;if(!(0,p.isBot)(window.navigator.userAgent)){try{r=new URL((0,h.addBasePath)(e),window.location.href)}catch(t){throw Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL.")}T(r)||(0,o.startTransition)(()=>{var e;D({type:u.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:u.PrefetchKind.FULL})})}},replace:(e,t)=>{void 0===t&&(t={}),(0,o.startTransition)(()=>{var r;z(e,"replace",null==(r=t.scroll)||r)})},push:(e,t)=>{void 0===t&&(t={}),(0,o.startTransition)(()=>{var r;z(e,"push",null==(r=t.scroll)||r)})},refresh:()=>{(0,o.startTransition)(()=>{D({type:u.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[D,z]);(0,o.useEffect)(()=>{window.next&&(window.next.router=G)},[G]),(0,o.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(E.pendingMpaPath=void 0,D({type:u.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[D]);let{pushRef:B}=(0,d.useUnwrapState)(U);if(B.mpaNavigation){if(E.pendingMpaPath!==F){let e=window.location;B.pendingPush?e.assign(F):e.replace(F),E.pendingMpaPath=F}(0,o.use)(b.unresolvedThenable)}(0,o.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{var t;let r=window.location.href,n=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,o.startTransition)(()=>{D({type:u.ACTION_RESTORE,url:new URL(null!=e?e:r,r),tree:n})})};window.history.pushState=function(t,n,l){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=C(t),l&&r(l)),e(t,n,l)},window.history.replaceState=function(e,n,l){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=C(e),l&&r(l)),t(e,n,l)};let n=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,o.startTransition)(()=>{D({type:u.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[D]);let{cache:K,tree:W,nextUrl:$,focusAndScrollRef:Y}=(0,d.useUnwrapState)(U),X=(0,o.useMemo)(()=>(0,g.findHeadInCache)(K,W[1]),[K,W]),V=(0,o.useMemo)(()=>(function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],l=Array.isArray(t),o=l?t[1]:t;!o||o.startsWith(R.PAGE_SEGMENT_KEY)||(l&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):l&&(r[t[0]]=t[1]),r=e(n,r))}return r})(W),[W]);if(null!==X){let[e,r]=X;t=(0,l.jsx)(A,{headCacheNode:e},r)}else t=null;let q=(0,l.jsxs)(_.RedirectBoundary,{children:[t,K.rsc,(0,l.jsx)(y.AppRouterAnnouncer,{tree:W})]});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(x,{appRouterState:(0,d.useUnwrapState)(U),sync:I}),(0,l.jsx)(c.PathParamsContext.Provider,{value:V,children:(0,l.jsx)(c.PathnameContext.Provider,{value:L,children:(0,l.jsx)(c.SearchParamsContext.Provider,{value:H,children:(0,l.jsx)(a.GlobalLayoutRouterContext.Provider,{value:{buildId:r,changeByServerResponse:k,tree:W,focusAndScrollRef:Y,nextUrl:$},children:(0,l.jsx)(a.AppRouterContext.Provider,{value:G,children:(0,l.jsx)(a.LayoutRouterContext.Provider,{value:{childNodes:K.parallelRoutes,tree:W,url:F,loading:K.loading},children:q})})})})})})]})}function U(e){let{globalErrorComponent:t,...r}=e;return(0,l.jsx)(s.ErrorBoundary,{errorComponent:t,children:(0,l.jsx)(N,{...r})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16136:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return o}});let n=r(94129),l=r(94749);function o(e){let t=l.staticGenerationAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new n.BailoutToCSRError(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96114:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return o}});let n=r(10326),l=r(23325);function o(e){let{Component:t,props:r}=e;return r.searchParams=(0,l.createDynamicallyTrackedSearchParams)(r.searchParams||{}),(0,n.jsx)(t,{...r})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9727:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return s},GlobalError:function(){return f},default:function(){return p}});let n=r(91174),l=r(10326),o=n._(r(17577)),a=r(77389),u=r(37313),i=r(94749),c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function d(e){let{error:t}=e,r=i.staticGenerationAsyncStorage.getStore();if((null==r?void 0:r.isRevalidate)||(null==r?void 0:r.isStaticGeneration))throw console.error(t),t;return null}class s extends o.default.Component{static getDerivedStateFromError(e){if((0,u.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,l.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function f(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,l.jsxs)("html",{id:"__next_error__",children:[(0,l.jsx)("head",{}),(0,l.jsxs)("body",{children:[(0,l.jsx)(d,{error:t}),(0,l.jsx)("div",{style:c.error,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{style:c.text,children:"Application error: a "+(r?"server":"client")+"-side exception has occurred (see the "+(r?"server logs":"browser console")+" for more information)."}),r?(0,l.jsx)("p",{style:c.text,children:"Digest: "+r}):null]})})]})]})}let p=f;function h(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:o}=e,u=(0,a.usePathname)();return t?(0,l.jsx)(s,{pathname:u,errorComponent:t,errorStyles:r,errorScripts:n,children:o}):(0,l.jsx)(l.Fragment,{children:o})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70442:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return l}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function l(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37313:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=r(50706),l=r(62747);function o(e){return e&&e.digest&&((0,l.isRedirectError)(e)||(0,n.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79671:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return j}}),r(91174);let n=r(58374),l=r(10326),o=n._(r(17577));r(60962);let a=r(52413),u=r(9009),i=r(39519),c=r(9727),d=r(70455),s=r(79976),f=r(46265),p=r(41868),h=r(62162),y=r(39886),_=r(45262),g=["bottom","height","left","right","top","width","x","y"];function b(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class v extends o.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let r=null,n=e.hashFragment;if(n&&(r=function(e){var t;return"top"===e?document.body:null!=(t=document.getElementById(e))?t:document.getElementsByName(e)[0]}(n)),!r&&(r=null),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return g.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,s.handleSmoothScroll)(()=>{if(n){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!b(r,t)&&(e.scrollTop=0,b(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function m(e){let{segmentPath:t,children:r}=e,n=(0,o.useContext)(a.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return(0,l.jsx)(v,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function P(e){let{parallelRouterKey:t,url:r,childNodes:n,segmentPath:c,tree:s,cacheKey:f}=e,p=(0,o.useContext)(a.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:g}=p,b=n.get(f);if(void 0===b){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};b=e,n.set(f,e)}let v=null!==b.prefetchRsc?b.prefetchRsc:b.rsc,m=(0,o.useDeferredValue)(b.rsc,v),P="object"==typeof m&&null!==m&&"function"==typeof m.then?(0,o.use)(m):m;if(!P){let e=b.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,l]=t,o=2===t.length;if((0,d.matchSegment)(r[0],n)&&r[1].hasOwnProperty(l)){if(o){let t=e(void 0,r[1][l]);return[r[0],{...r[1],[l]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[l]:e(t.slice(2),r[1][l])}]}}return r}(["",...c],g),n=(0,_.hasInterceptionRouteInCurrentTree)(g);b.lazyData=e=(0,u.fetchServerResponse)(new URL(r,location.origin),t,n?p.nextUrl:null,h),b.lazyDataResolved=!1}let t=(0,o.use)(e);b.lazyDataResolved||(setTimeout(()=>{(0,o.startTransition)(()=>{y({previousTree:g,serverResponse:t})})}),b.lazyDataResolved=!0),(0,o.use)(i.unresolvedThenable)}return(0,l.jsx)(a.LayoutRouterContext.Provider,{value:{tree:s[1][t],childNodes:b.parallelRoutes,url:r,loading:b.loading},children:P})}function R(e){let{children:t,hasLoading:r,loading:n,loadingStyles:a,loadingScripts:u}=e;return r?(0,l.jsx)(o.Suspense,{fallback:(0,l.jsxs)(l.Fragment,{children:[a,u,n]}),children:t}):(0,l.jsx)(l.Fragment,{children:t})}function j(e){let{parallelRouterKey:t,segmentPath:r,error:n,errorStyles:u,errorScripts:i,templateStyles:d,templateScripts:s,template:_,notFound:g,notFoundStyles:b,styles:v}=e,j=(0,o.useContext)(a.LayoutRouterContext);if(!j)throw Error("invariant expected layout router to be mounted");let{childNodes:O,tree:S,url:E,loading:M}=j,T=O.get(t);T||(T=new Map,O.set(t,T));let x=S[1][t][0],w=(0,h.getSegmentValue)(x),C=[x];return(0,l.jsxs)(l.Fragment,{children:[v,C.map(e=>{let o=(0,h.getSegmentValue)(e),v=(0,y.createRouterCacheKey)(e);return(0,l.jsxs)(a.TemplateContext.Provider,{value:(0,l.jsx)(m,{segmentPath:r,children:(0,l.jsx)(c.ErrorBoundary,{errorComponent:n,errorStyles:u,errorScripts:i,children:(0,l.jsx)(R,{hasLoading:!!M,loading:null==M?void 0:M[0],loadingStyles:null==M?void 0:M[1],loadingScripts:null==M?void 0:M[2],children:(0,l.jsx)(p.NotFoundBoundary,{notFound:g,notFoundStyles:b,children:(0,l.jsx)(f.RedirectBoundary,{children:(0,l.jsx)(P,{parallelRouterKey:t,url:E,tree:S,childNodes:T,segmentPath:r,cacheKey:v,isActive:w===o})})})})})}),children:[d,s,_]},(0,y.createRouterCacheKey)(e,!0))})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70455:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{canSegmentBeOverridden:function(){return o},matchSegment:function(){return l}});let n=r(92357),l=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],o=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77389:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},useParams:function(){return p},usePathname:function(){return s},useRouter:function(){return f},useSearchParams:function(){return d},useSelectedLayoutSegment:function(){return y},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(17577),l=r(52413),o=r(97008),a=r(62162),u=r(68071),i=r(97375),c=r(93347);function d(){let e=(0,n.useContext)(o.SearchParamsContext),t=(0,n.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e]);{let{bailoutToClientRendering:e}=r(16136);e("useSearchParams()")}return t}function s(){return(0,n.useContext)(o.PathnameContext)}function f(){let e=(0,n.useContext)(l.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,n.useContext)(o.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,n.useContext)(l.LayoutRouterContext);return t?function e(t,r,n,l){let o;if(void 0===n&&(n=!0),void 0===l&&(l=[]),n)o=t[1][r];else{var i;let e=t[1];o=null!=(i=e.children)?i:Object.values(e)[0]}if(!o)return l;let c=o[0],d=(0,a.getSegmentValue)(c);return!d||d.startsWith(u.PAGE_SEGMENT_KEY)?l:(l.push(d),e(o,r,!1,l))}(t.tree,e):null}function y(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===u.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97375:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return n.RedirectType},notFound:function(){return l.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(62747),l=r(50706);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41868:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return d}});let n=r(58374),l=r(10326),o=n._(r(17577)),a=r(77389),u=r(50706);r(576);let i=r(52413);class c extends o.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,u.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function d(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:u}=e,d=(0,a.usePathname)(),s=(0,o.useContext)(i.MissingSlotContext);return t?(0,l.jsx)(c,{pathname:d,notFound:t,notFoundStyles:r,asNotFound:n,missingSlots:s,children:u}):(0,l.jsx)(l.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50706:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return l},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function l(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77815:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let n=r(98285),l=r(78817);var o=l._("_maxConcurrency"),a=l._("_runningCount"),u=l._("_queue"),i=l._("_processNext");class c{enqueue(e){let t,r;let l=new Promise((e,n)=>{t=e,r=n}),o=async()=>{try{n._(this,a)[a]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,a)[a]--,n._(this,i)[i]()}};return n._(this,u)[u].push({promiseFn:l,task:o}),n._(this,i)[i](),l}bump(e){let t=n._(this,u)[u].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,u)[u].splice(t,1)[0];n._(this,u)[u].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:d}),Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),n._(this,o)[o]=e,n._(this,a)[a]=0,n._(this,u)[u]=[]}}function d(e){if(void 0===e&&(e=!1),(n._(this,a)[a]0){var t;null==(t=n._(this,u)[u].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46265:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectBoundary:function(){return d},RedirectErrorBoundary:function(){return c}});let n=r(58374),l=r(10326),o=n._(r(17577)),a=r(77389),u=r(62747);function i(e){let{redirect:t,reset:r,redirectType:n}=e,l=(0,a.useRouter)();return(0,o.useEffect)(()=>{o.default.startTransition(()=>{n===u.RedirectType.push?l.push(t,{}):l.replace(t,{}),r()})},[t,n,r,l]),null}class c extends o.default.Component{static getDerivedStateFromError(e){if((0,u.isRedirectError)(e))return{redirect:(0,u.getURLFromRedirectError)(e),redirectType:(0,u.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,l.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function d(e){let{children:t}=e,r=(0,a.useRouter)();return(0,l.jsx)(c,{router:r,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28778:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62747:(e,t,r)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return h},getRedirectTypeFromError:function(){return p},getURLFromRedirectError:function(){return f},isRedirectError:function(){return s},permanentRedirect:function(){return d},redirect:function(){return c}});let l=r(55403),o=r(47849),a=r(28778),u="NEXT_REDIRECT";function i(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(u);n.digest=u+";"+t+";"+e+";"+r+";";let o=l.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function c(e,t){void 0===t&&(t="replace");let r=o.actionAsyncStorage.getStore();throw i(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let r=o.actionAsyncStorage.getStore();throw i(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function s(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,l]=e.digest.split(";",4),o=Number(l);return t===u&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(o)&&o in a.RedirectStatusCode}function f(e){return s(e)?e.digest.split(";",3)[2]:null}function p(e){if(!s(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function h(e){if(!s(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(function(e){e.push="push",e.replace="replace"})(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84759:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(58374),l=r(10326),o=n._(r(17577)),a=r(52413);function u(){let e=(0,o.useContext)(a.TemplateContext);return(0,l.jsx)(l.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9894:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return o}});let n=r(114),l=r(19056);function o(e,t,r,o){let[a,u,i]=r.slice(-3);if(null===u)return!1;if(3===r.length){let r=u[2],l=u[3];t.loading=l,t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(t,e,a,u,i,o)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,l.fillCacheWithNewSubTreeData)(t,e,r,o);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95166:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,r,n,u){let i;let[c,d,s,f,p]=r;if(1===t.length){let e=a(r,n,t);return(0,o.addRefreshMarkerToActiveParallelSegments)(e,u),e}let[h,y]=t;if(!(0,l.matchSegment)(h,c))return null;if(2===t.length)i=a(d[y],n,t);else if(null===(i=e(t.slice(2),d[y],n,u)))return null;let _=[t[0],{...d,[y]:i},s,f];return p&&(_[4]=!0),(0,o.addRefreshMarkerToActiveParallelSegments)(_,u),_}}});let n=r(68071),l=r(70455),o=r(84158);function a(e,t,r){let[o,u]=e,[i,c]=t;if(i===n.DEFAULT_SEGMENT_KEY&&o!==n.DEFAULT_SEGMENT_KEY)return e;if((0,l.matchSegment)(o,i)){let t={};for(let e in u)void 0!==c[e]?t[e]=a(u[e],c[e],r):t[e]=u[e];for(let e in c)t[e]||(t[e]=c[e]);let n=[o,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12895:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,r,l){let o=l.length<=2,[a,u]=l,i=(0,n.createRouterCacheKey)(u),c=r.parallelRoutes.get(a),d=t.parallelRoutes.get(a);d&&d!==c||(d=new Map(c),t.parallelRoutes.set(a,d));let s=null==c?void 0:c.get(i),f=d.get(i);if(o){f&&f.lazyData&&f!==s||d.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}if(!f||!s){f||d.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}return f===s&&(f={lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),lazyDataResolved:f.lazyDataResolved,loading:f.loading},d.set(i,f)),e(f,s,l.slice(2))}}});let n=r(39886);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47326:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{computeChangedPath:function(){return d},extractPathFromFlightRouterState:function(){return c}});let n=r(87356),l=r(68071),o=r(70455),a=e=>"/"===e[0]?e.slice(1):e,u=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=a(t))||(0,l.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===l.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(l.PAGE_SEGMENT_KEY))return"";let o=[u(r)],a=null!=(t=e[1])?t:{},d=a.children?c(a.children):void 0;if(void 0!==d)o.push(d);else for(let[e,t]of Object.entries(a)){if("children"===e)continue;let r=c(t);void 0!==r&&o.push(r)}return i(o)}function d(e,t){let r=function e(t,r){let[l,a]=t,[i,d]=r,s=u(l),f=u(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>s.startsWith(e)||f.startsWith(e)))return"";if(!(0,o.matchSegment)(l,i)){var p;return null!=(p=c(r))?p:""}for(let t in a)if(d[t]){let r=e(a[t],d[t]);if(null!==r)return u(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17584:(e,t)=>{function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6199:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let n=r(17584),l=r(114),o=r(47326),a=r(79373),u=r(57767),i=r(84158);function c(e){var t;let{buildId:r,initialTree:c,initialSeedData:d,initialCanonicalUrl:s,initialParallelRoutes:f,location:p,initialHead:h,couldBeIntercepted:y}=e,_=!p,g={lazyData:null,rsc:d[2],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:_?new Map:f,lazyDataResolved:!1,loading:d[3]},b=p?(0,n.createHrefFromUrl)(p):s;(0,i.addRefreshMarkerToActiveParallelSegments)(c,b);let v=new Map;(null===f||0===f.size)&&(0,l.fillLazyItemsTillLeafWithHead)(g,void 0,c,d,h);let m={buildId:r,tree:c,cache:g,prefetchCache:v,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:b,nextUrl:null!=(t=(0,o.extractPathFromFlightRouterState)(c)||(null==p?void 0:p.pathname))?t:null};if(p){let e=new URL(""+p.pathname+p.search,p.origin),t=[["",c,null,null]];(0,a.createPrefetchCacheEntryForInitialLoad)({url:e,kind:u.PrefetchKind.AUTO,data:[t,void 0,!1,y],tree:m.tree,prefetchCache:m.prefetchCache,nextUrl:m.nextUrl})}return m}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return l}});let n=r(68071);function l(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9009:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return d}});let n=r(5138),l=r(12994),o=r(15424),a=r(57767),u=r(92165),{createFromFetch:i}=r(56493);function c(e){return[(0,l.urlToUrlWithoutFlightMarker)(e).toString(),void 0,!1,!1]}async function d(e,t,r,d,s){let f={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};s===a.PrefetchKind.AUTO&&(f[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),r&&(f[n.NEXT_URL]=r);let p=(0,u.hexHash)([f[n.NEXT_ROUTER_PREFETCH_HEADER]||"0",f[n.NEXT_ROUTER_STATE_TREE],f[n.NEXT_URL]].join(","));try{var h;let t=new URL(e);t.searchParams.set(n.NEXT_RSC_UNION_QUERY,p);let r=await fetch(t,{credentials:"same-origin",headers:f}),a=(0,l.urlToUrlWithoutFlightMarker)(r.url),u=r.redirected?a:void 0,s=r.headers.get("content-type")||"",y=!!r.headers.get(n.NEXT_DID_POSTPONE_HEADER),_=!!(null==(h=r.headers.get("vary"))?void 0:h.includes(n.NEXT_URL));if(s!==n.RSC_CONTENT_TYPE_HEADER||!r.ok)return e.hash&&(a.hash=e.hash),c(a.toString());let[g,b]=await i(Promise.resolve(r),{callServer:o.callServer});if(d!==g)return c(r.url);return[b,u,y,_]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0,!1,!1]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19056:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,r,a,u){let i=a.length<=5,[c,d]=a,s=(0,o.createRouterCacheKey)(d),f=r.parallelRoutes.get(c);if(!f)return;let p=t.parallelRoutes.get(c);p&&p!==f||(p=new Map(f),t.parallelRoutes.set(c,p));let h=f.get(s),y=p.get(s);if(i){if(!y||!y.lazyData||y===h){let e=a[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,head:null,prefetchHead:null,loading:e[3],parallelRoutes:h?new Map(h.parallelRoutes):new Map,lazyDataResolved:!1},h&&(0,n.invalidateCacheByRouterState)(y,h,a[2]),(0,l.fillLazyItemsTillLeafWithHead)(y,h,a[2],e,a[4],u),p.set(s,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,head:y.head,prefetchHead:y.prefetchHead,parallelRoutes:new Map(y.parallelRoutes),lazyDataResolved:!1,loading:y.loading},p.set(s,y)),e(y,h,a.slice(2),u))}}});let n=r(2498),l=r(114),o=r(39886);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},114:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,o,a,u,i){if(0===Object.keys(o[1]).length){t.head=u;return}for(let c in o[1]){let d;let s=o[1][c],f=s[0],p=(0,n.createRouterCacheKey)(f),h=null!==a&&void 0!==a[1][c]?a[1][c]:null;if(r){let n=r.parallelRoutes.get(c);if(n){let r;let o=(null==i?void 0:i.kind)==="auto"&&i.status===l.PrefetchCacheEntryStatus.reusable,a=new Map(n),d=a.get(p);r=null!==h?{lazyData:null,rsc:h[2],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==d?void 0:d.parallelRoutes),lazyDataResolved:!1}:o&&d?{lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved,loading:d.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==d?void 0:d.parallelRoutes),lazyDataResolved:!1,loading:null},a.set(p,r),e(r,d,s,h||null,u,i),t.parallelRoutes.set(c,a);continue}}if(null!==h){let e=h[2],t=h[3];d={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:t}}else d={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};let y=t.parallelRoutes.get(c);y?y.set(p,d):t.parallelRoutes.set(c,new Map([[p,d]])),e(d,void 0,s,h,u,i)}}}});let n=r(39886),l=r(57767);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17252:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return o}});let n=r(47326);function l(e){return void 0!==e}function o(e,t){var r,o,a;let u=null==(o=t.shouldScroll)||o,i=e.nextUrl;if(l(t.patchedTree)){let r=(0,n.computeChangedPath)(e.tree,t.patchedTree);r?i=r:i||(i=e.canonicalUrl)}return{buildId:e.buildId,canonicalUrl:l(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:l(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:l(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:l(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!u&&(!!l(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:!!t.hashFragment&&e.canonicalUrl.split("#",1)[0]===(null==(r=t.canonicalUrl)?void 0:r.split("#",1)[0]),hashFragment:u?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:u?null!=(a=null==t?void 0:t.scrollableSegments)?a:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:l(t.patchedTree)?t.patchedTree:e.tree,nextUrl:i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65652:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return l}});let n=r(20941);function l(e,t,r){return(0,n.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43193:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,r,l){let o=l.length<=2,[a,u]=l,i=(0,n.createRouterCacheKey)(u),c=r.parallelRoutes.get(a);if(!c)return;let d=t.parallelRoutes.get(a);if(d&&d!==c||(d=new Map(c),t.parallelRoutes.set(a,d)),o){d.delete(i);return}let s=c.get(i),f=d.get(i);f&&s&&(f===s&&(f={lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),lazyDataResolved:f.lazyDataResolved},d.set(i,f)),e(f,s,l.slice(2)))}}});let n=r(39886);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2498:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return l}});let n=r(39886);function l(e,t,r){for(let l in r[1]){let o=r[1][l][0],a=(0,n.createRouterCacheKey)(o),u=t.parallelRoutes.get(l);if(u){let t=new Map(u);t.delete(a),e.parallelRoutes.set(l,t)}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23772:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let n=t[0],l=r[0];if(Array.isArray(n)&&Array.isArray(l)){if(n[0]!==l[0]||n[2]!==l[2])return!0}else if(n!==l)return!0;if(t[4])return!r[4];if(r[4])return!0;let o=Object.values(t[1])[0],a=Object.values(r[1])[0];return!o||!a||e(o,a)}}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68831:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{abortTask:function(){return c},listenForDynamicRequest:function(){return u},updateCacheNodeOnNavigation:function(){return function e(t,r,u,c,d){let s=r[1],f=u[1],p=c[1],h=t.parallelRoutes,y=new Map(h),_={},g=null;for(let t in f){let r;let u=f[t],c=s[t],b=h.get(t),v=p[t],m=u[0],P=(0,o.createRouterCacheKey)(m),R=void 0!==c?c[0]:void 0,j=void 0!==b?b.get(P):void 0;if(null!==(r=m===n.PAGE_SEGMENT_KEY?a(u,void 0!==v?v:null,d):m===n.DEFAULT_SEGMENT_KEY?void 0!==c?{route:c,node:null,children:null}:a(u,void 0!==v?v:null,d):void 0!==R&&(0,l.matchSegment)(m,R)&&void 0!==j&&void 0!==c?null!=v?e(j,c,u,v,d):function(e){let t=i(e,null,null);return{route:e,node:t,children:null}}(u):a(u,void 0!==v?v:null,d))){null===g&&(g=new Map),g.set(t,r);let e=r.node;if(null!==e){let r=new Map(b);r.set(P,e),y.set(t,r)}_[t]=r.route}else _[t]=u}if(null===g)return null;let b={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:y,lazyDataResolved:!1};return{route:function(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}(u,_),node:b,children:g}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,r){let n=r[1],l=t.parallelRoutes,a=new Map(l);for(let t in n){let r=n[t],u=r[0],i=(0,o.createRouterCacheKey)(u),c=l.get(t);if(void 0!==c){let n=c.get(i);if(void 0!==n){let l=e(n,r),o=new Map(c);o.set(i,l),a.set(t,o)}}}let u=t.rsc,i=f(u)&&"pending"===u.status;return{lazyData:null,rsc:u,head:t.head,prefetchHead:i?t.prefetchHead:null,prefetchRsc:i?t.prefetchRsc:null,loading:i?t.loading:null,parallelRoutes:a,lazyDataResolved:!1}}}});let n=r(68071),l=r(70455),o=r(39886);function a(e,t,r){let n=i(e,t,r);return{route:e,node:n,children:null}}function u(e,t){t.then(t=>{for(let r of t[0]){let t=r.slice(0,-3),n=r[r.length-3],a=r[r.length-2],u=r[r.length-1];"string"!=typeof t&&function(e,t,r,n,a){let u=e;for(let e=0;e{c(e,t)})}function i(e,t,r){let n=e[1],l=null!==t?t[1]:null,a=new Map;for(let e in n){let t=n[e],u=null!==l?l[e]:null,c=t[0],d=(0,o.createRouterCacheKey)(c),s=i(t,void 0===u?null:u,r),f=new Map;f.set(d,s),a.set(e,f)}let u=0===a.size,c=null!==t?t[2]:null,d=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:a,prefetchRsc:void 0!==c?c:null,prefetchHead:u?r:null,loading:void 0!==d?d:null,rsc:p(),head:u?p():null,lazyDataResolved:!1}}function c(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)d(e.route,r,t);else for(let e of n.values())c(e,t);e.node=null}function d(e,t,r){let n=e[1],l=t.parallelRoutes;for(let e in n){let t=n[e],a=l.get(e);if(void 0===a)continue;let u=t[0],i=(0,o.createRouterCacheKey)(u),c=a.get(i);void 0!==c&&d(t,c,r)}let a=t.rsc;f(a)&&(null===r?a.resolve(null):a.reject(r));let u=t.head;f(u)&&u.resolve(null)}let s=Symbol();function f(e){return e&&e.tag===s}function p(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=s,r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79373:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createPrefetchCacheEntryForInitialLoad:function(){return c},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return s}});let n=r(17584),l=r(9009),o=r(57767),a=r(61156);function u(e,t){let r=(0,n.createHrefFromUrl)(e,!1);return t?t+"%"+r:r}function i(e){let t,{url:r,nextUrl:n,tree:l,buildId:a,prefetchCache:i,kind:c}=e,s=u(r,n),f=i.get(s);if(f)t=f;else{let e=u(r),n=i.get(e);n&&(t=n)}return t?(t.status=h(t),t.kind!==o.PrefetchKind.FULL&&c===o.PrefetchKind.FULL)?d({tree:l,url:r,buildId:a,nextUrl:n,prefetchCache:i,kind:null!=c?c:o.PrefetchKind.TEMPORARY}):(c&&t.kind===o.PrefetchKind.TEMPORARY&&(t.kind=c),t):d({tree:l,url:r,buildId:a,nextUrl:n,prefetchCache:i,kind:c||o.PrefetchKind.TEMPORARY})}function c(e){let{nextUrl:t,tree:r,prefetchCache:n,url:l,kind:a,data:i}=e,[,,,c]=i,d=c?u(l,t):u(l),s={treeAtTimeOfPrefetch:r,data:Promise.resolve(i),kind:a,prefetchTime:Date.now(),lastUsedTime:Date.now(),key:d,status:o.PrefetchCacheEntryStatus.fresh};return n.set(d,s),s}function d(e){let{url:t,kind:r,tree:n,nextUrl:i,buildId:c,prefetchCache:d}=e,s=u(t),f=a.prefetchQueue.enqueue(()=>(0,l.fetchServerResponse)(t,n,i,c,r).then(e=>{let[,,,r]=e;return r&&function(e){let{url:t,nextUrl:r,prefetchCache:n}=e,l=u(t),o=n.get(l);if(!o)return;let a=u(t,r);n.set(a,o),n.delete(l)}({url:t,nextUrl:i,prefetchCache:d}),e})),p={treeAtTimeOfPrefetch:n,data:f,kind:r,prefetchTime:Date.now(),lastUsedTime:null,key:s,status:o.PrefetchCacheEntryStatus.fresh};return d.set(s,p),p}function s(e){for(let[t,r]of e)h(r)===o.PrefetchCacheEntryStatus.expired&&e.delete(t)}let f=1e3*Number("30"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:r,lastUsedTime:n}=e;return Date.now()<(null!=n?n:r)+f?n?o.PrefetchCacheEntryStatus.reusable:o.PrefetchCacheEntryStatus.fresh:"auto"===t&&Date.now(){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fastRefreshReducer",{enumerable:!0,get:function(){return n}}),r(9009),r(17584),r(95166),r(23772),r(20941),r(17252),r(9894),r(12994),r(65652),r(45262);let n=function(e,t){return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22492:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return l}});let n=r(39886);function l(e,t){return function e(t,r,l){if(0===Object.keys(r).length)return[t,l];for(let o in r){let[a,u]=r[o],i=t.parallelRoutes.get(o);if(!i)continue;let c=(0,n.createRouterCacheKey)(a),d=i.get(c);if(!d)continue;let s=e(d,u,l+"/"+c);if(s)return s}return null}(e,t,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62162:(e,t)=>{function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45262:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e(t){let[r,l]=t;if(Array.isArray(r)&&("di"===r[2]||"ci"===r[2])||"string"==typeof r&&(0,n.isInterceptionRouteAppPath)(r))return!0;if(l){for(let t in l)if(e(l[t]))return!0}return!1}}});let n=r(87356);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20941:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return _},navigateReducer:function(){return b}}),r(9009);let n=r(17584),l=r(43193),o=r(95166),a=r(54614),u=r(23772),i=r(57767),c=r(17252),d=r(9894),s=r(61156),f=r(12994),p=r(68071),h=(r(68831),r(79373)),y=r(12895);function _(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,c.handleMutable)(e,t)}function g(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,l]of Object.entries(n))for(let n of g(l))""===r?t.push([e,...n]):t.push([r,e,...n]);return t}let b=function(e,t){let{url:r,isExternalUrl:b,navigateType:v,shouldScroll:m}=t,P={},{hash:R}=r,j=(0,n.createHrefFromUrl)(r),O="push"===v;if((0,h.prunePrefetchCache)(e.prefetchCache),P.preserveCustomHistoryState=!1,b)return _(e,P,r.toString(),O);let S=(0,h.getOrCreatePrefetchCacheEntry)({url:r,nextUrl:e.nextUrl,tree:e.tree,buildId:e.buildId,prefetchCache:e.prefetchCache}),{treeAtTimeOfPrefetch:E,data:M}=S;return s.prefetchQueue.bump(M),M.then(t=>{let[r,s]=t,h=!1;if(S.lastUsedTime||(S.lastUsedTime=Date.now(),h=!0),"string"==typeof r)return _(e,P,r,O);if(document.getElementById("__next-page-redirect"))return _(e,P,j,O);let b=e.tree,v=e.cache,M=[];for(let t of r){let r=t.slice(0,-4),n=t.slice(-3)[0],c=["",...r],s=(0,o.applyRouterStatePatchToTree)(c,b,n,j);if(null===s&&(s=(0,o.applyRouterStatePatchToTree)(c,E,n,j)),null!==s){if((0,u.isNavigatingToNewRootLayout)(b,s))return _(e,P,j,O);let o=(0,f.createEmptyCacheNode)(),m=!1;for(let e of(S.status!==i.PrefetchCacheEntryStatus.stale||h?m=(0,d.applyFlightData)(v,o,t,S):(m=function(e,t,r,n){let l=!1;for(let o of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),g(n).map(e=>[...r,...e])))(0,y.clearCacheNodeDataForSegmentPath)(e,t,o),l=!0;return l}(o,v,r,n),S.lastUsedTime=Date.now()),(0,a.shouldHardNavigate)(c,b)?(o.rsc=v.rsc,o.prefetchRsc=v.prefetchRsc,(0,l.invalidateCacheBelowFlightSegmentPath)(o,v,r),P.cache=o):m&&(P.cache=o,v=o),b=s,g(n))){let t=[...r,...e];t[t.length-1]!==p.DEFAULT_SEGMENT_KEY&&M.push(t)}}}return P.patchedTree=b,P.canonicalUrl=s?(0,n.createHrefFromUrl)(s):j,P.pendingPush=O,P.scrollableSegments=M,P.hashFragment=R,P.shouldScroll=m,(0,c.handleMutable)(e,P)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61156:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return a},prefetchReducer:function(){return u}});let n=r(5138),l=r(77815),o=r(79373),a=new l.PromiseQueue(5);function u(e,t){(0,o.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;return r.searchParams.delete(n.NEXT_RSC_UNION_QUERY),(0,o.getOrCreatePrefetchCacheEntry)({url:r,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69809:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let n=r(9009),l=r(17584),o=r(95166),a=r(23772),u=r(20941),i=r(17252),c=r(114),d=r(12994),s=r(65652),f=r(45262),p=r(84158);function h(e,t){let{origin:r}=t,h={},y=e.canonicalUrl,_=e.tree;h.preserveCustomHistoryState=!1;let g=(0,d.createEmptyCacheNode)(),b=(0,f.hasInterceptionRouteInCurrentTree)(e.tree);return g.lazyData=(0,n.fetchServerResponse)(new URL(y,r),[_[0],_[1],_[2],"refetch"],b?e.nextUrl:null,e.buildId),g.lazyData.then(async r=>{let[n,d]=r;if("string"==typeof n)return(0,u.handleExternalUrl)(e,h,n,e.pushRef.pendingPush);for(let r of(g.lazyData=null,n)){if(3!==r.length)return console.log("REFRESH FAILED"),e;let[n]=r,i=(0,o.applyRouterStatePatchToTree)([""],_,n,e.canonicalUrl);if(null===i)return(0,s.handleSegmentMismatch)(e,t,n);if((0,a.isNavigatingToNewRootLayout)(_,i))return(0,u.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let f=d?(0,l.createHrefFromUrl)(d):void 0;d&&(h.canonicalUrl=f);let[v,m]=r.slice(-2);if(null!==v){let e=v[2];g.rsc=e,g.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(g,void 0,n,v,m),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:i,updatedCache:g,includeNextUrl:b,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=g,h.patchedTree=i,h.canonicalUrl=y,_=i}return(0,i.handleMutable)(e,h)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85608:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return o}});let n=r(17584),l=r(47326);function o(e,t){var r;let{url:o,tree:a}=t,u=(0,n.createHrefFromUrl)(o),i=a||e.tree,c=e.cache;return{buildId:e.buildId,canonicalUrl:u,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:c,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(r=(0,l.extractPathFromFlightRouterState)(i))?r:o.pathname}}r(68831),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25240:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return v}});let n=r(15424),l=r(5138),o=r(3486),a=r(17584),u=r(20941),i=r(95166),c=r(23772),d=r(17252),s=r(114),f=r(12994),p=r(45262),h=r(65652),y=r(84158),{createFromFetch:_,encodeReply:g}=r(56493);async function b(e,t,r){let a,{actionId:u,actionArgs:i}=r,c=await g(i),d=await fetch("",{method:"POST",headers:{Accept:l.RSC_CONTENT_TYPE_HEADER,[l.ACTION]:u,[l.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...t?{[l.NEXT_URL]:t}:{}},body:c}),s=d.headers.get("x-action-redirect");try{let e=JSON.parse(d.headers.get("x-action-revalidated")||"[[],0,0]");a={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){a={paths:[],tag:!1,cookie:!1}}let f=s?new URL((0,o.addBasePath)(s),new URL(e.canonicalUrl,window.location.href)):void 0;if(d.headers.get("content-type")===l.RSC_CONTENT_TYPE_HEADER){let e=await _(Promise.resolve(d),{callServer:n.callServer});if(s){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:f,revalidatedParts:a}}let[t,[,r]]=null!=e?e:[];return{actionResult:t,actionFlightData:r,redirectLocation:f,revalidatedParts:a}}return{redirectLocation:f,revalidatedParts:a}}function v(e,t){let{resolve:r,reject:n}=t,l={},o=e.canonicalUrl,_=e.tree;l.preserveCustomHistoryState=!1;let g=e.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return l.inFlightServerAction=b(e,g,t),l.inFlightServerAction.then(async n=>{let{actionResult:p,actionFlightData:b,redirectLocation:v}=n;if(v&&(e.pushRef.pendingPush=!0,l.pendingPush=!0),!b)return(r(p),v)?(0,u.handleExternalUrl)(e,l,v.href,e.pushRef.pendingPush):e;if("string"==typeof b)return(0,u.handleExternalUrl)(e,l,b,e.pushRef.pendingPush);if(l.inFlightServerAction=null,v){let e=(0,a.createHrefFromUrl)(v,!1);l.canonicalUrl=e}for(let r of b){if(3!==r.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[n]=r,d=(0,i.applyRouterStatePatchToTree)([""],_,n,v?(0,a.createHrefFromUrl)(v):e.canonicalUrl);if(null===d)return(0,h.handleSegmentMismatch)(e,t,n);if((0,c.isNavigatingToNewRootLayout)(_,d))return(0,u.handleExternalUrl)(e,l,o,e.pushRef.pendingPush);let[p,b]=r.slice(-2),m=null!==p?p[2]:null;if(null!==m){let t=(0,f.createEmptyCacheNode)();t.rsc=m,t.prefetchRsc=null,(0,s.fillLazyItemsTillLeafWithHead)(t,void 0,n,p,b),await (0,y.refreshInactiveParallelSegments)({state:e,updatedTree:d,updatedCache:t,includeNextUrl:!!g,canonicalUrl:l.canonicalUrl||e.canonicalUrl}),l.cache=t,l.prefetchCache=new Map}l.patchedTree=d,_=d}return r(p),(0,d.handleMutable)(e,l)},t=>(n(t),e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14025:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return s}});let n=r(17584),l=r(95166),o=r(23772),a=r(20941),u=r(9894),i=r(17252),c=r(12994),d=r(65652);function s(e,t){let{serverResponse:r}=t,[s,f]=r,p={};if(p.preserveCustomHistoryState=!1,"string"==typeof s)return(0,a.handleExternalUrl)(e,p,s,e.pushRef.pendingPush);let h=e.tree,y=e.cache;for(let r of s){let i=r.slice(0,-4),[s]=r.slice(-3,-2),_=(0,l.applyRouterStatePatchToTree)(["",...i],h,s,e.canonicalUrl);if(null===_)return(0,d.handleSegmentMismatch)(e,t,s);if((0,o.isNavigatingToNewRootLayout)(h,_))return(0,a.handleExternalUrl)(e,p,e.canonicalUrl,e.pushRef.pendingPush);let g=f?(0,n.createHrefFromUrl)(f):void 0;g&&(p.canonicalUrl=g);let b=(0,c.createEmptyCacheNode)();(0,u.applyFlightData)(y,b,r),p.patchedTree=_,p.cache=b,y=b,h=_}return(0,i.handleMutable)(e,p)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84158:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,r){let[n,l,,a]=t;for(let u in n.includes(o.PAGE_SEGMENT_KEY)&&"refresh"!==a&&(t[2]=r,t[3]="refresh"),l)e(l[u],r)}},refreshInactiveParallelSegments:function(){return a}});let n=r(9894),l=r(9009),o=r(68071);async function a(e){let t=new Set;await u({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function u(e){let{state:t,updatedTree:r,updatedCache:o,includeNextUrl:a,fetchedSegments:i,rootTree:c=r,canonicalUrl:d}=e,[,s,f,p]=r,h=[];if(f&&f!==d&&"refresh"===p&&!i.has(f)){i.add(f);let e=(0,l.fetchServerResponse)(new URL(f,location.origin),[c[0],c[1],c[2],"refetch"],a?t.nextUrl:null,t.buildId).then(e=>{let t=e[0];if("string"!=typeof t)for(let e of t)(0,n.applyFlightData)(o,o,e)});h.push(e)}for(let e in s){let r=u({state:t,updatedTree:s[e],updatedCache:o,includeNextUrl:a,fetchedSegments:i,rootTree:c,canonicalUrl:d});h.push(r)}await Promise.all(h)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57767:(e,t)=>{var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return c},ACTION_NAVIGATE:function(){return o},ACTION_PREFETCH:function(){return i},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return s}});let l="refresh",o="navigate",a="restore",u="server-patch",i="prefetch",c="fast-refresh",d="server-action";function s(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"})(r||(r={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83860:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return n}}),r(57767),r(20941),r(14025),r(85608),r(69809),r(61156),r(95703),r(25240);let n=function(e,t){return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[l,o]=r,[a,u]=t;return(0,n.matchSegment)(a,l)?!(t.length<=2)&&e(t.slice(2),o[u]):!!Array.isArray(a)}}});let n=r(70455);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createDynamicallyTrackedSearchParams:function(){return u},createUntrackedSearchParams:function(){return a}});let n=r(94749),l=r(52846),o=r(22255);function a(e){let t=n.staticGenerationAsyncStorage.getStore();return t&&t.forceStatic?{}:e}function u(e){let t=n.staticGenerationAsyncStorage.getStore();return t?t.forceStatic?{}:t.isStaticGeneration||t.dynamicShouldError?new Proxy({},{get:(e,r,n)=>("string"==typeof r&&(0,l.trackDynamicDataAccessed)(t,"searchParams."+r),o.ReflectAdapter.get(e,r,n)),has:(e,r)=>("string"==typeof r&&(0,l.trackDynamicDataAccessed)(t,"searchParams."+r),Reflect.has(e,r)),ownKeys:e=>((0,l.trackDynamicDataAccessed)(t,"searchParams"),Reflect.ownKeys(e))}):e:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86488:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return l}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function l(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39519:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return r}});let r={then:()=>{}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77326:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useReducerWithReduxDevtools:function(){return u},useUnwrapState:function(){return a}});let n=r(58374)._(r(17577)),l=r(57767);function o(e){if(e instanceof Map){let t={};for(let[r,n]of e.entries()){if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n._bundlerConfig){t[r]="FlightData";continue}}t[r]=o(n)}return t}if("object"==typeof e&&null!==e){let t={};for(let r in e){let n=e[r];if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n.hasOwnProperty("_bundlerConfig")){t[r]="FlightData";continue}}t[r]=o(n)}return t}return Array.isArray(e)?e.map(o):e}function a(e){return(0,l.isThenable)(e)?(0,n.use)(e):e}r(33879);let u=function(e){return[e,()=>{},()=>{}]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37929:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return l}});let n=r(34655);function l(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23658:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=r(83236),l=r(93067),o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,l.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+o};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74237:(e,t,r)=>{function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(37929),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56401:(e,t)=>{function r(e){return new URL(e,"http://n").pathname}function n(e){return/https?:\/\//.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getPathname:function(){return r},isFullStringUrl:function(){return n}})},52846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return s},createPostponedAbortSignal:function(){return g},createPrerenderState:function(){return i},formatDynamicAPIAccesses:function(){return y},markCurrentScopeAsDynamic:function(){return c},trackDynamicDataAccessed:function(){return d},trackDynamicFetch:function(){return f},usedDynamicAPIs:function(){return h}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(17577)),l=r(70442),o=r(86488),a=r(56401),u="function"==typeof n.default.unstable_postpone;function i(e){return{isDebugSkeleton:e,dynamicAccesses:[]}}function c(e,t){let r=(0,a.getPathname)(e.urlPathname);if(!e.isUnstableCacheCallback){if(e.dynamicShouldError)throw new o.StaticGenBailoutError(`Route ${r} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)p(e.prerenderState,t,r);else if(e.revalidate=0,e.isStaticGeneration){let n=new l.DynamicServerError(`Route ${r} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=n.stack,n}}}function d(e,t){let r=(0,a.getPathname)(e.urlPathname);if(e.isUnstableCacheCallback)throw Error(`Route ${r} used "${t}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${t}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(e.dynamicShouldError)throw new o.StaticGenBailoutError(`Route ${r} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)p(e.prerenderState,t,r);else if(e.revalidate=0,e.isStaticGeneration){let n=new l.DynamicServerError(`Route ${r} couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=n.stack,n}}function s({reason:e,prerenderState:t,pathname:r}){p(t,e,r)}function f(e,t){e.prerenderState&&p(e.prerenderState,t,e.urlPathname)}function p(e,t,r){_();let l=`Route ${r} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;e.dynamicAccesses.push({stack:e.isDebugSkeleton?Error().stack:void 0,expression:t}),n.default.unstable_postpone(l)}function h(e){return e.dynamicAccesses.length>0}function y(e){return e.dynamicAccesses.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: +${t}`))}function _(){if(!u)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function g(e){_();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}},92357:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return l}});let n=r(87356);function l(e){let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?"catchall-intercepted":"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?"dynamic-intercepted":"dynamic",param:e.slice(1,-1)}:null}},87356:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return l},extractInterceptionRouteInformation:function(){return a},isInterceptionRouteAppPath:function(){return o}});let n=r(72862),l=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>l.find(t=>e.startsWith(t)))}function a(e){let t,r,o;for(let n of e.split("/"))if(r=l.find(e=>n.startsWith(e))){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=a.slice(0,-2).concat(o).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},81616:(e,t,r)=>{e.exports=r(20399)},52413:(e,t,r)=>{e.exports=r(81616).vendored.contexts.AppRouterContext},97008:(e,t,r)=>{e.exports=r(81616).vendored.contexts.HooksClientContext},93347:(e,t,r)=>{e.exports=r(81616).vendored.contexts.ServerInsertedHtml},60962:(e,t,r)=>{e.exports=r(81616).vendored["react-ssr"].ReactDOM},10326:(e,t,r)=>{e.exports=r(81616).vendored["react-ssr"].ReactJsxRuntime},56493:(e,t,r)=>{e.exports=r(81616).vendored["react-ssr"].ReactServerDOMWebpackClientEdge},17577:(e,t,r)=>{e.exports=r(81616).vendored["react-ssr"].React},22255:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},92165:(e,t)=>{function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},94129:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return l}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function l(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},36058:(e,t)=>{function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},33879:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ActionQueueContext:function(){return u},createMutableActionQueue:function(){return d}});let n=r(58374),l=r(57767),o=r(83860),a=n._(r(17577)),u=a.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?c({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:l.ACTION_REFRESH,origin:window.location.origin},t)))}async function c(e){let{actionQueue:t,action:r,setState:n}=e,o=t.state;if(!o)throw Error("Invariant: Router state not initialized");t.pending=r;let a=r.payload,u=t.action(o,a);function c(e){r.discarded||(t.state=e,t.devToolsInstance&&t.devToolsInstance.send(a,e),i(t,n),r.resolve(e))}(0,l.isThenable)(u)?u.then(c,e=>{i(t,n),r.reject(e)}):c(u)}function d(){let e={state:null,dispatch:(t,r)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==l.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,a.startTransition)(()=>{r(e)})}let o={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=o,c({actionQueue:e,action:o,setState:r})):t.type===l.ACTION_NAVIGATE||t.type===l.ACTION_RESTORE?(e.pending.discarded=!0,e.last=o,e.pending.payload.type===l.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:o,setState:r})):(null!==e.last&&(e.last.next=o),e.last=o)})(e,t,r),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,o.reducer)(e,t)},pending:null,last:null};return e}},8974:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return l}});let n=r(93067);function l(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:l,hash:o}=(0,n.parsePath)(e);return""+t+r+l+o}},72862:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return o},normalizeRscURL:function(){return a}});let n=r(36058),l=r(68071);function o(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,l.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function a(e){return e.replace(/\.rsc($|\?)/,"$1")}},79976:(e,t)=>{function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},32148:(e,t)=>{function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},93067:(e,t)=>{function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},34655:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return l}});let n=r(93067);function l(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},83236:(e,t)=>{function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},68071:(e,t)=>{function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return l},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});let n="__PAGE__",l="__DEFAULT__"},576:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},68570:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createProxy",{enumerable:!0,get:function(){return n}});let n=r(51749).createClientModuleProxy},59943:(e,t,r)=>{let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/app-router.js")},53144:(e,t,r)=>{let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/client-page.js")},37922:(e,t,r)=>{let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/error-boundary.js")},95106:(e,t,r)=>{let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/layout-router.js")},60525:(e,t,r)=>{let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/not-found-boundary.js")},35866:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r(53370);let n=r(19510);r(71159);let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function o(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("title",{children:"404: This page could not be found."}),(0,n.jsx)("div",{style:l.error,children:(0,n.jsxs)("div",{children:[(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,n.jsx)("h1",{className:"next-error-h1",style:l.h1,children:"404"}),(0,n.jsx)("div",{style:l.desc,children:(0,n.jsx)("h2",{style:l.h2,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84892:(e,t,r)=>{let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/components/render-from-template-context.js")},79181:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createDynamicallyTrackedSearchParams:function(){return u},createUntrackedSearchParams:function(){return a}});let n=r(45869),l=r(6278),o=r(38238);function a(e){let t=n.staticGenerationAsyncStorage.getStore();return t&&t.forceStatic?{}:e}function u(e){let t=n.staticGenerationAsyncStorage.getStore();return t?t.forceStatic?{}:t.isStaticGeneration||t.dynamicShouldError?new Proxy({},{get:(e,r,n)=>("string"==typeof r&&(0,l.trackDynamicDataAccessed)(t,"searchParams."+r),o.ReflectAdapter.get(e,r,n)),has:(e,r)=>("string"==typeof r&&(0,l.trackDynamicDataAccessed)(t,"searchParams."+r),Reflect.has(e,r)),ownKeys:e=>((0,l.trackDynamicDataAccessed)(t,"searchParams"),Reflect.ownKeys(e))}):e:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95231:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouter:function(){return l.default},ClientPageRoot:function(){return d.ClientPageRoot},LayoutRouter:function(){return o.default},NotFoundBoundary:function(){return p.NotFoundBoundary},Postpone:function(){return _.Postpone},RenderFromTemplateContext:function(){return a.default},actionAsyncStorage:function(){return c.actionAsyncStorage},createDynamicallyTrackedSearchParams:function(){return s.createDynamicallyTrackedSearchParams},createUntrackedSearchParams:function(){return s.createUntrackedSearchParams},decodeAction:function(){return n.decodeAction},decodeFormState:function(){return n.decodeFormState},decodeReply:function(){return n.decodeReply},patchFetch:function(){return m},preconnect:function(){return y.preconnect},preloadFont:function(){return y.preloadFont},preloadStyle:function(){return y.preloadStyle},renderToReadableStream:function(){return n.renderToReadableStream},requestAsyncStorage:function(){return i.requestAsyncStorage},serverHooks:function(){return f},staticGenerationAsyncStorage:function(){return u.staticGenerationAsyncStorage},taintObjectReference:function(){return g.taintObjectReference}});let n=r(51749),l=b(r(59943)),o=b(r(95106)),a=b(r(84892)),u=r(45869),i=r(54580),c=r(72934),d=r(53144),s=r(79181),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=v(void 0);if(r&&r.has(e))return r.get(e);var n={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=l?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(44789)),p=r(60525),h=r(60670);r(37922);let y=r(20135),_=r(49257),g=r(526);function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(v=function(e){return e?r:t})(e)}function m(){return(0,h.patchFetch)({serverHooks:f,staticGenerationAsyncStorage:u.staticGenerationAsyncStorage})}},49257:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Postpone",{enumerable:!0,get:function(){return n.Postpone}});let n=r(6278)},20135:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{preconnect:function(){return a},preloadFont:function(){return o},preloadStyle:function(){return l}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(97049));function l(e,t){let r={as:"style"};"string"==typeof t&&(r.crossOrigin=t),n.default.preload(e,r)}function o(e,t,r){let l={as:"font",type:t};"string"==typeof r&&(l.crossOrigin=r),n.default.preload(e,l)}function a(e,t){n.default.preconnect(e,"string"==typeof t?{crossOrigin:t}:void 0)}},526:(e,t,r)=>{function n(){throw Error("Taint can only be used with the taint flag.")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{taintObjectReference:function(){return l},taintUniqueValue:function(){return o}}),r(71159);let l=n,o=n},97049:(e,t,r)=>{e.exports=r(23191).vendored["react-rsc"].ReactDOM},19510:(e,t,r)=>{e.exports=r(23191).vendored["react-rsc"].ReactJsxRuntime},51749:(e,t,r)=>{e.exports=r(23191).vendored["react-rsc"].ReactServerDOMWebpackServerEdge},98285:(e,t,r)=>{function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:()=>n,_class_private_field_loose_base:()=>n})},78817:(e,t,r)=>{r.r(t),r.d(t,{_:()=>l,_class_private_field_loose_key:()=>l});var n=0;function l(e){return"__private_"+n+++"_"+e}},91174:(e,t,r)=>{function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n,_interop_require_default:()=>n})},58374:(e,t,r)=>{function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var l={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(l,a,u):l[a]=e[a]}return l.default=e,r&&r.set(e,l),l}r.r(t),r.d(t,{_:()=>l,_interop_require_wildcard:()=>l})},53370:(e,t,r)=>{function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n,_interop_require_default:()=>n})}}; \ No newline at end of file diff --git a/server/chunks/525.js b/server/chunks/525.js new file mode 100644 index 0000000000000000000000000000000000000000..5df4fd42f790259eae6f23ebc44aab8e24c6b0c2 --- /dev/null +++ b/server/chunks/525.js @@ -0,0 +1,6 @@ +"use strict";exports.id=525,exports.ids=[525],exports.modules={20344:(e,a,p)=>{var d,t=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,r={};((e,a)=>{for(var p in a)t(e,p,{get:a[p],enumerable:!0})})(r,{createBrowserSupabaseClient:()=>V,createClientComponentClient:()=>m,createMiddlewareClient:()=>_,createMiddlewareSupabaseClient:()=>C,createPagesBrowserClient:()=>n,createPagesServerClient:()=>v,createRouteHandlerClient:()=>D,createServerActionClient:()=>k,createServerComponentClient:()=>S,createServerSupabaseClient:()=>A}),e.exports=((e,a,p,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let r of s(a))l.call(e,r)||r===p||t(e,r,{get:()=>a[r],enumerable:!(d=i(a,r))||d.enumerable});return e})(t({},"__esModule",{value:!0}),r);var o=p(16191);function m({supabaseUrl:e="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:a="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:p,cookieOptions:t,isSingleton:i=!0}={}){if(!e||!a)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");let s=()=>{var d;return(0,o.createSupabaseClient)(e,a,{...p,global:{...null==p?void 0:p.global,headers:{...null==(d=null==p?void 0:p.global)?void 0:d.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==t?void 0:t.name,storage:new o.BrowserCookieAuthStorageAdapter(t)}})};if(i){let e=d??s();return"undefined"==typeof window?e:(d||(d=e),d)}return s()}var n=m,u=p(16191),h=p(82338),c=class extends u.CookieAuthStorageAdapter{constructor(e,a){super(a),this.context=e}getCookie(e){var a;return(0,h.splitCookiesString)((null==(a=this.context.res.getHeader("set-cookie"))?void 0:a.toString())??"").map(a=>(0,u.parseCookies)(a)[e]).find(e=>!!e)??this.context.req.cookies[e]}setCookie(e,a){this._setCookie(e,a)}deleteCookie(e){this._setCookie(e,"",{maxAge:0})}_setCookie(e,a,p){var d;let t=(0,h.splitCookiesString)((null==(d=this.context.res.getHeader("set-cookie"))?void 0:d.toString())??"").filter(a=>!(e in(0,u.parseCookies)(a))),i=(0,u.serializeCookie)(e,a,{...this.cookieOptions,...p,httpOnly:!1});this.context.res.setHeader("set-cookie",[...t,i])}};function v(e,{supabaseUrl:a="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:p="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:d,cookieOptions:t}={}){var i;if(!a||!p)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,u.createSupabaseClient)(a,p,{...d,global:{...null==d?void 0:d.global,headers:{...null==(i=null==d?void 0:d.global)?void 0:i.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==t?void 0:t.name,storage:new c(e,t)}})}var f=p(16191),w=p(82338),g=class extends f.CookieAuthStorageAdapter{constructor(e,a){super(a),this.context=e}getCookie(e){var a;return(0,w.splitCookiesString)((null==(a=this.context.res.headers.get("set-cookie"))?void 0:a.toString())??"").map(a=>(0,f.parseCookies)(a)[e]).find(e=>!!e)||(0,f.parseCookies)(this.context.req.headers.get("cookie")??"")[e]}setCookie(e,a){this._setCookie(e,a)}deleteCookie(e){this._setCookie(e,"",{maxAge:0})}_setCookie(e,a,p){let d=(0,f.serializeCookie)(e,a,{...this.cookieOptions,...p,httpOnly:!1});this.context.res.headers&&(this.context.res.headers.append("set-cookie",d),this.context.res.headers.append("cookie",d))}};function _(e,{supabaseUrl:a="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:p="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:d,cookieOptions:t}={}){var i;if(!a||!p)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,f.createSupabaseClient)(a,p,{...d,global:{...null==d?void 0:d.global,headers:{...null==(i=null==d?void 0:d.global)?void 0:i.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==t?void 0:t.name,storage:new g(e,t)}})}var y=p(16191),b=class extends y.CookieAuthStorageAdapter{constructor(e,a){super(a),this.context=e}getCookie(e){var a;return null==(a=this.context.cookies().get(e))?void 0:a.value}setCookie(e,a){}deleteCookie(e){}};function S(e,{supabaseUrl:a="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:p="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:d,cookieOptions:t}={}){var i;if(!a||!p)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,y.createSupabaseClient)(a,p,{...d,global:{...null==d?void 0:d.global,headers:{...null==(i=null==d?void 0:d.global)?void 0:i.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==t?void 0:t.name,storage:new b(e,t)}})}var N=p(16191),T=class extends N.CookieAuthStorageAdapter{constructor(e,a){super(a),this.context=e}getCookie(e){var a;return null==(a=this.context.cookies().get(e))?void 0:a.value}setCookie(e,a){this.context.cookies().set(e,a,this.cookieOptions)}deleteCookie(e){this.context.cookies().set(e,"",{maxAge:0})}};function D(e,{supabaseUrl:a="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:p="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:d,cookieOptions:t}={}){var i;if(!a||!p)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,N.createSupabaseClient)(a,p,{...d,global:{...null==d?void 0:d.global,headers:{...null==(i=null==d?void 0:d.global)?void 0:i.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==t?void 0:t.name,storage:new T(e,t)}})}var k=D;function V({supabaseUrl:e="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:a="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:p,cookieOptions:d}={}){return console.warn("Please utilize the `createPagesBrowserClient` function instead of the deprecated `createBrowserSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages"),n({supabaseUrl:e,supabaseKey:a,options:p,cookieOptions:d})}function A(e,{supabaseUrl:a="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:p="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:d,cookieOptions:t}={}){return console.warn("Please utilize the `createPagesServerClient` function instead of the deprecated `createServerSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages"),v(e,{supabaseUrl:a,supabaseKey:p,options:d,cookieOptions:t})}function C(e,{supabaseUrl:a="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:p="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:d,cookieOptions:t}={}){return console.warn("Please utilize the `createMiddlewareClient` function instead of the deprecated `createMiddlewareSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#middleware"),_(e,{supabaseUrl:a,supabaseKey:p,options:d,cookieOptions:t})}},63888:(e,a,p)=>{function d(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(a,"__esModule",{value:!0});var t=d(p(12781)),i=d(p(13685)),s=d(p(57310)),l=d(p(64326)),r=d(p(95687)),o=d(p(59796));let m=t.Readable,n=Symbol("buffer"),u=Symbol("type");class h{constructor(){this[u]="";let e=arguments[0],a=arguments[1],p=[];if(e){let a=Number(e.length);for(let d=0;d1&&void 0!==arguments[1]?arguments[1]:{},d=p.size,i=p.timeout;null==e?e=null:_(e)?e=Buffer.from(e.toString()):y(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof t||(e=Buffer.from(String(e)))),this[v]={body:e,disturbed:!1,error:null},this.size=void 0===d?0:d,this.timeout=void 0===i?0:i,e instanceof t&&e.on("error",function(e){let p="AbortError"===e.name?e:new c(`Invalid response body while trying to fetch ${a.url}: ${e.message}`,"system",e);a[v].error=p})}function g(){var e=this;if(this[v].disturbed)return w.Promise.reject(TypeError(`body used already for: ${this.url}`));if(this[v].disturbed=!0,this[v].error)return w.Promise.reject(this[v].error);let a=this.body;if(null===a)return w.Promise.resolve(Buffer.alloc(0));if(y(a)&&(a=a.stream()),Buffer.isBuffer(a))return w.Promise.resolve(a);if(!(a instanceof t))return w.Promise.resolve(Buffer.alloc(0));let p=[],d=0,i=!1;return new w.Promise(function(t,s){let l;e.timeout&&(l=setTimeout(function(){i=!0,s(new c(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)),a.on("error",function(a){"AbortError"===a.name?(i=!0,s(a)):s(new c(`Invalid response body while trying to fetch ${e.url}: ${a.message}`,"system",a))}),a.on("data",function(a){if(!i&&null!==a){if(e.size&&d+a.length>e.size){i=!0,s(new c(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}d+=a.length,p.push(a)}}),a.on("end",function(){if(!i){clearTimeout(l);try{t(Buffer.concat(p,d))}catch(a){s(new c(`Could not create Buffer from response body for ${e.url}: ${a.message}`,"system",a))}}})})}function _(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function y(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function b(e){let a,p;let d=e.body;if(e.bodyUsed)throw Error("cannot clone body after it is used");return d instanceof t&&"function"!=typeof d.getBoundary&&(a=new f,p=new f,d.pipe(a),d.pipe(p),e[v].body=a,d=p),d}function S(e){if(null===e)return null;if("string"==typeof e)return"text/plain;charset=UTF-8";if(_(e))return"application/x-www-form-urlencoded;charset=UTF-8";if(y(e))return e.type||null;if(Buffer.isBuffer(e))return null;if("[object ArrayBuffer]"===Object.prototype.toString.call(e))return null;if(ArrayBuffer.isView(e))return null;else if("function"==typeof e.getBoundary)return`multipart/form-data;boundary=${e.getBoundary()}`;else if(e instanceof t)return null;else return"text/plain;charset=UTF-8"}function N(e){let a=e.body;return null===a?0:y(a)?a.size:Buffer.isBuffer(a)?a.length:a&&"function"==typeof a.getLengthSync&&(a._lengthRetrievers&&0==a._lengthRetrievers.length||a.hasKnownLength&&a.hasKnownLength())?a.getLengthSync():null}w.prototype={get body(){return this[v].body},get bodyUsed(){return this[v].disturbed},arrayBuffer(){return g.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return g.call(this).then(function(a){return Object.assign(new h([],{type:e.toLowerCase()}),{[n]:a})})},json(){var e=this;return g.call(this).then(function(a){try{return JSON.parse(a.toString())}catch(a){return w.Promise.reject(new c(`invalid json response body at ${e.url} reason: ${a.message}`,"invalid-json"))}})},text(){return g.call(this).then(function(e){return e.toString()})},buffer(){return g.call(this)},textConverted(){var e=this;return g.call(this).then(function(a){return function(e,a){throw Error("The package `encoding` must be installed to use the textConverted() function")}(0,e.headers)})}},Object.defineProperties(w.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),w.mixIn=function(e){for(let a of Object.getOwnPropertyNames(w.prototype))if(!(a in e)){let p=Object.getOwnPropertyDescriptor(w.prototype,a);Object.defineProperty(e,a,p)}},w.Promise=global.Promise;let T=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,D=/[^\t\x20-\x7e\x80-\xff]/;function k(e){if(e=`${e}`,T.test(e)||""===e)throw TypeError(`${e} is not a legal HTTP header name`)}function V(e){if(e=`${e}`,D.test(e))throw TypeError(`${e} is not a legal HTTP header value`)}function A(e,a){for(let p in a=a.toLowerCase(),e)if(p.toLowerCase()===a)return p}let C=Symbol("map");class E{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[C]=Object.create(null),e instanceof E){let a=e.raw();for(let e of Object.keys(a))for(let p of a[e])this.append(e,p);return}if(null==e);else if("object"==typeof e){let a=e[Symbol.iterator];if(null!=a){if("function"!=typeof a)throw TypeError("Header pairs must be iterable");let p=[];for(let a of e){if("object"!=typeof a||"function"!=typeof a[Symbol.iterator])throw TypeError("Each header pair must be iterable");p.push(Array.from(a))}for(let e of p){if(2!==e.length)throw TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(let a of Object.keys(e)){let p=e[a];this.append(a,p)}}else throw TypeError("Provided initializer must be an object")}get(e){k(e=`${e}`);let a=A(this[C],e);return void 0===a?null:this[C][a].join(", ")}forEach(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,p=O(this),d=0;for(;d1&&void 0!==arguments[1]?arguments[1]:"key+value";return Object.keys(e[C]).sort().map("key"===a?function(e){return e.toLowerCase()}:"value"===a?function(a){return e[C][a].join(", ")}:function(a){return[a.toLowerCase(),e[C][a].join(", ")]})}E.prototype.entries=E.prototype[Symbol.iterator],Object.defineProperty(E.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(E.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});let j=Symbol("internal");function P(e,a){let p=Object.create(x);return p[j]={target:e,kind:a,index:0},p}let x=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==x)throw TypeError("Value of `this` is not a HeadersIterator");var e=this[j];let a=e.target,p=e.kind,d=e.index,t=O(a,p);return d>=t.length?{value:void 0,done:!0}:(this[j].index=d+1,{value:t[d],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(x,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});let I=Symbol("Response internals"),R=i.STATUS_CODES;class L{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w.call(this,e,a);let p=a.status||200,d=new E(a.headers);if(null!=e&&!d.has("Content-Type")){let a=S(e);a&&d.append("Content-Type",a)}this[I]={url:a.url,status:p,statusText:a.statusText||R[p],headers:d,counter:a.counter}}get url(){return this[I].url||""}get status(){return this[I].status}get ok(){return this[I].status>=200&&this[I].status<300}get redirected(){return this[I].counter>0}get statusText(){return this[I].statusText}get headers(){return this[I].headers}clone(){return new L(b(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}w.mixIn(L.prototype),Object.defineProperties(L.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(L.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});let $=Symbol("Request internals"),U=s.URL||l.URL,B=s.parse,F=s.format;function M(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new U(e).toString()),B(e)}let z="destroy"in t.Readable.prototype;function q(e){return"object"==typeof e&&"object"==typeof e[$]}class J{constructor(e){let a,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};q(e)?a=M(e.url):(a=e&&e.href?M(e.href):M(`${e}`),e={});let d=p.method||e.method||"GET";if(d=d.toUpperCase(),(null!=p.body||q(e)&&null!==e.body)&&("GET"===d||"HEAD"===d))throw TypeError("Request with GET/HEAD method cannot have body");let t=null!=p.body?p.body:q(e)&&null!==e.body?b(e):null;w.call(this,t,{timeout:p.timeout||e.timeout||0,size:p.size||e.size||0});let i=new E(p.headers||e.headers||{});if(null!=t&&!i.has("Content-Type")){let e=S(t);e&&i.append("Content-Type",e)}let s=q(e)?e.signal:null;if("signal"in p&&(s=p.signal),null!=s&&!function(e){let a=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!!(a&&"AbortSignal"===a.constructor.name)}(s))throw TypeError("Expected signal to be an instanceof AbortSignal");this[$]={method:d,redirect:p.redirect||e.redirect||"follow",headers:i,parsedURL:a,signal:s},this.follow=void 0!==p.follow?p.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==p.compress?p.compress:void 0===e.compress||e.compress,this.counter=p.counter||e.counter||0,this.agent=p.agent||e.agent}get method(){return this[$].method}get url(){return F(this[$].parsedURL)}get headers(){return this[$].headers}get redirect(){return this[$].redirect}get signal(){return this[$].signal}clone(){return new J(this)}}function H(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}w.mixIn(J.prototype),Object.defineProperty(J.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(J.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H.prototype.name="AbortError";let G=s.URL||l.URL,K=t.PassThrough,X=function(e,a){let p=new G(a).hostname,d=new G(e).hostname;return p===d||"."===p[p.length-d.length-1]&&p.endsWith(d)};function Z(e,a){if(!Z.Promise)throw Error("native promise missing, set fetch.Promise to your favorite alternative");return w.Promise=Z.Promise,new Z.Promise(function(p,d){var s;let l,m;let n=new J(e,a),u=function(e){let a=e[$].parsedURL,p=new E(e[$].headers);if(p.has("Accept")||p.set("Accept","*/*"),!a.protocol||!a.hostname)throw TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(a.protocol))throw TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof t.Readable&&!z)throw Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let d=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(d="0"),null!=e.body){let a=N(e);"number"==typeof a&&(d=String(a))}d&&p.set("Content-Length",d),p.has("User-Agent")||p.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!p.has("Accept-Encoding")&&p.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(a)),p.has("Connection")||i||p.set("Connection","close"),Object.assign({},a,{method:e.method,headers:function(e){let a=Object.assign({__proto__:null},e[C]),p=A(e[C],"Host");return void 0!==p&&(a[p]=a[p][0]),a}(p),agent:i})}(n),h=("https:"===u.protocol?r:i).request,v=n.signal,f=null,w=function(){let e=new H("The user aborted a request.");d(e),n.body&&n.body instanceof t.Readable&&Y(n.body,e),f&&f.body&&f.body.emit("error",e)};if(v&&v.aborted){w();return}let g=function(){w(),b()},_=h(u);function b(){_.abort(),v&&v.removeEventListener("abort",g),clearTimeout(l)}v&&v.addEventListener("abort",g),n.timeout&&_.once("socket",function(e){l=setTimeout(function(){d(new c(`network timeout at: ${n.url}`,"request-timeout")),b()},n.timeout)}),_.on("error",function(e){d(new c(`request to ${n.url} failed, reason: ${e.message}`,"system",e)),f&&f.body&&Y(f.body,e),b()}),s=function(e){(!v||!v.aborted)&&f&&f.body&&Y(f.body,e)},_.on("socket",function(e){m=e}),_.on("response",function(e){let a=e.headers;"chunked"!==a["transfer-encoding"]||a["content-length"]||e.once("close",function(e){if(m&&m.listenerCount("data")>0&&!e){let e=Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE",s(e)}})}),14>parseInt(process.version.substring(1))&&_.on("socket",function(e){e.addListener("close",function(a){let p=e.listenerCount("data")>0;if(f&&p&&!a&&!(v&&v.aborted)){let e=Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE",f.body.emit("error",e)}})}),_.on("response",function(e){clearTimeout(l);let a=function(e){let a=new E;for(let p of Object.keys(e))if(!T.test(p)){if(Array.isArray(e[p]))for(let d of e[p])D.test(d)||(void 0===a[C][p]?a[C][p]=[d]:a[C][p].push(d));else D.test(e[p])||(a[C][p]=[e[p]])}return a}(e.headers);if(Z.isRedirect(e.statusCode)){let i=a.get("Location"),s=null;try{s=null===i?null:new G(i,n.url).toString()}catch(e){if("manual"!==n.redirect){d(new c(`uri requested responds with an invalid redirect URL: ${i}`,"invalid-redirect")),b();return}}switch(n.redirect){case"error":d(new c(`uri requested responds with a redirect, redirect mode is set to error: ${n.url}`,"no-redirect")),b();return;case"manual":if(null!==s)try{a.set("Location",s)}catch(e){d(e)}break;case"follow":var t;if(null===s)break;if(n.counter>=n.follow){d(new c(`maximum redirect reached at: ${n.url}`,"max-redirect")),b();return}let l={headers:new E(n.headers),follow:n.follow,counter:n.counter+1,agent:n.agent,compress:n.compress,method:n.method,body:n.body,signal:n.signal,timeout:n.timeout,size:n.size};if(!X(n.url,s)||(t=n.url,new G(s).protocol!==new G(t).protocol))for(let e of["authorization","www-authenticate","cookie","cookie2"])l.headers.delete(e);if(303!==e.statusCode&&n.body&&null===N(n)){d(new c("Cannot follow redirect with body being a readable stream","unsupported-redirect")),b();return}(303===e.statusCode||(301===e.statusCode||302===e.statusCode)&&"POST"===n.method)&&(l.method="GET",l.body=void 0,l.headers.delete("content-length")),p(Z(new J(s,l))),b();return}}e.once("end",function(){v&&v.removeEventListener("abort",g)});let i=e.pipe(new K),s={url:n.url,status:e.statusCode,statusText:e.statusMessage,headers:a,size:n.size,timeout:n.timeout,counter:n.counter},r=a.get("Content-Encoding");if(!n.compress||"HEAD"===n.method||null===r||204===e.statusCode||304===e.statusCode){p(f=new L(i,s));return}let m={flush:o.Z_SYNC_FLUSH,finishFlush:o.Z_SYNC_FLUSH};if("gzip"==r||"x-gzip"==r){p(f=new L(i=i.pipe(o.createGunzip(m)),s));return}if("deflate"==r||"x-deflate"==r){let a=e.pipe(new K);a.once("data",function(e){p(f=new L(i=(15&e[0])==8?i.pipe(o.createInflate()):i.pipe(o.createInflateRaw()),s))}),a.on("end",function(){f||p(f=new L(i,s))});return}if("br"==r&&"function"==typeof o.createBrotliDecompress){p(f=new L(i=i.pipe(o.createBrotliDecompress()),s));return}p(f=new L(i,s))}),function(e,a){let p=a.body;null===p?e.end():y(p)?p.stream().pipe(e):Buffer.isBuffer(p)?(e.write(p),e.end()):p.pipe(e)}(_,n)})}function Y(e,a){e.destroy?e.destroy(a):(e.emit("error",a),e.end())}Z.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},Z.Promise=global.Promise,e.exports=a=Z,Object.defineProperty(a,"__esModule",{value:!0}),a.default=a,a.Headers=E,a.Request=J,a.Response=L,a.FetchError=c},39104:function(e,a,p){var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let t=d(p(63888)),i=d(p(3034));class s{constructor(e){this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=e.headers,this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=e.shouldThrowOnError,this.signal=e.signal,this.isMaybeSingle=e.isMaybeSingle,e.fetch?this.fetch=e.fetch:"undefined"==typeof fetch?this.fetch=t.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(e,a){void 0===this.schema||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),"GET"!==this.method&&"HEAD"!==this.method&&(this.headers["Content-Type"]="application/json");let p=(0,this.fetch)(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async e=>{var a,p,d;let t=null,s=null,l=null,r=e.status,o=e.statusText;if(e.ok){if("HEAD"!==this.method){let a=await e.text();""===a||(s="text/csv"===this.headers.Accept?a:this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?a:JSON.parse(a))}let d=null===(a=this.headers.Prefer)||void 0===a?void 0:a.match(/count=(exact|planned|estimated)/),i=null===(p=e.headers.get("content-range"))||void 0===p?void 0:p.split("/");d&&i&&i.length>1&&(l=parseInt(i[1])),this.isMaybeSingle&&"GET"===this.method&&Array.isArray(s)&&(s.length>1?(t={code:"PGRST116",details:`Results contain ${s.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},s=null,l=null,r=406,o="Not Acceptable"):s=1===s.length?s[0]:null)}else{let a=await e.text();try{t=JSON.parse(a),Array.isArray(t)&&404===e.status&&(s=[],t=null,r=200,o="OK")}catch(p){404===e.status&&""===a?(r=204,o="No Content"):t={message:a}}if(t&&this.isMaybeSingle&&(null===(d=null==t?void 0:t.details)||void 0===d?void 0:d.includes("0 rows"))&&(t=null,r=200,o="OK"),t&&this.shouldThrowOnError)throw new i.default(t)}return{error:t,data:s,count:l,status:r,statusText:o}});return this.shouldThrowOnError||(p=p.catch(e=>{var a,p,d;return{error:{message:`${null!==(a=null==e?void 0:e.name)&&void 0!==a?a:"FetchError"}: ${null==e?void 0:e.message}`,details:`${null!==(p=null==e?void 0:e.stack)&&void 0!==p?p:""}`,hint:"",code:`${null!==(d=null==e?void 0:e.code)&&void 0!==d?d:""}`},data:null,count:null,status:0,statusText:""}})),p.then(e,a)}}a.default=s},31750:function(e,a,p){var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let t=d(p(34359)),i=d(p(69603)),s=p(16749);class l{constructor(e,{headers:a={},schema:p,fetch:d}={}){this.url=e,this.headers=Object.assign(Object.assign({},s.DEFAULT_HEADERS),a),this.schemaName=p,this.fetch=d}from(e){let a=new URL(`${this.url}/${e}`);return new t.default(a,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(e){return new l(this.url,{headers:this.headers,schema:e,fetch:this.fetch})}rpc(e,a={},{head:p=!1,get:d=!1,count:t}={}){let s,l;let r=new URL(`${this.url}/rpc/${e}`);p||d?(s=p?"HEAD":"GET",Object.entries(a).filter(([e,a])=>void 0!==a).map(([e,a])=>[e,Array.isArray(a)?`{${a.join(",")}}`:`${a}`]).forEach(([e,a])=>{r.searchParams.append(e,a)})):(s="POST",l=a);let o=Object.assign({},this.headers);return t&&(o.Prefer=`count=${t}`),new i.default({method:s,url:r,headers:o,schema:this.schemaName,body:l,fetch:this.fetch,allowEmpty:!1})}}a.default=l},3034:(e,a)=>{Object.defineProperty(a,"__esModule",{value:!0});class p extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}}a.default=p},69603:function(e,a,p){var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let t=d(p(3726));class i extends t.default{eq(e,a){return this.url.searchParams.append(e,`eq.${a}`),this}neq(e,a){return this.url.searchParams.append(e,`neq.${a}`),this}gt(e,a){return this.url.searchParams.append(e,`gt.${a}`),this}gte(e,a){return this.url.searchParams.append(e,`gte.${a}`),this}lt(e,a){return this.url.searchParams.append(e,`lt.${a}`),this}lte(e,a){return this.url.searchParams.append(e,`lte.${a}`),this}like(e,a){return this.url.searchParams.append(e,`like.${a}`),this}likeAllOf(e,a){return this.url.searchParams.append(e,`like(all).{${a.join(",")}}`),this}likeAnyOf(e,a){return this.url.searchParams.append(e,`like(any).{${a.join(",")}}`),this}ilike(e,a){return this.url.searchParams.append(e,`ilike.${a}`),this}ilikeAllOf(e,a){return this.url.searchParams.append(e,`ilike(all).{${a.join(",")}}`),this}ilikeAnyOf(e,a){return this.url.searchParams.append(e,`ilike(any).{${a.join(",")}}`),this}is(e,a){return this.url.searchParams.append(e,`is.${a}`),this}in(e,a){let p=Array.from(new Set(a)).map(e=>"string"==typeof e&&RegExp("[,()]").test(e)?`"${e}"`:`${e}`).join(",");return this.url.searchParams.append(e,`in.(${p})`),this}contains(e,a){return"string"==typeof a?this.url.searchParams.append(e,`cs.${a}`):Array.isArray(a)?this.url.searchParams.append(e,`cs.{${a.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(a)}`),this}containedBy(e,a){return"string"==typeof a?this.url.searchParams.append(e,`cd.${a}`):Array.isArray(a)?this.url.searchParams.append(e,`cd.{${a.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(a)}`),this}rangeGt(e,a){return this.url.searchParams.append(e,`sr.${a}`),this}rangeGte(e,a){return this.url.searchParams.append(e,`nxl.${a}`),this}rangeLt(e,a){return this.url.searchParams.append(e,`sl.${a}`),this}rangeLte(e,a){return this.url.searchParams.append(e,`nxr.${a}`),this}rangeAdjacent(e,a){return this.url.searchParams.append(e,`adj.${a}`),this}overlaps(e,a){return"string"==typeof a?this.url.searchParams.append(e,`ov.${a}`):this.url.searchParams.append(e,`ov.{${a.join(",")}}`),this}textSearch(e,a,{config:p,type:d}={}){let t="";"plain"===d?t="pl":"phrase"===d?t="ph":"websearch"===d&&(t="w");let i=void 0===p?"":`(${p})`;return this.url.searchParams.append(e,`${t}fts${i}.${a}`),this}match(e){return Object.entries(e).forEach(([e,a])=>{this.url.searchParams.append(e,`eq.${a}`)}),this}not(e,a,p){return this.url.searchParams.append(e,`not.${a}.${p}`),this}or(e,{foreignTable:a,referencedTable:p=a}={}){let d=p?`${p}.or`:"or";return this.url.searchParams.append(d,`(${e})`),this}filter(e,a,p){return this.url.searchParams.append(e,`${a}.${p}`),this}}a.default=i},34359:function(e,a,p){var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let t=d(p(69603));class i{constructor(e,{headers:a={},schema:p,fetch:d}){this.url=e,this.headers=a,this.schema=p,this.fetch=d}select(e,{head:a=!1,count:p}={}){let d=!1,i=(null!=e?e:"*").split("").map(e=>/\s/.test(e)&&!d?"":('"'===e&&(d=!d),e)).join("");return this.url.searchParams.set("select",i),p&&(this.headers.Prefer=`count=${p}`),new t.default({method:a?"HEAD":"GET",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(e,{count:a,defaultToNull:p=!0}={}){let d=[];if(this.headers.Prefer&&d.push(this.headers.Prefer),a&&d.push(`count=${a}`),p||d.push("missing=default"),this.headers.Prefer=d.join(","),Array.isArray(e)){let a=e.reduce((e,a)=>e.concat(Object.keys(a)),[]);if(a.length>0){let e=[...new Set(a)].map(e=>`"${e}"`);this.url.searchParams.set("columns",e.join(","))}}return new t.default({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}upsert(e,{onConflict:a,ignoreDuplicates:p=!1,count:d,defaultToNull:i=!0}={}){let s=[`resolution=${p?"ignore":"merge"}-duplicates`];if(void 0!==a&&this.url.searchParams.set("on_conflict",a),this.headers.Prefer&&s.push(this.headers.Prefer),d&&s.push(`count=${d}`),i||s.push("missing=default"),this.headers.Prefer=s.join(","),Array.isArray(e)){let a=e.reduce((e,a)=>e.concat(Object.keys(a)),[]);if(a.length>0){let e=[...new Set(a)].map(e=>`"${e}"`);this.url.searchParams.set("columns",e.join(","))}}return new t.default({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}update(e,{count:a}={}){let p=[];return this.headers.Prefer&&p.push(this.headers.Prefer),a&&p.push(`count=${a}`),this.headers.Prefer=p.join(","),new t.default({method:"PATCH",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}delete({count:e}={}){let a=[];return e&&a.push(`count=${e}`),this.headers.Prefer&&a.unshift(this.headers.Prefer),this.headers.Prefer=a.join(","),new t.default({method:"DELETE",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}a.default=i},3726:function(e,a,p){var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let t=d(p(39104));class i extends t.default{select(e){let a=!1,p=(null!=e?e:"*").split("").map(e=>/\s/.test(e)&&!a?"":('"'===e&&(a=!a),e)).join("");return this.url.searchParams.set("select",p),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(e,{ascending:a=!0,nullsFirst:p,foreignTable:d,referencedTable:t=d}={}){let i=t?`${t}.order`:"order",s=this.url.searchParams.get(i);return this.url.searchParams.set(i,`${s?`${s},`:""}${e}.${a?"asc":"desc"}${void 0===p?"":p?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:a,referencedTable:p=a}={}){let d=void 0===p?"limit":`${p}.limit`;return this.url.searchParams.set(d,`${e}`),this}range(e,a,{foreignTable:p,referencedTable:d=p}={}){let t=void 0===d?"offset":`${d}.offset`,i=void 0===d?"limit":`${d}.limit`;return this.url.searchParams.set(t,`${e}`),this.url.searchParams.set(i,`${a-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return"GET"===this.method?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:e=!1,verbose:a=!1,settings:p=!1,buffers:d=!1,wal:t=!1,format:i="text"}={}){var s;let l=[e?"analyze":null,a?"verbose":null,p?"settings":null,d?"buffers":null,t?"wal":null].filter(Boolean).join("|"),r=null!==(s=this.headers.Accept)&&void 0!==s?s:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${i}; for="${r}"; options=${l};`,this}rollback(){var e;return(null!==(e=this.headers.Prefer)&&void 0!==e?e:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}a.default=i},16749:(e,a,p)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.DEFAULT_HEADERS=void 0;let d=p(27011);a.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${d.version}`}},13147:function(e,a,p){var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.PostgrestBuilder=a.PostgrestTransformBuilder=a.PostgrestFilterBuilder=a.PostgrestQueryBuilder=a.PostgrestClient=void 0;let t=d(p(31750));a.PostgrestClient=t.default;let i=d(p(34359));a.PostgrestQueryBuilder=i.default;let s=d(p(69603));a.PostgrestFilterBuilder=s.default;let l=d(p(3726));a.PostgrestTransformBuilder=l.default;let r=d(p(39104));a.PostgrestBuilder=r.default,a.default={PostgrestClient:t.default,PostgrestQueryBuilder:i.default,PostgrestFilterBuilder:s.default,PostgrestTransformBuilder:l.default,PostgrestBuilder:r.default}},27011:(e,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.version=void 0,a.version="0.0.0-automated"},71615:(e,a,p)=>{var d=p(88757);p.o(d,"cookies")&&p.d(a,{cookies:function(){return d.cookies}})},33085:(e,a,p)=>{Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"DraftMode",{enumerable:!0,get:function(){return i}});let d=p(45869),t=p(6278);class i{get isEnabled(){return this._provider.isEnabled}enable(){let e=d.staticGenerationAsyncStorage.getStore();return e&&(0,t.trackDynamicDataAccessed)(e,"draftMode().enable()"),this._provider.enable()}disable(){let e=d.staticGenerationAsyncStorage.getStore();return e&&(0,t.trackDynamicDataAccessed)(e,"draftMode().disable()"),this._provider.disable()}constructor(e){this._provider=e}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},88757:(e,a,p)=>{Object.defineProperty(a,"__esModule",{value:!0}),function(e,a){for(var p in a)Object.defineProperty(e,p,{enumerable:!0,get:a[p]})}(a,{cookies:function(){return u},draftMode:function(){return h},headers:function(){return n}});let d=p(68996),t=p(53047),i=p(92044),s=p(72934),l=p(33085),r=p(6278),o=p(45869),m=p(54580);function n(){let e="headers",a=o.staticGenerationAsyncStorage.getStore();if(a){if(a.forceStatic)return t.HeadersAdapter.seal(new Headers({}));(0,r.trackDynamicDataAccessed)(a,e)}return(0,m.getExpectedRequestStore)(e).headers}function u(){let e="cookies",a=o.staticGenerationAsyncStorage.getStore();if(a){if(a.forceStatic)return d.RequestCookiesAdapter.seal(new i.RequestCookies(new Headers({})));(0,r.trackDynamicDataAccessed)(a,e)}let p=(0,m.getExpectedRequestStore)(e),t=s.actionAsyncStorage.getStore();return(null==t?void 0:t.isAction)||(null==t?void 0:t.isAppRoute)?p.mutableCookies:p.cookies}function h(){let e=(0,m.getExpectedRequestStore)("draftMode");return new l.DraftMode(e.draftMode)}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},79925:e=>{var a=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,t=Object.prototype.hasOwnProperty,i={};function s(e){var a;let p=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),d=`${e.name}=${encodeURIComponent(null!=(a=e.value)?a:"")}`;return 0===p.length?d:`${d}; ${p.join("; ")}`}function l(e){let a=new Map;for(let p of e.split(/; */)){if(!p)continue;let e=p.indexOf("=");if(-1===e){a.set(p,"true");continue}let[d,t]=[p.slice(0,e),p.slice(e+1)];try{a.set(d,decodeURIComponent(null!=t?t:"true"))}catch{}}return a}function r(e){var a,p;if(!e)return;let[[d,t],...i]=l(e),{domain:s,expires:r,httponly:n,maxage:u,path:h,samesite:c,secure:v,partitioned:f,priority:w}=Object.fromEntries(i.map(([e,a])=>[e.toLowerCase(),a]));return function(e){let a={};for(let p in e)e[p]&&(a[p]=e[p]);return a}({name:d,value:decodeURIComponent(t),domain:s,...r&&{expires:new Date(r)},...n&&{httpOnly:!0},..."string"==typeof u&&{maxAge:Number(u)},path:h,...c&&{sameSite:o.includes(a=(a=c).toLowerCase())?a:void 0},...v&&{secure:!0},...w&&{priority:m.includes(p=(p=w).toLowerCase())?p:void 0},...f&&{partitioned:!0}})}((e,p)=>{for(var d in p)a(e,d,{get:p[d],enumerable:!0})})(i,{RequestCookies:()=>n,ResponseCookies:()=>u,parseCookie:()=>l,parseSetCookie:()=>r,stringifyCookie:()=>s}),e.exports=((e,i,s,l)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let r of d(i))t.call(e,r)||r===s||a(e,r,{get:()=>i[r],enumerable:!(l=p(i,r))||l.enumerable});return e})(a({},"__esModule",{value:!0}),i);var o=["strict","lax","none"],m=["low","medium","high"],n=class{constructor(e){this._parsed=new Map,this._headers=e;let a=e.get("cookie");if(a)for(let[e,p]of l(a))this._parsed.set(e,{name:e,value:p})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let a="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(a)}getAll(...e){var a;let p=Array.from(this._parsed);if(!e.length)return p.map(([e,a])=>a);let d="string"==typeof e[0]?e[0]:null==(a=e[0])?void 0:a.name;return p.filter(([e])=>e===d).map(([e,a])=>a)}has(e){return this._parsed.has(e)}set(...e){let[a,p]=1===e.length?[e[0].name,e[0].value]:e,d=this._parsed;return d.set(a,{name:a,value:p}),this._headers.set("cookie",Array.from(d).map(([e,a])=>s(a)).join("; ")),this}delete(e){let a=this._parsed,p=Array.isArray(e)?e.map(e=>a.delete(e)):a.delete(e);return this._headers.set("cookie",Array.from(a).map(([e,a])=>s(a)).join("; ")),p}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},u=class{constructor(e){var a,p,d;this._parsed=new Map,this._headers=e;let t=null!=(d=null!=(p=null==(a=e.getSetCookie)?void 0:a.call(e))?p:e.get("set-cookie"))?d:[];for(let e of Array.isArray(t)?t:function(e){if(!e)return[];var a,p,d,t,i,s=[],l=0;function r(){for(;l=e.length)&&s.push(e.substring(a,e.length))}return s}(t)){let a=r(e);a&&this._parsed.set(a.name,a)}}get(...e){let a="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(a)}getAll(...e){var a;let p=Array.from(this._parsed.values());if(!e.length)return p;let d="string"==typeof e[0]?e[0]:null==(a=e[0])?void 0:a.name;return p.filter(e=>e.name===d)}has(e){return this._parsed.has(e)}set(...e){let[a,p,d]=1===e.length?[e[0].name,e[0].value,e[0]]:e,t=this._parsed;return t.set(a,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:a,value:p,...d})),function(e,a){for(let[,p]of(a.delete("set-cookie"),e)){let e=s(p);a.append("set-cookie",e)}}(t,this._headers),this}delete(...e){let[a,p,d]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:a,path:p,domain:d,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(s).join("; ")}}},53047:(e,a,p)=>{Object.defineProperty(a,"__esModule",{value:!0}),function(e,a){for(var p in a)Object.defineProperty(e,p,{enumerable:!0,get:a[p]})}(a,{HeadersAdapter:function(){return i},ReadonlyHeadersError:function(){return t}});let d=p(38238);class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class i extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(a,p,t){if("symbol"==typeof p)return d.ReflectAdapter.get(a,p,t);let i=p.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===i);if(void 0!==s)return d.ReflectAdapter.get(a,s,t)},set(a,p,t,i){if("symbol"==typeof p)return d.ReflectAdapter.set(a,p,t,i);let s=p.toLowerCase(),l=Object.keys(e).find(e=>e.toLowerCase()===s);return d.ReflectAdapter.set(a,l??p,t,i)},has(a,p){if("symbol"==typeof p)return d.ReflectAdapter.has(a,p);let t=p.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===t);return void 0!==i&&d.ReflectAdapter.has(a,i)},deleteProperty(a,p){if("symbol"==typeof p)return d.ReflectAdapter.deleteProperty(a,p);let t=p.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===t);return void 0===i||d.ReflectAdapter.deleteProperty(a,i)}})}static seal(e){return new Proxy(e,{get(e,a,p){switch(a){case"append":case"delete":case"set":return t.callable;default:return d.ReflectAdapter.get(e,a,p)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new i(e)}append(e,a){let p=this.headers[e];"string"==typeof p?this.headers[e]=[p,a]:Array.isArray(p)?p.push(a):this.headers[e]=a}delete(e){delete this.headers[e]}get(e){let a=this.headers[e];return void 0!==a?this.merge(a):null}has(e){return void 0!==this.headers[e]}set(e,a){this.headers[e]=a}forEach(e,a){for(let[p,d]of this.entries())e.call(a,d,p,this)}*entries(){for(let e of Object.keys(this.headers)){let a=e.toLowerCase(),p=this.get(a);yield[a,p]}}*keys(){for(let e of Object.keys(this.headers)){let a=e.toLowerCase();yield a}}*values(){for(let e of Object.keys(this.headers)){let a=this.get(e);yield a}}[Symbol.iterator](){return this.entries()}}},38238:(e,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ReflectAdapter",{enumerable:!0,get:function(){return p}});class p{static get(e,a,p){let d=Reflect.get(e,a,p);return"function"==typeof d?d.bind(e):d}static set(e,a,p,d){return Reflect.set(e,a,p,d)}static has(e,a){return Reflect.has(e,a)}static deleteProperty(e,a){return Reflect.deleteProperty(e,a)}}},68996:(e,a,p)=>{Object.defineProperty(a,"__esModule",{value:!0}),function(e,a){for(var p in a)Object.defineProperty(e,p,{enumerable:!0,get:a[p]})}(a,{MutableRequestCookiesAdapter:function(){return n},ReadonlyRequestCookiesError:function(){return s},RequestCookiesAdapter:function(){return l},appendMutableCookies:function(){return m},getModifiedCookieValues:function(){return o}});let d=p(92044),t=p(38238),i=p(45869);class s extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#cookiessetname-value-options")}static callable(){throw new s}}class l{static seal(e){return new Proxy(e,{get(e,a,p){switch(a){case"clear":case"delete":case"set":return s.callable;default:return t.ReflectAdapter.get(e,a,p)}}})}}let r=Symbol.for("next.mutated.cookies");function o(e){let a=e[r];return a&&Array.isArray(a)&&0!==a.length?a:[]}function m(e,a){let p=o(a);if(0===p.length)return!1;let t=new d.ResponseCookies(e),i=t.getAll();for(let e of p)t.set(e);for(let e of i)t.set(e);return!0}class n{static wrap(e,a){let p=new d.ResponseCookies(new Headers);for(let a of e.getAll())p.set(a);let s=[],l=new Set,o=()=>{let e=i.staticGenerationAsyncStorage.getStore();if(e&&(e.pathWasRevalidated=!0),s=p.getAll().filter(e=>l.has(e.name)),a){let e=[];for(let a of s){let p=new d.ResponseCookies(new Headers);p.set(a),e.push(p.toString())}a(e)}};return new Proxy(p,{get(e,a,p){switch(a){case r:return s;case"delete":return function(...a){l.add("string"==typeof a[0]?a[0]:a[0].name);try{e.delete(...a)}finally{o()}};case"set":return function(...a){l.add("string"==typeof a[0]?a[0]:a[0].name);try{return e.set(...a)}finally{o()}};default:return t.ReflectAdapter.get(e,a,p)}}})}}},92044:(e,a,p)=>{Object.defineProperty(a,"__esModule",{value:!0}),function(e,a){for(var p in a)Object.defineProperty(e,p,{enumerable:!0,get:a[p]})}(a,{RequestCookies:function(){return d.RequestCookies},ResponseCookies:function(){return d.ResponseCookies}});let d=p(79925)},95014:(e,a)=>{function p(e,a){let p;let d=e.split("/");return(a||[]).some(a=>!!d[1]&&d[1].toLowerCase()===a.toLowerCase()&&(p=a,d.splice(1,1),e=d.join("/")||"/",!0)),{pathname:e,detectedLocale:p}}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"normalizeLocalePath",{enumerable:!0,get:function(){return p}})},37847:(e,a)=>{function p(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"removeTrailingSlash",{enumerable:!0,get:function(){return p}})},82338:e=>{var a={decodeValues:!0,map:!1,silent:!1};function p(e){return"string"==typeof e&&!!e.trim()}function d(e,d){var t,i,s,l,r=e.split(";").filter(p),o=(t=r.shift(),i="",s="",(l=t.split("=")).length>1?(i=l.shift(),s=l.join("=")):s=t,{name:i,value:s}),m=o.name,n=o.value;d=d?Object.assign({},a,d):a;try{n=d.decodeValues?decodeURIComponent(n):n}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+n+"'. Set options.decodeValues to false to disable this feature.",e)}var u={name:m,value:n};return r.forEach(function(e){var a=e.split("="),p=a.shift().trimLeft().toLowerCase(),d=a.join("=");"expires"===p?u.expires=new Date(d):"max-age"===p?u.maxAge=parseInt(d,10):"secure"===p?u.secure=!0:"httponly"===p?u.httpOnly=!0:"samesite"===p?u.sameSite=d:u[p]=d}),u}function t(e,t){if(t=t?Object.assign({},a,t):a,!e)return t.map?{}:[];if(e.headers){if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var i=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];i||!e.headers.cookie||t.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=i}}return(Array.isArray(e)||(e=[e]),(t=t?Object.assign({},a,t):a).map)?e.filter(p).reduce(function(e,a){var p=d(a,t);return e[p.name]=p,e},{}):e.filter(p).map(function(e){return d(e,t)})}e.exports=t,e.exports.parse=t,e.exports.parseString=d,e.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var a,p,d,t,i,s=[],l=0;function r(){for(;l=e.length)&&s.push(e.substring(a,e.length))}return s}},30236:(e,a,p)=>{var d=p(85477),t=p(50542),i={TRANSITIONAL:0,NONTRANSITIONAL:1};function s(e){return e.split("\0").map(function(e){return e.normalize("NFC")}).join("\0")}function l(e){for(var a=0,p=t.length-1;a<=p;){var d=Math.floor((a+p)/2),i=t[d];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?p=d-1:a=d+1}return null}var r=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function o(e){return e.replace(r,"_").length}var m=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function n(e,a,p){var t=function(e,a,p){for(var d=!1,t="",s=o(e),r=0;r253||0===l.length)&&(i.error=!0);for(var r=0;r63||0===s.length){i.error=!0;break}}return i.error?null:s.join(".")},e.exports.toUnicode=function(e,a){var p=n(e,a,i.NONTRANSITIONAL);return{domain:p.string,error:p.error}},e.exports.PROCESSING_OPTIONS=i},45469:e=>{var a={};function p(e,a){!a.unsigned&&--e;let p=a.unsigned?0:-Math.pow(2,e),d=Math.pow(2,e)-1,t=a.moduloBitLength?Math.pow(2,a.moduloBitLength):Math.pow(2,e),i=a.moduloBitLength?Math.pow(2,a.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let l=+e;if(s.enforceRange){if(!Number.isFinite(l))throw TypeError("Argument is not a finite number");if((l=(l<0?-1:1)*Math.floor(Math.abs(l)))d)throw TypeError("Argument is not in byte range");return l}if(!isNaN(l)&&s.clamp){var r;return(l=(r=l)%1==.5&&(1&r)==0?Math.floor(r):Math.round(r))d&&(l=d),l}if(!Number.isFinite(l)||0===l)return 0;if(l=(l<0?-1:1)*Math.floor(Math.abs(l))%t,!a.unsigned&&l>=i)return l-t;if(a.unsigned){if(l<0)l+=t;else if(-0===l)return 0}return l}}e.exports=a,a.void=function(){},a.boolean=function(e){return!!e},a.byte=p(8,{unsigned:!1}),a.octet=p(8,{unsigned:!0}),a.short=p(16,{unsigned:!1}),a["unsigned short"]=p(16,{unsigned:!0}),a.long=p(32,{unsigned:!1}),a["unsigned long"]=p(32,{unsigned:!0}),a["long long"]=p(32,{unsigned:!1,moduloBitLength:64}),a["unsigned long long"]=p(32,{unsigned:!0,moduloBitLength:64}),a.double=function(e){let a=+e;if(!Number.isFinite(a))throw TypeError("Argument is not a finite floating-point value");return a},a["unrestricted double"]=function(e){let a=+e;if(isNaN(a))throw TypeError("Argument is NaN");return a},a.float=a.double,a["unrestricted float"]=a["unrestricted double"],a.DOMString=function(e,a){return(a||(a={}),a.treatNullAsEmptyString&&null===e)?"":String(e)},a.ByteString=function(e,a){let p;let d=String(e);for(let e=0;void 0!==(p=d.codePointAt(e));++e)if(p>255)throw TypeError("Argument is not a valid bytestring");return d},a.USVString=function(e){let a=String(e),p=a.length,d=[];for(let e=0;e57343)d.push(String.fromCodePoint(t));else if(56320<=t&&t<=57343)d.push(String.fromCodePoint(65533));else if(e===p-1)d.push(String.fromCodePoint(65533));else{let p=a.charCodeAt(e+1);if(56320<=p&&p<=57343){let a=1023&t,i=1023&p;d.push(String.fromCodePoint(65536+1024*a+i)),++e}else d.push(String.fromCodePoint(65533))}}return d.join("")},a.Date=function(e,a){if(!(e instanceof Date))throw TypeError("Argument is not a Date object");if(!isNaN(e))return e},a.RegExp=function(e,a){return e instanceof RegExp||(e=new RegExp(e)),e}},55244:(e,a,p)=>{let d=p(59913);a.implementation=class{constructor(e){let a=e[0],p=e[1],t=null;if(void 0!==p&&"failure"===(t=d.basicURLParse(p)))throw TypeError("Invalid base URL");let i=d.basicURLParse(a,{baseURL:t});if("failure"===i)throw TypeError("Invalid URL");this._url=i}get href(){return d.serializeURL(this._url)}set href(e){let a=d.basicURLParse(e);if("failure"===a)throw TypeError("Invalid URL");this._url=a}get origin(){return d.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){d.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){d.cannotHaveAUsernamePasswordPort(this._url)||d.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){d.cannotHaveAUsernamePasswordPort(this._url)||d.setThePassword(this._url,e)}get host(){let e=this._url;return null===e.host?"":null===e.port?d.serializeHost(e.host):d.serializeHost(e.host)+":"+d.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||d.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":d.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||d.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":d.serializeInteger(this._url.port)}set port(e){d.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:d.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],d.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){let a=this._url;if(""===e){a.query=null;return}let p="?"===e[0]?e.substring(1):e;a.query="",d.basicURLParse(p,{url:a,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e){this._url.fragment=null;return}let a="#"===e[0]?e.substring(1):e;this._url.fragment="",d.basicURLParse(a,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},6798:(e,a,p)=>{let d=p(45469),t=p(42757),i=p(55244),s=t.implSymbol;function l(a){if(!this||this[s]||!(this instanceof l))throw TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");let p=[];for(let e=0;e!!e&&e[s]instanceof i.implementation,create(e,a){let p=Object.create(l.prototype);return this.setup(p,e,a),p},setup(e,a,p){p||(p={}),p.wrapper=e,e[s]=new i.implementation(a,p),e[s][t.wrapperSymbol]=e},interface:l,expose:{Window:{URL:l},Worker:{URL:l}}}},64326:(e,a,p)=>{a.URL=p(6798).interface,a.serializeURL=p(59913).serializeURL,a.serializeURLOrigin=p(59913).serializeURLOrigin,a.basicURLParse=p(59913).basicURLParse,a.setTheUsername=p(59913).setTheUsername,a.setThePassword=p(59913).setThePassword,a.serializeHost=p(59913).serializeHost,a.serializeInteger=p(59913).serializeInteger,a.parseURL=p(59913).parseURL},59913:(e,a,p)=>{let d=p(85477),t=p(30236),i={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},s=Symbol("failure");function l(e){return d.ucs2.decode(e).length}function r(e,a){let p=e[a];return isNaN(p)?void 0:String.fromCodePoint(p)}function o(e){return e>=48&&e<=57}function m(e){return e>=65&&e<=90||e>=97&&e<=122}function n(e){return o(e)||e>=65&&e<=70||e>=97&&e<=102}function u(e){return"."===e||"%2e"===e.toLowerCase()}function h(e){return 2===e.length&&m(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function c(e){return void 0!==i[e]}function v(e){return c(e.scheme)}function f(e){let a=e.toString(16).toUpperCase();return 1===a.length&&(a="0"+a),"%"+a}function w(e){return e<=31||e>126}let g=new Set([32,34,35,60,62,63,96,123,125]);function _(e){return w(e)||g.has(e)}let y=new Set([47,58,59,61,64,91,92,93,94,124]);function b(e){return _(e)||y.has(e)}function S(e,a){let p=String.fromCodePoint(e);return a(e)?function(e){let a=new Buffer(e),p="";for(let e=0;e6))return s;let d=0;for(;void 0!==e[i];){let t=null;if(d>0){if(46!==e[i]||!(d<4))return s;++i}if(!o(e[i]))return s;for(;o(e[i]);){let a=parseInt(r(e,i));if(null===t)t=a;else{if(0===t)return s;t=10*t+a}if(t>255)return s;++i}a[p]=256*a[p]+t,(2==++d||4===d)&&++p}if(4!==d)return s;break}if(58===e[i]){if(void 0===e[++i])return s}else if(void 0!==e[i])return s;a[p]=d,++p}if(null!==t){let e=p-t;for(p=7;0!==p&&e>0;){let d=a[t+e-1];a[t+e-1]=a[p],a[p]=d,--p,--e}}else if(null===t&&8!==p)return s;return a}(e.substring(1,e.length-1));if(!a)return function(e){if(-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return s;let a="",p=d.ucs2.decode(e);for(let e=0;e1&&a.pop(),a.length>4)return e;let p=[];for(let d of a){if(""===d)return e;let a=function(e){let a=10;return(e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),a=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),a=8),""===e)?0:(10===a?/[^0-9]/:16===a?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?s:parseInt(e,a)}(d);if(a===s)return e;p.push(a)}for(let e=0;e255)return s;if(p[p.length-1]>=Math.pow(256,5-p.length))return s;let d=p.pop(),t=0;for(let e of p)d+=e*Math.pow(256,3-t),++t;return d}(i);return"number"==typeof l||l===s?l:i}function T(e){return"number"==typeof e?function(e){let a="",p=e;for(let e=1;e<=4;++e)a=String(p%256)+a,4!==e&&(a="."+a),p=Math.floor(p/256);return a}(e):e instanceof Array?"["+function(e){let a="",p=function(e){let a=null,p=1,d=null,t=0;for(let i=0;ip&&(a=d,p=t),d=null,t=0):(null===d&&(d=i),++t);return t>p&&(a=d,p=t),{idx:a,len:p}}(e).idx,d=!1;for(let t=0;t<=7;++t)if(!d||0!==e[t]){if(d&&(d=!1),p===t){a+=0===t?"::":":",d=!0;continue}a+=e[t].toString(16),7!==t&&(a+=":")}return a}(e)+"]":e}function D(e){var a;let p=e.path;!(0===p.length||"file"===e.scheme&&1===p.length&&(a=p[0],/^[A-Za-z]:$/.test(a)))&&p.pop()}function k(e){return""!==e.username||""!==e.password}function V(e,a,p,t,i){if(this.pointer=0,this.input=e,this.base=a||null,this.encodingOverride=p||"utf-8",this.stateOverride=i,this.url=t,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};let e=this.input.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"");e!==this.input&&(this.parseError=!0),this.input=e}let l=this.input.replace(/\u0009|\u000A|\u000D/g,"");for(l!==this.input&&(this.parseError=!0),this.input=l,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=d.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){let e=this.input[this.pointer],a=isNaN(e)?void 0:String.fromCodePoint(e),p=this["parse "+this.state](e,a);if(p){if(p===s){this.failure=!0;break}}else break}}V.prototype["parse scheme start"]=function(e,a){if(m(e))this.buffer+=a.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,s;this.state="no scheme",--this.pointer}return!0},V.prototype["parse scheme"]=function(e,a){if(m(e)||o(e)||43===e||45===e||46===e)this.buffer+=a.toLowerCase();else if(58===e){if(this.stateOverride&&(v(this.url)&&!c(this.buffer)||!v(this.url)&&c(this.buffer)||(k(this.url)||null!==this.url.port)&&"file"===this.buffer||"file"===this.url.scheme&&(""===this.url.host||null===this.url.host))||(this.url.scheme=this.buffer,this.buffer="",this.stateOverride))return!1;"file"===this.url.scheme?((47!==this.input[this.pointer+1]||47!==this.input[this.pointer+2])&&(this.parseError=!0),this.state="file"):v(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":v(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,s;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},V.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?s:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):("file"===this.base.scheme?this.state="file":this.state="relative",--this.pointer),!0)},V.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},V.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},V.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):v(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},V.prototype["parse relative slash"]=function(e){return v(this.url)&&(47===e||92===e)?(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"):47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer),!0},V.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},V.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},V.prototype["parse authority"]=function(e,a){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;let e=l(this.buffer);for(let a=0;a65535)return this.parseError=!0,s;this.url.port=e===i[this.url.scheme]?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};let A=new Set([47,92,63,35]);V.prototype["parse file"]=function(e){if(this.url.scheme="file",47===e||92===e)92===e&&(this.parseError=!0),this.state="file slash";else if(null!==this.base&&"file"===this.base.scheme){if(isNaN(e))this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query;else if(63===e)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query";else if(35===e)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment";else{var a;this.input.length-this.pointer-1!=0&&(a=this.input[this.pointer+1],m(e)&&(58===a||124===a))&&(!(this.input.length-this.pointer-1>=2)||A.has(this.input[this.pointer+2]))?this.parseError=!0:(this.url.host=this.base.host,this.url.path=this.base.path.slice(),D(this.url)),this.state="path",--this.pointer}}else this.state="path",--this.pointer;return!0},V.prototype["parse file slash"]=function(e){if(47===e||92===e)92===e&&(this.parseError=!0),this.state="file host";else{if(null!==this.base&&"file"===this.base.scheme){var a;2===(a=this.base.path[0]).length&&m(a.codePointAt(0))&&":"===a[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host}this.state="path",--this.pointer}return!0},V.prototype["parse file host"]=function(e,a){if(isNaN(e)||47===e||92===e||63===e||35===e){if(--this.pointer,!this.stateOverride&&h(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=N(this.buffer,v(this.url));if(e===s)return s;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}}else this.buffer+=a;return!0},V.prototype["parse path start"]=function(e){return v(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},V.prototype["parse path"]=function(e){if(isNaN(e)||47===e||v(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){var a;if((v(this.url)&&92===e&&(this.parseError=!0),".."===(a=(a=this.buffer).toLowerCase())||"%2e."===a||".%2e"===a||"%2e%2e"===a)?(D(this.url),47===e||v(this.url)&&92===e||this.url.path.push("")):u(this.buffer)&&47!==e&&!(v(this.url)&&92===e)?this.url.path.push(""):u(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&h(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||n(this.input[this.pointer+1])&&n(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=S(e,_);return!0},V.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||n(this.input[this.pointer+1])&&n(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+S(e,w))),!0},V.prototype["parse query"]=function(e,a){if(isNaN(e)||!this.stateOverride&&35===e){v(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");let a=new Buffer(this.buffer);for(let e=0;e126||34===a[e]||35===a[e]||60===a[e]||62===a[e]?this.url.query+=f(a[e]):this.url.query+=String.fromCodePoint(a[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||n(this.input[this.pointer+1])&&n(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=a;return!0},V.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||n(this.input[this.pointer+1])&&n(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=S(e,w))),!0},e.exports.serializeURL=function(e,a){let p=e.scheme+":";if(null!==e.host?(p+="//",(""!==e.username||""!==e.password)&&(p+=e.username,""!==e.password&&(p+=":"+e.password),p+="@"),p+=T(e.host),null!==e.port&&(p+=":"+e.port)):null===e.host&&"file"===e.scheme&&(p+="//"),e.cannotBeABaseURL)p+=e.path[0];else for(let a of e.path)p+="/"+a;return null!==e.query&&(p+="?"+e.query),a||null===e.fragment||(p+="#"+e.fragment),p},e.exports.serializeURLOrigin=function(a){switch(a.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(a.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":var p;let d;return d=(p={scheme:a.scheme,host:a.host,port:a.port}).scheme+"://"+T(p.host),null!==p.port&&(d+=":"+p.port),d;case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,a){void 0===a&&(a={});let p=new V(e,a.baseURL,a.encodingOverride,a.url,a.stateOverride);return p.failure?"failure":p.url},e.exports.setTheUsername=function(e,a){e.username="";let p=d.ucs2.decode(a);for(let a=0;a{e.exports.mixin=function(e,a){let p=Object.getOwnPropertyNames(a);for(let d=0;d{let d,t;p.r(a),p.d(a,{BrowserCookieAuthStorageAdapter:()=>aM,CookieAuthStorageAdapter:()=>aF,DEFAULT_COOKIE_OPTIONS:()=>aB,createSupabaseClient:()=>az,isBrowser:()=>aU,parseCookies:()=>aq,parseSupabaseCookie:()=>aL,serializeCookie:()=>aJ,stringifySupabaseSession:()=>a$});var i,s,l,r,o,m,n,u,h,c,v,f=p(14300);new TextEncoder;let w=new TextDecoder;f.Buffer.isEncoding("base64url");let g=e=>f.Buffer.from(function(e){let a=e;return a instanceof Uint8Array&&(a=w.decode(a)),a}(e),"base64"),_=e=>{let a;return e?a=e:"undefined"==typeof fetch?a=(...e)=>Promise.resolve().then(p.t.bind(p,63888,23)).then(({default:a})=>a(...e)):a=fetch,(...e)=>a(...e)};class y extends Error{constructor(e,a="FunctionsError",p){super(e),this.name=a,this.context=p}}class b extends y{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class S extends y{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class N extends y{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}!function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"}(i||(i={}));class T{constructor(e,{headers:a={},customFetch:p,region:d=i.Any}={}){this.url=e,this.headers=a,this.region=d,this.fetch=_(p)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e,a={}){var p,d,t,i,s;return d=this,t=void 0,i=void 0,s=function*(){try{let d;let{headers:t,method:i,body:s}=a,l={},{region:r}=a;r||(r=this.region),r&&"any"!==r&&(l["x-region"]=r),s&&(t&&!Object.prototype.hasOwnProperty.call(t,"Content-Type")||!t)&&("undefined"!=typeof Blob&&s instanceof Blob||s instanceof ArrayBuffer?(l["Content-Type"]="application/octet-stream",d=s):"string"==typeof s?(l["Content-Type"]="text/plain",d=s):"undefined"!=typeof FormData&&s instanceof FormData?d=s:(l["Content-Type"]="application/json",d=JSON.stringify(s)));let o=yield this.fetch(`${this.url}/${e}`,{method:i||"POST",headers:Object.assign(Object.assign(Object.assign({},l),this.headers),t),body:d}).catch(e=>{throw new b(e)}),m=o.headers.get("x-relay-error");if(m&&"true"===m)throw new S(o);if(!o.ok)throw new N(o);let n=(null!==(p=o.headers.get("Content-Type"))&&void 0!==p?p:"text/plain").split(";")[0].trim();return{data:"application/json"===n?yield o.json():"application/octet-stream"===n?yield o.blob():"text/event-stream"===n?o:"multipart/form-data"===n?yield o.formData():yield o.text(),error:null}}catch(e){return{data:null,error:e}}},new(i||(i=Promise))(function(e,a){function p(e){try{r(s.next(e))}catch(e){a(e)}}function l(e){try{r(s.throw(e))}catch(e){a(e)}}function r(a){var d;a.done?e(a.value):((d=a.value)instanceof i?d:new i(function(e){e(d)})).then(p,l)}r((s=s.apply(d,t||[])).next())})}}let{PostgrestClient:D,PostgrestQueryBuilder:k,PostgrestFilterBuilder:V,PostgrestTransformBuilder:A,PostgrestBuilder:C}=p(13147),E={"X-Client-Info":"realtime-js/2.10.2"};(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(s||(s={})),function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"}(l||(l={})),function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"}(r||(r={})),(o||(o={})).websocket="websocket",function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"}(m||(m={}));class O{constructor(){this.HEADER_LENGTH=1}decode(e,a){return e.constructor===ArrayBuffer?a(this._binaryDecode(e)):"string"==typeof e?a(JSON.parse(e)):a({})}_binaryDecode(e){let a=new DataView(e),p=new TextDecoder;return this._decodeBroadcast(e,a,p)}_decodeBroadcast(e,a,p){let d=a.getUint8(1),t=a.getUint8(2),i=this.HEADER_LENGTH+2,s=p.decode(e.slice(i,i+d));i+=d;let l=p.decode(e.slice(i,i+t));return i+=t,{ref:null,topic:s,event:l,payload:JSON.parse(p.decode(e.slice(i,e.byteLength)))}}}class j{constructor(e,a){this.callback=e,this.timerCalc=a,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=a}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}!function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"}(n||(n={}));let P=(e,a,p={})=>{var d;let t=null!==(d=p.skipTypes)&&void 0!==d?d:[];return Object.keys(a).reduce((p,d)=>(p[d]=x(d,e,a,t),p),{})},x=(e,a,p,d)=>{let t=a.find(a=>a.name===e),i=null==t?void 0:t.type,s=p[e];return i&&!d.includes(i)?I(i,s):R(s)},I=(e,a)=>{if("_"===e.charAt(0))return B(a,e.slice(1,e.length));switch(e){case n.bool:return L(a);case n.float4:case n.float8:case n.int2:case n.int4:case n.int8:case n.numeric:case n.oid:return $(a);case n.json:case n.jsonb:return U(a);case n.timestamp:return F(a);case n.abstime:case n.date:case n.daterange:case n.int4range:case n.int8range:case n.money:case n.reltime:case n.text:case n.time:case n.timestamptz:case n.timetz:case n.tsrange:case n.tstzrange:default:return R(a)}},R=e=>e,L=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},$=e=>{if("string"==typeof e){let a=parseFloat(e);if(!Number.isNaN(a))return a}return e},U=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.log(`JSON parse error: ${e}`)}return e},B=(e,a)=>{if("string"!=typeof e)return e;let p=e.length-1,d=e[p];if("{"===e[0]&&"}"===d){let d;let t=e.slice(1,p);try{d=JSON.parse("["+t+"]")}catch(e){d=t?t.split(","):[]}return d.map(e=>I(a,e))}return e},F=e=>"string"==typeof e?e.replace(" ","T"):e,M=e=>{let a=e;return(a=(a=a.replace(/^ws/i,"http")).replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,"")).replace(/\/+$/,"")};class z{constructor(e,a,p={},d=1e4){this.channel=e,this.event=a,this.payload=p,this.timeout=d,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,a){var p;return this._hasReceived(e)&&a(null===(p=this.receivedResp)||void 0===p?void 0:p.response),this.recHooks.push({status:e,callback:a}),this}startTimeout(){this.timeoutTimer||(this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref),this.channel._on(this.refEvent,{},e=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=e,this._matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout))}trigger(e,a){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:a})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:a}){this.recHooks.filter(a=>a.status===e).forEach(e=>e.callback(a))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}!function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"}(u||(u={}));class q{constructor(e,a){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};let p=(null==a?void 0:a.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(p.state,{},e=>{let{onJoin:a,onLeave:p,onSync:d}=this.caller;this.joinRef=this.channel._joinRef(),this.state=q.syncState(this.state,e,a,p),this.pendingDiffs.forEach(e=>{this.state=q.syncDiff(this.state,e,a,p)}),this.pendingDiffs=[],d()}),this.channel._on(p.diff,{},e=>{let{onJoin:a,onLeave:p,onSync:d}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(e):(this.state=q.syncDiff(this.state,e,a,p),d())}),this.onJoin((e,a,p)=>{this.channel._trigger("presence",{event:"join",key:e,currentPresences:a,newPresences:p})}),this.onLeave((e,a,p)=>{this.channel._trigger("presence",{event:"leave",key:e,currentPresences:a,leftPresences:p})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,a,p,d){let t=this.cloneDeep(e),i=this.transformState(a),s={},l={};return this.map(t,(e,a)=>{i[e]||(l[e]=a)}),this.map(i,(e,a)=>{let p=t[e];if(p){let d=a.map(e=>e.presence_ref),t=p.map(e=>e.presence_ref),i=a.filter(e=>0>t.indexOf(e.presence_ref)),r=p.filter(e=>0>d.indexOf(e.presence_ref));i.length>0&&(s[e]=i),r.length>0&&(l[e]=r)}else s[e]=a}),this.syncDiff(t,{joins:s,leaves:l},p,d)}static syncDiff(e,a,p,d){let{joins:t,leaves:i}={joins:this.transformState(a.joins),leaves:this.transformState(a.leaves)};return p||(p=()=>{}),d||(d=()=>{}),this.map(t,(a,d)=>{var t;let i=null!==(t=e[a])&&void 0!==t?t:[];if(e[a]=this.cloneDeep(d),i.length>0){let p=e[a].map(e=>e.presence_ref),d=i.filter(e=>0>p.indexOf(e.presence_ref));e[a].unshift(...d)}p(a,i,d)}),this.map(i,(a,p)=>{let t=e[a];if(!t)return;let i=p.map(e=>e.presence_ref);t=t.filter(e=>0>i.indexOf(e.presence_ref)),e[a]=t,d(a,t,p),0===t.length&&delete e[a]}),e}static map(e,a){return Object.getOwnPropertyNames(e).map(p=>a(p,e[p]))}static transformState(e){return Object.getOwnPropertyNames(e=this.cloneDeep(e)).reduce((a,p)=>{let d=e[p];return"metas"in d?a[p]=d.metas.map(e=>(e.presence_ref=e.phx_ref,delete e.phx_ref,delete e.phx_ref_prev,e)):a[p]=d,a},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(h||(h={})),function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes"}(c||(c={})),function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"}(v||(v={}));class J{constructor(e,a={config:{}},p){this.topic=e,this.params=a,this.socket=p,this.bindings={},this.state=l.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},a.config),this.timeout=this.socket.timeout,this.joinPush=new z(this,r.join,this.params,this.timeout),this.rejoinTimer=new j(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=l.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(e=>e.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=l.closed,this.socket._remove(this)}),this._onError(e=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,e),this.state=l.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=l.errored,this.rejoinTimer.scheduleTimeout())}),this._on(r.reply,{},(e,a)=>{this._trigger(this._replyEventName(a),e)}),this.presence=new q(this),this.broadcastEndpointURL=M(this.socket.endPoint)+"/api/broadcast"}subscribe(e,a=this.timeout){var p,d;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{let{config:{broadcast:t,presence:i,private:s}}=this.params;this._onError(a=>e&&e("CHANNEL_ERROR",a)),this._onClose(()=>e&&e("CLOSED"));let l={},r={broadcast:t,presence:i,postgres_changes:null!==(d=null===(p=this.bindings.postgres_changes)||void 0===p?void 0:p.map(e=>e.filter))&&void 0!==d?d:[],private:s};this.socket.accessToken&&(l.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:r},l)),this.joinedOnce=!0,this._rejoin(a),this.joinPush.receive("ok",({postgres_changes:a})=>{var p;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),void 0===a){e&&e("SUBSCRIBED");return}{let d=this.bindings.postgres_changes,t=null!==(p=null==d?void 0:d.length)&&void 0!==p?p:0,i=[];for(let p=0;p{e&&e("CHANNEL_ERROR",Error(JSON.stringify(Object.values(a).join(", ")||"error")))}).receive("timeout",()=>{e&&e("TIMED_OUT")})}return this}presenceState(){return this.presence.state}async track(e,a={}){return await this.send({type:"presence",event:"track",payload:e},a.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,a,p){return this._on(e,a,p)}async send(e,a={}){var p,d;if(this._canPush()||"broadcast"!==e.type)return new Promise(p=>{var d,t,i;let s=this._push(e.type,e,a.timeout||this.timeout);"broadcast"!==e.type||(null===(i=null===(t=null===(d=this.params)||void 0===d?void 0:d.config)||void 0===t?void 0:t.broadcast)||void 0===i?void 0:i.ack)||p("ok"),s.receive("ok",()=>p("ok")),s.receive("error",()=>p("error")),s.receive("timeout",()=>p("timed out"))});{let{event:t,payload:i}=e,s={method:"POST",headers:{Authorization:this.socket.accessToken?`Bearer ${this.socket.accessToken}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:t,payload:i}]})};try{let e=await this._fetchWithTimeout(this.broadcastEndpointURL,s,null!==(p=a.timeout)&&void 0!==p?p:this.timeout);return await (null===(d=e.body)||void 0===d?void 0:d.cancel()),e.ok?"ok":"error"}catch(e){if("AbortError"===e.name)return"timed out";return"error"}}}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=l.leaving;let a=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(r.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(p=>{let d=new z(this,r.leave,{},e);d.receive("ok",()=>{a(),p("ok")}).receive("timeout",()=>{a(),p("timed out")}).receive("error",()=>{p("error")}),d.send(),this._canPush()||d.trigger("ok",{})})}async _fetchWithTimeout(e,a,p){let d=new AbortController,t=setTimeout(()=>d.abort(),p),i=await this.socket.fetch(e,Object.assign(Object.assign({},a),{signal:d.signal}));return clearTimeout(t),i}_push(e,a,p=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let d=new z(this,e,a,p);return this._canPush()?d.send():(d.startTimeout(),this.pushBuffer.push(d)),d}_onMessage(e,a,p){return a}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,a,p){var d,t;let i=e.toLocaleLowerCase(),{close:s,error:l,leave:o,join:m}=r;if(p&&[s,l,o,m].indexOf(i)>=0&&p!==this._joinRef())return;let n=this._onMessage(i,a,p);if(a&&!n)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(i)?null===(d=this.bindings.postgres_changes)||void 0===d||d.filter(e=>{var a,p,d;return(null===(a=e.filter)||void 0===a?void 0:a.event)==="*"||(null===(d=null===(p=e.filter)||void 0===p?void 0:p.event)||void 0===d?void 0:d.toLocaleLowerCase())===i}).map(e=>e.callback(n,p)):null===(t=this.bindings[i])||void 0===t||t.filter(e=>{var p,d,t,s,l,r;if(!["broadcast","presence","postgres_changes"].includes(i))return e.type.toLocaleLowerCase()===i;if("id"in e){let i=e.id,s=null===(p=e.filter)||void 0===p?void 0:p.event;return i&&(null===(d=a.ids)||void 0===d?void 0:d.includes(i))&&("*"===s||(null==s?void 0:s.toLocaleLowerCase())===(null===(t=a.data)||void 0===t?void 0:t.type.toLocaleLowerCase()))}{let p=null===(l=null===(s=null==e?void 0:e.filter)||void 0===s?void 0:s.event)||void 0===l?void 0:l.toLocaleLowerCase();return"*"===p||p===(null===(r=null==a?void 0:a.event)||void 0===r?void 0:r.toLocaleLowerCase())}}).map(e=>{if("object"==typeof n&&"ids"in n){let e=n.data,{schema:a,table:p,commit_timestamp:d,type:t,errors:i}=e;n=Object.assign(Object.assign({},{schema:a,table:p,commit_timestamp:d,eventType:t,new:{},old:{},errors:i}),this._getPayloadRecords(e))}e.callback(n,p)})}_isClosed(){return this.state===l.closed}_isJoined(){return this.state===l.joined}_isJoining(){return this.state===l.joining}_isLeaving(){return this.state===l.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,a,p){let d=e.toLocaleLowerCase(),t={type:d,filter:a,callback:p};return this.bindings[d]?this.bindings[d].push(t):this.bindings[d]=[t],this}_off(e,a){let p=e.toLocaleLowerCase();return this.bindings[p]=this.bindings[p].filter(e=>{var d;return!((null===(d=e.type)||void 0===d?void 0:d.toLocaleLowerCase())===p&&J.isEqual(e.filter,a))}),this}static isEqual(e,a){if(Object.keys(e).length!==Object.keys(a).length)return!1;for(let p in e)if(e[p]!==a[p])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(r.close,{},e)}_onError(e){this._on(r.error,{},a=>e(a))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=l.joining,this.joinPush.resend(e))}_getPayloadRecords(e){let a={new:{},old:{}};return("INSERT"===e.type||"UPDATE"===e.type)&&(a.new=P(e.columns,e.record)),("UPDATE"===e.type||"DELETE"===e.type)&&(a.old=P(e.columns,e.old_record)),a}}let H=()=>{},G="undefined"!=typeof WebSocket;class K{constructor(e,a){var d;this.accessToken=null,this.apiKey=null,this.channels=[],this.endPoint="",this.httpEndpoint="",this.headers=E,this.params={},this.timeout=1e4,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=H,this.conn=null,this.sendBuffer=[],this.serializer=new O,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this._resolveFetch=e=>{let a;return e?a=e:"undefined"==typeof fetch?a=(...e)=>Promise.resolve().then(p.t.bind(p,63888,23)).then(({default:a})=>a(...e)):a=fetch,(...e)=>a(...e)},this.endPoint=`${e}/${o.websocket}`,this.httpEndpoint=M(e),(null==a?void 0:a.transport)?this.transport=a.transport:this.transport=null,(null==a?void 0:a.params)&&(this.params=a.params),(null==a?void 0:a.headers)&&(this.headers=Object.assign(Object.assign({},this.headers),a.headers)),(null==a?void 0:a.timeout)&&(this.timeout=a.timeout),(null==a?void 0:a.logger)&&(this.logger=a.logger),(null==a?void 0:a.heartbeatIntervalMs)&&(this.heartbeatIntervalMs=a.heartbeatIntervalMs);let t=null===(d=null==a?void 0:a.params)||void 0===d?void 0:d.apikey;t&&(this.accessToken=t,this.apiKey=t),this.reconnectAfterMs=(null==a?void 0:a.reconnectAfterMs)?a.reconnectAfterMs:e=>[1e3,2e3,5e3,1e4][e-1]||1e4,this.encode=(null==a?void 0:a.encode)?a.encode:(e,a)=>a(JSON.stringify(e)),this.decode=(null==a?void 0:a.decode)?a.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new j(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(null==a?void 0:a.fetch)}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this._endPointURL(),void 0,{headers:this.headers});return}if(G){this.conn=new WebSocket(this._endPointURL()),this.setupConnection();return}this.conn=new X(this._endPointURL(),void 0,{close:()=>{this.conn=null}}),p.e(893).then(p.bind(p,34893)).then(({default:e})=>{this.conn=new e(this._endPointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}disconnect(e,a){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,null!=a?a:""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(e){let a=await e.unsubscribe();return 0===this.channels.length&&this.disconnect(),a}async removeAllChannels(){let e=await Promise.all(this.channels.map(e=>e.unsubscribe()));return this.disconnect(),e}log(e,a,p){this.logger(e,a,p)}connectionState(){switch(this.conn&&this.conn.readyState){case s.connecting:return m.Connecting;case s.open:return m.Open;case s.closing:return m.Closing;default:return m.Closed}}isConnected(){return this.connectionState()===m.Open}channel(e,a={config:{}}){let p=new J(`realtime:${e}`,a,this);return this.channels.push(p),p}push(e){let{topic:a,event:p,payload:d,ref:t}=e,i=()=>{this.encode(e,e=>{var a;null===(a=this.conn)||void 0===a||a.send(e)})};this.log("push",`${a} ${p} (${t})`,d),this.isConnected()?i():this.sendBuffer.push(i)}setAuth(e){this.accessToken=e,this.channels.forEach(a=>{e&&a.updateJoinPayload({access_token:e}),a.joinedOnce&&a._isJoined()&&a._push(r.access_token,{access_token:e})})}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let a=this.channels.find(a=>a.topic===e&&(a._isJoined()||a._isJoining()));a&&(this.log("transport",`leaving duplicate topic "${e}"`),a.unsubscribe())}_remove(e){this.channels=this.channels.filter(a=>a._joinRef()!==e._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e))}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:"1.0.0"}))}_onConnMessage(e){this.decode(e.data,e=>{let{topic:a,event:p,payload:d,ref:t}=e;(t&&t===this.pendingHeartbeatRef||p===(null==d?void 0:d.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${d.status||""} ${a} ${p} ${t&&"("+t+")"||""}`,d),this.channels.filter(e=>e._isMember(a)).forEach(e=>e._trigger(p,d,t)),this.stateChangeCallbacks.message.forEach(a=>a(e))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(e=>e())}_onConnClose(e){this.log("transport","close",e),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(a=>a(e))}_onConnError(e){this.log("transport",e.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(a=>a(e))}_triggerChanError(){this.channels.forEach(e=>e._trigger(r.error))}_appendParams(e,a){if(0===Object.keys(a).length)return e;let p=e.match(/\?/)?"&":"?",d=new URLSearchParams(a);return`${e}${p}${d}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_sendHeartbeat(){var e;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),null===(e=this.conn)||void 0===e||e.close(1e3,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}}class X{constructor(e,a,p){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=s.connecting,this.send=()=>{},this.url=null,this.url=e,this.close=p.close}}class Z extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function Y(e){return"object"==typeof e&&null!==e&&"__isStorageError"in e}class W extends Z{constructor(e,a){super(e),this.name="StorageApiError",this.status=a}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class Q extends Z{constructor(e,a){super(e),this.name="StorageUnknownError",this.originalError=a}}let ee=e=>{let a;return e?a=e:"undefined"==typeof fetch?a=(...e)=>Promise.resolve().then(p.t.bind(p,63888,23)).then(({default:a})=>a(...e)):a=fetch,(...e)=>a(...e)},ea=()=>(function(e,a,p,d){return new(p||(p=Promise))(function(t,i){function s(e){try{r(d.next(e))}catch(e){i(e)}}function l(e){try{r(d.throw(e))}catch(e){i(e)}}function r(e){var a;e.done?t(e.value):((a=e.value)instanceof p?a:new p(function(e){e(a)})).then(s,l)}r((d=d.apply(e,a||[])).next())})})(void 0,void 0,void 0,function*(){return"undefined"==typeof Response?(yield Promise.resolve().then(p.t.bind(p,63888,23))).Response:Response});var ep=function(e,a,p,d){return new(p||(p=Promise))(function(t,i){function s(e){try{r(d.next(e))}catch(e){i(e)}}function l(e){try{r(d.throw(e))}catch(e){i(e)}}function r(e){var a;e.done?t(e.value):((a=e.value)instanceof p?a:new p(function(e){e(a)})).then(s,l)}r((d=d.apply(e,a||[])).next())})};let ed=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),et=(e,a)=>ep(void 0,void 0,void 0,function*(){e instanceof(yield ea())?e.json().then(p=>{a(new W(ed(p),e.status||500))}).catch(e=>{a(new Q(ed(e),e))}):a(new Q(ed(e),e))}),ei=(e,a,p,d)=>{let t={method:e,headers:(null==a?void 0:a.headers)||{}};return"GET"===e?t:(t.headers=Object.assign({"Content-Type":"application/json"},null==a?void 0:a.headers),t.body=JSON.stringify(d),Object.assign(Object.assign({},t),p))};function es(e,a,p,d,t,i){return ep(this,void 0,void 0,function*(){return new Promise((s,l)=>{e(p,ei(a,d,t,i)).then(e=>{if(!e.ok)throw e;return(null==d?void 0:d.noResolveJson)?e:e.json()}).then(e=>s(e)).catch(e=>et(e,l))})})}function el(e,a,p,d){return ep(this,void 0,void 0,function*(){return es(e,"GET",a,p,d)})}function er(e,a,p,d,t){return ep(this,void 0,void 0,function*(){return es(e,"POST",a,d,t,p)})}function eo(e,a,p,d,t){return ep(this,void 0,void 0,function*(){return es(e,"DELETE",a,d,t,p)})}var em=function(e,a,p,d){return new(p||(p=Promise))(function(t,i){function s(e){try{r(d.next(e))}catch(e){i(e)}}function l(e){try{r(d.throw(e))}catch(e){i(e)}}function r(e){var a;e.done?t(e.value):((a=e.value)instanceof p?a:new p(function(e){e(a)})).then(s,l)}r((d=d.apply(e,a||[])).next())})};let en={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},eu={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class eh{constructor(e,a={},p,d){this.url=e,this.headers=a,this.bucketId=p,this.fetch=ee(d)}uploadOrUpdate(e,a,p,d){return em(this,void 0,void 0,function*(){try{let t;let i=Object.assign(Object.assign({},eu),d),s=Object.assign(Object.assign({},this.headers),"POST"===e&&{"x-upsert":String(i.upsert)});"undefined"!=typeof Blob&&p instanceof Blob?((t=new FormData).append("cacheControl",i.cacheControl),t.append("",p)):"undefined"!=typeof FormData&&p instanceof FormData?(t=p).append("cacheControl",i.cacheControl):(t=p,s["cache-control"]=`max-age=${i.cacheControl}`,s["content-type"]=i.contentType);let l=this._removeEmptyFolders(a),r=this._getFinalPath(l),o=yield this.fetch(`${this.url}/object/${r}`,Object.assign({method:e,body:t,headers:s},(null==i?void 0:i.duplex)?{duplex:i.duplex}:{})),m=yield o.json();if(o.ok)return{data:{path:l,id:m.Id,fullPath:m.Key},error:null};return{data:null,error:m}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}upload(e,a,p){return em(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",e,a,p)})}uploadToSignedUrl(e,a,p,d){return em(this,void 0,void 0,function*(){let t=this._removeEmptyFolders(e),i=this._getFinalPath(t),s=new URL(this.url+`/object/upload/sign/${i}`);s.searchParams.set("token",a);try{let e;let a=Object.assign({upsert:eu.upsert},d),i=Object.assign(Object.assign({},this.headers),{"x-upsert":String(a.upsert)});"undefined"!=typeof Blob&&p instanceof Blob?((e=new FormData).append("cacheControl",a.cacheControl),e.append("",p)):"undefined"!=typeof FormData&&p instanceof FormData?(e=p).append("cacheControl",a.cacheControl):(e=p,i["cache-control"]=`max-age=${a.cacheControl}`,i["content-type"]=a.contentType);let l=yield this.fetch(s.toString(),{method:"PUT",body:e,headers:i}),r=yield l.json();if(l.ok)return{data:{path:t,fullPath:r.Key},error:null};return{data:null,error:r}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}createSignedUploadUrl(e,a){return em(this,void 0,void 0,function*(){try{let p=this._getFinalPath(e),d=Object.assign({},this.headers);(null==a?void 0:a.upsert)&&(d["x-upsert"]="true");let t=yield er(this.fetch,`${this.url}/object/upload/sign/${p}`,{},{headers:d}),i=new URL(this.url+t.url),s=i.searchParams.get("token");if(!s)throw new Z("No token returned by API");return{data:{signedUrl:i.toString(),path:e,token:s},error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}update(e,a,p){return em(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",e,a,p)})}move(e,a,p){return em(this,void 0,void 0,function*(){try{return{data:yield er(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:a,destinationBucket:null==p?void 0:p.destinationBucket},{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}copy(e,a,p){return em(this,void 0,void 0,function*(){try{return{data:{path:(yield er(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:a,destinationBucket:null==p?void 0:p.destinationBucket},{headers:this.headers})).Key},error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}createSignedUrl(e,a,p){return em(this,void 0,void 0,function*(){try{let d=this._getFinalPath(e),t=yield er(this.fetch,`${this.url}/object/sign/${d}`,Object.assign({expiresIn:a},(null==p?void 0:p.transform)?{transform:p.transform}:{}),{headers:this.headers}),i=(null==p?void 0:p.download)?`&download=${!0===p.download?"":p.download}`:"";return{data:t={signedUrl:encodeURI(`${this.url}${t.signedURL}${i}`)},error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}createSignedUrls(e,a,p){return em(this,void 0,void 0,function*(){try{let d=yield er(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:a,paths:e},{headers:this.headers}),t=(null==p?void 0:p.download)?`&download=${!0===p.download?"":p.download}`:"";return{data:d.map(e=>Object.assign(Object.assign({},e),{signedUrl:e.signedURL?encodeURI(`${this.url}${e.signedURL}${t}`):null})),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}download(e,a){return em(this,void 0,void 0,function*(){let p=void 0!==(null==a?void 0:a.transform),d=this.transformOptsToQueryString((null==a?void 0:a.transform)||{}),t=d?`?${d}`:"";try{let a=this._getFinalPath(e),d=yield el(this.fetch,`${this.url}/${p?"render/image/authenticated":"object"}/${a}${t}`,{headers:this.headers,noResolveJson:!0});return{data:yield d.blob(),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}getPublicUrl(e,a){let p=this._getFinalPath(e),d=[],t=(null==a?void 0:a.download)?`download=${!0===a.download?"":a.download}`:"";""!==t&&d.push(t);let i=void 0!==(null==a?void 0:a.transform),s=this.transformOptsToQueryString((null==a?void 0:a.transform)||{});""!==s&&d.push(s);let l=d.join("&");return""!==l&&(l=`?${l}`),{data:{publicUrl:encodeURI(`${this.url}/${i?"render/image":"object"}/public/${p}${l}`)}}}remove(e){return em(this,void 0,void 0,function*(){try{return{data:yield eo(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}list(e,a,p){return em(this,void 0,void 0,function*(){try{let d=Object.assign(Object.assign(Object.assign({},en),a),{prefix:e||""});return{data:yield er(this.fetch,`${this.url}/object/list/${this.bucketId}`,d,{headers:this.headers},p),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}_getFinalPath(e){return`${this.bucketId}/${e}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){let a=[];return e.width&&a.push(`width=${e.width}`),e.height&&a.push(`height=${e.height}`),e.resize&&a.push(`resize=${e.resize}`),e.format&&a.push(`format=${e.format}`),e.quality&&a.push(`quality=${e.quality}`),a.join("&")}}let ec={"X-Client-Info":"storage-js/2.6.0"};var ev=function(e,a,p,d){return new(p||(p=Promise))(function(t,i){function s(e){try{r(d.next(e))}catch(e){i(e)}}function l(e){try{r(d.throw(e))}catch(e){i(e)}}function r(e){var a;e.done?t(e.value):((a=e.value)instanceof p?a:new p(function(e){e(a)})).then(s,l)}r((d=d.apply(e,a||[])).next())})};class ef{constructor(e,a={},p){this.url=e,this.headers=Object.assign(Object.assign({},ec),a),this.fetch=ee(p)}listBuckets(){return ev(this,void 0,void 0,function*(){try{return{data:yield el(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}getBucket(e){return ev(this,void 0,void 0,function*(){try{return{data:yield el(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}createBucket(e,a={public:!1}){return ev(this,void 0,void 0,function*(){try{return{data:yield er(this.fetch,`${this.url}/bucket`,{id:e,name:e,public:a.public,file_size_limit:a.fileSizeLimit,allowed_mime_types:a.allowedMimeTypes},{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}updateBucket(e,a){return ev(this,void 0,void 0,function*(){try{return{data:yield function(e,a,p,d,t){return ep(this,void 0,void 0,function*(){return es(e,"PUT",a,d,void 0,p)})}(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:a.public,file_size_limit:a.fileSizeLimit,allowed_mime_types:a.allowedMimeTypes},{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}emptyBucket(e){return ev(this,void 0,void 0,function*(){try{return{data:yield er(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}deleteBucket(e){return ev(this,void 0,void 0,function*(){try{return{data:yield eo(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(e){if(Y(e))return{data:null,error:e};throw e}})}}class ew extends ef{constructor(e,a={},p){super(e,a,p)}from(e){return new eh(this.url,this.headers,e,this.fetch)}}let eg="";"undefined"!=typeof Deno?eg="deno":"undefined"!=typeof document?eg="web":"undefined"!=typeof navigator&&"ReactNative"===navigator.product?eg="react-native":eg="node";let e_={headers:{"X-Client-Info":`supabase-js-${eg}/2.44.3`}},ey={schema:"public"},eb={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},eS={};var eN=p(63888),eT=p.n(eN);let eD=e=>{let a;return e?a=e:"undefined"==typeof fetch?a=eT():a=fetch,(...e)=>a(...e)},ek=()=>"undefined"==typeof Headers?eN.Headers:Headers,eV=(e,a,p)=>{let d=eD(p),t=ek();return(p,i)=>(function(e,a,p,d){return new(p||(p=Promise))(function(t,i){function s(e){try{r(d.next(e))}catch(e){i(e)}}function l(e){try{r(d.throw(e))}catch(e){i(e)}}function r(e){var a;e.done?t(e.value):((a=e.value)instanceof p?a:new p(function(e){e(a)})).then(s,l)}r((d=d.apply(e,a||[])).next())})})(void 0,void 0,void 0,function*(){var s;let l=null!==(s=yield a())&&void 0!==s?s:e,r=new t(null==i?void 0:i.headers);return r.has("apikey")||r.set("apikey",e),r.has("Authorization")||r.set("Authorization",`Bearer ${l}`),d(p,Object.assign(Object.assign({},i),{headers:r}))})},eA="2.64.2",eC={"X-Client-Info":`gotrue-js/${eA}`},eE="X-Supabase-Api-Version",eO={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},ej=()=>"undefined"!=typeof document,eP={tested:!1,writable:!1},ex=()=>{if(!ej())return!1;try{if("object"!=typeof globalThis.localStorage)return!1}catch(e){return!1}if(eP.tested)return eP.writable;let e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),eP.tested=!0,eP.writable=!0}catch(e){eP.tested=!0,eP.writable=!1}return eP.writable};function eI(e){let a={},p=new URL(e);if(p.hash&&"#"===p.hash[0])try{new URLSearchParams(p.hash.substring(1)).forEach((e,p)=>{a[p]=e})}catch(e){}return p.searchParams.forEach((e,p)=>{a[p]=e}),a}let eR=e=>{let a;return e?a=e:"undefined"==typeof fetch?a=(...e)=>Promise.resolve().then(p.t.bind(p,63888,23)).then(({default:a})=>a(...e)):a=fetch,(...e)=>a(...e)},eL=e=>"object"==typeof e&&null!==e&&"status"in e&&"ok"in e&&"json"in e&&"function"==typeof e.json,e$=async(e,a,p)=>{await e.setItem(a,JSON.stringify(p))},eU=async(e,a)=>{let p=await e.getItem(a);if(!p)return null;try{return JSON.parse(p)}catch(e){return p}},eB=async(e,a)=>{await e.removeItem(a)};class eF{constructor(){this.promise=new eF.promiseConstructor((e,a)=>{this.resolve=e,this.reject=a})}}function eM(e){let a=e.split(".");if(3!==a.length)throw Error("JWT is not valid: not a JWT structure");if(!/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i.test(a[1]))throw Error("JWT is not valid: payload is not in base64url format");return JSON.parse(function(e){let a,p,d,t,i,s,l;let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="",m=0;for(e=e.replace("-","+").replace("_","/");m>4,p=(15&i)<<4|s>>2,d=(3&s)<<6|l,o+=String.fromCharCode(a),64!=s&&0!=p&&(o+=String.fromCharCode(p)),64!=l&&0!=d&&(o+=String.fromCharCode(d));return o}(a[1]))}async function ez(e){return await new Promise(a=>{setTimeout(()=>a(null),e)})}function eq(e){return("0"+e.toString(16)).substr(-2)}async function eJ(e){let a=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",a))).map(e=>String.fromCharCode(e)).join("")}async function eH(e){return"undefined"!=typeof crypto&&void 0!==crypto.subtle&&"undefined"!=typeof TextEncoder?btoa(await eJ(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):(console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e)}async function eG(e,a,p=!1){let d=function(){let e=new Uint32Array(56);if("undefined"==typeof crypto){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",a=e.length,p="";for(let d=0;d<56;d++)p+=e.charAt(Math.floor(Math.random()*a));return p}return crypto.getRandomValues(e),Array.from(e,eq).join("")}(),t=d;p&&(t+="/PASSWORD_RECOVERY"),await e$(e,`${a}-code-verifier`,t);let i=await eH(d),s=d===i?"plain":"s256";return[i,s]}eF.promiseConstructor=Promise;let eK=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;class eX extends Error{constructor(e,a,p){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=a,this.code=p}}function eZ(e){return"object"==typeof e&&null!==e&&"__isAuthError"in e}class eY extends eX{constructor(e,a,p){super(e,a,p),this.name="AuthApiError",this.status=a,this.code=p}}class eW extends eX{constructor(e,a){super(e),this.name="AuthUnknownError",this.originalError=a}}class eQ extends eX{constructor(e,a,p,d){super(e,p,d),this.name=a,this.status=p}}class e1 extends eQ{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}class e2 extends eQ{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class e0 extends eQ{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class e6 extends eQ{constructor(e,a=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=a}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class e4 extends eQ{constructor(e,a=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=a}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class e9 extends eQ{constructor(e,a){super(e,"AuthRetryableFetchError",a,void 0)}}function e3(e){return eZ(e)&&"AuthRetryableFetchError"===e.name}class e5 extends eQ{constructor(e,a,p){super(e,"AuthWeakPasswordError",a,"weak_password"),this.reasons=p}}var e8=function(e,a){var p={};for(var d in e)Object.prototype.hasOwnProperty.call(e,d)&&0>a.indexOf(d)&&(p[d]=e[d]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var t=0,d=Object.getOwnPropertySymbols(e);ta.indexOf(d[t])&&Object.prototype.propertyIsEnumerable.call(e,d[t])&&(p[d[t]]=e[d[t]]);return p};let e7=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),ae=[502,503,504];async function aa(e){var a;let p,d;if(!eL(e))throw new e9(e7(e),0);if(ae.includes(e.status))throw new e9(e7(e),e.status);try{p=await e.json()}catch(e){throw new eW(e7(e),e)}let t=function(e){let a=e.headers.get(eE);if(!a||!a.match(eK))return null;try{return new Date(`${a}T00:00:00.0Z`)}catch(e){return null}}(e);if(t&&t.getTime()>=eO["2024-01-01"].timestamp&&"object"==typeof p&&p&&"string"==typeof p.code?d=p.code:"object"==typeof p&&p&&"string"==typeof p.error_code&&(d=p.error_code),d){if("weak_password"===d)throw new e5(e7(p),e.status,(null===(a=p.weak_password)||void 0===a?void 0:a.reasons)||[])}else if("object"==typeof p&&p&&"object"==typeof p.weak_password&&p.weak_password&&Array.isArray(p.weak_password.reasons)&&p.weak_password.reasons.length&&p.weak_password.reasons.reduce((e,a)=>e&&"string"==typeof a,!0))throw new e5(e7(p),e.status,p.weak_password.reasons);throw new eY(e7(p),e.status||500,d)}let ap=(e,a,p,d)=>{let t={method:e,headers:(null==a?void 0:a.headers)||{}};return"GET"===e?t:(t.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},null==a?void 0:a.headers),t.body=JSON.stringify(d),Object.assign(Object.assign({},t),p))};async function ad(e,a,p,d){var t;let i=Object.assign({},null==d?void 0:d.headers);i[eE]||(i[eE]=eO["2024-01-01"].name),(null==d?void 0:d.jwt)&&(i.Authorization=`Bearer ${d.jwt}`);let s=null!==(t=null==d?void 0:d.query)&&void 0!==t?t:{};(null==d?void 0:d.redirectTo)&&(s.redirect_to=d.redirectTo);let l=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",r=await at(e,a,p+l,{headers:i,noResolveJson:null==d?void 0:d.noResolveJson},{},null==d?void 0:d.body);return(null==d?void 0:d.xform)?null==d?void 0:d.xform(r):{data:Object.assign({},r),error:null}}async function at(e,a,p,d,t,i){let s;let l=ap(a,d,t,i);try{s=await e(p,Object.assign({},l))}catch(e){throw console.error(e),new e9(e7(e),0)}if(s.ok||await aa(s),null==d?void 0:d.noResolveJson)return s;try{return await s.json()}catch(e){await aa(e)}}function ai(e){var a,p;let d=null;return e.access_token&&e.refresh_token&&e.expires_in&&(d=Object.assign({},e),!e.expires_at)&&(d.expires_at=(p=e.expires_in,Math.round(Date.now()/1e3)+p)),{data:{session:d,user:null!==(a=e.user)&&void 0!==a?a:e},error:null}}function as(e){let a=ai(e);return!a.error&&e.weak_password&&"object"==typeof e.weak_password&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&"string"==typeof e.weak_password.message&&e.weak_password.reasons.reduce((e,a)=>e&&"string"==typeof a,!0)&&(a.data.weak_password=e.weak_password),a}function al(e){var a;return{data:{user:null!==(a=e.user)&&void 0!==a?a:e},error:null}}function ar(e){return{data:e,error:null}}function ao(e){let{action_link:a,email_otp:p,hashed_token:d,redirect_to:t,verification_type:i}=e;return{data:{properties:{action_link:a,email_otp:p,hashed_token:d,redirect_to:t,verification_type:i},user:Object.assign({},e8(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]))},error:null}}function am(e){return e}var an=function(e,a){var p={};for(var d in e)Object.prototype.hasOwnProperty.call(e,d)&&0>a.indexOf(d)&&(p[d]=e[d]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var t=0,d=Object.getOwnPropertySymbols(e);ta.indexOf(d[t])&&Object.prototype.propertyIsEnumerable.call(e,d[t])&&(p[d[t]]=e[d[t]]);return p};class au{constructor({url:e="",headers:a={},fetch:p}){this.url=e,this.headers=a,this.fetch=eR(p),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(e,a="global"){try{return await ad(this.fetch,"POST",`${this.url}/logout?scope=${a}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async inviteUserByEmail(e,a={}){try{return await ad(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:a.data},headers:this.headers,redirectTo:a.redirectTo,xform:al})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}async generateLink(e){try{let{options:a}=e,p=an(e,["options"]),d=Object.assign(Object.assign({},p),a);return"newEmail"in p&&(d.new_email=null==p?void 0:p.newEmail,delete d.newEmail),await ad(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:d,headers:this.headers,xform:ao,redirectTo:null==a?void 0:a.redirectTo})}catch(e){if(eZ(e))return{data:{properties:null,user:null},error:e};throw e}}async createUser(e){try{return await ad(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:al})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}async listUsers(e){var a,p,d,t,i,s,l;try{let r={nextPage:null,lastPage:0,total:0},o=await ad(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:null!==(p=null===(a=null==e?void 0:e.page)||void 0===a?void 0:a.toString())&&void 0!==p?p:"",per_page:null!==(t=null===(d=null==e?void 0:e.perPage)||void 0===d?void 0:d.toString())&&void 0!==t?t:""},xform:am});if(o.error)throw o.error;let m=await o.json(),n=null!==(i=o.headers.get("x-total-count"))&&void 0!==i?i:0,u=null!==(l=null===(s=o.headers.get("link"))||void 0===s?void 0:s.split(","))&&void 0!==l?l:[];return u.length>0&&(u.forEach(e=>{let a=parseInt(e.split(";")[0].split("=")[1].substring(0,1)),p=JSON.parse(e.split(";")[1].split("=")[1]);r[`${p}Page`]=a}),r.total=parseInt(n)),{data:Object.assign(Object.assign({},m),r),error:null}}catch(e){if(eZ(e))return{data:{users:[]},error:e};throw e}}async getUserById(e){try{return await ad(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:al})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}async updateUserById(e,a){try{return await ad(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:a,headers:this.headers,xform:al})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}async deleteUser(e,a=!1){try{return await ad(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:a},xform:al})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}async _listFactors(e){try{let{data:a,error:p}=await ad(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:e=>({data:{factors:e},error:null})});return{data:a,error:p}}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async _deleteFactor(e){try{return{data:await ad(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(e){if(eZ(e))return{data:null,error:e};throw e}}}let ah={getItem:e=>ex()?globalThis.localStorage.getItem(e):null,setItem:(e,a)=>{ex()&&globalThis.localStorage.setItem(e,a)},removeItem:e=>{ex()&&globalThis.localStorage.removeItem(e)}};function ac(e={}){return{getItem:a=>e[a]||null,setItem:(a,p)=>{e[a]=p},removeItem:a=>{delete e[a]}}}let av={debug:!!(globalThis&&ex()&&globalThis.localStorage&&"true"===globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug"))};class af extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class aw extends af{}async function ag(e,a,p){av.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,a);let d=new globalThis.AbortController;return a>0&&setTimeout(()=>{d.abort(),av.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},a),await globalThis.navigator.locks.request(e,0===a?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:d.signal},async d=>{if(d){av.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,d.name);try{return await p()}finally{av.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,d.name)}}else{if(0===a)throw av.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new aw(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(av.debug)try{let e=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(e,null," "))}catch(e){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",e)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await p()}})}!function(){if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){"undefined"!=typeof self&&(self.globalThis=self)}}();let a_={url:"http://localhost:9999",storageKey:"supabase.auth.token",autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:eC,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function ay(e,a,p){return await p()}class ab{constructor(e){var a,p;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=ab.nextInstanceID,ab.nextInstanceID+=1,this.instanceID>0&&ej()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");let d=Object.assign(Object.assign({},a_),e);if(this.logDebugMessages=!!d.debug,"function"==typeof d.debug&&(this.logger=d.debug),this.persistSession=d.persistSession,this.storageKey=d.storageKey,this.autoRefreshToken=d.autoRefreshToken,this.admin=new au({url:d.url,headers:d.headers,fetch:d.fetch}),this.url=d.url,this.headers=d.headers,this.fetch=eR(d.fetch),this.lock=d.lock||ay,this.detectSessionInUrl=d.detectSessionInUrl,this.flowType=d.flowType,this.hasCustomAuthorizationHeader=d.hasCustomAuthorizationHeader,d.lock?this.lock=d.lock:ej()&&(null===(a=null==globalThis?void 0:globalThis.navigator)||void 0===a?void 0:a.locks)?this.lock=ag:this.lock=ay,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?d.storage?this.storage=d.storage:ex()?this.storage=ah:(this.memoryStorage={},this.storage=ac(this.memoryStorage)):(this.memoryStorage={},this.storage=ac(this.memoryStorage)),ej()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(e){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",e)}null===(p=this.broadcastChannel)||void 0===p||p.addEventListener("message",async e=>{this._debug("received broadcast notification from other tab or client",e),await this._notifyAllSubscribers(e.data.event,e.data.session,!1)})}this.initialize()}_debug(...e){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${eA}) ${new Date().toISOString()}`,...e),this}async initialize(){return this.initializePromise||(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))()),await this.initializePromise}async _initialize(){try{let e=!!ej()&&await this._isPKCEFlow();if(this._debug("#_initialize()","begin","is PKCE flow",e),e||this.detectSessionInUrl&&this._isImplicitGrantFlow()){let{data:a,error:p}=await this._getSessionFromURL(e);if(p){if(this._debug("#_initialize()","error detecting session from URL",p),(null==p?void 0:p.message)==="Identity is already linked"||(null==p?void 0:p.message)==="Identity is already linked to another user")return{error:p};return await this._removeSession(),{error:p}}let{session:d,redirectType:t}=a;return this._debug("#_initialize()","detected session in URL",d,"redirect type",t),await this._saveSession(d),setTimeout(async()=>{"recovery"===t?await this._notifyAllSubscribers("PASSWORD_RECOVERY",d):await this._notifyAllSubscribers("SIGNED_IN",d)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(e){if(eZ(e))return{error:e};return{error:new eW("Unexpected error during initialization",e)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var a,p,d;try{await this._removeSession();let{data:t,error:i}=await ad(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:null!==(p=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.data)&&void 0!==p?p:{},gotrue_meta_security:{captcha_token:null===(d=null==e?void 0:e.options)||void 0===d?void 0:d.captchaToken}},xform:ai});if(i||!t)return{data:{user:null,session:null},error:i};let s=t.session,l=t.user;return t.session&&(await this._saveSession(t.session),await this._notifyAllSubscribers("SIGNED_IN",s)),{data:{user:l,session:s},error:null}}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async signUp(e){var a,p,d;try{let t;if(await this._removeSession(),"email"in e){let{email:p,password:d,options:i}=e,s=null,l=null;"pkce"===this.flowType&&([s,l]=await eG(this.storage,this.storageKey)),t=await ad(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:null==i?void 0:i.emailRedirectTo,body:{email:p,password:d,data:null!==(a=null==i?void 0:i.data)&&void 0!==a?a:{},gotrue_meta_security:{captcha_token:null==i?void 0:i.captchaToken},code_challenge:s,code_challenge_method:l},xform:ai})}else if("phone"in e){let{phone:a,password:i,options:s}=e;t=await ad(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:a,password:i,data:null!==(p=null==s?void 0:s.data)&&void 0!==p?p:{},channel:null!==(d=null==s?void 0:s.channel)&&void 0!==d?d:"sms",gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken}},xform:ai})}else throw new e0("You must provide either an email or phone number and a password");let{data:i,error:s}=t;if(s||!i)return{data:{user:null,session:null},error:s};let l=i.session,r=i.user;return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:r,session:l},error:null}}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithPassword(e){try{let a;if(await this._removeSession(),"email"in e){let{email:p,password:d,options:t}=e;a=await ad(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:p,password:d,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken}},xform:as})}else if("phone"in e){let{phone:p,password:d,options:t}=e;a=await ad(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:p,password:d,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken}},xform:as})}else throw new e0("You must provide either an email or phone number and a password");let{data:p,error:d}=a;if(d)return{data:{user:null,session:null},error:d};if(!p||!p.session||!p.user)return{data:{user:null,session:null},error:new e2};return p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),{data:Object.assign({user:p.user,session:p.session},p.weak_password?{weakPassword:p.weak_password}:null),error:d}}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithOAuth(e){var a,p,d,t;return await this._removeSession(),await this._handleProviderSignIn(e.provider,{redirectTo:null===(a=e.options)||void 0===a?void 0:a.redirectTo,scopes:null===(p=e.options)||void 0===p?void 0:p.scopes,queryParams:null===(d=e.options)||void 0===d?void 0:d.queryParams,skipBrowserRedirect:null===(t=e.options)||void 0===t?void 0:t.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(e))}async _exchangeCodeForSession(e){let a=await eU(this.storage,`${this.storageKey}-code-verifier`),[p,d]=(null!=a?a:"").split("/"),{data:t,error:i}=await ad(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:p},xform:ai});return(await eB(this.storage,`${this.storageKey}-code-verifier`),i)?{data:{user:null,session:null,redirectType:null},error:i}:t&&t.session&&t.user?(t.session&&(await this._saveSession(t.session),await this._notifyAllSubscribers("SIGNED_IN",t.session)),{data:Object.assign(Object.assign({},t),{redirectType:null!=d?d:null}),error:i}):{data:{user:null,session:null,redirectType:null},error:new e2}}async signInWithIdToken(e){await this._removeSession();try{let{options:a,provider:p,token:d,access_token:t,nonce:i}=e,{data:s,error:l}=await ad(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:p,id_token:d,access_token:t,nonce:i,gotrue_meta_security:{captcha_token:null==a?void 0:a.captchaToken}},xform:ai});if(l)return{data:{user:null,session:null},error:l};if(!s||!s.session||!s.user)return{data:{user:null,session:null},error:new e2};return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),{data:s,error:l}}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithOtp(e){var a,p,d,t,i;try{if(await this._removeSession(),"email"in e){let{email:d,options:t}=e,i=null,s=null;"pkce"===this.flowType&&([i,s]=await eG(this.storage,this.storageKey));let{error:l}=await ad(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:d,data:null!==(a=null==t?void 0:t.data)&&void 0!==a?a:{},create_user:null===(p=null==t?void 0:t.shouldCreateUser)||void 0===p||p,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken},code_challenge:i,code_challenge_method:s},redirectTo:null==t?void 0:t.emailRedirectTo});return{data:{user:null,session:null},error:l}}if("phone"in e){let{phone:a,options:p}=e,{data:s,error:l}=await ad(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:null!==(d=null==p?void 0:p.data)&&void 0!==d?d:{},create_user:null===(t=null==p?void 0:p.shouldCreateUser)||void 0===t||t,gotrue_meta_security:{captcha_token:null==p?void 0:p.captchaToken},channel:null!==(i=null==p?void 0:p.channel)&&void 0!==i?i:"sms"}});return{data:{user:null,session:null,messageId:null==s?void 0:s.message_id},error:l}}throw new e0("You must provide either an email or phone number.")}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async verifyOtp(e){var a,p;try{let d,t;"email_change"!==e.type&&"phone_change"!==e.type&&await this._removeSession(),"options"in e&&(d=null===(a=e.options)||void 0===a?void 0:a.redirectTo,t=null===(p=e.options)||void 0===p?void 0:p.captchaToken);let{data:i,error:s}=await ad(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:t}}),redirectTo:d,xform:ai});if(s)throw s;if(!i)throw Error("An error occurred on token verification.");let l=i.session,r=i.user;return(null==l?void 0:l.access_token)&&(await this._saveSession(l),await this._notifyAllSubscribers("recovery"==e.type?"PASSWORD_RECOVERY":"SIGNED_IN",l)),{data:{user:r,session:l},error:null}}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithSSO(e){var a,p,d;try{await this._removeSession();let t=null,i=null;return"pkce"===this.flowType&&([t,i]=await eG(this.storage,this.storageKey)),await ad(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:null!==(p=null===(a=e.options)||void 0===a?void 0:a.redirectTo)&&void 0!==p?p:void 0}),(null===(d=null==e?void 0:e.options)||void 0===d?void 0:d.captchaToken)?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:t,code_challenge_method:i}),headers:this.headers,xform:ar})}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{let{data:{session:a},error:p}=e;if(p)throw p;if(!a)throw new e1;let{error:d}=await ad(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:a.access_token});return{data:{user:null,session:null},error:d}})}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async resend(e){try{"email_change"!=e.type&&"phone_change"!=e.type&&await this._removeSession();let a=`${this.url}/resend`;if("email"in e){let{email:p,type:d,options:t}=e,{error:i}=await ad(this.fetch,"POST",a,{headers:this.headers,body:{email:p,type:d,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken}},redirectTo:null==t?void 0:t.emailRedirectTo});return{data:{user:null,session:null},error:i}}if("phone"in e){let{phone:p,type:d,options:t}=e,{data:i,error:s}=await ad(this.fetch,"POST",a,{headers:this.headers,body:{phone:p,type:d,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken}}});return{data:{user:null,session:null,messageId:null==i?void 0:i.message_id},error:s}}throw new e0("You must provide either an email or phone number and a type")}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async e=>e))}async _acquireLock(e,a){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){let e=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),p=(async()=>(await e,await a()))();return this.pendingInLock.push((async()=>{try{await p}catch(e){}})()),p}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;let e=a();for(this.pendingInLock.push((async()=>{try{await e}catch(e){}})()),await e;this.pendingInLock.length;){let e=[...this.pendingInLock];await Promise.all(e),this.pendingInLock.splice(0,e.length)}return await e}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{let a=await this.__loadSession();return await e(a)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",Error().stack);try{let e=null,a=await eU(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",a),null!==a&&(this._isValidSession(a)?e=a:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!e)return{data:{session:null},error:null};let p=!!e.expires_at&&e.expires_at<=Date.now()/1e3;if(this._debug("#__loadSession()",`session has${p?"":" not"} expired`,"expires_at",e.expires_at),!p){if(this.storage.isServer){let a=this.suppressGetSessionWarning;e=new Proxy(e,{get:(e,p,d)=>(a||"user"!==p||console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and many not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),Reflect.get(e,p,d))})}return{data:{session:e},error:null}}let{session:d,error:t}=await this._callRefreshToken(e.refresh_token);if(t)return{data:{session:null},error:t};return{data:{session:d},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(e){try{if(e)return await ad(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:al});return await this._useSession(async e=>{var a,p,d;let{data:t,error:i}=e;if(i)throw i;return(null===(a=t.session)||void 0===a?void 0:a.access_token)||this.hasCustomAuthorizationHeader?await ad(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:null!==(d=null===(p=t.session)||void 0===p?void 0:p.access_token)&&void 0!==d?d:void 0,xform:al}):{data:{user:null},error:new e1}})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}async updateUser(e,a={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(e,a))}async _updateUser(e,a={}){try{return await this._useSession(async p=>{let{data:d,error:t}=p;if(t)throw t;if(!d.session)throw new e1;let i=d.session,s=null,l=null;"pkce"===this.flowType&&null!=e.email&&([s,l]=await eG(this.storage,this.storageKey));let{data:r,error:o}=await ad(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:null==a?void 0:a.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:s,code_challenge_method:l}),jwt:i.access_token,xform:al});if(o)throw o;return i.user=r.user,await this._saveSession(i),await this._notifyAllSubscribers("USER_UPDATED",i),{data:{user:i.user},error:null}})}catch(e){if(eZ(e))return{data:{user:null},error:e};throw e}}_decodeJWT(e){return eM(e)}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new e1;let a=Date.now()/1e3,p=a,d=!0,t=null,i=eM(e.access_token);if(i.exp&&(d=(p=i.exp)<=a),d){let{session:a,error:p}=await this._callRefreshToken(e.refresh_token);if(p)return{data:{user:null,session:null},error:p};if(!a)return{data:{user:null,session:null},error:null};t=a}else{let{data:d,error:i}=await this._getUser(e.access_token);if(i)throw i;t={access_token:e.access_token,refresh_token:e.refresh_token,user:d.user,token_type:"bearer",expires_in:p-a,expires_at:p},await this._saveSession(t),await this._notifyAllSubscribers("SIGNED_IN",t)}return{data:{user:t.user,session:t},error:null}}catch(e){if(eZ(e))return{data:{session:null,user:null},error:e};throw e}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async a=>{var p;if(!e){let{data:d,error:t}=a;if(t)throw t;e=null!==(p=d.session)&&void 0!==p?p:void 0}if(!(null==e?void 0:e.refresh_token))throw new e1;let{session:d,error:t}=await this._callRefreshToken(e.refresh_token);return t?{data:{user:null,session:null},error:t}:d?{data:{user:d.user,session:d},error:null}:{data:{user:null,session:null},error:null}})}catch(e){if(eZ(e))return{data:{user:null,session:null},error:e};throw e}}async _getSessionFromURL(e){try{if(!ej())throw new e6("No browser detected.");if("implicit"!==this.flowType||this._isImplicitGrantFlow()){if("pkce"==this.flowType&&!e)throw new e4("Not a valid PKCE flow url.")}else throw new e6("Not a valid implicit grant flow url.");let a=eI(window.location.href);if(e){if(!a.code)throw new e4("No code detected.");let{data:e,error:p}=await this._exchangeCodeForSession(a.code);if(p)throw p;let d=new URL(window.location.href);return d.searchParams.delete("code"),window.history.replaceState(window.history.state,"",d.toString()),{data:{session:e.session,redirectType:null},error:null}}if(a.error||a.error_description||a.error_code)throw new e6(a.error_description||"Error in URL with unspecified error_description",{error:a.error||"unspecified_error",code:a.error_code||"unspecified_code"});let{provider_token:p,provider_refresh_token:d,access_token:t,refresh_token:i,expires_in:s,expires_at:l,token_type:r}=a;if(!t||!s||!i||!r)throw new e6("No session defined in URL");let o=Math.round(Date.now()/1e3),m=parseInt(s),n=o+m;l&&(n=parseInt(l));let u=n-o;1e3*u<=3e4&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${u}s, should have been closer to ${m}s`);let h=n-m;o-h>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",h,n,o):o-h<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew",h,n,o);let{data:c,error:v}=await this._getUser(t);if(v)throw v;let f={provider_token:p,provider_refresh_token:d,access_token:t,expires_in:m,expires_at:n,refresh_token:i,token_type:r,user:c.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:f,redirectType:a.type},error:null}}catch(e){if(eZ(e))return{data:{session:null,redirectType:null},error:e};throw e}}_isImplicitGrantFlow(){let e=eI(window.location.href);return!!(ej()&&(e.access_token||e.error_description))}async _isPKCEFlow(){let e=eI(window.location.href),a=await eU(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&a)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async a=>{var p;let{data:d,error:t}=a;if(t)return{error:t};let i=null===(p=d.session)||void 0===p?void 0:p.access_token;if(i){let{error:a}=await this.admin.signOut(i,e);if(a&&!(eZ(a)&&"AuthApiError"===a.name&&(404===a.status||401===a.status||403===a.status)))return{error:a}}return"others"!==e&&(await this._removeSession(),await eB(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}})}onAuthStateChange(e){let a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let a=16*Math.random()|0;return("x"==e?a:3&a|8).toString(16)}),p={id:a,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",a),this.stateChangeEmitters.delete(a)}};return this._debug("#onAuthStateChange()","registered callback with id",a),this.stateChangeEmitters.set(a,p),(async()=>{await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(a)})})(),{data:{subscription:p}}}async _emitInitialSession(e){return await this._useSession(async a=>{var p,d;try{let{data:{session:d},error:t}=a;if(t)throw t;await (null===(p=this.stateChangeEmitters.get(e))||void 0===p?void 0:p.callback("INITIAL_SESSION",d)),this._debug("INITIAL_SESSION","callback id",e,"session",d)}catch(a){await (null===(d=this.stateChangeEmitters.get(e))||void 0===d?void 0:d.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",a),console.error(a)}})}async resetPasswordForEmail(e,a={}){let p=null,d=null;"pkce"===this.flowType&&([p,d]=await eG(this.storage,this.storageKey,!0));try{return await ad(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:p,code_challenge_method:d,gotrue_meta_security:{captcha_token:a.captchaToken}},headers:this.headers,redirectTo:a.redirectTo})}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async getUserIdentities(){var e;try{let{data:a,error:p}=await this.getUser();if(p)throw p;return{data:{identities:null!==(e=a.user.identities)&&void 0!==e?e:[]},error:null}}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async linkIdentity(e){var a;try{let{data:p,error:d}=await this._useSession(async a=>{var p,d,t,i,s;let{data:l,error:r}=a;if(r)throw r;let o=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:null===(p=e.options)||void 0===p?void 0:p.redirectTo,scopes:null===(d=e.options)||void 0===d?void 0:d.scopes,queryParams:null===(t=e.options)||void 0===t?void 0:t.queryParams,skipBrowserRedirect:!0});return await ad(this.fetch,"GET",o,{headers:this.headers,jwt:null!==(s=null===(i=l.session)||void 0===i?void 0:i.access_token)&&void 0!==s?s:void 0})});if(d)throw d;return!ej()||(null===(a=e.options)||void 0===a?void 0:a.skipBrowserRedirect)||window.location.assign(null==p?void 0:p.url),{data:{provider:e.provider,url:null==p?void 0:p.url},error:null}}catch(a){if(eZ(a))return{data:{provider:e.provider,url:null},error:a};throw a}}async unlinkIdentity(e){try{return await this._useSession(async a=>{var p,d;let{data:t,error:i}=a;if(i)throw i;return await ad(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:null!==(d=null===(p=t.session)||void 0===p?void 0:p.access_token)&&void 0!==d?d:void 0})})}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async _refreshAccessToken(e){let a=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(a,"begin");try{var p,d;let t=Date.now();return await (p=async p=>(p>0&&await ez(200*Math.pow(2,p-1)),this._debug(a,"refreshing attempt",p),await ad(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:ai})),d=(e,a)=>a&&e3(a)&&Date.now()+200*Math.pow(2,e)-t<3e4,new Promise((e,a)=>{(async()=>{for(let t=0;t<1/0;t++)try{let a=await p(t);if(!d(t,null,a)){e(a);return}}catch(e){if(!d(t,e)){a(e);return}}})()}))}catch(e){if(this._debug(a,"error",e),eZ(e))return{data:{session:null,user:null},error:e};throw e}finally{this._debug(a,"end")}}_isValidSession(e){return"object"==typeof e&&null!==e&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,a){let p=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:a.redirectTo,scopes:a.scopes,queryParams:a.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",a,"url",p),ej()&&!a.skipBrowserRedirect&&window.location.assign(p),{data:{provider:e,url:p},error:null}}async _recoverAndRefresh(){var e;let a="#_recoverAndRefresh()";this._debug(a,"begin");try{let p=await eU(this.storage,this.storageKey);if(this._debug(a,"session from storage",p),!this._isValidSession(p)){this._debug(a,"session is not valid"),null!==p&&await this._removeSession();return}let d=Math.round(Date.now()/1e3),t=(null!==(e=p.expires_at)&&void 0!==e?e:1/0){try{await p.callback(e,a)}catch(e){d.push(e)}});if(await Promise.all(t),d.length>0){for(let e=0;ethis._autoRefreshTokenTick(),3e4);this.autoRefreshTicker=e,e&&"object"==typeof e&&"function"==typeof e.unref?e.unref():"undefined"!=typeof Deno&&"function"==typeof Deno.unrefTimer&&Deno.unrefTimer(e),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");let e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{let e=Date.now();try{return await this._useSession(async a=>{let{data:{session:p}}=a;if(!p||!p.refresh_token||!p.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}let d=Math.floor((1e3*p.expires_at-e)/3e4);this._debug("#_autoRefreshTokenTick()",`access token expires in ${d} ticks, a tick lasts 30000ms, refresh threshold is 3 ticks`),d<=3&&await this._callRefreshToken(p.refresh_token)})}catch(e){console.error("Auto refresh tick failed with error. This is likely a transient error.",e)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof af)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!ej()||!(null==window?void 0:window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),null==window||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){let a=`#_onVisibilityChanged(${e})`;this._debug(a,"visibilityState",document.visibilityState),"visible"===document.visibilityState?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(-1,async()=>{if("visible"!==document.visibilityState){this._debug(a,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):"hidden"===document.visibilityState&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,a,p){let d=[`provider=${encodeURIComponent(a)}`];if((null==p?void 0:p.redirectTo)&&d.push(`redirect_to=${encodeURIComponent(p.redirectTo)}`),(null==p?void 0:p.scopes)&&d.push(`scopes=${encodeURIComponent(p.scopes)}`),"pkce"===this.flowType){let[e,a]=await eG(this.storage,this.storageKey),p=new URLSearchParams({code_challenge:`${encodeURIComponent(e)}`,code_challenge_method:`${encodeURIComponent(a)}`});d.push(p.toString())}if(null==p?void 0:p.queryParams){let e=new URLSearchParams(p.queryParams);d.push(e.toString())}return(null==p?void 0:p.skipBrowserRedirect)&&d.push(`skip_http_redirect=${p.skipBrowserRedirect}`),`${e}?${d.join("&")}`}async _unenroll(e){try{return await this._useSession(async a=>{var p;let{data:d,error:t}=a;return t?{data:null,error:t}:await ad(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:null===(p=null==d?void 0:d.session)||void 0===p?void 0:p.access_token})})}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async _enroll(e){try{return await this._useSession(async a=>{var p,d;let{data:t,error:i}=a;if(i)return{data:null,error:i};let{data:s,error:l}=await ad(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:e.friendlyName,factor_type:e.factorType,issuer:e.issuer},headers:this.headers,jwt:null===(p=null==t?void 0:t.session)||void 0===p?void 0:p.access_token});return l?{data:null,error:l}:((null===(d=null==s?void 0:s.totp)||void 0===d?void 0:d.qr_code)&&(s.totp.qr_code=`data:image/svg+xml;utf-8,${s.totp.qr_code}`),{data:s,error:null})})}catch(e){if(eZ(e))return{data:null,error:e};throw e}}async _verify(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async a=>{var p;let{data:d,error:t}=a;if(t)return{data:null,error:t};let{data:i,error:s}=await ad(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:{code:e.code,challenge_id:e.challengeId},headers:this.headers,jwt:null===(p=null==d?void 0:d.session)||void 0===p?void 0:p.access_token});return s?{data:null,error:s}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+i.expires_in},i)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",i),{data:i,error:s})})}catch(e){if(eZ(e))return{data:null,error:e};throw e}})}async _challenge(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async a=>{var p;let{data:d,error:t}=a;return t?{data:null,error:t}:await ad(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{headers:this.headers,jwt:null===(p=null==d?void 0:d.session)||void 0===p?void 0:p.access_token})})}catch(e){if(eZ(e))return{data:null,error:e};throw e}})}async _challengeAndVerify(e){let{data:a,error:p}=await this._challenge({factorId:e.factorId});return p?{data:null,error:p}:await this._verify({factorId:e.factorId,challengeId:a.id,code:e.code})}async _listFactors(){let{data:{user:e},error:a}=await this.getUser();if(a)return{data:null,error:a};let p=(null==e?void 0:e.factors)||[],d=p.filter(e=>"totp"===e.factor_type&&"verified"===e.status);return{data:{all:p,totp:d},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async e=>{var a,p;let{data:{session:d},error:t}=e;if(t)return{data:null,error:t};if(!d)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};let i=this._decodeJWT(d.access_token),s=null;i.aal&&(s=i.aal);let l=s;return(null!==(p=null===(a=d.user.factors)||void 0===a?void 0:a.filter(e=>"verified"===e.status))&&void 0!==p?p:[]).length>0&&(l="aal2"),{data:{currentLevel:s,nextLevel:l,currentAuthenticationMethods:i.amr||[]},error:null}}))}}ab.nextInstanceID=0;let aS=ab;class aN extends aS{constructor(e){super(e)}}class aT{constructor(e,a,p){var d,t,i;if(this.supabaseUrl=e,this.supabaseKey=a,!e)throw Error("supabaseUrl is required.");if(!a)throw Error("supabaseKey is required.");let s=e.replace(/\/$/,"");this.realtimeUrl=`${s}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${s}/auth/v1`,this.storageUrl=`${s}/storage/v1`,this.functionsUrl=`${s}/functions/v1`;let l=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,r=function(e,a){let{db:p,auth:d,realtime:t,global:i}=e,{db:s,auth:l,realtime:r,global:o}=a;return{db:Object.assign(Object.assign({},s),p),auth:Object.assign(Object.assign({},l),d),realtime:Object.assign(Object.assign({},r),t),global:Object.assign(Object.assign({},o),i)}}(null!=p?p:{},{db:ey,realtime:eS,auth:Object.assign(Object.assign({},eb),{storageKey:l}),global:e_});this.storageKey=null!==(d=r.auth.storageKey)&&void 0!==d?d:"",this.headers=null!==(t=r.global.headers)&&void 0!==t?t:{},this.auth=this._initSupabaseAuthClient(null!==(i=r.auth)&&void 0!==i?i:{},this.headers,r.global.fetch),this.fetch=eV(a,this._getAccessToken.bind(this),r.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},r.realtime)),this.rest=new D(`${s}/rest/v1`,{headers:this.headers,schema:r.db.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new T(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new ew(this.storageUrl,this.headers,this.fetch)}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,a={},p={}){return this.rest.rpc(e,a,p)}channel(e,a={config:{}}){return this.realtime.channel(e,a)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var e,a,p,d,t,i;return p=this,d=void 0,t=void 0,i=function*(){let{data:p}=yield this.auth.getSession();return null!==(a=null===(e=p.session)||void 0===e?void 0:e.access_token)&&void 0!==a?a:null},new(t||(t=Promise))(function(e,a){function s(e){try{r(i.next(e))}catch(e){a(e)}}function l(e){try{r(i.throw(e))}catch(e){a(e)}}function r(a){var p;a.done?e(a.value):((p=a.value)instanceof t?p:new t(function(e){e(p)})).then(s,l)}r((i=i.apply(p,d||[])).next())})}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:a,detectSessionInUrl:p,storage:d,storageKey:t,flowType:i,debug:s},l,r){var o;let m={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new aN({url:this.authUrl,headers:Object.assign(Object.assign({},m),l),storageKey:t,autoRefreshToken:e,persistSession:a,detectSessionInUrl:p,storage:d,flowType:i,debug:s,fetch:r,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(e){return new K(this.realtimeUrl,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},null==e?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,a)=>{this._handleTokenChanged(e,"CLIENT",null==a?void 0:a.access_token)})}_handleTokenChanged(e,a,p){("TOKEN_REFRESHED"===e||"SIGNED_IN"===e)&&this.changedAccessToken!==p?(this.realtime.setAuth(null!=p?p:null),this.changedAccessToken=p):"SIGNED_OUT"===e&&(this.realtime.setAuth(this.supabaseKey),"STORAGE"==a&&this.auth.signOut(),this.changedAccessToken=void 0)}}let aD=(e,a,p)=>new aT(e,a,p);var ak=Object.create,aV=Object.defineProperty,aA=Object.getOwnPropertyDescriptor,aC=Object.getOwnPropertyNames,aE=Object.getPrototypeOf,aO=Object.prototype.hasOwnProperty,aj=(e,a,p,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let t of aC(a))aO.call(e,t)||t===p||aV(e,t,{get:()=>a[t],enumerable:!(d=aA(a,t))||d.enumerable});return e},aP=(e,a,p)=>(p=null!=e?ak(aE(e)):{},aj(!a&&e&&e.__esModule?p:aV(p,"default",{value:e,enumerable:!0}),e)),ax=(d={"../../node_modules/.pnpm/cookie@0.5.0/node_modules/cookie/index.js"(e){e.parse=function(e,a){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var p={},t=(a||{}).decode||d,i=0;i{e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')}}; \ No newline at end of file diff --git a/server/chunks/539.js b/server/chunks/539.js new file mode 100644 index 0000000000000000000000000000000000000000..e1496b051ccb0fed8c7dfe0f41ca565b7fa6b811 --- /dev/null +++ b/server/chunks/539.js @@ -0,0 +1 @@ +exports.id=539,exports.ids=[539],exports.modules={90325:e=>{var t=1/0,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]","g"),s="object"==typeof global&&global&&global.Object===Object&&global,r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")(),u=function(e){return function(t){return null==e?void 0:e[t]}}({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"}),h=Object.prototype.toString,n=i.Symbol,c=n?n.prototype:void 0,O=c?c.toString:void 0;e.exports=function(e){var s;return(e=null==(s=e)?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(o=e)||o&&"object"==typeof o&&"[object Symbol]"==h.call(o))return O?O.call(e):"";var o,a=e+"";return"0"==a&&1/e==-t?"-0":a}(s))&&e.replace(o,u).replace(a,"")}},90539:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>h});var a=o(90325);function s(){return(s=Object.assign||function(e){for(var t=1;t{for(let[o,a]of t)e=e.replace(RegExp(i(o),"g"),a);return e})(e=e.normalize(),o))}}}; \ No newline at end of file diff --git a/server/chunks/682.js b/server/chunks/682.js new file mode 100644 index 0000000000000000000000000000000000000000..991bf274f50dddb0bd68c07b47f8f1a083e8b8ac --- /dev/null +++ b/server/chunks/682.js @@ -0,0 +1,6 @@ +"use strict";exports.id=682,exports.ids=[682],exports.modules={61682:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Head:function(){return y},Html:function(){return I},Main:function(){return T},NextScript:function(){return S},default:function(){return P}});let r=n(20997),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(void 0);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(16689)),o=n(45104),s=n(75778),a=n(79630),l=function(e){return e&&e.__esModule?e:{default:e}}(n(80676)),u=n(3112),c=n(8584);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}let f=new Set;function d(e,t,n){let r=(0,s.getPageFiles)(e,"/_app"),i=n?[]:(0,s.getPageFiles)(e,t);return{sharedFiles:r,pageFiles:i,allFiles:[...new Set([...r,...i])]}}function h(e,t){let{assetPrefix:n,buildManifest:i,assetQueryString:o,disableOptimizedLoading:s,crossOrigin:a}=e;return i.polyfillFiles.filter(e=>e.endsWith(".js")&&!e.endsWith(".module.js")).map(e=>(0,r.jsx)("script",{defer:!s,nonce:t.nonce,crossOrigin:t.crossOrigin||a,noModule:!0,src:`${n}/_next/${(0,c.encodeURIPath)(e)}${o}`},e))}function m({styles:e}){if(!e)return null;let t=Array.isArray(e)?e:[];if(e.props&&Array.isArray(e.props.children)){let n=e=>{var t,n;return null==e?void 0:null==(n=e.props)?void 0:null==(t=n.dangerouslySetInnerHTML)?void 0:t.__html};e.props.children.forEach(e=>{Array.isArray(e)?e.forEach(e=>n(e)&&t.push(e)):n(e)&&t.push(e)})}return(0,r.jsx)("style",{"amp-custom":"",dangerouslySetInnerHTML:{__html:t.map(e=>e.props.dangerouslySetInnerHTML.__html).join("").replace(/\/\*# sourceMappingURL=.*\*\//g,"").replace(/\/\*@ sourceURL=.*?\*\//g,"")}})}function _(e,t,n){let{dynamicImports:i,assetPrefix:o,isDevelopment:s,assetQueryString:a,disableOptimizedLoading:l,crossOrigin:u}=e;return i.map(e=>!e.endsWith(".js")||n.allFiles.includes(e)?null:(0,r.jsx)("script",{async:!s&&l,defer:!l,src:`${o}/_next/${(0,c.encodeURIPath)(e)}${a}`,nonce:t.nonce,crossOrigin:t.crossOrigin||u},e))}function g(e,t,n){var i;let{assetPrefix:o,buildManifest:s,isDevelopment:a,assetQueryString:l,disableOptimizedLoading:u,crossOrigin:p}=e;return[...n.allFiles.filter(e=>e.endsWith(".js")),...null==(i=s.lowPriorityFiles)?void 0:i.filter(e=>e.endsWith(".js"))].map(e=>(0,r.jsx)("script",{src:`${o}/_next/${(0,c.encodeURIPath)(e)}${l}`,nonce:t.nonce,async:!a&&u,defer:!u,crossOrigin:t.crossOrigin||p},e))}function E(e,t){let{scriptLoader:n,disableOptimizedLoading:o,crossOrigin:s}=e,a=function(e,t){let{assetPrefix:n,scriptLoader:o,crossOrigin:s,nextScriptWorkers:a}=e;if(!a)return null;try{let{partytownSnippet:e}=require("@builder.io/partytown/integration"),a=(Array.isArray(t.children)?t.children:[t.children]).find(e=>{var t,n;return!!e&&!!e.props&&(null==e?void 0:null==(n=e.props)?void 0:null==(t=n.dangerouslySetInnerHTML)?void 0:t.__html.length)&&"data-partytown-config"in e.props});return(0,r.jsxs)(r.Fragment,{children:[!a&&(0,r.jsx)("script",{"data-partytown-config":"",dangerouslySetInnerHTML:{__html:` + partytown = { + lib: "${n}/_next/static/~partytown/" + }; + `}}),(0,r.jsx)("script",{"data-partytown":"",dangerouslySetInnerHTML:{__html:e()}}),(o.worker||[]).map((e,n)=>{let{strategy:r,src:o,children:a,dangerouslySetInnerHTML:l,...u}=e,c={};if(o)c.src=o;else if(l&&l.__html)c.dangerouslySetInnerHTML={__html:l.__html};else if(a)c.dangerouslySetInnerHTML={__html:"string"==typeof a?a:Array.isArray(a)?a.join(""):""};else throw Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script");return(0,i.createElement)("script",{...c,...u,type:"text/partytown",key:o||n,nonce:t.nonce,"data-nscript":"worker",crossOrigin:t.crossOrigin||s})})]})}catch(e){return(0,l.default)(e)&&"MODULE_NOT_FOUND"!==e.code&&console.warn(`Warning: ${e.message}`),null}}(e,t),u=(n.beforeInteractive||[]).filter(e=>e.src).map((e,n)=>{let{strategy:r,...a}=e;return(0,i.createElement)("script",{...a,key:a.src||n,defer:a.defer??!o,nonce:t.nonce,"data-nscript":"beforeInteractive",crossOrigin:t.crossOrigin||s})});return(0,r.jsxs)(r.Fragment,{children:[a,u]})}class y extends i.default.Component{static #e=this.contextType=u.HtmlContext;getCssLinks(e){let{assetPrefix:t,assetQueryString:n,dynamicImports:i,crossOrigin:o,optimizeCss:s,optimizeFonts:a}=this.context,l=e.allFiles.filter(e=>e.endsWith(".css")),u=new Set(e.sharedFiles),p=new Set([]),f=Array.from(new Set(i.filter(e=>e.endsWith(".css"))));if(f.length){let e=new Set(l);p=new Set(f=f.filter(t=>!(e.has(t)||u.has(t)))),l.push(...f)}let d=[];return l.forEach(e=>{let i=u.has(e);s||d.push((0,r.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${n}`,as:"style",crossOrigin:this.props.crossOrigin||o},`${e}-preload`));let a=p.has(e);d.push((0,r.jsx)("link",{nonce:this.props.nonce,rel:"stylesheet",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${n}`,crossOrigin:this.props.crossOrigin||o,"data-n-g":a?void 0:i?"":void 0,"data-n-p":a?void 0:i?void 0:""},e))}),a&&(d=this.makeStylesheetInert(d)),0===d.length?null:d}getPreloadDynamicChunks(){let{dynamicImports:e,assetPrefix:t,assetQueryString:n,crossOrigin:i}=this.context;return e.map(e=>e.endsWith(".js")?(0,r.jsx)("link",{rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${n}`,as:"script",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||i},e):null).filter(Boolean)}getPreloadMainLinks(e){let{assetPrefix:t,assetQueryString:n,scriptLoader:i,crossOrigin:o}=this.context,s=e.allFiles.filter(e=>e.endsWith(".js"));return[...(i.beforeInteractive||[]).map(e=>(0,r.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:e.src,as:"script",crossOrigin:this.props.crossOrigin||o},e.src)),...s.map(e=>(0,r.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${n}`,as:"script",crossOrigin:this.props.crossOrigin||o},e))]}getBeforeInteractiveInlineScripts(){let{scriptLoader:e}=this.context,{nonce:t,crossOrigin:n}=this.props;return(e.beforeInteractive||[]).filter(e=>!e.src&&(e.dangerouslySetInnerHTML||e.children)).map((e,r)=>{let{strategy:o,children:s,dangerouslySetInnerHTML:a,src:l,...u}=e,c="";return a&&a.__html?c=a.__html:s&&(c="string"==typeof s?s:Array.isArray(s)?s.join(""):""),(0,i.createElement)("script",{...u,dangerouslySetInnerHTML:{__html:c},key:u.id||r,nonce:t,"data-nscript":"beforeInteractive",crossOrigin:n||void 0})})}getDynamicChunks(e){return _(this.context,this.props,e)}getPreNextScripts(){return E(this.context,this.props)}getScripts(e){return g(this.context,this.props,e)}getPolyfillScripts(){return h(this.context,this.props)}makeStylesheetInert(e){return i.default.Children.map(e,e=>{var t,n;if((null==e?void 0:e.type)==="link"&&(null==e?void 0:null==(t=e.props)?void 0:t.href)&&o.OPTIMIZED_FONT_PROVIDERS.some(({url:t})=>{var n,r;return null==e?void 0:null==(r=e.props)?void 0:null==(n=r.href)?void 0:n.startsWith(t)})){let t={...e.props||{},"data-href":e.props.href,href:void 0};return i.default.cloneElement(e,t)}if(null==e?void 0:null==(n=e.props)?void 0:n.children){let t={...e.props||{},children:this.makeStylesheetInert(e.props.children)};return i.default.cloneElement(e,t)}return e}).filter(Boolean)}render(){let{styles:e,ampPath:t,inAmpMode:o,hybridAmp:s,canonicalBase:a,__NEXT_DATA__:l,dangerousAsPath:u,headTags:p,unstable_runtimeJS:f,unstable_JsPreload:h,disableOptimizedLoading:_,optimizeCss:g,optimizeFonts:E,assetPrefix:y,nextFontManifest:S}=this.context,I=!1===f,T=!1===h||!_;this.context.docComponentsRendered.Head=!0;let{head:P}=this.context,O=[],x=[];P&&(P.forEach(e=>{let t;this.context.strictNextHead&&(t=i.default.createElement("meta",{name:"next-head",content:"1"})),e&&"link"===e.type&&"preload"===e.props.rel&&"style"===e.props.as?(t&&O.push(t),O.push(e)):e&&(t&&("meta"!==e.type||!e.props.charSet)&&x.push(t),x.push(e))}),P=O.concat(x));let v=i.default.Children.toArray(this.props.children).filter(Boolean);E&&!o&&(v=this.makeStylesheetInert(v));let N=!1,b=!1;P=i.default.Children.map(P||[],e=>{if(!e)return e;let{type:t,props:n}=e;if(o){let r="";if("meta"===t&&"viewport"===n.name?r='name="viewport"':"link"===t&&"canonical"===n.rel?b=!0:"script"===t&&(n.src&&-1>n.src.indexOf("ampproject")||n.dangerouslySetInnerHTML&&(!n.type||"text/javascript"===n.type))&&(r="{r+=` ${e}="${n[e]}"`}),r+="/>"),r)return console.warn(`Found conflicting amp tag "${e.type}" with conflicting prop ${r} in ${l.page}. https://nextjs.org/docs/messages/conflicting-amp-tag`),null}else"link"===t&&"amphtml"===n.rel&&(N=!0);return e});let j=d(this.context.buildManifest,this.context.__NEXT_DATA__.page,o),R=function(e,t,n=""){if(!e)return{preconnect:null,preload:null};let i=e.pages["/_app"],o=e.pages[t],s=Array.from(new Set([...i??[],...o??[]]));return{preconnect:0===s.length&&(i||o)?(0,r.jsx)("link",{"data-next-font":e.pagesUsingSizeAdjust?"size-adjust":"",rel:"preconnect",href:"/",crossOrigin:"anonymous"}):null,preload:s?s.map(e=>{let t=/\.(woff|woff2|eot|ttf|otf)$/.exec(e)[1];return(0,r.jsx)("link",{rel:"preload",href:`${n}/_next/${(0,c.encodeURIPath)(e)}`,as:"font",type:`font/${t}`,crossOrigin:"anonymous","data-next-font":e.includes("-s")?"size-adjust":""},e)}):null}}(S,u,y);return(0,r.jsxs)("head",{...function(e){let{crossOrigin:t,nonce:n,...r}=e;return r}(this.props),children:[this.context.isDevelopment&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{"data-next-hide-fouc":!0,"data-ampdevmode":o?"true":void 0,dangerouslySetInnerHTML:{__html:"body{display:none}"}}),(0,r.jsx)("noscript",{"data-next-hide-fouc":!0,"data-ampdevmode":o?"true":void 0,children:(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{display:block}"}})})]}),P,this.context.strictNextHead?null:(0,r.jsx)("meta",{name:"next-head-count",content:i.default.Children.count(P||[]).toString()}),v,E&&(0,r.jsx)("meta",{name:"next-font-preconnect"}),R.preconnect,R.preload,o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1"}),!b&&(0,r.jsx)("link",{rel:"canonical",href:a+n(50733).cleanAmpPath(u)}),(0,r.jsx)("link",{rel:"preload",as:"script",href:"https://cdn.ampproject.org/v0.js"}),(0,r.jsx)(m,{styles:e}),(0,r.jsx)("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}"}}),(0,r.jsx)("noscript",{children:(0,r.jsx)("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}"}})}),(0,r.jsx)("script",{async:!0,src:"https://cdn.ampproject.org/v0.js"})]}),!o&&(0,r.jsxs)(r.Fragment,{children:[!N&&s&&(0,r.jsx)("link",{rel:"amphtml",href:a+(t||`${u}${u.includes("?")?"&":"?"}amp=1`)}),this.getBeforeInteractiveInlineScripts(),!g&&this.getCssLinks(j),!g&&(0,r.jsx)("noscript",{"data-n-css":this.props.nonce??""}),!I&&!T&&this.getPreloadDynamicChunks(),!I&&!T&&this.getPreloadMainLinks(j),!_&&!I&&this.getPolyfillScripts(),!_&&!I&&this.getPreNextScripts(),!_&&!I&&this.getDynamicChunks(j),!_&&!I&&this.getScripts(j),g&&this.getCssLinks(j),g&&(0,r.jsx)("noscript",{"data-n-css":this.props.nonce??""}),this.context.isDevelopment&&(0,r.jsx)("noscript",{id:"__next_css__DO_NOT_USE__"}),e||null]}),i.default.createElement(i.default.Fragment,{},...p||[])]})}}class S extends i.default.Component{static #e=this.contextType=u.HtmlContext;getDynamicChunks(e){return _(this.context,this.props,e)}getPreNextScripts(){return E(this.context,this.props)}getScripts(e){return g(this.context,this.props,e)}getPolyfillScripts(){return h(this.context,this.props)}static getInlineScriptSource(e){let{__NEXT_DATA__:t,largePageDataBytes:r}=e;try{let i=JSON.stringify(t);if(f.has(t.page))return(0,a.htmlEscapeJsonString)(i);let o=Buffer.from(i).byteLength,s=n(95955).Z;return r&&o>r&&(f.add(t.page),console.warn(`Warning: data for page "${t.page}"${t.page===e.dangerousAsPath?"":` (path "${e.dangerousAsPath}")`} is ${s(o)} which exceeds the threshold of ${s(r)}, this amount of data can reduce performance. +See more info here: https://nextjs.org/docs/messages/large-page-data`)),(0,a.htmlEscapeJsonString)(i)}catch(e){if((0,l.default)(e)&&-1!==e.message.indexOf("circular structure"))throw Error(`Circular structure in "getInitialProps" result of page "${t.page}". https://nextjs.org/docs/messages/circular-structure`);throw e}}render(){let{assetPrefix:e,inAmpMode:t,buildManifest:n,unstable_runtimeJS:i,docComponentsRendered:o,assetQueryString:s,disableOptimizedLoading:a,crossOrigin:l}=this.context,u=!1===i;if(o.NextScript=!0,t)return null;let p=d(this.context.buildManifest,this.context.__NEXT_DATA__.page,t);return(0,r.jsxs)(r.Fragment,{children:[!u&&n.devFiles?n.devFiles.map(t=>(0,r.jsx)("script",{src:`${e}/_next/${(0,c.encodeURIPath)(t)}${s}`,nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l},t)):null,u?null:(0,r.jsx)("script",{id:"__NEXT_DATA__",type:"application/json",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l,dangerouslySetInnerHTML:{__html:S.getInlineScriptSource(this.context)}}),a&&!u&&this.getPolyfillScripts(),a&&!u&&this.getPreNextScripts(),a&&!u&&this.getDynamicChunks(p),a&&!u&&this.getScripts(p)]})}}function I(e){let{inAmpMode:t,docComponentsRendered:n,locale:o,scriptLoader:s,__NEXT_DATA__:a}=(0,u.useHtmlContext)();return n.Html=!0,function(e,t,n){var r,o,s,a;if(!n.children)return;let l=[],u=Array.isArray(n.children)?n.children:[n.children],c=null==(o=u.find(e=>e.type===y))?void 0:null==(r=o.props)?void 0:r.children,p=null==(a=u.find(e=>"body"===e.type))?void 0:null==(s=a.props)?void 0:s.children,f=[...Array.isArray(c)?c:[c],...Array.isArray(p)?p:[p]];i.default.Children.forEach(f,t=>{var n;if(t&&(null==(n=t.type)?void 0:n.__nextScript)){if("beforeInteractive"===t.props.strategy){e.beforeInteractive=(e.beforeInteractive||[]).concat([{...t.props}]);return}if(["lazyOnload","afterInteractive","worker"].includes(t.props.strategy)){l.push(t.props);return}}}),t.scriptLoader=l}(s,a,e),(0,r.jsx)("html",{...e,lang:e.lang||o||void 0,amp:t?"":void 0,"data-ampdevmode":void 0})}function T(){let{docComponentsRendered:e}=(0,u.useHtmlContext)();return e.Main=!0,(0,r.jsx)("next-js-internal-body-render-target",{})}class P extends i.default.Component{static getInitialProps(e){return e.defaultGetInitialProps(e)}render(){return(0,r.jsxs)(I,{children:[(0,r.jsx)(y,{}),(0,r.jsxs)("body",{children:[(0,r.jsx)(T,{}),(0,r.jsx)(S,{})]})]})}}P[o.NEXT_BUILTIN_DOCUMENT]=function(){return(0,r.jsxs)(I,{children:[(0,r.jsx)(y,{}),(0,r.jsxs)("body",{children:[(0,r.jsx)(T,{}),(0,r.jsx)(S,{})]})]})}},45104:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{APP_BUILD_MANIFEST:function(){return y},APP_CLIENT_INTERNALS:function(){return Z},APP_PATHS_MANIFEST:function(){return _},APP_PATH_ROUTES_MANIFEST:function(){return g},AUTOMATIC_FONT_OPTIMIZATION_MANIFEST:function(){return L},BARREL_OPTIMIZATION_PREFIX:function(){return W},BLOCKED_PAGES:function(){return D},BUILD_ID_FILE:function(){return F},BUILD_MANIFEST:function(){return E},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_REFERENCE_MANIFEST:function(){return H},CLIENT_STATIC_FILES_PATH:function(){return U},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return X},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return et},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return q},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Q},COMPILER_INDEXES:function(){return s},COMPILER_NAMES:function(){return i},CONFIG_FILES:function(){return w},DEFAULT_RUNTIME_WEBPACK:function(){return en},DEFAULT_SANS_SERIF_FONT:function(){return eu},DEFAULT_SERIF_FONT:function(){return el},DEV_CLIENT_PAGES_MANIFEST:function(){return j},DEV_MIDDLEWARE_MANIFEST:function(){return A},EDGE_RUNTIME_WEBPACK:function(){return er},EDGE_UNSUPPORTED_NODE_APIS:function(){return eh},EXPORT_DETAIL:function(){return O},EXPORT_MARKER:function(){return P},FUNCTIONS_CONFIG_MANIFEST:function(){return S},GOOGLE_FONT_PROVIDER:function(){return es},IMAGES_MANIFEST:function(){return N},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return V},INTERNAL_HEADERS:function(){return o},MIDDLEWARE_BUILD_MANIFEST:function(){return z},MIDDLEWARE_MANIFEST:function(){return R},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return Y},MODERN_BROWSERSLIST_TARGET:function(){return r.default},NEXT_BUILTIN_DOCUMENT:function(){return B},NEXT_FONT_MANIFEST:function(){return T},OPTIMIZED_FONT_PROVIDERS:function(){return ea},PAGES_MANIFEST:function(){return m},PHASE_DEVELOPMENT_SERVER:function(){return f},PHASE_EXPORT:function(){return u},PHASE_INFO:function(){return h},PHASE_PRODUCTION_BUILD:function(){return c},PHASE_PRODUCTION_SERVER:function(){return p},PHASE_TEST:function(){return d},PRERENDER_MANIFEST:function(){return x},REACT_LOADABLE_MANIFEST:function(){return M},ROUTES_MANIFEST:function(){return v},RSC_MODULE_TYPES:function(){return ed},SERVER_DIRECTORY:function(){return C},SERVER_FILES_MANIFEST:function(){return b},SERVER_PROPS_ID:function(){return eo},SERVER_REFERENCE_MANIFEST:function(){return G},STATIC_PROPS_ID:function(){return ei},STATIC_STATUS_PAGES:function(){return ec},STRING_LITERAL_DROP_BUNDLE:function(){return $},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return I},SYSTEM_ENTRYPOINTS:function(){return em},TRACE_OUTPUT_VERSION:function(){return ep},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},UNDERSCORE_NOT_FOUND_ROUTE:function(){return a},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l}});let r=n(50167)._(n(60979)),i={client:"client",server:"server",edgeServer:"edge-server"},o=["x-invoke-error","x-invoke-output","x-invoke-path","x-invoke-query","x-invoke-status","x-middleware-invoke"],s={[i.client]:0,[i.server]:1,[i.edgeServer]:2},a="/_not-found",l=""+a+"/page",u="phase-export",c="phase-production-build",p="phase-production-server",f="phase-development-server",d="phase-test",h="phase-info",m="pages-manifest.json",_="app-paths-manifest.json",g="app-path-routes-manifest.json",E="build-manifest.json",y="app-build-manifest.json",S="functions-config-manifest.json",I="subresource-integrity-manifest",T="next-font-manifest",P="export-marker.json",O="export-detail.json",x="prerender-manifest.json",v="routes-manifest.json",N="images-manifest.json",b="required-server-files.json",j="_devPagesManifest.json",R="middleware-manifest.json",A="_devMiddlewareManifest.json",M="react-loadable-manifest.json",L="font-manifest.json",C="server",w=["next.config.js","next.config.mjs"],F="BUILD_ID",D=["/_document","/_app","/_error"],k="public",U="static",$="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",W="__barrel_optimize__",H="client-reference-manifest",G="server-reference-manifest",z="middleware-build-manifest",Y="middleware-react-loadable-manifest",V="interception-route-rewrite-manifest",X="main",K=""+X+"-app",Z="app-pages-internals",q="react-refresh",J="amp",Q="webpack",ee="polyfills",et=Symbol(ee),en="webpack-runtime",er="edge-runtime-webpack",ei="__N_SSG",eo="__N_SSP",es="https://fonts.googleapis.com/",ea=[{url:es,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],el={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},eu={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ec=["/500"],ep=1,ef=6e3,ed={client:"client",server:"server"},eh=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],em=new Set([X,q,J,K]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8584:(e,t)=>{function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return n}})},58299:(e,t)=>{function n(e){return Object.prototype.toString.call(e)}function r(e){if("[object Object]"!==n(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getObjectClassLabel:function(){return n},isPlainObject:function(){return r}})},60979:e=>{e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},75876:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let r=n(72189),i=n(24212);function o(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},75078:(e,t)=>{function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},49431:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePagePath",{enumerable:!0,get:function(){return s}});let r=n(75078),i=n(72189),o=n(45782);function s(e){let t=/^\/index(\/|$)/.test(e)&&!(0,i.isDynamicRoute)(e)?"/index"+e:"/"===e?"/index":(0,r.ensureLeadingSlash)(e);{let{posix:e}=n(71017),r=e.normalize(t);if(r!==t)throw new o.NormalizeError("Requested and resolved page mismatch: "+t+" "+r)}return t}},24212:(e,t)=>{function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return n}})},42340:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return o},normalizeRscURL:function(){return s}});let r=n(75078),i=n(73737);function o(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce((e,t,n,r)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&n===r.length-1?e:e+"/"+t,""))}function s(e){return e.replace(/\.rsc($|\?)/,"$1")}},72189:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let r=n(317),i=n(31735)},31735:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let r=n(92407),i=/\/\[[^/]+?\](?=\/|$)/;function o(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),i.test(e)}},317:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let n=i.slice(1,-1),s=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),s=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function o(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');o(this.optionalRestSlugName,n),this.optionalRestSlugName=n,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');o(this.restSlugName,n),this.restSlugName=n,i="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');o(this.slugName,n),this.slugName=n,i="[]"}}this.children.has(i)||this.children.set(i,new n),this.children.get(i)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},73737:(e,t)=>{function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DEFAULT_SEGMENT_KEY:function(){return i},PAGE_SEGMENT_KEY:function(){return r},isGroupSegment:function(){return n}});let r="__PAGE__",i="__DEFAULT__"},45782:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return _},SP:function(){return f},ST:function(){return d},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return l},getLocationOrigin:function(){return s},getURL:function(){return a},isAbsoluteUrl:function(){return o},isResSent:function(){return u},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return y}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,i=Array(r),o=0;oi.test(e);function s(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function a(){let{href:e}=window.location,t=s();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function p(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&u(n))return r;if(!r)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let f="undefined"!=typeof performance,d=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function y(e){return JSON.stringify({message:e.message,stack:e.stack})}},80676:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return i},getProperError:function(){return o}});let r=n(58299);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return i(e)?e:Error((0,r.isPlainObject)(e)?JSON.stringify(e):e+"")}},95955:(e,t)=>{Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return i}});let n=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],r=(e,t)=>{let n=e;return"string"==typeof t?n=e.toLocaleString(t):!0===t&&(n=e.toLocaleString()),n};function i(e,t){if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);if((t=Object.assign({},t)).signed&&0===e)return" 0 B";let i=e<0,o=i?"-":t.signed?"+":"";if(i&&(e=-e),e<1)return o+r(e,t.locale)+" B";let s=Math.min(Math.floor(Math.log10(e)/3),n.length-1);return o+r(e=Number((e/Math.pow(1e3,s)).toPrecision(3)),t.locale)+" "+n[s]}},92407:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return s},isInterceptionRouteAppPath:function(){return o}});let r=n(42340),i=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function s(e){let t,n,o;for(let r of e.split("/"))if(n=i.find(e=>r.startsWith(e))){[t,o]=e.split(n,2);break}if(!t||!n||!o)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let s=t.split("/");if(s.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=s.slice(0,-2).concat(o).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},87093:(e,t,n)=>{e.exports=n(62785)},3112:(e,t,n)=>{e.exports=n(87093).vendored.contexts.HtmlContext},75778:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPageFiles",{enumerable:!0,get:function(){return o}});let r=n(75876),i=n(49431);function o(e,t){let n=(0,r.denormalizePagePath)((0,i.normalizePagePath)(t));return e.pages[n]||(console.warn(`Could not find files for ${n} in .next/build-manifest.json`),[])}},79630:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ESCAPE_REGEX:function(){return r},htmlEscapeJsonString:function(){return i}});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g;function i(e){return e.replace(r,e=>n[e])}},50733:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cleanAmpPath:function(){return o},debounce:function(){return s},isBlockedPage:function(){return i}});let r=n(45104);function i(e){return r.BLOCKED_PAGES.includes(e)}function o(e){return e.match(/\?amp=(y|yes|true|1)/)&&(e=e.replace(/\?amp=(y|yes|true|1)&?/,"?")),e.match(/&=(y|yes|true|1)/)&&(e=e.replace(/&=(y|yes|true|1)/,"")),e=e.replace(/\?$/,"")}function s(e,t,n=1/0){let r,i,o;let s=0,a=0;function l(){let u=Date.now(),c=a+t-u;c<=0||s+n>=u?(r=void 0,e.apply(o,i)):r=setTimeout(l,c)}return function(...e){i=e,o=this,a=Date.now(),void 0===r&&(s=a,r=setTimeout(l,t))}}},50167:(e,t)=>{t._=t._interop_require_default=function(e){return e&&e.__esModule?e:{default:e}}}}; \ No newline at end of file diff --git a/server/chunks/893.js b/server/chunks/893.js new file mode 100644 index 0000000000000000000000000000000000000000..117fb80ee477032af669dd92c009a9cf64fe2cf9 --- /dev/null +++ b/server/chunks/893.js @@ -0,0 +1,2 @@ +exports.id=893,exports.ids=[893],exports.modules={58359:()=>{},93739:()=>{},88098:(e,t,s)=>{"use strict";let{EMPTY_BUFFER:r}=s(69030),i=Buffer[Symbol.species];function o(e,t,s,r,i){for(let o=0;o{"use strict";let t=["nodebuffer","arraybuffer","fragments"],s="undefined"!=typeof Blob;s&&t.push("blob"),e.exports={BINARY_TYPES:t,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:s,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},65767:(e,t,s)=>{"use strict";let{kForOnEventAttribute:r,kListener:i}=s(69030),o=Symbol("kCode"),n=Symbol("kData"),a=Symbol("kError"),h=Symbol("kMessage"),l=Symbol("kReason"),c=Symbol("kTarget"),d=Symbol("kType"),f=Symbol("kWasClean");class _{constructor(e){this[c]=null,this[d]=e}get target(){return this[c]}get type(){return this[d]}}Object.defineProperty(_.prototype,"target",{enumerable:!0}),Object.defineProperty(_.prototype,"type",{enumerable:!0});class u extends _{constructor(e,t={}){super(e),this[o]=void 0===t.code?0:t.code,this[l]=void 0===t.reason?"":t.reason,this[f]=void 0!==t.wasClean&&t.wasClean}get code(){return this[o]}get reason(){return this[l]}get wasClean(){return this[f]}}Object.defineProperty(u.prototype,"code",{enumerable:!0}),Object.defineProperty(u.prototype,"reason",{enumerable:!0}),Object.defineProperty(u.prototype,"wasClean",{enumerable:!0});class p extends _{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[h]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[h]}}Object.defineProperty(p.prototype,"error",{enumerable:!0}),Object.defineProperty(p.prototype,"message",{enumerable:!0});class m extends _{constructor(e,t={}){super(e),this[n]=void 0===t.data?null:t.data}get data(){return this[n]}}function y(e,t,s){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,s):e.call(t,s)}Object.defineProperty(m.prototype,"data",{enumerable:!0}),e.exports={CloseEvent:u,ErrorEvent:p,Event:_,EventTarget:{addEventListener(e,t,s={}){let o;for(let o of this.listeners(e))if(!s[r]&&o[i]===t&&!o[r])return;if("message"===e)o=function(e,s){let r=new m("message",{data:s?e:e.toString()});r[c]=this,y(t,this,r)};else if("close"===e)o=function(e,s){let r=new u("close",{code:e,reason:s.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});r[c]=this,y(t,this,r)};else if("error"===e)o=function(e){let s=new p("error",{error:e,message:e.message});s[c]=this,y(t,this,s)};else{if("open"!==e)return;o=function(){let e=new _("open");e[c]=this,y(t,this,e)}}o[r]=!!s[r],o[i]=t,s.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(let s of this.listeners(e))if(s[i]===t&&!s[r]){this.removeListener(e,s);break}}},MessageEvent:m}},68718:(e,t,s)=>{"use strict";let{tokenChars:r}=s(71187);function i(e,t,s){void 0===e[t]?e[t]=[s]:e[t].push(s)}e.exports={format:function(e){return Object.keys(e).map(t=>{let s=e[t];return Array.isArray(s)||(s=[s]),s.map(e=>[t].concat(Object.keys(e).map(t=>{let s=e[t];return Array.isArray(s)||(s=[s]),s.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let t,s;let o=Object.create(null),n=Object.create(null),a=!1,h=!1,l=!1,c=-1,d=-1,f=-1,_=0;for(;_{"use strict";let t=Symbol("kDone"),s=Symbol("kRun");class r{constructor(e){this[t]=()=>{this.pending--,this[s]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[s]()}[s](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[t])}}}e.exports=r},27767:(e,t,s)=>{"use strict";let r;let i=s(59796),o=s(88098),n=s(80189),{kStatusCode:a}=s(69030),h=Buffer[Symbol.species],l=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),d=Symbol("total-length"),f=Symbol("callback"),_=Symbol("buffers"),u=Symbol("error");class p{constructor(e,t,s){this._maxPayload=0|s,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,r||(r=new n(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[f];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,s=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!s)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(s.server_no_context_takeover=!0),t.clientNoContextTakeover&&(s.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(s.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?s.client_max_window_bits=t.clientMaxWindowBits:(!0===s.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete s.client_max_window_bits,s}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let s=e[t];if(s.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(s=s[0],"client_max_window_bits"===t){if(!0!==s){let e=+s;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${s}`);s=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${s}`)}else if("server_max_window_bits"===t){let e=+s;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${s}`);s=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==s)throw TypeError(`Invalid value for parameter "${t}": ${s}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=s})}),e}decompress(e,t,s){r.add(r=>{this._decompress(e,t,(e,t)=>{r(),s(e,t)})})}compress(e,t,s){r.add(r=>{this._compress(e,t,(e,t)=>{r(),s(e,t)})})}_decompress(e,t,s){let r=this._isServer?"client":"server";if(!this._inflate){let e=`${r}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=i.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[d]=0,this._inflate[_]=[],this._inflate.on("error",g),this._inflate.on("data",y)}this._inflate[f]=s,this._inflate.write(e),t&&this._inflate.write(l),this._inflate.flush(()=>{let e=this._inflate[u];if(e){this._inflate.close(),this._inflate=null,s(e);return}let i=o.concat(this._inflate[_],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[_]=[],t&&this.params[`${r}_no_context_takeover`]&&this._inflate.reset()),s(null,i)})}_compress(e,t,s){let r=this._isServer?"server":"client";if(!this._deflate){let e=`${r}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=i.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[d]=0,this._deflate[_]=[],this._deflate.on("data",m)}this._deflate[f]=s,this._deflate.write(e),this._deflate.flush(i.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=o.concat(this._deflate[_],this._deflate[d]);t&&(e=new h(e.buffer,e.byteOffset,e.length-4)),this._deflate[f]=null,this._deflate[d]=0,this._deflate[_]=[],t&&this.params[`${r}_no_context_takeover`]&&this._deflate.reset(),s(null,e)})}}function m(e){this[_].push(e),this[d]+=e.length}function y(e){if(this[d]+=e.length,this[c]._maxPayload<1||this[d]<=this[c]._maxPayload){this[_].push(e);return}this[u]=RangeError("Max payload size exceeded"),this[u].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[u][a]=1009,this.removeListener("data",y),this.reset()}function g(e){this[c]._inflate=null,e[a]=1007,this[f](e)}e.exports=p},90263:(e,t,s)=>{"use strict";let{Writable:r}=s(12781),i=s(27767),{BINARY_TYPES:o,EMPTY_BUFFER:n,kStatusCode:a,kWebSocket:h}=s(69030),{concat:l,toArrayBuffer:c,unmask:d}=s(88098),{isValidStatusCode:f,isValidUTF8:_}=s(71187),u=Buffer[Symbol.species];class p extends r{constructor(e={}){super(),this._allowSynchronousEvents=void 0===e.allowSynchronousEvents||e.allowSynchronousEvents,this._binaryType=e.binaryType||o[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[h]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,s){if(8===this._opcode&&0==this._state)return s();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(s)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e=s.length?t.set(this._buffers.shift(),r):(t.set(new Uint8Array(s.buffer,s.byteOffset,e),r),this._buffers[0]=new u(s.buffer,s.byteOffset+e,s.length-e)),e-=s.length}while(e>0);return t}startLoop(e){this._loop=!0;do switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:this._loop=!1;return}while(this._loop);this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((48&t[0])!=0){e(this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3"));return}let s=(64&t[0])==64;if(s&&!this._extensions[i.extensionName]){e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));return}if(this._fin=(128&t[0])==128,this._opcode=15&t[0],this._payloadLength=127&t[1],0===this._opcode){if(s){e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));return}if(!this._fragmented){e(this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE"));return}this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented){e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));return}this._compressed=s}else if(this._opcode>7&&this._opcode<11){if(!this._fin){e(this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN"));return}if(s){e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));return}if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength){e(this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH"));return}}else{e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));return}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&t[1])==128,this._isServer){if(!this._masked){e(this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK"));return}}else if(this._masked){e(this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK"));return}126===this._payloadLength?this._state=1:127===this._payloadLength?this._state=2:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),s=t.readUInt32BE(0);if(s>2097151){e(this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH"));return}this._payloadLength=4294967296*s+t.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){e(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));return}this._masked?this._state=3:this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=n;if(this._payloadLength){if(this._bufferedBytes7){this.controlMessage(t,e);return}if(this._compressed){this._state=5,this.decompress(t,e);return}t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage(e)}decompress(e,t){this._extensions[i.extensionName].decompress(e,this._fin,(e,s)=>{if(e)return t(e);if(s.length){if(this._messageLength+=s.length,this._messageLength>this._maxPayload&&this._maxPayload>0){t(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));return}this._fragments.push(s)}this.dataMessage(t),0===this._state&&this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=0;return}let t=this._messageLength,s=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?l(s,t):"arraybuffer"===this._binaryType?c(l(s,t)):"blob"===this._binaryType?new Blob(s):s,this._allowSynchronousEvents?(this.emit("message",r,!0),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",r,!0),this._state=0,this.startLoop(e)}))}else{let r=l(s,t);if(!this._skipUTF8Validation&&!_(r)){e(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));return}5===this._state||this._allowSynchronousEvents?(this.emit("message",r,!1),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",r,!1),this._state=0,this.startLoop(e)}))}}controlMessage(e,t){if(8===this._opcode){if(0===e.length)this._loop=!1,this.emit("conclude",1005,n),this.end();else{let s=e.readUInt16BE(0);if(!f(s)){t(this.createError(RangeError,`invalid status code ${s}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE"));return}let r=new u(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!_(r)){t(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));return}this._loop=!1,this.emit("conclude",s,r),this.end()}this._state=0;return}this._allowSynchronousEvents?(this.emit(9===this._opcode?"ping":"pong",e),this._state=0):(this._state=6,setImmediate(()=>{this.emit(9===this._opcode?"ping":"pong",e),this._state=0,this.startLoop(t)}))}createError(e,t,s,r,i){this._loop=!1,this._errored=!0;let o=new e(s?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[a]=r,o}}e.exports=p},22404:(e,t,s)=>{"use strict";let r;let{Duplex:i}=s(12781),{randomFillSync:o}=s(6113),n=s(27767),{EMPTY_BUFFER:a,kWebSocket:h,NOOP:l}=s(69030),{isBlob:c,isValidStatusCode:d}=s(71187),{mask:f,toBuffer:_}=s(88098),u=Symbol("kByteLength"),p=Buffer.alloc(4),m=8192;class y{constructor(e,t,s){this._extensions=t||{},s&&(this._generateMask=s,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=0,this.onerror=l,this[h]=void 0}static frame(e,t){let s,i;let n=!1,a=2,h=!1;t.mask&&(s=t.maskBuffer||p,t.generateMask?t.generateMask(s):(8192===m&&(void 0===r&&(r=Buffer.alloc(8192)),o(r,0,8192),m=0),s[0]=r[m++],s[1]=r[m++],s[2]=r[m++],s[3]=r[m++]),h=(s[0]|s[1]|s[2]|s[3])==0,a=6),"string"==typeof e?i=(!t.mask||h)&&void 0!==t[u]?t[u]:(e=Buffer.from(e)).length:(i=e.length,n=t.mask&&t.readOnly&&!h);let l=i;i>=65536?(a+=8,l=127):i>125&&(a+=2,l=126);let c=Buffer.allocUnsafe(n?i+a:a);return(c[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(c[0]|=64),c[1]=l,126===l?c.writeUInt16BE(i,2):127===l&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),t.mask)?(c[1]|=128,c[a-4]=s[0],c[a-3]=s[1],c[a-2]=s[2],c[a-1]=s[3],h)?[c,e]:n?(f(e,s,c,a,i),[c]):(f(e,s,e,0,i),[c,e]):[c,e]}close(e,t,s,r){let i;if(void 0===e)i=a;else if("number"==typeof e&&d(e)){if(void 0!==t&&t.length){let s=Buffer.byteLength(t);if(s>123)throw RangeError("The message must not be greater than 123 bytes");(i=Buffer.allocUnsafe(2+s)).writeUInt16BE(e,0),"string"==typeof t?i.write(t,2):i.set(t,2)}else(i=Buffer.allocUnsafe(2)).writeUInt16BE(e,0)}else throw TypeError("First argument must be a valid error code number");let o={[u]:i.length,fin:!0,generateMask:this._generateMask,mask:s,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};0!==this._state?this.enqueue([this.dispatch,i,!1,o,r]):this.sendFrame(y.frame(i,o),r)}ping(e,t,s){let r,i;if("string"==typeof e?(r=Buffer.byteLength(e),i=!1):c(e)?(r=e.size,i=!1):(r=(e=_(e)).length,i=_.readOnly),r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[u]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,s]):this.getBlobData(e,!1,o,s):0!==this._state?this.enqueue([this.dispatch,e,!1,o,s]):this.sendFrame(y.frame(e,o),s)}pong(e,t,s){let r,i;if("string"==typeof e?(r=Buffer.byteLength(e),i=!1):c(e)?(r=e.size,i=!1):(r=(e=_(e)).length,i=_.readOnly),r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[u]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,s]):this.getBlobData(e,!1,o,s):0!==this._state?this.enqueue([this.dispatch,e,!1,o,s]):this.sendFrame(y.frame(e,o),s)}send(e,t,s){let r,i;let o=this._extensions[n.extensionName],a=t.binary?2:1,h=t.compress;"string"==typeof e?(r=Buffer.byteLength(e),i=!1):c(e)?(r=e.size,i=!1):(r=(e=_(e)).length,i=_.readOnly),this._firstFragment?(this._firstFragment=!1,h&&o&&o.params[o._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(h=r>=o._threshold),this._compress=h):(h=!1,a=0),t.fin&&(this._firstFragment=!0);let l={[u]:r,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:a,readOnly:i,rsv1:h};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,this._compress,l,s]):this.getBlobData(e,this._compress,l,s):0!==this._state?this.enqueue([this.dispatch,e,this._compress,l,s]):this.dispatch(e,this._compress,l,s)}getBlobData(e,t,s,r){this._bufferedBytes+=s[u],this._state=2,e.arrayBuffer().then(e=>{if(this._socket.destroyed){let e=Error("The socket was closed while the blob was being read");process.nextTick(g,this,e,r);return}this._bufferedBytes-=s[u];let i=_(e);t?this.dispatch(i,t,s,r):(this._state=0,this.sendFrame(y.frame(i,s),r),this.dequeue())}).catch(e=>{process.nextTick(b,this,e,r)})}dispatch(e,t,s,r){if(!t){this.sendFrame(y.frame(e,s),r);return}let i=this._extensions[n.extensionName];this._bufferedBytes+=s[u],this._state=1,i.compress(e,s.fin,(e,t)=>{if(this._socket.destroyed){g(this,Error("The socket was closed while data was being compressed"),r);return}this._bufferedBytes-=s[u],this._state=0,s.readOnly=!1,this.sendFrame(y.frame(t,s),r),this.dequeue()})}dequeue(){for(;0===this._state&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][u],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][u],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}function g(e,t,s){"function"==typeof s&&s(t);for(let s=0;s{"use strict";let{Duplex:r}=s(12781);function i(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function n(e){this.removeListener("error",n),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let s=!0,a=new r({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t,s){let r=!s&&a._readableState.objectMode?t.toString():t;a.push(r)||e.pause()}),e.once("error",function(e){a.destroyed||(s=!1,a.destroy(e))}),e.once("close",function(){a.destroyed||a.push(null)}),a._destroy=function(t,r){if(e.readyState===e.CLOSED){r(t),process.nextTick(i,a);return}let o=!1;e.once("error",function(e){o=!0,r(e)}),e.once("close",function(){o||r(t),process.nextTick(i,a)}),s&&e.terminate()},a._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function(){a._final(t)});return}null!==e._socket&&(e._socket._writableState.finished?(t(),a._readableState.endEmitted&&a.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},a._read=function(){e.isPaused&&e.resume()},a._write=function(t,s,r){if(e.readyState===e.CONNECTING){e.once("open",function(){a._write(t,s,r)});return}e.send(t,r)},a.on("end",o),a.on("error",n),a}},35931:(e,t,s)=>{"use strict";let{tokenChars:r}=s(71187);e.exports={parse:function(e){let t=new Set,s=-1,i=-1,o=0;for(;o{"use strict";let{isUtf8:r}=s(14300),{hasBlob:i}=s(69030);function o(e){let t=e.length,s=0;for(;s=t||(192&e[s+1])!=128||(192&e[s+2])!=128||224===e[s]&&(224&e[s+1])==128||237===e[s]&&(224&e[s+1])==160)return!1;s+=3}else{if((248&e[s])!=240||s+3>=t||(192&e[s+1])!=128||(192&e[s+2])!=128||(192&e[s+3])!=128||240===e[s]&&(240&e[s+1])==128||244===e[s]&&e[s+1]>143||e[s]>244)return!1;s+=4}return!0}if(e.exports={isBlob:function(e){return i&&"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&("Blob"===e[Symbol.toStringTag]||"File"===e[Symbol.toStringTag])},isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:o,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},r)e.exports.isValidUTF8=function(e){return e.length<24?o(e):r(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let t=s(93739);e.exports.isValidUTF8=function(e){return e.length<32?o(e):t(e)}}catch(e){}},20183:(e,t,s)=>{"use strict";let r=s(82361),i=s(13685),{Duplex:o}=s(12781),{createHash:n}=s(6113),a=s(68718),h=s(27767),l=s(35931),c=s(9936),{GUID:d,kWebSocket:f}=s(69030),_=/^[+/0-9A-Za-z]{22}==$/;class u extends r{constructor(e,t){if(super(),null==(e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:c,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=i.createServer((e,t)=>{let s=i.STATUS_CODES[426];t.writeHead(426,{"Content-Length":s.length,"Content-Type":"text/plain"}),t.end(s)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){let e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(let s of Object.keys(t))e.on(s,t[s]);return function(){for(let s of Object.keys(t))e.removeListener(s,t[s])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,s,r)=>{this.handleUpgrade(t,s,r,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state){e&&this.once("close",()=>{e(Error("The server is not running"))}),process.nextTick(p,this);return}if(e&&this.once("close",e),1!==this._state){if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(p,this);else{let e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close(()=>{p(this)})}}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,s,r){t.on("error",m);let i=e.headers["sec-websocket-key"],o=e.headers.upgrade,n=+e.headers["sec-websocket-version"];if("GET"!==e.method){g(this,e,t,405,"Invalid HTTP method");return}if(void 0===o||"websocket"!==o.toLowerCase()){g(this,e,t,400,"Invalid Upgrade header");return}if(void 0===i||!_.test(i)){g(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");return}if(8!==n&&13!==n){g(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header");return}if(!this.shouldHandle(e)){y(t,400);return}let c=e.headers["sec-websocket-protocol"],d=new Set;if(void 0!==c)try{d=l.parse(c)}catch(s){g(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let f=e.headers["sec-websocket-extensions"],u={};if(this.options.perMessageDeflate&&void 0!==f){let s=new h(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let e=a.parse(f);e[h.extensionName]&&(s.accept(e[h.extensionName]),u[h.extensionName]=s)}catch(s){g(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let o={origin:e.headers[`${8===n?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length){this.options.verifyClient(o,(o,n,a,h)=>{if(!o)return y(t,n||401,a,h);this.completeUpgrade(u,i,d,e,t,s,r)});return}if(!this.options.verifyClient(o))return y(t,401)}this.completeUpgrade(u,i,d,e,t,s,r)}completeUpgrade(e,t,s,r,i,o,l){if(!i.readable||!i.writable)return i.destroy();if(i[f])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return y(i,503);let c=n("sha1").update(t+d).digest("base64"),_=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${c}`],u=new this.options.WebSocket(null,void 0,this.options);if(s.size){let e=this.options.handleProtocols?this.options.handleProtocols(s,r):s.values().next().value;e&&(_.push(`Sec-WebSocket-Protocol: ${e}`),u._protocol=e)}if(e[h.extensionName]){let t=e[h.extensionName].params,s=a.format({[h.extensionName]:[t]});_.push(`Sec-WebSocket-Extensions: ${s}`),u._extensions=e}this.emit("headers",_,r),i.write(_.concat("\r\n").join("\r\n")),i.removeListener("error",m),u.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(u),u.on("close",()=>{this.clients.delete(u),this._shouldEmitClose&&!this.clients.size&&process.nextTick(p,this)})),l(u,r)}}function p(e){e._state=2,e.emit("close")}function m(){this.destroy()}function y(e,t,s,r){s=s||i.STATUS_CODES[t],r={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(s),...r},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${i.STATUS_CODES[t]}\r +`+Object.keys(r).map(e=>`${e}: ${r[e]}`).join("\r\n")+"\r\n\r\n"+s)}function g(e,t,s,r,i){if(e.listenerCount("wsClientError")){let r=Error(i);Error.captureStackTrace(r,g),e.emit("wsClientError",r,s,t)}else y(s,r,i)}e.exports=u},9936:(e,t,s)=>{"use strict";let r=s(82361),i=s(95687),o=s(13685),n=s(41808),a=s(24404),{randomBytes:h,createHash:l}=s(6113),{Duplex:c,Readable:d}=s(12781),{URL:f}=s(57310),_=s(27767),u=s(90263),p=s(22404),{isBlob:m}=s(71187),{BINARY_TYPES:y,EMPTY_BUFFER:g,GUID:b,kForOnEventAttribute:S,kListener:v,kStatusCode:E,kWebSocket:k,NOOP:x}=s(69030),{EventTarget:{addEventListener:w,removeEventListener:O}}=s(65767),{format:T,parse:C}=s(68718),{toBuffer:N}=s(88098),L=Symbol("kAborted"),P=[8,13],B=["CONNECTING","OPEN","CLOSING","CLOSED"],R=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class I extends r{constructor(e,t,s){super(),this._binaryType=y[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=g,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=I.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(s=t,t=[]):t=[t]),function e(t,s,r,n){let a,c,d,u;let p={allowSynchronousEvents:!0,autoPong:!0,protocolVersion:P[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...n,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(t._autoPong=p.autoPong,!P.includes(p.protocolVersion))throw RangeError(`Unsupported protocol version: ${p.protocolVersion} (supported versions: ${P.join(", ")})`);if(s instanceof f)a=s;else try{a=new f(s)}catch(e){throw SyntaxError(`Invalid URL: ${s}`)}"http:"===a.protocol?a.protocol="ws:":"https:"===a.protocol&&(a.protocol="wss:"),t._url=a.href;let m="wss:"===a.protocol,y="ws+unix:"===a.protocol;if("ws:"===a.protocol||m||y?y&&!a.pathname?c="The URL's pathname is empty":a.hash&&(c="The URL contains a fragment identifier"):c='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https", or "ws+unix:"',c){let e=SyntaxError(c);if(0===t._redirects)throw e;U(t,e);return}let g=m?443:80,S=h(16).toString("base64"),v=m?i.request:o.request,E=new Set;if(p.createConnection=p.createConnection||(m?W:D),p.defaultPort=p.defaultPort||g,p.port=a.port||g,p.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,p.headers={...p.headers,"Sec-WebSocket-Version":p.protocolVersion,"Sec-WebSocket-Key":S,Connection:"Upgrade",Upgrade:"websocket"},p.path=a.pathname+a.search,p.timeout=p.handshakeTimeout,p.perMessageDeflate&&(d=new _(!0!==p.perMessageDeflate?p.perMessageDeflate:{},!1,p.maxPayload),p.headers["Sec-WebSocket-Extensions"]=T({[_.extensionName]:d.offer()})),r.length){for(let e of r){if("string"!=typeof e||!R.test(e)||E.has(e))throw SyntaxError("An invalid or duplicated subprotocol was specified");E.add(e)}p.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(p.origin&&(p.protocolVersion<13?p.headers["Sec-WebSocket-Origin"]=p.origin:p.headers.Origin=p.origin),(a.username||a.password)&&(p.auth=`${a.username}:${a.password}`),y){let e=p.path.split(":");p.socketPath=e[0],p.path=e[1]}if(p.followRedirects){if(0===t._redirects){t._originalIpc=y,t._originalSecure=m,t._originalHostOrSocketPath=y?p.socketPath:a.host;let e=n&&n.headers;if(n={...n,headers:{}},e)for(let[t,s]of Object.entries(e))n.headers[t.toLowerCase()]=s}else if(0===t.listenerCount("redirect")){let e=y?!!t._originalIpc&&p.socketPath===t._originalHostOrSocketPath:!t._originalIpc&&a.host===t._originalHostOrSocketPath;e&&(!t._originalSecure||m)||(delete p.headers.authorization,delete p.headers.cookie,e||delete p.headers.host,p.auth=void 0)}p.auth&&!n.headers.authorization&&(n.headers.authorization="Basic "+Buffer.from(p.auth).toString("base64")),u=t._req=v(p),t._redirects&&t.emit("redirect",t.url,u)}else u=t._req=v(p);p.timeout&&u.on("timeout",()=>{M(t,u,"Opening handshake has timed out")}),u.on("error",e=>{null===u||u[L]||(u=t._req=null,U(t,e))}),u.on("response",i=>{let o=i.headers.location,a=i.statusCode;if(o&&p.followRedirects&&a>=300&&a<400){let i;if(++t._redirects>p.maxRedirects){M(t,u,"Maximum redirects exceeded");return}u.abort();try{i=new f(o,s)}catch(e){U(t,SyntaxError(`Invalid URL: ${o}`));return}e(t,i,r,n)}else t.emit("unexpected-response",u,i)||M(t,u,`Unexpected server response: ${i.statusCode}`)}),u.on("upgrade",(e,s,r)=>{let i;if(t.emit("upgrade",e),t.readyState!==I.CONNECTING)return;u=t._req=null;let o=e.headers.upgrade;if(void 0===o||"websocket"!==o.toLowerCase()){M(t,s,"Invalid Upgrade header");return}let n=l("sha1").update(S+b).digest("base64");if(e.headers["sec-websocket-accept"]!==n){M(t,s,"Invalid Sec-WebSocket-Accept header");return}let a=e.headers["sec-websocket-protocol"];if(void 0!==a?E.size?E.has(a)||(i="Server sent an invalid subprotocol"):i="Server sent a subprotocol but none was requested":E.size&&(i="Server sent no subprotocol"),i){M(t,s,i);return}a&&(t._protocol=a);let h=e.headers["sec-websocket-extensions"];if(void 0!==h){let e;if(!d){M(t,s,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}try{e=C(h)}catch(e){M(t,s,"Invalid Sec-WebSocket-Extensions header");return}let r=Object.keys(e);if(1!==r.length||r[0]!==_.extensionName){M(t,s,"Server indicated an extension that was not requested");return}try{d.accept(e[_.extensionName])}catch(e){M(t,s,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[_.extensionName]=d}t.setSocket(s,r,{allowSynchronousEvents:p.allowSynchronousEvents,generateMask:p.generateMask,maxPayload:p.maxPayload,skipUTF8Validation:p.skipUTF8Validation})}),p.finishRequest?p.finishRequest(u,t):u.end()}(this,e,t,s)):(this._autoPong=s.autoPong,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){y.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,s){let r=new u({allowSynchronousEvents:s.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:s.maxPayload,skipUTF8Validation:s.skipUTF8Validation}),i=new p(e,this._extensions,s.generateMask);this._receiver=r,this._sender=i,this._socket=e,r[k]=this,i[k]=this,e[k]=this,r.on("conclude",F),r.on("drain",$),r.on("error",j),r.on("message",V),r.on("ping",q),r.on("pong",z),i.onerror=X,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",Z),e.on("data",Y),e.on("end",J),e.on("error",Q),this._readyState=I.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=I.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[_.extensionName]&&this._extensions[_.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=I.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==I.CLOSED){if(this.readyState===I.CONNECTING){M(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===I.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=I.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),K(this)}}pause(){this.readyState!==I.CONNECTING&&this.readyState!==I.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,s){if(this.readyState===I.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(s=e,e=t=void 0):"function"==typeof t&&(s=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN){A(this,e,s);return}void 0===t&&(t=!this._isServer),this._sender.ping(e||g,t,s)}pong(e,t,s){if(this.readyState===I.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof e?(s=e,e=t=void 0):"function"==typeof t&&(s=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN){A(this,e,s);return}void 0===t&&(t=!this._isServer),this._sender.pong(e||g,t,s)}resume(){this.readyState!==I.CONNECTING&&this.readyState!==I.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,s){if(this.readyState===I.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(s=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN){A(this,e,s);return}let r={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[_.extensionName]||(r.compress=!1),this._sender.send(e||g,r,s)}terminate(){if(this.readyState!==I.CLOSED){if(this.readyState===I.CONNECTING){M(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=I.CLOSING,this._socket.destroy())}}}function U(e,t){e._readyState=I.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function D(e){return e.path=e.socketPath,n.connect(e)}function W(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=n.isIP(e.host)?"":e.host),a.connect(e)}function M(e,t,s){e._readyState=I.CLOSING;let r=Error(s);Error.captureStackTrace(r,M),t.setHeader?(t[L]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(U,e,r)):(t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function A(e,t,s){if(t){let s=m(t)?t.size:N(t).length;e._socket?e._sender._bufferedBytes+=s:e._bufferedAmount+=s}if(s){let t=Error(`WebSocket is not open: readyState ${e.readyState} (${B[e.readyState]})`);process.nextTick(s,t)}}function F(e,t){let s=this[k];s._closeFrameReceived=!0,s._closeMessage=t,s._closeCode=e,void 0!==s._socket[k]&&(s._socket.removeListener("data",Y),process.nextTick(H,s._socket),1005===e?s.close():s.close(e,t))}function $(){let e=this[k];e.isPaused||e._socket.resume()}function j(e){let t=this[k];void 0!==t._socket[k]&&(t._socket.removeListener("data",Y),process.nextTick(H,t._socket),t.close(e[E])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function G(){this[k].emitClose()}function V(e,t){this[k].emit("message",e,t)}function q(e){let t=this[k];t._autoPong&&t.pong(e,!this._isServer,x),t.emit("ping",e)}function z(e){this[k].emit("pong",e)}function H(e){e.resume()}function X(e){let t=this[k];t.readyState===I.CLOSED||(t.readyState===I.OPEN&&(t._readyState=I.CLOSING,K(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function K(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),3e4)}function Z(){let e;let t=this[k];this.removeListener("close",Z),this.removeListener("data",Y),this.removeListener("end",J),t._readyState=I.CLOSING,this._readableState.endEmitted||t._closeFrameReceived||t._receiver._writableState.errorEmitted||null===(e=t._socket.read())||t._receiver.write(e),t._receiver.end(),this[k]=void 0,clearTimeout(t._closeTimer),t._receiver._writableState.finished||t._receiver._writableState.errorEmitted?t.emitClose():(t._receiver.on("error",G),t._receiver.on("finish",G))}function Y(e){this[k]._receiver.write(e)||this.pause()}function J(){let e=this[k];e._readyState=I.CLOSING,e._receiver.end(),this.end()}function Q(){let e=this[k];this.removeListener("error",Q),this.on("error",x),e&&(e._readyState=I.CLOSING,this.destroy())}Object.defineProperty(I,"CONNECTING",{enumerable:!0,value:B.indexOf("CONNECTING")}),Object.defineProperty(I.prototype,"CONNECTING",{enumerable:!0,value:B.indexOf("CONNECTING")}),Object.defineProperty(I,"OPEN",{enumerable:!0,value:B.indexOf("OPEN")}),Object.defineProperty(I.prototype,"OPEN",{enumerable:!0,value:B.indexOf("OPEN")}),Object.defineProperty(I,"CLOSING",{enumerable:!0,value:B.indexOf("CLOSING")}),Object.defineProperty(I.prototype,"CLOSING",{enumerable:!0,value:B.indexOf("CLOSING")}),Object.defineProperty(I,"CLOSED",{enumerable:!0,value:B.indexOf("CLOSED")}),Object.defineProperty(I.prototype,"CLOSED",{enumerable:!0,value:B.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(I.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(I.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[S])return t[v];return null},set(t){for(let t of this.listeners(e))if(t[S]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[S]:!0})}})}),I.prototype.addEventListener=w,I.prototype.removeEventListener=O,e.exports=I},34893:(e,t,s)=>{"use strict";s.r(t),s.d(t,{Receiver:()=>i,Sender:()=>o,WebSocket:()=>n,WebSocketServer:()=>a,createWebSocketStream:()=>r,default:()=>h});var r=s(8826),i=s(90263),o=s(22404),n=s(9936),a=s(20183);let h=n}}; \ No newline at end of file diff --git a/server/chunks/948.js b/server/chunks/948.js new file mode 100644 index 0000000000000000000000000000000000000000..7c905052e95d5696a0b4cb5d5ba39a59bc1acd56 --- /dev/null +++ b/server/chunks/948.js @@ -0,0 +1,2 @@ +exports.id=948,exports.ids=[948],exports.modules={48839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bootstrap:function(){return s},error:function(){return u},event:function(){return g},info:function(){return p},prefixes:function(){return a},ready:function(){return d},trace:function(){return f},wait:function(){return c},warn:function(){return l},warnOnce:function(){return v}});let n=r(91354),a={wait:(0,n.white)((0,n.bold)("○")),error:(0,n.red)((0,n.bold)("⨯")),warn:(0,n.yellow)((0,n.bold)("⚠")),ready:"▲",info:(0,n.white)((0,n.bold)(" ")),event:(0,n.green)((0,n.bold)("✓")),trace:(0,n.magenta)((0,n.bold)("\xbb"))},o={log:"log",warn:"warn",error:"error"};function i(e,...t){(""===t[0]||void 0===t[0])&&1===t.length&&t.shift();let r=e in o?o[e]:"log",n=a[e];0===t.length?console[r](""):console[r](" "+n,...t)}function s(...e){console.log(" ",...e)}function c(...e){i("wait",...e)}function u(...e){i("error",...e)}function l(...e){i("warn",...e)}function d(...e){i("ready",...e)}function p(...e){i("info",...e)}function g(...e){i("event",...e)}function f(...e){i("trace",...e)}let _=new Set;function v(...e){_.has(e[0])||(_.add(e.join(" ")),l(...e))}},44789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return a}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return a}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function a(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27482:e=>{(()=>{"use strict";var t={491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextAPI=void 0;let n=r(223),a=r(172),o=r(930),i="context",s=new n.NoopContextManager;class c{constructor(){}static getInstance(){return this._instance||(this._instance=new c),this._instance}setGlobalContextManager(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,a.getGlobal)(i)||s}disable(){this._getContextManager().disable(),(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.ContextAPI=c},930:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagAPI=void 0;let n=r(56),a=r(912),o=r(957),i=r(172);class s{constructor(){function e(e){return function(...t){let r=(0,i.getGlobal)("diag");if(r)return r[e](...t)}}let t=this;t.setLogger=(e,r={logLevel:o.DiagLogLevel.INFO})=>{var n,s,c;if(e===t){let e=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(n=e.stack)&&void 0!==n?n:e.message),!1}"number"==typeof r&&(r={logLevel:r});let u=(0,i.getGlobal)("diag"),l=(0,a.createLogLevelDiagLogger)(null!==(s=r.logLevel)&&void 0!==s?s:o.DiagLogLevel.INFO,e);if(u&&!r.suppressOverrideMessage){let e=null!==(c=Error().stack)&&void 0!==c?c:"";u.warn(`Current logger will be overwritten from ${e}`),l.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,i.registerGlobal)("diag",l,t,!0)},t.disable=()=>{(0,i.unregisterGlobal)("diag",t)},t.createComponentLogger=e=>new n.DiagComponentLogger(e),t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}static instance(){return this._instance||(this._instance=new s),this._instance}}t.DiagAPI=s},653:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MetricsAPI=void 0;let n=r(660),a=r(172),o=r(930),i="metrics";class s{constructor(){}static getInstance(){return this._instance||(this._instance=new s),this._instance}setGlobalMeterProvider(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}getMeterProvider(){return(0,a.getGlobal)(i)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.MetricsAPI=s},181:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropagationAPI=void 0;let n=r(172),a=r(874),o=r(194),i=r(277),s=r(369),c=r(930),u="propagation",l=new a.NoopTextMapPropagator;class d{constructor(){this.createBaggage=s.createBaggage,this.getBaggage=i.getBaggage,this.getActiveBaggage=i.getActiveBaggage,this.setBaggage=i.setBaggage,this.deleteBaggage=i.deleteBaggage}static getInstance(){return this._instance||(this._instance=new d),this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(u,e,c.DiagAPI.instance())}inject(e,t,r=o.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=o.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(u,c.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(u)||l}}t.PropagationAPI=d},997:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceAPI=void 0;let n=r(172),a=r(846),o=r(139),i=r(607),s=r(930),c="trace";class u{constructor(){this._proxyTracerProvider=new a.ProxyTracerProvider,this.wrapSpanContext=o.wrapSpanContext,this.isSpanContextValid=o.isSpanContextValid,this.deleteSpan=i.deleteSpan,this.getSpan=i.getSpan,this.getActiveSpan=i.getActiveSpan,this.getSpanContext=i.getSpanContext,this.setSpan=i.setSpan,this.setSpanContext=i.setSpanContext}static getInstance(){return this._instance||(this._instance=new u),this._instance}setGlobalTracerProvider(e){let t=(0,n.registerGlobal)(c,this._proxyTracerProvider,s.DiagAPI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return(0,n.getGlobal)(c)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(c,s.DiagAPI.instance()),this._proxyTracerProvider=new a.ProxyTracerProvider}}t.TraceAPI=u},277:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;let n=r(491),a=(0,r(780).createContextKey)("OpenTelemetry Baggage Key");function o(e){return e.getValue(a)||void 0}t.getBaggage=o,t.getActiveBaggage=function(){return o(n.ContextAPI.getInstance().active())},t.setBaggage=function(e,t){return e.setValue(a,t)},t.deleteBaggage=function(e){return e.deleteValue(a)}},993:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaggageImpl=void 0;class r{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map(([e,t])=>[e,t])}setEntry(e,t){let n=new r(this._entries);return n._entries.set(e,t),n}removeEntry(e){let t=new r(this._entries);return t._entries.delete(e),t}removeEntries(...e){let t=new r(this._entries);for(let r of e)t._entries.delete(r);return t}clear(){return new r}}t.BaggageImpl=r},830:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataSymbol=void 0,t.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataFromString=t.createBaggage=void 0;let n=r(930),a=r(993),o=r(830),i=n.DiagAPI.instance();t.createBaggage=function(e={}){return new a.BaggageImpl(new Map(Object.entries(e)))},t.baggageEntryMetadataFromString=function(e){return"string"!=typeof e&&(i.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:o.baggageEntryMetadataSymbol,toString:()=>e}}},67:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.context=void 0;let n=r(491);t.context=n.ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopContextManager=void 0;let n=r(780);class a{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=a},780:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONTEXT=t.createContextKey=void 0,t.createContextKey=function(e){return Symbol.for(e)};class r{constructor(e){let t=this;t._currentContext=e?new Map(e):new Map,t.getValue=e=>t._currentContext.get(e),t.setValue=(e,n)=>{let a=new r(t._currentContext);return a._currentContext.set(e,n),a},t.deleteValue=e=>{let n=new r(t._currentContext);return n._currentContext.delete(e),n}}}t.ROOT_CONTEXT=new r},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.diag=void 0;let n=r(930);t.diag=n.DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagComponentLogger=void 0;let n=r(172);class a{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return o("debug",this._namespace,e)}error(...e){return o("error",this._namespace,e)}info(...e){return o("info",this._namespace,e)}warn(...e){return o("warn",this._namespace,e)}verbose(...e){return o("verbose",this._namespace,e)}}function o(e,t,r){let a=(0,n.getGlobal)("diag");if(a)return r.unshift(t),a[e](...r)}t.DiagComponentLogger=a},972:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagConsoleLogger=void 0;let r=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class n{constructor(){for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.createLogLevelDiagLogger=void 0;let n=r(957);t.createLogLevelDiagLogger=function(e,t){function r(r,n){let a=t[r];return"function"==typeof a&&e>=n?a.bind(t):function(){}}return en.DiagLogLevel.ALL&&(e=n.DiagLogLevel.ALL),t=t||{},{error:r("error",n.DiagLogLevel.ERROR),warn:r("warn",n.DiagLogLevel.WARN),info:r("info",n.DiagLogLevel.INFO),debug:r("debug",n.DiagLogLevel.DEBUG),verbose:r("verbose",n.DiagLogLevel.VERBOSE)}}},957:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;let n=r(200),a=r(521),o=r(130),i=a.VERSION.split(".")[0],s=Symbol.for(`opentelemetry.js.api.${i}`),c=n._globalThis;t.registerGlobal=function(e,t,r,n=!1){var o;let i=c[s]=null!==(o=c[s])&&void 0!==o?o:{version:a.VERSION};if(!n&&i[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(t.stack||t.message),!1}if(i.version!==a.VERSION){let t=Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${a.VERSION}`);return r.error(t.stack||t.message),!1}return i[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${a.VERSION}.`),!0},t.getGlobal=function(e){var t,r;let n=null===(t=c[s])||void 0===t?void 0:t.version;if(n&&(0,o.isCompatible)(n))return null===(r=c[s])||void 0===r?void 0:r[e]},t.unregisterGlobal=function(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${a.VERSION}.`);let r=c[s];r&&delete r[e]}},130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCompatible=t._makeCompatibilityCheck=void 0;let n=r(521),a=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function o(e){let t=new Set([e]),r=new Set,n=e.match(a);if(!n)return()=>!1;let o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=o.prerelease)return function(t){return t===e};function i(e){return r.add(e),!1}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;let n=e.match(a);if(!n)return i(e);let s={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};return null!=s.prerelease||o.major!==s.major?i(e):0===o.major?o.minor===s.minor&&o.patch<=s.patch?(t.add(e),!0):i(e):o.minor<=s.minor?(t.add(e),!0):i(e)}}t._makeCompatibilityCheck=o,t.isCompatible=o(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.metrics=void 0;let n=r(653);t.metrics=n.MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class r{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=r;class n{}t.NoopMetric=n;class a extends n{add(e,t){}}t.NoopCounterMetric=a;class o extends n{add(e,t){}}t.NoopUpDownCounterMetric=o;class i extends n{record(e,t){}}t.NoopHistogramMetric=i;class s{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=s;class c extends s{}t.NoopObservableCounterMetric=c;class u extends s{}t.NoopObservableGaugeMetric=u;class l extends s{}t.NoopObservableUpDownCounterMetric=l,t.NOOP_METER=new r,t.NOOP_COUNTER_METRIC=new a,t.NOOP_HISTOGRAM_METRIC=new i,t.NOOP_UP_DOWN_COUNTER_METRIC=new o,t.NOOP_OBSERVABLE_COUNTER_METRIC=new c,t.NOOP_OBSERVABLE_GAUGE_METRIC=new u,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new l,t.createNoopMeter=function(){return t.NOOP_METER}},660:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;let n=r(102);class a{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=a,t.NOOP_METER_PROVIDER=new a},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(46),t)},651:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._globalThis=void 0,t._globalThis="object"==typeof globalThis?globalThis:global},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.propagation=void 0;let n=r(181);t.propagation=n.PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTextMapPropagator=void 0;class r{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=r},194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextMapSetter=t.defaultTextMapGetter=void 0,t.defaultTextMapGetter={get(e,t){if(null!=e)return e[t]},keys:e=>null==e?[]:Object.keys(e)},t.defaultTextMapSetter={set(e,t,r){null!=e&&(e[t]=r)}}},845:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.trace=void 0;let n=r(997);t.trace=n.TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NonRecordingSpan=void 0;let n=r(476);class a{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}}t.NonRecordingSpan=a},614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracer=void 0;let n=r(491),a=r(607),o=r(403),i=r(139),s=n.ContextAPI.getInstance();class c{startSpan(e,t,r=s.active()){if(null==t?void 0:t.root)return new o.NonRecordingSpan;let n=r&&(0,a.getSpanContext)(r);return"object"==typeof n&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,i.isSpanContextValid)(n)?new o.NonRecordingSpan(n):new o.NonRecordingSpan}startActiveSpan(e,t,r,n){let o,i,c;if(arguments.length<2)return;2==arguments.length?c=t:3==arguments.length?(o=t,c=r):(o=t,i=r,c=n);let u=null!=i?i:s.active(),l=this.startSpan(e,o,u),d=(0,a.setSpan)(u,l);return s.with(d,c,void 0,l)}}t.NoopTracer=c},124:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracerProvider=void 0;let n=r(614);class a{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=a},125:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracer=void 0;let n=new(r(614)).NoopTracer;class a{constructor(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){let a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):n}}t.ProxyTracer=a},846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracerProvider=void 0;let n=r(125),a=new(r(124)).NoopTracerProvider;class o{getTracer(e,t,r){var a;return null!==(a=this.getDelegateTracer(e,t,r))&&void 0!==a?a:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return null!==(e=this._delegate)&&void 0!==e?e:a}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return null===(n=this._delegate)||void 0===n?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=o},996:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;let n=r(780),a=r(403),o=r(491),i=(0,n.createContextKey)("OpenTelemetry Context Key SPAN");function s(e){return e.getValue(i)||void 0}function c(e,t){return e.setValue(i,t)}t.getSpan=s,t.getActiveSpan=function(){return s(o.ContextAPI.getInstance().active())},t.setSpan=c,t.deleteSpan=function(e){return e.deleteValue(i)},t.setSpanContext=function(e,t){return c(e,new a.NonRecordingSpan(t))},t.getSpanContext=function(e){var t;return null===(t=s(e))||void 0===t?void 0:t.spanContext()}},325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceStateImpl=void 0;let n=r(564);class a{constructor(e){this._internalState=new Map,e&&this._parse(e)}set(e,t){let r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,t)=>(e.push(t+"="+this.get(t)),e),[]).join(",")}_parse(e){!(e.length>512)&&(this._internalState=e.split(",").reverse().reduce((e,t)=>{let r=t.trim(),a=r.indexOf("=");if(-1!==a){let o=r.slice(0,a),i=r.slice(a+1,t.length);(0,n.validateKey)(o)&&(0,n.validateValue)(i)&&e.set(o,i)}return e},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new a;return e._internalState=new Map(this._internalState),e}}t.TraceStateImpl=a},564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateValue=t.validateKey=void 0;let r="[_0-9a-z-*/]",n=`[a-z]${r}{0,255}`,a=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`,o=RegExp(`^(?:${n}|${a})$`),i=/^[ -~]{0,255}[!-~]$/,s=/,|=/;t.validateKey=function(e){return o.test(e)},t.validateValue=function(e){return i.test(e)&&!s.test(e)}},98:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTraceState=void 0;let n=r(325);t.createTraceState=function(e){return new n.TraceStateImpl(e)}},476:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;let n=r(475);t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;let n=r(476),a=r(403),o=/^([0-9a-f]{32})$/i,i=/^[0-9a-f]{16}$/i;function s(e){return o.test(e)&&e!==n.INVALID_TRACEID}function c(e){return i.test(e)&&e!==n.INVALID_SPANID}t.isValidTraceId=s,t.isValidSpanId=c,t.isSpanContextValid=function(e){return s(e.traceId)&&c(e.spanId)},t.wrapSpanContext=function(e){return new a.NonRecordingSpan(e)}},847:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="1.6.0"}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}},i=!0;try{t[e].call(o.exports,o,o.exports,n),i=!1}finally{i&&delete r[e]}return o.exports}n.ab=__dirname+"/";var a={};(()=>{Object.defineProperty(a,"__esModule",{value:!0}),a.trace=a.propagation=a.metrics=a.diag=a.context=a.INVALID_SPAN_CONTEXT=a.INVALID_TRACEID=a.INVALID_SPANID=a.isValidSpanId=a.isValidTraceId=a.isSpanContextValid=a.createTraceState=a.TraceFlags=a.SpanStatusCode=a.SpanKind=a.SamplingDecision=a.ProxyTracerProvider=a.ProxyTracer=a.defaultTextMapSetter=a.defaultTextMapGetter=a.ValueType=a.createNoopMeter=a.DiagLogLevel=a.DiagConsoleLogger=a.ROOT_CONTEXT=a.createContextKey=a.baggageEntryMetadataFromString=void 0;var e=n(369);Object.defineProperty(a,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var t=n(780);Object.defineProperty(a,"createContextKey",{enumerable:!0,get:function(){return t.createContextKey}}),Object.defineProperty(a,"ROOT_CONTEXT",{enumerable:!0,get:function(){return t.ROOT_CONTEXT}});var r=n(972);Object.defineProperty(a,"DiagConsoleLogger",{enumerable:!0,get:function(){return r.DiagConsoleLogger}});var o=n(957);Object.defineProperty(a,"DiagLogLevel",{enumerable:!0,get:function(){return o.DiagLogLevel}});var i=n(102);Object.defineProperty(a,"createNoopMeter",{enumerable:!0,get:function(){return i.createNoopMeter}});var s=n(901);Object.defineProperty(a,"ValueType",{enumerable:!0,get:function(){return s.ValueType}});var c=n(194);Object.defineProperty(a,"defaultTextMapGetter",{enumerable:!0,get:function(){return c.defaultTextMapGetter}}),Object.defineProperty(a,"defaultTextMapSetter",{enumerable:!0,get:function(){return c.defaultTextMapSetter}});var u=n(125);Object.defineProperty(a,"ProxyTracer",{enumerable:!0,get:function(){return u.ProxyTracer}});var l=n(846);Object.defineProperty(a,"ProxyTracerProvider",{enumerable:!0,get:function(){return l.ProxyTracerProvider}});var d=n(996);Object.defineProperty(a,"SamplingDecision",{enumerable:!0,get:function(){return d.SamplingDecision}});var p=n(357);Object.defineProperty(a,"SpanKind",{enumerable:!0,get:function(){return p.SpanKind}});var g=n(847);Object.defineProperty(a,"SpanStatusCode",{enumerable:!0,get:function(){return g.SpanStatusCode}});var f=n(475);Object.defineProperty(a,"TraceFlags",{enumerable:!0,get:function(){return f.TraceFlags}});var _=n(98);Object.defineProperty(a,"createTraceState",{enumerable:!0,get:function(){return _.createTraceState}});var v=n(139);Object.defineProperty(a,"isSpanContextValid",{enumerable:!0,get:function(){return v.isSpanContextValid}}),Object.defineProperty(a,"isValidTraceId",{enumerable:!0,get:function(){return v.isValidTraceId}}),Object.defineProperty(a,"isValidSpanId",{enumerable:!0,get:function(){return v.isValidSpanId}});var b=n(476);Object.defineProperty(a,"INVALID_SPANID",{enumerable:!0,get:function(){return b.INVALID_SPANID}}),Object.defineProperty(a,"INVALID_TRACEID",{enumerable:!0,get:function(){return b.INVALID_TRACEID}}),Object.defineProperty(a,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return b.INVALID_SPAN_CONTEXT}});let S=n(67);Object.defineProperty(a,"context",{enumerable:!0,get:function(){return S.context}});let h=n(506);Object.defineProperty(a,"diag",{enumerable:!0,get:function(){return h.diag}});let m=n(886);Object.defineProperty(a,"metrics",{enumerable:!0,get:function(){return m.metrics}});let E=n(939);Object.defineProperty(a,"propagation",{enumerable:!0,get:function(){return E.propagation}});let O=n(845);Object.defineProperty(a,"trace",{enumerable:!0,get:function(){return O.trace}}),a.default={context:S.context,diag:h.diag,metrics:m.metrics,propagation:E.propagation,trace:O.trace}})(),e.exports=a})()},11943:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return s},APP_DIR_ALIAS:function(){return T},CACHE_ONE_YEAR:function(){return h},DOT_NEXT_ALIAS:function(){return R},ESLINT_DEFAULT_DIRS:function(){return k},ESLINT_PROMPT_VALUES:function(){return X},GSP_NO_RETURNED_VALUE:function(){return B},GSSP_COMPONENT_MEMBER_ERROR:function(){return F},GSSP_NO_RETURNED_VALUE:function(){return G},INSTRUMENTATION_HOOK_FILENAME:function(){return O},MIDDLEWARE_FILENAME:function(){return m},MIDDLEWARE_LOCATION_REGEXP:function(){return E},NEXT_BODY_SUFFIX:function(){return l},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return S},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return g},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return f},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return p},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return b},NEXT_CACHE_TAGS_HEADER:function(){return d},NEXT_CACHE_TAG_MAX_ITEMS:function(){return _},NEXT_CACHE_TAG_MAX_LENGTH:function(){return v},NEXT_DATA_SUFFIX:function(){return c},NEXT_META_SUFFIX:function(){return u},NEXT_QUERY_PARAM_PREFIX:function(){return r},NON_STANDARD_NODE_ENV:function(){return H},PAGES_DIR_ALIAS:function(){return P},PRERENDER_REVALIDATE_HEADER:function(){return n},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return M},ROOT_DIR_ALIAS:function(){return y},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return I},RSC_ACTION_ENCRYPTION_ALIAS:function(){return A},RSC_ACTION_PROXY_ALIAS:function(){return C},RSC_ACTION_VALIDATE_ALIAS:function(){return x},RSC_MOD_REF_PROXY_ALIAS:function(){return N},RSC_PREFETCH_SUFFIX:function(){return o},RSC_SUFFIX:function(){return i},SERVER_PROPS_EXPORT_ERROR:function(){return V},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return w},SERVER_PROPS_SSG_CONFLICT:function(){return L},SERVER_RUNTIME:function(){return K},SSG_FALLBACK_EXPORT_ERROR:function(){return $},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return D},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return j},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return U},WEBPACK_LAYERS:function(){return Y},WEBPACK_RESOURCE_QUERIES:function(){return q}});let r="nxtP",n="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",o=".prefetch.rsc",i=".rsc",s=".action",c=".json",u=".meta",l=".body",d="x-next-cache-tags",p="x-next-cache-soft-tags",g="x-next-revalidated-tags",f="x-next-revalidate-tag-token",_=64,v=256,b=1024,S="_N_T_",h=31536e3,m="middleware",E=`(?:src/)?${m}`,O="instrumentation",P="private-next-pages",R="private-dot-next",y="private-next-root-dir",T="private-next-app-dir",N="next/dist/build/webpack/loaders/next-flight-loader/module-proxy",x="private-next-rsc-action-validate",C="private-next-rsc-server-reference",A="private-next-rsc-action-encryption",I="private-next-rsc-action-client-wrapper",M="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",D="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",w="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",L="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",j="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",V="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",B="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",G="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",U="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",F="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",H='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',$="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",k=["app","pages","components","lib","src"],X=[{title:"Strict",recommended:!0,config:{extends:"next/core-web-vitals"}},{title:"Base",config:{extends:"next"}},{title:"Cancel",config:null}],K={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},W={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"},Y={...W,GROUP:{serverOnly:[W.reactServerComponents,W.actionBrowser,W.appMetadataRoute,W.appRouteHandler,W.instrument],clientOnly:[W.serverSideRendering,W.appPagesBrowser],nonClientServerTarget:[W.middleware,W.api],app:[W.reactServerComponents,W.actionBrowser,W.appMetadataRoute,W.appRouteHandler,W.serverSideRendering,W.appPagesBrowser,W.shared,W.instrument]}},q={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},91354:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bgBlack:function(){return T},bgBlue:function(){return A},bgCyan:function(){return M},bgGreen:function(){return x},bgMagenta:function(){return I},bgRed:function(){return N},bgWhite:function(){return D},bgYellow:function(){return C},black:function(){return v},blue:function(){return m},bold:function(){return u},cyan:function(){return P},dim:function(){return l},gray:function(){return y},green:function(){return S},hidden:function(){return f},inverse:function(){return g},italic:function(){return d},magenta:function(){return E},purple:function(){return O},red:function(){return b},reset:function(){return c},strikethrough:function(){return _},underline:function(){return p},white:function(){return R},yellow:function(){return h}});let{env:n,stdout:a}=(null==(r=globalThis)?void 0:r.process)??{},o=n&&!n.NO_COLOR&&(n.FORCE_COLOR||(null==a?void 0:a.isTTY)&&!n.CI&&"dumb"!==n.TERM),i=(e,t,r,n)=>{let a=e.substring(0,n)+r,o=e.substring(n+t.length),s=o.indexOf(t);return~s?a+i(o,t,r,s):a+o},s=(e,t,r=e)=>o?n=>{let a=""+n,o=a.indexOf(t,e.length);return~o?e+i(a,t,r,o)+t:e+a+t}:String,c=o?e=>`\x1b[0m${e}\x1b[0m`:String,u=s("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),l=s("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),d=s("\x1b[3m","\x1b[23m"),p=s("\x1b[4m","\x1b[24m"),g=s("\x1b[7m","\x1b[27m"),f=s("\x1b[8m","\x1b[28m"),_=s("\x1b[9m","\x1b[29m"),v=s("\x1b[30m","\x1b[39m"),b=s("\x1b[31m","\x1b[39m"),S=s("\x1b[32m","\x1b[39m"),h=s("\x1b[33m","\x1b[39m"),m=s("\x1b[34m","\x1b[39m"),E=s("\x1b[35m","\x1b[39m"),O=s("\x1b[38;2;173;127;168m","\x1b[39m"),P=s("\x1b[36m","\x1b[39m"),R=s("\x1b[37m","\x1b[39m"),y=s("\x1b[90m","\x1b[39m"),T=s("\x1b[40m","\x1b[49m"),N=s("\x1b[41m","\x1b[49m"),x=s("\x1b[42m","\x1b[49m"),C=s("\x1b[43m","\x1b[49m"),A=s("\x1b[44m","\x1b[49m"),I=s("\x1b[45m","\x1b[49m"),M=s("\x1b[46m","\x1b[49m"),D=s("\x1b[47m","\x1b[49m")},38834:(e,t)=>{"use strict";function r(e){return new URL(e,"http://n").pathname}function n(e){return/https?:\/\//.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getPathname:function(){return r},isFullStringUrl:function(){return n}})},6278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return d},createPostponedAbortSignal:function(){return b},createPrerenderState:function(){return c},formatDynamicAPIAccesses:function(){return _},markCurrentScopeAsDynamic:function(){return u},trackDynamicDataAccessed:function(){return l},trackDynamicFetch:function(){return p},usedDynamicAPIs:function(){return f}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(71159)),a=r(44789),o=r(24618),i=r(38834),s="function"==typeof n.default.unstable_postpone;function c(e){return{isDebugSkeleton:e,dynamicAccesses:[]}}function u(e,t){let r=(0,i.getPathname)(e.urlPathname);if(!e.isUnstableCacheCallback){if(e.dynamicShouldError)throw new o.StaticGenBailoutError(`Route ${r} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)g(e.prerenderState,t,r);else if(e.revalidate=0,e.isStaticGeneration){let n=new a.DynamicServerError(`Route ${r} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=n.stack,n}}}function l(e,t){let r=(0,i.getPathname)(e.urlPathname);if(e.isUnstableCacheCallback)throw Error(`Route ${r} used "${t}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${t}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(e.dynamicShouldError)throw new o.StaticGenBailoutError(`Route ${r} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)g(e.prerenderState,t,r);else if(e.revalidate=0,e.isStaticGeneration){let n=new a.DynamicServerError(`Route ${r} couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=n.stack,n}}function d({reason:e,prerenderState:t,pathname:r}){g(t,e,r)}function p(e,t){e.prerenderState&&g(e.prerenderState,t,e.urlPathname)}function g(e,t,r){v();let a=`Route ${r} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;e.dynamicAccesses.push({stack:e.isDebugSkeleton?Error().stack:void 0,expression:t}),n.default.unstable_postpone(a)}function f(e){return e.dynamicAccesses.length>0}function _(e){return e.dynamicAccesses.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: +${t}`))}function v(){if(!s)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function b(e){v();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}},88716:(e,t)=>{"use strict";var r;Object.defineProperty(t,"x",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE"}(r||(r={}))},23191:(e,t,r)=>{"use strict";e.exports=r(20399)},71159:(e,t,r)=>{"use strict";e.exports=r(23191).vendored["react-rsc"].React},60670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addImplicitTags:function(){return p},patchFetch:function(){return f},validateRevalidate:function(){return u},validateTags:function(){return l}});let n=r(71376),a=r(64994),o=r(11943),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(void 0);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(48839)),s=r(6278);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(e,t){try{let r;if(!1===e)r=e;else if("number"==typeof e&&!isNaN(e)&&e>-1)r=e;else if(void 0!==e)throw Error(`Invalid revalidate value "${e}" on "${t}", must be a non-negative number or "false"`);return r}catch(e){if(e instanceof Error&&e.message.includes("Invalid revalidate"))throw e;return}}function l(e,t){let r=[],n=[];for(let a=0;ao.NEXT_CACHE_TAG_MAX_LENGTH?n.push({tag:i,reason:`exceeded max length of ${o.NEXT_CACHE_TAG_MAX_LENGTH}`}):r.push(i),r.length>o.NEXT_CACHE_TAG_MAX_ITEMS){console.warn(`Warning: exceeded max tag count for ${t}, dropped tags:`,e.slice(a).join(", "));break}}if(n.length>0)for(let{tag:e,reason:r}of(console.warn(`Warning: invalid tags passed to ${t}: `),n))console.log(`tag: "${e}" ${r}`);return r}let d=e=>{let t=["/layout"];if(e.startsWith("/")){let r=e.split("/");for(let e=1;e{var f,_;let v;try{(v=new URL(c instanceof Request?c.url:c)).username="",v.password=""}catch{v=void 0}let b=(null==v?void 0:v.href)??"",S=Date.now(),h=(null==d?void 0:null==(f=d.method)?void 0:f.toUpperCase())||"GET",m=(null==d?void 0:null==(_=d.next)?void 0:_.internal)===!0,E="1"===process.env.NEXT_OTEL_FETCH_DISABLED;return(0,a.getTracer)().trace(m?n.NextNodeServerSpan.internalFetch:n.AppRenderSpan.fetch,{hideSpan:E,kind:a.SpanKind.CLIENT,spanName:["fetch",h,b].filter(Boolean).join(" "),attributes:{"http.url":b,"http.method":h,"net.peer.name":null==v?void 0:v.hostname,"net.peer.port":(null==v?void 0:v.port)||void 0}},async()=>{var n;let a,f,_;if(m)return e(c,d);let v=r.getStore();if(!v||v.isDraftMode)return e(c,d);let h=c&&"object"==typeof c&&"string"==typeof c.method,E=e=>(null==d?void 0:d[e])||(h?c[e]:null),O=e=>{var t,r,n;return void 0!==(null==d?void 0:null==(t=d.next)?void 0:t[e])?null==d?void 0:null==(r=d.next)?void 0:r[e]:h?null==(n=c.next)?void 0:n[e]:void 0},P=O("revalidate"),R=l(O("tags")||[],`fetch ${c.toString()}`);if(Array.isArray(R))for(let e of(v.tags||(v.tags=[]),R))v.tags.includes(e)||v.tags.push(e);let y=p(v),T=v.fetchCache,N=!!v.isUnstableNoStore,x=E("cache"),C="";"string"==typeof x&&void 0!==P&&(h&&"default"===x||i.warn(`fetch for ${b} on ${v.urlPathname} specified "cache: ${x}" and "revalidate: ${P}", only one should be specified.`),x=void 0),"force-cache"===x?P=!1:("no-cache"===x||"no-store"===x||"force-no-store"===T||"only-no-store"===T)&&(P=0),("no-cache"===x||"no-store"===x)&&(C=`cache: ${x}`),_=u(P,v.urlPathname);let A=E("headers"),I="function"==typeof(null==A?void 0:A.get)?A:new Headers(A||{}),M=I.get("authorization")||I.get("cookie"),D=!["get","head"].includes((null==(n=E("method"))?void 0:n.toLowerCase())||"get"),w=(M||D)&&0===v.revalidate;switch(T){case"force-no-store":C="fetchCache = force-no-store";break;case"only-no-store":if("force-cache"===x||void 0!==_&&(!1===_||_>0))throw Error(`cache: 'force-cache' used on fetch for ${b} with 'export const fetchCache = 'only-no-store'`);C="fetchCache = only-no-store";break;case"only-cache":if("no-store"===x)throw Error(`cache: 'no-store' used on fetch for ${b} with 'export const fetchCache = 'only-cache'`);break;case"force-cache":(void 0===P||0===P)&&(C="fetchCache = force-cache",_=!1)}void 0===_?"default-cache"===T?(_=!1,C="fetchCache = default-cache"):w?(_=0,C="auto no cache"):"default-no-store"===T?(_=0,C="fetchCache = default-no-store"):N?(_=0,C="noStore call"):(C="auto cache",_="boolean"!=typeof v.revalidate&&void 0!==v.revalidate&&v.revalidate):C||(C=`revalidate: ${_}`),v.forceStatic&&0===_||w||void 0!==v.revalidate&&("number"!=typeof _||!1!==v.revalidate&&("number"!=typeof v.revalidate||!(_0||!1===_;if(v.incrementalCache&&L)try{a=await v.incrementalCache.fetchCacheKey(b,h?c:d)}catch(e){console.error("Failed to generate cache key for",c)}let j=v.nextFetchId??1;v.nextFetchId=j+1;let V="number"!=typeof _?o.CACHE_ONE_YEAR:_,B=async(t,r)=>{let n=["cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","window","duplex",...t?[]:["signal"]];if(h){let e=c,t={body:e._ogBody||e.body};for(let r of n)t[r]=e[r];c=new Request(e.url,t)}else if(d){let{_ogBody:e,body:r,signal:n,...a}=d;d={...a,body:e||r,signal:t?void 0:n}}let o={...d,next:{...null==d?void 0:d.next,fetchType:"origin",fetchIdx:j}};return e(c,o).then(async e=>{if(t||g(v,{start:S,url:b,cacheReason:r||C,cacheStatus:0===_||r?"skip":"miss",status:e.status,method:o.method||"GET"}),200===e.status&&v.incrementalCache&&a&&L){let t=Buffer.from(await e.arrayBuffer());try{await v.incrementalCache.set(a,{kind:"FETCH",data:{headers:Object.fromEntries(e.headers.entries()),body:t.toString("base64"),status:e.status,url:e.url},revalidate:V},{fetchCache:!0,revalidate:_,fetchUrl:b,fetchIdx:j,tags:R})}catch(e){console.warn("Failed to set fetch cache",c,e)}let r=new Response(t,{headers:new Headers(e.headers),status:e.status});return Object.defineProperty(r,"url",{value:e.url}),r}return e})},G=()=>Promise.resolve(),U=!1;if(a&&v.incrementalCache){G=await v.incrementalCache.lock(a);let e=v.isOnDemandRevalidate?null:await v.incrementalCache.get(a,{kindHint:"fetch",revalidate:_,fetchUrl:b,fetchIdx:j,tags:R,softTags:y});if(e?await G():f="cache-control: no-cache (hard refresh)",(null==e?void 0:e.value)&&"FETCH"===e.value.kind){if(v.isRevalidate&&e.isStale)U=!0;else{e.isStale&&(v.pendingRevalidates??={},v.pendingRevalidates[a]||(v.pendingRevalidates[a]=B(!0).catch(console.error).finally(()=>{v.pendingRevalidates??={},delete v.pendingRevalidates[a||""]})));let t=e.value.data;g(v,{start:S,url:b,cacheReason:C,cacheStatus:"hit",status:t.status||200,method:(null==d?void 0:d.method)||"GET"});let r=new Response(Buffer.from(t.body,"base64"),{headers:t.headers,status:t.status});return Object.defineProperty(r,"url",{value:e.value.data.url}),r}}}if(v.isStaticGeneration&&d&&"object"==typeof d){let{cache:e}=d;if(!v.forceStatic&&"no-store"===e){let e=`no-store fetch ${c}${v.urlPathname?` ${v.urlPathname}`:""}`;(0,s.trackDynamicFetch)(v,e),v.revalidate=0;let r=new t(e);throw v.dynamicUsageErr=r,v.dynamicUsageDescription=e,r}let r="next"in d,{next:n={}}=d;if("number"==typeof n.revalidate&&(void 0===v.revalidate||"number"==typeof v.revalidate&&n.revalidate{v.pendingRevalidates??={},delete v.pendingRevalidates[a||""],await G()})}})};return c.__nextPatched=!0,c.__nextGetStaticStore=()=>r,c._nextOriginalFetch=e,c}(r,e)}},71376:(e,t)=>{"use strict";var r,n,a,o,i,s,c,u,l,d,p,g;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRenderSpan:function(){return c},AppRouteRouteHandlersSpan:function(){return d},BaseServerSpan:function(){return r},LoadComponentsSpan:function(){return n},LogSpanAllowList:function(){return _},MiddlewareSpan:function(){return g},NextNodeServerSpan:function(){return o},NextServerSpan:function(){return a},NextVanillaSpanAllowlist:function(){return f},NodeSpan:function(){return l},RenderSpan:function(){return s},ResolveMetadataSpan:function(){return p},RouterSpan:function(){return u},StartServerSpan:function(){return i}}),function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"}(r||(r={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(n||(n={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(a||(a={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(o||(o={})),(i||(i={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(s||(s={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(c||(c={})),(u||(u={})).executeRoute="Router.executeRoute",(l||(l={})).runHandler="Node.runHandler",(d||(d={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(p||(p={})),(g||(g={})).execute="Middleware.execute";let f=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],_=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"]},64994:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SpanKind:function(){return u},SpanStatusCode:function(){return c},getTracer:function(){return S}});let a=r(71376);try{n=r(27482)}catch(e){n=r(27482)}let{context:o,propagation:i,trace:s,SpanStatusCode:c,SpanKind:u,ROOT_CONTEXT:l}=n,d=e=>null!==e&&"object"==typeof e&&"function"==typeof e.then,p=(e,t)=>{(null==t?void 0:t.bubble)===!0?e.setAttribute("next.bubble",!0):(t&&e.recordException(t),e.setStatus({code:c.ERROR,message:null==t?void 0:t.message})),e.end()},g=new Map,f=n.createContextKey("next.rootSpanId"),_=0,v=()=>_++;class b{getTracerInstance(){return s.getTracer("next.js","0.0.1")}getContext(){return o}getActiveScopeSpan(){return s.getSpan(null==o?void 0:o.active())}withPropagatedContext(e,t,r){let n=o.active();if(s.getSpanContext(n))return t();let a=i.extract(n,e,r);return o.with(a,t)}trace(...e){var t;let[r,n,i]=e,{fn:c,options:u}="function"==typeof n?{fn:n,options:{}}:{fn:i,options:{...n}},_=u.spanName??r;if(!a.NextVanillaSpanAllowlist.includes(r)&&"1"!==process.env.NEXT_OTEL_VERBOSE||u.hideSpan)return c();let b=this.getSpanContext((null==u?void 0:u.parentSpan)??this.getActiveScopeSpan()),S=!1;b?(null==(t=s.getSpanContext(b))?void 0:t.isRemote)&&(S=!0):(b=(null==o?void 0:o.active())??l,S=!0);let h=v();return u.attributes={"next.span_name":_,"next.span_type":r,...u.attributes},o.with(b.setValue(f,h),()=>this.getTracerInstance().startActiveSpan(_,u,e=>{let t="performance"in globalThis?globalThis.performance.now():void 0,n=()=>{g.delete(h),t&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&a.LogSpanAllowList.includes(r||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(r.split(".").pop()||"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}`,{start:t,end:performance.now()})};S&&g.set(h,new Map(Object.entries(u.attributes??{})));try{if(c.length>1)return c(e,t=>p(e,t));let t=c(e);if(d(t))return t.then(t=>(e.end(),t)).catch(t=>{throw p(e,t),t}).finally(n);return e.end(),n(),t}catch(t){throw p(e,t),n(),t}}))}wrap(...e){let t=this,[r,n,i]=3===e.length?e:[e[0],{},e[1]];return a.NextVanillaSpanAllowlist.includes(r)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let e=n;"function"==typeof e&&"function"==typeof i&&(e=e.apply(this,arguments));let a=arguments.length-1,s=arguments[a];if("function"!=typeof s)return t.trace(r,e,()=>i.apply(this,arguments));{let n=t.getContext().bind(o.active(),s);return t.trace(r,e,(e,t)=>(arguments[a]=function(e){return null==t||t(e),n.apply(this,arguments)},i.apply(this,arguments)))}}:i}startSpan(...e){let[t,r]=e,n=this.getSpanContext((null==r?void 0:r.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(t,r,n)}getSpanContext(e){return e?s.setSpan(o.active(),e):void 0}getRootSpanAttributes(){let e=o.active().getValue(f);return g.get(e)}}let S=(()=>{let e=new b;return()=>e})()}}; \ No newline at end of file diff --git a/server/chunks/967.js b/server/chunks/967.js new file mode 100644 index 0000000000000000000000000000000000000000..8cbc0366c710fbb68a20baebea242b92ad4ecde0 --- /dev/null +++ b/server/chunks/967.js @@ -0,0 +1,17 @@ +exports.id=967,exports.ids=[967],exports.modules={21970:(r,n,e)=>{"use strict";let t=e(77008),T=e(52759),i=e(89980),a=e(84334),o=e(87296),s=e(80050),E=e(65388),A=e(22134);function u(r,n){return new t(r,n).document}u.XmlCdata=T,u.XmlComment=i,u.XmlDocument=a,u.XmlElement=o,u.XmlNode=s,u.XmlProcessingInstruction=E,u.XmlText=A,r.exports=u},77008:(r,n,e)=>{"use strict";let t=e(12610),T=e(81650),i=e(52759),a=e(89980),o=e(84334),s=e(87296),E=e(65388),A=e(22134);class u{constructor(r,n={}){for(this.document=new o,this.currentNode=this.document,this.options=n,this.scanner=new t(function(r){return"\uFEFF"===r[0]&&(r=r.slice(1)),r.replace(/\r\n?/g,"\n")}(r)),this.consumeProlog(),this.consumeElement()||this.error("Root element is missing or invalid");this.consumeMisc(););this.scanner.isEnd||this.error("Extra content at the end of the document")}addNode(r){r.parent=this.currentNode,this.currentNode.children.push(r)}addText(r){let{children:n}=this.currentNode;if(n.length>0){let e=n[n.length-1];if(e instanceof A){e.text+=r;return}}this.addNode(new A(r))}consumeAttributeValue(){let r,{scanner:n}=this,e=n.peek();if('"'!==e&&"'"!==e)return!1;n.advance();let t=!1,T="",i='"'===e?/[^"&<]+/y:/[^'&<]+/y;r:for(;!n.isEnd;)switch((r=n.consumeMatch(i))&&(this.validateChars(r),T+=r.replace(/[\t\r\n]/g," ")),n.peek()){case e:t=!0;break r;case"&":T+=this.consumeReference();continue;case"<":this.error("Unescaped `<` is not allowed in an attribute value");break;case"":this.error("Unclosed attribute")}return t||this.error("Unclosed attribute"),n.advance(),T}consumeCdataSection(){let{scanner:r}=this;if(!r.consumeStringFast("");return this.validateChars(n),r.consumeStringFast("]]>")||this.error("Unclosed CDATA section"),this.options.preserveCdata?this.addNode(new i(n)):this.addText(n),!0}consumeCharData(){let{scanner:r}=this,n=r.consumeUntilMatch(/<|&|]]>/g);return!!n&&(this.validateChars(n),"]"===r.peek()&&"]]>"===r.peek(3)&&this.error("Element content may not contain the CDATA section close delimiter `]]>`"),this.addText(n),!0)}consumeComment(){let{scanner:r}=this;if(!r.consumeStringFast("")||("--"===r.peek(2)?this.error("The string `--` isn't allowed inside a comment"):this.error("Unclosed comment")),this.options.preserveComments&&this.addNode(new a(n.trim())),!0}consumeContentReference(){let r=this.consumeReference();return!!r&&(this.addText(r),!0)}consumeDoctypeDeclaration(){let{scanner:r}=this;return!!(r.consumeStringFast("]+/y),!!r.consumeMatch(/\[[\s\S]+?\][\x20\t\r\n]*>/y)||(r.consumeStringFast(">")||this.error("Unclosed doctype declaration"),!0))}consumeElement(){let{scanner:r}=this,n=r.charIndex;if("<"!==r.peek())return!1;r.advance();let e=this.consumeName();if(!e)return r.reset(n),!1;let t=Object.create(null);for(;this.consumeWhitespace();){let r=this.consumeName();if(!r)continue;let n=this.consumeEqual()&&this.consumeAttributeValue();!1===n&&this.error("Attribute value expected"),r in t&&this.error(`Duplicate attribute: ${r}`),"xml:space"===r&&"default"!==n&&"preserve"!==n&&this.error('Value of the `xml:space` attribute must be "default" or "preserve"'),t[r]=n}if(this.options.sortAttributes){let r=Object.keys(t).sort(),n=Object.create(null);for(let e=0;e"),i=new s(e,t);if(i.parent=this.currentNode,!T){let n;for(r.consumeStringFast(">")||this.error(`Unclosed start tag for element \`${e}\``),this.currentNode=i,this.consumeCharData();this.consumeElement()||this.consumeContentReference()||this.consumeCdataSection()||this.consumeProcessingInstruction()||this.consumeComment();)this.consumeCharData();let t=r.charIndex;r.consumeStringFast("")||this.error(`Unclosed end tag for element ${e}`),this.currentNode=i.parent}return this.addNode(i),!0}consumeEqual(){return this.consumeWhitespace(),!!this.scanner.consumeStringFast("=")&&(this.consumeWhitespace(),!0)}consumeMisc(){return this.consumeComment()||this.consumeProcessingInstruction()||this.consumeWhitespace()}consumeName(){return T.isNameStartChar(this.scanner.peek())?this.scanner.consumeMatchFn(T.isNameChar):""}consumeProcessingInstruction(){let{scanner:r}=this,n=r.charIndex;if(!r.consumeStringFast(""))return this.addNode(new E(e)),!0;this.error("Whitespace is required after a processing instruction name")}let t=r.consumeUntilString("?>");return this.validateChars(t),r.consumeStringFast("?>")||this.error("Unterminated processing instruction"),this.addNode(new E(e,t)),!0}consumeProlog(){let{scanner:r}=this,n=r.charIndex;for(this.consumeXmlDeclaration();this.consumeMisc(););if(this.consumeDoctypeDeclaration())for(;this.consumeMisc(););return n")||this.error("Invalid or unclosed XML declaration"),!0}error(r){let{charIndex:n,string:e}=this.scanner,t=1,T="",i=1;for(let r=0;r50&&(t<40?T=T.slice(0,50):(o=t-20,T=T.slice(o,t+30)));let s=Error(`${r} (line ${i}, column ${t}) + ${T} +`+" ".repeat(t-o+1)+"^\n");throw Object.assign(s,{column:t,excerpt:T,line:i,pos:n}),s}validateChars(r){let n=0;for(let e of r)T.isNotXmlChar(e)&&(this.scanner.reset(-([...r].length-n)),this.error("Invalid character")),n+=1}}r.exports=u},12610:r=>{"use strict";class n{constructor(r){this.chars=[...r],this.charCount=this.chars.length,this.charIndex=0,this.charsToBytes=Array(this.charCount),this.multiByteMode=!1,this.string=r;let{chars:n,charCount:e,charsToBytes:t}=this;if(e===r.length)for(let r=0;r=this.charCount}_charLength(r){let{length:n}=r;return n<2||!this.multiByteMode?n:r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length}advance(r=1){this.charIndex=Math.min(this.charCount,this.charIndex+r)}consume(r=1){let n=this.peek(r);return this.advance(r),n}consumeMatch(r){if(!r.sticky)throw Error('`regex` must have a sticky flag ("y")');r.lastIndex=this.charsToBytes[this.charIndex];let n=r.exec(this.string);if(null===n)return"";let e=n[0];return this.advance(this._charLength(e)),e}consumeMatchFn(r){let n=this.charIndex;for(;!this.isEnd&&r(this.peek());)this.advance();return this.charIndex>n?this.string.slice(this.charsToBytes[n],this.charsToBytes[this.charIndex]):""}consumeString(r){if(this.consumeStringFast(r))return r;if(!this.multiByteMode)return"";let{length:n}=r,e=this._charLength(r);return e!==n&&r===this.peek(e)?(this.advance(e),r):""}consumeStringFast(r){if(this.peek()===r[0]){let{length:n}=r;if(1===n)return this.advance(),r;if(this.peek(n)===r)return this.advance(n),r}return""}consumeUntilMatch(r){if(!r.global)throw Error('`regex` must have a global flag ("g")');let n=this.charsToBytes[this.charIndex];r.lastIndex=n;let e=r.exec(this.string);if(null===e||e.index===n)return"";let t=this.string.slice(n,e.index);return this.advance(this._charLength(t)),t}consumeUntilString(r){let{charIndex:n,charsToBytes:e,string:t}=this,T=e[n],i=t.indexOf(r,T);if(i<=0)return"";let a=t.slice(T,i);return this.advance(this._charLength(a)),a}peek(r=1){if(this.charIndex>=this.charCount)return"";if(1===r)return this.chars[this.charIndex];let{charsToBytes:n,charIndex:e}=this;return this.string.slice(n[e],n[e+r])}reset(r=0){this.charIndex=r>=0?Math.min(this.charCount,r):Math.max(0,this.charIndex+r)}}r.exports=n},52759:(r,n,e)=>{"use strict";let t=e(80050),T=e(22134);class i extends T{get type(){return t.TYPE_CDATA}}r.exports=i},89980:(r,n,e)=>{"use strict";let t=e(80050);class T extends t{constructor(r=""){super(),this.content=r}get type(){return t.TYPE_COMMENT}toJSON(){return Object.assign(t.prototype.toJSON.call(this),{content:this.content})}}r.exports=T},84334:(r,n,e)=>{"use strict";let t=e(87296),T=e(80050);class i extends T{constructor(r=[]){super(),this.children=r}get document(){return this}get root(){return this.children.find(r=>r instanceof t)||null}get text(){return this.children.map(r=>"text"in r?r.text:"").join("")}get type(){return T.TYPE_DOCUMENT}toJSON(){return Object.assign(T.prototype.toJSON.call(this),{children:this.children.map(r=>r.toJSON())})}}r.exports=i},87296:(r,n,e)=>{"use strict";let t=e(80050);class T extends t{constructor(r,n=Object.create(null),e=[]){super(),this.name=r,this.attributes=n,this.children=e}get isEmpty(){return 0===this.children.length}get preserveWhitespace(){let r=this;for(;r instanceof T;){if("xml:space"in r.attributes)return"preserve"===r.attributes["xml:space"];r=r.parent}return!1}get text(){return this.children.map(r=>"text"in r?r.text:"").join("")}get type(){return t.TYPE_ELEMENT}toJSON(){return Object.assign(t.prototype.toJSON.call(this),{name:this.name,attributes:this.attributes,children:this.children.map(r=>r.toJSON())})}}r.exports=T},80050:r=>{"use strict";class n{constructor(){this.parent=null}get document(){return this.parent?this.parent.document:null}get isRootNode(){return!!this.parent&&this.parent===this.document}get preserveWhitespace(){return!!(this.parent&&this.parent.preserveWhitespace)}get type(){return""}toJSON(){let r={type:this.type};return this.isRootNode&&(r.isRootNode=!0),this.preserveWhitespace&&(r.preserveWhitespace=!0),r}}n.TYPE_CDATA="cdata",n.TYPE_COMMENT="comment",n.TYPE_DOCUMENT="document",n.TYPE_ELEMENT="element",n.TYPE_PROCESSING_INSTRUCTION="pi",n.TYPE_TEXT="text",r.exports=n},65388:(r,n,e)=>{"use strict";let t=e(80050);class T extends t{constructor(r,n=""){super(),this.name=r,this.content=n}get type(){return t.TYPE_PROCESSING_INSTRUCTION}toJSON(){return Object.assign(t.prototype.toJSON.call(this),{name:this.name,content:this.content})}}r.exports=T},22134:(r,n,e)=>{"use strict";let t=e(80050);class T extends t{constructor(r=""){super(),this.text=r}get type(){return t.TYPE_TEXT}toJSON(){return Object.assign(t.prototype.toJSON.call(this),{text:this.text})}}r.exports=T},81650:(r,n)=>{"use strict";let e=Object.freeze(Object.assign(Object.create(null),{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}));function t(r){if(T(r))return!0;let n=a(r);return 45===n||46===n||n>=48&&n<=57||183===n||n>=768&&n<=879||n>=8255&&n<=8256}function T(r){let n=a(r);return 58===n||95===n||n>=65&&n<=90||n>=97&&n<=122||n>=192&&n<=214||n>=216&&n<=246||n>=248&&n<=767||n>=880&&n<=893||n>=895&&n<=8191||n>=8204&&n<=8205||n>=8304&&n<=8591||n>=11264&&n<=12271||n>=12289&&n<=55295||n>=63744&&n<=64975||n>=65008&&n<=65533||n>=65536&&n<=983039}function i(r){let n=a(r);return 9===n||10===n||13===n||n>=32&&n<=55295||n>=57344&&n<=65533||n>=65536&&n<=1114111}function a(r){return r.codePointAt(0)||-1}n.predefinedEntities=e,n.isNameChar=t,n.isNameStartChar=T,n.isNotXmlChar=function(r){return!i(r)},n.isReferenceChar=function(r){return"#"===r||t(r)},n.isWhitespace=function(r){let n=a(r);return 32===n||9===n||10===n||13===n},n.isXmlChar=i},67824:function(r){var n;n=function(){return function(r,n,e){n.prototype.isBetween=function(r,n,t,T){var i=e(r),a=e(n),o="("===(T=T||"()")[0],s=")"===T[1];return(o?this.isAfter(i,t):!this.isBefore(i,t))&&(s?this.isBefore(a,t):!this.isAfter(a,t))||(o?this.isBefore(i,t):!this.isAfter(i,t))&&(s?this.isAfter(a,t):!this.isBefore(a,t))}}},r.exports=n()},16186:(r,n,e)=>{"use strict";let t=e(78951),T=e(74836);class i{constructor(r){this.maxIterations=null!=r.maxIterations?r.maxIterations:1e3,this.skipInvalidDates=null!=r.skipInvalidDates&&r.skipInvalidDates,this.jCalData=t.parse(r.ics),this.component=new t.Component(this.jCalData),this.events=this.component.getAllSubcomponents("vevent").map(r=>new t.Event(r)),this.skipInvalidDates&&(this.events=this.events.filter(r=>{try{return r.startDate.toJSDate(),r.endDate.toJSDate(),!0}catch(r){return!1}}))}between(r,n){function e(e,t){return(!r||t>=r.getTime())&&(!n||e<=n.getTime())}function t(r){let n=r.startDate.toJSDate().getTime(),e=r.endDate.toJSDate().getTime();return r.endDate.isDate&&e>n&&(e-=1),{startTime:n,endTime:e}}let T=[];this.events.forEach(r=>{r.isRecurrenceException()&&T.push(r)});let i={events:[],occurrences:[]};return this.events.filter(r=>!r.isRecurrenceException()).forEach(r=>{let a=[];if(r.component.getAllProperties("exdate").forEach(r=>{let n=r.getFirstValue();a.push(n.toJSDate().getTime())}),r.isRecurring()){let o;let s=r.iterator(),E=0;do if(E+=1,o=s.next()){let s=r.getOccurrenceDetails(o),{startTime:E,endTime:A}=t(s),u=-1!==a.indexOf(E),c=T.find(n=>n.uid===r.uid&&n.recurrenceId.toJSDate().getTime()===s.startDate.toJSDate().getTime());if(n&&E>n.getTime())break;e(E,A)&&(c?i.events.push(c):u||i.occurrences.push(s))}while(o&&(!this.maxIterations||E{let n=T[r],e=`BEGIN:VTIMEZONE\r +TZID:${r}\r +${n}\r +END:VTIMEZONE`,i=t.parse(`BEGIN:VCALENDAR +PRODID:-//tzurl.org//NONSGML Olson 2012h//EN +VERSION:2.0 +${e} +END:VCALENDAR`),a=new t.Component(i).getFirstSubcomponent("vtimezone");t.TimezoneService.register(r,new t.Timezone(a))}),r.exports=i},78951:r=>{var n;(n=r.exports).foldLength=75,n.newLineChar="\r\n",n.helpers={updateTimezones:function(r){var e,t,T,i,a,o;if(!r||"vcalendar"!==r.name)return r;for(a=0,e=r.getAllSubcomponents(),t=[],T={};a0)||"\\"!==r[e-1])return e;e+=1}return -1},binsearchInsert:function(r,n,e){if(!r.length)return 0;for(var t,T,i=0,a=r.length-1;i<=a;)if((T=e(n,r[t=i+Math.floor((a-i)/2)]))<0)a=t-1;else if(T>0)i=t+1;else break;return T<0?t:T>0?t+1:t},dumpn:function(){n.debug&&("undefined"!=typeof console&&"log"in console?n.helpers.dumpn=function(r){console.log(r)}:n.helpers.dumpn=function(r){dump(r+"\n")},n.helpers.dumpn(arguments[0]))},clone:function(r,e){if(!r||"object"!=typeof r)return r;if(r instanceof Date)return new Date(r.getTime());if("clone"in r)return r.clone();if(Array.isArray(r)){for(var t=[],T=0;T65535?2:1:(e+=n.newLineChar+" "+t.substring(0,T),t=t.substring(T),T=i=0)}return e.substr(n.newLineChar.length+1)},pad2:function(r){switch("string"!=typeof r&&("number"==typeof r&&(r=parseInt(r)),r=String(r)),r.length){case 0:return"00";case 1:return"0"+r;default:return r}},trunc:function(r){return r<0?Math.ceil(r):Math.floor(r)},inherits:function(r,e,t){function T(){}T.prototype=r.prototype,e.prototype=new T,t&&n.helpers.extend(t,e.prototype)},extend:function(r,n){for(var e in r){var t=Object.getOwnPropertyDescriptor(r,e);t&&!Object.getOwnPropertyDescriptor(n,e)&&Object.defineProperty(n,e,t)}return n}},n.design=function(){"use strict";var r=/\\\\|\\,|\\[Nn]/g,e=/\\|,|\n/g;function t(r,n){return{matches:/.*/,fromICAL:function(n,e){var t;return t=r,-1===n.indexOf("\\")?n:(e&&(t=RegExp(t.source+"|\\\\"+e)),n.replace(t,l))},toICAL:function(r,e){var t=n;return e&&(t=RegExp(t.source+"|"+e)),r.replace(t,function(r){switch(r){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return r}})}}}var T={defaultType:"text"},i={defaultType:"text",multiValue:","},a={defaultType:"text",structuredValue:";"},o={defaultType:"integer"},s={defaultType:"date-time",allowedTypes:["date-time","date"]},E={defaultType:"date-time"},A={defaultType:"uri"},u={defaultType:"utc-offset"},c={defaultType:"recur"},D={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function l(r){switch(r){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return r}}var S={categories:i,url:A,version:T,uid:T},R={boolean:{values:["TRUE","FALSE"],fromICAL:function(r){return"TRUE"===r},toICAL:function(r){return r?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(r){var e=parseFloat(r);return n.helpers.isStrictlyNaN(e)?0:e},toICAL:function(r){return String(r)}},integer:{fromICAL:function(r){var e=parseInt(r);return n.helpers.isStrictlyNaN(e)?0:e},toICAL:function(r){return String(r)}},"utc-offset":{toICAL:function(r){return r.length<7?r.substr(0,3)+r.substr(4,2):r.substr(0,3)+r.substr(4,2)+r.substr(7,2)},fromICAL:function(r){return r.length<6?r.substr(0,3)+":"+r.substr(3,2):r.substr(0,3)+":"+r.substr(3,2)+":"+r.substr(5,2)},decorate:function(r){return n.UtcOffset.fromString(r)},undecorate:function(r){return r.toString()}}},F=n.helpers.extend(R,{text:t(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(r){return n.Binary.fromString(r)},undecorate:function(r){return r.toString()}},"cal-address":{},date:{decorate:function(r,e){return Z.strict?n.Time.fromDateString(r,e):n.Time.fromString(r,e)},undecorate:function(r){return r.toString()},fromICAL:function(r){return!Z.strict&&r.length>=15?F["date-time"].fromICAL(r):r.substr(0,4)+"-"+r.substr(4,2)+"-"+r.substr(6,2)},toICAL:function(r){var n=r.length;return 10==n?r.substr(0,4)+r.substr(5,2)+r.substr(8,2):n>=19?F["date-time"].toICAL(r):r}},"date-time":{fromICAL:function(r){if(!Z.strict&&8==r.length)return F.date.fromICAL(r);var n=r.substr(0,4)+"-"+r.substr(4,2)+"-"+r.substr(6,2)+"T"+r.substr(9,2)+":"+r.substr(11,2)+":"+r.substr(13,2);return r[15]&&"Z"===r[15]&&(n+="Z"),n},toICAL:function(r){var n=r.length;if(10==n&&!Z.strict)return F.date.toICAL(r);if(!(n>=19))return r;var e=r.substr(0,4)+r.substr(5,2)+r.substr(8,5)+r.substr(14,2)+r.substr(17,2);return r[19]&&"Z"===r[19]&&(e+="Z"),e},decorate:function(r,e){return Z.strict?n.Time.fromDateTimeString(r,e):n.Time.fromString(r,e)},undecorate:function(r){return r.toString()}},duration:{decorate:function(r){return n.Duration.fromString(r)},undecorate:function(r){return r.toString()}},period:{fromICAL:function(r){var e=r.split("/");return e[0]=F["date-time"].fromICAL(e[0]),n.Duration.isValueString(e[1])||(e[1]=F["date-time"].fromICAL(e[1])),e},toICAL:function(r){return Z.strict||10!=r[0].length?r[0]=F["date-time"].toICAL(r[0]):r[0]=F.date.toICAL(r[0]),n.Duration.isValueString(r[1])||(Z.strict||10!=r[1].length?r[1]=F["date-time"].toICAL(r[1]):r[1]=F.date.toICAL(r[1])),r.join("/")},decorate:function(r,e){return n.Period.fromJSON(r,e,!Z.strict)},undecorate:function(r){return r.toJSON()}},recur:{fromICAL:function(r){return n.Recur._stringToData(r,!0)},toICAL:function(r){var e="";for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var T=r[t];"until"==t?T=T.length>10?F["date-time"].toICAL(T):F.date.toICAL(T):"wkst"==t?"number"==typeof T&&(T=n.Recur.numericDayToIcalDay(T)):Array.isArray(T)&&(T=T.join(",")),e+=t.toUpperCase()+"="+T+";"}return e.substr(0,e.length-1)},decorate:function(r){return n.Recur.fromData(r)},undecorate:function(r){return r.toJSON()}},time:{fromICAL:function(r){if(r.length<6)return r;var n=r.substr(0,2)+":"+r.substr(2,2)+":"+r.substr(4,2);return"Z"===r[6]&&(n+="Z"),n},toICAL:function(r){if(r.length<8)return r;var n=r.substr(0,2)+r.substr(3,2)+r.substr(6,2);return"Z"===r[8]&&(n+="Z"),n}}}),N=n.helpers.extend(S,{action:T,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:T,class:T,comment:T,completed:E,contact:T,created:E,description:T,dtend:s,dtstamp:E,dtstart:s,due:s,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:c,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":E,location:T,method:T,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:T,"related-to":T,repeat:o,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(r){return -1!==r.indexOf("/")?"period":-1===r.indexOf("T")?"date":"date-time"}},"recurrence-id":s,resources:i,"request-status":a,rrule:c,sequence:o,status:T,summary:T,transp:T,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:u,tzoffsetto:u,tzurl:A,tzid:T,tzname:T}),O=n.helpers.extend(R,{text:t(r,e),uri:t(r,e),date:{decorate:function(r){return n.VCardTime.fromDateAndOrTimeString(r,"date")},undecorate:function(r){return r.toString()},fromICAL:function(r){return 8==r.length?F.date.fromICAL(r):"-"==r[0]&&6==r.length?r.substr(0,4)+"-"+r.substr(4):r},toICAL:function(r){return 10==r.length?F.date.toICAL(r):"-"==r[0]&&7==r.length?r.substr(0,4)+r.substr(5):r}},time:{decorate:function(r){return n.VCardTime.fromDateAndOrTimeString("T"+r,"time")},undecorate:function(r){return r.toString()},fromICAL:function(r){var n=O.time._splitZone(r,!0),e=n[0],t=n[1];return 6==t.length?t=t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2):4==t.length&&"-"!=t[0]?t=t.substr(0,2)+":"+t.substr(2,2):5==t.length&&(t=t.substr(0,3)+":"+t.substr(3,2)),5==e.length&&("-"==e[0]||"+"==e[0])&&(e=e.substr(0,3)+":"+e.substr(3)),t+e},toICAL:function(r){var n=O.time._splitZone(r),e=n[0],t=n[1];return 8==t.length?t=t.substr(0,2)+t.substr(3,2)+t.substr(6,2):5==t.length&&"-"!=t[0]?t=t.substr(0,2)+t.substr(3,2):6==t.length&&(t=t.substr(0,3)+t.substr(4,2)),6==e.length&&("-"==e[0]||"+"==e[0])&&(e=e.substr(0,3)+e.substr(4)),t+e},_splitZone:function(r,n){var e,t,T=r.length-1,i=r.length-(n?5:6),a=r[i];return"Z"==r[T]?(e=r[T],t=r.substr(0,T)):r.length>6&&("-"==a||"+"==a)?(e=r.substr(i),t=r.substr(0,i)):(e="",t=r),[e,t]}},"date-time":{decorate:function(r){return n.VCardTime.fromDateAndOrTimeString(r,"date-time")},undecorate:function(r){return r.toString()},fromICAL:function(r){return O["date-and-or-time"].fromICAL(r)},toICAL:function(r){return O["date-and-or-time"].toICAL(r)}},"date-and-or-time":{decorate:function(r){return n.VCardTime.fromDateAndOrTimeString(r,"date-and-or-time")},undecorate:function(r){return r.toString()},fromICAL:function(r){var n=r.split("T");return(n[0]?O.date.fromICAL(n[0]):"")+(n[1]?"T"+O.time.fromICAL(n[1]):"")},toICAL:function(r){var n=r.split("T");return O.date.toICAL(n[0])+(n[1]?"T"+O.time.toICAL(n[1]):"")}},timestamp:F["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/}}),h=n.helpers.extend(S,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:D,bday:D,caladruri:A,caluri:A,clientpidmap:a,email:T,fburl:A,fn:T,gender:a,geo:A,impp:A,key:A,kind:T,lang:{defaultType:"language-tag"},logo:A,member:A,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,note:T,org:{defaultType:"text",structuredValue:";"},photo:A,related:A,rev:{defaultType:"timestamp"},role:T,sound:A,source:A,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:T,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:T}),d=n.helpers.extend(R,{binary:F.binary,date:O.date,"date-time":O["date-time"],"phone-number":{},uri:F.uri,text:F.text,time:F.time,vcard:F.text,"utc-offset":{toICAL:function(r){return r.substr(0,7)},fromICAL:function(r){return r.substr(0,7)},decorate:function(r){return n.UtcOffset.fromString(r)},undecorate:function(r){return r.toString()}}}),f=n.helpers.extend(S,{fn:T,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(r){return -1===r.indexOf("T")?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:T,tel:{defaultType:"phone-number"},email:T,mailer:T,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:T,role:T,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:a,note:i,prodid:T,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(r){return -1===r.indexOf("T")?"date":"date-time"}},"sort-string":T,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:T,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),m={value:F,param:{cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}},property:N},Y={value:O,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},property:h},M={value:d,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},property:f},Z={strict:!0,defaultSet:m,defaultType:"unknown",components:{vcard:Y,vcard3:M,vevent:m,vtodo:m,vjournal:m,valarm:m,vtimezone:m,daylight:m,standard:m},icalendar:m,vcard:Y,vcard3:M,getDesignSet:function(r){return r&&r in Z.components?Z.components[r]:Z.defaultSet}};return Z}(),n.stringify=function(){"use strict";var r="unknown",e=n.design,t=n.helpers;function T(r){"string"==typeof r[0]&&(r=[r]);for(var n=0,e=r.length,t="";n0&&!("version"===r[1][0][0]&&"4.0"===r[1][0][3])&&(E="vcard3"),n=n||e.getDesignSet(E);o1)throw new T("invalid ical body. component began but did not end");return n=null,1==e.length?e[0]:e}T.prototype=Error.prototype,i.property=function(r,n){var t={component:[[],[]],designSet:n||e.defaultSet};return i._handleContentLine(r,t),t.component[1][0]},i.component=function(r){return i(r)},i.ParserError=T,i._handleContentLine=function(r,n){var t,a,o,s,E,A,u,c,D=r.indexOf(":"),l=r.indexOf(";"),S={};if(-1!==l&&-1!==D&&l>D&&(l=-1),-1!==l){if(o=r.substring(0,l).toLowerCase(),-1==(E=i._parseParameters(r.substring(l),0,n.designSet))[2])throw new T("Invalid parameters in '"+r+"'");if(S=E[0],t=E[1].length+E[2]+l,-1!==(a=r.substring(t).indexOf(":")))s=r.substring(t+a+1);else throw new T("Missing parameter value in '"+r+"'")}else if(-1!==D){if(o=r.substring(0,D).toLowerCase(),s=r.substring(D+1),"begin"===o){var R=[s.toLowerCase(),[],[]];1===n.stack.length?n.component.push(R):n.component[2].push(R),n.stack.push(n.component),n.component=R,n.designSet||(n.designSet=e.getDesignSet(n.component[0]));return}if("end"===o){n.component=n.stack.pop();return}}else throw new T('invalid line (no token ";" or ":") "'+r+'"');var F=!1,N=!1;o in n.designSet.property&&("multiValue"in(u=n.designSet.property[o])&&(F=u.multiValue),"structuredValue"in u&&(N=u.structuredValue),s&&"detectType"in u&&(A=u.detectType(s))),A||(A="value"in S?S.value.toLowerCase():u?u.defaultType:"unknown"),delete S.value,F&&N?(s=i._parseMultiValue(s,N,A,[],F,n.designSet,N),c=[o,S,A,s]):F?(c=[o,S,A],i._parseMultiValue(s,F,A,c,null,n.designSet,!1)):(s=N?i._parseMultiValue(s,N,A,[],null,n.designSet,N):i._parseValue(s,A,n.designSet,!1),c=[o,S,A,s]),"vcard"!==n.component[0]||0!==n.component[1].length||"version"===o&&"4.0"===s||(n.designSet=e.getDesignSet("vcard3")),n.component[1].push(c)},i._parseValue=function(r,n,e,t){return n in e.value&&"fromICAL"in e.value[n]?e.value[n].fromICAL(r,t):r},i._parseParameters=function(r,n,e){for(var a,o,s,E,A,u,c=n,D=0,l={},S=-1;!1!==D&&-1!==(D=t.unescapedIndexOf(r,"=",D+1));){if(0==(E=r.substr(c+1,D-c-1)).length)throw new T("Empty parameter name in '"+r+"'");if(A=E.toLowerCase(),s=!1,o=!1,a=A in e.param&&e.param[A].valueType?e.param[A].valueType:"text",A in e.param&&(o=e.param[A].multiValue,e.param[A].multiValueSeparateDQuote&&(s=i._rfc6868Escape('"'+o+'"'))),'"'===r[D+1]){if(S=D+2,D=t.unescapedIndexOf(r,'"',S),o&&-1!=D)for(var R=!0;R;)r[D+1]==o&&'"'==r[D+2]?D=t.unescapedIndexOf(r,'"',D+3):R=!1;if(-1===D)throw new T('invalid line (no matching double quote) "'+r+'"');u=r.substr(S,D-S),-1===(c=t.unescapedIndexOf(r,";",D))&&(D=!1)}else{S=D+1;var F=t.unescapedIndexOf(r,";",S),N=t.unescapedIndexOf(r,":",S);-1!==N&&F>N?(F=N,D=!1):-1===F?(F=-1===N?r.length:N,D=!1):(c=F,D=F),u=r.substr(S,F-S)}if(u=i._rfc6868Escape(u),o){var O=s||o;u=i._parseMultiValue(u,O,a,[],null,e)}else u=i._parseValue(u,a,e);o&&A in l?Array.isArray(l[A])?l[A].push(u):l[A]=[l[A],u]:l[A]=u}return[l,u,S]},i._rfc6868Escape=function(r){return r.replace(/\^['n^]/g,function(r){return a[r]})};var a={"^'":'"',"^n":"\n","^^":"^"};return i._parseMultiValue=function(r,n,e,T,a,o,s){var E,A=0,u=0;if(0===n.length)return r;for(;-1!==(A=t.unescapedIndexOf(r,n,u));)E=r.substr(u,A-u),E=a?i._parseMultiValue(E,a,e,[],null,o,s):i._parseValue(E,e,o,s),T.push(E),u=A+n.length;return E=r.substr(u),E=a?i._parseMultiValue(E,a,e,[],null,o,s):i._parseValue(E,e,o,s),T.push(E),1==T.length?T[0]:T},i._eachLine=function(n,e){var t,T,i,a=n.length,o=n.search(r),s=o;do i=(s=n.indexOf("\n",o)+1)>1&&"\r"===n[s-2]?2:1,0===s&&(s=a,i=0)," "===(T=n[o])||" "===T?t+=n.substr(o+1,s-o-(i+1)):(t&&e(null,t),t=n.substr(o,s-o-i)),o=s;while(s!==a);(t=t.trim()).length&&e(null,t)},i}(),n.Component=function(){"use strict";function r(r,n){"string"==typeof r&&(r=[r,[],[]]),this.jCal=r,this.parent=n||null}return r.prototype={_hydratedPropertyCount:0,_hydratedComponentCount:0,get name(){return this.jCal[0]},get _designSet(){return this.parent&&this.parent._designSet||n.design.getDesignSet(this.name)},_hydrateComponent:function(n){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[n])return this._components[n];var e=new r(this.jCal[2][n],this);return this._hydratedComponentCount++,this._components[n]=e},_hydrateProperty:function(r){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[r])return this._properties[r];var e=new n.Property(this.jCal[1][r],this);return this._hydratedPropertyCount++,this._properties[r]=e},getFirstSubcomponent:function(r){if(r){for(var n=0,e=this.jCal[2],t=e.length;n=0;i--)e&&T[i][0]!==e||this._removeObjectByIndex(r,t,i)},addSubcomponent:function(r){this._components||(this._components=[],this._hydratedComponentCount=0),r.parent&&r.parent.removeSubcomponent(r);var n=this.jCal[2].push(r.jCal);return this._components[n-1]=r,this._hydratedComponentCount++,r.parent=this,r},removeSubcomponent:function(r){var n=this._removeObject(2,"_components",r);return n&&this._hydratedComponentCount--,n},removeAllSubcomponents:function(r){var n=this._removeAllObjects(2,"_components",r);return this._hydratedComponentCount=0,n},addProperty:function(r){if(!(r instanceof n.Property))throw TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),r.parent&&r.parent.removeProperty(r);var e=this.jCal[1].push(r.jCal);return this._properties[e-1]=r,this._hydratedPropertyCount++,r.parent=this,r},addPropertyWithValue:function(r,e){var t=new n.Property(r);return t.setValue(e),this.addProperty(t),t},updatePropertyWithValue:function(r,n){var e=this.getFirstProperty(r);return e?e.setValue(n):e=this.addPropertyWithValue(r,n),e},removeProperty:function(r){var n=this._removeObject(1,"_properties",r);return n&&this._hydratedPropertyCount--,n},removeAllProperties:function(r){var n=this._removeAllObjects(1,"_properties",r);return this._hydratedPropertyCount=0,n},toJSON:function(){return this.jCal},toString:function(){return n.stringify.component(this.jCal,this._designSet)}},r.fromString=function(e){return new r(n.parse.component(e))},r}(),n.Property=function(){"use strict";var r=n.design;function e(n,e){this._parent=e||null,"string"==typeof n?(this.jCal=[n,{},r.defaultType],this.jCal[2]=this.getDefaultType()):this.jCal=n,this._updateType()}return e.prototype={get type(){return this.jCal[2]},get name(){return this.jCal[0]},get parent(){return this._parent},set parent(p){var t=!this._parent||p&&p._designSet!=this._parent._designSet;return this._parent=p,this.type==r.defaultType&&t&&(this.jCal[2]=this.getDefaultType(),this._updateType()),p},get _designSet(){return this.parent?this.parent._designSet:r.defaultSet},_updateType:function(){var r=this._designSet;this.type in r.value&&(r.value[this.type],"decorate"in r.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in r.property&&(this.isMultiValue="multiValue"in r.property[this.name],this.isStructuredValue="structuredValue"in r.property[this.name]))},_hydrateValue:function(r){return this._values&&this._values[r]?this._values[r]:this.jCal.length<=3+r?null:this.isDecorated?(this._values||(this._values=[]),this._values[r]=this._decorate(this.jCal[3+r])):this.jCal[3+r]},_decorate:function(r){return this._designSet.value[this.type].decorate(r,this)},_undecorate:function(r){return this._designSet.value[this.type].undecorate(r,this)},_setDecoratedValue:function(r,n){this._values||(this._values=[]),"object"==typeof r&&"icaltype"in r?(this.jCal[3+n]=this._undecorate(r),this._values[n]=r):(this.jCal[3+n]=r,this._values[n]=this._decorate(r))},getParameter:function(r){return r in this.jCal[1]?this.jCal[1][r]:void 0},getFirstParameter:function(r){var n=this.getParameter(r);return Array.isArray(n)?n[0]:n},setParameter:function(r,n){var e=r.toLowerCase();"string"==typeof n&&e in this._designSet.param&&"multiValue"in this._designSet.param[e]&&(n=[n]),this.jCal[1][r]=n},removeParameter:function(r){delete this.jCal[1][r]},getDefaultType:function(){var n=this.jCal[0],e=this._designSet;if(n in e.property){var t=e.property[n];if("defaultType"in t)return t.defaultType}return r.defaultType},resetType:function(r){this.removeAllValues(),this.jCal[2]=r,this._updateType()},getFirstValue:function(){return this._hydrateValue(0)},getValues:function(){var r=this.jCal.length-3;if(r<1)return[];for(var n=0,e=[];n0&&"object"==typeof r[0]&&"icaltype"in r[0]&&this.resetType(r[0].icaltype),this.isDecorated)for(;ee)-(e>n)},_normalize:function(){for(var r=this.toSeconds(),n=this.factor;r<-43200;)r+=97200;for(;r>50400;)r-=97200;this.fromSeconds(r),0==r&&(this.factor=n)},toICALString:function(){return n.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+n.helpers.pad2(this.hours)+":"+n.helpers.pad2(this.minutes)}},r.fromString=function(r){var e={};return e.factor="+"===r[0]?1:-1,e.hours=n.helpers.strictParseInt(r.substr(1,2)),e.minutes=n.helpers.strictParseInt(r.substr(4,2)),new n.UtcOffset(e)},r.fromSeconds=function(n){var e=new r;return e.fromSeconds(n),e},r}(),n.Binary=function(){function r(r){this.value=r}return r.prototype={icaltype:"binary",decodeValue:function(){return this._b64_decode(this.value)},setEncodedValue:function(r){this.value=this._b64_encode(r)},_b64_encode:function(r){var n,e,t,T,i,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,s=0,E="",A=[];if(!r)return r;do n=(i=r.charCodeAt(o++)<<16|r.charCodeAt(o++)<<8|r.charCodeAt(o++))>>18&63,e=i>>12&63,t=i>>6&63,T=63&i,A[s++]=a.charAt(n)+a.charAt(e)+a.charAt(t)+a.charAt(T);while(o>16&255,e=o>>8&255,t=255&o,64==i?u[A++]=String.fromCharCode(n):64==a?u[A++]=String.fromCharCode(n,e):u[A++]=String.fromCharCode(n,e,t);while(Ee)-(n=0?T=t:i=-1,-1==i&&-1!=T)break;if((t+=i)<0)return 0;if(t>=this.changes.length)break}var o=this.changes[T];if(o.utcOffset-o.prevUtcOffset<0&&T>0){var s=n.helpers.clone(o,!0);if(n.Timezone.adjust_change(s,0,0,0,s.prevUtcOffset),0>n.Timezone._compare_change_fn(e,s)){var E=this.changes[T-1];!1!=o.is_daylight&&!1==E.is_daylight&&(o=E)}}return o.utcOffset},_findNearbyChange:function(r){var e=n.helpers.binsearchInsert(this.changes,r,n.Timezone._compare_change_fn);return e>=this.changes.length?this.changes.length-1:e},_ensureCoverage:function(r){if(-1==n.Timezone._minimumExpansionYear){var e=n.Time.now();n.Timezone._minimumExpansionYear=e.year}var t=r;if(tn.Timezone.MAX_YEAR&&(t=n.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYeare)&&c);)u.year=c.year,u.month=c.month,u.day=c.day,u.hour=c.hour,u.minute=c.minute,u.second=c.second,u.isDate=c.isDate,n.Timezone.adjust_change(u,0,0,0,-u.prevUtcOffset),t.push(u)}}else(u=a()).year=T.year,u.month=T.month,u.day=T.day,u.hour=T.hour,u.minute=T.minute,u.second=T.second,n.Timezone.adjust_change(u,0,0,0,-u.prevUtcOffset),t.push(u);return t},toString:function(){return this.tznames?this.tznames:this.tzid}},n.Timezone._compare_change_fn=function(r,n){return r.yearn.year?1:r.monthn.month?1:r.dayn.day?1:r.hourn.hour?1:r.minuten.minute?1:r.secondn.second?1:0},n.Timezone.convert_time=function(r,e,t){if(r.isDate||e.tzid==t.tzid||e==n.Timezone.localTimezone||t==n.Timezone.localTimezone)return r.zone=t,r;var T=e.utcOffset(r);return r.adjust(0,0,0,-T),T=t.utcOffset(r),r.adjust(0,0,0,T),null},n.Timezone.fromData=function(r){return new n.Timezone().fromData(r)},n.Timezone.utcTimezone=n.Timezone.fromData({tzid:"UTC"}),n.Timezone.localTimezone=n.Timezone.fromData({tzid:"floating"}),n.Timezone.adjust_change=function(r,e,t,T,i){return n.Time.prototype.adjust.call(r,e,t,T,i,r)},n.Timezone._minimumExpansionYear=-1,n.Timezone.MAX_YEAR=2035,n.Timezone.EXTRA_COVERAGE=5}(),n.TimezoneService=function(){var r,e={get count(){return Object.keys(r).length},reset:function(){r=Object.create(null);var e=n.Timezone.utcTimezone;r.Z=e,r.UTC=e,r.GMT=e},has:function(n){return!!r[n]},get:function(n){return r[n]},register:function(e,t){if(e instanceof n.Component&&"vtimezone"===e.name&&(e=(t=new n.Timezone(e)).tzid),t instanceof n.Timezone)r[e]=t;else throw TypeError("timezone must be ICAL.Timezone or ICAL.Component")},remove:function(n){return delete r[n]}};return e.reset(),e}(),n.Time=function(r,n){this.wrappedJSObject=this;var e=this._time=Object.create(null);e.year=0,e.month=1,e.day=1,e.hour=0,e.minute=0,e.second=0,e.isDate=!1,this.fromData(r,n)},n.Time._dowCache={},n.Time._wnCache={},n.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new n.Time(this._time,this.zone)},reset:function(){this.fromData(n.Time.epochTime),this.zone=n.Timezone.utcTimezone},resetTo:function(r,n,e,t,T,i,a){this.fromData({year:r,month:n,day:e,hour:t,minute:T,second:i,zone:a})},fromJSDate:function(r,e){return r?e?(this.zone=n.Timezone.utcTimezone,this.year=r.getUTCFullYear(),this.month=r.getUTCMonth()+1,this.day=r.getUTCDate(),this.hour=r.getUTCHours(),this.minute=r.getUTCMinutes(),this.second=r.getUTCSeconds()):(this.zone=n.Timezone.localTimezone,this.year=r.getFullYear(),this.month=r.getMonth()+1,this.day=r.getDate(),this.hour=r.getHours(),this.minute=r.getMinutes(),this.second=r.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(r,e){if(r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){if("icaltype"===t)continue;this[t]=r[t]}}if(e&&(this.zone=e),!r||"isDate"in r?r&&"isDate"in r&&(this.isDate=r.isDate):this.isDate=!("hour"in r),r&&"timezone"in r){var T=n.TimezoneService.get(r.timezone);this.zone=T||n.Timezone.localTimezone}return r&&"zone"in r&&(this.zone=r.zone),this.zone||(this.zone=n.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(r){var e=r||n.Time.SUNDAY,t=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(t in n.Time._dowCache)return n.Time._dowCache[t];var T=this.day,i=this.month+(this.month<3?12:0),a=this.year-(this.month<3?1:0),o=T+a+n.helpers.trunc((i+1)*26/10)+n.helpers.trunc(a/4);return o+=6*n.helpers.trunc(a/100)+n.helpers.trunc(a/400),o=(o+7-e)%7+1,n.Time._dowCache[t]=o,o},dayOfYear:function(){var r=n.Time.isLeapYear(this.year)?1:0;return n.Time.daysInYearPassedMonth[r][this.month-1]+this.day},startOfWeek:function(r){var e=r||n.Time.SUNDAY,t=this.clone();return t.day-=(this.dayOfWeek()+7-e)%7,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfWeek:function(r){var e=r||n.Time.SUNDAY,t=this.clone();return t.day+=(7-this.dayOfWeek()+e-n.Time.SUNDAY)%7,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startOfMonth:function(){var r=this.clone();return r.day=1,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},endOfMonth:function(){var r=this.clone();return r.day=n.Time.daysInMonth(r.month,r.year),r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},startOfYear:function(){var r=this.clone();return r.day=1,r.month=1,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},endOfYear:function(){var r=this.clone();return r.day=31,r.month=12,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},startDoyWeek:function(r){var e=r||n.Time.SUNDAY,t=this.dayOfWeek()-e;return t<0&&(t+=7),this.dayOfYear()-t},getDominicalLetter:function(){return n.Time.getDominicalLetter(this.year)},nthWeekDay:function(r,e){var t,T=n.Time.daysInMonth(this.month,this.year),i=e,a=0,o=this.clone();if(i>=0){o.day=1,0!=i&&i--,a=o.day;var s=r-o.dayOfWeek();s<0&&(s+=7),a+=s,a-=r,t=r}else{o.day=T;var E=o.dayOfWeek();i++,(t=E-r)<0&&(t+=7),t=T-t}return a+(t+=7*i)},isNthWeekDay:function(r,n){var e=this.dayOfWeek();return 0===n&&e===r||this.nthWeekDay(r,n)===this.day},weekNumber:function(r){var e,t=(this.year<<12)+(this.month<<8)+(this.day<<3)+r;if(t in n.Time._wnCache)return n.Time._wnCache[t];var T=this.clone();T.isDate=!0;var i=this.year;12==T.month&&T.day>25?(e=n.Time.weekOneStarts(i+1,r),0>T.compare(e)?e=n.Time.weekOneStarts(i,r):i++):(e=n.Time.weekOneStarts(i,r),0>T.compare(e)&&(e=n.Time.weekOneStarts(--i,r)));var a=T.subtractDate(e).toSeconds()/86400,o=n.helpers.trunc(a/7)+1;return n.Time._wnCache[t]=o,o},addDuration:function(r){var n=r.isNegative?-1:1,e=this.second,t=this.minute,T=this.hour,i=this.day;e+=n*r.seconds,t+=n*r.minutes,T+=n*r.hours,i+=n*r.days+7*n*r.weeks,this.second=e,this.minute=t,this.hour=T,this.day=i,this._cachedUnixTime=null},subtractDate:function(r){var e=this.toUnixTime()+this.utcOffset(),t=r.toUnixTime()+r.utcOffset();return n.Duration.fromSeconds(e-t)},subtractDateTz:function(r){var e=this.toUnixTime(),t=r.toUnixTime();return n.Duration.fromSeconds(e-t)},compare:function(r){var n=this.toUnixTime(),e=r.toUnixTime();return n>e?1:e>n?-1:0},compareDateOnlyTz:function(r,e){function t(r){return n.Time._cmp_attr(T,i,r)}var T=this.convertToZone(e),i=r.convertToZone(e),a=0;return 0!=(a=t("year"))||0!=(a=t("month"))?a:a=t("day")},convertToZone:function(r){var e=this.clone(),t=this.zone.tzid==r.tzid;return this.isDate||t||n.Timezone.convert_time(e,this.zone,r),e.zone=r,e},utcOffset:function(){return this.zone==n.Timezone.localTimezone||this.zone==n.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var r=this.toString();return r.length>10?n.design.icalendar.value["date-time"].toICAL(r):n.design.icalendar.value.date.toICAL(r)},toString:function(){var r=this.year+"-"+n.helpers.pad2(this.month)+"-"+n.helpers.pad2(this.day);return this.isDate||(r+="T"+n.helpers.pad2(this.hour)+":"+n.helpers.pad2(this.minute)+":"+n.helpers.pad2(this.second),this.zone!==n.Timezone.utcTimezone||(r+="Z")),r},toJSDate:function(){return this.zone!=n.Timezone.localTimezone?new Date(1e3*this.toUnixTime()):this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0)},_normalize:function(){return this._time.isDate,this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this},adjust:function(r,e,t,T,i){var a,o,s,E,A,u,c,D=0,l=0,S=i||this._time;if(!S.isDate&&(a=S.second+T,S.second=a%60,u=n.helpers.trunc(a/60),S.second<0&&(S.second+=60,u--),o=S.minute+t+u,S.minute=o%60,c=n.helpers.trunc(o/60),S.minute<0&&(S.minute+=60,c--),s=S.hour+e+c,S.hour=s%24,D=n.helpers.trunc(s/24),S.hour<0&&(S.hour+=24,D--)),S.month>12?l=n.helpers.trunc((S.month-1)/12):S.month<1&&(l=n.helpers.trunc(S.month/12)-1),S.year+=l,S.month-=12*l,(E=S.day+r+D)>0)for(;!(E<=(A=n.Time.daysInMonth(S.month,S.year)));)S.month++,S.month>12&&(S.year++,S.month=1),E-=A;else for(;E<=0;)1==S.month?(S.year--,S.month=12):S.month--,E+=n.Time.daysInMonth(S.month,S.year);return S.day=E,this._cachedUnixTime=null,this},fromUnixTime:function(r){this.zone=n.Timezone.utcTimezone;var e=n.Time.epochTime.clone();e.adjust(0,0,0,r),this.year=e.year,this.month=e.month,this.day=e.day,this.hour=e.hour,this.minute=e.minute,this.second=Math.floor(e.second),this._cachedUnixTime=null},toUnixTime:function(){if(null!==this._cachedUnixTime)return this._cachedUnixTime;var r=this.utcOffset(),n=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-r);return this._cachedUnixTime=n/1e3,this._cachedUnixTime},toJSON:function(){for(var r,n=["year","month","day","hour","minute","second","isDate"],e=Object.create(null),t=0,T=n.length;t12||(t=[0,31,28,31,30,31,30,31,31,30,31,30,31][r],2==r&&(t+=n.Time.isLeapYear(e))),t},n.Time.isLeapYear=function(r){return r<=1752?r%4==0:r%4==0&&r%100!=0||r%400==0},n.Time.fromDayOfYear=function(r,e){var t=e,T=r,i=new n.Time;i.auto_normalize=!1;var a=n.Time.isLeapYear(t)?1:0;if(T<1)return t--,a=n.Time.isLeapYear(t)?1:0,T+=n.Time.daysInYearPassedMonth[a][12],n.Time.fromDayOfYear(T,t);if(T>n.Time.daysInYearPassedMonth[a][12])return a=n.Time.isLeapYear(t)?1:0,T-=n.Time.daysInYearPassedMonth[a][12],t++,n.Time.fromDayOfYear(T,t);i.year=t,i.isDate=!0;for(var o=11;o>=0;o--)if(T>n.Time.daysInYearPassedMonth[a][o]){i.month=o+1,i.day=T-n.Time.daysInYearPassedMonth[a][o];break}return i.auto_normalize=!0,i},n.Time.fromStringv2=function(r){return new n.Time({year:parseInt(r.substr(0,4),10),month:parseInt(r.substr(5,2),10),day:parseInt(r.substr(8,2),10),isDate:!0})},n.Time.fromDateString=function(r){return new n.Time({year:n.helpers.strictParseInt(r.substr(0,4)),month:n.helpers.strictParseInt(r.substr(5,2)),day:n.helpers.strictParseInt(r.substr(8,2)),isDate:!0})},n.Time.fromDateTimeString=function(r,e){var t;if(r.length<19)throw Error('invalid date-time value: "'+r+'"');return r[19]&&"Z"===r[19]?t="Z":e&&(t=e.getParameter("tzid")),new n.Time({year:n.helpers.strictParseInt(r.substr(0,4)),month:n.helpers.strictParseInt(r.substr(5,2)),day:n.helpers.strictParseInt(r.substr(8,2)),hour:n.helpers.strictParseInt(r.substr(11,2)),minute:n.helpers.strictParseInt(r.substr(14,2)),second:n.helpers.strictParseInt(r.substr(17,2)),timezone:t})},n.Time.fromString=function(r,e){return r.length>10?n.Time.fromDateTimeString(r,e):n.Time.fromDateString(r)},n.Time.fromJSDate=function(r,e){return new n.Time().fromJSDate(r,e)},n.Time.fromData=function(r,e){return new n.Time().fromData(r,e)},n.Time.now=function(){return n.Time.fromJSDate(new Date,!1)},n.Time.weekOneStarts=function(r,e){var t=n.Time.fromData({year:r,month:1,day:1,isDate:!0}),T=t.dayOfWeek(),i=e||n.Time.DEFAULT_WEEK_START;return T>n.Time.THURSDAY&&(t.day+=7),i>n.Time.THURSDAY&&(t.day-=7),t.day-=T-i,t},n.Time.getDominicalLetter=function(r){var e="GFEDCBA",t=(r+(r/4|0)+(r/400|0)-(r/100|0)-1)%7;return n.Time.isLeapYear(r)?e[(t+6)%7]+e[t]:e[t]},n.Time.epochTime=n.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),n.Time._cmp_attr=function(r,n,e){return r[e]>n[e]?1:r[e]4?t(E,D?1:3,2):null,second:4==u?t(E,2,2):6==u?t(E,4,2):8==u?t(E,6,2):null};return s="Z"==s?n.Timezone.utcTimezone:s&&":"==s[3]?n.UtcOffset.fromString(s):null,new n.VCardTime(l,s,e)},function(){var r={SU:n.Time.SUNDAY,MO:n.Time.MONDAY,TU:n.Time.TUESDAY,WE:n.Time.WEDNESDAY,TH:n.Time.THURSDAY,FR:n.Time.FRIDAY,SA:n.Time.SATURDAY},e={};for(var t in r)r.hasOwnProperty(t)&&(e[r[t]]=t);function T(r,e,t,T){var i=T;if("+"===T[0]&&(i=T.substr(1)),i=n.helpers.strictParseInt(i),void 0!==e&&T '+e);if(void 0!==t&&T>t)throw Error(r+': invalid value "'+T+'" must be < '+e);return i}n.Recur=function(r){this.wrappedJSObject=this,this.parts={},r&&"object"==typeof r&&this.fromData(r)},n.Recur.prototype={parts:null,interval:1,wkst:n.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(r){return new n.RecurIterator({rule:this,dtstart:r})},clone:function(){return new n.Recur(this.toJSON())},isFinite:function(){return!!(this.count||this.until)},isByCount:function(){return!!(this.count&&!this.until)},addComponent:function(r,n){var e=r.toUpperCase();e in this.parts?this.parts[e].push(n):this.parts[e]=[n]},setComponent:function(r,n){this.parts[r.toUpperCase()]=n.slice()},getComponent:function(r){var n=r.toUpperCase();return n in this.parts?this.parts[n].slice():[]},getNextOccurrence:function(r,n){var e,t=this.iterator(r);do e=t.next();while(e&&0>=e.compare(n));return e&&n.zone&&(e.zone=n.zone),e},fromData:function(r){for(var e in r){var t=e.toUpperCase();t in E?Array.isArray(r[e])?this.parts[t]=r[e]:this.parts[t]=[r[e]]:this[e]=r[e]}this.interval&&"number"!=typeof this.interval&&s.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=n.Recur.icalDayToNumericDay(this.wkst)),!this.until||this.until instanceof n.Time||(this.until=n.Time.fromString(this.until))},toJSON:function(){var r=Object.create(null);for(var e in r.freq=this.freq,this.count&&(r.count=this.count),this.interval>1&&(r.interval=this.interval),this.parts)if(this.parts.hasOwnProperty(e)){var t=this.parts[e];Array.isArray(t)&&1==t.length?r[e.toLowerCase()]=t[0]:r[e.toLowerCase()]=n.helpers.clone(this.parts[e])}return this.until&&(r.until=this.until.toString()),"wkst"in this&&this.wkst!==n.Time.DEFAULT_WEEK_START&&(r.wkst=n.Recur.numericDayToIcalDay(this.wkst)),r},toString:function(){var r="FREQ="+this.freq;for(var e in this.count&&(r+=";COUNT="+this.count),this.interval>1&&(r+=";INTERVAL="+this.interval),this.parts)this.parts.hasOwnProperty(e)&&(r+=";"+e+"="+this.parts[e]);return this.until&&(r+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==n.Time.DEFAULT_WEEK_START&&(r+=";WKST="+n.Recur.numericDayToIcalDay(this.wkst)),r}},n.Recur.icalDayToNumericDay=function(e,t){var T=t||n.Time.SUNDAY;return(r[e]-T+7)%7+1},n.Recur.numericDayToIcalDay=function(r,t){var T=r+(t||n.Time.SUNDAY)-n.Time.SUNDAY;return T>7&&(T-=7),e[T]};var i=/^(SU|MO|TU|WE|TH|FR|SA)$/,a=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,o=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],s={FREQ:function(r,n,e){if(-1!==o.indexOf(r))n.freq=r;else throw Error('invalid frequency "'+r+'" expected: "'+o.join(", ")+'"')},COUNT:function(r,e,t){e.count=n.helpers.strictParseInt(r)},INTERVAL:function(r,e,t){e.interval=n.helpers.strictParseInt(r),e.interval<1&&(e.interval=1)},UNTIL:function(r,e,t){r.length>10?e.until=n.design.icalendar.value["date-time"].fromICAL(r):e.until=n.design.icalendar.value.date.fromICAL(r),t||(e.until=n.Time.fromString(e.until))},WKST:function(r,e,t){if(i.test(r))e.wkst=n.Recur.icalDayToNumericDay(r);else throw Error('invalid WKST value "'+r+'"')}},E={BYSECOND:T.bind(this,"BYSECOND",0,60),BYMINUTE:T.bind(this,"BYMINUTE",0,59),BYHOUR:T.bind(this,"BYHOUR",0,23),BYDAY:function(r){if(a.test(r))return r;throw Error('invalid BYDAY value "'+r+'"')},BYMONTHDAY:T.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:T.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:T.bind(this,"BYWEEKNO",-53,53),BYMONTH:T.bind(this,"BYMONTH",1,12),BYSETPOS:T.bind(this,"BYSETPOS",-366,366)};n.Recur.fromString=function(r){var e=n.Recur._stringToData(r,!1);return new n.Recur(e)},n.Recur.fromData=function(r){return new n.Recur(r)},n.Recur._stringToData=function(r,n){for(var e=Object.create(null),t=r.split(";"),T=t.length,i=0;i=0||i<0)&&(this.last.day+=i)}else{var a=n.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());r.BYDAY=[a]}}if("YEARLY"==this.rule.freq){for(;this.expand_year_days(this.last.year),!(this.days.length>0);)this.increment_year(this.rule.interval);this._nextByYearDay()}if("MONTHLY"==this.rule.freq&&this.has_by_data("BYDAY")){var o=null,s=this.last.clone(),E=n.Time.daysInMonth(this.last.month,this.last.year);for(var A in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(A)){this.last=s.clone();var e=this.ruleDayOfWeek(this.by_data.BYDAY[A]),t=e[0],T=e[1],u=this.last.nthWeekDay(T,t);if(t>=6||t<=-6)throw Error("Malformed values in BYDAY part");if(u>E||u<=0){if(o&&o.month==s.month)continue;for(;u>E||u<=0;)this.increment_month(),E=n.Time.daysInMonth(this.last.month,this.last.year),u=this.last.nthWeekDay(T,t)}this.last.day=u,(!o||0>this.last.compare(o))&&(o=this.last.clone())}if(this.last=o.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>E||0==this.last.day)throw Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")&&this.last.day<0){var E=n.Time.daysInMonth(this.last.month,this.last.year);this.last.day=E+this.last.day+1}},next:function(){var r,n=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)return this.completed=!0,null;if(0==this.occurrence_number&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;do switch(r=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":r=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}while(!this.check_contracting_rules()||0>this.last.compare(this.dtstart)||!r);if(0==this.last.compare(n))throw Error("Same occurrence found twice, protecting you from death by recursion");return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)},next_second:function(){return this.next_generic("BYSECOND","SECONDLY","second","minute")},increment_second:function(r){return this.increment_generic(r,"second",60,"minute")},next_minute:function(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")},increment_minute:function(r){return this.increment_generic(r,"minute",60,"hour")},next_hour:function(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")},increment_hour:function(r){this.increment_generic(r,"hour",24,"monthday")},next_day:function(){this.by_data;var r="DAILY"==this.rule.freq;return 0==this.next_hour()||(r?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0},next_week:function(){var r=0;if(0==this.next_weekday_by_week())return r;if(this.has_by_data("BYWEEKNO")){++this.by_indices.BYWEEKNO,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,r=1),this.last.month=1,this.last.day=1;var n=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*n,r&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return r},normalizeByMonthDayRules:function(r,e,t){for(var T,i=n.Time.daysInMonth(e,r),a=[],o=0,s=t.length;oi)){if(T<0)T=i+(T+1);else if(0===T)continue;-1===a.indexOf(T)&&a.push(T)}return a.sort(function(r,n){return r-n})},_byDayAndMonthDay:function(r){var e,t,T,i,a=this.by_data.BYDAY,o=0,s=a.length,E=0,A=this,u=this.last.day;function c(){for(i=n.Time.daysInMonth(A.last.month,A.last.year),T=(e=A.normalizeByMonthDayRules(A.last.year,A.last.month,A.by_data.BYMONTHDAY)).length;e[o]<=u&&!(r&&e[o]==u)&&oi){D();continue}var S=e[o++];if(S>=t)u=S;else{D();continue}for(var R=0;Re&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(r=1):r=0)}else if(this.has_by_data("BYMONTHDAY")){this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month());var e=n.Time.daysInMonth(this.last.month,this.last.year),a=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];a<0&&(a=e+a+1),a>e?(this.last.day=1,r=this.is_day_in_byday(this.last)):this.last.day=a}else{this.increment_month();var e=n.Time.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>e?r=0:this.last.day=this.by_data.BYMONTHDAY[0]}return r},next_weekday_by_week:function(){var r=0;if(0==this.next_hour())return r;if(!this.has_by_data("BYDAY"))return 1;for(;;){var e=new n.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,r=1);var t=this.by_data.BYDAY[this.by_indices.BYDAY],T=this.ruleDayOfWeek(t)[1];(T-=this.rule.wkst)<0&&(T+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;var i=e.startDoyWeek(this.rule.wkst);if(!(T+i<1)||r){var a=n.Time.fromDayOfYear(i+T,this.last.year);return this.last.year=a.year,this.last.month=a.month,this.last.day=a.day,r}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length){this.days_index=0;do this.increment_year(this.rule.interval),this.expand_year_days(this.last.year);while(0==this.days.length)}return this._nextByYearDay(),1},_nextByYearDay:function(){var r=this.days[this.days_index],e=this.last.year;r<1&&(r+=1,e+=1);var t=n.Time.fromDayOfYear(r,e);this.last.day=t.day,this.last.month=t.month},ruleDayOfWeek:function(r,e){var t=r.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return t?[parseInt(t[1]||0,10),r=n.Recur.icalDayToNumericDay(t[2],e)]:[0,0]},next_generic:function(r,n,e,t,T){var i=r in this.by_data,a=this.rule.freq==n,o=0;if(T&&0==this[T]())return o;if(i){this.by_indices[r]++,this.by_indices[r];var s=this.by_data[r];this.by_indices[r]==s.length&&(this.by_indices[r]=0,o=1),this.last[e]=s[this.by_indices[r]]}else a&&this["increment_"+e](this.rule.interval);return i&&o&&a&&this["increment_"+t](1),o},increment_monthday:function(r){for(var e=0;et&&(this.last.day-=t,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var r=n.helpers.trunc(this.last.month/12);this.last.month%=12,this.last.month++,0!=r&&this.increment_year(r)}},increment_year:function(r){this.last.year+=r},increment_generic:function(r,e,t,T){this.last[e]+=r;var i=n.helpers.trunc(this.last[e]/t);this.last[e]%=t,0!=i&&this["increment_"+T](i)},has_by_data:function(r){return r in this.rule.parts},expand_year_days:function(r){var e=new n.Time;this.days=[];var t={},T=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var i in T)if(T.hasOwnProperty(i)){var a=T[i];a in this.rule.parts&&(t[a]=this.rule.parts[a])}if("BYMONTH"in t&&"BYWEEKNO"in t){var o=1,s={};e.year=r,e.isDate=!0;for(var E=0;E0?(v=H+(G-1)*7)<=f&&this.days.push(M+v):(v=U+(G+1)*7)>0&&this.days.push(M+v)}}this.days.sort(function(r,n){return r-n})}else if(2==S&&"BYDAY"in t&&"BYMONTHDAY"in t){var k=this.expand_by_day(r);for(var w in k)if(k.hasOwnProperty(w)){var B=k[w],C=n.Time.fromDayOfYear(B,r);this.by_data.BYMONTHDAY.indexOf(C.day)>=0&&this.days.push(B)}}else if(3==S&&"BYDAY"in t&&"BYMONTHDAY"in t&&"BYMONTH"in t){var k=this.expand_by_day(r);for(var w in k)if(k.hasOwnProperty(w)){var B=k[w],C=n.Time.fromDayOfYear(B,r);this.by_data.BYMONTH.indexOf(C.month)>=0&&this.by_data.BYMONTHDAY.indexOf(C.day)>=0&&this.days.push(B)}}else if(2==S&&"BYDAY"in t&&"BYWEEKNO"in t){var k=this.expand_by_day(r);for(var w in k)if(k.hasOwnProperty(w)){var B=k[w],C=n.Time.fromDayOfYear(B,r),l=C.weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(l)&&this.days.push(B)}}else 3==S&&"BYDAY"in t&&"BYWEEKNO"in t&&"BYMONTHDAY"in t||(1==S&&"BYYEARDAY"in t?this.days=this.days.concat(this.by_data.BYYEARDAY):this.days=[]);return 0},expand_by_day:function(r){var n=[],e=this.last.clone();e.year=r,e.month=1,e.day=1,e.isDate=!0;var t=e.dayOfWeek();e.month=12,e.day=31,e.isDate=!0;var T=e.dayOfWeek(),i=e.dayOfYear();for(var a in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(a)){var o,s,E=this.by_data.BYDAY[a],A=this.ruleDayOfWeek(E),u=A[0],c=A[1];if(0==u)for(var D=(c+7-t)%7+1,l=D;l<=i;l+=7)n.push(l);else u>0?(o=c>=t?c-t+1:c-t+8,n.push(o+(u-1)*7)):(u=-u,s=c<=T?i-T+c:i-T+c-7,n.push(s-(u-1)*7))}return n},is_day_in_byday:function(r){for(var n in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(n)){var e=this.by_data.BYDAY[n],t=this.ruleDayOfWeek(e),T=t[0],i=t[1],a=r.dayOfWeek();if(0==T&&i==a||r.nthWeekDay(i,T)==r.day)return 1}return 0},check_set_position:function(r){return!!this.has_by_data("BYSETPOS")&&-1!==this.by_data.BYSETPOS.indexOf(r)},sort_byday_rules:function(r){for(var n=0;nthis.ruleDayOfWeek(r[n],this.rule.wkst)[1]){var t=r[n];r[n]=r[e],r[e]=t}},check_contract_restriction:function(n,e){var t=r._indexMap[n],T=r._expandMap[this.rule.freq][t],i=!1;if(n in this.by_data&&T==r.CONTRACT){var a=this.by_data[n];for(var o in a)if(a.hasOwnProperty(o)&&a[o]==e){i=!0;break}}else i=!0;return i},check_contracting_rules:function(){var r=this.last.dayOfWeek(),e=this.last.weekNumber(this.rule.wkst),t=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",n.Recur.numericDayToIcalDay(r))&&this.check_contract_restriction("BYWEEKNO",e)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",t)},setup_defaults:function(n,e,t){var T=r._indexMap[n];return r._expandMap[this.rule.freq][T]!=r.CONTRACT&&(n in this.by_data||(this.by_data[n]=[t]),this.rule.freq!=e)?this.by_data[n][0]:t},toJSON:function(){var r=Object.create(null);return r.initialized=this.initialized,r.rule=this.rule.toJSON(),r.dtstart=this.dtstart.toJSON(),r.by_data=this.by_data,r.days=this.days,r.last=this.last.toJSON(),r.by_indices=this.by_indices,r.occurrence_number=this.occurrence_number,r}},r._indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8},r._expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]},r.UNKNOWN=0,r.CONTRACT=1,r.EXPAND=2,r.ILLEGAL=3,r}(),n.RecurExpansion=function(){function r(r){return n.helpers.formatClassType(r,n.Time)}function e(r,n){return r.compare(n)}function t(r){this.ruleDates=[],this.exDates=[],this.fromData(r)}return t.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(e){var t=n.helpers.formatClassType(e.dtstart,n.Time);if(t)this.dtstart=t;else throw Error(".dtstart (ICAL.Time) must be given");if(e.component)this._init(e.component);else{if(this.last=r(e.last)||t.clone(),!e.ruleIterators)throw Error(".ruleIterators or .component must be given");this.ruleIterators=e.ruleIterators.map(function(r){return n.helpers.formatClassType(r,n.RecurIterator)}),this.ruleDateInc=e.ruleDateInc,this.exDateInc=e.exDateInc,e.ruleDates&&(this.ruleDates=e.ruleDates.map(r),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.exDates&&(this.exDates=e.exDates.map(r),this.exDate=this.exDates[this.exDateInc]),void 0!==e.complete&&(this.complete=e.complete)}},next:function(){for(var r,n,e,t=0;;){if(t++>500)throw Error("max tries have occured, rule may be impossible to forfill.");if(n=this.ruleDate,r=this._nextRecurrenceIter(this.last),!n&&!r){this.complete=!0;break}if((!n||r&&n.compare(r.last)>0)&&(n=r.last.clone(),r.next()),this.ruleDate===n&&this._nextRuleDay(),this.last=n,this.exDate&&((e=this.exDate.compare(this.last))<0&&this._nextExDay(),0===e)){this._nextExDay();continue}return this.last}},toJSON:function(){function r(r){return r.toJSON()}var n=Object.create(null);return n.ruleIterators=this.ruleIterators.map(r),this.ruleDates&&(n.ruleDates=this.ruleDates.map(r)),this.exDates&&(n.exDates=this.exDates.map(r)),n.ruleDateInc=this.ruleDateInc,n.exDateInc=this.exDateInc,n.last=this.last.toJSON(),n.dtstart=this.dtstart.toJSON(),n.complete=this.complete,n},_extractDates:function(r,t){function T(r){i=n.helpers.binsearchInsert(a,r,e),a.splice(i,0,r)}for(var i,a=[],o=r.getAllProperties(t),s=o.length,E=0;Ethis.ruleDates[0].compare(this.dtstart)?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=n.helpers.binsearchInsert(this.ruleDates,this.last,e),this.ruleDate=this.ruleDates[this.ruleDateInc]),r.hasProperty("rrule"))for(var t,T=r.getAllProperties("rrule"),i=0,a=T.length;i0)&&(e=r)}return e}},t}(),n.Event=function(){function r(r,e){r instanceof n.Component||(e=r,r=null),r?this.component=r:this.component=new n.Component("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],e&&e.strictExceptions&&(this.strictExceptions=e.strictExceptions),e&&e.exceptions?e.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach(function(r){r.hasProperty("recurrence-id")&&this.relateException(r)},this)}function e(r,n){return r[0]>n[0]?1:n[0]>r[0]?-1:0}return r.prototype={THISANDFUTURE:"THISANDFUTURE",exceptions:null,strictExceptions:!1,relateException:function(r){if(this.isRecurrenceException())throw Error("cannot relate exception to exceptions");if(r instanceof n.Component&&(r=new n.Event(r)),this.strictExceptions&&r.uid!==this.uid)throw Error("attempted to relate unrelated exception");var t=r.recurrenceId.toString();if(this.exceptions[t]=r,r.modifiesFuture()){var T=[r.recurrenceId.toUnixTime(),t],i=n.helpers.binsearchInsert(this.rangeExceptions,T,e);this.rangeExceptions.splice(i,0,T)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(r){if(!this.rangeExceptions.length)return null;var t=r.toUnixTime(),T=n.helpers.binsearchInsert(this.rangeExceptions,[t],e);if((T-=1)<0)return null;var i=this.rangeExceptions[T];return t{var t=e(75104);r.exports=function(){return function(r){return t(r,"list",function(r,n){var e,t,T=0;for(e=0,t=n.length;e{"use strict";r.exports=function(r,n,e){var t=[];"function"==typeof n&&(e=n,n=null),function r(T){var i;return(n&&T.type!==n||(i=e(T,t.concat())),T.children&&!1!==i)?function(n,e){var T,i=n.length,a=-1;for(t.push(e);++a{"use strict";e.r(n),e.d(n,{AddToCalendar:()=>U,Button:()=>k,ButtonList:()=>g,Card:()=>m,CardBody:()=>Z,CardHeader:()=>M,Carousel:()=>w,CarouselItem:()=>C,Col:()=>_,Error:()=>P,Icon:()=>Y,Image:()=>z,Input:()=>Q,Loading:()=>j,MD:()=>$,MML:()=>rR,MMLTag:()=>f,Number:()=>X,Parse:()=>rS,Row:()=>rr,Scheduler:()=>rs,SourceToXML:()=>rD,Success:()=>rE,Text:()=>rA,Tree:()=>rc,XMLtoMMLTree:()=>rl,converters:()=>ru,truncate:()=>V});var t=e(17577),T=e.n(t),i=e(21970),a=e.n(i),o=e(88295),s=e.n(o),E=e(56230),A=e(71108),u=e.n(A),c=e(17613),D=e(16186),l=e.n(D),S=e(82311),R=e(67824),F=e.n(R);function N(r,n,e,t,T,i,a){try{var o=r[i](a),s=o.value}catch(r){e(r);return}o.done?n(s):Promise.resolve(s).then(t,T)}function O(r){return function(){var n=this,e=arguments;return new Promise(function(t,T){var i=r.apply(n,e);function a(r){N(i,t,T,a,o,"next",r)}function o(r){N(i,t,T,a,o,"throw",r)}a(void 0)})}}function h(){return(h=Object.assign||function(r){for(var n=1;n=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return T("end");if(a.tryLoc<=this.prev){var s=t.call(a,"catchLoc"),E=t.call(a,"finallyLoc");if(s&&E){if(this.prev=0;--e){var T=this.tryEntries[e];if(T.tryLoc<=this.prev&&t.call(T,"finallyLoc")&&this.prev=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===r)return this.complete(e.completion,e.afterLoc),M(e),l}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===r){var t=e.completion;if("throw"===t.type){var T=t.arg;M(e)}return T}}throw Error("illegal catch attempt")},delegateYield:function(r,e,t){return this.delegate={iterator:g(r),resultName:e,nextLoc:t},"next"===this.method&&(this.arg=n),l}},r}(r.exports);try{regeneratorRuntime=n}catch(r){Function("r","regeneratorRuntime = r")(n)}}),f=function(){function r(r,n,e){this.name=r,this.node=n,this.attributes=this.node.attributes||{},this.children=e}var n=r.prototype;return n.getText=function(){return"text"===this.node.type?this.node.text:this.node.children&&this.node.children.length?this.node.children[0].text:""},n.initialState=function(){var r,n=this.attributes,e=n.name,t=n.value;return e?((r={})[e]=t,r):{}},r}(),m=function(r){var n=r.className,e=r.children;return T().createElement("div",{className:"mml-card "+(void 0===n?"":n)},e)},Y=function(r){var n=r.name;return T().createElement("i",{className:"mml-icon material-icons"},n)},M=function(r){var n=r.text,e=r.icon,t=void 0===e?"":e,i=r.className;return T().createElement("div",{className:"mml-card-header "+(void 0===i?"":i)},t&&T().createElement(Y,{name:t}),T().createElement("span",{className:"mml-card-header__text"},n))},Z=function(r){var n=r.className,e=r.children;return T().createElement("div",{className:"mml-card-body "+(void 0===n?"":n)},e)},g=function(r){var n=r.children,e=r.variant;return T().createElement("div",{className:"mml-btnlist "+("floating"===(void 0===e?"":e)?" mml-btnlist--floating":"mml-btnlist--grounded")},n)},B=function(r){var n=r.path;return T().createElement("i",{className:"mml-icon"},T().createElement("svg",{className:"mml-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},T().createElement("path",{d:n})))},y=T().createElement(B,{path:"M21.35 11.1h-9.17v2.73h6.5c-.33 3.8-3.5 5.44-6.5 5.44C8.36 19.27 5 16.25 5 12c0-4.1 3.2-7.27 7.2-7.27 3.1 0 4.9 1.97 4.9 1.97L19 4.72S16.56 2 12.1 2C6.42 2 2.03 6.8 2.03 12c0 5.05 4.13 10 10.22 10 5.35 0 9.25-3.67 9.25-9.1 0-1.15-.15-1.8-.15-1.8h0z"}),I=T().createElement(B,{path:"M3 12V6.75l6-1.32v6.48L3 12m17-9v8.75l-10 .15V5.2L20 3M3 13l6 .1v6.8l-6-1.15V13m17 .25V22l-10-1.9v-7l10 .15z"}),v=T().createElement(B,{path:"M18.7 19.5c-.83 1.24-1.7 2.45-3.05 2.47-1.34.03-1.77-.8-3.3-.8-1.53 0-2 .77-3.27.82-1.3.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.4c.87-1.52 2.43-2.48 4.12-2.5 1.28-.02 2.5.87 3.3.87.78 0 2.26-1.07 3.8-.9.65.03 2.47.26 3.64 1.98-.1.06-2.17 1.28-2.15 3.8.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.2-.7.85-1.83 1.5-2.95 1.42-.15-1.15.4-2.35 1.05-3.1z"});function L(){var r="undefined"!=typeof navigator?navigator.userAgent:"";return!!r&&(!!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(r)||"undefined"!=typeof navigator&&navigator.maxTouchPoints>1&&-1!==r.indexOf("Macintosh")&&-1!==r.indexOf("Safari"))}var b="undefined"!=typeof window&&window.navigator.msSaveOrOpenBlob&&window.Blob,G=[{id:"google",label:"Google",Icon:y},{id:"apple",label:"Apple Calendar",Icon:v},{id:"outlook",label:"Outlook",Icon:I},{id:"outlookcom",label:"Outlook.com",Icon:I}];function x(r,n){return s()(r).format("outlookcom"===n?"YYYY-MM-DDTHH:mm:ss":"YYYYMMDDTHHmmss")+"Z"}function H(r){return void 0===r&&(r={}),Object.keys(r).reduce(function(n,e){var t=r[e];return t&&(n+="&"+e+"="+encodeURIComponent(t)),n},"")}var U=function(r){var n=r.title,e=r.start,t=r.end,i=r.className,a=r.location,o=r.description,s={start:e,end:t,title:n,location:void 0===a?"":a,description:void 0===o?"":o};function E(r){r.preventDefault();var n=r.currentTarget.getAttribute("href");if(!L()&&(n.startsWith("data")||n.startsWith("BEGIN"))){var e="download.ics",t=new Blob([n],{type:"text/calendar;charset=utf-8"});if(b)window.navigator.msSaveOrOpenBlob(t,e);else{var T=document.createElement("a");T.href=window.URL.createObjectURL(t),T.setAttribute("download",e),document.body.appendChild(T),T.click(),document.body.removeChild(T)}}else window.open(n,"_blank")}return T().createElement(m,{className:"mml-add-to-calendar "+(void 0===i?"":i)},T().createElement(M,{icon:"date_range",text:"Add to My Calendar"}),T().createElement(Z,null,T().createElement(g,null,G.map(function(r){var n=r.id,e=r.label,t=r.Icon;return T().createElement("a",{key:n,className:"mml-btn "+(t?"mml-btn--with-icon":""),onClick:E,href:function(r,n){var e=r.start,t=r.end,T=r.title,i=r.location,a=r.description,o=x(e,n),s=x(t,n);if("google"===n)return"https://calendar.google.com/calendar/render?action=TEMPLATE&dates="+o+"/"+s+H({location:i,text:T,details:a});if("outlookcom"===n)return"https://outlook.live.com/owa/?rru=addevent"+H({startdt:o,enddt:s,subject:T,location:i,body:a,allday:"false"})+"&path=/calendar/view/Month";var E=["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT","URL:"+("undefined"!=typeof window?window.location.href:""),"DTSTART:"+o,"DTEND:"+s,"SUMMARY:"+T,"DESCRIPTION:"+a,"LOCATION:"+i,"END:VEVENT","END:VCALENDAR"].join("\n");return!b&&L()&&(E=encodeURI("data:text/calendar;charset=utf8,"+E)),E}(s,n),target:"_blank",rel:"nofollow noreferrer noopener"},t," ",e)}))))},k=function(r){var n=r.className,e=void 0===n?"":n,t=r.text,i=r.name,a=r.value,o=r.url,s=void 0===o?"":o,A=r.variant,u=r.icon;return(u?e+=t?" mml-btn--with-icon":" mml-btn--icon":e+=" mml-btn--text",e+="floating"===A?" mml-btn--floating":" mml-btn--grounded",s)?T().createElement("a",{className:"mml-btn "+e,href:(0,E.Nm)(s),target:"_blank",rel:"nofollow noreferrer noopener"},u&&T().createElement(Y,{name:u}),t):T().createElement("button",{className:"mml-btn "+e,type:"submit",name:i,value:a,onClick:function(r){var n,e,t=document.createElement("input");t.type="hidden",t.name=i||"",t.value=a||"",null==(n=r.currentTarget)||null==(e=n.closest("form"))||e.appendChild(t)}},u&&T().createElement(Y,{name:u}),t)},w=function(r){var n=r.children,e=r.slideWidth,i=void 0===e?"120px":e,a=r.className;return T().createElement("div",{className:"mml-carousel "+(void 0===a?"":a)},T().createElement("div",{className:"mml-carousel__track"},T().createElement("div",{className:"mml-carousel__slides"},t.Children.map(n,function(r){return(0,t.cloneElement)(r,{className:"mml-carousel__slide",slideWidth:i})}))))},C=function(r){var n=r.children,e=r.slideWidth,t=r.width,i=r.className,a=(void 0===t?"":t)||e;return T().createElement("div",{className:"mml-carousel-item "+(void 0===i?"":i),style:{flex:"0 0 "+a,minWidth:a}},n)},_=function(r){var n=r.children,e=r.width,t=r.offset,i=void 0===t?0:t,a=r.align,o="mml-col-"+(void 0===e?12:e);return i&&(o=o+" mml-offset-"+i),o=o+" mml-align-"+(void 0===a?"left":a),T().createElement("div",{className:o},n)},P=function(r){var n=r.error,e=void 0===n?"":n;return e?T().createElement("span",{className:"mml-error"},e):null},z=function(r){var n=r.src,e=r.alt,t=r.title,i=r.className;return T().createElement("img",{className:("mml-image "+(void 0===i?"":i)).trim(),src:n,alt:void 0===e?"":e,title:void 0===t?"":t})},Q=function(r){var n=r.name,e=r.label,i=r.value,a=r.type,o=r.placeholder,s=(0,t.useState)(void 0===i?"":i),E=s[0],A=s[1],u="mml-"+n;return T().createElement(T().Fragment,null,e&&T().createElement("label",{className:"mml-card-header",htmlFor:u},T().createElement("span",{className:"mml-card-header__text"},e)),T().createElement("input",{id:u,className:"mml-input",name:n,value:E,type:void 0===a?"text":a,placeholder:void 0===o?"":o,onChange:function(r){return A(r.target.value)}}))},q=function(r){var n=r.size,e=r.thickness,t=void 0===e?3.6:e,i=r.color;return t="string"==typeof t?parseFloat(t):t,n="string"==typeof n&&/^\d+$/.test(n)||"number"==typeof n?n+"px":n,T().createElement("span",{className:"mml-progress",role:"progressbar",style:{width:n,height:n,color:i}},T().createElement("svg",{className:"mml-progress__svg",viewBox:"22 22 44 44"},T().createElement("circle",{className:"mml-progress__circle",cx:44,cy:44,r:(44-t)/2,fill:"none",strokeWidth:t})))},j=function(r){var n=r.className,e=r.loading,t=r.text,i=r.size,a=r.thickness,o=r.color;return void 0!==e&&e?T().createElement("div",{className:"mml-loading "+(void 0===n?"":n)},T().createElement(q,Object.assign({},{size:i,thickness:a,color:o})),t&&T().createElement("div",{className:"mml-loading__text"},t)):null},V=function(r,n,e){return(void 0===e&&(e="..."),r.length>n)?""+r.substring(0,n-e.length)+e:r},W=function(r){var n=r.match(/\[([^[]+)\](\(.*\))/gm),e=/\[([^[]+)\]\((.*)\)/;return n?n.map(function(r){var n=e.exec(r);return n&&n[2]}):[]},K={link:function(r){return r.href&&(r.href.startsWith("http")||r.href.startsWith("mailto:"))?T().createElement("a",{href:r.href,target:"_blank",rel:"nofollow noreferrer noopener"},r.children):r.children}},J=["html","root","text","break","paragraph","emphasis","strong","link","list","listItem","code","inlineCode","blockquote"],$=function(r){var n=r.text;if(!n)return null;var e=n,t=W(e);return(0,c.find)(e).forEach(function(r){var n=r.type,T=r.href,i=r.value;if(!((t&&t.filter(function(r){return(null==r?void 0:r.indexOf(T))!==-1})).length>0)){var a="email"===n?i:V(i.replace(/(http(s?):\/\/)?(www\.)?/,""),20);e=e.replace(i,"["+a+"]("+encodeURI(T)+")")}}),T().createElement("div",{className:"mml-md"},T().createElement(u(),{allowedTypes:J,renderers:K,source:e,escapeHtml:!0,unwrapDisallowed:!0,transformLinkUri:function(r){return r.startsWith("app://")?r:u().uriTransformer(r)}}))},X=function(r){var n=r.name,e=r.value,i=(0,t.useState)(parseInt(""+e,10)||0),a=i[0],o=i[1];return T().createElement("div",{className:"mml-number"},T().createElement("input",{name:n,value:a,type:"hidden"}),T().createElement("span",{className:"mml-btn mml-btn--floating mml-btn--icon mml-number__dec",onClick:function(){return o(a-1)}},T().createElement(Y,{name:"remove"})),T().createElement("span",{className:"mml-number__count"},a),T().createElement("span",{className:"mml-btn mml-btn--floating mml-btn--icon mml-number__inc",onClick:function(){return o(a+1)}},T().createElement(Y,{name:"add"})))},rr=function(r){var n=r.children;return T().createElement("div",{className:"mml-row"},n)},rn=function(r){var n=r.onChange,e=r.icalFilter,i=r.getItemData,a=r.itemClassName,o=r.interval,s=r.format,E=r.value,A=(0,t.useCallback)(function(r,n){return Array(r).fill(!0).map(function(r,e){return i({interval:o,format:s,value:E,idx:n+e})}).filter(function(r){return!e||e&&e(r.value)})},[o,s,E,e,i]),u=(0,t.useState)(A(80,-40)),c=u[0],D=u[1],l=(0,t.useState)(1e4),R=l[0],F=l[1],N=(0,t.useRef)(40),O=(0,t.useState)(null),h=O[0],d=O[1],f=(0,t.useCallback)(function(r){n(r.value);var e=N.current||0,t=e-40-40,T=t-r.idx+3;T>=0&&(t-=T,N.current-=e-T,D(function(r){return[].concat(A(T,t),r)})),d(r.idx)},[D,A,N,n]),m=(0,t.useCallback)(function(r){D(function(n){return[].concat(n,A(40,r))})},[D,A]),Y=(0,t.useCallback)(function(){var r=N.current||0,n=r-40-40;return N&&(N.current-=40),D(function(r){return[].concat(A(40,n),r)}),F(r-40),!1},[D,A,N]);return(0,t.useEffect)(function(){if(E){for(var r=null,n=0;n=0?s()(t).add(24*e*n,"hour"):s()(t).subtract(-(24*e*n*1),"hour");return{idx:n,value:i,displayValue:s()(i).format(T),isSelected:function(r){return s()(i).isSame(1===e?s()(r):s()(r).add(e,"day"),"date")}}},rt=function(r){return T().createElement("div",{className:"mml-datepicker__select mml-datepicker__date"},T().createElement(rn,Object.assign({},r,{itemClassName:"mml-datepicker__item--day",getItemData:re})))};s().extend(F());var rT=function(r){var n=r.idx,e=r.interval,t=r.value,T=r.format,i=n>=0?s()(t).add(n*e,"minute"):s()(t).subtract(-1*n*e,"minute");return{idx:n,value:i,displayValue:s()(i).format(T),isSelected:function(r){return s()(i).isBetween(r,s()(r).add(e-1,"minute"),"minute","[]")}}},ri=function(r){return T().createElement("div",{className:"mml-datepicker__select mml-datepicker__time"},T().createElement(rn,Object.assign({},r,{itemClassName:"mml-datepicker__item--time",getItemData:rT})))},ra=function(r){var n=r.name,e=r.selected,i=r.dateInterval,a=r.timeInterval,o=r.dateFormat,s=r.timeFormat,E=r.fullDay,A=r.icalFilter,u=(0,t.useState)(e),c=u[0],D=u[1];return T().createElement("div",{className:"mml-datepicker mml-datepicker--"+(E?"single":"double")},T().createElement("input",{name:n,value:c.toISOString(),type:"hidden"}),T().createElement(rt,{icalFilter:A,format:o,value:c,onChange:function(r){D(function(n){return n.set("date",r.get("date")).set("month",r.get("month")).set("year",r.get("year"))})},interval:i}),!E&&T().createElement(ri,{icalFilter:A,format:s,value:c,onChange:function(r){D(function(n){return n.set("minute",r.get("minute")).set("hour",r.get("hour"))})},interval:a}))},ro=function(){var r=O(d.mark(function r(n,e){var t,T,i;return d.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,fetch(n,{method:"GET",redirect:"follow",credentials:"same-origin"});case 2:return t=r.sent,r.next=5,t.text();case 5:if(T=r.sent,t.ok){r.next=8;break}throw Error(T);case 8:return i=new(l())({ics:T,maxIterations:10}),r.abrupt("return",function(){return function(r){return!r||!i.between(r.toDate(),r.add(e,"minute").toDate()).events.length}});case 10:case"end":return r.stop()}},r)}));return function(n,e){return r.apply(this,arguments)}}(),rs=function(r){var n=r.name,e=r.selected,i=r.icalAvailability,a=r.duration,o=void 0===a?30:a,E=r.dateInterval,A=r.timeInterval,u=r.dateFormat,c=r.timeFormat,D=r.fullDay,l=(0,t.useState)(!1),S=l[0],R=l[1],F=(0,t.useState)(""),N=F[0],O=F[1],h=(0,t.useState)(function(){return function(){return!0}}),d=h[0],f=h[1];return(0,t.useEffect)(function(){i&&(R(!0),ro(i,o).then(f).catch(function(r){console.warn("loading ical failed",{icalAvailability:i,err:r}),O("iCal availability could not be loaded")}).finally(function(){return R(!1)}))},[i,o]),T().createElement(m,{className:"mml-scheduler"},T().createElement(M,{icon:"date_range",text:"Scheduler"}),T().createElement(Z,null,N&&!S&&T().createElement(P,{error:"Failed, error: "+N}),!N&&S&&T().createElement(j,{loading:!0,text:"Loading availability"}),!N&&!S&&T().createElement(ra,{name:n,selected:e?s()(e):s()().startOf("hour"),dateInterval:void 0===E?1:E,timeInterval:void 0===A?30:A,dateFormat:void 0===u?"ddd MMM DD":u,timeFormat:void 0===c?"hh:mm A":c,fullDay:void 0!==D&&D,icalFilter:d})))},rE=function(r){var n=r.success;return n?T().createElement("div",{className:"mml-success"},n):null},rA=function(r){var n=r.text,e=r.className;return T().createElement("div",{className:("mml-text "+(void 0===e?"":e)).trim()},n)},ru={button:function(r){return T().createElement(k,Object.assign({},r.attributes,{key:r.key,text:r.getText(),name:r.attributes.name,value:r.attributes.value}))},button_list:function(r,n){return T().createElement(g,Object.assign({},r.attributes,{key:r.key}),n)},input:function(r){return T().createElement(Q,Object.assign({},r.attributes,{key:r.key,name:r.attributes.name,value:r.attributes.value}))},add_to_calendar:function(r){return T().createElement(U,Object.assign({},r.attributes,{key:r.key,title:r.attributes.title,start:r.attributes.start,end:r.attributes.end}))},col:function(r,n){return T().createElement(_,Object.assign({},r.attributes,{key:r.key}),n)},row:function(r,n){return T().createElement(rr,Object.assign({},r.attributes,{key:r.key}),n)},icon:function(r){return T().createElement(Y,Object.assign({},r.attributes,{key:r.key,name:r.attributes.name}))},image:function(r){return T().createElement(z,Object.assign({},r.attributes,{key:r.key,src:r.attributes.src}))},md:function(r){return T().createElement($,Object.assign({},r.attributes,{key:r.key,text:r.getText()}))},text:function(r){return T().createElement(rA,Object.assign({},r.attributes,{key:r.key,text:r.getText()}))},scheduler:function(r){return T().createElement(rs,Object.assign({},r.attributes,{key:r.key,name:r.attributes.name,dateInterval:parseInt(r.attributes.dateInterval,10)||1,timeInterval:parseInt(r.attributes.timeInterval,10)||30,duration:parseInt(r.attributes.duration,10)||30,selected:r.attributes.selected,fullDay:"true"===r.attributes.fullDay,icalAvailability:r.attributes.icalAvailability}))},carousel:function(r,n){return T().createElement(w,Object.assign({slideWidth:r.attributes.slideWidth},r.attributes,{key:r.key}),n)},item:function(r,n){return T().createElement(C,Object.assign({},r.attributes,{key:r.key}),n)},number:function(r){return T().createElement(X,Object.assign({},r.attributes,{key:r.key,name:r.attributes.name,value:r.attributes.value}))}},rc=function(){function r(r,n,e){this.converters=h({},ru,e),this.node=r,this.children=n,this.reactElements=this.toReact(),this.name=r.attributes.name,this.type=r.attributes.type}return r.prototype.toReact=function(r){var n=this;void 0===r&&(r=this);var e=[];return(r.children||[]).forEach(function(r,t){var T=n.converters[r.name];if(!T||!Object.hasOwnProperty.call(n.converters,r.name))throw Error("Converter not found for tag "+r.name+", Available converters are "+Object.keys(n.converters));var i=n.toReact(r);r.key="tag-"+r.name+"-position-"+t,e.push(T(r,i))}),e},r}();function rD(r){var n=r.trim();return n.startsWith(""+r+""),n=n.replace(/&(?!amp;|lt;|gt;)/g,"&"),a()(n)}function rl(r,n){if(!r||!r.children||!r.children.length)throw Error("bad input");var e=r.children[0];if("mml"!==e.name)throw Error("missing mml tag");return new rc(e,function r(n){return n.reduce(function(n,e){e.children&&(t=r(e.children));var t,T=e.name;if("text"===e.type){if(!e.text.trim().length)return n;T="text"}return n.push(new f(T,e,t)),n},[])}(e.children),n)}function rS(r,n){return rl(rD(r),n)}var rR=function(r){var n,e=r.source,i=r.onSubmit,a=r.converters,o=r.theme,s=r.className,E=r.Loading,A=void 0===E?j:E,u=r.Error,c=void 0===u?P:u,D=r.Success,l=void 0===D?rE:D,S=(0,t.useState)(""),R=S[0],F=S[1],N=(0,t.useState)({loading:!1,error:"",success:""}),h=N[0],f=N[1],m=(0,t.useMemo)(function(){try{return rS(e,a)}catch(r){return console.warn("mml parsing error: ",e,r),F("This chat message has invalid formatting and can't be shown"),null}},[e,a]),Y=(0,t.useCallback)((n=O(d.mark(function r(n){var e;return d.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n.preventDefault(),e={},null!=m&&m.name&&(e.mml_name=m.name),new FormData(n.currentTarget).forEach(function(r,n){e[n]=r}),i){r.next=6;break}return r.abrupt("return",console.warn("Forgot to pass onSubmit prop to ? payload:",e));case 6:return r.prev=6,f({loading:!0,error:"",success:""}),r.next=10,i(e);case 10:f({loading:!1,error:"",success:"submitted"}),r.next=16;break;case 13:r.prev=13,r.t0=r.catch(6),f({loading:!1,error:"Failed to send the request. Please try again.",success:""});case 16:case"end":return r.stop()}},r,null,[[6,13]])})),function(r){return n.apply(this,arguments)}),[i,m]);return T().createElement("div",{className:"mml-container "+(void 0===o?"":o)+" "+(void 0===s?"":s),"data-testid":"mml-container"},R?T().createElement("div",{className:"mml-wrap"},c&&T().createElement(c,{error:R})):T().createElement("form",{onSubmit:Y,className:"mml-wrap","data-testid":"mml-form"},null!=m&&m.type?T().createElement("div",{className:"mml-card"},null==m?void 0:m.reactElements):null==m?void 0:m.reactElements,h.loading&&A&&T().createElement(A,{loading:h.loading}),h.success&&l&&T().createElement(l,{success:h.success}),h.error&&c&&T().createElement(c,{error:h.error})))}},32455:r=>{"use strict";r.exports=function(r){if(r)throw r}},24679:r=>{"use strict";r.exports=r=>{if("[object Object]"!==Object.prototype.toString.call(r))return!1;let n=Object.getPrototypeOf(r);return null===n||n===Object.prototype}},17613:(r,n,e)=>{r.exports=e(64139)},64139:(r,n,e)=>{"use strict";n.find=void 0;var t=e(31794),T=(a(e(1699)),a(e(66333))),i=a(e(93186));function a(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e]);return n.default=r,n}Array.isArray||(Array.isArray=function(r){return"[object Array]"===Object.prototype.toString.call(r)}),n.find=function(r){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=i.run(T.run(r)),t=[],a=0;a{"use strict";n.__esModule=!0,n.start=n.run=n.TOKENS=n.State=void 0;var t=e(44181),T=e(48255),i=function(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e]);return n.default=r,n}(T),a=e(62256),o=function(r){return new t.TokenState(r)},s=o(),E=o(),A=o(),u=o(),c=o(),D=o(),l=o(),S=o(T.URL),R=o(),F=o(T.URL),N=o(T.URL),O=o(),h=o(),d=o(),f=o(),m=o(),Y=o(T.URL),M=o(T.URL),Z=o(T.URL),g=o(T.URL),B=o(),y=o(),I=o(),v=o(),L=o(),b=o(),G=o(T.EMAIL),x=o(),H=o(T.EMAIL),U=o(T.MAILTOEMAIL),k=o(),w=o(),C=o(),_=o(),P=o(T.NL);s.on(a.NL,P).on(a.PROTOCOL,E).on(a.MAILTO,A).on(a.SLASH,u),E.on(a.SLASH,u),u.on(a.SLASH,c),s.on(a.TLD,D).on(a.DOMAIN,D).on(a.LOCALHOST,S).on(a.NUM,D),c.on(a.TLD,N).on(a.DOMAIN,N).on(a.NUM,N).on(a.LOCALHOST,N),D.on(a.DOT,l),L.on(a.DOT,b),l.on(a.TLD,S).on(a.DOMAIN,D).on(a.NUM,D).on(a.LOCALHOST,D),b.on(a.TLD,G).on(a.DOMAIN,L).on(a.NUM,L).on(a.LOCALHOST,L),S.on(a.DOT,l),G.on(a.DOT,b),S.on(a.COLON,R).on(a.SLASH,N),R.on(a.NUM,F),F.on(a.SLASH,N),G.on(a.COLON,x),x.on(a.NUM,H);var z=[a.DOMAIN,a.AT,a.LOCALHOST,a.NUM,a.PLUS,a.POUND,a.PROTOCOL,a.SLASH,a.TLD,a.UNDERSCORE,a.SYM,a.AMPERSAND],Q=[a.COLON,a.DOT,a.QUERY,a.PUNCTUATION,a.CLOSEBRACE,a.CLOSEBRACKET,a.CLOSEANGLEBRACKET,a.CLOSEPAREN,a.OPENBRACE,a.OPENBRACKET,a.OPENANGLEBRACKET,a.OPENPAREN];N.on(a.OPENBRACE,h).on(a.OPENBRACKET,d).on(a.OPENANGLEBRACKET,f).on(a.OPENPAREN,m),O.on(a.OPENBRACE,h).on(a.OPENBRACKET,d).on(a.OPENANGLEBRACKET,f).on(a.OPENPAREN,m),h.on(a.CLOSEBRACE,N),d.on(a.CLOSEBRACKET,N),f.on(a.CLOSEANGLEBRACKET,N),m.on(a.CLOSEPAREN,N),Y.on(a.CLOSEBRACE,N),M.on(a.CLOSEBRACKET,N),Z.on(a.CLOSEANGLEBRACKET,N),g.on(a.CLOSEPAREN,N),B.on(a.CLOSEBRACE,N),y.on(a.CLOSEBRACKET,N),I.on(a.CLOSEANGLEBRACKET,N),v.on(a.CLOSEPAREN,N),h.on(z,Y),d.on(z,M),f.on(z,Z),m.on(z,g),h.on(Q,B),d.on(Q,y),f.on(Q,I),m.on(Q,v),Y.on(z,Y),M.on(z,M),Z.on(z,Z),g.on(z,g),Y.on(Q,Y),M.on(Q,M),Z.on(Q,Z),g.on(Q,g),B.on(z,Y),y.on(z,M),I.on(z,Z),v.on(z,g),B.on(Q,B),y.on(Q,y),I.on(Q,I),v.on(Q,v),N.on(z,N),O.on(z,N),N.on(Q,O),O.on(Q,O),A.on(a.TLD,U).on(a.DOMAIN,U).on(a.NUM,U).on(a.LOCALHOST,U),U.on(z,U).on(Q,k),k.on(z,U).on(Q,k);var q=[a.DOMAIN,a.NUM,a.PLUS,a.POUND,a.QUERY,a.UNDERSCORE,a.SYM,a.AMPERSAND,a.TLD];D.on(q,w).on(a.AT,C),S.on(q,w).on(a.AT,C),l.on(q,w),w.on(q,w).on(a.AT,C).on(a.DOT,_),_.on(q,w),C.on(a.TLD,L).on(a.DOMAIN,L).on(a.LOCALHOST,G),n.State=t.TokenState,n.TOKENS=i,n.run=function(r){for(var n=r.length,e=0,t=[],i=[];e=0&&c++,e++,A++;if(c<0)for(var D=e-A;D0&&(t.push(new T.TEXT(i)),i=[]),e-=c,A-=c;var l=u.emit();t.push(new l(r.slice(e-A,e)))}}return i.length>0&&t.push(new T.TEXT(i)),t},n.start=s},66333:(r,n,e)=>{"use strict";n.__esModule=!0,n.start=n.run=n.TOKENS=n.State=void 0;var t=e(44181),T=e(62256),i=function(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e]);return n.default=r,n}(T),a="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),o="0123456789".split(""),s="0123456789abcdefghijklmnopqrstuvwxyz".split(""),E=[" ","\f","\r"," ","\v","\xa0"," ","᠎"],A=[],u=function(r){return new t.CharacterState(r)},c=u(),D=u(T.NUM),l=u(T.DOMAIN),S=u(),R=u(T.WS);c.on("@",u(T.AT)).on(".",u(T.DOT)).on("+",u(T.PLUS)).on("#",u(T.POUND)).on("?",u(T.QUERY)).on("/",u(T.SLASH)).on("_",u(T.UNDERSCORE)).on(":",u(T.COLON)).on("{",u(T.OPENBRACE)).on("[",u(T.OPENBRACKET)).on("<",u(T.OPENANGLEBRACKET)).on("(",u(T.OPENPAREN)).on("}",u(T.CLOSEBRACE)).on("]",u(T.CLOSEBRACKET)).on(">",u(T.CLOSEANGLEBRACKET)).on(")",u(T.CLOSEPAREN)).on("&",u(T.AMPERSAND)).on([",",";","!",'"',"'"],u(T.PUNCTUATION)),c.on("\n",u(T.NL)).on(E,R),R.on(E,R);for(var F=0;F=0&&E++,o++,T++;if(!(E<0)){T-=E,o-=E;var A=s.emit();t.push(new A(r.substr(T-o,o)))}}return t},n.start=c},44181:(r,n,e)=>{"use strict";n.__esModule=!0,n.stateify=n.TokenState=n.CharacterState=void 0;var t=e(31794);function T(){return function(r){this.j=[],this.T=r||null}}var i=T();i.prototype={defaultTransition:!1,on:function(r,n){if(r instanceof Array){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:null,e=this.next(new r(""));return e===this.defaultTransition?(e=new this.constructor(n),this.on(r,e)):n&&(e.T=n),e},test:function(r,n){return r instanceof n}});n.CharacterState=a,n.TokenState=o,n.stateify=function(r,n,e,t){for(var T=0,i=r.length,o=n,s=[],E=void 0;T=i)return[];for(;T{"use strict";n.__esModule=!0,n.createTokenClass=function(){return function(r){r&&(this.v=r)}}},48255:(r,n,e)=>{"use strict";n.__esModule=!0,n.URL=n.TEXT=n.NL=n.EMAIL=n.MAILTOEMAIL=n.Base=void 0;var t=e(18039),T=e(31794),i=e(62256),a=(0,t.createTokenClass)();a.prototype={type:"token",isLink:!1,toString:function(){for(var r=[],n=0;n0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(r)}}};var o=(0,T.inherits)(a,(0,t.createTokenClass)(),{type:"email",isLink:!0}),s=(0,T.inherits)(a,(0,t.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),E=(0,T.inherits)(a,(0,t.createTokenClass)(),{type:"text"}),A=(0,T.inherits)(a,(0,t.createTokenClass)(),{type:"nl"}),u=(0,T.inherits)(a,(0,t.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",e=!1,t=!1,T=this.v,a=[],o=0;T[o]instanceof i.PROTOCOL;)e=!0,a.push(T[o].toString().toLowerCase()),o++;for(;T[o]instanceof i.SLASH;)t=!0,a.push(T[o].toString()),o++;for(;(r=T[o])instanceof i.DOMAIN||r instanceof i.TLD;)a.push(T[o].toString().toLowerCase()),o++;for(;o{"use strict";n.__esModule=!0,n.AMPERSAND=n.CLOSEPAREN=n.CLOSEANGLEBRACKET=n.CLOSEBRACKET=n.CLOSEBRACE=n.OPENPAREN=n.OPENANGLEBRACKET=n.OPENBRACKET=n.OPENBRACE=n.WS=n.TLD=n.SYM=n.UNDERSCORE=n.SLASH=n.MAILTO=n.PROTOCOL=n.QUERY=n.POUND=n.PLUS=n.NUM=n.NL=n.LOCALHOST=n.PUNCTUATION=n.DOT=n.COLON=n.AT=n.DOMAIN=n.Base=void 0;var t=e(18039),T=e(31794),i=(0,t.createTokenClass)();function a(r){return(0,T.inherits)(i,(0,t.createTokenClass)(),r?{v:r}:{})}i.prototype={toString:function(){return this.v+""}};var o=a(),s=a("@"),E=a(":"),A=a("."),u=a(),c=a(),D=a("\n"),l=a(),S=a("+"),R=a("#"),F=a(),N=a("mailto:"),O=a("?"),h=a("/"),d=a("_"),f=a(),m=a(),Y=a(),M=a("{"),Z=a("["),g=a("<"),B=a("("),y=a("}"),I=a("]"),v=a(">"),L=a(")"),b=a("&");n.Base=i,n.DOMAIN=o,n.AT=s,n.COLON=E,n.DOT=A,n.PUNCTUATION=u,n.LOCALHOST=c,n.NL=D,n.NUM=l,n.PLUS=S,n.POUND=R,n.QUERY=O,n.PROTOCOL=F,n.MAILTO=N,n.SLASH=h,n.UNDERSCORE=d,n.SYM=f,n.TLD=m,n.WS=Y,n.OPENBRACE=M,n.OPENBRACKET=Z,n.OPENANGLEBRACKET=g,n.OPENPAREN=B,n.CLOSEBRACE=y,n.CLOSEBRACKET=I,n.CLOSEANGLEBRACKET=v,n.CLOSEPAREN=L,n.AMPERSAND=b},31794:(r,n)=>{"use strict";n.__esModule=!0,n.inherits=function(r,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=Object.create(r.prototype);for(var T in e)t[T]=e[T];return t.constructor=n,n.prototype=t,n}},1699:(r,n)=>{"use strict";n.__esModule=!0;var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t={defaultProtocol:"http",events:null,format:i,formatHref:i,nl2br:!1,tagName:"a",target:function(r,n){return"url"===n?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function T(r){r=r||{},this.defaultProtocol=r.hasOwnProperty("defaultProtocol")?r.defaultProtocol:t.defaultProtocol,this.events=r.hasOwnProperty("events")?r.events:t.events,this.format=r.hasOwnProperty("format")?r.format:t.format,this.formatHref=r.hasOwnProperty("formatHref")?r.formatHref:t.formatHref,this.nl2br=r.hasOwnProperty("nl2br")?r.nl2br:t.nl2br,this.tagName=r.hasOwnProperty("tagName")?r.tagName:t.tagName,this.target=r.hasOwnProperty("target")?r.target:t.target,this.validate=r.hasOwnProperty("validate")?r.validate:t.validate,this.ignoreTags=[],this.attributes=r.attributes||r.linkAttributes||t.attributes,this.className=r.hasOwnProperty("className")?r.className:r.linkClass||t.className;for(var n=r.hasOwnProperty("ignoreTags")?r.ignoreTags:t.ignoreTags,e=0;e{"use strict";r.exports=function(r,n,e){return"string"!=typeof n&&(e=n,n=void 0),(function(r){var n=function(r,n){for(var e=-1;++e-1&&(O.call(this,r),h.call(this,r))},link:R(function(){var r=this.stack[this.stack.length-1];e.inReference?(r.type+="Reference",r.referenceType=e.referenceType||"shortcut",delete r.url,delete r.title):(delete r.identifier,delete r.label,delete r.referenceType),e.referenceType=void 0}),listItem:R(),listOrdered:R(),listUnordered:R(),paragraph:R(),referenceString:function(r){var n=this.resume();this.stack[this.stack.length-1].label=n,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(r)).toLowerCase(),e.referenceType="full"},resourceDestinationString:function(){var r=this.resume();this.stack[this.stack.length-1].url=r},resourceTitleString:function(){var r=this.resume();this.stack[this.stack.length-1].title=r},resource:function(){e.inReference=void 0},setextHeading:R(function(){e.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(r){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(r).charCodeAt(0)?1:2},setextHeadingText:function(){e.setextHeadingSlurpLineEnding=!0},strong:R(),thematicBreak:R()}},(r||{}).mdastExtensions||[]),e={};return function(r){for(var e,t,a={type:"root",children:[]},o=[],u=[],D=-1,R={stack:[a],tokenStack:o,config:n,enter:S,exit:F,buffer:l,resume:N,setData:s,getData:E};++D{"use strict";r.exports=e(2934)},80804:r=>{"use strict";function n(r){return r&&(r.value||r.alt||r.title||"children"in r&&e(r.children)||"length"in r&&e(r))||""}function e(r){for(var e=[],t=-1;++t{"use strict";var t=e(87613)(/[A-Za-z]/);r.exports=t},73718:(r,n,e)=>{"use strict";var t=e(87613)(/[\dA-Za-z]/);r.exports=t},65295:(r,n,e)=>{"use strict";var t=e(87613)(/[#-'*+\--9=?A-Z^-~]/);r.exports=t},74168:r=>{"use strict";r.exports=function(r){return r<32||127===r}},69885:(r,n,e)=>{"use strict";var t=e(87613)(/\d/);r.exports=t},85028:(r,n,e)=>{"use strict";var t=e(87613)(/[\dA-Fa-f]/);r.exports=t},37519:(r,n,e)=>{"use strict";var t=e(87613)(/[!-/:-@[-`{-~]/);r.exports=t},10014:r=>{"use strict";r.exports=function(r){return r<0||32===r}},24772:r=>{"use strict";r.exports=function(r){return r<-2}},13848:r=>{"use strict";r.exports=function(r){return -2===r||-1===r||32===r}},59179:(r,n,e)=>{"use strict";var t=e(93272),T=e(87613)(t);r.exports=T},67138:(r,n,e)=>{"use strict";var t=e(87613)(/\s/);r.exports=t},74753:r=>{"use strict";var n=Object.assign;r.exports=n},13740:r=>{"use strict";var n=String.fromCharCode;r.exports=n},92952:r=>{"use strict";r.exports=({}).hasOwnProperty},31926:r=>{"use strict";r.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},86035:r=>{"use strict";r.exports=["pre","script","style","textarea"]},75342:r=>{"use strict";var n=[].splice;r.exports=n},93272:r=>{"use strict";r.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},55408:(r,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e(12e3),T=e(24201),i=e(71140),a=e(13354),o=e(20711),s=e(48794),E=e(99412),A=e(8115),u=e(83175),c=e(90872),D=e(50501),l=e(70739),S=e(12651),R=e(43622),F=e(79805),N=e(78185),O=e(14726),h=e(33824),d=e(98365),f=e(98810),m=e(9703),Y={null:[T,t.resolver]};n.contentInitial={91:c},n.disable={null:[]},n.document={42:d,43:d,45:d,48:d,49:d,50:d,51:d,52:d,53:d,54:d,55:d,56:d,57:d,62:a},n.flow={35:l,42:m,45:[f,m],60:S,61:f,95:m,96:E,126:E},n.flowInitial={"-2":A,"-1":A,32:A},n.insideSpan=Y,n.string={38:s,92:o},n.text={"-5":h,"-4":h,"-3":h,33:N,38:s,42:T,60:[i,R],91:O,92:[D,o],93:F,95:T,96:u}},65823:(r,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e(24772),T=e(66262);n.tokenize=function(r){var n,e=r.attempt(this.parser.constructs.contentInitial,function(n){if(null===n){r.consume(n);return}return r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),T(r,e,"linePrefix")},function(e){return r.enter("paragraph"),function e(T){var i=r.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=i),n=i,function n(T){if(null===T){r.exit("chunkText"),r.exit("paragraph"),r.consume(T);return}return t(T)?(r.consume(T),r.exit("chunkText"),e):(r.consume(T),n)}(T)}(e)});return e}},93869:(r,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e(24772),T=e(66262),i=e(31797),a={tokenize:function(r,n,e){return T(r,r.attempt(this.parser.constructs.document,n,e),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},o={tokenize:function(r,n,e){return T(r,r.lazy(this.parser.constructs.flow,n,e),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};n.tokenize=function(r){var n,e,T,s=this,E=[],A=0,u={tokenize:function(r,t){var T=0;return n={},A;function A(t){return Tn;)s.containerState=E[i][1],E[i][0].exit.call(s,r);E.length=n}}},67913:(r,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e(91448),T=e(66262),i=e(31797);n.tokenize=function(r){var n=this,e=r.attempt(i,function(t){if(null===t){r.consume(t);return}return r.enter("lineEndingBlank"),r.consume(t),r.exit("lineEndingBlank"),n.currentConstruct=void 0,e},r.attempt(this.parser.constructs.flowInitial,a,T(r,r.attempt(this.parser.constructs.flow,a,r.attempt(t,a)),"linePrefix")));return e;function a(t){if(null===t){r.consume(t);return}return r.enter("lineEnding"),r.consume(t),r.exit("lineEnding"),n.currentConstruct=void 0,e}}},12e3:(r,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e(74753),T=e(77379),i=s("text"),a=s("string"),o={resolveAll:E()};function s(r){return{tokenize:function(n){var e=this,t=this.parser.constructs[r],T=n.attempt(t,i,a);return i;function i(r){return s(r)?T(r):a(r)}function a(r){if(null===r){n.consume(r);return}return n.enter("data"),n.consume(r),o}function o(r){return s(r)?(n.exit("data"),T(r)):(n.consume(r),o)}function s(r){var n=t[r],T=-1;if(null===r)return!0;if(n){for(;++T{"use strict";var t=e(65823),T=e(93869),i=e(67913),a=e(12e3),o=e(80061),s=e(31749),E=e(69458),A=e(55408);r.exports=function(r){var n={defined:[],constructs:o([A].concat(E((r||{}).extensions))),content:e(t),document:e(T),flow:e(i),string:e(a.string),text:e(a.text)};return n;function e(r){return function(e){return s(n,r,e)}}}},46591:(r,n,e)=>{"use strict";var t=e(61368);r.exports=function(r){for(;!t(r););return r}},49195:r=>{"use strict";var n=/[\0\t\n\r]/g;r.exports=function(){var r,e=!0,t=1,T="";return function(i,a,o){var s,E,A,u,c,D=[];for(i=T+i.toString(a),A=0,T="",e&&(65279===i.charCodeAt(0)&&A++,e=void 0);A{"use strict";var t=e(98610),T=e(27808),i=e(92243),a=e(77934),o=e(15802),s=e(77379);r.exports={name:"attention",tokenize:function(r,n){var e,t=i(this.previous);return function(T){return r.enter("attentionSequence"),e=T,function T(a){var o,s,E,A;return a===e?(r.consume(a),T):(o=r.exit("attentionSequence"),E=!(s=i(a))||2===s&&t,A=!t||2===t&&s,o._open=42===e?E:E&&(t||!A),o._close=42===e?A:A&&(s||!E),n(a))}(T)}},resolveAll:function(r,n){for(var e,i,E,A,u,c,D,l,S=-1;++S1&&r[S][1].end.offset-r[S][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:a(s(r[e][1].end),-c),end:s(r[e][1].end)},u={type:c>1?"strongSequence":"emphasisSequence",start:s(r[S][1].start),end:a(s(r[S][1].start),c)},E={type:c>1?"strongText":"emphasisText",start:s(r[e][1].end),end:s(r[S][1].start)},i={type:c>1?"strong":"emphasis",start:s(A.start),end:s(u.end)},r[e][1].end=s(A.start),r[S][1].start=s(u.end),D=[],r[e][1].end.offset-r[e][1].start.offset&&(D=t(D,[["enter",r[e][1],n],["exit",r[e][1],n]])),D=t(D,[["enter",i,n],["enter",A,n],["exit",A,n],["enter",E,n]]),D=t(D,o(n.parser.constructs.insideSpan.null,r.slice(e+1,S),n)),D=t(D,[["exit",E,n],["enter",u,n],["exit",u,n],["exit",i,n]]),r[S][1].end.offset-r[S][1].start.offset?(l=2,D=t(D,[["enter",r[S][1],n],["exit",r[S][1],n]])):l=0,T(r,e-1,S-e+3,D),S=e+D.length-l-2;break}}for(S=-1;++S{"use strict";var t=e(63250),T=e(73718),i=e(65295),a=e(74168);r.exports={name:"autolink",tokenize:function(r,n,e){var o=1;return function(n){return r.enter("autolink"),r.enter("autolinkMarker"),r.consume(n),r.exit("autolinkMarker"),r.enter("autolinkProtocol"),s};function s(n){return t(n)?(r.consume(n),E):i(n)?u(n):e(n)}function E(n){return 43===n||45===n||46===n||T(n)?function n(e){return 58===e?(r.consume(e),A):(43===e||45===e||46===e||T(e))&&o++<32?(r.consume(e),n):u(e)}(n):u(n)}function A(n){return 62===n?(r.exit("autolinkProtocol"),D(n)):32===n||60===n||a(n)?e(n):(r.consume(n),A)}function u(n){return 64===n?(r.consume(n),o=0,c):i(n)?(r.consume(n),u):e(n)}function c(n){return T(n)?function n(t){return 46===t?(r.consume(t),o=0,c):62===t?(r.exit("autolinkProtocol").type="autolinkEmail",D(t)):function t(i){return(45===i||T(i))&&o++<63?(r.consume(i),45===i?t:n):e(i)}(t)}(n):e(n)}function D(e){return r.enter("autolinkMarker"),r.consume(e),r.exit("autolinkMarker"),r.exit("autolink"),n}}}},13354:(r,n,e)=>{"use strict";var t=e(13848),T=e(66262),i={name:"blockQuote",tokenize:function(r,n,e){var T=this;return function(n){return 62===n?(T.containerState.open||(r.enter("blockQuote",{_container:!0}),T.containerState.open=!0),r.enter("blockQuotePrefix"),r.enter("blockQuoteMarker"),r.consume(n),r.exit("blockQuoteMarker"),i):e(n)};function i(e){return t(e)?(r.enter("blockQuotePrefixWhitespace"),r.consume(e),r.exit("blockQuotePrefixWhitespace"),r.exit("blockQuotePrefix"),n):(r.exit("blockQuotePrefix"),n(e))}},continuation:{tokenize:function(r,n,e){return T(r,r.attempt(i,n,e),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},exit:function(r){r.exit("blockQuote")}};r.exports=i},20711:(r,n,e)=>{"use strict";var t=e(37519);r.exports={name:"characterEscape",tokenize:function(r,n,e){return function(n){return r.enter("characterEscape"),r.enter("escapeMarker"),r.consume(n),r.exit("escapeMarker"),T};function T(T){return t(T)?(r.enter("characterEscapeValue"),r.consume(T),r.exit("characterEscapeValue"),r.exit("characterEscape"),n):e(T)}}}},48794:(r,n,e)=>{"use strict";var t=e(9177),T=e(73718),i=e(69885),a=e(85028),o=function(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(t);r.exports={name:"characterReference",tokenize:function(r,n,e){var t,s,E=this,A=0;return function(n){return r.enter("characterReference"),r.enter("characterReferenceMarker"),r.consume(n),r.exit("characterReferenceMarker"),u};function u(n){return 35===n?(r.enter("characterReferenceMarkerNumeric"),r.consume(n),r.exit("characterReferenceMarkerNumeric"),c):(r.enter("characterReferenceValue"),t=31,s=T,D(n))}function c(n){return 88===n||120===n?(r.enter("characterReferenceMarkerHexadecimal"),r.consume(n),r.exit("characterReferenceMarkerHexadecimal"),r.enter("characterReferenceValue"),t=6,s=a,D):(r.enter("characterReferenceValue"),t=7,s=i,D(n))}function D(i){var a;return 59===i&&A?(a=r.exit("characterReferenceValue"),s!==T||o.default(E.sliceSerialize(a)))?(r.enter("characterReferenceMarker"),r.consume(i),r.exit("characterReferenceMarker"),r.exit("characterReference"),n):e(i):s(i)&&A++{"use strict";var t=e(24772),T=e(10014),i=e(66306),a=e(66262);r.exports={name:"codeFenced",tokenize:function(r,n,e){var o,s=this,E={tokenize:function(r,n,e){var T=0;return a(r,function(n){return r.enter("codeFencedFence"),r.enter("codeFencedFenceSequence"),function n(t){return t===o?(r.consume(t),T++,n):T-1?void 0:4);function i(T){return null===T||t(T)?(r.exit("codeFencedFence"),n(T)):e(T)}},partial:!0},A=i(this.events,"linePrefix"),u=0;return function(n){return r.enter("codeFenced"),r.enter("codeFencedFence"),r.enter("codeFencedFenceSequence"),o=n,function n(t){return t===o?(r.consume(t),u++,n):(r.exit("codeFencedFenceSequence"),u<3?e(t):a(r,c,"whitespace")(t))}(n)};function c(n){return null===n||t(n)?l(n):(r.enter("codeFencedFenceInfo"),r.enter("chunkString",{contentType:"string"}),function n(t){return null===t||T(t)?(r.exit("chunkString"),r.exit("codeFencedFenceInfo"),a(r,D,"whitespace")(t)):96===t&&t===o?e(t):(r.consume(t),n)}(n))}function D(n){return null===n||t(n)?l(n):(r.enter("codeFencedFenceMeta"),r.enter("chunkString",{contentType:"string"}),function n(T){return null===T||t(T)?(r.exit("chunkString"),r.exit("codeFencedFenceMeta"),l(T)):96===T&&T===o?e(T):(r.consume(T),n)}(n))}function l(e){return r.exit("codeFencedFence"),s.interrupt?n(e):function n(e){return null===e?S(e):t(e)?(r.enter("lineEnding"),r.consume(e),r.exit("lineEnding"),r.attempt(E,S,A?a(r,n,"linePrefix",A+1):n)):(r.enter("codeFlowValue"),function e(T){return null===T||t(T)?(r.exit("codeFlowValue"),n(T)):(r.consume(T),e)}(e))}(e)}function S(e){return r.exit("codeFenced"),n(e)}},concrete:!0}},8115:(r,n,e)=>{"use strict";var t=e(24772),T=e(27808),i=e(66306),a=e(66262),o={tokenize:function(r,n,e){var T=this;return a(r,function o(s){return t(s)?(r.enter("lineEnding"),r.consume(s),r.exit("lineEnding"),a(r,o,"linePrefix",5)):4>i(T.events,"linePrefix")?e(s):n(s)},"linePrefix",5)},partial:!0};r.exports={name:"codeIndented",tokenize:function(r,n,e){return r.attempt(o,function e(T){return null===T?n(T):t(T)?r.attempt(o,e,n)(T):(r.enter("codeFlowValue"),function n(T){return null===T||t(T)?(r.exit("codeFlowValue"),e(T)):(r.consume(T),n)}(T))},e)},resolve:function(r,n){var e={type:"codeIndented",start:r[0][1].start,end:r[r.length-1][1].end};return T(r,0,0,[["enter",e,n]]),T(r,r.length,0,[["exit",e,n]]),r}}},83175:(r,n,e)=>{"use strict";var t=e(24772);r.exports={name:"codeText",tokenize:function(r,n,e){var T,i,a=0;return function(n){return r.enter("codeText"),r.enter("codeTextSequence"),function n(e){return 96===e?(r.consume(e),a++,n):(r.exit("codeTextSequence"),o(e))}(n)};function o(E){return null===E?e(E):96===E?(i=r.enter("codeTextSequence"),T=0,function e(t){return 96===t?(r.consume(t),T++,e):T===a?(r.exit("codeTextSequence"),r.exit("codeText"),n(t)):(i.type="codeTextData",s(t))}(E)):32===E?(r.enter("space"),r.consume(E),r.exit("space"),o):t(E)?(r.enter("lineEnding"),r.consume(E),r.exit("lineEnding"),o):(r.enter("codeTextData"),s(E))}function s(n){return null===n||32===n||96===n||t(n)?(r.exit("codeTextData"),o(n)):(r.consume(n),s)}},resolve:function(r){var n,e,t=r.length-4,T=3;if(("lineEnding"===r[3][1].type||"space"===r[T][1].type)&&("lineEnding"===r[t][1].type||"space"===r[t][1].type)){for(n=T;++n{"use strict";var t=e(24772),T=e(66306),i=e(61368),a=e(66262),o={tokenize:function(r,n,e){var i=this;return function(n){return r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),a(r,o,"linePrefix")};function o(a){return null===a||t(a)?e(a):i.parser.constructs.disable.null.indexOf("codeIndented")>-1||4>T(i.events,"linePrefix")?r.interrupt(i.parser.constructs.flow,e,n)(a):n(a)}},partial:!0};r.exports={tokenize:function(r,n){var e;return function(n){return r.enter("content"),e=r.enter("chunkContent",{contentType:"content"}),T(n)};function T(n){return null===n?i(n):t(n)?r.check(o,a,i)(n):(r.consume(n),T)}function i(e){return r.exit("chunkContent"),r.exit("content"),n(e)}function a(n){return r.consume(n),r.exit("chunkContent"),e=e.next=r.enter("chunkContent",{contentType:"content",previous:e}),T}},resolve:function(r){return i(r),r},interruptible:!0,lazy:!0}},90872:(r,n,e)=>{"use strict";var t=e(24772),T=e(10014),i=e(71655),a=e(78418),o=e(73251),s=e(66262),E=e(66384),A=e(22957),u={tokenize:function(r,n,e){return function(n){return T(n)?E(r,i)(n):e(n)};function i(n){return 34===n||39===n||40===n?A(r,s(r,a,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):e(n)}function a(r){return null===r||t(r)?n(r):e(r)}},partial:!0};r.exports={name:"definition",tokenize:function(r,n,e){var T,A=this;return function(n){return r.enter("definition"),o.call(A,r,c,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function c(n){return(T=i(A.sliceSerialize(A.events[A.events.length-1][1]).slice(1,-1)),58===n)?(r.enter("definitionMarker"),r.consume(n),r.exit("definitionMarker"),E(r,a(r,r.attempt(u,s(r,D,"whitespace"),s(r,D,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(n)}function D(i){return null===i||t(i)?(r.exit("definition"),0>A.parser.defined.indexOf(T)&&A.parser.defined.push(T),n(i)):e(i)}}}},78418:(r,n,e)=>{"use strict";var t=e(74168),T=e(10014),i=e(24772);r.exports=function(r,n,e,a,o,s,E,A,u){var c=u||1/0,D=0;return function(n){return 60===n?(r.enter(a),r.enter(o),r.enter(s),r.consume(n),r.exit(s),l):t(n)||41===n?e(n):(r.enter(a),r.enter(E),r.enter(A),r.enter("chunkString",{contentType:"string"}),F(n))};function l(e){return 62===e?(r.enter(s),r.consume(e),r.exit(s),r.exit(o),r.exit(a),n):(r.enter(A),r.enter("chunkString",{contentType:"string"}),S(e))}function S(n){return 62===n?(r.exit("chunkString"),r.exit(A),l(n)):null===n||60===n||i(n)?e(n):(r.consume(n),92===n?R:S)}function R(n){return 60===n||62===n||92===n?(r.consume(n),S):S(n)}function F(i){return 40===i?++D>c?e(i):(r.consume(i),F):41===i?D--?(r.consume(i),F):(r.exit("chunkString"),r.exit(A),r.exit(E),r.exit(a),n(i)):null===i||T(i)?D?e(i):(r.exit("chunkString"),r.exit(A),r.exit(E),r.exit(a),n(i)):t(i)?e(i):(r.consume(i),92===i?N:F)}function N(n){return 40===n||41===n||92===n?(r.consume(n),F):F(n)}}},73251:(r,n,e)=>{"use strict";var t=e(24772),T=e(13848);r.exports=function(r,n,e,i,a,o){var s,E=this,A=0;return function(n){return r.enter(i),r.enter(a),r.consume(n),r.exit(a),r.enter(o),u};function u(T){return null===T||91===T||93===T&&!s||94===T&&!A&&"_hiddenFootnoteSupport"in E.parser.constructs||A>999?e(T):93===T?(r.exit(o),r.enter(a),r.consume(T),r.exit(a),r.exit(i),n):t(T)?(r.enter("lineEnding"),r.consume(T),r.exit("lineEnding"),u):(r.enter("chunkString",{contentType:"string"}),c(T))}function c(n){return null===n||91===n||93===n||t(n)||A++>999?(r.exit("chunkString"),u(n)):(r.consume(n),s=s||!T(n),92===n?D:c)}function D(n){return 91===n||92===n||93===n?(r.consume(n),A++,c):c(n)}}},66262:(r,n,e)=>{"use strict";var t=e(13848);r.exports=function(r,n,e,T){var i=T?T-1:1/0,a=0;return function(T){return t(T)?(r.enter(e),function T(o){return t(o)&&a++{"use strict";var t=e(24772),T=e(66262);r.exports=function(r,n,e,i,a,o){var s;return function(n){return r.enter(i),r.enter(a),r.consume(n),r.exit(a),s=40===n?41:n,E};function E(e){return e===s?(r.enter(a),r.consume(e),r.exit(a),r.exit(i),n):(r.enter(o),A(e))}function A(n){return n===s?(r.exit(o),E(s)):null===n?e(n):t(n)?(r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),T(r,A,"linePrefix")):(r.enter("chunkString",{contentType:"string"}),u(n))}function u(n){return n===s||null===n||t(n)?(r.exit("chunkString"),A(n)):(r.consume(n),92===n?c:u)}function c(n){return n===s||92===n?(r.consume(n),u):u(n)}}},66384:(r,n,e)=>{"use strict";var t=e(24772),T=e(13848),i=e(66262);r.exports=function(r,n){var e;return function a(o){return t(o)?(r.enter("lineEnding"),r.consume(o),r.exit("lineEnding"),e=!0,a):T(o)?i(r,a,e?"linePrefix":"lineSuffix")(o):n(o)}}},50501:(r,n,e)=>{"use strict";var t=e(24772);r.exports={name:"hardBreakEscape",tokenize:function(r,n,e){return function(n){return r.enter("hardBreakEscape"),r.enter("escapeMarker"),r.consume(n),T};function T(T){return t(T)?(r.exit("escapeMarker"),r.exit("hardBreakEscape"),n(T)):e(T)}}}},70739:(r,n,e)=>{"use strict";var t=e(24772),T=e(10014),i=e(13848),a=e(27808),o=e(66262);r.exports={name:"headingAtx",tokenize:function(r,n,e){var a=this,s=0;return function(E){return r.enter("atxHeading"),r.enter("atxHeadingSequence"),function E(A){return 35===A&&s++<6?(r.consume(A),E):null===A||T(A)?(r.exit("atxHeadingSequence"),a.interrupt?n(A):function e(a){return 35===a?(r.enter("atxHeadingSequence"),function n(t){return 35===t?(r.consume(t),n):(r.exit("atxHeadingSequence"),e(t))}(a)):null===a||t(a)?(r.exit("atxHeading"),n(a)):i(a)?o(r,e,"whitespace")(a):(r.enter("atxHeadingText"),function n(t){return null===t||35===t||T(t)?(r.exit("atxHeadingText"),e(t)):(r.consume(t),n)}(a))}(A)):e(A)}(E)}},resolve:function(r,n){var e,t,T=r.length-2,i=3;return"whitespace"===r[3][1].type&&(i+=2),T-2>i&&"whitespace"===r[T][1].type&&(T-=2),"atxHeadingSequence"===r[T][1].type&&(i===T-1||T-4>i&&"whitespace"===r[T-2][1].type)&&(T-=i+1===T?2:4),T>i&&(e={type:"atxHeadingText",start:r[i][1].start,end:r[T][1].end},t={type:"chunkText",start:r[i][1].start,end:r[T][1].end,contentType:"text"},a(r,i,T-i+1,[["enter",e,n],["enter",t,n],["exit",t,n],["exit",e,n]])),r}}},12651:(r,n,e)=>{"use strict";var t=e(63250),T=e(73718),i=e(24772),a=e(10014),o=e(13848),s=e(13740),E=e(31926),A=e(86035),u=e(31797),c={tokenize:function(r,n,e){return function(t){return r.exit("htmlFlowData"),r.enter("lineEndingBlank"),r.consume(t),r.exit("lineEndingBlank"),r.attempt(u,n,e)}},partial:!0};r.exports={name:"htmlFlow",tokenize:function(r,n,e){var u,D,l,S,R,F=this;return function(n){return r.enter("htmlFlow"),r.enter("htmlFlowData"),r.consume(n),N};function N(T){return 33===T?(r.consume(T),O):47===T?(r.consume(T),f):63===T?(r.consume(T),u=3,F.interrupt?n:w):t(T)?(r.consume(T),l=s(T),D=!0,m):e(T)}function O(T){return 45===T?(r.consume(T),u=2,h):91===T?(r.consume(T),u=5,l="CDATA[",S=0,d):t(T)?(r.consume(T),u=4,F.interrupt?n:w):e(T)}function h(t){return 45===t?(r.consume(t),F.interrupt?n:w):e(t)}function d(t){return t===l.charCodeAt(S++)?(r.consume(t),S===l.length?F.interrupt?n:b:d):e(t)}function f(n){return t(n)?(r.consume(n),l=s(n),m):e(n)}function m(t){return null===t||47===t||62===t||a(t)?47!==t&&D&&A.indexOf(l.toLowerCase())>-1?(u=1,F.interrupt?n(t):b(t)):E.indexOf(l.toLowerCase())>-1?(u=6,47===t)?(r.consume(t),Y):F.interrupt?n(t):b(t):(u=7,F.interrupt?e(t):D?M(t):function n(e){return o(e)?(r.consume(e),n):v(e)}(t)):45===t||T(t)?(r.consume(t),l+=s(t),m):e(t)}function Y(t){return 62===t?(r.consume(t),F.interrupt?n:b):e(t)}function M(n){return 47===n?(r.consume(n),v):58===n||95===n||t(n)?(r.consume(n),Z):o(n)?(r.consume(n),M):v(n)}function Z(n){return 45===n||46===n||58===n||95===n||T(n)?(r.consume(n),Z):g(n)}function g(n){return 61===n?(r.consume(n),B):o(n)?(r.consume(n),g):M(n)}function B(n){return null===n||60===n||61===n||62===n||96===n?e(n):34===n||39===n?(r.consume(n),R=n,y):o(n)?(r.consume(n),B):(R=void 0,function n(e){return null===e||34===e||39===e||60===e||61===e||62===e||96===e||a(e)?g(e):(r.consume(e),n)}(n))}function y(n){return n===R?(r.consume(n),I):null===n||i(n)?e(n):(r.consume(n),y)}function I(r){return 47===r||62===r||o(r)?M(r):e(r)}function v(n){return 62===n?(r.consume(n),L):e(n)}function L(n){return o(n)?(r.consume(n),L):null===n||i(n)?b(n):e(n)}function b(n){return 45===n&&2===u?(r.consume(n),x):60===n&&1===u?(r.consume(n),H):62===n&&4===u?(r.consume(n),C):63===n&&3===u?(r.consume(n),w):93===n&&5===u?(r.consume(n),k):i(n)&&(6===u||7===u)?r.check(c,C,G)(n):null===n||i(n)?G(n):(r.consume(n),b)}function G(n){return r.exit("htmlFlowData"),function n(e){return null===e?_(e):i(e)?(r.enter("lineEnding"),r.consume(e),r.exit("lineEnding"),n):(r.enter("htmlFlowData"),b(e))}(n)}function x(n){return 45===n?(r.consume(n),w):b(n)}function H(n){return 47===n?(r.consume(n),l="",U):b(n)}function U(n){return 62===n&&A.indexOf(l.toLowerCase())>-1?(r.consume(n),C):t(n)&&l.length<8?(r.consume(n),l+=s(n),U):b(n)}function k(n){return 93===n?(r.consume(n),w):b(n)}function w(n){return 62===n?(r.consume(n),C):b(n)}function C(n){return null===n||i(n)?(r.exit("htmlFlowData"),_(n)):(r.consume(n),C)}function _(e){return r.exit("htmlFlow"),n(e)}},resolveTo:function(r){for(var n=r.length;n--&&("enter"!==r[n][0]||"htmlFlow"!==r[n][1].type););return n>1&&"linePrefix"===r[n-2][1].type&&(r[n][1].start=r[n-2][1].start,r[n+1][1].start=r[n-2][1].start,r.splice(n-2,2)),r},concrete:!0}},43622:(r,n,e)=>{"use strict";var t=e(63250),T=e(73718),i=e(24772),a=e(10014),o=e(13848),s=e(66262);r.exports={name:"htmlText",tokenize:function(r,n,e){var E,A,u,c,D=this;return function(n){return r.enter("htmlText"),r.enter("htmlTextData"),r.consume(n),l};function l(n){return 33===n?(r.consume(n),S):47===n?(r.consume(n),B):63===n?(r.consume(n),Z):t(n)?(r.consume(n),I):e(n)}function S(n){return 45===n?(r.consume(n),R):91===n?(r.consume(n),A="CDATA[",u=0,d):t(n)?(r.consume(n),M):e(n)}function R(n){return 45===n?(r.consume(n),F):e(n)}function F(n){return null===n||62===n?e(n):45===n?(r.consume(n),N):O(n)}function N(r){return null===r||62===r?e(r):O(r)}function O(n){return null===n?e(n):45===n?(r.consume(n),h):i(n)?(c=O,U(n)):(r.consume(n),O)}function h(n){return 45===n?(r.consume(n),w):O(n)}function d(n){return n===A.charCodeAt(u++)?(r.consume(n),u===A.length?f:d):e(n)}function f(n){return null===n?e(n):93===n?(r.consume(n),m):i(n)?(c=f,U(n)):(r.consume(n),f)}function m(n){return 93===n?(r.consume(n),Y):f(n)}function Y(n){return 62===n?w(n):93===n?(r.consume(n),Y):f(n)}function M(n){return null===n||62===n?w(n):i(n)?(c=M,U(n)):(r.consume(n),M)}function Z(n){return null===n?e(n):63===n?(r.consume(n),g):i(n)?(c=Z,U(n)):(r.consume(n),Z)}function g(r){return 62===r?w(r):Z(r)}function B(n){return t(n)?(r.consume(n),y):e(n)}function y(n){return 45===n||T(n)?(r.consume(n),y):function n(e){return i(e)?(c=n,U(e)):o(e)?(r.consume(e),n):w(e)}(n)}function I(n){return 45===n||T(n)?(r.consume(n),I):47===n||62===n||a(n)?v(n):e(n)}function v(n){return 47===n?(r.consume(n),w):58===n||95===n||t(n)?(r.consume(n),L):i(n)?(c=v,U(n)):o(n)?(r.consume(n),v):w(n)}function L(n){return 45===n||46===n||58===n||95===n||T(n)?(r.consume(n),L):function n(e){return 61===e?(r.consume(e),b):i(e)?(c=n,U(e)):o(e)?(r.consume(e),n):v(e)}(n)}function b(n){return null===n||60===n||61===n||62===n||96===n?e(n):34===n||39===n?(r.consume(n),E=n,G):i(n)?(c=b,U(n)):o(n)?(r.consume(n),b):(r.consume(n),E=void 0,H)}function G(n){return n===E?(r.consume(n),x):null===n?e(n):i(n)?(c=G,U(n)):(r.consume(n),G)}function x(r){return 62===r||47===r||a(r)?v(r):e(r)}function H(n){return null===n||34===n||39===n||60===n||61===n||96===n?e(n):62===n||a(n)?v(n):(r.consume(n),H)}function U(n){return r.exit("htmlTextData"),r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),s(r,k,"linePrefix",D.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function k(n){return r.enter("htmlTextData"),c(n)}function w(t){return 62===t?(r.consume(t),r.exit("htmlTextData"),r.exit("htmlText"),n):e(t)}}}},79805:(r,n,e)=>{"use strict";var t=e(10014),T=e(98610),i=e(27808),a=e(71655),o=e(15802),s=e(77379),E=e(78418),A=e(73251),u=e(22957),c=e(66384),D={tokenize:function(r,n,e){return function(n){return r.enter("resource"),r.enter("resourceMarker"),r.consume(n),r.exit("resourceMarker"),c(r,T)};function T(n){return 41===n?o(n):E(r,i,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(n)}function i(n){return t(n)?c(r,a)(n):o(n)}function a(n){return 34===n||39===n||40===n?u(r,c(r,o),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(n):o(n)}function o(t){return 41===t?(r.enter("resourceMarker"),r.consume(t),r.exit("resourceMarker"),r.exit("resource"),n):e(t)}}},l={tokenize:function(r,n,e){var t=this;return function(n){return A.call(t,r,T,e,"reference","referenceMarker","referenceString")(n)};function T(r){return 0>t.parser.defined.indexOf(a(t.sliceSerialize(t.events[t.events.length-1][1]).slice(1,-1)))?e(r):n(r)}}},S={tokenize:function(r,n,e){return function(n){return r.enter("reference"),r.enter("referenceMarker"),r.consume(n),r.exit("referenceMarker"),t};function t(t){return 93===t?(r.enter("referenceMarker"),r.consume(t),r.exit("referenceMarker"),r.exit("reference"),n):e(t)}}};r.exports={name:"labelEnd",tokenize:function(r,n,e){for(var t,T,i=this,o=i.events.length;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){t=i.events[o][1];break}return function(n){return t?t._inactive?E(n):(T=i.parser.defined.indexOf(a(i.sliceSerialize({start:t.end,end:i.now()})))>-1,r.enter("labelEnd"),r.enter("labelMarker"),r.consume(n),r.exit("labelMarker"),r.exit("labelEnd"),s):e(n)};function s(e){return 40===e?r.attempt(D,n,T?n:E)(e):91===e?r.attempt(l,n,T?r.attempt(S,n,E):E)(e):T?n(e):E(e)}function E(r){return t._balanced=!0,e(r)}},resolveTo:function(r,n){for(var e,t,a,E,A,u,c,D=r.length,l=0;D--;)if(E=r[D][1],A){if("link"===E.type||"labelLink"===E.type&&E._inactive)break;"enter"===r[D][0]&&"labelLink"===E.type&&(E._inactive=!0)}else if(u){if("enter"===r[D][0]&&("labelImage"===E.type||"labelLink"===E.type)&&!E._balanced&&(A=D,"labelLink"!==E.type)){l=2;break}}else"labelEnd"===E.type&&(u=D);return e={type:"labelLink"===r[A][1].type?"link":"image",start:s(r[A][1].start),end:s(r[r.length-1][1].end)},t={type:"label",start:s(r[A][1].start),end:s(r[u][1].end)},a={type:"labelText",start:s(r[A+l+2][1].end),end:s(r[u-2][1].start)},c=T(c=[["enter",e,n],["enter",t,n]],r.slice(A+1,A+l+3)),c=T(c,[["enter",a,n]]),c=T(c,o(n.parser.constructs.insideSpan.null,r.slice(A+l+4,u-3),n)),c=T(c,[["exit",a,n],r[u-2],r[u-1],["exit",t,n]]),c=T(c,r.slice(u+1)),c=T(c,[["exit",e,n]]),i(r,A,r.length,c),r},resolveAll:function(r){for(var n,e=-1;++e{"use strict";var t={name:"labelStartImage",tokenize:function(r,n,e){var t=this;return function(n){return r.enter("labelImage"),r.enter("labelImageMarker"),r.consume(n),r.exit("labelImageMarker"),T};function T(n){return 91===n?(r.enter("labelMarker"),r.consume(n),r.exit("labelMarker"),r.exit("labelImage"),i):e(n)}function i(r){return 94===r&&"_hiddenFootnoteSupport"in t.parser.constructs?e(r):n(r)}},resolveAll:e(79805).resolveAll};r.exports=t},14726:(r,n,e)=>{"use strict";var t={name:"labelStartLink",tokenize:function(r,n,e){var t=this;return function(n){return r.enter("labelLink"),r.enter("labelMarker"),r.consume(n),r.exit("labelMarker"),r.exit("labelLink"),T};function T(r){return 94===r&&"_hiddenFootnoteSupport"in t.parser.constructs?e(r):n(r)}},resolveAll:e(79805).resolveAll};r.exports=t},33824:(r,n,e)=>{"use strict";var t=e(66262);r.exports={name:"lineEnding",tokenize:function(r,n){return function(e){return r.enter("lineEnding"),r.consume(e),r.exit("lineEnding"),t(r,n,"linePrefix")}}}},98365:(r,n,e)=>{"use strict";var t=e(69885),T=e(13848),i=e(66306),a=e(5481),o=e(66262),s=e(31797),E=e(9703),A={name:"list",tokenize:function(r,n,e){var o=this,A=i(o.events,"linePrefix"),c=0;return function(n){var T=o.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===T?!o.containerState.marker||n===o.containerState.marker:t(n)){if(o.containerState.type||(o.containerState.type=T,r.enter(T,{_container:!0})),"listUnordered"===T)return r.enter("listItemPrefix"),42===n||45===n?r.check(E,e,D)(n):D(n);if(!o.interrupt||49===n)return r.enter("listItemPrefix"),r.enter("listItemValue"),function n(T){return t(T)&&++c<10?(r.consume(T),n):(!o.interrupt||c<2)&&(o.containerState.marker?T===o.containerState.marker:41===T||46===T)?(r.exit("listItemValue"),D(T)):e(T)}(n)}return e(n)};function D(n){return r.enter("listItemMarker"),r.consume(n),r.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||n,r.check(s,o.interrupt?e:l,r.attempt(u,R,S))}function l(r){return o.containerState.initialBlankLine=!0,A++,R(r)}function S(n){return T(n)?(r.enter("listItemPrefixWhitespace"),r.consume(n),r.exit("listItemPrefixWhitespace"),R):e(n)}function R(e){return o.containerState.size=A+a(o.sliceStream(r.exit("listItemPrefix"))),n(e)}},continuation:{tokenize:function(r,n,e){var t=this;return t.containerState._closeFlow=void 0,r.check(s,function(e){return t.containerState.furtherBlankLines=t.containerState.furtherBlankLines||t.containerState.initialBlankLine,o(r,n,"listItemIndent",t.containerState.size+1)(e)},function(e){return t.containerState.furtherBlankLines||!T(e)?(t.containerState.furtherBlankLines=t.containerState.initialBlankLine=void 0,i(e)):(t.containerState.furtherBlankLines=t.containerState.initialBlankLine=void 0,r.attempt(c,n,i)(e))});function i(T){return t.containerState._closeFlow=!0,t.interrupt=void 0,o(r,r.attempt(A,n,e),"linePrefix",t.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(T)}}},exit:function(r){r.exit(this.containerState.type)}},u={tokenize:function(r,n,e){var t=this;return o(r,function(r){return T(r)||!i(t.events,"listItemPrefixWhitespace")?e(r):n(r)},"listItemPrefixWhitespace",t.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},c={tokenize:function(r,n,e){var t=this;return o(r,function(r){return i(t.events,"listItemIndent")===t.containerState.size?n(r):e(r)},"listItemIndent",t.containerState.size+1)},partial:!0};r.exports=A},31797:(r,n,e)=>{"use strict";var t=e(24772),T=e(66262);r.exports={tokenize:function(r,n,e){return T(r,function(r){return null===r||t(r)?n(r):e(r)},"linePrefix")},partial:!0}},98810:(r,n,e)=>{"use strict";var t=e(24772),T=e(77379),i=e(66262);r.exports={name:"setextUnderline",tokenize:function(r,n,e){for(var T,a,o=this,s=o.events.length;s--;)if("lineEnding"!==o.events[s][1].type&&"linePrefix"!==o.events[s][1].type&&"content"!==o.events[s][1].type){a="paragraph"===o.events[s][1].type;break}return function(n){return!o.lazy&&(o.interrupt||a)?(r.enter("setextHeadingLine"),r.enter("setextHeadingLineSequence"),T=n,function n(e){return e===T?(r.consume(e),n):(r.exit("setextHeadingLineSequence"),i(r,E,"lineSuffix")(e))}(n)):e(n)};function E(T){return null===T||t(T)?(r.exit("setextHeadingLine"),n(T)):e(T)}},resolveTo:function(r,n){for(var e,t,i,a,o=r.length;o--;)if("enter"===r[o][0]){if("content"===r[o][1].type){e=o;break}"paragraph"===r[o][1].type&&(t=o)}else"content"===r[o][1].type&&r.splice(o,1),i||"definition"!==r[o][1].type||(i=o);return a={type:"setextHeading",start:T(r[t][1].start),end:T(r[r.length-1][1].end)},r[t][1].type="setextHeadingText",i?(r.splice(t,0,["enter",a,n]),r.splice(i+1,0,["exit",r[e][1],n]),r[e][1].end=T(r[i][1].end)):r[e][1]=a,r.push(["exit",a,n]),r}}},9703:(r,n,e)=>{"use strict";var t=e(24772),T=e(13848),i=e(66262);r.exports={name:"thematicBreak",tokenize:function(r,n,e){var a,o=0;return function(s){return r.enter("thematicBreak"),a=s,function s(E){return E===a?(r.enter("thematicBreakSequence"),function n(e){return e===a?(r.consume(e),o++,n):(r.exit("thematicBreakSequence"),s(e))}(E)):T(E)?i(r,s,"whitespace")(E):o<3||null!==E&&!t(E)?e(E):(r.exit("thematicBreak"),n(E))}(s)}}}},98610:(r,n,e)=>{"use strict";var t=e(27808);r.exports=function(r,n){return r.length?(t(r,r.length,0,n),r):n}},27808:(r,n,e)=>{"use strict";var t=e(75342);r.exports=function(r,n,e,T){var i,a=r.length,o=0;if(n=n<0?-n>a?0:a+n:n>a?a:n,e=e>0?e:0,T.length<1e4)(i=Array.from(T)).unshift(n,e),t.apply(r,i);else for(e&&t.apply(r,[n,e]);o{"use strict";var t=e(10014),T=e(59179),i=e(67138);r.exports=function(r){return null===r||t(r)||i(r)?1:T(r)?2:void 0}},80061:(r,n,e)=>{"use strict";var t=e(92952),T=e(27808),i=e(69458);r.exports=function(r){for(var n={},e=-1;++e{"use strict";var t=e(74753),T=e(24772),i=e(98610),a=e(27808),o=e(69458),s=e(15802),E=e(89073),A=e(77379),u=e(59393);r.exports=function(r,n,e){var c=e?A(e):{line:1,column:1,offset:0},D={},l=[],S=[],R=[],F={consume:function(r){T(r)?(c.line++,c.column=1,c.offset+=-3===r?2:1,M()):-1!==r&&(c.column++,c.offset++),c._bufferIndex<0?c._index++:(c._bufferIndex++,c._bufferIndex===S[c._index].length&&(c._bufferIndex=-1,c._index++)),N.previous=r},enter:function(r,n){var e=n||{};return e.type=r,e.start=d(),N.events.push(["enter",e,N]),R.push(e),e},exit:function(r){var n=R.pop();return n.end=d(),N.events.push(["exit",n,N]),n},attempt:m(function(r,n){Y(r,n.from)}),check:m(f),interrupt:m(f,{interrupt:!0}),lazy:m(f,{lazy:!0})},N={previous:null,events:[],parser:r,sliceStream:h,sliceSerialize:function(r){return E(h(r))},now:d,defineSkip:function(r){D[r.line]=r.column,M()},write:function(r){return(S=i(S,r),function(){for(var r,n,e;c._index-1)?S():r.tokenize.call(n?t({},N,n):N,F,l,S)(e)}}function l(n){return r(E,A),T}function S(r){return(A.restore(),++sl.indexOf(r)&&l.push(r),r.resolve&&a(N.events,n,N.events.length-n,r.resolve(N.events.slice(n),N)),r.resolveTo&&(N.events=r.resolveTo(N.events,N))}function M(){c.line in D&&c.column<2&&(c.column=D[c.line],c.offset+=D[c.line]-1)}}},69458:r=>{"use strict";r.exports=function(r){return null==r?[]:"length"in r?r:[r]}},77934:r=>{"use strict";r.exports=function(r,n){return r.column+=n,r.offset+=n,r._bufferIndex+=n,r}},71655:r=>{"use strict";r.exports=function(r){return r.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},66306:(r,n,e)=>{"use strict";var t=e(5481);r.exports=function(r,n){var e=r[r.length-1];return e&&e[1].type===n?t(e[2].sliceStream(e[1])):0}},87613:(r,n,e)=>{"use strict";var t=e(13740);r.exports=function(r){return function(n){return r.test(t(n))}}},15802:r=>{"use strict";r.exports=function(r,n,e){for(var t,T=[],i=-1;++iT.indexOf(t)&&(n=t(n,e),T.push(t));return n}},41129:(r,n,e)=>{"use strict";var t=e(13740);r.exports=function(r,n){var e=parseInt(r,n);return e<9||11===e||e>13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(65535&e)==65535||(65535&e)==65534||e>1114111?"�":t(e)}},89073:(r,n,e)=>{"use strict";var t=e(13740);r.exports=function(r){for(var n,e,T,i=-1,a=[];++i{"use strict";var t=e(74753);r.exports=function(r){return t({},r)}},5481:r=>{"use strict";r.exports=function(r){for(var n=-1,e=0;++n{"use strict";r.exports=function(r,n){var e,t=n.start._index,T=n.start._bufferIndex,i=n.end._index,a=n.end._bufferIndex;return t===i?e=[r[t].slice(T,a)]:(e=r.slice(t,i),T>-1&&(e[0]=e[0].slice(T)),a>0&&e.push(r[i].slice(0,a))),e}},61368:(r,n,e)=>{"use strict";var t=e(74753),T=e(27808),i=e(77379);r.exports=function(r){for(var n,e,a,o,s,E,A,u={},c=-1;++c{"use strict";var t=e(17577),T=e(72157),i=e(16777);function a(r,n){for(var e in n)void 0!==n[e]&&(r[e]=n[e])}function o(r){var n=r.spread;return null==n?r.children.length>1:n}r.exports=function r(n,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},E=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,A=e.renderers[n.type];n.position||(n.position={start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}});var u=n.position.start,c=[n.type,u.line,u.column,E].join("-");if(!i.isValidElementType(A))throw Error("Renderer for type `".concat(n.type,"` not defined or is not renderable"));var D=function(n,e,i,s,E,A){var u,c,D={key:e},l="string"==typeof s||s===t.Fragment;i.sourcePos&&n.position&&(D["data-sourcepos"]=[(u=n.position).start.line,":",u.start.column,"-",u.end.line,":",u.end.column].map(String).join("")),i.rawSourcePos&&!l&&(D.sourcePosition=n.position),i.includeNodeIndex&&E.node&&E.node.children&&!l&&(D.index=E.node.children.indexOf(n),D.parentChildCount=E.node.children.length);var S=null!==n.identifier&&void 0!==n.identifier?i.definitions[n.identifier.toUpperCase()]||{}:null;switch(n.type){case"root":a(D,{className:i.className});break;case"text":D.nodeKey=e,D.children=n.value;break;case"heading":D.level=n.depth;break;case"list":D.start=n.start,D.ordered=n.ordered,D.spread=n.spread,D.depth=n.depth;break;case"listItem":D.checked=n.checked,D.spread=n.spread,D.ordered=n.ordered,D.index=n.index,D.children=((E&&E.node?function(r){for(var n=r.children,e=r.spread,t=-1;!e&&++t{"use strict";var t=e(47495);r.exports=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(r,"definition",function(r){var e=r.identifier.toUpperCase();e in n||(n[e]={href:r.url,title:r.title})}),n}},2368:(r,n,e)=>{"use strict";var t=e(47495),T=[].splice;function i(r,n){return function(r){return t(r,e),r};function e(e,t,i){if(i&&!r(e,t,i)){var a=[t,1];return"unwrap"===n&&e.children&&(a=a.concat(e.children)),T.apply(i.children,a),t}}}n.ofType=function(r,n){return i(function(n,e,t){return!r.includes(n.type)},n)},n.ifNotMatch=i},21499:(r,n,e)=>{"use strict";var t=e(47495),T="virtualHtml",i=/^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\s*\/?>$/i,a=/^<(\/?)([a-z]+)\s*>$/;r.exports=function(r){var n,e;return t(r,"html",function(r,t,o){e!==o&&(n=[],e=o);var s,E,A,u,c=!!(s=r.value.match(i))&&s[1];if(c)return o.children.splice(t,1,{type:T,tag:c,position:r.position}),!0;var D=!!(E=r.value.match(a))&&{tag:E[2],opening:!E[1],node:r};if(!D)return!0;var l=function(r,n){for(var e=r.length;e--;)if(r[e].tag===n)return r.splice(e,1)[0];return!1}(n,D.tag);return l?o.children.splice(t,0,(A=o.children.indexOf(D.node),u=o.children.indexOf(l.node),{type:T,children:o.children.splice(A,u-A+1).slice(1,-1),tag:D.tag,position:{start:D.node.position.start,end:l.node.position.end,indent:[]}})):D.opening||n.push(D),!0},!0),r}},71108:(r,n,e)=>{"use strict";var t=e(72157),T=e(87268),i=e(37792),a=e(78439),o=e(91981),s=e(21499),E=e(2368),A=e(53435),u=e(88431),c=e(16052),D=e(86660),l=e(72647),S=e(14741),R=Object.keys(l),F=function(r){var n,e,a,D,F,N=r.source||r.children||"";if(r.allowedTypes&&r.disallowedTypes)throw Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");var O=t(l,r.renderers),h=T().use(i).use(r.plugins||[]),d=h.runSync(h.parse(N)),f=t(r,{renderers:O,definitions:c(d)});return(n=[u,o()],e=r.disallowedTypes,r.allowedTypes&&(e=R.filter(function(n){return"root"!==n&&-1===r.allowedTypes.indexOf(n)})),a=r.unwrapDisallowed?"unwrap":"remove",e&&e.length>0&&n.push(E.ofType(e,a)),r.allowNode&&n.push(E.ifNotMatch(r.allowNode,a)),D=(r.allowDangerousHtml||!1===r.escapeHtml)&&!r.skipHtml,F=(r.astPlugins||[]).some(function(r){return r.identity===S.HtmlParser}),D&&!F&&n.push(s),r.astPlugins&&(n=n.concat(r.astPlugins)),n.push(A),n).forEach(function(r){d=r(d,f)}),d};F.defaultProps={transformLinkUri:D},F.propTypes={className:a.string,source:a.string,children:a.string,sourcePos:a.bool,rawSourcePos:a.bool,escapeHtml:a.bool,allowDangerousHtml:a.bool,skipHtml:a.bool,allowNode:a.func,allowedTypes:a.arrayOf(a.oneOf(R)),disallowedTypes:a.arrayOf(a.oneOf(R)),transformLinkUri:a.oneOfType([a.func,a.bool]),linkTarget:a.oneOfType([a.func,a.string]),transformImageUri:a.func,astPlugins:a.arrayOf(a.func),unwrapDisallowed:a.bool,renderers:a.object,plugins:a.array},F.types=R,F.renderers=l,F.uriTransformer=D,r.exports=F},72647:(r,n,e)=>{"use strict";var t=e(72157),T=e(17577),i=parseInt((T.version||"16").slice(0,2),10)>=16,a=T.createElement;function o(r,n){return a(r,s(n),n.children)}function s(r){var n=r["data-sourcepos"];return n?{"data-sourcepos":n}:{}}r.exports={break:"br",paragraph:"p",emphasis:"em",strong:"strong",thematicBreak:"hr",blockquote:"blockquote",delete:"del",link:"a",image:"img",linkReference:"a",imageReference:"img",table:o.bind(null,"table"),tableHead:o.bind(null,"thead"),tableBody:o.bind(null,"tbody"),tableRow:o.bind(null,"tr"),tableCell:function(r){var n=r.align?{textAlign:r.align}:void 0,e=s(r);return a(r.isHeader?"th":"td",n?t({style:n},e):e,r.children)},root:function(r){var n=r.className;return a(!n&&T.Fragment||"div",n?{className:n}:null,r.children)},text:function(r){var n=r.children||"";return i?n:a("span",null,n)},list:function(r){var n=s(r);return null!==r.start&&1!==r.start&&void 0!==r.start&&(n.start=r.start.toString()),a(r.ordered?"ol":"ul",n,r.children)},listItem:function(r){var n=null;return null!==r.checked&&void 0!==r.checked&&(n=a("input",{type:"checkbox",checked:r.checked,readOnly:!0})),a("li",s(r),n,r.children)},definition:function(){return null},heading:function(r){return a("h".concat(r.level),s(r),r.children)},inlineCode:function(r){return a("code",s(r),r.children)},code:function(r){var n=r.language&&"language-".concat(r.language),e=a("code",n?{className:n}:null,r.value);return a("pre",s(r),e)},html:function(r){if(r.skipHtml)return null;var n=r.allowDangerousHtml||!1===r.escapeHtml,e=r.isBlock?"div":"span";return n?a(e,{dangerouslySetInnerHTML:{__html:r.value}}):a(T.Fragment||e,null,r.value)},virtualHtml:function(r){return a(r.tag,s(r),r.children)},parsedHtml:function(r){return r["data-sourcepos"]?T.cloneElement(r.element,{"data-sourcepos":r["data-sourcepos"]}):r.element}}},14741:(r,n)=>{"use strict";var e="__RMD_HTML_PARSER__";n.HtmlParser="undefined"==typeof Symbol?e:Symbol(e)},86660:r=>{"use strict";var n=["http","https","mailto","tel"];r.exports=function(r){var e=(r||"").trim(),t=e.charAt(0);if("#"===t||"/"===t)return e;var T=e.indexOf(":");if(-1===T)return e;for(var i=n.length,a=-1;++aa||-1!==(a=e.indexOf("#"))&&T>a?e:"javascript:void(0)"}},88431:(r,n,e)=>{"use strict";var t=e(47495);function T(r){var n=r.children;r.children=[{type:"tableHead",align:r.align,children:[n[0]],position:n[0].position}],n.length>1&&r.children.push({type:"tableBody",align:r.align,children:n.slice(1),position:{start:n[1].position.start,end:n[n.length-1].position.end}})}r.exports=function(r){return t(r,"table",T),r}},37792:(r,n,e)=>{"use strict";r.exports=function(r){var n=this;this.Parser=function(e){return t(e,Object.assign({},n.data("settings"),r,{extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]}))}};var t=e(69799)},41698:(r,n,e)=>{"use strict";var t=e(17114);r.exports=i,i.wrap=t;var T=[].slice;function i(){var r=[],n={};return n.run=function(){var n=-1,e=T.call(arguments,0,-1),i=arguments[arguments.length-1];if("function"!=typeof i)throw Error("Expected function as last argument, not "+i);(function a(o){var s=r[++n],E=T.call(arguments,0),A=E.slice(1),u=e.length,c=-1;if(o){i(o);return}for(;++c{"use strict";var n=[].slice;r.exports=function(r,e){var t;return function(){var e,a=n.call(arguments,0),o=r.length>a.length;o&&a.push(T);try{e=r.apply(null,a)}catch(r){if(o&&t)throw r;return T(r)}o||(e&&"function"==typeof e.then?e.then(i,T):e instanceof Error?T(e):i(e))};function T(){t||(t=!0,e.apply(null,arguments))}function i(r){T(null,r)}}},87268:(r,n,e)=>{"use strict";var t=e(32455),T=e(98238),i=e(71771),a=e(24679),o=e(41698),s=e(85885);r.exports=(function r(){var n,e=[],T=o(),N={},O=-1;return h.data=function(r,e){return"string"==typeof r?2==arguments.length?(S("data",n),N[r]=e,h):A.call(N,r)&&N[r]||null:r?(S("data",n),N=r,h):N},h.freeze=d,h.attachers=e,h.use=function(r){var t;if(S("use",n),null==r);else if("function"==typeof r)s.apply(null,arguments);else if("object"==typeof r)"length"in r?o(r):T(r);else throw Error("Expected usable value, not `"+r+"`");return t&&(N.settings=i(N.settings||{},t)),h;function T(r){o(r.plugins),r.settings&&(t=i(t||{},r.settings))}function o(r){var n=-1;if(null==r);else if("object"==typeof r&&"length"in r)for(;++n{"use strict";function n(){return!0}r.exports=function r(e){if(null==e)return n;if("string"==typeof e)return function(r){return!!(r&&r.type===e)};if("object"==typeof e)return"length"in e?function(n){for(var e=[],t=-1;++t{"use strict";var n={}.hasOwnProperty;function e(r){return r&&"object"==typeof r||(r={}),T(r.line)+":"+T(r.column)}function t(r){return r&&"object"==typeof r||(r={}),e(r.start)+"-"+e(r.end)}function T(r){return r&&"number"==typeof r?r:1}r.exports=function(r){return r&&"object"==typeof r?n.call(r,"position")||n.call(r,"type")?t(r.position):n.call(r,"start")||n.call(r,"end")?t(r):n.call(r,"line")||n.call(r,"column")?e(r):"":""}},26143:r=>{r.exports=function(r){return"\x1b[33m"+r+"\x1b[39m"}},13959:(r,n,e)=>{"use strict";r.exports=a;var t=e(27574),T=e(26143),i="skip";function a(r,n,e,a){var o,s;"function"==typeof n&&"function"!=typeof e&&(a=e,e=n,n=null),s=t(n),o=a?-1:1,(function r(t,E,A){var u,c="object"==typeof t&&null!==t?t:{};return"string"==typeof c.type&&(u="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,D.displayName="node ("+T(c.type+(u?"<"+u+">":""))+")"),D;function D(){var T,u,c,D=A.concat(t),l=[];if((!n||s(t,E,A[A.length-1]||null))&&!1===(l=null!==(T=e(t,A))&&"object"==typeof T&&"length"in T?T:"number"==typeof T?[!0,T]:[T])[0])return l;if(t.children&&l[0]!==i)for(c=(a?t.children.length:-1)+o;c>-1&&c{"use strict";r.exports=o;var t=e(13959),T=t.CONTINUE,i=t.SKIP,a=t.EXIT;function o(r,n,e,T){"function"==typeof n&&"function"!=typeof e&&(T=e,e=n,n=null),t(r,n,function(r,n){var t=n[n.length-1],T=t?t.children.indexOf(r):null;return e(r,T,t)},T)}o.CONTINUE=T,o.SKIP=i,o.EXIT=a},75784:(r,n,e)=>{"use strict";var t=e(87814);function T(){}r.exports=a,T.prototype=Error.prototype,a.prototype=new T;var i=a.prototype;function a(r,n,e){var T,i,a,o,s;"string"==typeof n&&(e=n,n=null),s=[null,null],"string"==typeof(a=e)&&(-1===(o=a.indexOf(":"))?s[1]=a:(s[0]=a.slice(0,o),s[1]=a.slice(o+1))),T=t(n)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},n&&n.position&&(n=n.position),n&&(n.start?(i=n,n=n.start):i.start=n),r.stack&&(this.stack=r.stack,r=r.message),this.message=r,this.name=T,this.reason=r,this.line=n?n.line:null,this.column=n?n.column:null,this.location=i,this.source=s[0],this.ruleId=s[1]}i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null},85885:(r,n,e)=>{"use strict";r.exports=e(20759)},37824:(r,n,e)=>{"use strict";var t=e(60394),T=e(50248),i=e(98238);r.exports=s;var a={}.hasOwnProperty,o=["history","path","basename","stem","extname","dirname"];function s(r){var n,e;if(r){if("string"==typeof r||i(r))r={contents:r};else if("message"in r&&"messages"in r)return r}else r={};if(!(this instanceof s))return new s(r);for(this.data={},this.messages=[],this.history=[],this.cwd=T.cwd(),e=-1;++eo.indexOf(n)&&(this[n]=r[n])}function E(r,n){if(r&&r.indexOf(t.sep)>-1)throw Error("`"+n+"` cannot be a path: did not expect `"+t.sep+"`")}function A(r,n){if(!r)throw Error("`"+n+"` cannot be empty")}function u(r,n){if(!r)throw Error("Setting `"+n+"` requires `path` to be set too")}s.prototype.toString=function(r){return(this.contents||"").toString(r)},Object.defineProperty(s.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(r){A(r,"path"),this.path!==r&&this.history.push(r)}}),Object.defineProperty(s.prototype,"dirname",{get:function(){return"string"==typeof this.path?t.dirname(this.path):void 0},set:function(r){u(this.path,"dirname"),this.path=t.join(r||"",this.basename)}}),Object.defineProperty(s.prototype,"basename",{get:function(){return"string"==typeof this.path?t.basename(this.path):void 0},set:function(r){A(r,"basename"),E(r,"basename"),this.path=t.join(this.dirname||"",r)}}),Object.defineProperty(s.prototype,"extname",{get:function(){return"string"==typeof this.path?t.extname(this.path):void 0},set:function(r){if(E(r,"extname"),u(this.path,"extname"),r){if(46!==r.charCodeAt(0))throw Error("`extname` must start with `.`");if(r.indexOf(".",1)>-1)throw Error("`extname` cannot contain multiple dots")}this.path=t.join(this.dirname,this.stem+(r||""))}}),Object.defineProperty(s.prototype,"stem",{get:function(){return"string"==typeof this.path?t.basename(this.path,this.extname):void 0},set:function(r){A(r,"stem"),E(r,"stem"),this.path=t.join(this.dirname||"",r+(this.extname||""))}})},20759:(r,n,e)=>{"use strict";var t=e(75784),T=e(37824);r.exports=T,T.prototype.message=function(r,n,e){var T=new t(r,n,e);return this.path&&(T.name=this.path+":"+T.name,T.file=this.path),T.fatal=!1,this.messages.push(T),T},T.prototype.info=function(){var r=this.message.apply(this,arguments);return r.fatal=null,r},T.prototype.fail=function(){var r=this.message.apply(this,arguments);throw r.fatal=!0,r}},60394:(r,n,e)=>{"use strict";r.exports=e(71017)},50248:r=>{"use strict";r.exports=process},9177:(r,n,e)=>{"use strict";var t=e(62279);r.exports=function(r){return!!T.call(t,r)&&t[r]};var T={}.hasOwnProperty},20745:(r,n)=>{"use strict";/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,T=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,E=e?Symbol.for("react.context"):60110,A=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,D=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,F=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function d(r){if("object"==typeof r&&null!==r){var n=r.$$typeof;switch(n){case t:switch(r=r.type){case A:case u:case i:case o:case a:case D:return r;default:switch(r=r&&r.$$typeof){case E:case c:case R:case S:case s:return r;default:return n}}case T:return n}}}function f(r){return d(r)===u}n.AsyncMode=A,n.ConcurrentMode=u,n.ContextConsumer=E,n.ContextProvider=s,n.Element=t,n.ForwardRef=c,n.Fragment=i,n.Lazy=R,n.Memo=S,n.Portal=T,n.Profiler=o,n.StrictMode=a,n.Suspense=D,n.isAsyncMode=function(r){return f(r)||d(r)===A},n.isConcurrentMode=f,n.isContextConsumer=function(r){return d(r)===E},n.isContextProvider=function(r){return d(r)===s},n.isElement=function(r){return"object"==typeof r&&null!==r&&r.$$typeof===t},n.isForwardRef=function(r){return d(r)===c},n.isFragment=function(r){return d(r)===i},n.isLazy=function(r){return d(r)===R},n.isMemo=function(r){return d(r)===S},n.isPortal=function(r){return d(r)===T},n.isProfiler=function(r){return d(r)===o},n.isStrictMode=function(r){return d(r)===a},n.isSuspense=function(r){return d(r)===D},n.isValidElementType=function(r){return"string"==typeof r||"function"==typeof r||r===i||r===u||r===o||r===a||r===D||r===l||"object"==typeof r&&null!==r&&(r.$$typeof===R||r.$$typeof===S||r.$$typeof===s||r.$$typeof===E||r.$$typeof===c||r.$$typeof===N||r.$$typeof===O||r.$$typeof===h||r.$$typeof===F)},n.typeOf=d},16777:(r,n,e)=>{"use strict";r.exports=e(20745)},72157:r=>{r.exports=function(){for(var r={},e=0;e{"use strict";r.exports=JSON.parse('{"Africa/Abidjan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Accra":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Addis_Ababa":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Algiers":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Asmara":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Bamako":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Bangui":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Banjul":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Bissau":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Blantyre":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Brazzaville":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Bujumbura":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Cairo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Casablanca":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20180325T020000\\r\\nRDATE:20180325T020000\\r\\nRDATE:20180617T020000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:20180513T030000\\r\\nRDATE:20180513T030000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20190609T020000\\r\\nRDATE:20190609T020000\\r\\nRDATE:20200531T020000\\r\\nRDATE:20210516T020000\\r\\nRDATE:20220508T020000\\r\\nRDATE:20230430T020000\\r\\nRDATE:20240414T020000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20181028T030000\\r\\nRDATE:20181028T030000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:20190505T030000\\r\\nRDATE:20190505T030000\\r\\nRDATE:20200419T030000\\r\\nRDATE:20210411T030000\\r\\nRDATE:20220327T030000\\r\\nRDATE:20230319T030000\\r\\nRDATE:20240310T030000\\r\\nEND:DAYLIGHT","Africa/Ceuta":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Africa/Conakry":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Dakar":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Dar_es_Salaam":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Djibouti":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Douala":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/El_Aaiun":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20180325T020000\\r\\nRDATE:20180325T020000\\r\\nRDATE:20180617T020000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:20180513T030000\\r\\nRDATE:20180513T030000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20181028T030000\\r\\nRDATE:20181028T030000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:20190505T030000\\r\\nRDATE:20190505T030000\\r\\nRDATE:20200419T030000\\r\\nRDATE:20210411T030000\\r\\nRDATE:20220327T030000\\r\\nRDATE:20230319T030000\\r\\nRDATE:20240310T030000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20190609T020000\\r\\nRDATE:20190609T020000\\r\\nRDATE:20200531T020000\\r\\nRDATE:20210516T020000\\r\\nRDATE:20220508T020000\\r\\nRDATE:20230430T020000\\r\\nRDATE:20240414T020000\\r\\nEND:STANDARD","Africa/Freetown":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Gaborone":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Harare":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Johannesburg":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:SAST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Juba":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Kampala":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Khartoum":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Kigali":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Kinshasa":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Lagos":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Libreville":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Lome":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Luanda":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Lubumbashi":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Lusaka":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Malabo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Maputo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Maseru":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:SAST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Mbabane":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:SAST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Mogadishu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Monrovia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Nairobi":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Ndjamena":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Niamey":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Nouakchott":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Ouagadougou":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Porto-Novo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Sao_Tome":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:20180101T010000\\r\\nRDATE:20180101T010000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:20190101T020000\\r\\nRDATE:20190101T020000\\r\\nEND:STANDARD","Africa/Tripoli":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Tunis":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Windhoek":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Adak":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-1000\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:HDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-1000\\r\\nTZNAME:HST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Anchorage":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Anguilla":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Antigua":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Araguaina":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Buenos_Aires":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Catamarca":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Cordoba":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Jujuy":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/La_Rioja":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Mendoza":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Rio_Gallegos":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Salta":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/San_Juan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/San_Luis":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Tucuman":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Argentina/Ushuaia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Aruba":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Asuncion":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19701004T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700322T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=4SU\\r\\nEND:STANDARD","America/Atikokan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Bahia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Bahia_Banderas":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT","America/Barbados":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Belem":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Belize":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Blanc-Sablon":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Boa_Vista":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Bogota":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Boise":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Cambridge_Bay":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Campo_Grande":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20181104T000000\\r\\nRDATE:20181104T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20180218T000000\\r\\nRDATE:20180218T000000\\r\\nRDATE:20190217T000000\\r\\nEND:STANDARD","America/Cancun":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Caracas":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Cayenne":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Cayman":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Chicago":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Chihuahua":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","America/Costa_Rica":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Creston":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Cuiaba":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20181104T000000\\r\\nRDATE:20181104T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20180218T000000\\r\\nRDATE:20180218T000000\\r\\nRDATE:20190217T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Curacao":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Danmarkshavn":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Dawson":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:20180311T020000\\r\\nRDATE:20180311T020000\\r\\nRDATE:20190310T020000\\r\\nRDATE:20200308T020000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:20181104T020000\\r\\nRDATE:20181104T020000\\r\\nRDATE:20191103T020000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:20201101T000000\\r\\nRDATE:20201101T000000\\r\\nEND:STANDARD","America/Dawson_Creek":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Denver":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Detroit":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Dominica":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Edmonton":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Eirunepe":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/El_Salvador":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Fort_Nelson":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Fortaleza":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Glace_Bay":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Goose_Bay":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT","America/Grand_Turk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:20181104T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:20190310T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:20180311T020000\\r\\nRDATE:20180311T020000\\r\\nEND:DAYLIGHT","America/Grenada":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Guadeloupe":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Guatemala":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Guayaquil":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Guyana":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Halifax":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Havana":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT","America/Hermosillo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Indiana/Indianapolis":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Knox":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Marengo":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Petersburg":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Tell_City":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Vevay":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Vincennes":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Indiana/Winamac":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT","America/Inuvik":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Iqaluit":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Jamaica":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Juneau":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Kentucky/Louisville":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Kentucky/Monticello":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Kralendijk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/La_Paz":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Lima":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Los_Angeles":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Lower_Princes":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Maceio":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Managua":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Manaus":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Marigot":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Martinique":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Matamoros":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Mazatlan":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","America/Menominee":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Merida":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","America/Metlakatla":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:20191103T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:20181104T020000\\r\\nRDATE:20181104T020000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:20190120T020000\\r\\nRDATE:20190120T020000\\r\\nEND:STANDARD","America/Mexico_City":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","America/Miquelon":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Moncton":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Monterrey":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","America/Montevideo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Montserrat":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Nassau":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/New_York":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Nipigon":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Nome":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Noronha":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/North_Dakota/Beulah":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/North_Dakota/Center":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/North_Dakota/New_Salem":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Nuuk":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700328T220000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19701024T230000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:STANDARD","America/Ojinaga":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Panama":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Pangnirtung":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Paramaribo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Phoenix":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Port-au-Prince":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Port_of_Spain":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Porto_Velho":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Puerto_Rico":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Punta_Arenas":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Rainy_River":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Rankin_Inlet":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Recife":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Regina":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Resolute":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT","America/Rio_Branco":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Santarem":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Santiago":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20190407T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYMONTHDAY=2,3,4,5,6,7,8;BYDAY=SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20190908T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYMONTHDAY=2,3,4,5,6,7,8;BYDAY=SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20180812T000000\\r\\nRDATE:20180812T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20180513T000000\\r\\nRDATE:20180513T000000\\r\\nEND:STANDARD","America/Santo_Domingo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Sao_Paulo":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:20181104T000000\\r\\nRDATE:20181104T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20180218T000000\\r\\nRDATE:20180218T000000\\r\\nRDATE:20190217T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700101T000000\\r\\nEND:DAYLIGHT","America/Scoresbysund":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19700329T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:-0100\\r\\nTZNAME:-01\\r\\nDTSTART:19701025T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","America/Sitka":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/St_Barthelemy":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/St_Johns":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0230\\r\\nTZOFFSETTO:-0330\\r\\nTZNAME:NST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0330\\r\\nTZOFFSETTO:-0230\\r\\nTZNAME:NDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT","America/St_Kitts":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/St_Lucia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/St_Thomas":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/St_Vincent":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Swift_Current":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Tegucigalpa":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Thule":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Thunder_Bay":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Tijuana":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Toronto":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Tortola":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Vancouver":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Whitehorse":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:20180311T020000\\r\\nRDATE:20180311T020000\\r\\nRDATE:20190310T020000\\r\\nRDATE:20200308T020000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:20181104T020000\\r\\nRDATE:20181104T020000\\r\\nRDATE:20191103T020000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:20201101T000000\\r\\nRDATE:20201101T000000\\r\\nEND:STANDARD","America/Winnipeg":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Yakutat":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Yellowknife":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Antarctica/Casey":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:20181007T040000\\r\\nRDATE:20181007T040000\\r\\nRDATE:20191004T030000\\r\\nRDATE:20201004T000100\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:20180311T040000\\r\\nRDATE:20180311T040000\\r\\nRDATE:20190317T030000\\r\\nRDATE:20200308T030000\\r\\nEND:STANDARD","Antarctica/Davis":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Antarctica/DumontDUrville":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Antarctica/Macquarie":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Antarctica/Mawson":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Antarctica/McMurdo":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:NZDT\\r\\nDTSTART:19700927T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:NZST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Antarctica/Palmer":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Antarctica/Rothera":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Antarctica/Syowa":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Antarctica/Troll":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:+02\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Antarctica/Vostok":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Arctic/Longyearbyen":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Asia/Aden":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Almaty":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Amman":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700326T235959\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1TH\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701030T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR\\r\\nEND:STANDARD","Asia/Anadyr":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Aqtau":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Aqtobe":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Ashgabat":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Atyrau":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Baghdad":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Bahrain":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Baku":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Bangkok":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Barnaul":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Beirut":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Asia/Bishkek":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Brunei":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Chita":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:+09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Choibalsan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Colombo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0530\\r\\nTZOFFSETTO:+0530\\r\\nTZNAME:+0530\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Damascus":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701030T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700327T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1FR\\r\\nEND:DAYLIGHT","Asia/Dhaka":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Dili":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:+09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Dubai":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Dushanbe":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Famagusta":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:20180325T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Asia/Gaza":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:20200328T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:20201024T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:20180324T010000\\r\\nRDATE:20180324T010000\\r\\nRDATE:20190329T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:20181027T010000\\r\\nRDATE:20181027T010000\\r\\nRDATE:20191026T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Hebron":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:20200328T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:20201024T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:20180324T010000\\r\\nRDATE:20180324T010000\\r\\nRDATE:20190329T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:20181027T010000\\r\\nRDATE:20181027T010000\\r\\nRDATE:20191026T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Ho_Chi_Minh":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Hong_Kong":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:HKT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Hovd":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Irkutsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Istanbul":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Jakarta":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:WIB\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Jayapura":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:WIT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Jerusalem":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:IDT\\r\\nDTSTART:19700327T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=23,24,25,26,27,28,29;BYDAY=FR\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:IST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Asia/Kabul":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0430\\r\\nTZOFFSETTO:+0430\\r\\nTZNAME:+0430\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Kamchatka":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Karachi":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:PKT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Kathmandu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0545\\r\\nTZOFFSETTO:+0545\\r\\nTZNAME:+0545\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Khandyga":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:+09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Kolkata":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0530\\r\\nTZOFFSETTO:+0530\\r\\nTZNAME:IST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Krasnoyarsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Kuala_Lumpur":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Kuching":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Kuwait":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Macau":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Magadan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Makassar":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:WITA\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Manila":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:PST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Muscat":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Nicosia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Asia/Novokuznetsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Novosibirsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Omsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Oral":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Phnom_Penh":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Pontianak":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:WIB\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Pyongyang":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0830\\r\\nTZNAME:KST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0830\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:KST\\r\\nDTSTART:20180504T233000\\r\\nRDATE:20180504T233000\\r\\nEND:STANDARD","Asia/Qatar":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Qostanay":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Qyzylorda":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:20181221T000000\\r\\nRDATE:20181221T000000\\r\\nEND:STANDARD","Asia/Riyadh":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Sakhalin":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Samarkand":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Seoul":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:KST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Shanghai":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Singapore":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Srednekolymsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Taipei":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Tashkent":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Tbilisi":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Tehran":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0330\\r\\nTZNAME:+0330\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0330\\r\\nTZOFFSETTO:+0430\\r\\nTZNAME:+0430\\r\\nDTSTART:20180321T235959\\r\\nRDATE:20180321T235959\\r\\nRDATE:20190321T235959\\r\\nRDATE:20200320T235959\\r\\nRDATE:20210321T235959\\r\\nRDATE:20220321T235959\\r\\nRDATE:20230321T235959\\r\\nRDATE:20240320T235959\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0430\\r\\nTZOFFSETTO:+0330\\r\\nTZNAME:+0330\\r\\nDTSTART:20180921T235959\\r\\nRDATE:20180921T235959\\r\\nRDATE:20190921T235959\\r\\nRDATE:20200920T235959\\r\\nRDATE:20210921T235959\\r\\nRDATE:20220921T235959\\r\\nRDATE:20230921T235959\\r\\nRDATE:20240920T235959\\r\\nEND:STANDARD","Asia/Thimphu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Tokyo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:JST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Tomsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Ulaanbaatar":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Urumqi":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Ust-Nera":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Vientiane":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Vladivostok":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Yakutsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:+09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Yangon":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0630\\r\\nTZOFFSETTO:+0630\\r\\nTZNAME:+0630\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Yekaterinburg":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Yerevan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Atlantic/Azores":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19700329T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:-0100\\r\\nTZNAME:-01\\r\\nDTSTART:19701025T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Atlantic/Bermuda":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Atlantic/Canary":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WEST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:WET\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Atlantic/Cape_Verde":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0100\\r\\nTZOFFSETTO:-0100\\r\\nTZNAME:-01\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Atlantic/Faroe":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WEST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:WET\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Atlantic/Madeira":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WEST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:WET\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Atlantic/Reykjavik":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Atlantic/South_Georgia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Atlantic/St_Helena":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Atlantic/Stanley":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Australia/Adelaide":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1030\\r\\nTZOFFSETTO:+0930\\r\\nTZNAME:ACST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0930\\r\\nTZOFFSETTO:+1030\\r\\nTZNAME:ACDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Australia/Brisbane":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Australia/Broken_Hill":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1030\\r\\nTZOFFSETTO:+0930\\r\\nTZNAME:ACST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0930\\r\\nTZOFFSETTO:+1030\\r\\nTZNAME:ACDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Australia/Currie":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Australia/Darwin":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0930\\r\\nTZOFFSETTO:+0930\\r\\nTZNAME:ACST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Australia/Eucla":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0845\\r\\nTZOFFSETTO:+0845\\r\\nTZNAME:+0845\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Australia/Hobart":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Australia/Lindeman":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Australia/Lord_Howe":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1030\\r\\nTZNAME:+1030\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1030\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Australia/Melbourne":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Australia/Perth":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:AWST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Australia/Sydney":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Europe/Amsterdam":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Andorra":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Astrakhan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Athens":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Belgrade":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Berlin":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Bratislava":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Brussels":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Bucharest":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Budapest":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Busingen":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Chisinau":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Copenhagen":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Dublin":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:IST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Europe/Gibraltar":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Guernsey":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:BST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Helsinki":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Isle_of_Man":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:BST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Istanbul":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Jersey":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:BST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Kaliningrad":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Kiev":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Kirov":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Lisbon":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:WET\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WEST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Europe/Ljubljana":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/London":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:BST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Luxembourg":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Madrid":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Malta":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Mariehamn":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Minsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Monaco":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Moscow":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:MSK\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Nicosia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Europe/Oslo":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Paris":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Podgorica":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Prague":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Riga":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Rome":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Samara":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/San_Marino":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Sarajevo":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Saratov":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Simferopol":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:MSK\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Skopje":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Sofia":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Stockholm":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Tallinn":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Tirane":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Ulyanovsk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Uzhgorod":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Vaduz":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Vatican":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Vienna":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Vilnius":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Volgograd":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:20181028T020000\\r\\nRDATE:20181028T020000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Warsaw":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Zagreb":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Zaporozhye":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Europe/Zurich":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Indian/Antananarivo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Chagos":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Christmas":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Cocos":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0630\\r\\nTZOFFSETTO:+0630\\r\\nTZNAME:+0630\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Comoro":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Kerguelen":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Mahe":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Maldives":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Mauritius":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Mayotte":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Indian/Reunion":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Apia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1400\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:19700405T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1400\\r\\nTZNAME:+14\\r\\nDTSTART:19700927T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Pacific/Auckland":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:NZDT\\r\\nDTSTART:19700927T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:NZST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Pacific/Bougainville":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Chatham":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1245\\r\\nTZOFFSETTO:+1345\\r\\nTZNAME:+1345\\r\\nDTSTART:19700927T024500\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1345\\r\\nTZOFFSETTO:+1245\\r\\nTZNAME:+1245\\r\\nDTSTART:19700405T034500\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Pacific/Chuuk":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Easter":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:-06\\r\\nDTSTART:20190406T220000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SA\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:20190907T220000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=1SA\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:-06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:20180811T220000\\r\\nRDATE:20180811T220000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:-06\\r\\nDTSTART:20180512T220000\\r\\nRDATE:20180512T220000\\r\\nEND:STANDARD","Pacific/Efate":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Enderbury":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Fakaofo":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Fiji":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700118T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=12,13,14,15,16,17,18;BYDAY=SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:20211114T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:20181104T020000\\r\\nRDATE:20181104T020000\\r\\nRDATE:20191110T020000\\r\\nRDATE:20201220T020000\\r\\nEND:DAYLIGHT","Pacific/Funafuti":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Galapagos":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:-06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Gambier":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:-09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Guadalcanal":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Guam":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:ChST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Honolulu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1000\\r\\nTZOFFSETTO:-1000\\r\\nTZNAME:HST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Kiritimati":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1400\\r\\nTZOFFSETTO:+1400\\r\\nTZNAME:+14\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Kosrae":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Kwajalein":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Majuro":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Marquesas":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0930\\r\\nTZOFFSETTO:-0930\\r\\nTZNAME:-0930\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Midway":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1100\\r\\nTZOFFSETTO:-1100\\r\\nTZNAME:SST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Nauru":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Niue":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1100\\r\\nTZOFFSETTO:-1100\\r\\nTZNAME:-11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Norfolk":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:20191006T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:20200405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1130\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:20190701T000000\\r\\nRDATE:20190701T000000\\r\\nEND:STANDARD","Pacific/Noumea":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Pago_Pago":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1100\\r\\nTZOFFSETTO:-1100\\r\\nTZNAME:SST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Palau":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:+09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Pitcairn":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:-08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Pohnpei":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Port_Moresby":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Rarotonga":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1000\\r\\nTZOFFSETTO:-1000\\r\\nTZNAME:-10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Saipan":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:ChST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Tahiti":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1000\\r\\nTZOFFSETTO:-1000\\r\\nTZNAME:-10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Tarawa":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Tongatapu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Wake":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific/Wallis":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","AUS Central Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0930\\r\\nTZOFFSETTO:+0930\\r\\nTZNAME:ACST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","AUS Eastern Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Afghanistan Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0430\\r\\nTZOFFSETTO:+0430\\r\\nTZNAME:+0430\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Asmera":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Africa/Timbuktu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Alaskan Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0900\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:AKDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0900\\r\\nTZNAME:AKST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Argentina/ComodRivadavia":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Buenos_Aires":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","America/Godthab":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700328T220000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19701024T230000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=24,25,26,27,28,29,30;BYDAY=SA\\r\\nEND:STANDARD","America/Louisville":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Montreal":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","America/Santa_Isabel":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Arab Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Arabian Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Arabic Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Argentina Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Calcutta":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0530\\r\\nTZOFFSETTO:+0530\\r\\nTZNAME:IST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Katmandu":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0545\\r\\nTZOFFSETTO:+0545\\r\\nTZNAME:+0545\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Rangoon":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0630\\r\\nTZOFFSETTO:+0630\\r\\nTZNAME:+0630\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Asia/Saigon":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Atlantic Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:ADT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:AST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Atlantic/Faeroe":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WEST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:WET\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Atlantic/Jan_Mayen":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Azerbaijan Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Azores Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19700329T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:-0100\\r\\nTZNAME:-01\\r\\nDTSTART:19701025T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Bahia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Bangladesh Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Belarus Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Canada Central Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Cape Verde Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0100\\r\\nTZOFFSETTO:-0100\\r\\nTZNAME:-01\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Caucasus Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Cen. Australia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1030\\r\\nTZOFFSETTO:+0930\\r\\nTZNAME:ACST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0930\\r\\nTZOFFSETTO:+1030\\r\\nTZNAME:ACDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT","Central America Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Central Asia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0600\\r\\nTZOFFSETTO:+0600\\r\\nTZNAME:+06\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Central Brazilian Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20181104T000000\\r\\nRDATE:20181104T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20180218T000000\\r\\nRDATE:20180218T000000\\r\\nRDATE:20190217T000000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Central Europe Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Central European Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Central Pacific Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Central Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Central Standard Time (Mexico)":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","China Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","E. Africa Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","E. Australia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","E. South America Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:20181104T000000\\r\\nRDATE:20181104T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20180218T000000\\r\\nRDATE:20180218T000000\\r\\nRDATE:20190217T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0200\\r\\nTZOFFSETTO:-0200\\r\\nTZNAME:-02\\r\\nDTSTART:19700101T000000\\r\\nEND:DAYLIGHT","Eastern Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Egypt Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Ekaterinburg Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Europe/Belfast":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:BST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","FLE Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Fiji Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700118T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=12,13,14,15,16,17,18;BYDAY=SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:20211114T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:20181104T020000\\r\\nRDATE:20181104T020000\\r\\nRDATE:20191110T020000\\r\\nRDATE:20201220T020000\\r\\nEND:DAYLIGHT","GMT Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:BST\\r\\nDTSTART:19700329T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","GTB Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Georgian Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Greenwich Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:GMT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Hawaiian Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1000\\r\\nTZOFFSETTO:-1000\\r\\nTZNAME:HST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Iran Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0330\\r\\nTZNAME:+0330\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0330\\r\\nTZOFFSETTO:+0430\\r\\nTZNAME:+0430\\r\\nDTSTART:20180321T235959\\r\\nRDATE:20180321T235959\\r\\nRDATE:20190321T235959\\r\\nRDATE:20200320T235959\\r\\nRDATE:20210321T235959\\r\\nRDATE:20220321T235959\\r\\nRDATE:20230321T235959\\r\\nRDATE:20240320T235959\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0430\\r\\nTZOFFSETTO:+0330\\r\\nTZNAME:+0330\\r\\nDTSTART:20180921T235959\\r\\nRDATE:20180921T235959\\r\\nRDATE:20190921T235959\\r\\nRDATE:20200920T235959\\r\\nRDATE:20210921T235959\\r\\nRDATE:20220921T235959\\r\\nRDATE:20230921T235959\\r\\nRDATE:20240920T235959\\r\\nEND:STANDARD","Israel Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:IDT\\r\\nDTSTART:19700327T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=23,24,25,26,27,28,29;BYDAY=FR\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:IST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Jordan Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700326T235959\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1TH\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701030T010000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR\\r\\nEND:STANDARD","Kaliningrad Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Korea Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:KST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Libya Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Line Islands Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1400\\r\\nTZOFFSETTO:+1400\\r\\nTZNAME:+14\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Magadan Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Mauritius Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Middle East Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700329T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701025T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Montevideo Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Morocco Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20180325T020000\\r\\nRDATE:20180325T020000\\r\\nRDATE:20180617T020000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:20180513T030000\\r\\nRDATE:20180513T030000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0000\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20190609T020000\\r\\nRDATE:20190609T020000\\r\\nRDATE:20200531T020000\\r\\nRDATE:20210516T020000\\r\\nRDATE:20220508T020000\\r\\nRDATE:20230430T020000\\r\\nRDATE:20240414T020000\\r\\nEND:STANDARD\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:+01\\r\\nDTSTART:20181028T030000\\r\\nRDATE:20181028T030000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0000\\r\\nTZNAME:+00\\r\\nDTSTART:20190505T030000\\r\\nRDATE:20190505T030000\\r\\nRDATE:20200419T030000\\r\\nRDATE:20210411T030000\\r\\nRDATE:20220327T030000\\r\\nRDATE:20230319T030000\\r\\nRDATE:20240310T030000\\r\\nEND:DAYLIGHT","Mountain Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Mountain Standard Time (Mexico)":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700405T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701025T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","N. Central Asia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Namibia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","New Zealand Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:NZDT\\r\\nDTSTART:19700927T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:NZST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Newfoundland Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0230\\r\\nTZOFFSETTO:-0330\\r\\nTZNAME:NST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0330\\r\\nTZOFFSETTO:-0230\\r\\nTZNAME:NDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT","North Asia East Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","North Asia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pacific SA Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20190407T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYMONTHDAY=2,3,4,5,6,7,8;BYDAY=SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20190908T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYMONTHDAY=2,3,4,5,6,7,8;BYDAY=SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:20180812T000000\\r\\nRDATE:20180812T000000\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:20180513T000000\\r\\nRDATE:20180513T000000\\r\\nEND:STANDARD","Pacific Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Pacific/Johnston":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-1000\\r\\nTZOFFSETTO:-1000\\r\\nTZNAME:HST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Pakistan Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:PKT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Paraguay Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19701004T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700322T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=4SU\\r\\nEND:STANDARD","Romance Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","Russia Time Zone 10":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:+11\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Russia Time Zone 11":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1200\\r\\nTZOFFSETTO:+1200\\r\\nTZNAME:+12\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Russia Time Zone 3":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0400\\r\\nTZOFFSETTO:+0400\\r\\nTZNAME:+04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Russian Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:MSK\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","SA Eastern Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0300\\r\\nTZOFFSETTO:-0300\\r\\nTZNAME:-03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","SA Pacific Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:-05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","SA Western Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","SE Asia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0700\\r\\nTZOFFSETTO:+0700\\r\\nTZNAME:+07\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Samoa Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1400\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:19700405T040000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1400\\r\\nTZNAME:+14\\r\\nDTSTART:19700927T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU\\r\\nEND:DAYLIGHT","Singapore Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","South Africa Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:SAST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Sri Lanka Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0530\\r\\nTZOFFSETTO:+0530\\r\\nTZNAME:+0530\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Syria Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:EET\\r\\nDTSTART:19701030T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR\\r\\nEND:STANDARD\\r\\nBEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:EEST\\r\\nDTSTART:19700327T000000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1FR\\r\\nEND:DAYLIGHT","Taipei Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:CST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Tasmania Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1100\\r\\nTZNAME:AEDT\\r\\nDTSTART:19701004T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+1100\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:AEST\\r\\nDTSTART:19700405T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\\r\\nEND:STANDARD","Tokyo Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:JST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Tonga Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1300\\r\\nTZOFFSETTO:+1300\\r\\nTZNAME:+13\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Turkey Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0300\\r\\nTZOFFSETTO:+0300\\r\\nTZNAME:+03\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","US Eastern Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","US Mountain Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","US/Central":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:CDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:CST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","US/Eastern":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0500\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:EDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0500\\r\\nTZNAME:EST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","US/Mountain":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0600\\r\\nTZNAME:MDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0600\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:MST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","US/Pacific":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","US/Pacific-New":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:-0800\\r\\nTZOFFSETTO:-0700\\r\\nTZNAME:PDT\\r\\nDTSTART:19700308T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:-0700\\r\\nTZOFFSETTO:-0800\\r\\nTZNAME:PST\\r\\nDTSTART:19701101T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\\r\\nEND:STANDARD","Ulaanbaatar Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:+08\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Venezuela Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:-0400\\r\\nTZOFFSETTO:-0400\\r\\nTZNAME:-04\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Vladivostok Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","W. Australia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0800\\r\\nTZOFFSETTO:+0800\\r\\nTZNAME:AWST\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","W. Central Africa Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:WAT\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","W. Europe Standard Time":"BEGIN:DAYLIGHT\\r\\nTZOFFSETFROM:+0100\\r\\nTZOFFSETTO:+0200\\r\\nTZNAME:CEST\\r\\nDTSTART:19700329T020000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\\r\\nEND:DAYLIGHT\\r\\nBEGIN:STANDARD\\r\\nTZOFFSETFROM:+0200\\r\\nTZOFFSETTO:+0100\\r\\nTZNAME:CET\\r\\nDTSTART:19701025T030000\\r\\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\\r\\nEND:STANDARD","West Asia Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0500\\r\\nTZOFFSETTO:+0500\\r\\nTZNAME:+05\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","West Pacific Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+1000\\r\\nTZOFFSETTO:+1000\\r\\nTZNAME:+10\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD","Yakutsk Standard Time":"BEGIN:STANDARD\\r\\nTZOFFSETFROM:+0900\\r\\nTZOFFSETTO:+0900\\r\\nTZNAME:+09\\r\\nDTSTART:19700101T000000\\r\\nEND:STANDARD"}')},62279:r=>{"use strict";r.exports=JSON.parse('{"AEli":"\xc6","AElig":"\xc6","AM":"&","AMP":"&","Aacut":"\xc1","Aacute":"\xc1","Abreve":"Ă","Acir":"\xc2","Acirc":"\xc2","Acy":"А","Afr":"\uD835\uDD04","Agrav":"\xc0","Agrave":"\xc0","Alpha":"Α","Amacr":"Ā","And":"⩓","Aogon":"Ą","Aopf":"\uD835\uDD38","ApplyFunction":"⁡","Arin":"\xc5","Aring":"\xc5","Ascr":"\uD835\uDC9C","Assign":"≔","Atild":"\xc3","Atilde":"\xc3","Aum":"\xc4","Auml":"\xc4","Backslash":"∖","Barv":"⫧","Barwed":"⌆","Bcy":"Б","Because":"∵","Bernoullis":"ℬ","Beta":"Β","Bfr":"\uD835\uDD05","Bopf":"\uD835\uDD39","Breve":"˘","Bscr":"ℬ","Bumpeq":"≎","CHcy":"Ч","COP":"\xa9","COPY":"\xa9","Cacute":"Ć","Cap":"⋒","CapitalDifferentialD":"ⅅ","Cayleys":"ℭ","Ccaron":"Č","Ccedi":"\xc7","Ccedil":"\xc7","Ccirc":"Ĉ","Cconint":"∰","Cdot":"Ċ","Cedilla":"\xb8","CenterDot":"\xb7","Cfr":"ℭ","Chi":"Χ","CircleDot":"⊙","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","Colon":"∷","Colone":"⩴","Congruent":"≡","Conint":"∯","ContourIntegral":"∮","Copf":"ℂ","Coproduct":"∐","CounterClockwiseContourIntegral":"∳","Cross":"⨯","Cscr":"\uD835\uDC9E","Cup":"⋓","CupCap":"≍","DD":"ⅅ","DDotrahd":"⤑","DJcy":"Ђ","DScy":"Ѕ","DZcy":"Џ","Dagger":"‡","Darr":"↡","Dashv":"⫤","Dcaron":"Ď","Dcy":"Д","Del":"∇","Delta":"Δ","Dfr":"\uD835\uDD07","DiacriticalAcute":"\xb4","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","Diamond":"⋄","DifferentialD":"ⅆ","Dopf":"\uD835\uDD3B","Dot":"\xa8","DotDot":"⃜","DotEqual":"≐","DoubleContourIntegral":"∯","DoubleDot":"\xa8","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrow":"↓","DownArrowBar":"⤓","DownArrowUpArrow":"⇵","DownBreve":"̑","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVector":"↽","DownLeftVectorBar":"⥖","DownRightTeeVector":"⥟","DownRightVector":"⇁","DownRightVectorBar":"⥗","DownTee":"⊤","DownTeeArrow":"↧","Downarrow":"⇓","Dscr":"\uD835\uDC9F","Dstrok":"Đ","ENG":"Ŋ","ET":"\xd0","ETH":"\xd0","Eacut":"\xc9","Eacute":"\xc9","Ecaron":"Ě","Ecir":"\xca","Ecirc":"\xca","Ecy":"Э","Edot":"Ė","Efr":"\uD835\uDD08","Egrav":"\xc8","Egrave":"\xc8","Element":"∈","Emacr":"Ē","EmptySmallSquare":"◻","EmptyVerySmallSquare":"▫","Eogon":"Ę","Eopf":"\uD835\uDD3C","Epsilon":"Ε","Equal":"⩵","EqualTilde":"≂","Equilibrium":"⇌","Escr":"ℰ","Esim":"⩳","Eta":"Η","Eum":"\xcb","Euml":"\xcb","Exists":"∃","ExponentialE":"ⅇ","Fcy":"Ф","Ffr":"\uD835\uDD09","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","Fopf":"\uD835\uDD3D","ForAll":"∀","Fouriertrf":"ℱ","Fscr":"ℱ","GJcy":"Ѓ","G":">","GT":">","Gamma":"Γ","Gammad":"Ϝ","Gbreve":"Ğ","Gcedil":"Ģ","Gcirc":"Ĝ","Gcy":"Г","Gdot":"Ġ","Gfr":"\uD835\uDD0A","Gg":"⋙","Gopf":"\uD835\uDD3E","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"\uD835\uDCA2","Gt":"≫","HARDcy":"Ъ","Hacek":"ˇ","Hat":"^","Hcirc":"Ĥ","Hfr":"ℌ","HilbertSpace":"ℋ","Hopf":"ℍ","HorizontalLine":"─","Hscr":"ℋ","Hstrok":"Ħ","HumpDownHump":"≎","HumpEqual":"≏","IEcy":"Е","IJlig":"IJ","IOcy":"Ё","Iacut":"\xcd","Iacute":"\xcd","Icir":"\xce","Icirc":"\xce","Icy":"И","Idot":"İ","Ifr":"ℑ","Igrav":"\xcc","Igrave":"\xcc","Im":"ℑ","Imacr":"Ī","ImaginaryI":"ⅈ","Implies":"⇒","Int":"∬","Integral":"∫","Intersection":"⋂","InvisibleComma":"⁣","InvisibleTimes":"⁢","Iogon":"Į","Iopf":"\uD835\uDD40","Iota":"Ι","Iscr":"ℐ","Itilde":"Ĩ","Iukcy":"І","Ium":"\xcf","Iuml":"\xcf","Jcirc":"Ĵ","Jcy":"Й","Jfr":"\uD835\uDD0D","Jopf":"\uD835\uDD41","Jscr":"\uD835\uDCA5","Jsercy":"Ј","Jukcy":"Є","KHcy":"Х","KJcy":"Ќ","Kappa":"Κ","Kcedil":"Ķ","Kcy":"К","Kfr":"\uD835\uDD0E","Kopf":"\uD835\uDD42","Kscr":"\uD835\uDCA6","LJcy":"Љ","L":"<","LT":"<","Lacute":"Ĺ","Lambda":"Λ","Lang":"⟪","Laplacetrf":"ℒ","Larr":"↞","Lcaron":"Ľ","Lcedil":"Ļ","Lcy":"Л","LeftAngleBracket":"⟨","LeftArrow":"←","LeftArrowBar":"⇤","LeftArrowRightArrow":"⇆","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVector":"⇃","LeftDownVectorBar":"⥙","LeftFloor":"⌊","LeftRightArrow":"↔","LeftRightVector":"⥎","LeftTee":"⊣","LeftTeeArrow":"↤","LeftTeeVector":"⥚","LeftTriangle":"⊲","LeftTriangleBar":"⧏","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVector":"↿","LeftUpVectorBar":"⥘","LeftVector":"↼","LeftVectorBar":"⥒","Leftarrow":"⇐","Leftrightarrow":"⇔","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","LessLess":"⪡","LessSlantEqual":"⩽","LessTilde":"≲","Lfr":"\uD835\uDD0F","Ll":"⋘","Lleftarrow":"⇚","Lmidot":"Ŀ","LongLeftArrow":"⟵","LongLeftRightArrow":"⟷","LongRightArrow":"⟶","Longleftarrow":"⟸","Longleftrightarrow":"⟺","Longrightarrow":"⟹","Lopf":"\uD835\uDD43","LowerLeftArrow":"↙","LowerRightArrow":"↘","Lscr":"ℒ","Lsh":"↰","Lstrok":"Ł","Lt":"≪","Map":"⤅","Mcy":"М","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"\uD835\uDD10","MinusPlus":"∓","Mopf":"\uD835\uDD44","Mscr":"ℳ","Mu":"Μ","NJcy":"Њ","Nacute":"Ń","Ncaron":"Ň","Ncedil":"Ņ","Ncy":"Н","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","Nfr":"\uD835\uDD11","NoBreak":"⁠","NonBreakingSpace":"\xa0","Nopf":"ℕ","Not":"⫬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","NotLeftTriangle":"⋪","NotLeftTriangleBar":"⧏̸","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangle":"⋫","NotRightTriangleBar":"⧐̸","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","Nscr":"\uD835\uDCA9","Ntild":"\xd1","Ntilde":"\xd1","Nu":"Ν","OElig":"Œ","Oacut":"\xd3","Oacute":"\xd3","Ocir":"\xd4","Ocirc":"\xd4","Ocy":"О","Odblac":"Ő","Ofr":"\uD835\uDD12","Ograv":"\xd2","Ograve":"\xd2","Omacr":"Ō","Omega":"Ω","Omicron":"Ο","Oopf":"\uD835\uDD46","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","Or":"⩔","Oscr":"\uD835\uDCAA","Oslas":"\xd8","Oslash":"\xd8","Otild":"\xd5","Otilde":"\xd5","Otimes":"⨷","Oum":"\xd6","Ouml":"\xd6","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","PartialD":"∂","Pcy":"П","Pfr":"\uD835\uDD13","Phi":"Φ","Pi":"Π","PlusMinus":"\xb1","Poincareplane":"ℌ","Popf":"ℙ","Pr":"⪻","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","Prime":"″","Product":"∏","Proportion":"∷","Proportional":"∝","Pscr":"\uD835\uDCAB","Psi":"Ψ","QUO":"\\"","QUOT":"\\"","Qfr":"\uD835\uDD14","Qopf":"ℚ","Qscr":"\uD835\uDCAC","RBarr":"⤐","RE":"\xae","REG":"\xae","Racute":"Ŕ","Rang":"⟫","Rarr":"↠","Rarrtl":"⤖","Rcaron":"Ř","Rcedil":"Ŗ","Rcy":"Р","Re":"ℜ","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","Rfr":"ℜ","Rho":"Ρ","RightAngleBracket":"⟩","RightArrow":"→","RightArrowBar":"⇥","RightArrowLeftArrow":"⇄","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVector":"⇂","RightDownVectorBar":"⥕","RightFloor":"⌋","RightTee":"⊢","RightTeeArrow":"↦","RightTeeVector":"⥛","RightTriangle":"⊳","RightTriangleBar":"⧐","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVector":"↾","RightUpVectorBar":"⥔","RightVector":"⇀","RightVectorBar":"⥓","Rightarrow":"⇒","Ropf":"ℝ","RoundImplies":"⥰","Rrightarrow":"⇛","Rscr":"ℛ","Rsh":"↱","RuleDelayed":"⧴","SHCHcy":"Щ","SHcy":"Ш","SOFTcy":"Ь","Sacute":"Ś","Sc":"⪼","Scaron":"Š","Scedil":"Ş","Scirc":"Ŝ","Scy":"С","Sfr":"\uD835\uDD16","ShortDownArrow":"↓","ShortLeftArrow":"←","ShortRightArrow":"→","ShortUpArrow":"↑","Sigma":"Σ","SmallCircle":"∘","Sopf":"\uD835\uDD4A","Sqrt":"√","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","Sscr":"\uD835\uDCAE","Star":"⋆","Sub":"⋐","Subset":"⋐","SubsetEqual":"⊆","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","SuchThat":"∋","Sum":"∑","Sup":"⋑","Superset":"⊃","SupersetEqual":"⊇","Supset":"⋑","THOR":"\xde","THORN":"\xde","TRADE":"™","TSHcy":"Ћ","TScy":"Ц","Tab":"\\t","Tau":"Τ","Tcaron":"Ť","Tcedil":"Ţ","Tcy":"Т","Tfr":"\uD835\uDD17","Therefore":"∴","Theta":"Θ","ThickSpace":"  ","ThinSpace":" ","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","Topf":"\uD835\uDD4B","TripleDot":"⃛","Tscr":"\uD835\uDCAF","Tstrok":"Ŧ","Uacut":"\xda","Uacute":"\xda","Uarr":"↟","Uarrocir":"⥉","Ubrcy":"Ў","Ubreve":"Ŭ","Ucir":"\xdb","Ucirc":"\xdb","Ucy":"У","Udblac":"Ű","Ufr":"\uD835\uDD18","Ugrav":"\xd9","Ugrave":"\xd9","Umacr":"Ū","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","Uopf":"\uD835\uDD4C","UpArrow":"↑","UpArrowBar":"⤒","UpArrowDownArrow":"⇅","UpDownArrow":"↕","UpEquilibrium":"⥮","UpTee":"⊥","UpTeeArrow":"↥","Uparrow":"⇑","Updownarrow":"⇕","UpperLeftArrow":"↖","UpperRightArrow":"↗","Upsi":"ϒ","Upsilon":"Υ","Uring":"Ů","Uscr":"\uD835\uDCB0","Utilde":"Ũ","Uum":"\xdc","Uuml":"\xdc","VDash":"⊫","Vbar":"⫫","Vcy":"В","Vdash":"⊩","Vdashl":"⫦","Vee":"⋁","Verbar":"‖","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"\uD835\uDD19","Vopf":"\uD835\uDD4D","Vscr":"\uD835\uDCB1","Vvdash":"⊪","Wcirc":"Ŵ","Wedge":"⋀","Wfr":"\uD835\uDD1A","Wopf":"\uD835\uDD4E","Wscr":"\uD835\uDCB2","Xfr":"\uD835\uDD1B","Xi":"Ξ","Xopf":"\uD835\uDD4F","Xscr":"\uD835\uDCB3","YAcy":"Я","YIcy":"Ї","YUcy":"Ю","Yacut":"\xdd","Yacute":"\xdd","Ycirc":"Ŷ","Ycy":"Ы","Yfr":"\uD835\uDD1C","Yopf":"\uD835\uDD50","Yscr":"\uD835\uDCB4","Yuml":"Ÿ","ZHcy":"Ж","Zacute":"Ź","Zcaron":"Ž","Zcy":"З","Zdot":"Ż","ZeroWidthSpace":"​","Zeta":"Ζ","Zfr":"ℨ","Zopf":"ℤ","Zscr":"\uD835\uDCB5","aacut":"\xe1","aacute":"\xe1","abreve":"ă","ac":"∾","acE":"∾̳","acd":"∿","acir":"\xe2","acirc":"\xe2","acut":"\xb4","acute":"\xb4","acy":"а","aeli":"\xe6","aelig":"\xe6","af":"⁡","afr":"\uD835\uDD1E","agrav":"\xe0","agrave":"\xe0","alefsym":"ℵ","aleph":"ℵ","alpha":"α","amacr":"ā","amalg":"⨿","am":"&","amp":"&","and":"∧","andand":"⩕","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsd":"∡","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"\xc5","angzarr":"⍼","aogon":"ą","aopf":"\uD835\uDD52","ap":"≈","apE":"⩰","apacir":"⩯","ape":"≊","apid":"≋","apos":"\'","approx":"≈","approxeq":"≊","arin":"\xe5","aring":"\xe5","ascr":"\uD835\uDCB6","ast":"*","asymp":"≈","asympeq":"≍","atild":"\xe3","atilde":"\xe3","aum":"\xe4","auml":"\xe4","awconint":"∳","awint":"⨑","bNot":"⫭","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","barvee":"⊽","barwed":"⌅","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","beta":"β","beth":"ℶ","between":"≬","bfr":"\uD835\uDD1F","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bnot":"⌐","bopf":"\uD835\uDD53","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxDL":"╗","boxDR":"╔","boxDl":"╖","boxDr":"╓","boxH":"═","boxHD":"╦","boxHU":"╩","boxHd":"╤","boxHu":"╧","boxUL":"╝","boxUR":"╚","boxUl":"╜","boxUr":"╙","boxV":"║","boxVH":"╬","boxVL":"╣","boxVR":"╠","boxVh":"╫","boxVl":"╢","boxVr":"╟","boxbox":"⧉","boxdL":"╕","boxdR":"╒","boxdl":"┐","boxdr":"┌","boxh":"─","boxhD":"╥","boxhU":"╨","boxhd":"┬","boxhu":"┴","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxuL":"╛","boxuR":"╘","boxul":"┘","boxur":"└","boxv":"│","boxvH":"╪","boxvL":"╡","boxvR":"╞","boxvh":"┼","boxvl":"┤","boxvr":"├","bprime":"‵","breve":"˘","brvba":"\xa6","brvbar":"\xa6","bscr":"\uD835\uDCB7","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsol":"\\\\","bsolb":"⧅","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","bumpeq":"≏","cacute":"ć","cap":"∩","capand":"⩄","capbrcup":"⩉","capcap":"⩋","capcup":"⩇","capdot":"⩀","caps":"∩︀","caret":"⁁","caron":"ˇ","ccaps":"⩍","ccaron":"č","ccedi":"\xe7","ccedil":"\xe7","ccirc":"ĉ","ccups":"⩌","ccupssm":"⩐","cdot":"ċ","cedi":"\xb8","cedil":"\xb8","cemptyv":"⦲","cen":"\xa2","cent":"\xa2","centerdot":"\xb7","cfr":"\uD835\uDD20","chcy":"ч","check":"✓","checkmark":"✓","chi":"χ","cir":"○","cirE":"⧃","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledR":"\xae","circledS":"Ⓢ","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","clubs":"♣","clubsuit":"♣","colon":":","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","conint":"∮","copf":"\uD835\uDD54","coprod":"∐","cop":"\xa9","copy":"\xa9","copysr":"℗","crarr":"↵","cross":"✗","cscr":"\uD835\uDCB8","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cup":"∪","cupbrcap":"⩈","cupcap":"⩆","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curre":"\xa4","curren":"\xa4","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dArr":"⇓","dHar":"⥥","dagger":"†","daleth":"ℸ","darr":"↓","dash":"‐","dashv":"⊣","dbkarow":"⤏","dblac":"˝","dcaron":"ď","dcy":"д","dd":"ⅆ","ddagger":"‡","ddarr":"⇊","ddotseq":"⩷","de":"\xb0","deg":"\xb0","delta":"δ","demptyv":"⦱","dfisht":"⥿","dfr":"\uD835\uDD21","dharl":"⇃","dharr":"⇂","diam":"⋄","diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"\xa8","digamma":"ϝ","disin":"⋲","div":"\xf7","divid":"\xf7","divide":"\xf7","divideontimes":"⋇","divonx":"⋇","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","dopf":"\uD835\uDD55","dot":"˙","doteq":"≐","doteqdot":"≑","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","downarrow":"↓","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","dscr":"\uD835\uDCB9","dscy":"ѕ","dsol":"⧶","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","dzcy":"џ","dzigrarr":"⟿","eDDot":"⩷","eDot":"≑","eacut":"\xe9","eacute":"\xe9","easter":"⩮","ecaron":"ě","ecir":"\xea","ecirc":"\xea","ecolon":"≕","ecy":"э","edot":"ė","ee":"ⅇ","efDot":"≒","efr":"\uD835\uDD22","eg":"⪚","egrav":"\xe8","egrave":"\xe8","egs":"⪖","egsdot":"⪘","el":"⪙","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","emacr":"ē","empty":"∅","emptyset":"∅","emptyv":"∅","emsp13":" ","emsp14":" ","emsp":" ","eng":"ŋ","ensp":" ","eogon":"ę","eopf":"\uD835\uDD56","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","equals":"=","equest":"≟","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erDot":"≓","erarr":"⥱","escr":"ℯ","esdot":"≐","esim":"≂","eta":"η","et":"\xf0","eth":"\xf0","eum":"\xeb","euml":"\xeb","euro":"€","excl":"!","exist":"∃","expectation":"ℰ","exponentiale":"ⅇ","fallingdotseq":"≒","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","ffr":"\uD835\uDD23","filig":"fi","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","fopf":"\uD835\uDD57","forall":"∀","fork":"⋔","forkv":"⫙","fpartint":"⨍","frac1":"\xbc","frac12":"\xbd","frac13":"⅓","frac14":"\xbc","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac3":"\xbe","frac34":"\xbe","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"\uD835\uDCBB","gE":"≧","gEl":"⪌","gacute":"ǵ","gamma":"γ","gammad":"ϝ","gap":"⪆","gbreve":"ğ","gcirc":"ĝ","gcy":"г","gdot":"ġ","ge":"≥","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","ges":"⩾","gescc":"⪩","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","gfr":"\uD835\uDD24","gg":"≫","ggg":"⋙","gimel":"ℷ","gjcy":"ѓ","gl":"≷","glE":"⪒","gla":"⪥","glj":"⪤","gnE":"≩","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gneq":"⪈","gneqq":"≩","gnsim":"⋧","gopf":"\uD835\uDD58","grave":"`","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","g":">","gt":">","gtcc":"⪧","gtcir":"⩺","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","hArr":"⇔","hairsp":" ","half":"\xbd","hamilt":"ℋ","hardcy":"ъ","harr":"↔","harrcir":"⥈","harrw":"↭","hbar":"ℏ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"\uD835\uDD25","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"\uD835\uDD59","horbar":"―","hscr":"\uD835\uDCBD","hslash":"ℏ","hstrok":"ħ","hybull":"⁃","hyphen":"‐","iacut":"\xed","iacute":"\xed","ic":"⁣","icir":"\xee","icirc":"\xee","icy":"и","iecy":"е","iexc":"\xa1","iexcl":"\xa1","iff":"⇔","ifr":"\uD835\uDD26","igrav":"\xec","igrave":"\xec","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","ijlig":"ij","imacr":"ī","image":"ℑ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","imof":"⊷","imped":"Ƶ","in":"∈","incare":"℅","infin":"∞","infintie":"⧝","inodot":"ı","int":"∫","intcal":"⊺","integers":"ℤ","intercal":"⊺","intlarhk":"⨗","intprod":"⨼","iocy":"ё","iogon":"į","iopf":"\uD835\uDD5A","iota":"ι","iprod":"⨼","iques":"\xbf","iquest":"\xbf","iscr":"\uD835\uDCBE","isin":"∈","isinE":"⋹","isindot":"⋵","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","itilde":"ĩ","iukcy":"і","ium":"\xef","iuml":"\xef","jcirc":"ĵ","jcy":"й","jfr":"\uD835\uDD27","jmath":"ȷ","jopf":"\uD835\uDD5B","jscr":"\uD835\uDCBF","jsercy":"ј","jukcy":"є","kappa":"κ","kappav":"ϰ","kcedil":"ķ","kcy":"к","kfr":"\uD835\uDD28","kgreen":"ĸ","khcy":"х","kjcy":"ќ","kopf":"\uD835\uDD5C","kscr":"\uD835\uDCC0","lAarr":"⇚","lArr":"⇐","lAtail":"⤛","lBarr":"⤎","lE":"≦","lEg":"⪋","lHar":"⥢","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","lambda":"λ","lang":"⟨","langd":"⦑","langle":"⟨","lap":"⪅","laqu":"\xab","laquo":"\xab","larr":"←","larrb":"⇤","larrbfs":"⤟","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","lat":"⪫","latail":"⤙","late":"⪭","lates":"⪭︀","lbarr":"⤌","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","lcaron":"ľ","lcedil":"ļ","lceil":"⌈","lcub":"{","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","leftarrow":"←","leftarrowtail":"↢","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","leftthreetimes":"⋋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","les":"⩽","lescc":"⪨","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","lessgtr":"≶","lesssim":"≲","lfisht":"⥼","lfloor":"⌊","lfr":"\uD835\uDD29","lg":"≶","lgE":"⪑","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","ljcy":"љ","ll":"≪","llarr":"⇇","llcorner":"⌞","llhard":"⥫","lltri":"◺","lmidot":"ŀ","lmoust":"⎰","lmoustache":"⎰","lnE":"≨","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","longleftrightarrow":"⟷","longmapsto":"⟼","longrightarrow":"⟶","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","lopf":"\uD835\uDD5D","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"\uD835\uDCC1","lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","lstrok":"ł","l":"<","lt":"<","ltcc":"⪦","ltcir":"⩹","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltrPar":"⦖","ltri":"◃","ltrie":"⊴","ltrif":"◂","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","mDDot":"∺","mac":"\xaf","macr":"\xaf","male":"♂","malt":"✠","maltese":"✠","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","mcy":"м","mdash":"—","measuredangle":"∡","mfr":"\uD835\uDD2A","mho":"℧","micr":"\xb5","micro":"\xb5","mid":"∣","midast":"*","midcir":"⫰","middo":"\xb7","middot":"\xb7","minus":"−","minusb":"⊟","minusd":"∸","minusdu":"⨪","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","mopf":"\uD835\uDD5E","mp":"∓","mscr":"\uD835\uDCC2","mstpos":"∾","mu":"μ","multimap":"⊸","mumap":"⊸","nGg":"⋙̸","nGt":"≫⃒","nGtv":"≫̸","nLeftarrow":"⇍","nLeftrightarrow":"⇎","nLl":"⋘̸","nLt":"≪⃒","nLtv":"≪̸","nRightarrow":"⇏","nVDash":"⊯","nVdash":"⊮","nabla":"∇","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natur":"♮","natural":"♮","naturals":"ℕ","nbs":"\xa0","nbsp":"\xa0","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","ncaron":"ň","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","ncy":"н","ndash":"–","ne":"≠","neArr":"⇗","nearhk":"⤤","nearr":"↗","nearrow":"↗","nedot":"≐̸","nequiv":"≢","nesear":"⤨","nesim":"≂̸","nexist":"∄","nexists":"∄","nfr":"\uD835\uDD2B","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","ngsim":"≵","ngt":"≯","ngtr":"≯","nhArr":"⇎","nharr":"↮","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","njcy":"њ","nlArr":"⇍","nlE":"≦̸","nlarr":"↚","nldr":"‥","nle":"≰","nleftarrow":"↚","nleftrightarrow":"↮","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nlsim":"≴","nlt":"≮","nltri":"⋪","nltrie":"⋬","nmid":"∤","nopf":"\uD835\uDD5F","no":"\xac","not":"\xac","notin":"∉","notinE":"⋹̸","notindot":"⋵̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","npar":"∦","nparallel":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","npre":"⪯̸","nprec":"⊀","npreceq":"⪯̸","nrArr":"⇏","nrarr":"↛","nrarrc":"⤳̸","nrarrw":"↝̸","nrightarrow":"↛","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","nscr":"\uD835\uDCC3","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","ntild":"\xf1","ntilde":"\xf1","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","nu":"ν","num":"#","numero":"№","numsp":" ","nvDash":"⊭","nvHarr":"⤄","nvap":"≍⃒","nvdash":"⊬","nvge":"≥⃒","nvgt":">⃒","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwArr":"⇖","nwarhk":"⤣","nwarr":"↖","nwarrow":"↖","nwnear":"⤧","oS":"Ⓢ","oacut":"\xf3","oacute":"\xf3","oast":"⊛","ocir":"\xf4","ocirc":"\xf4","ocy":"о","odash":"⊝","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","oelig":"œ","ofcir":"⦿","ofr":"\uD835\uDD2C","ogon":"˛","ograv":"\xf2","ograve":"\xf2","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","omacr":"ō","omega":"ω","omicron":"ο","omid":"⦶","ominus":"⊖","oopf":"\uD835\uDD60","opar":"⦷","operp":"⦹","oplus":"⊕","or":"∨","orarr":"↻","ord":"\xba","order":"ℴ","orderof":"ℴ","ordf":"\xaa","ordm":"\xba","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oscr":"ℴ","oslas":"\xf8","oslash":"\xf8","osol":"⊘","otild":"\xf5","otilde":"\xf5","otimes":"⊗","otimesas":"⨶","oum":"\xf6","ouml":"\xf6","ovbar":"⌽","par":"\xb6","para":"\xb6","parallel":"∥","parsim":"⫳","parsl":"⫽","part":"∂","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","pfr":"\uD835\uDD2D","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plus":"+","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plusdo":"∔","plusdu":"⨥","pluse":"⩲","plusm":"\xb1","plusmn":"\xb1","plussim":"⨦","plustwo":"⨧","pm":"\xb1","pointint":"⨕","popf":"\uD835\uDD61","poun":"\xa3","pound":"\xa3","pr":"≺","prE":"⪳","prap":"⪷","prcue":"≼","pre":"⪯","prec":"≺","precapprox":"⪷","preccurlyeq":"≼","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","precsim":"≾","prime":"′","primes":"ℙ","prnE":"⪵","prnap":"⪹","prnsim":"⋨","prod":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","propto":"∝","prsim":"≾","prurel":"⊰","pscr":"\uD835\uDCC5","psi":"ψ","puncsp":" ","qfr":"\uD835\uDD2E","qint":"⨌","qopf":"\uD835\uDD62","qprime":"⁗","qscr":"\uD835\uDCC6","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quo":"\\"","quot":"\\"","rAarr":"⇛","rArr":"⇒","rAtail":"⤜","rBarr":"⤏","rHar":"⥤","race":"∽̱","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","rangd":"⦒","range":"⦥","rangle":"⟩","raqu":"\xbb","raquo":"\xbb","rarr":"→","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","rarrtl":"↣","rarrw":"↝","ratail":"⤚","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","rcaron":"ř","rcedil":"ŗ","rceil":"⌉","rcub":"}","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","rect":"▭","re":"\xae","reg":"\xae","rfisht":"⥽","rfloor":"⌋","rfr":"\uD835\uDD2F","rhard":"⇁","rharu":"⇀","rharul":"⥬","rho":"ρ","rhov":"ϱ","rightarrow":"→","rightarrowtail":"↣","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","rightthreetimes":"⋌","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoust":"⎱","rmoustache":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"\uD835\uDD63","roplus":"⨮","rotimes":"⨵","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","rsaquo":"›","rscr":"\uD835\uDCC7","rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","ruluhar":"⥨","rx":"℞","sacute":"ś","sbquo":"‚","sc":"≻","scE":"⪴","scap":"⪸","scaron":"š","sccue":"≽","sce":"⪰","scedil":"ş","scirc":"ŝ","scnE":"⪶","scnap":"⪺","scnsim":"⋩","scpolint":"⨓","scsim":"≿","scy":"с","sdot":"⋅","sdotb":"⊡","sdote":"⩦","seArr":"⇘","searhk":"⤥","searr":"↘","searrow":"↘","sec":"\xa7","sect":"\xa7","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","sfr":"\uD835\uDD30","sfrown":"⌢","sharp":"♯","shchcy":"щ","shcy":"ш","shortmid":"∣","shortparallel":"∥","sh":"\xad","shy":"\xad","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","softcy":"ь","sol":"/","solb":"⧄","solbar":"⌿","sopf":"\uD835\uDD64","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","squ":"□","square":"□","squarf":"▪","squf":"▪","srarr":"→","sscr":"\uD835\uDCC8","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"\xaf","sub":"⊂","subE":"⫅","subdot":"⪽","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","subseteq":"⊆","subseteqq":"⫅","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succ":"≻","succapprox":"⪸","succcurlyeq":"≽","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","sum":"∑","sung":"♪","sup":"⊃","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","supE":"⫆","supdot":"⪾","supdsub":"⫘","supe":"⊇","supedot":"⫄","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swArr":"⇙","swarhk":"⤦","swarr":"↙","swarrow":"↙","swnwar":"⤪","szli":"\xdf","szlig":"\xdf","target":"⌖","tau":"τ","tbrk":"⎴","tcaron":"ť","tcedil":"ţ","tcy":"т","tdot":"⃛","telrec":"⌕","tfr":"\uD835\uDD31","there4":"∴","therefore":"∴","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","thinsp":" ","thkap":"≈","thksim":"∼","thor":"\xfe","thorn":"\xfe","tilde":"˜","time":"\xd7","times":"\xd7","timesb":"⊠","timesbar":"⨱","timesd":"⨰","tint":"∭","toea":"⤨","top":"⊤","topbot":"⌶","topcir":"⫱","topf":"\uD835\uDD65","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","tscr":"\uD835\uDCC9","tscy":"ц","tshcy":"ћ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","uArr":"⇑","uHar":"⥣","uacut":"\xfa","uacute":"\xfa","uarr":"↑","ubrcy":"ў","ubreve":"ŭ","ucir":"\xfb","ucirc":"\xfb","ucy":"у","udarr":"⇅","udblac":"ű","udhar":"⥮","ufisht":"⥾","ufr":"\uD835\uDD32","ugrav":"\xf9","ugrave":"\xf9","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","umacr":"ū","um":"\xa8","uml":"\xa8","uogon":"ų","uopf":"\uD835\uDD66","uparrow":"↑","updownarrow":"↕","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","upsi":"υ","upsih":"ϒ","upsilon":"υ","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","uring":"ů","urtri":"◹","uscr":"\uD835\uDCCA","utdot":"⋰","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","uum":"\xfc","uuml":"\xfc","uwangle":"⦧","vArr":"⇕","vBar":"⫨","vBarv":"⫩","vDash":"⊨","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vcy":"в","vdash":"⊢","vee":"∨","veebar":"⊻","veeeq":"≚","vellip":"⋮","verbar":"|","vert":"|","vfr":"\uD835\uDD33","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","vopf":"\uD835\uDD67","vprop":"∝","vrtri":"⊳","vscr":"\uD835\uDCCB","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","vzigzag":"⦚","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","wedgeq":"≙","weierp":"℘","wfr":"\uD835\uDD34","wopf":"\uD835\uDD68","wp":"℘","wr":"≀","wreath":"≀","wscr":"\uD835\uDCCC","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","xfr":"\uD835\uDD35","xhArr":"⟺","xharr":"⟷","xi":"ξ","xlArr":"⟸","xlarr":"⟵","xmap":"⟼","xnis":"⋻","xodot":"⨀","xopf":"\uD835\uDD69","xoplus":"⨁","xotime":"⨂","xrArr":"⟹","xrarr":"⟶","xscr":"\uD835\uDCCD","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","yacut":"\xfd","yacute":"\xfd","yacy":"я","ycirc":"ŷ","ycy":"ы","ye":"\xa5","yen":"\xa5","yfr":"\uD835\uDD36","yicy":"ї","yopf":"\uD835\uDD6A","yscr":"\uD835\uDCCE","yucy":"ю","yum":"\xff","yuml":"\xff","zacute":"ź","zcaron":"ž","zcy":"з","zdot":"ż","zeetrf":"ℨ","zeta":"ζ","zfr":"\uD835\uDD37","zhcy":"ж","zigrarr":"⇝","zopf":"\uD835\uDD6B","zscr":"\uD835\uDCCF","zwj":"‍","zwnj":"‌"}')}}; \ No newline at end of file diff --git a/server/chunks/972.js b/server/chunks/972.js new file mode 100644 index 0000000000000000000000000000000000000000..65bea06cc6b400632410ec0eb3a52081de185d5d --- /dev/null +++ b/server/chunks/972.js @@ -0,0 +1,12 @@ +exports.id=972,exports.ids=[972],exports.modules={87070:(e,t,i)=>{"use strict";var r=i(98277);i.o(r,"NextResponse")&&i.d(t,{NextResponse:function(){return r.NextResponse}})},18346:(e,t,i)=>{var r;(()=>{var o={226:function(o,n){!function(a,s){"use strict";var l="function",u="undefined",d="object",c="string",h="major",b="model",p="name",f="type",w="vendor",m="version",g="architecture",v="console",x="mobile",y="tablet",P="smarttv",k="wearable",_="embedded",S="Amazon",j="Apple",O="ASUS",L="BlackBerry",R="Browser",N="Chrome",U="Firefox",q="Google",A="Huawei",T="Microsoft",C="Motorola",I="Opera",E="Samsung",M="Sharp",z="Sony",H="Xiaomi",B="Zebra",D="Facebook",W="Chromium OS",$="Mac OS",G=function(e,t){var i={};for(var r in e)t[r]&&t[r].length%2==0?i[r]=t[r].concat(e[r]):i[r]=e[r];return i},V=function(e){for(var t={},i=0;i0?2===n.length?typeof n[1]==l?this[n[0]]=n[1].call(this,u):this[n[0]]=n[1]:3===n.length?typeof n[1]!==l||n[1].exec&&n[1].test?this[n[0]]=u?u.replace(n[1],n[2]):void 0:this[n[0]]=u?n[1].call(this,u,n[2]):void 0:4===n.length&&(this[n[0]]=u?n[3].call(this,u.replace(n[1],n[2])):void 0):this[n]=u||s;c+=2}},K=function(e,t){for(var i in t)if(typeof t[i]===d&&t[i].length>0){for(var r=0;r2&&(e[b]="iPad",e[f]=y),e},this.getEngine=function(){var e={};return e[p]=s,e[m]=s,J.call(e,r,n.engine),e},this.getOS=function(){var e={};return e[p]=s,e[m]=s,J.call(e,r,n.os),v&&!e[p]&&o&&"Unknown"!=o.platform&&(e[p]=o.platform.replace(/chrome os/i,W).replace(/macos/i,$)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>350?X(e,350):e,this},this.setUA(r),this};ee.VERSION="1.0.35",ee.BROWSER=V([p,m,h]),ee.CPU=V([g]),ee.DEVICE=V([b,w,f,v,x,P,y,k,_]),ee.ENGINE=ee.OS=V([p,m]),typeof n!==u?(o.exports&&(n=o.exports=ee),n.UAParser=ee):i.amdO?void 0!==(r=(function(){return ee}).call(t,i,t,e))&&(e.exports=r):typeof a!==u&&(a.UAParser=ee);var et=typeof a!==u&&(a.jQuery||a.Zepto);if(et&&!et.ua){var ei=new ee;et.ua=ei.getResult(),et.ua.get=function(){return ei.getUA()},et.ua.set=function(e){ei.setUA(e);var t=ei.getResult();for(var i in t)et.ua[i]=t[i]}}}("object"==typeof window?window:this)}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}},r=!0;try{o[e].call(i.exports,i,i.exports,a),r=!1}finally{r&&delete n[e]}return i.exports}a.ab=__dirname+"/";var s=a(226);e.exports=s})()},49303:(e,t,i)=>{"use strict";e.exports=i(30517)},44:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{PageSignatureError:function(){return i},RemovedPageError:function(){return r},RemovedUAError:function(){return o}});class i extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form: + + export function middleware(request, event) { + return NextResponse.redirect('/new-location') + } + + Read more: https://nextjs.org/docs/messages/middleware-new-signature + `)}}class r extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`. + Read more: https://nextjs.org/docs/messages/middleware-request-page + `)}}class o extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function. + Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent + `)}}},98277:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{ImageResponse:function(){return r.ImageResponse},NextRequest:function(){return o.NextRequest},NextResponse:function(){return n.NextResponse},URLPattern:function(){return s.URLPattern},userAgent:function(){return a.userAgent},userAgentFromString:function(){return a.userAgentFromString}});let r=i(10006),o=i(39745),n=i(59211),a=i(78471),s=i(72433)},79519:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return d}});let r=i(23777),o=i(93817),n=i(61675),a=i(6111),s=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function l(e,t){return new URL(String(e).replace(s,"localhost"),t&&String(t).replace(s,"localhost"))}let u=Symbol("NextURLInternal");class d{constructor(e,t,i){let r,o;"object"==typeof t&&"pathname"in t||"string"==typeof t?(r=t,o=i||{}):o=i||t||{},this[u]={url:l(e,r??o.base),options:o,basePath:""},this.analyze()}analyze(){var e,t,i,o,s;let l=(0,a.getNextPathnameInfo)(this[u].url.pathname,{nextConfig:this[u].options.nextConfig,parseData:!0,i18nProvider:this[u].options.i18nProvider}),d=(0,n.getHostname)(this[u].url,this[u].options.headers);this[u].domainLocale=this[u].options.i18nProvider?this[u].options.i18nProvider.detectDomainLocale(d):(0,r.detectDomainLocale)(null==(t=this[u].options.nextConfig)?void 0:null==(e=t.i18n)?void 0:e.domains,d);let c=(null==(i=this[u].domainLocale)?void 0:i.defaultLocale)||(null==(s=this[u].options.nextConfig)?void 0:null==(o=s.i18n)?void 0:o.defaultLocale);this[u].url.pathname=l.pathname,this[u].defaultLocale=c,this[u].basePath=l.basePath??"",this[u].buildId=l.buildId,this[u].locale=l.locale??c,this[u].trailingSlash=l.trailingSlash}formatPathname(){return(0,o.formatNextPathnameInfo)({basePath:this[u].basePath,buildId:this[u].buildId,defaultLocale:this[u].options.forceLocale?void 0:this[u].defaultLocale,locale:this[u].locale,pathname:this[u].url.pathname,trailingSlash:this[u].trailingSlash})}formatSearch(){return this[u].url.search}get buildId(){return this[u].buildId}set buildId(e){this[u].buildId=e}get locale(){return this[u].locale??""}set locale(e){var t,i;if(!this[u].locale||!(null==(i=this[u].options.nextConfig)?void 0:null==(t=i.i18n)?void 0:t.locales.includes(e)))throw TypeError(`The NextURL configuration includes no locale "${e}"`);this[u].locale=e}get defaultLocale(){return this[u].defaultLocale}get domainLocale(){return this[u].domainLocale}get searchParams(){return this[u].url.searchParams}get host(){return this[u].url.host}set host(e){this[u].url.host=e}get hostname(){return this[u].url.hostname}set hostname(e){this[u].url.hostname=e}get port(){return this[u].url.port}set port(e){this[u].url.port=e}get protocol(){return this[u].url.protocol}set protocol(e){this[u].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[u].url=l(e),this.analyze()}get origin(){return this[u].url.origin}get pathname(){return this[u].url.pathname}set pathname(e){this[u].url.pathname=e}get hash(){return this[u].url.hash}set hash(e){this[u].url.hash=e}get search(){return this[u].url.search}set search(e){this[u].url.search=e}get password(){return this[u].url.password}set password(e){this[u].url.password=e}get username(){return this[u].url.username}set username(e){this[u].url.username=e}get basePath(){return this[u].basePath}set basePath(e){this[u].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new d(String(this),this[u].options)}}},10006:(e,t)=>{"use strict";function i(){throw Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead')}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageResponse",{enumerable:!0,get:function(){return i}})},39745:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{INTERNALS:function(){return s},NextRequest:function(){return l}});let r=i(79519),o=i(17636),n=i(44),a=i(92044),s=Symbol("internal request");class l extends Request{constructor(e,t={}){let i="string"!=typeof e&&"url"in e?e.url:String(e);(0,o.validateURL)(i),e instanceof Request?super(e,t):super(i,t);let n=new r.NextURL(i,{headers:(0,o.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig});this[s]={cookies:new a.RequestCookies(this.headers),geo:t.geo||{},ip:t.ip,nextUrl:n,url:n.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,geo:this.geo,ip:this.ip,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[s].cookies}get geo(){return this[s].geo}get ip(){return this[s].ip}get nextUrl(){return this[s].nextUrl}get page(){throw new n.RemovedPageError}get ua(){throw new n.RemovedUAError}get url(){return this[s].url}}},59211:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextResponse",{enumerable:!0,get:function(){return u}});let r=i(79519),o=i(17636),n=i(92044),a=Symbol("internal response"),s=new Set([301,302,303,307,308]);function l(e,t){var i;if(null==e?void 0:null==(i=e.request)?void 0:i.headers){if(!(e.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let i=[];for(let[r,o]of e.request.headers)t.set("x-middleware-request-"+r,o),i.push(r);t.set("x-middleware-override-headers",i.join(","))}}class u extends Response{constructor(e,t={}){super(e,t),this[a]={cookies:new n.ResponseCookies(this.headers),url:t.url?new r.NextURL(t.url,{headers:(0,o.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[a].cookies}static json(e,t){let i=Response.json(e,t);return new u(i.body,i)}static redirect(e,t){let i="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!s.has(i))throw RangeError('Failed to execute "redirect" on "response": Invalid status code');let r="object"==typeof t?t:{},n=new Headers(null==r?void 0:r.headers);return n.set("Location",(0,o.validateURL)(e)),new u(null,{...r,headers:n,status:i})}static rewrite(e,t){let i=new Headers(null==t?void 0:t.headers);return i.set("x-middleware-rewrite",(0,o.validateURL)(e)),l(t,i),new u(null,{...t,headers:i})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),l(e,t),new u(null,{...e,headers:t})}}},72433:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"URLPattern",{enumerable:!0,get:function(){return i}});let i="undefined"==typeof URLPattern?void 0:URLPattern},78471:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{isBot:function(){return o},userAgent:function(){return a},userAgentFromString:function(){return n}});let r=function(e){return e&&e.__esModule?e:{default:e}}(i(18346));function o(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}function n(e){return{...(0,r.default)(e),isBot:void 0!==e&&o(e)}}function a({headers:e}){return n(e.get("user-agent")||void 0)}},17636:(e,t)=>{"use strict";function i(e){let t=new Headers;for(let[i,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(i,e));return t}function r(e){var t,i,r,o,n,a=[],s=0;function l(){for(;s=e.length)&&a.push(e.substring(t,e.length))}return a}function o(e){let t={},i=[];if(e)for(let[o,n]of e.entries())"set-cookie"===o.toLowerCase()?(i.push(...r(n)),t[o]=1===i.length?i[0]:i):t[o]=n;return t}function n(e){try{return String(new URL(String(e)))}catch(t){throw Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t})}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{fromNodeOutgoingHttpHeaders:function(){return i},splitCookiesString:function(){return r},toNodeOutgoingHttpHeaders:function(){return o},validateURL:function(){return n}})},61675:(e,t)=>{"use strict";function i(e,t){let i;if((null==t?void 0:t.host)&&!Array.isArray(t.host))i=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;i=e.hostname}return i.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return i}})},23777:(e,t)=>{"use strict";function i(e,t,i){if(e)for(let n of(i&&(i=i.toLowerCase()),e)){var r,o;if(t===(null==(r=n.domain)?void 0:r.split(":",1)[0].toLowerCase())||i===n.defaultLocale.toLowerCase()||(null==(o=n.locales)?void 0:o.some(e=>e.toLowerCase()===i)))return n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return i}})},80225:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}});let r=i(91041),o=i(84329);function n(e,t,i,n){if(!t||t===i)return e;let a=e.toLowerCase();return!n&&((0,o.pathHasPrefix)(a,"/api")||(0,o.pathHasPrefix)(a,"/"+t.toLowerCase()))?e:(0,r.addPathPrefix)(e,"/"+t)}},91041:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let r=i(81693);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:i,query:o,hash:n}=(0,r.parsePath)(e);return""+t+i+o+n}},98166:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let r=i(81693);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:i,query:o,hash:n}=(0,r.parsePath)(e);return""+i+t+o+n}},93817:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let r=i(37847),o=i(91041),n=i(98166),a=i(80225);function s(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,n.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,n.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},6111:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});let r=i(95014),o=i(29529),n=i(84329);function a(e,t){var i,a;let{basePath:s,i18n:l,trailingSlash:u}=null!=(i=t.nextConfig)?i:{},d={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,n.pathHasPrefix)(d.pathname,s)&&(d.pathname=(0,o.removePathPrefix)(d.pathname,s),d.basePath=s);let c=d.pathname;if(d.pathname.startsWith("/_next/data/")&&d.pathname.endsWith(".json")){let e=d.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),i=e[0];d.buildId=i,c="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(d.pathname=c)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(d.pathname):(0,r.normalizeLocalePath)(d.pathname,l.locales);d.locale=e.detectedLocale,d.pathname=null!=(a=e.pathname)?a:d.pathname,!e.detectedLocale&&d.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(c):(0,r.normalizeLocalePath)(c,l.locales)).detectedLocale&&(d.locale=e.detectedLocale)}return d}},81693:(e,t)=>{"use strict";function i(e){let t=e.indexOf("#"),i=e.indexOf("?"),r=i>-1&&(t<0||i-1?{pathname:e.substring(0,r?i:t),query:r?e.substring(i,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return i}})},84329:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let r=i(81693);function o(e,t){if("string"!=typeof e)return!1;let{pathname:i}=(0,r.parsePath)(e);return i===t||i.startsWith(t+"/")}},29529:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let r=i(84329);function o(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;let i=e.slice(t.length);return i.startsWith("/")?i:"/"+i}}}; \ No newline at end of file diff --git a/server/chunks/997.js b/server/chunks/997.js new file mode 100644 index 0000000000000000000000000000000000000000..51f45d2555c902f16f81c0e5d8b0fd0f3d2f6595 --- /dev/null +++ b/server/chunks/997.js @@ -0,0 +1,6 @@ +exports.id=997,exports.ids=[997],exports.modules={53416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(23658);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(23658),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});let n=r(91174),o=r(10326),i=n._(r(17577)),a=r(25619),u=r(60944),s=r(43071),l=r(51348),c=r(53416),f=r(50131),p=r(52413),d=r(49408),h=r(39683),m=r(3486),g=r(57767);function y(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let E=i.default.forwardRef(function(e,t){let r,n;let{href:s,as:E,children:v,prefetch:b=null,passHref:R,replace:_,shallow:P,scroll:x,locale:O,onClick:j,onMouseEnter:S,onTouchStart:A,legacyBehavior:T=!1,...M}=e;r=v,T&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let N=i.default.useContext(f.RouterContext),w=i.default.useContext(p.AppRouterContext),C=null!=N?N:w,I=!N,U=!1!==b,k=null===b?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:L,as:$}=i.default.useMemo(()=>{if(!N){let e=y(s);return{href:e,as:E?y(E):e}}let[e,t]=(0,a.resolveHref)(N,s,!0);return{href:e,as:E?(0,a.resolveHref)(N,E):t||e}},[N,s,E]),D=i.default.useRef(L),W=i.default.useRef($);T&&(n=i.default.Children.only(r));let F=T?n&&"object"==typeof n&&n.ref:t,[z,q,H]=(0,d.useIntersection)({rootMargin:"200px"}),K=i.default.useCallback(e=>{(W.current!==$||D.current!==L)&&(H(),W.current=$,D.current=L),z(e),F&&("function"==typeof F?F(e):"object"==typeof F&&(F.current=e))},[$,F,L,H,z]);i.default.useEffect(()=>{},[$,L,q,O,U,null==N?void 0:N.locale,C,I,k]);let Q={ref:K,onClick(e){T||"function"!=typeof j||j(e),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),C&&!e.defaultPrevented&&function(e,t,r,n,o,a,s,l,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,u.isLocalURL)(r)))return;e.preventDefault();let p=()=>{let e=null==s||s;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:l,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};c?i.default.startTransition(p):p()}(e,C,L,$,_,P,x,O,I)},onMouseEnter(e){T||"function"!=typeof S||S(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e)},onTouchStart:function(e){T||"function"!=typeof A||A(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e)}};if((0,l.isAbsoluteUrl)($))Q.href=$;else if(!T||R||"a"===n.type&&!("href"in n.props)){let e=void 0!==O?O:null==N?void 0:N.locale,t=(null==N?void 0:N.isLocaleDomain)&&(0,h.getDomainLocale)($,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales);Q.href=t||(0,m.addBasePath)((0,c.addLocale)($,e,null==N?void 0:N.defaultLocale))}return T?i.default.cloneElement(n,Q):(0,o.jsx)("a",{...M,...Q,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(72149),o=r(43071),i=r(20757),a=r(51348),u=r(23658),s=r(60944),l=r(94903),c=r(81394);function f(e,t,r){let f;let p="string"==typeof t?t:(0,o.formatWithValidation)(t),d=p.match(/^[a-zA-Z]{1,}:\/\//),h=d?p.slice(d[0].length):p;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+p+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(h);p=(d?d[0]:"")+t}if(!(0,s.isLocalURL)(p))return r?[p]:p;try{f=new URL(p.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(p,f);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,l.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:a,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,r);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(r,u)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[a,t||a]:a}catch(e){return r?[p]:p}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let n=r(17577),o=r(10956),i="function"==typeof IntersectionObserver,a=new Map,u=[];function s(e){let{rootRef:t,rootMargin:r,disabled:s}=e,l=s||!i,[c,f]=(0,n.useState)(!1),p=(0,n.useRef)(null),d=(0,n.useCallback)(e=>{p.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(l||c)return;let e=p.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=u.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},u.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=u.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&u.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[l,r,t,c,p.current]),[d,c,(0,n.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50131:(e,t,r)=>{"use strict";e.exports=r(81616).vendored.contexts.RouterContext},2451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},43071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return u},urlObjectKeys:function(){return a}});let n=r(58374)._(r(72149)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,i=e.protocol||"",a=e.pathname||"",u=e.hash||"",s=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==l?(l="//"+(l||""),a&&"/"!==a[0]&&(a="/"+a)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),""+i+l+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+u}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},94903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(44712),o=r(45541)},81394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let n=r(9966),o=r(37249);function i(e,t,r){let i="",a=(0,o.getRouteRegex)(e),u=a.groups,s=(t!==e?(0,n.getRouteMatcher)(a)(t):"")||r;i=e;let l=Object.keys(u);return l.every(e=>{let t=s[e]||"",{repeat:r,optional:n}=u[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(i=i.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:l,result:i}}},45541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(87356),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},60944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=r(51348),o=r(37929);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},20757:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},72149:(e,t)=>{"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},9966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(51348);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(a[e]=~n.indexOf("/")?n.split("/").map(e=>i(e)):t.repeat?[i(n)]:i(n))}),a}}},37249:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return s}});let n=r(87356),o=r(2451),i=r(83236);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:n,repeat:s}=a(i[1]);return r[e]={pos:u++,repeat:s,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=a(i[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function l(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:i,keyPrefix:u}=e,{key:s,optional:l,repeat:c}=a(n),f=s.replace(/\W/g,"");u&&(f=""+u+f);let p=!1;(0===f.length||f.length>30)&&(p=!0),isNaN(parseInt(f.slice(0,1)))||(p=!0),p&&(f=r()),u?i[f]=""+u+s:i[f]=s;let d=t?(0,o.escapeStringRegexp)(t):"";return c?l?"(?:/"+d+"(?<"+f+">.+?))?":"/"+d+"(?<"+f+">.+?)":"/"+d+"(?<"+f+">[^/]+?)"}function c(e,t){let r;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={};return{namedParameterizedRoute:a.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&i){let[r]=e.split(i[0]);return l({getSafeRouteKey:u,interceptionMarker:r,segment:i[1],routeKeys:s,keyPrefix:t?"nxtI":void 0})}return i?l({getSafeRouteKey:u,segment:i[1],routeKeys:s,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:s}}function f(e,t){let r=c(e,t);return{...s(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function p(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},44712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),a=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),a=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function i(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},51348:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return s},getLocationOrigin:function(){return a},getURL:function(){return u},isAbsoluteUrl:function(){return i},isResSent:function(){return l},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;io.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=a();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&l(r))return n;if(!n)throw Error('"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},57371:(e,t,r)=>{"use strict";r.d(t,{default:()=>o.a});var n=r(670),o=r.n(n)},50338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION:function(){return n},FLIGHT_PARAMETERS:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return c},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_RSC_UNION_QUERY:function(){return l},NEXT_URL:function(){return a},RSC_CONTENT_TYPE_HEADER:function(){return u},RSC_HEADER:function(){return r}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",i="Next-Router-Prefetch",a="Next-Url",u="text/x-component",s=[[r],[o],[i]],l="_rsc",c="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},670:(e,t,r)=>{"use strict";let{createProxy:n}=r(68570);e.exports=n("/mnt/c/Users/jojo/aimodels/webapps/logoichat_v2/node_modules/next/dist/client/link.js")},17255:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t={};(()=>{/*! + * cookie + * Copyright(c) 2012-2014 Roman Shtylman + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var o={},i=t.split(n),a=(r||{}).decode||e,u=0;u{"use strict";function r(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){o+=e[i++];continue}break}if(!o)throw TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:o}),r=i;continue}if("("===n){var u=1,s="",i=r+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '+i);for(;i-1:void 0===v;o||(d+="(?:"+p+"(?="+f+"))?"),b||(d+="(?="+p+"|"+f+")")}return new RegExp(d,a(r))}function s(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fillMetadataSegment:function(){return f},normalizeMetadataRoute:function(){return p}});let n=r(20616),o=function(e){return e&&e.__esModule?e:{default:e}}(r(11293)),i=r(47262),a=r(55679),u=r(8785),s=r(78168),l=r(41040);function c(e){let t="";return(e.includes("(")&&e.includes(")")||e.includes("@"))&&(t=(0,u.djb2Hash)(e).toString(36).slice(0,6)),t}function f(e,t,r){let n=(0,s.normalizeAppPath)(e),u=(0,a.getNamedRouteRegex)(n,!1),f=(0,i.interpolateDynamicPath)(n,t,u),p=c(e),d=p?`-${p}`:"",{name:h,ext:m}=o.default.parse(r);return(0,l.normalizePathSep)(o.default.join(f,`${h}${d}${m}`))}function p(e){if(!(0,n.isMetadataRoute)(e))return e;let t=e,r="";if("/robots"===e?t+=".txt":"/manifest"===e?t+=".webmanifest":e.endsWith("/sitemap")?t+=".xml":r=c(e.slice(0,-(o.default.basename(e).length+1))),!t.endsWith("/route")){let{dir:i,name:a,ext:u}=o.default.parse(t),s=(0,n.isStaticMetadataRoute)(e);t=o.default.posix.join(i,`${a}${r?`-${r}`:""}${u}`,s?"":"[[...__metadata_id__]]","route")}return t}},20616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{STATIC_METADATA_IMAGES:function(){return o},isMetadataRoute:function(){return c},isMetadataRouteFile:function(){return u},isStaticMetadataRoute:function(){return l},isStaticMetadataRouteFile:function(){return s}});let n=r(41040),o={icon:{filename:"icon",extensions:["ico","jpg","jpeg","png","svg"]},apple:{filename:"apple-icon",extensions:["jpg","jpeg","png"]},favicon:{filename:"favicon",extensions:["ico"]},openGraph:{filename:"opengraph-image",extensions:["jpg","jpeg","png","gif"]},twitter:{filename:"twitter-image",extensions:["jpg","jpeg","png","gif"]}},i=["js","jsx","ts","tsx"],a=e=>`(?:${e.join("|")})`;function u(e,t,r){let i=[RegExp(`^[\\\\/]robots${r?`\\.${a(t.concat("txt"))}$`:""}`),RegExp(`^[\\\\/]manifest${r?`\\.${a(t.concat("webmanifest","json"))}$`:""}`),RegExp("^[\\\\/]favicon\\.ico$"),RegExp(`[\\\\/]sitemap${r?`\\.${a(t.concat("xml"))}$`:""}`),RegExp(`[\\\\/]${o.icon.filename}\\d?${r?`\\.${a(t.concat(o.icon.extensions))}$`:""}`),RegExp(`[\\\\/]${o.apple.filename}\\d?${r?`\\.${a(t.concat(o.apple.extensions))}$`:""}`),RegExp(`[\\\\/]${o.openGraph.filename}\\d?${r?`\\.${a(t.concat(o.openGraph.extensions))}$`:""}`),RegExp(`[\\\\/]${o.twitter.filename}\\d?${r?`\\.${a(t.concat(o.twitter.extensions))}$`:""}`)],u=(0,n.normalizePathSep)(e);return i.some(e=>e.test(u))}function s(e){return u(e,[],!0)}function l(e){return"/robots"===e||"/manifest"===e||s(e)}function c(e){let t=e.replace(/^\/?app\//,"").replace(/\/route$/,"");return"/"!==t[0]&&(t="/"+t),!t.endsWith("/page")&&u(t,i,!1)}},16975:(e,t,r)=>{"use strict";function n(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:n}=r(17255);return n(Array.isArray(t)?t.join("; "):t)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return n}})},11586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return a},isInterceptionRouteAppPath:function(){return i}});let n=r(78168),o=["(..)(..)","(.)","(..)","(...)"];function i(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function a(e){let t,r,i;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,i]=e.split(r,2);break}if(!t||!r||!i)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":i="/"===t?`/${i}`:t+"/"+i;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);i=t.split("/").slice(0,-1).concat(i).join("/");break;case"(...)":i="/"+i;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);i=a.slice(0,-2).concat(i).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:i}}},47262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getUtils:function(){return m},interpolateDynamicPath:function(){return d},normalizeDynamicRouteParams:function(){return h},normalizeVercelUrl:function(){return p}});let n=r(57310),o=r(95014),i=r(3707),a=r(55679),u=r(23525),s=r(5257),l=r(37847),c=r(78168),f=r(11943);function p(e,t,r,o,i){if(o&&t&&i){let t=(0,n.parse)(e.url,!0);for(let e of(delete t.search,Object.keys(t.query)))(e!==f.NEXT_QUERY_PARAM_PREFIX&&e.startsWith(f.NEXT_QUERY_PARAM_PREFIX)||(r||Object.keys(i.groups)).includes(e))&&delete t.query[e];e.url=(0,n.format)(t)}}function d(e,t,r){if(!r)return e;for(let n of Object.keys(r.groups)){let{optional:o,repeat:i}=r.groups[n],a=`[${i?"...":""}${n}]`;o&&(a=`[${a}]`);let u=e.indexOf(a);if(u>-1){let r;let o=t[n];r=Array.isArray(o)?o.map(e=>e&&encodeURIComponent(e)).join("/"):o?encodeURIComponent(o):"",e=e.slice(0,u)+r+e.slice(u+a.length)}}return e}function h(e,t,r,n){let o=!0;return r?{params:e=Object.keys(r.groups).reduce((i,a)=>{let u=e[a];"string"==typeof u&&(u=(0,c.normalizeRscURL)(u)),Array.isArray(u)&&(u=u.map(e=>("string"==typeof e&&(e=(0,c.normalizeRscURL)(e)),e)));let s=n[a],l=r.groups[a].optional;return((Array.isArray(s)?s.some(e=>Array.isArray(u)?u.some(t=>t.includes(e)):null==u?void 0:u.includes(e)):null==u?void 0:u.includes(s))||void 0===u&&!(l&&t))&&(o=!1),l&&(!u||Array.isArray(u)&&1===u.length&&("index"===u[0]||u[0]===`[[...${a}]]`))&&(u=void 0,delete e[a]),u&&"string"==typeof u&&r.groups[a].repeat&&(u=u.split("/")),u&&(i[a]=u),i},{}),hasValidParams:o}:{params:e,hasValidParams:!1}}function m({page:e,i18n:t,basePath:r,rewrites:n,pageIsDynamic:c,trailingSlash:m,caseSensitive:g}){let y,E,v;return c&&(y=(0,a.getNamedRouteRegex)(e,!1),v=(E=(0,u.getRouteMatcher)(y))(e)),{handleRewrites:function(a,u){let f={},p=u.pathname,d=n=>{let l=(0,i.getPathMatch)(n.source+(m?"(/)?":""),{removeUnnamedParams:!0,strict:!0,sensitive:!!g})(u.pathname);if((n.has||n.missing)&&l){let e=(0,s.matchHas)(a,u.query,n.has,n.missing);e?Object.assign(l,e):l=!1}if(l){let{parsedDestination:i,destQuery:a}=(0,s.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:l,query:u.query});if(i.protocol)return!0;if(Object.assign(f,a,l),Object.assign(u.query,i.query),delete i.query,Object.assign(u,i),p=u.pathname,r&&(p=p.replace(RegExp(`^${r}`),"")||"/"),t){let e=(0,o.normalizeLocalePath)(p,t.locales);p=e.pathname,u.query.nextInternalLocale=e.detectedLocale||l.nextInternalLocale}if(p===e)return!0;if(c&&E){let e=E(p);if(e)return u.query={...u.query,...e},!0}}return!1};for(let e of n.beforeFiles||[])d(e);if(p!==e){let t=!1;for(let e of n.afterFiles||[])if(t=d(e))break;if(!t&&!(()=>{let t=(0,l.removeTrailingSlash)(p||"");return t===(0,l.removeTrailingSlash)(e)||(null==E?void 0:E(t))})()){for(let e of n.fallback||[])if(t=d(e))break}}return f},defaultRouteRegex:y,dynamicRouteMatcher:E,defaultRouteMatches:v,getParamsFromRouteMatches:function(e,r,n){return(0,u.getRouteMatcher)(function(){let{groups:e,routeKeys:o}=y;return{re:{exec:i=>{let a=Object.fromEntries(new URLSearchParams(i)),u=t&&n&&a["1"]===n;for(let e of Object.keys(a)){let t=a[e];e!==f.NEXT_QUERY_PARAM_PREFIX&&e.startsWith(f.NEXT_QUERY_PARAM_PREFIX)&&(a[e.substring(f.NEXT_QUERY_PARAM_PREFIX.length)]=t,delete a[e])}let s=Object.keys(o||{}),l=e=>{if(t){let o=Array.isArray(e),i=o?e[0]:e;if("string"==typeof i&&t.locales.some(e=>e.toLowerCase()===i.toLowerCase()&&(n=e,r.locale=n,!0)))return o&&e.splice(0,1),!o||0===e.length}return!1};return s.every(e=>a[e])?s.reduce((t,r)=>{let n=null==o?void 0:o[r];return n&&!l(a[r])&&(t[e[n].pos]=a[r]),t},{}):Object.keys(a).reduce((e,t)=>{if(!l(a[t])){let r=t;return u&&(r=parseInt(t,10)-1+""),Object.assign(e,{[r]:a[t]})}return e},{})}},groups:e}}())(e.headers["x-now-route-matches"])},normalizeDynamicRouteParams:(e,t)=>h(e,t,y,v),normalizeVercelUrl:(e,t,r)=>p(e,t,r,c,y),interpolateDynamicPath:(e,t)=>d(e,t,y)}}},4080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},8785:(e,t)=>{"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},11293:(e,t,r)=>{"use strict";let n;n=r(71017),e.exports=n},1555:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},41040:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},78168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return i},normalizeRscURL:function(){return a}});let n=r(1555),o=r(65406);function i(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function a(e){return e.replace(/\.rsc($|\?)/,"$1")}},81942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}}),r(62569);let n=r(54869);function o(e,t){let r=new URL("http://n"),o=t?new URL(t,r):e.startsWith(".")?new URL("http://n"):r,{pathname:i,searchParams:a,search:u,hash:s,href:l,origin:c}=new URL(e,o);if(c!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,n.searchParamsToUrlQuery)(a),search:u,hash:s,href:l.slice(r.origin.length)}}},13226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return i}});let n=r(54869),o=r(81942);function i(e){if(e.startsWith("/"))return(0,o.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,n.searchParamsToUrlQuery)(t.searchParams),search:t.search}}},3707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return o}});let n=r(81792);function o(e,t){let r=[],o=(0,n.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),i=(0,n.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(o.source),o.flags):o,r);return(e,n)=>{if("string"!=typeof e)return!1;let o=i(e);if(!o)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete o.params[e.name];return{...n,...o.params}}}},5257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{compileNonPath:function(){return f},matchHas:function(){return c},prepareDestination:function(){return p}});let n=r(81792),o=r(4080),i=r(13226),a=r(11586),u=r(50338),s=r(16975);function l(e){return e.replace(/__ESC_COLON_/gi,":")}function c(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let o={},i=r=>{let n;let i=r.key;switch(r.type){case"header":i=i.toLowerCase(),n=e.headers[i];break;case"cookie":n="cookies"in e?e.cookies[r.key]:(0,s.getCookieParser)(e.headers)()[r.key];break;case"query":n=t[i];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};n=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!r.value&&n)return o[function(e){let t="";for(let r=0;r64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}(i)]=n,!0;if(n){let e=RegExp("^"+r.value+"$"),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{o[e]=t.groups[e]}):"host"===r.type&&t[0]&&(o.host=t[0])),!0}return!1};return!!r.every(e=>i(e))&&!n.some(e=>i(e))&&o}function f(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,n.compile)("/"+e,{validate:!1})(t).slice(1)}function p(e){let t;let r=Object.assign({},e.query);delete r.__nextLocale,delete r.__nextDefaultLocale,delete r.__nextDataReq,delete r.__nextInferredLocaleFromDefault,delete r[u.NEXT_RSC_UNION_QUERY];let s=e.destination;for(let t of Object.keys({...e.params,...r}))s=s.replace(RegExp(":"+(0,o.escapeStringRegexp)(t),"g"),"__ESC_COLON_"+t);let c=(0,i.parseUrl)(s),p=c.query,d=l(""+c.pathname+(c.hash||"")),h=l(c.hostname||""),m=[],g=[];(0,n.pathToRegexp)(d,m),(0,n.pathToRegexp)(h,g);let y=[];m.forEach(e=>y.push(e.name)),g.forEach(e=>y.push(e.name));let E=(0,n.compile)(d,{validate:!1}),v=(0,n.compile)(h,{validate:!1});for(let[t,r]of Object.entries(p))Array.isArray(r)?p[t]=r.map(t=>f(l(t),e.params)):"string"==typeof r&&(p[t]=f(l(r),e.params));let b=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!b.some(e=>y.includes(e)))for(let t of b)t in p||(p[t]=e.params[t]);if((0,a.isInterceptionRouteAppPath)(d))for(let t of d.split("/")){let r=a.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){e.params["0"]=r;break}}try{let[r,n]=(t=E(e.params)).split("#",2);c.hostname=v(e.params),c.pathname=r,c.hash=(n?"#":"")+(n||""),delete c.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw e}return c.query={...r,...c.query},{newUrl:t,destQuery:p,parsedDestination:c}}},54869:(e,t)=>{"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},23525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(62569);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(a[e]=~n.indexOf("/")?n.split("/").map(e=>i(e)):t.repeat?[i(n)]:i(n))}),a}}},55679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return s}});let n=r(11586),o=r(4080),i=r(37847);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:n,repeat:s}=a(i[1]);return r[e]={pos:u++,repeat:s,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=a(i[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function l(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:i,keyPrefix:u}=e,{key:s,optional:l,repeat:c}=a(n),f=s.replace(/\W/g,"");u&&(f=""+u+f);let p=!1;(0===f.length||f.length>30)&&(p=!0),isNaN(parseInt(f.slice(0,1)))||(p=!0),p&&(f=r()),u?i[f]=""+u+s:i[f]=s;let d=t?(0,o.escapeStringRegexp)(t):"";return c?l?"(?:/"+d+"(?<"+f+">.+?))?":"/"+d+"(?<"+f+">.+?)":"/"+d+"(?<"+f+">[^/]+?)"}function c(e,t){let r;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={};return{namedParameterizedRoute:a.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&i){let[r]=e.split(i[0]);return l({getSafeRouteKey:u,interceptionMarker:r,segment:i[1],routeKeys:s,keyPrefix:t?"nxtI":void 0})}return i?l({getSafeRouteKey:u,segment:i[1],routeKeys:s,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:s}}function f(e,t){let r=c(e,t);return{...s(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function p(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},65406:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});let n="__PAGE__",o="__DEFAULT__"},62569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return s},getLocationOrigin:function(){return a},getURL:function(){return u},isAbsoluteUrl:function(){return i},isResSent:function(){return l},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;io.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=a();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&l(r))return n;if(!n)throw Error('"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}}}; \ No newline at end of file diff --git a/server/chunks/font-manifest.json b/server/chunks/font-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/server/chunks/font-manifest.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/server/edge-runtime-webpack.js b/server/edge-runtime-webpack.js new file mode 100644 index 0000000000000000000000000000000000000000..0c28daebbd299a9cef3bf23bf5f76c0363bf9ad5 --- /dev/null +++ b/server/edge-runtime-webpack.js @@ -0,0 +1,2 @@ +(()=>{"use strict";var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var f=r[o]={exports:{}},i=!0;try{e[o].call(f.exports,f,f.exports,t),i=!1}finally{i&&delete r[o]}return f.exports}t.m=e,t.amdO={},(()=>{var e=[];t.O=(r,o,n,f)=>{if(o){f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[o,n,f];return}for(var a=1/0,i=0;i=f&&Object.keys(t.O).every(e=>t.O[e](o[u]))?o.splice(u--,1):(l=!1,f{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var f=Object.create(null);t.r(f);var i={};e=e||[null,r({}),r([]),r(r)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,t.d(f,i),f}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={993:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var n,f,[i,a,l]=o,u=0;if(i.some(r=>0!==e[r])){for(n in a)t.o(a,n)&&(t.m[n]=a[n]);if(l)var c=l(t)}for(r&&r(o);u {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t993: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","threw","__webpack_modules__","call","m","amdO","deferred","O","result","chunkIds","fn","priority","i","length","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","leafPrototypes","getProto","getPrototypeOf","obj","__proto__","t","value","mode","__esModule","then","ns","create","def","current","indexOf","getOwnPropertyNames","forEach","d","definition","o","defineProperty","enumerable","get","g","globalThis","e","window","prop","prototype","hasOwnProperty","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","bind","push"],"sourceRoot":""} \ No newline at end of file diff --git a/server/font-manifest.json b/server/font-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/server/font-manifest.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/server/functions-config-manifest.json b/server/functions-config-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..03362957eabb0aa9d3f786c628a7def110b1e857 --- /dev/null +++ b/server/functions-config-manifest.json @@ -0,0 +1 @@ +{"version":1,"functions":{"/":{},"/auth/sign-in":{},"/auth/sign-up":{},"/auth/sign-out":{},"/auth/callback":{}}} \ No newline at end of file diff --git a/server/interception-route-rewrite-manifest.js b/server/interception-route-rewrite-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..24f77ba74f79609fc4cf4cc495a629f822a5fd0d --- /dev/null +++ b/server/interception-route-rewrite-manifest.js @@ -0,0 +1 @@ +self.__INTERCEPTION_ROUTE_REWRITE_MANIFEST="[]"; \ No newline at end of file diff --git a/server/middleware-build-manifest.js b/server/middleware-build-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..821f838d336f5a18a47e5326ce57195adfa53e64 --- /dev/null +++ b/server/middleware-build-manifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-78c92fac7aa8fdd8.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:["static/YqlqDnQDm-iyhuuwlKaBS/_buildManifest.js","static/YqlqDnQDm-iyhuuwlKaBS/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-2466ab9636493fdd.js","static/chunks/fd9d1056-43fa94a246f00ae5.js","static/chunks/23-d9753b926737e028.js","static/chunks/main-app-569fa6067ce26e25.js"],pages:{"/_app":["static/chunks/webpack-2466ab9636493fdd.js","static/chunks/framework-00a8ba1a63cfdc9e.js","static/chunks/main-4821cc7b300ef656.js","static/chunks/pages/_app-037b5d058bd9a820.js"],"/_error":["static/chunks/webpack-2466ab9636493fdd.js","static/chunks/framework-00a8ba1a63cfdc9e.js","static/chunks/main-4821cc7b300ef656.js","static/chunks/pages/_error-6ae619510b1539d6.js"]},ampFirstPages:[]}; \ No newline at end of file diff --git a/server/middleware-manifest.json b/server/middleware-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..72cf7bba890cfc1e74592836b3a5de954231b040 --- /dev/null +++ b/server/middleware-manifest.json @@ -0,0 +1,31 @@ +{ + "version": 3, + "middleware": { + "/": { + "files": [ + "prerender-manifest.js", + "server/edge-runtime-webpack.js", + "server/middleware.js" + ], + "name": "middleware", + "page": "/", + "matchers": [ + { + "regexp": "^/.*$", + "originalSource": "/:path*" + } + ], + "wasm": [], + "assets": [], + "environments": { + "previewModeId": "c1b69476e52653b7970ed98f65eb4791", + "previewModeSigningKey": "5fa267bbc287c2690f35097146b4c38ee409f2761418e4b91f7a42ce86f4c045", + "previewModeEncryptionKey": "c896154caba76cad6ec32e629e7498e96a6d549616102834a0c14619e8743ece" + } + } + }, + "functions": {}, + "sortedMiddleware": [ + "/" + ] +} \ No newline at end of file diff --git a/server/middleware-react-loadable-manifest.js b/server/middleware-react-loadable-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..52239fadae9d288fa21579b8359387f18f951a24 --- /dev/null +++ b/server/middleware-react-loadable-manifest.js @@ -0,0 +1 @@ +self.__REACT_LOADABLE_MANIFEST='{"node_modules/stream-chat-react/dist/components/MML/MML.js -> mml-react":{"id":9375,"files":["static/chunks/d362c049.93b10acb34b885e3.js","static/chunks/375.09bdbc2183e34089.js"]},"node_modules/stream-chat-react/dist/components/MessageInput/hooks/utils.js -> @stream-io/transliterate":{"id":22984,"files":["static/chunks/984.791ecf2810620410.js"]},"node_modules/stream-chat-react/dist/context/EmojiContext.js -> ./DefaultEmoji":{"id":34683,"files":["static/chunks/683.136620f05c0b7154.js"]},"node_modules/stream-chat-react/dist/context/EmojiContext.js -> ./DefaultEmojiPicker":{"id":5140,"files":["static/chunks/140.b7c295f762558d27.js"]}}'; \ No newline at end of file diff --git a/server/middleware.js b/server/middleware.js new file mode 100644 index 0000000000000000000000000000000000000000..8130c30eb487de8cc97c90da1e9ddaa7a2432c54 --- /dev/null +++ b/server/middleware.js @@ -0,0 +1,24 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[826],{67:e=>{"use strict";e.exports=require("node:async_hooks")},195:e=>{"use strict";e.exports=require("node:buffer")},849:(e,t,r)=>{"use strict";let i;r.r(t),r.d(t,{default:()=>eF});var s,n,a,o,l,u,c,h,d,p,f,g,m={};async function v(){let e="_ENTRIES"in globalThis&&_ENTRIES.middleware_instrumentation&&(await _ENTRIES.middleware_instrumentation).register;if(e)try{await e()}catch(e){throw e.message=`An error occurred while loading instrumentation hook: ${e.message}`,e}}r.r(m),r.d(m,{middleware:()=>eU});let b=null;function w(){return b||(b=v()),b}function y(e){return`The edge runtime does not support Node.js '${e}' module. +Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`}process!==r.g.process&&(process.env=r.g.process.env,r.g.process=process),Object.defineProperty(globalThis,"__import_unsupported",{value:function(e){let t=new Proxy(function(){},{get(t,r){if("then"===r)return{};throw Error(y(e))},construct(){throw Error(y(e))},apply(r,i,s){if("function"==typeof s[0])return s[0](t);throw Error(y(e))}});return new Proxy({},{get:()=>t})},enumerable:!1,configurable:!1}),w();class _ extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form: + + export function middleware(request, event) { + return NextResponse.redirect('/new-location') + } + + Read more: https://nextjs.org/docs/messages/middleware-new-signature + `)}}class S extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`. + Read more: https://nextjs.org/docs/messages/middleware-request-page + `)}}class k extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function. + Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent + `)}}function x(e){let t={},r=[];if(e)for(let[i,s]of e.entries())"set-cookie"===i.toLowerCase()?(r.push(...function(e){var t,r,i,s,n,a=[],o=0;function l(){for(;o=e.length)&&a.push(e.substring(t,e.length))}return a}(s)),t[i]=1===r.length?r[0]:r):t[i]=s;return t}function O(e){try{return String(new URL(String(e)))}catch(t){throw Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t})}}let T=Symbol("response"),P=Symbol("passThrough"),C=Symbol("waitUntil");class E{constructor(e){this[C]=[],this[P]=!1}respondWith(e){this[T]||(this[T]=Promise.resolve(e))}passThroughOnException(){this[P]=!0}waitUntil(e){this[C].push(e)}}class I extends E{constructor(e){super(e.request),this.sourcePage=e.page}get request(){throw new _({page:this.sourcePage})}respondWith(){throw new _({page:this.sourcePage})}}function R(e){return e.replace(/\/$/,"")||"/"}function j(e){let t=e.indexOf("#"),r=e.indexOf("?"),i=r>-1&&(t<0||r-1?{pathname:e.substring(0,i?r:t),query:i?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}function A(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:s}=j(e);return""+t+r+i+s}function N(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:s}=j(e);return""+r+t+i+s}function L(e,t){if("string"!=typeof e)return!1;let{pathname:r}=j(e);return r===t||r.startsWith(t+"/")}function M(e,t){let r;let i=e.split("/");return(t||[]).some(t=>!!i[1]&&i[1].toLowerCase()===t.toLowerCase()&&(r=t,i.splice(1,1),e=i.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}let $=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function D(e,t){return new URL(String(e).replace($,"localhost"),t&&String(t).replace($,"localhost"))}let U=Symbol("NextURLInternal");class B{constructor(e,t,r){let i,s;"object"==typeof t&&"pathname"in t||"string"==typeof t?(i=t,s=r||{}):s=r||t||{},this[U]={url:D(e,i??s.base),options:s,basePath:""},this.analyze()}analyze(){var e,t,r,i,s;let n=function(e,t){var r,i;let{basePath:s,i18n:n,trailingSlash:a}=null!=(r=t.nextConfig)?r:{},o={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):a};s&&L(o.pathname,s)&&(o.pathname=function(e,t){if(!L(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}(o.pathname,s),o.basePath=s);let l=o.pathname;if(o.pathname.startsWith("/_next/data/")&&o.pathname.endsWith(".json")){let e=o.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];o.buildId=r,l="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(o.pathname=l)}if(n){let e=t.i18nProvider?t.i18nProvider.analyze(o.pathname):M(o.pathname,n.locales);o.locale=e.detectedLocale,o.pathname=null!=(i=e.pathname)?i:o.pathname,!e.detectedLocale&&o.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(l):M(l,n.locales)).detectedLocale&&(o.locale=e.detectedLocale)}return o}(this[U].url.pathname,{nextConfig:this[U].options.nextConfig,parseData:!0,i18nProvider:this[U].options.i18nProvider}),a=function(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}(this[U].url,this[U].options.headers);this[U].domainLocale=this[U].options.i18nProvider?this[U].options.i18nProvider.detectDomainLocale(a):function(e,t,r){if(e)for(let n of(r&&(r=r.toLowerCase()),e)){var i,s;if(t===(null==(i=n.domain)?void 0:i.split(":",1)[0].toLowerCase())||r===n.defaultLocale.toLowerCase()||(null==(s=n.locales)?void 0:s.some(e=>e.toLowerCase()===r)))return n}}(null==(t=this[U].options.nextConfig)?void 0:null==(e=t.i18n)?void 0:e.domains,a);let o=(null==(r=this[U].domainLocale)?void 0:r.defaultLocale)||(null==(s=this[U].options.nextConfig)?void 0:null==(i=s.i18n)?void 0:i.defaultLocale);this[U].url.pathname=n.pathname,this[U].defaultLocale=o,this[U].basePath=n.basePath??"",this[U].buildId=n.buildId,this[U].locale=n.locale??o,this[U].trailingSlash=n.trailingSlash}formatPathname(){var e;let t;return t=function(e,t,r,i){if(!t||t===r)return e;let s=e.toLowerCase();return!i&&(L(s,"/api")||L(s,"/"+t.toLowerCase()))?e:A(e,"/"+t)}((e={basePath:this[U].basePath,buildId:this[U].buildId,defaultLocale:this[U].options.forceLocale?void 0:this[U].defaultLocale,locale:this[U].locale,pathname:this[U].url.pathname,trailingSlash:this[U].trailingSlash}).pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix),(e.buildId||!e.trailingSlash)&&(t=R(t)),e.buildId&&(t=N(A(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=A(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:N(t,"/"):R(t)}formatSearch(){return this[U].url.search}get buildId(){return this[U].buildId}set buildId(e){this[U].buildId=e}get locale(){return this[U].locale??""}set locale(e){var t,r;if(!this[U].locale||!(null==(r=this[U].options.nextConfig)?void 0:null==(t=r.i18n)?void 0:t.locales.includes(e)))throw TypeError(`The NextURL configuration includes no locale "${e}"`);this[U].locale=e}get defaultLocale(){return this[U].defaultLocale}get domainLocale(){return this[U].domainLocale}get searchParams(){return this[U].url.searchParams}get host(){return this[U].url.host}set host(e){this[U].url.host=e}get hostname(){return this[U].url.hostname}set hostname(e){this[U].url.hostname=e}get port(){return this[U].url.port}set port(e){this[U].url.port=e}get protocol(){return this[U].url.protocol}set protocol(e){this[U].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[U].url=D(e),this.analyze()}get origin(){return this[U].url.origin}get pathname(){return this[U].url.pathname}set pathname(e){this[U].url.pathname=e}get hash(){return this[U].url.hash}set hash(e){this[U].url.hash=e}get search(){return this[U].url.search}set search(e){this[U].url.search=e}get password(){return this[U].url.password}set password(e){this[U].url.password=e}get username(){return this[U].url.username}set username(e){this[U].url.username=e}get basePath(){return this[U].basePath}set basePath(e){this[U].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new B(String(this),this[U].options)}}var q=r(447);let z=Symbol("internal request");class F extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);O(r),e instanceof Request?super(e,t):super(r,t);let i=new B(r,{headers:x(this.headers),nextConfig:t.nextConfig});this[z]={cookies:new q.RequestCookies(this.headers),geo:t.geo||{},ip:t.ip,nextUrl:i,url:i.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,geo:this.geo,ip:this.ip,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[z].cookies}get geo(){return this[z].geo}get ip(){return this[z].ip}get nextUrl(){return this[z].nextUrl}get page(){throw new S}get ua(){throw new k}get url(){return this[z].url}}let V=Symbol("internal response"),G=new Set([301,302,303,307,308]);function J(e,t){var r;if(null==e?void 0:null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let r=[];for(let[i,s]of e.request.headers)t.set("x-middleware-request-"+i,s),r.push(i);t.set("x-middleware-override-headers",r.join(","))}}class H extends Response{constructor(e,t={}){super(e,t),this[V]={cookies:new q.ResponseCookies(this.headers),url:t.url?new B(t.url,{headers:x(this.headers),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[V].cookies}static json(e,t){let r=Response.json(e,t);return new H(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!G.has(r))throw RangeError('Failed to execute "redirect" on "response": Invalid status code');let i="object"==typeof t?t:{},s=new Headers(null==i?void 0:i.headers);return s.set("Location",O(e)),new H(null,{...i,headers:s,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",O(e)),J(t,r),new H(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),J(e,t),new H(null,{...e,headers:t})}}function K(e,t){let r="string"==typeof t?new URL(t):t,i=new URL(e,t),s=r.protocol+"//"+r.host;return i.protocol+"//"+i.host===s?i.toString().replace(s,""):i.toString()}let X=[["RSC"],["Next-Router-State-Tree"],["Next-Router-Prefetch"]];r(387);let W={client:"client",server:"server",edgeServer:"edge-server"};W.client,W.server,W.edgeServer,Symbol("polyfills");let Z=["__nextFallback","__nextLocale","__nextInferredLocaleFromDefault","__nextDefaultLocale","__nextIsNotFound","_rsc"],Y=["__nextDataReq"],Q="nxtP",ee={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"};({...ee,GROUP:{serverOnly:[ee.reactServerComponents,ee.actionBrowser,ee.appMetadataRoute,ee.appRouteHandler,ee.instrument],clientOnly:[ee.serverSideRendering,ee.appPagesBrowser],nonClientServerTarget:[ee.middleware,ee.api],app:[ee.reactServerComponents,ee.actionBrowser,ee.appMetadataRoute,ee.appRouteHandler,ee.serverSideRendering,ee.appPagesBrowser,ee.shared,ee.instrument]}});class et{static get(e,t,r){let i=Reflect.get(e,t,r);return"function"==typeof i?i.bind(e):i}static set(e,t,r,i){return Reflect.set(e,t,r,i)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class er extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new er}}class ei extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,i){if("symbol"==typeof r)return et.get(t,r,i);let s=r.toLowerCase(),n=Object.keys(e).find(e=>e.toLowerCase()===s);if(void 0!==n)return et.get(t,n,i)},set(t,r,i,s){if("symbol"==typeof r)return et.set(t,r,i,s);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return et.set(t,a??r,i,s)},has(t,r){if("symbol"==typeof r)return et.has(t,r);let i=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===i);return void 0!==s&&et.has(t,s)},deleteProperty(t,r){if("symbol"==typeof r)return et.deleteProperty(t,r);let i=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===i);return void 0===s||et.deleteProperty(t,s)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return er.callable;default:return et.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new ei(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,i]of this.entries())e.call(t,i,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let es=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class en{disable(){throw es}getStore(){}run(){throw es}exit(){throw es}enterWith(){throw es}}let ea=globalThis.AsyncLocalStorage;function eo(){return ea?new ea:new en}let el=eo();class eu extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#cookiessetname-value-options")}static callable(){throw new eu}}class ec{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return eu.callable;default:return et.get(e,t,r)}}})}}let eh=Symbol.for("next.mutated.cookies");class ed{static wrap(e,t){let r=new q.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let i=[],s=new Set,n=()=>{let e=el.getStore();if(e&&(e.pathWasRevalidated=!0),i=r.getAll().filter(e=>s.has(e.name)),t){let e=[];for(let t of i){let r=new q.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}};return new Proxy(r,{get(e,t,r){switch(t){case eh:return i;case"delete":return function(...t){s.add("string"==typeof t[0]?t[0]:t[0].name);try{e.delete(...t)}finally{n()}};case"set":return function(...t){s.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t)}finally{n()}};default:return et.get(e,t,r)}}})}}!function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"}(s||(s={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(n||(n={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(a||(a={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(o||(o={})),(l||(l={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(u||(u={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(c||(c={})),(h||(h={})).executeRoute="Router.executeRoute",(d||(d={})).runHandler="Node.runHandler",(p||(p={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(f||(f={})),(g||(g={})).execute="Middleware.execute";let ep=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],ef=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"],{context:eg,propagation:em,trace:ev,SpanStatusCode:eb,SpanKind:ew,ROOT_CONTEXT:ey}=i=r(692),e_=e=>null!==e&&"object"==typeof e&&"function"==typeof e.then,eS=(e,t)=>{(null==t?void 0:t.bubble)===!0?e.setAttribute("next.bubble",!0):(t&&e.recordException(t),e.setStatus({code:eb.ERROR,message:null==t?void 0:t.message})),e.end()},ek=new Map,ex=i.createContextKey("next.rootSpanId"),eO=0,eT=()=>eO++;class eP{getTracerInstance(){return ev.getTracer("next.js","0.0.1")}getContext(){return eg}getActiveScopeSpan(){return ev.getSpan(null==eg?void 0:eg.active())}withPropagatedContext(e,t,r){let i=eg.active();if(ev.getSpanContext(i))return t();let s=em.extract(i,e,r);return eg.with(s,t)}trace(...e){var t;let[r,i,s]=e,{fn:n,options:a}="function"==typeof i?{fn:i,options:{}}:{fn:s,options:{...i}},o=a.spanName??r;if(!ep.includes(r)&&"1"!==process.env.NEXT_OTEL_VERBOSE||a.hideSpan)return n();let l=this.getSpanContext((null==a?void 0:a.parentSpan)??this.getActiveScopeSpan()),u=!1;l?(null==(t=ev.getSpanContext(l))?void 0:t.isRemote)&&(u=!0):(l=(null==eg?void 0:eg.active())??ey,u=!0);let c=eT();return a.attributes={"next.span_name":o,"next.span_type":r,...a.attributes},eg.with(l.setValue(ex,c),()=>this.getTracerInstance().startActiveSpan(o,a,e=>{let t="performance"in globalThis?globalThis.performance.now():void 0,i=()=>{ek.delete(c),t&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&ef.includes(r||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(r.split(".").pop()||"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}`,{start:t,end:performance.now()})};u&&ek.set(c,new Map(Object.entries(a.attributes??{})));try{if(n.length>1)return n(e,t=>eS(e,t));let t=n(e);if(e_(t))return t.then(t=>(e.end(),t)).catch(t=>{throw eS(e,t),t}).finally(i);return e.end(),i(),t}catch(t){throw eS(e,t),i(),t}}))}wrap(...e){let t=this,[r,i,s]=3===e.length?e:[e[0],{},e[1]];return ep.includes(r)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let e=i;"function"==typeof e&&"function"==typeof s&&(e=e.apply(this,arguments));let n=arguments.length-1,a=arguments[n];if("function"!=typeof a)return t.trace(r,e,()=>s.apply(this,arguments));{let i=t.getContext().bind(eg.active(),a);return t.trace(r,e,(e,t)=>(arguments[n]=function(e){return null==t||t(e),i.apply(this,arguments)},s.apply(this,arguments)))}}:s}startSpan(...e){let[t,r]=e,i=this.getSpanContext((null==r?void 0:r.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(t,r,i)}getSpanContext(e){return e?ev.setSpan(eg.active(),e):void 0}getRootSpanAttributes(){let e=eg.active().getValue(ex);return ek.get(e)}}let eC=(()=>{let e=new eP;return()=>e})(),eE="__prerender_bypass";Symbol("__next_preview_data"),Symbol(eE);class eI{constructor(e,t,r,i){var s;let n=e&&function(e,t){let r=ei.from(e.headers);return{isOnDemandRevalidate:r.get("x-prerender-revalidate")===t.previewModeId,revalidateOnlyGenerated:r.has("x-prerender-revalidate-if-generated")}}(t,e).isOnDemandRevalidate,a=null==(s=r.get(eE))?void 0:s.value;this.isEnabled=!!(!n&&a&&e&&a===e.previewModeId),this._previewModeId=null==e?void 0:e.previewModeId,this._mutableCookies=i}enable(){if(!this._previewModeId)throw Error("Invariant: previewProps missing previewModeId this should never happen");this._mutableCookies.set({name:eE,value:this._previewModeId,httpOnly:!0,sameSite:"none",secure:!0,path:"/"})}disable(){this._mutableCookies.set({name:eE,value:"",httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:new Date(0)})}}let eR={wrap(e,{req:t,res:r,renderOpts:i},s){let n;function a(e){r&&r.setHeader("Set-Cookie",e)}i&&"previewProps"in i&&(n=i.previewProps);let o={},l={get headers(){return o.headers||(o.headers=function(e){let t=ei.from(e);for(let e of X)t.delete(e.toString().toLowerCase());return ei.seal(t)}(t.headers)),o.headers},get cookies(){return o.cookies||(o.cookies=function(e){let t=new q.RequestCookies(ei.from(e));return ec.seal(t)}(t.headers)),o.cookies},get mutableCookies(){return o.mutableCookies||(o.mutableCookies=function(e,t){let r=new q.RequestCookies(ei.from(e));return ed.wrap(r,t)}(t.headers,(null==i?void 0:i.onUpdateCookies)||(r?a:void 0))),o.mutableCookies},get draftMode(){return o.draftMode||(o.draftMode=new eI(n,t,this.cookies,this.mutableCookies)),o.draftMode},reactLoadableManifest:(null==i?void 0:i.reactLoadableManifest)||{},assetPrefix:(null==i?void 0:i.assetPrefix)||""};return e.run(l,s,l)}},ej=eo();class eA extends F{constructor(e){super(e.input,e.init),this.sourcePage=e.page}get request(){throw new _({page:this.sourcePage})}respondWith(){throw new _({page:this.sourcePage})}waitUntil(){throw new _({page:this.sourcePage})}}let eN={keys:e=>Array.from(e.keys()),get:(e,t)=>e.get(t)??void 0},eL=(e,t)=>eC().withPropagatedContext(e.headers,t,eN),eM=!1;async function e$(e){let t,i;!function(){if(!eM&&(eM=!0,"true"===process.env.NEXT_PRIVATE_TEST_PROXY)){let{interceptTestApis:e,wrapRequestHandler:t}=r(311);e(),eL=t(eL)}}(),await w();let s=void 0!==self.__BUILD_MANIFEST,n="string"==typeof self.__PRERENDER_MANIFEST?JSON.parse(self.__PRERENDER_MANIFEST):void 0;e.request.url=e.request.url.replace(/\.rsc($|\?)/,"$1");let a=new B(e.request.url,{headers:e.request.headers,nextConfig:e.request.nextConfig});for(let e of[...a.searchParams.keys()]){let t=a.searchParams.getAll(e);if(e!==Q&&e.startsWith(Q)){let r=e.substring(Q.length);for(let e of(a.searchParams.delete(r),t))a.searchParams.append(r,e);a.searchParams.delete(e)}}let o=a.buildId;a.buildId="";let l=e.request.headers["x-nextjs-data"];l&&"/index"===a.pathname&&(a.pathname="/");let u=function(e){let t=new Headers;for(let[r,i]of Object.entries(e))for(let e of Array.isArray(i)?i:[i])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}(e.request.headers),c=new Map;if(!s)for(let e of X){let t=e.toString().toLowerCase();u.get(t)&&(c.set(t,u.get(t)),u.delete(t))}let h=new eA({page:e.page,input:(function(e,t){let r="string"==typeof e,i=r?new URL(e):e;for(let e of Z)i.searchParams.delete(e);if(t)for(let e of Y)i.searchParams.delete(e);return r?i.toString():i})(a,!0).toString(),init:{body:e.request.body,geo:e.request.geo,headers:u,ip:e.request.ip,method:e.request.method,nextConfig:e.request.nextConfig,signal:e.request.signal}});l&&Object.defineProperty(h,"__isData",{enumerable:!1,value:!0}),!globalThis.__incrementalCache&&e.IncrementalCache&&(globalThis.__incrementalCache=new e.IncrementalCache({appDir:!0,fetchCache:!0,minimalMode:!0,fetchCacheKeyPrefix:"",dev:!1,requestHeaders:e.request.headers,requestProtocol:"https",getPrerenderManifest:()=>({version:-1,routes:{},dynamicRoutes:{},notFoundRoutes:[],preview:{previewModeId:"development-id"}})}));let d=new I({request:h,page:e.page});if((t=await eL(h,()=>"/middleware"===e.page||"/src/middleware"===e.page?eC().trace(g.execute,{spanName:`middleware ${h.method} ${h.nextUrl.pathname}`,attributes:{"http.target":h.nextUrl.pathname,"http.method":h.method}},()=>eR.wrap(ej,{req:h,renderOpts:{onUpdateCookies:e=>{i=e},previewProps:(null==n?void 0:n.preview)||{previewModeId:"development-id",previewModeEncryptionKey:"",previewModeSigningKey:""}}},()=>e.handler(h,d))):e.handler(h,d)))&&!(t instanceof Response))throw TypeError("Expected an instance of Response to be returned");t&&i&&t.headers.set("set-cookie",i);let p=null==t?void 0:t.headers.get("x-middleware-rewrite");if(t&&p&&!s){let r=new B(p,{forceLocale:!0,headers:e.request.headers,nextConfig:e.request.nextConfig});r.host===h.nextUrl.host&&(r.buildId=o||r.buildId,t.headers.set("x-middleware-rewrite",String(r)));let i=K(String(r),String(a));l&&t.headers.set("x-nextjs-rewrite",i)}let f=null==t?void 0:t.headers.get("Location");if(t&&f&&!s){let r=new B(f,{forceLocale:!1,headers:e.request.headers,nextConfig:e.request.nextConfig});t=new Response(t.body,t),r.host===h.nextUrl.host&&(r.buildId=o||r.buildId,t.headers.set("Location",String(r))),l&&(t.headers.delete("Location"),t.headers.set("x-nextjs-redirect",K(String(r),String(a))))}let m=t||H.next(),v=m.headers.get("x-middleware-override-headers"),b=[];if(v){for(let[e,t]of c)m.headers.set(`x-middleware-request-${e}`,t),b.push(e);b.length>0&&m.headers.set("x-middleware-override-headers",v+","+b.join(","))}return{response:m,waitUntil:Promise.all(d[C]),fetchMetrics:h.fetchMetrics}}var eD=r(85);async function eU(e){let t=H.next(),r=(0,eD.createMiddlewareClient)({req:e,res:t});return await r.auth.getSession(),t}r(568),"undefined"==typeof URLPattern||URLPattern;let eB={...m},eq=eB.middleware||eB.default,ez="/middleware";if("function"!=typeof eq)throw Error(`The Middleware "${ez}" must export a \`middleware\` or a \`default\` function`);function eF(e){return e$({...e,page:ez,handler:eq})}},85:(e,t,r)=>{"use strict";var i,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(l,{createBrowserSupabaseClient:()=>P,createClientComponentClient:()=>c,createMiddlewareClient:()=>w,createMiddlewareSupabaseClient:()=>E,createPagesBrowserClient:()=>h,createPagesServerClient:()=>g,createRouteHandlerClient:()=>O,createServerActionClient:()=>T,createServerComponentClient:()=>S,createServerSupabaseClient:()=>C}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))o.call(e,l)||l===r||s(e,l,{get:()=>t[l],enumerable:!(i=n(t,l))||i.enumerable});return e})(s({},"__esModule",{value:!0}),l);var u=r(809);function c({supabaseUrl:e="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:t="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:r,cookieOptions:s,isSingleton:n=!0}={}){if(!e||!t)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");let a=()=>{var i;return(0,u.createSupabaseClient)(e,t,{...r,global:{...null==r?void 0:r.global,headers:{...null==(i=null==r?void 0:r.global)?void 0:i.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==s?void 0:s.name,storage:new u.BrowserCookieAuthStorageAdapter(s)}})};if(n){let e=i??a();return"undefined"==typeof window?e:(i||(i=e),i)}return a()}var h=c,d=r(809),p=r(606),f=class extends d.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t;return(0,p.splitCookiesString)((null==(t=this.context.res.getHeader("set-cookie"))?void 0:t.toString())??"").map(t=>(0,d.parseCookies)(t)[e]).find(e=>!!e)??this.context.req.cookies[e]}setCookie(e,t){this._setCookie(e,t)}deleteCookie(e){this._setCookie(e,"",{maxAge:0})}_setCookie(e,t,r){var i;let s=(0,p.splitCookiesString)((null==(i=this.context.res.getHeader("set-cookie"))?void 0:i.toString())??"").filter(t=>!(e in(0,d.parseCookies)(t))),n=(0,d.serializeCookie)(e,t,{...this.cookieOptions,...r,httpOnly:!1});this.context.res.setHeader("set-cookie",[...s,n])}};function g(e,{supabaseUrl:t="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:i,cookieOptions:s}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,d.createSupabaseClient)(t,r,{...i,global:{...null==i?void 0:i.global,headers:{...null==(n=null==i?void 0:i.global)?void 0:n.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==s?void 0:s.name,storage:new f(e,s)}})}var m=r(809),v=r(606),b=class extends m.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t;return(0,v.splitCookiesString)((null==(t=this.context.res.headers.get("set-cookie"))?void 0:t.toString())??"").map(t=>(0,m.parseCookies)(t)[e]).find(e=>!!e)||(0,m.parseCookies)(this.context.req.headers.get("cookie")??"")[e]}setCookie(e,t){this._setCookie(e,t)}deleteCookie(e){this._setCookie(e,"",{maxAge:0})}_setCookie(e,t,r){let i=(0,m.serializeCookie)(e,t,{...this.cookieOptions,...r,httpOnly:!1});this.context.res.headers&&(this.context.res.headers.append("set-cookie",i),this.context.res.headers.append("cookie",i))}};function w(e,{supabaseUrl:t="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:i,cookieOptions:s}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,m.createSupabaseClient)(t,r,{...i,global:{...null==i?void 0:i.global,headers:{...null==(n=null==i?void 0:i.global)?void 0:n.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==s?void 0:s.name,storage:new b(e,s)}})}var y=r(809),_=class extends y.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t;return null==(t=this.context.cookies().get(e))?void 0:t.value}setCookie(e,t){}deleteCookie(e){}};function S(e,{supabaseUrl:t="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:i,cookieOptions:s}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,y.createSupabaseClient)(t,r,{...i,global:{...null==i?void 0:i.global,headers:{...null==(n=null==i?void 0:i.global)?void 0:n.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==s?void 0:s.name,storage:new _(e,s)}})}var k=r(809),x=class extends k.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t;return null==(t=this.context.cookies().get(e))?void 0:t.value}setCookie(e,t){this.context.cookies().set(e,t,this.cookieOptions)}deleteCookie(e){this.context.cookies().set(e,"",{maxAge:0})}};function O(e,{supabaseUrl:t="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:i,cookieOptions:s}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,k.createSupabaseClient)(t,r,{...i,global:{...null==i?void 0:i.global,headers:{...null==(n=null==i?void 0:i.global)?void 0:n.headers,"X-Client-Info":"@supabase/auth-helpers-nextjs@0.7.4"}},auth:{storageKey:null==s?void 0:s.name,storage:new x(e,s)}})}var T=O;function P({supabaseUrl:e="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:t="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:r,cookieOptions:i}={}){return console.warn("Please utilize the `createPagesBrowserClient` function instead of the deprecated `createBrowserSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages"),h({supabaseUrl:e,supabaseKey:t,options:r,cookieOptions:i})}function C(e,{supabaseUrl:t="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:i,cookieOptions:s}={}){return console.warn("Please utilize the `createPagesServerClient` function instead of the deprecated `createServerSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages"),g(e,{supabaseUrl:t,supabaseKey:r,options:i,cookieOptions:s})}function E(e,{supabaseUrl:t="https://idnmswndggnexjnmvlhz.supabase.co",supabaseKey:r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlkbm1zd25kZ2duZXhqbm12bGh6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTkzNjU2MDAsImV4cCI6MjAxNDk0MTYwMH0.fidjI2stiSA--PBexFvyR2N3n10SwbFVL8Phn128ykk",options:i,cookieOptions:s}={}){return console.warn("Please utilize the `createMiddlewareClient` function instead of the deprecated `createMiddlewareSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#middleware"),w(e,{supabaseUrl:t,supabaseKey:r,options:i,cookieOptions:s})}},900:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Headers:()=>a,Request:()=>o,Response:()=>l,default:()=>n,fetch:()=>s});var i=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw Error("unable to locate global object")}();let s=i.fetch,n=i.fetch.bind(i),a=i.Headers,o=i.Request,l=i.Response},659:function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let s=i(r(900)),n=i(r(328));class a{constructor(e){this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=e.headers,this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=e.shouldThrowOnError,this.signal=e.signal,this.isMaybeSingle=e.isMaybeSingle,e.fetch?this.fetch=e.fetch:"undefined"==typeof fetch?this.fetch=s.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(e,t){void 0===this.schema||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),"GET"!==this.method&&"HEAD"!==this.method&&(this.headers["Content-Type"]="application/json");let r=(0,this.fetch)(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async e=>{var t,r,i;let s=null,a=null,o=null,l=e.status,u=e.statusText;if(e.ok){if("HEAD"!==this.method){let t=await e.text();""===t||(a="text/csv"===this.headers.Accept?t:this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?t:JSON.parse(t))}let i=null===(t=this.headers.Prefer)||void 0===t?void 0:t.match(/count=(exact|planned|estimated)/),n=null===(r=e.headers.get("content-range"))||void 0===r?void 0:r.split("/");i&&n&&n.length>1&&(o=parseInt(n[1])),this.isMaybeSingle&&"GET"===this.method&&Array.isArray(a)&&(a.length>1?(s={code:"PGRST116",details:`Results contain ${a.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},a=null,o=null,l=406,u="Not Acceptable"):a=1===a.length?a[0]:null)}else{let t=await e.text();try{s=JSON.parse(t),Array.isArray(s)&&404===e.status&&(a=[],s=null,l=200,u="OK")}catch(r){404===e.status&&""===t?(l=204,u="No Content"):s={message:t}}if(s&&this.isMaybeSingle&&(null===(i=null==s?void 0:s.details)||void 0===i?void 0:i.includes("0 rows"))&&(s=null,l=200,u="OK"),s&&this.shouldThrowOnError)throw new n.default(s)}return{error:s,data:a,count:o,status:l,statusText:u}});return this.shouldThrowOnError||(r=r.catch(e=>{var t,r,i;return{error:{message:`${null!==(t=null==e?void 0:e.name)&&void 0!==t?t:"FetchError"}: ${null==e?void 0:e.message}`,details:`${null!==(r=null==e?void 0:e.stack)&&void 0!==r?r:""}`,hint:"",code:`${null!==(i=null==e?void 0:e.code)&&void 0!==i?i:""}`},data:null,count:null,status:0,statusText:""}})),r.then(e,t)}}t.default=a},744:function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let s=i(r(596)),n=i(r(450)),a=r(565);class o{constructor(e,{headers:t={},schema:r,fetch:i}={}){this.url=e,this.headers=Object.assign(Object.assign({},a.DEFAULT_HEADERS),t),this.schemaName=r,this.fetch=i}from(e){let t=new URL(`${this.url}/${e}`);return new s.default(t,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(e){return new o(this.url,{headers:this.headers,schema:e,fetch:this.fetch})}rpc(e,t={},{head:r=!1,get:i=!1,count:s}={}){let a,o;let l=new URL(`${this.url}/rpc/${e}`);r||i?(a=r?"HEAD":"GET",Object.entries(t).filter(([e,t])=>void 0!==t).map(([e,t])=>[e,Array.isArray(t)?`{${t.join(",")}}`:`${t}`]).forEach(([e,t])=>{l.searchParams.append(e,t)})):(a="POST",o=t);let u=Object.assign({},this.headers);return s&&(u.Prefer=`count=${s}`),new n.default({method:a,url:l,headers:u,schema:this.schemaName,body:o,fetch:this.fetch,allowEmpty:!1})}}t.default=o},328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}}t.default=r},450:function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let s=i(r(226));class n extends s.default{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}in(e,t){let r=Array.from(new Set(t)).map(e=>"string"==typeof e&&RegExp("[,()]").test(e)?`"${e}"`:`${e}`).join(",");return this.url.searchParams.append(e,`in.(${r})`),this}contains(e,t){return"string"==typeof t?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return"string"==typeof t?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return"string"==typeof t?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:r,type:i}={}){let s="";"plain"===i?s="pl":"phrase"===i?s="ph":"websearch"===i&&(s="w");let n=void 0===r?"":`(${r})`;return this.url.searchParams.append(e,`${s}fts${n}.${t}`),this}match(e){return Object.entries(e).forEach(([e,t])=>{this.url.searchParams.append(e,`eq.${t}`)}),this}not(e,t,r){return this.url.searchParams.append(e,`not.${t}.${r}`),this}or(e,{foreignTable:t,referencedTable:r=t}={}){let i=r?`${r}.or`:"or";return this.url.searchParams.append(i,`(${e})`),this}filter(e,t,r){return this.url.searchParams.append(e,`${t}.${r}`),this}}t.default=n},596:function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let s=i(r(450));class n{constructor(e,{headers:t={},schema:r,fetch:i}){this.url=e,this.headers=t,this.schema=r,this.fetch=i}select(e,{head:t=!1,count:r}={}){let i=!1,n=(null!=e?e:"*").split("").map(e=>/\s/.test(e)&&!i?"":('"'===e&&(i=!i),e)).join("");return this.url.searchParams.set("select",n),r&&(this.headers.Prefer=`count=${r}`),new s.default({method:t?"HEAD":"GET",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(e,{count:t,defaultToNull:r=!0}={}){let i=[];if(this.headers.Prefer&&i.push(this.headers.Prefer),t&&i.push(`count=${t}`),r||i.push("missing=default"),this.headers.Prefer=i.join(","),Array.isArray(e)){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]);if(t.length>0){let e=[...new Set(t)].map(e=>`"${e}"`);this.url.searchParams.set("columns",e.join(","))}}return new s.default({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}upsert(e,{onConflict:t,ignoreDuplicates:r=!1,count:i,defaultToNull:n=!0}={}){let a=[`resolution=${r?"ignore":"merge"}-duplicates`];if(void 0!==t&&this.url.searchParams.set("on_conflict",t),this.headers.Prefer&&a.push(this.headers.Prefer),i&&a.push(`count=${i}`),n||a.push("missing=default"),this.headers.Prefer=a.join(","),Array.isArray(e)){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]);if(t.length>0){let e=[...new Set(t)].map(e=>`"${e}"`);this.url.searchParams.set("columns",e.join(","))}}return new s.default({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}update(e,{count:t}={}){let r=[];return this.headers.Prefer&&r.push(this.headers.Prefer),t&&r.push(`count=${t}`),this.headers.Prefer=r.join(","),new s.default({method:"PATCH",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}delete({count:e}={}){let t=[];return e&&t.push(`count=${e}`),this.headers.Prefer&&t.unshift(this.headers.Prefer),this.headers.Prefer=t.join(","),new s.default({method:"DELETE",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}t.default=n},226:function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let s=i(r(659));class n extends s.default{select(e){let t=!1,r=(null!=e?e:"*").split("").map(e=>/\s/.test(e)&&!t?"":('"'===e&&(t=!t),e)).join("");return this.url.searchParams.set("select",r),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(e,{ascending:t=!0,nullsFirst:r,foreignTable:i,referencedTable:s=i}={}){let n=s?`${s}.order`:"order",a=this.url.searchParams.get(n);return this.url.searchParams.set(n,`${a?`${a},`:""}${e}.${t?"asc":"desc"}${void 0===r?"":r?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:r=t}={}){let i=void 0===r?"limit":`${r}.limit`;return this.url.searchParams.set(i,`${e}`),this}range(e,t,{foreignTable:r,referencedTable:i=r}={}){let s=void 0===i?"offset":`${i}.offset`,n=void 0===i?"limit":`${i}.limit`;return this.url.searchParams.set(s,`${e}`),this.url.searchParams.set(n,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return"GET"===this.method?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:e=!1,verbose:t=!1,settings:r=!1,buffers:i=!1,wal:s=!1,format:n="text"}={}){var a;let o=[e?"analyze":null,t?"verbose":null,r?"settings":null,i?"buffers":null,s?"wal":null].filter(Boolean).join("|"),l=null!==(a=this.headers.Accept)&&void 0!==a?a:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${n}; for="${l}"; options=${o};`,this}rollback(){var e;return(null!==(e=this.headers.Prefer)&&void 0!==e?e:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}t.default=n},565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_HEADERS=void 0;let i=r(31);t.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${i.version}`}},38:function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PostgrestBuilder=t.PostgrestTransformBuilder=t.PostgrestFilterBuilder=t.PostgrestQueryBuilder=t.PostgrestClient=void 0;let s=i(r(744));t.PostgrestClient=s.default;let n=i(r(596));t.PostgrestQueryBuilder=n.default;let a=i(r(450));t.PostgrestFilterBuilder=a.default;let o=i(r(226));t.PostgrestTransformBuilder=o.default;let l=i(r(659));t.PostgrestBuilder=l.default,t.default={PostgrestClient:s.default,PostgrestQueryBuilder:n.default,PostgrestFilterBuilder:a.default,PostgrestTransformBuilder:o.default,PostgrestBuilder:l.default}},31:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="0.0.0-automated"},447:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,n={};function a(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),i=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?i:`${i}; ${r.join("; ")}`}function o(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[i,s]=[r.slice(0,e),r.slice(e+1)];try{t.set(i,decodeURIComponent(null!=s?s:"true"))}catch{}}return t}function l(e){var t,r;if(!e)return;let[[i,s],...n]=o(e),{domain:a,expires:l,httponly:h,maxage:d,path:p,samesite:f,secure:g,partitioned:m,priority:v}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase(),t]));return function(e){let t={};for(let r in e)e[r]&&(t[r]=e[r]);return t}({name:i,value:decodeURIComponent(s),domain:a,...l&&{expires:new Date(l)},...h&&{httpOnly:!0},..."string"==typeof d&&{maxAge:Number(d)},path:p,...f&&{sameSite:u.includes(t=(t=f).toLowerCase())?t:void 0},...g&&{secure:!0},...v&&{priority:c.includes(r=(r=v).toLowerCase())?r:void 0},...m&&{partitioned:!0}})}((e,r)=>{for(var i in r)t(e,i,{get:r[i],enumerable:!0})})(n,{RequestCookies:()=>h,ResponseCookies:()=>d,parseCookie:()=>o,parseSetCookie:()=>l,stringifyCookie:()=>a}),e.exports=((e,n,a,o)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let l of i(n))s.call(e,l)||l===a||t(e,l,{get:()=>n[l],enumerable:!(o=r(n,l))||o.enumerable});return e})(t({},"__esModule",{value:!0}),n);var u=["strict","lax","none"],c=["low","medium","high"],h=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of o(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===i).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,i=this._parsed;return i.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(i).map(([e,t])=>a(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>a(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},d=class{constructor(e){var t,r,i;this._parsed=new Map,this._headers=e;let s=null!=(i=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?i:[];for(let e of Array.isArray(s)?s:function(e){if(!e)return[];var t,r,i,s,n,a=[],o=0;function l(){for(;o=e.length)&&a.push(e.substring(t,e.length))}return a}(s)){let t=l(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===i)}has(e){return this._parsed.has(e)}set(...e){let[t,r,i]=1===e.length?[e[0].name,e[0].value,e[0]]:e,s=this._parsed;return s.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...i})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=a(r);t.append("set-cookie",e)}}(s,this._headers),this}delete(...e){let[t,r,i]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:t,path:r,domain:i,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}}},692:(e,t,r)=>{(()=>{"use strict";var t={491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextAPI=void 0;let i=r(223),s=r(172),n=r(930),a="context",o=new i.NoopContextManager;class l{constructor(){}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalContextManager(e){return(0,s.registerGlobal)(a,e,n.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...i){return this._getContextManager().with(e,t,r,...i)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,s.getGlobal)(a)||o}disable(){this._getContextManager().disable(),(0,s.unregisterGlobal)(a,n.DiagAPI.instance())}}t.ContextAPI=l},930:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagAPI=void 0;let i=r(56),s=r(912),n=r(957),a=r(172);class o{constructor(){function e(e){return function(...t){let r=(0,a.getGlobal)("diag");if(r)return r[e](...t)}}let t=this;t.setLogger=(e,r={logLevel:n.DiagLogLevel.INFO})=>{var i,o,l;if(e===t){let e=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(i=e.stack)&&void 0!==i?i:e.message),!1}"number"==typeof r&&(r={logLevel:r});let u=(0,a.getGlobal)("diag"),c=(0,s.createLogLevelDiagLogger)(null!==(o=r.logLevel)&&void 0!==o?o:n.DiagLogLevel.INFO,e);if(u&&!r.suppressOverrideMessage){let e=null!==(l=Error().stack)&&void 0!==l?l:"";u.warn(`Current logger will be overwritten from ${e}`),c.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,a.registerGlobal)("diag",c,t,!0)},t.disable=()=>{(0,a.unregisterGlobal)("diag",t)},t.createComponentLogger=e=>new i.DiagComponentLogger(e),t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}static instance(){return this._instance||(this._instance=new o),this._instance}}t.DiagAPI=o},653:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MetricsAPI=void 0;let i=r(660),s=r(172),n=r(930),a="metrics";class o{constructor(){}static getInstance(){return this._instance||(this._instance=new o),this._instance}setGlobalMeterProvider(e){return(0,s.registerGlobal)(a,e,n.DiagAPI.instance())}getMeterProvider(){return(0,s.getGlobal)(a)||i.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,s.unregisterGlobal)(a,n.DiagAPI.instance())}}t.MetricsAPI=o},181:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropagationAPI=void 0;let i=r(172),s=r(874),n=r(194),a=r(277),o=r(369),l=r(930),u="propagation",c=new s.NoopTextMapPropagator;class h{constructor(){this.createBaggage=o.createBaggage,this.getBaggage=a.getBaggage,this.getActiveBaggage=a.getActiveBaggage,this.setBaggage=a.setBaggage,this.deleteBaggage=a.deleteBaggage}static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalPropagator(e){return(0,i.registerGlobal)(u,e,l.DiagAPI.instance())}inject(e,t,r=n.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=n.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,i.unregisterGlobal)(u,l.DiagAPI.instance())}_getGlobalPropagator(){return(0,i.getGlobal)(u)||c}}t.PropagationAPI=h},997:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceAPI=void 0;let i=r(172),s=r(846),n=r(139),a=r(607),o=r(930),l="trace";class u{constructor(){this._proxyTracerProvider=new s.ProxyTracerProvider,this.wrapSpanContext=n.wrapSpanContext,this.isSpanContextValid=n.isSpanContextValid,this.deleteSpan=a.deleteSpan,this.getSpan=a.getSpan,this.getActiveSpan=a.getActiveSpan,this.getSpanContext=a.getSpanContext,this.setSpan=a.setSpan,this.setSpanContext=a.setSpanContext}static getInstance(){return this._instance||(this._instance=new u),this._instance}setGlobalTracerProvider(e){let t=(0,i.registerGlobal)(l,this._proxyTracerProvider,o.DiagAPI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return(0,i.getGlobal)(l)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,i.unregisterGlobal)(l,o.DiagAPI.instance()),this._proxyTracerProvider=new s.ProxyTracerProvider}}t.TraceAPI=u},277:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;let i=r(491),s=(0,r(780).createContextKey)("OpenTelemetry Baggage Key");function n(e){return e.getValue(s)||void 0}t.getBaggage=n,t.getActiveBaggage=function(){return n(i.ContextAPI.getInstance().active())},t.setBaggage=function(e,t){return e.setValue(s,t)},t.deleteBaggage=function(e){return e.deleteValue(s)}},993:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaggageImpl=void 0;class r{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map(([e,t])=>[e,t])}setEntry(e,t){let i=new r(this._entries);return i._entries.set(e,t),i}removeEntry(e){let t=new r(this._entries);return t._entries.delete(e),t}removeEntries(...e){let t=new r(this._entries);for(let r of e)t._entries.delete(r);return t}clear(){return new r}}t.BaggageImpl=r},830:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataSymbol=void 0,t.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataFromString=t.createBaggage=void 0;let i=r(930),s=r(993),n=r(830),a=i.DiagAPI.instance();t.createBaggage=function(e={}){return new s.BaggageImpl(new Map(Object.entries(e)))},t.baggageEntryMetadataFromString=function(e){return"string"!=typeof e&&(a.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:n.baggageEntryMetadataSymbol,toString:()=>e}}},67:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.context=void 0;let i=r(491);t.context=i.ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopContextManager=void 0;let i=r(780);class s{active(){return i.ROOT_CONTEXT}with(e,t,r,...i){return t.call(r,...i)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=s},780:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONTEXT=t.createContextKey=void 0,t.createContextKey=function(e){return Symbol.for(e)};class r{constructor(e){let t=this;t._currentContext=e?new Map(e):new Map,t.getValue=e=>t._currentContext.get(e),t.setValue=(e,i)=>{let s=new r(t._currentContext);return s._currentContext.set(e,i),s},t.deleteValue=e=>{let i=new r(t._currentContext);return i._currentContext.delete(e),i}}}t.ROOT_CONTEXT=new r},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.diag=void 0;let i=r(930);t.diag=i.DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagComponentLogger=void 0;let i=r(172);class s{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return n("debug",this._namespace,e)}error(...e){return n("error",this._namespace,e)}info(...e){return n("info",this._namespace,e)}warn(...e){return n("warn",this._namespace,e)}verbose(...e){return n("verbose",this._namespace,e)}}function n(e,t,r){let s=(0,i.getGlobal)("diag");if(s)return r.unshift(t),s[e](...r)}t.DiagComponentLogger=s},972:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagConsoleLogger=void 0;let r=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class i{constructor(){for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.createLogLevelDiagLogger=void 0;let i=r(957);t.createLogLevelDiagLogger=function(e,t){function r(r,i){let s=t[r];return"function"==typeof s&&e>=i?s.bind(t):function(){}}return ei.DiagLogLevel.ALL&&(e=i.DiagLogLevel.ALL),t=t||{},{error:r("error",i.DiagLogLevel.ERROR),warn:r("warn",i.DiagLogLevel.WARN),info:r("info",i.DiagLogLevel.INFO),debug:r("debug",i.DiagLogLevel.DEBUG),verbose:r("verbose",i.DiagLogLevel.VERBOSE)}}},957:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;let i=r(200),s=r(521),n=r(130),a=s.VERSION.split(".")[0],o=Symbol.for(`opentelemetry.js.api.${a}`),l=i._globalThis;t.registerGlobal=function(e,t,r,i=!1){var n;let a=l[o]=null!==(n=l[o])&&void 0!==n?n:{version:s.VERSION};if(!i&&a[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(t.stack||t.message),!1}if(a.version!==s.VERSION){let t=Error(`@opentelemetry/api: Registration of version v${a.version} for ${e} does not match previously registered API v${s.VERSION}`);return r.error(t.stack||t.message),!1}return a[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${s.VERSION}.`),!0},t.getGlobal=function(e){var t,r;let i=null===(t=l[o])||void 0===t?void 0:t.version;if(i&&(0,n.isCompatible)(i))return null===(r=l[o])||void 0===r?void 0:r[e]},t.unregisterGlobal=function(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${s.VERSION}.`);let r=l[o];r&&delete r[e]}},130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCompatible=t._makeCompatibilityCheck=void 0;let i=r(521),s=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function n(e){let t=new Set([e]),r=new Set,i=e.match(s);if(!i)return()=>!1;let n={major:+i[1],minor:+i[2],patch:+i[3],prerelease:i[4]};if(null!=n.prerelease)return function(t){return t===e};function a(e){return r.add(e),!1}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;let i=e.match(s);if(!i)return a(e);let o={major:+i[1],minor:+i[2],patch:+i[3],prerelease:i[4]};return null!=o.prerelease||n.major!==o.major?a(e):0===n.major?n.minor===o.minor&&n.patch<=o.patch?(t.add(e),!0):a(e):n.minor<=o.minor?(t.add(e),!0):a(e)}}t._makeCompatibilityCheck=n,t.isCompatible=n(i.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.metrics=void 0;let i=r(653);t.metrics=i.MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class r{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=r;class i{}t.NoopMetric=i;class s extends i{add(e,t){}}t.NoopCounterMetric=s;class n extends i{add(e,t){}}t.NoopUpDownCounterMetric=n;class a extends i{record(e,t){}}t.NoopHistogramMetric=a;class o{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=o;class l extends o{}t.NoopObservableCounterMetric=l;class u extends o{}t.NoopObservableGaugeMetric=u;class c extends o{}t.NoopObservableUpDownCounterMetric=c,t.NOOP_METER=new r,t.NOOP_COUNTER_METRIC=new s,t.NOOP_HISTOGRAM_METRIC=new a,t.NOOP_UP_DOWN_COUNTER_METRIC=new n,t.NOOP_OBSERVABLE_COUNTER_METRIC=new l,t.NOOP_OBSERVABLE_GAUGE_METRIC=new u,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new c,t.createNoopMeter=function(){return t.NOOP_METER}},660:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;let i=r(102);class s{getMeter(e,t,r){return i.NOOP_METER}}t.NoopMeterProvider=s,t.NOOP_METER_PROVIDER=new s},200:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(46),t)},651:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._globalThis=void 0,t._globalThis="object"==typeof globalThis?globalThis:r.g},46:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.propagation=void 0;let i=r(181);t.propagation=i.PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTextMapPropagator=void 0;class r{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=r},194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextMapSetter=t.defaultTextMapGetter=void 0,t.defaultTextMapGetter={get(e,t){if(null!=e)return e[t]},keys:e=>null==e?[]:Object.keys(e)},t.defaultTextMapSetter={set(e,t,r){null!=e&&(e[t]=r)}}},845:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.trace=void 0;let i=r(997);t.trace=i.TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NonRecordingSpan=void 0;let i=r(476);class s{constructor(e=i.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}}t.NonRecordingSpan=s},614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracer=void 0;let i=r(491),s=r(607),n=r(403),a=r(139),o=i.ContextAPI.getInstance();class l{startSpan(e,t,r=o.active()){if(null==t?void 0:t.root)return new n.NonRecordingSpan;let i=r&&(0,s.getSpanContext)(r);return"object"==typeof i&&"string"==typeof i.spanId&&"string"==typeof i.traceId&&"number"==typeof i.traceFlags&&(0,a.isSpanContextValid)(i)?new n.NonRecordingSpan(i):new n.NonRecordingSpan}startActiveSpan(e,t,r,i){let n,a,l;if(arguments.length<2)return;2==arguments.length?l=t:3==arguments.length?(n=t,l=r):(n=t,a=r,l=i);let u=null!=a?a:o.active(),c=this.startSpan(e,n,u),h=(0,s.setSpan)(u,c);return o.with(h,l,void 0,c)}}t.NoopTracer=l},124:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracerProvider=void 0;let i=r(614);class s{getTracer(e,t,r){return new i.NoopTracer}}t.NoopTracerProvider=s},125:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracer=void 0;let i=new(r(614)).NoopTracer;class s{constructor(e,t,r,i){this._provider=e,this.name=t,this.version=r,this.options=i}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,i){let s=this._getTracer();return Reflect.apply(s.startActiveSpan,s,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):i}}t.ProxyTracer=s},846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracerProvider=void 0;let i=r(125),s=new(r(124)).NoopTracerProvider;class n{getTracer(e,t,r){var s;return null!==(s=this.getDelegateTracer(e,t,r))&&void 0!==s?s:new i.ProxyTracer(this,e,t,r)}getDelegate(){var e;return null!==(e=this._delegate)&&void 0!==e?e:s}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var i;return null===(i=this._delegate)||void 0===i?void 0:i.getTracer(e,t,r)}}t.ProxyTracerProvider=n},996:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;let i=r(780),s=r(403),n=r(491),a=(0,i.createContextKey)("OpenTelemetry Context Key SPAN");function o(e){return e.getValue(a)||void 0}function l(e,t){return e.setValue(a,t)}t.getSpan=o,t.getActiveSpan=function(){return o(n.ContextAPI.getInstance().active())},t.setSpan=l,t.deleteSpan=function(e){return e.deleteValue(a)},t.setSpanContext=function(e,t){return l(e,new s.NonRecordingSpan(t))},t.getSpanContext=function(e){var t;return null===(t=o(e))||void 0===t?void 0:t.spanContext()}},325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceStateImpl=void 0;let i=r(564);class s{constructor(e){this._internalState=new Map,e&&this._parse(e)}set(e,t){let r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,t)=>(e.push(t+"="+this.get(t)),e),[]).join(",")}_parse(e){!(e.length>512)&&(this._internalState=e.split(",").reverse().reduce((e,t)=>{let r=t.trim(),s=r.indexOf("=");if(-1!==s){let n=r.slice(0,s),a=r.slice(s+1,t.length);(0,i.validateKey)(n)&&(0,i.validateValue)(a)&&e.set(n,a)}return e},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new s;return e._internalState=new Map(this._internalState),e}}t.TraceStateImpl=s},564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateValue=t.validateKey=void 0;let r="[_0-9a-z-*/]",i=`[a-z]${r}{0,255}`,s=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`,n=RegExp(`^(?:${i}|${s})$`),a=/^[ -~]{0,255}[!-~]$/,o=/,|=/;t.validateKey=function(e){return n.test(e)},t.validateValue=function(e){return a.test(e)&&!o.test(e)}},98:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTraceState=void 0;let i=r(325);t.createTraceState=function(e){return new i.TraceStateImpl(e)}},476:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;let i=r(475);t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:i.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;let i=r(476),s=r(403),n=/^([0-9a-f]{32})$/i,a=/^[0-9a-f]{16}$/i;function o(e){return n.test(e)&&e!==i.INVALID_TRACEID}function l(e){return a.test(e)&&e!==i.INVALID_SPANID}t.isValidTraceId=o,t.isValidSpanId=l,t.isSpanContextValid=function(e){return o(e.traceId)&&l(e.spanId)},t.wrapSpanContext=function(e){return new s.NonRecordingSpan(e)}},847:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="1.6.0"}},i={};function s(e){var r=i[e];if(void 0!==r)return r.exports;var n=i[e]={exports:{}},a=!0;try{t[e].call(n.exports,n,n.exports,s),a=!1}finally{a&&delete i[e]}return n.exports}s.ab="//";var n={};(()=>{Object.defineProperty(n,"__esModule",{value:!0}),n.trace=n.propagation=n.metrics=n.diag=n.context=n.INVALID_SPAN_CONTEXT=n.INVALID_TRACEID=n.INVALID_SPANID=n.isValidSpanId=n.isValidTraceId=n.isSpanContextValid=n.createTraceState=n.TraceFlags=n.SpanStatusCode=n.SpanKind=n.SamplingDecision=n.ProxyTracerProvider=n.ProxyTracer=n.defaultTextMapSetter=n.defaultTextMapGetter=n.ValueType=n.createNoopMeter=n.DiagLogLevel=n.DiagConsoleLogger=n.ROOT_CONTEXT=n.createContextKey=n.baggageEntryMetadataFromString=void 0;var e=s(369);Object.defineProperty(n,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var t=s(780);Object.defineProperty(n,"createContextKey",{enumerable:!0,get:function(){return t.createContextKey}}),Object.defineProperty(n,"ROOT_CONTEXT",{enumerable:!0,get:function(){return t.ROOT_CONTEXT}});var r=s(972);Object.defineProperty(n,"DiagConsoleLogger",{enumerable:!0,get:function(){return r.DiagConsoleLogger}});var i=s(957);Object.defineProperty(n,"DiagLogLevel",{enumerable:!0,get:function(){return i.DiagLogLevel}});var a=s(102);Object.defineProperty(n,"createNoopMeter",{enumerable:!0,get:function(){return a.createNoopMeter}});var o=s(901);Object.defineProperty(n,"ValueType",{enumerable:!0,get:function(){return o.ValueType}});var l=s(194);Object.defineProperty(n,"defaultTextMapGetter",{enumerable:!0,get:function(){return l.defaultTextMapGetter}}),Object.defineProperty(n,"defaultTextMapSetter",{enumerable:!0,get:function(){return l.defaultTextMapSetter}});var u=s(125);Object.defineProperty(n,"ProxyTracer",{enumerable:!0,get:function(){return u.ProxyTracer}});var c=s(846);Object.defineProperty(n,"ProxyTracerProvider",{enumerable:!0,get:function(){return c.ProxyTracerProvider}});var h=s(996);Object.defineProperty(n,"SamplingDecision",{enumerable:!0,get:function(){return h.SamplingDecision}});var d=s(357);Object.defineProperty(n,"SpanKind",{enumerable:!0,get:function(){return d.SpanKind}});var p=s(847);Object.defineProperty(n,"SpanStatusCode",{enumerable:!0,get:function(){return p.SpanStatusCode}});var f=s(475);Object.defineProperty(n,"TraceFlags",{enumerable:!0,get:function(){return f.TraceFlags}});var g=s(98);Object.defineProperty(n,"createTraceState",{enumerable:!0,get:function(){return g.createTraceState}});var m=s(139);Object.defineProperty(n,"isSpanContextValid",{enumerable:!0,get:function(){return m.isSpanContextValid}}),Object.defineProperty(n,"isValidTraceId",{enumerable:!0,get:function(){return m.isValidTraceId}}),Object.defineProperty(n,"isValidSpanId",{enumerable:!0,get:function(){return m.isValidSpanId}});var v=s(476);Object.defineProperty(n,"INVALID_SPANID",{enumerable:!0,get:function(){return v.INVALID_SPANID}}),Object.defineProperty(n,"INVALID_TRACEID",{enumerable:!0,get:function(){return v.INVALID_TRACEID}}),Object.defineProperty(n,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return v.INVALID_SPAN_CONTEXT}});let b=s(67);Object.defineProperty(n,"context",{enumerable:!0,get:function(){return b.context}});let w=s(506);Object.defineProperty(n,"diag",{enumerable:!0,get:function(){return w.diag}});let y=s(886);Object.defineProperty(n,"metrics",{enumerable:!0,get:function(){return y.metrics}});let _=s(939);Object.defineProperty(n,"propagation",{enumerable:!0,get:function(){return _.propagation}});let S=s(845);Object.defineProperty(n,"trace",{enumerable:!0,get:function(){return S.trace}}),n.default={context:b.context,diag:w.diag,metrics:y.metrics,propagation:_.propagation,trace:S.trace}})(),e.exports=n})()},373:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{/*! + * cookie + * Copyright(c) 2012-2014 Roman Shtylman + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var s={},n=t.split(i),a=(r||{}).decode||e,o=0;o{var i;(()=>{var s={226:function(s,n){!function(a,o){"use strict";var l="function",u="undefined",c="object",h="string",d="major",p="model",f="name",g="type",m="vendor",v="version",b="architecture",w="console",y="mobile",_="tablet",S="smarttv",k="wearable",x="embedded",O="Amazon",T="Apple",P="ASUS",C="BlackBerry",E="Browser",I="Chrome",R="Firefox",j="Google",A="Huawei",N="Microsoft",L="Motorola",M="Opera",$="Samsung",D="Sharp",U="Sony",B="Xiaomi",q="Zebra",z="Facebook",F="Chromium OS",V="Mac OS",G=function(e,t){var r={};for(var i in e)t[i]&&t[i].length%2==0?r[i]=t[i].concat(e[i]):r[i]=e[i];return r},J=function(e){for(var t={},r=0;r0?2===n.length?typeof n[1]==l?this[n[0]]=n[1].call(this,u):this[n[0]]=n[1]:3===n.length?typeof n[1]!==l||n[1].exec&&n[1].test?this[n[0]]=u?u.replace(n[1],n[2]):void 0:this[n[0]]=u?n[1].call(this,u,n[2]):void 0:4===n.length&&(this[n[0]]=u?n[3].call(this,u.replace(n[1],n[2])):void 0):this[n]=u||o;h+=2}},Z=function(e,t){for(var r in t)if(typeof t[r]===c&&t[r].length>0){for(var i=0;i2&&(e[p]="iPad",e[g]=_),e},this.getEngine=function(){var e={};return e[f]=o,e[v]=o,W.call(e,i,n.engine),e},this.getOS=function(){var e={};return e[f]=o,e[v]=o,W.call(e,i,n.os),w&&!e[f]&&s&&"Unknown"!=s.platform&&(e[f]=s.platform.replace(/chrome os/i,F).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===h&&e.length>350?X(e,350):e,this},this.setUA(i),this};ee.VERSION="1.0.35",ee.BROWSER=J([f,v,d]),ee.CPU=J([b]),ee.DEVICE=J([p,m,g,w,y,S,_,k,x]),ee.ENGINE=ee.OS=J([f,v]),typeof n!==u?(s.exports&&(n=s.exports=ee),n.UAParser=ee):r.amdO?void 0!==(i=(function(){return ee}).call(t,r,t,e))&&(e.exports=i):typeof a!==u&&(a.UAParser=ee);var et=typeof a!==u&&(a.jQuery||a.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:this)}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}},i=!0;try{s[e].call(r.exports,r,r.exports,a),i=!1}finally{i&&delete n[e]}return r.exports}a.ab="//";var o=a(226);e.exports=o})()},387:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getTestReqInfo:function(){return a},withRequest:function(){return n}});let i=new(r(67)).AsyncLocalStorage;function s(e,t){let r=t.header(e,"next-test-proxy-port");if(r)return{url:t.url(e),proxyPort:Number(r),testData:t.header(e,"next-test-data")||""}}function n(e,t,r){let n=s(e,t);return n?i.run(n,r):r()}function a(e,t){return i.getStore()||(e&&t?s(e,t):void 0)}},407:(e,t,r)=>{"use strict";var i=r(195).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleFetch:function(){return o},interceptFetch:function(){return l},reader:function(){return n}});let s=r(703),n={url:e=>e.url,header:(e,t)=>e.headers.get(t)};async function a(e,t){let{url:r,method:s,headers:n,body:a,cache:o,credentials:l,integrity:u,mode:c,redirect:h,referrer:d,referrerPolicy:p}=t;return{testData:e,api:"fetch",request:{url:r,method:s,headers:[...Array.from(n),["next-test-stack",function(){let e=(Error().stack??"").split("\n");for(let t=1;t0){e=e.slice(t);break}return(e=(e=(e=e.filter(e=>!e.includes("/next/dist/"))).slice(0,5)).map(e=>e.replace("webpack-internal:///(rsc)/","").trim())).join(" ")}()]],body:a?i.from(await t.arrayBuffer()).toString("base64"):null,cache:o,credentials:l,integrity:u,mode:c,redirect:h,referrer:d,referrerPolicy:p}}}async function o(e,t){let r=(0,s.getTestReqInfo)(t,n);if(!r)return e(t);let{testData:o,proxyPort:l}=r,u=await a(o,t),c=await e(`http://localhost:${l}`,{method:"POST",body:JSON.stringify(u),next:{internal:!0}});if(!c.ok)throw Error(`Proxy request failed: ${c.status}`);let h=await c.json(),{api:d}=h;switch(d){case"continue":return e(t);case"abort":case"unhandled":throw Error(`Proxy request aborted [${t.method} ${t.url}]`)}return function(e){let{status:t,headers:r,body:s}=e.response;return new Response(s?i.from(s,"base64"):null,{status:t,headers:new Headers(r)})}(h)}function l(e){return r.g.fetch=function(t,r){var i;return(null==r?void 0:null==(i=r.next)?void 0:i.internal)?e(t,r):o(e,new Request(t,r))},()=>{r.g.fetch=e}}},311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{interceptTestApis:function(){return n},wrapRequestHandler:function(){return a}});let i=r(703),s=r(407);function n(){return(0,s.interceptFetch)(r.g.fetch)}function a(e){return(t,r)=>(0,i.withRequest)(t,s.reader,()=>e(t,r))}},606:e=>{"use strict";var t={decodeValues:!0,map:!1,silent:!1};function r(e){return"string"==typeof e&&!!e.trim()}function i(e,i){var s,n,a,o,l=e.split(";").filter(r),u=(s=l.shift(),n="",a="",(o=s.split("=")).length>1?(n=o.shift(),a=o.join("=")):a=s,{name:n,value:a}),c=u.name,h=u.value;i=i?Object.assign({},t,i):t;try{h=i.decodeValues?decodeURIComponent(h):h}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+h+"'. Set options.decodeValues to false to disable this feature.",e)}var d={name:c,value:h};return l.forEach(function(e){var t=e.split("="),r=t.shift().trimLeft().toLowerCase(),i=t.join("=");"expires"===r?d.expires=new Date(i):"max-age"===r?d.maxAge=parseInt(i,10):"secure"===r?d.secure=!0:"httponly"===r?d.httpOnly=!0:"samesite"===r?d.sameSite=i:d[r]=i}),d}function s(e,s){if(s=s?Object.assign({},t,s):t,!e)return s.map?{}:[];if(e.headers){if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var n=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];n||!e.headers.cookie||s.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=n}}return(Array.isArray(e)||(e=[e]),(s=s?Object.assign({},t,s):t).map)?e.filter(r).reduce(function(e,t){var r=i(t,s);return e[r.name]=r,e},{}):e.filter(r).map(function(e){return i(e,s)})}e.exports=s,e.exports.parse=s,e.exports.parseString=i,e.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,r,i,s,n,a=[],o=0;function l(){for(;o=e.length)&&a.push(e.substring(t,e.length))}return a}},257:e=>{"use strict";e.exports=function(){throw Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},809:(e,t,r)=>{"use strict";let i,s;r.r(t),r.d(t,{BrowserCookieAuthStorageAdapter:()=>tq,CookieAuthStorageAdapter:()=>tB,DEFAULT_COOKIE_OPTIONS:()=>tU,createSupabaseClient:()=>tz,isBrowser:()=>tD,parseCookies:()=>tF,parseSupabaseCookie:()=>tM,serializeCookie:()=>tV,stringifySupabaseSession:()=>t$}),new TextEncoder;let n=new TextDecoder,a=e=>{let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e{let t=e;t instanceof Uint8Array&&(t=n.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return a(t)}catch(e){throw TypeError("The input to be decoded is not correctly encoded.")}},l=e=>{let t;return e?t=e:"undefined"==typeof fetch?t=(...e)=>Promise.resolve().then(r.bind(r,900)).then(({default:t})=>t(...e)):t=fetch,(...e)=>t(...e)};class u extends Error{constructor(e,t="FunctionsError",r){super(e),this.name=t,this.context=r}}class c extends u{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class h extends u{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class d extends u{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}!function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"}(G||(G={}));class p{constructor(e,{headers:t={},customFetch:r,region:i=G.Any}={}){this.url=e,this.headers=t,this.region=i,this.fetch=l(r)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e,t={}){var r,i,s,n,a;return i=this,s=void 0,n=void 0,a=function*(){try{let i;let{headers:s,method:n,body:a}=t,o={},{region:l}=t;l||(l=this.region),l&&"any"!==l&&(o["x-region"]=l),a&&(s&&!Object.prototype.hasOwnProperty.call(s,"Content-Type")||!s)&&("undefined"!=typeof Blob&&a instanceof Blob||a instanceof ArrayBuffer?(o["Content-Type"]="application/octet-stream",i=a):"string"==typeof a?(o["Content-Type"]="text/plain",i=a):"undefined"!=typeof FormData&&a instanceof FormData?i=a:(o["Content-Type"]="application/json",i=JSON.stringify(a)));let u=yield this.fetch(`${this.url}/${e}`,{method:n||"POST",headers:Object.assign(Object.assign(Object.assign({},o),this.headers),s),body:i}).catch(e=>{throw new c(e)}),p=u.headers.get("x-relay-error");if(p&&"true"===p)throw new h(u);if(!u.ok)throw new d(u);let f=(null!==(r=u.headers.get("Content-Type"))&&void 0!==r?r:"text/plain").split(";")[0].trim();return{data:"application/json"===f?yield u.json():"application/octet-stream"===f?yield u.blob():"text/event-stream"===f?u:"multipart/form-data"===f?yield u.formData():yield u.text(),error:null}}catch(e){return{data:null,error:e}}},new(n||(n=Promise))(function(e,t){function r(e){try{l(a.next(e))}catch(e){t(e)}}function o(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(r,o)}l((a=a.apply(i,s||[])).next())})}}let{PostgrestClient:f,PostgrestQueryBuilder:g,PostgrestFilterBuilder:m,PostgrestTransformBuilder:v,PostgrestBuilder:b}=r(38),w={"X-Client-Info":"realtime-js/2.10.2"};!function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"}(J||(J={})),function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"}(H||(H={})),function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"}(K||(K={})),(X||(X={})).websocket="websocket",function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"}(W||(W={}));class y{constructor(){this.HEADER_LENGTH=1}decode(e,t){return e.constructor===ArrayBuffer?t(this._binaryDecode(e)):"string"==typeof e?t(JSON.parse(e)):t({})}_binaryDecode(e){let t=new DataView(e),r=new TextDecoder;return this._decodeBroadcast(e,t,r)}_decodeBroadcast(e,t,r){let i=t.getUint8(1),s=t.getUint8(2),n=this.HEADER_LENGTH+2,a=r.decode(e.slice(n,n+i));n+=i;let o=r.decode(e.slice(n,n+s));return n+=s,{ref:null,topic:a,event:o,payload:JSON.parse(r.decode(e.slice(n,e.byteLength)))}}}class _{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=t}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}!function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"}(Z||(Z={}));let S=(e,t,r={})=>{var i;let s=null!==(i=r.skipTypes)&&void 0!==i?i:[];return Object.keys(t).reduce((r,i)=>(r[i]=k(i,e,t,s),r),{})},k=(e,t,r,i)=>{let s=t.find(t=>t.name===e),n=null==s?void 0:s.type,a=r[e];return n&&!i.includes(n)?x(n,a):O(a)},x=(e,t)=>{if("_"===e.charAt(0))return E(t,e.slice(1,e.length));switch(e){case Z.bool:return T(t);case Z.float4:case Z.float8:case Z.int2:case Z.int4:case Z.int8:case Z.numeric:case Z.oid:return P(t);case Z.json:case Z.jsonb:return C(t);case Z.timestamp:return I(t);case Z.abstime:case Z.date:case Z.daterange:case Z.int4range:case Z.int8range:case Z.money:case Z.reltime:case Z.text:case Z.time:case Z.timestamptz:case Z.timetz:case Z.tsrange:case Z.tstzrange:default:return O(t)}},O=e=>e,T=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},P=e=>{if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return t}return e},C=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.log(`JSON parse error: ${e}`)}return e},E=(e,t)=>{if("string"!=typeof e)return e;let r=e.length-1,i=e[r];if("{"===e[0]&&"}"===i){let i;let s=e.slice(1,r);try{i=JSON.parse("["+s+"]")}catch(e){i=s?s.split(","):[]}return i.map(e=>x(t,e))}return e},I=e=>"string"==typeof e?e.replace(" ","T"):e,R=e=>{let t=e;return(t=(t=t.replace(/^ws/i,"http")).replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,"")).replace(/\/+$/,"")};class j{constructor(e,t,r={},i=1e4){this.channel=e,this.event=t,this.payload=r,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,t){var r;return this._hasReceived(e)&&t(null===(r=this.receivedResp)||void 0===r?void 0:r.response),this.recHooks.push({status:e,callback:t}),this}startTimeout(){this.timeoutTimer||(this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref),this.channel._on(this.refEvent,{},e=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=e,this._matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout))}trigger(e,t){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:t})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:t}){this.recHooks.filter(t=>t.status===e).forEach(e=>e.callback(t))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}!function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"}(Y||(Y={}));class A{constructor(e,t){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};let r=(null==t?void 0:t.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},e=>{let{onJoin:t,onLeave:r,onSync:i}=this.caller;this.joinRef=this.channel._joinRef(),this.state=A.syncState(this.state,e,t,r),this.pendingDiffs.forEach(e=>{this.state=A.syncDiff(this.state,e,t,r)}),this.pendingDiffs=[],i()}),this.channel._on(r.diff,{},e=>{let{onJoin:t,onLeave:r,onSync:i}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(e):(this.state=A.syncDiff(this.state,e,t,r),i())}),this.onJoin((e,t,r)=>{this.channel._trigger("presence",{event:"join",key:e,currentPresences:t,newPresences:r})}),this.onLeave((e,t,r)=>{this.channel._trigger("presence",{event:"leave",key:e,currentPresences:t,leftPresences:r})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,t,r,i){let s=this.cloneDeep(e),n=this.transformState(t),a={},o={};return this.map(s,(e,t)=>{n[e]||(o[e]=t)}),this.map(n,(e,t)=>{let r=s[e];if(r){let i=t.map(e=>e.presence_ref),s=r.map(e=>e.presence_ref),n=t.filter(e=>0>s.indexOf(e.presence_ref)),l=r.filter(e=>0>i.indexOf(e.presence_ref));n.length>0&&(a[e]=n),l.length>0&&(o[e]=l)}else a[e]=t}),this.syncDiff(s,{joins:a,leaves:o},r,i)}static syncDiff(e,t,r,i){let{joins:s,leaves:n}={joins:this.transformState(t.joins),leaves:this.transformState(t.leaves)};return r||(r=()=>{}),i||(i=()=>{}),this.map(s,(t,i)=>{var s;let n=null!==(s=e[t])&&void 0!==s?s:[];if(e[t]=this.cloneDeep(i),n.length>0){let r=e[t].map(e=>e.presence_ref),i=n.filter(e=>0>r.indexOf(e.presence_ref));e[t].unshift(...i)}r(t,n,i)}),this.map(n,(t,r)=>{let s=e[t];if(!s)return;let n=r.map(e=>e.presence_ref);s=s.filter(e=>0>n.indexOf(e.presence_ref)),e[t]=s,i(t,s,r),0===s.length&&delete e[t]}),e}static map(e,t){return Object.getOwnPropertyNames(e).map(r=>t(r,e[r]))}static transformState(e){return Object.getOwnPropertyNames(e=this.cloneDeep(e)).reduce((t,r)=>{let i=e[r];return"metas"in i?t[r]=i.metas.map(e=>(e.presence_ref=e.phx_ref,delete e.phx_ref,delete e.phx_ref_prev,e)):t[r]=i,t},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}!function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"}(Q||(Q={})),function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes"}(ee||(ee={})),function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"}(et||(et={}));class N{constructor(e,t={config:{}},r){this.topic=e,this.params=t,this.socket=r,this.bindings={},this.state=H.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},t.config),this.timeout=this.socket.timeout,this.joinPush=new j(this,K.join,this.params,this.timeout),this.rejoinTimer=new _(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=H.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(e=>e.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=H.closed,this.socket._remove(this)}),this._onError(e=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,e),this.state=H.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=H.errored,this.rejoinTimer.scheduleTimeout())}),this._on(K.reply,{},(e,t)=>{this._trigger(this._replyEventName(t),e)}),this.presence=new A(this),this.broadcastEndpointURL=R(this.socket.endPoint)+"/api/broadcast"}subscribe(e,t=this.timeout){var r,i;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{let{config:{broadcast:s,presence:n,private:a}}=this.params;this._onError(t=>e&&e("CHANNEL_ERROR",t)),this._onClose(()=>e&&e("CLOSED"));let o={},l={broadcast:s,presence:n,postgres_changes:null!==(i=null===(r=this.bindings.postgres_changes)||void 0===r?void 0:r.map(e=>e.filter))&&void 0!==i?i:[],private:a};this.socket.accessToken&&(o.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:l},o)),this.joinedOnce=!0,this._rejoin(t),this.joinPush.receive("ok",({postgres_changes:t})=>{var r;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),void 0===t){e&&e("SUBSCRIBED");return}{let i=this.bindings.postgres_changes,s=null!==(r=null==i?void 0:i.length)&&void 0!==r?r:0,n=[];for(let r=0;r{e&&e("CHANNEL_ERROR",Error(JSON.stringify(Object.values(t).join(", ")||"error")))}).receive("timeout",()=>{e&&e("TIMED_OUT")})}return this}presenceState(){return this.presence.state}async track(e,t={}){return await this.send({type:"presence",event:"track",payload:e},t.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,t,r){return this._on(e,t,r)}async send(e,t={}){var r,i;if(this._canPush()||"broadcast"!==e.type)return new Promise(r=>{var i,s,n;let a=this._push(e.type,e,t.timeout||this.timeout);"broadcast"!==e.type||(null===(n=null===(s=null===(i=this.params)||void 0===i?void 0:i.config)||void 0===s?void 0:s.broadcast)||void 0===n?void 0:n.ack)||r("ok"),a.receive("ok",()=>r("ok")),a.receive("error",()=>r("error")),a.receive("timeout",()=>r("timed out"))});{let{event:s,payload:n}=e,a={method:"POST",headers:{Authorization:this.socket.accessToken?`Bearer ${this.socket.accessToken}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:s,payload:n}]})};try{let e=await this._fetchWithTimeout(this.broadcastEndpointURL,a,null!==(r=t.timeout)&&void 0!==r?r:this.timeout);return await (null===(i=e.body)||void 0===i?void 0:i.cancel()),e.ok?"ok":"error"}catch(e){if("AbortError"===e.name)return"timed out";return"error"}}}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=H.leaving;let t=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(K.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{let i=new j(this,K.leave,{},e);i.receive("ok",()=>{t(),r("ok")}).receive("timeout",()=>{t(),r("timed out")}).receive("error",()=>{r("error")}),i.send(),this._canPush()||i.trigger("ok",{})})}async _fetchWithTimeout(e,t,r){let i=new AbortController,s=setTimeout(()=>i.abort(),r),n=await this.socket.fetch(e,Object.assign(Object.assign({},t),{signal:i.signal}));return clearTimeout(s),n}_push(e,t,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new j(this,e,t,r);return this._canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}_onMessage(e,t,r){return t}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,t,r){var i,s;let n=e.toLocaleLowerCase(),{close:a,error:o,leave:l,join:u}=K;if(r&&[a,o,l,u].indexOf(n)>=0&&r!==this._joinRef())return;let c=this._onMessage(n,t,r);if(t&&!c)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(n)?null===(i=this.bindings.postgres_changes)||void 0===i||i.filter(e=>{var t,r,i;return(null===(t=e.filter)||void 0===t?void 0:t.event)==="*"||(null===(i=null===(r=e.filter)||void 0===r?void 0:r.event)||void 0===i?void 0:i.toLocaleLowerCase())===n}).map(e=>e.callback(c,r)):null===(s=this.bindings[n])||void 0===s||s.filter(e=>{var r,i,s,a,o,l;if(!["broadcast","presence","postgres_changes"].includes(n))return e.type.toLocaleLowerCase()===n;if("id"in e){let n=e.id,a=null===(r=e.filter)||void 0===r?void 0:r.event;return n&&(null===(i=t.ids)||void 0===i?void 0:i.includes(n))&&("*"===a||(null==a?void 0:a.toLocaleLowerCase())===(null===(s=t.data)||void 0===s?void 0:s.type.toLocaleLowerCase()))}{let r=null===(o=null===(a=null==e?void 0:e.filter)||void 0===a?void 0:a.event)||void 0===o?void 0:o.toLocaleLowerCase();return"*"===r||r===(null===(l=null==t?void 0:t.event)||void 0===l?void 0:l.toLocaleLowerCase())}}).map(e=>{if("object"==typeof c&&"ids"in c){let e=c.data,{schema:t,table:r,commit_timestamp:i,type:s,errors:n}=e;c=Object.assign(Object.assign({},{schema:t,table:r,commit_timestamp:i,eventType:s,new:{},old:{},errors:n}),this._getPayloadRecords(e))}e.callback(c,r)})}_isClosed(){return this.state===H.closed}_isJoined(){return this.state===H.joined}_isJoining(){return this.state===H.joining}_isLeaving(){return this.state===H.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,t,r){let i=e.toLocaleLowerCase(),s={type:i,filter:t,callback:r};return this.bindings[i]?this.bindings[i].push(s):this.bindings[i]=[s],this}_off(e,t){let r=e.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(e=>{var i;return!((null===(i=e.type)||void 0===i?void 0:i.toLocaleLowerCase())===r&&N.isEqual(e.filter,t))}),this}static isEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(K.close,{},e)}_onError(e){this._on(K.error,{},t=>e(t))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=H.joining,this.joinPush.resend(e))}_getPayloadRecords(e){let t={new:{},old:{}};return("INSERT"===e.type||"UPDATE"===e.type)&&(t.new=S(e.columns,e.record)),("UPDATE"===e.type||"DELETE"===e.type)&&(t.old=S(e.columns,e.old_record)),t}}let L=()=>{},M="undefined"!=typeof WebSocket;class ${constructor(e,t){var i;this.accessToken=null,this.apiKey=null,this.channels=[],this.endPoint="",this.httpEndpoint="",this.headers=w,this.params={},this.timeout=1e4,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=L,this.conn=null,this.sendBuffer=[],this.serializer=new y,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this._resolveFetch=e=>{let t;return e?t=e:"undefined"==typeof fetch?t=(...e)=>Promise.resolve().then(r.bind(r,900)).then(({default:t})=>t(...e)):t=fetch,(...e)=>t(...e)},this.endPoint=`${e}/${X.websocket}`,this.httpEndpoint=R(e),(null==t?void 0:t.transport)?this.transport=t.transport:this.transport=null,(null==t?void 0:t.params)&&(this.params=t.params),(null==t?void 0:t.headers)&&(this.headers=Object.assign(Object.assign({},this.headers),t.headers)),(null==t?void 0:t.timeout)&&(this.timeout=t.timeout),(null==t?void 0:t.logger)&&(this.logger=t.logger),(null==t?void 0:t.heartbeatIntervalMs)&&(this.heartbeatIntervalMs=t.heartbeatIntervalMs);let s=null===(i=null==t?void 0:t.params)||void 0===i?void 0:i.apikey;s&&(this.accessToken=s,this.apiKey=s),this.reconnectAfterMs=(null==t?void 0:t.reconnectAfterMs)?t.reconnectAfterMs:e=>[1e3,2e3,5e3,1e4][e-1]||1e4,this.encode=(null==t?void 0:t.encode)?t.encode:(e,t)=>t(JSON.stringify(e)),this.decode=(null==t?void 0:t.decode)?t.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new _(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(null==t?void 0:t.fetch)}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this._endPointURL(),void 0,{headers:this.headers});return}if(M){this.conn=new WebSocket(this._endPointURL()),this.setupConnection();return}this.conn=new D(this._endPointURL(),void 0,{close:()=>{this.conn=null}}),Promise.resolve().then(r.t.bind(r,257,23)).then(({default:e})=>{this.conn=new e(this._endPointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}disconnect(e,t){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,null!=t?t:""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(e){let t=await e.unsubscribe();return 0===this.channels.length&&this.disconnect(),t}async removeAllChannels(){let e=await Promise.all(this.channels.map(e=>e.unsubscribe()));return this.disconnect(),e}log(e,t,r){this.logger(e,t,r)}connectionState(){switch(this.conn&&this.conn.readyState){case J.connecting:return W.Connecting;case J.open:return W.Open;case J.closing:return W.Closing;default:return W.Closed}}isConnected(){return this.connectionState()===W.Open}channel(e,t={config:{}}){let r=new N(`realtime:${e}`,t,this);return this.channels.push(r),r}push(e){let{topic:t,event:r,payload:i,ref:s}=e,n=()=>{this.encode(e,e=>{var t;null===(t=this.conn)||void 0===t||t.send(e)})};this.log("push",`${t} ${r} (${s})`,i),this.isConnected()?n():this.sendBuffer.push(n)}setAuth(e){this.accessToken=e,this.channels.forEach(t=>{e&&t.updateJoinPayload({access_token:e}),t.joinedOnce&&t._isJoined()&&t._push(K.access_token,{access_token:e})})}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let t=this.channels.find(t=>t.topic===e&&(t._isJoined()||t._isJoining()));t&&(this.log("transport",`leaving duplicate topic "${e}"`),t.unsubscribe())}_remove(e){this.channels=this.channels.filter(t=>t._joinRef()!==e._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e))}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:"1.0.0"}))}_onConnMessage(e){this.decode(e.data,e=>{let{topic:t,event:r,payload:i,ref:s}=e;(s&&s===this.pendingHeartbeatRef||r===(null==i?void 0:i.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${i.status||""} ${t} ${r} ${s&&"("+s+")"||""}`,i),this.channels.filter(e=>e._isMember(t)).forEach(e=>e._trigger(r,i,s)),this.stateChangeCallbacks.message.forEach(t=>t(e))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(e=>e())}_onConnClose(e){this.log("transport","close",e),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(t=>t(e))}_onConnError(e){this.log("transport",e.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(t=>t(e))}_triggerChanError(){this.channels.forEach(e=>e._trigger(K.error))}_appendParams(e,t){if(0===Object.keys(t).length)return e;let r=e.match(/\?/)?"&":"?",i=new URLSearchParams(t);return`${e}${r}${i}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_sendHeartbeat(){var e;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),null===(e=this.conn)||void 0===e||e.close(1e3,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}}class D{constructor(e,t,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=J.connecting,this.send=()=>{},this.url=null,this.url=e,this.close=r.close}}class U extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function B(e){return"object"==typeof e&&null!==e&&"__isStorageError"in e}class q extends U{constructor(e,t){super(e),this.name="StorageApiError",this.status=t}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class z extends U{constructor(e,t){super(e),this.name="StorageUnknownError",this.originalError=t}}let F=e=>{let t;return e?t=e:"undefined"==typeof fetch?t=(...e)=>Promise.resolve().then(r.bind(r,900)).then(({default:t})=>t(...e)):t=fetch,(...e)=>t(...e)},V=()=>(function(e,t,r,i){return new(r||(r=Promise))(function(s,n){function a(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){var t;e.done?s(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){return"undefined"==typeof Response?(yield Promise.resolve().then(r.bind(r,900))).Response:Response});var G,J,H,K,X,W,Z,Y,Q,ee,et,er=function(e,t,r,i){return new(r||(r=Promise))(function(s,n){function a(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){var t;e.done?s(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})};let ei=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),es=(e,t)=>er(void 0,void 0,void 0,function*(){e instanceof(yield V())?e.json().then(r=>{t(new q(ei(r),e.status||500))}).catch(e=>{t(new z(ei(e),e))}):t(new z(ei(e),e))}),en=(e,t,r,i)=>{let s={method:e,headers:(null==t?void 0:t.headers)||{}};return"GET"===e?s:(s.headers=Object.assign({"Content-Type":"application/json"},null==t?void 0:t.headers),s.body=JSON.stringify(i),Object.assign(Object.assign({},s),r))};function ea(e,t,r,i,s,n){return er(this,void 0,void 0,function*(){return new Promise((a,o)=>{e(r,en(t,i,s,n)).then(e=>{if(!e.ok)throw e;return(null==i?void 0:i.noResolveJson)?e:e.json()}).then(e=>a(e)).catch(e=>es(e,o))})})}function eo(e,t,r,i){return er(this,void 0,void 0,function*(){return ea(e,"GET",t,r,i)})}function el(e,t,r,i,s){return er(this,void 0,void 0,function*(){return ea(e,"POST",t,i,s,r)})}function eu(e,t,r,i,s){return er(this,void 0,void 0,function*(){return ea(e,"DELETE",t,i,s,r)})}var ec=function(e,t,r,i){return new(r||(r=Promise))(function(s,n){function a(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){var t;e.done?s(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})};let eh={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},ed={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class ep{constructor(e,t={},r,i){this.url=e,this.headers=t,this.bucketId=r,this.fetch=F(i)}uploadOrUpdate(e,t,r,i){return ec(this,void 0,void 0,function*(){try{let s;let n=Object.assign(Object.assign({},ed),i),a=Object.assign(Object.assign({},this.headers),"POST"===e&&{"x-upsert":String(n.upsert)});"undefined"!=typeof Blob&&r instanceof Blob?((s=new FormData).append("cacheControl",n.cacheControl),s.append("",r)):"undefined"!=typeof FormData&&r instanceof FormData?(s=r).append("cacheControl",n.cacheControl):(s=r,a["cache-control"]=`max-age=${n.cacheControl}`,a["content-type"]=n.contentType);let o=this._removeEmptyFolders(t),l=this._getFinalPath(o),u=yield this.fetch(`${this.url}/object/${l}`,Object.assign({method:e,body:s,headers:a},(null==n?void 0:n.duplex)?{duplex:n.duplex}:{})),c=yield u.json();if(u.ok)return{data:{path:o,id:c.Id,fullPath:c.Key},error:null};return{data:null,error:c}}catch(e){if(B(e))return{data:null,error:e};throw e}})}upload(e,t,r){return ec(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",e,t,r)})}uploadToSignedUrl(e,t,r,i){return ec(this,void 0,void 0,function*(){let s=this._removeEmptyFolders(e),n=this._getFinalPath(s),a=new URL(this.url+`/object/upload/sign/${n}`);a.searchParams.set("token",t);try{let e;let t=Object.assign({upsert:ed.upsert},i),n=Object.assign(Object.assign({},this.headers),{"x-upsert":String(t.upsert)});"undefined"!=typeof Blob&&r instanceof Blob?((e=new FormData).append("cacheControl",t.cacheControl),e.append("",r)):"undefined"!=typeof FormData&&r instanceof FormData?(e=r).append("cacheControl",t.cacheControl):(e=r,n["cache-control"]=`max-age=${t.cacheControl}`,n["content-type"]=t.contentType);let o=yield this.fetch(a.toString(),{method:"PUT",body:e,headers:n}),l=yield o.json();if(o.ok)return{data:{path:s,fullPath:l.Key},error:null};return{data:null,error:l}}catch(e){if(B(e))return{data:null,error:e};throw e}})}createSignedUploadUrl(e,t){return ec(this,void 0,void 0,function*(){try{let r=this._getFinalPath(e),i=Object.assign({},this.headers);(null==t?void 0:t.upsert)&&(i["x-upsert"]="true");let s=yield el(this.fetch,`${this.url}/object/upload/sign/${r}`,{},{headers:i}),n=new URL(this.url+s.url),a=n.searchParams.get("token");if(!a)throw new U("No token returned by API");return{data:{signedUrl:n.toString(),path:e,token:a},error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}update(e,t,r){return ec(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",e,t,r)})}move(e,t,r){return ec(this,void 0,void 0,function*(){try{return{data:yield el(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:t,destinationBucket:null==r?void 0:r.destinationBucket},{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}copy(e,t,r){return ec(this,void 0,void 0,function*(){try{return{data:{path:(yield el(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:t,destinationBucket:null==r?void 0:r.destinationBucket},{headers:this.headers})).Key},error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}createSignedUrl(e,t,r){return ec(this,void 0,void 0,function*(){try{let i=this._getFinalPath(e),s=yield el(this.fetch,`${this.url}/object/sign/${i}`,Object.assign({expiresIn:t},(null==r?void 0:r.transform)?{transform:r.transform}:{}),{headers:this.headers}),n=(null==r?void 0:r.download)?`&download=${!0===r.download?"":r.download}`:"";return{data:s={signedUrl:encodeURI(`${this.url}${s.signedURL}${n}`)},error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}createSignedUrls(e,t,r){return ec(this,void 0,void 0,function*(){try{let i=yield el(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:t,paths:e},{headers:this.headers}),s=(null==r?void 0:r.download)?`&download=${!0===r.download?"":r.download}`:"";return{data:i.map(e=>Object.assign(Object.assign({},e),{signedUrl:e.signedURL?encodeURI(`${this.url}${e.signedURL}${s}`):null})),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}download(e,t){return ec(this,void 0,void 0,function*(){let r=void 0!==(null==t?void 0:t.transform),i=this.transformOptsToQueryString((null==t?void 0:t.transform)||{}),s=i?`?${i}`:"";try{let t=this._getFinalPath(e),i=yield eo(this.fetch,`${this.url}/${r?"render/image/authenticated":"object"}/${t}${s}`,{headers:this.headers,noResolveJson:!0});return{data:yield i.blob(),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}getPublicUrl(e,t){let r=this._getFinalPath(e),i=[],s=(null==t?void 0:t.download)?`download=${!0===t.download?"":t.download}`:"";""!==s&&i.push(s);let n=void 0!==(null==t?void 0:t.transform),a=this.transformOptsToQueryString((null==t?void 0:t.transform)||{});""!==a&&i.push(a);let o=i.join("&");return""!==o&&(o=`?${o}`),{data:{publicUrl:encodeURI(`${this.url}/${n?"render/image":"object"}/public/${r}${o}`)}}}remove(e){return ec(this,void 0,void 0,function*(){try{return{data:yield eu(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}list(e,t,r){return ec(this,void 0,void 0,function*(){try{let i=Object.assign(Object.assign(Object.assign({},eh),t),{prefix:e||""});return{data:yield el(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},r),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}_getFinalPath(e){return`${this.bucketId}/${e}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){let t=[];return e.width&&t.push(`width=${e.width}`),e.height&&t.push(`height=${e.height}`),e.resize&&t.push(`resize=${e.resize}`),e.format&&t.push(`format=${e.format}`),e.quality&&t.push(`quality=${e.quality}`),t.join("&")}}let ef={"X-Client-Info":"storage-js/2.6.0"};var eg=function(e,t,r,i){return new(r||(r=Promise))(function(s,n){function a(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){var t;e.done?s(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})};class em{constructor(e,t={},r){this.url=e,this.headers=Object.assign(Object.assign({},ef),t),this.fetch=F(r)}listBuckets(){return eg(this,void 0,void 0,function*(){try{return{data:yield eo(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}getBucket(e){return eg(this,void 0,void 0,function*(){try{return{data:yield eo(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}createBucket(e,t={public:!1}){return eg(this,void 0,void 0,function*(){try{return{data:yield el(this.fetch,`${this.url}/bucket`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}updateBucket(e,t){return eg(this,void 0,void 0,function*(){try{return{data:yield function(e,t,r,i,s){return er(this,void 0,void 0,function*(){return ea(e,"PUT",t,i,void 0,r)})}(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}emptyBucket(e){return eg(this,void 0,void 0,function*(){try{return{data:yield el(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}deleteBucket(e){return eg(this,void 0,void 0,function*(){try{return{data:yield eu(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(e){if(B(e))return{data:null,error:e};throw e}})}}class ev extends em{constructor(e,t={},r){super(e,t,r)}from(e){return new ep(this.url,this.headers,e,this.fetch)}}let eb="";"undefined"!=typeof Deno?eb="deno":"undefined"!=typeof document?eb="web":"undefined"!=typeof navigator&&"ReactNative"===navigator.product?eb="react-native":eb="node";let ew={headers:{"X-Client-Info":`supabase-js-${eb}/2.44.3`}},ey={schema:"public"},e_={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},eS={};var ek=r(900);let ex=e=>{let t;return e?t=e:"undefined"==typeof fetch?t=ek.default:t=fetch,(...e)=>t(...e)},eO=()=>"undefined"==typeof Headers?ek.Headers:Headers,eT=(e,t,r)=>{let i=ex(r),s=eO();return(r,n)=>(function(e,t,r,i){return new(r||(r=Promise))(function(s,n){function a(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){var t;e.done?s(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){var a;let o=null!==(a=yield t())&&void 0!==a?a:e,l=new s(null==n?void 0:n.headers);return l.has("apikey")||l.set("apikey",e),l.has("Authorization")||l.set("Authorization",`Bearer ${o}`),i(r,Object.assign(Object.assign({},n),{headers:l}))})},eP="2.64.2",eC={"X-Client-Info":`gotrue-js/${eP}`},eE="X-Supabase-Api-Version",eI={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},eR=()=>"undefined"!=typeof document,ej={tested:!1,writable:!1},eA=()=>{if(!eR())return!1;try{if("object"!=typeof globalThis.localStorage)return!1}catch(e){return!1}if(ej.tested)return ej.writable;let e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),ej.tested=!0,ej.writable=!0}catch(e){ej.tested=!0,ej.writable=!1}return ej.writable};function eN(e){let t={},r=new URL(e);if(r.hash&&"#"===r.hash[0])try{new URLSearchParams(r.hash.substring(1)).forEach((e,r)=>{t[r]=e})}catch(e){}return r.searchParams.forEach((e,r)=>{t[r]=e}),t}let eL=e=>{let t;return e?t=e:"undefined"==typeof fetch?t=(...e)=>Promise.resolve().then(r.bind(r,900)).then(({default:t})=>t(...e)):t=fetch,(...e)=>t(...e)},eM=e=>"object"==typeof e&&null!==e&&"status"in e&&"ok"in e&&"json"in e&&"function"==typeof e.json,e$=async(e,t,r)=>{await e.setItem(t,JSON.stringify(r))},eD=async(e,t)=>{let r=await e.getItem(t);if(!r)return null;try{return JSON.parse(r)}catch(e){return r}},eU=async(e,t)=>{await e.removeItem(t)};class eB{constructor(){this.promise=new eB.promiseConstructor((e,t)=>{this.resolve=e,this.reject=t})}}function eq(e){let t=e.split(".");if(3!==t.length)throw Error("JWT is not valid: not a JWT structure");if(!/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i.test(t[1]))throw Error("JWT is not valid: payload is not in base64url format");return JSON.parse(function(e){let t,r,i,s,n,a,o;let l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",c=0;for(e=e.replace("-","+").replace("_","/");c>4,r=(15&n)<<4|a>>2,i=(3&a)<<6|o,u+=String.fromCharCode(t),64!=a&&0!=r&&(u+=String.fromCharCode(r)),64!=o&&0!=i&&(u+=String.fromCharCode(i));return u}(t[1]))}async function ez(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function eF(e){return("0"+e.toString(16)).substr(-2)}async function eV(e){let t=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t))).map(e=>String.fromCharCode(e)).join("")}async function eG(e){return"undefined"!=typeof crypto&&void 0!==crypto.subtle&&"undefined"!=typeof TextEncoder?btoa(await eV(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):(console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e)}async function eJ(e,t,r=!1){let i=function(){let e=new Uint32Array(56);if("undefined"==typeof crypto){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",t=e.length,r="";for(let i=0;i<56;i++)r+=e.charAt(Math.floor(Math.random()*t));return r}return crypto.getRandomValues(e),Array.from(e,eF).join("")}(),s=i;r&&(s+="/PASSWORD_RECOVERY"),await e$(e,`${t}-code-verifier`,s);let n=await eG(i),a=i===n?"plain":"s256";return[n,a]}eB.promiseConstructor=Promise;let eH=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;class eK extends Error{constructor(e,t,r){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=t,this.code=r}}function eX(e){return"object"==typeof e&&null!==e&&"__isAuthError"in e}class eW extends eK{constructor(e,t,r){super(e,t,r),this.name="AuthApiError",this.status=t,this.code=r}}class eZ extends eK{constructor(e,t){super(e),this.name="AuthUnknownError",this.originalError=t}}class eY extends eK{constructor(e,t,r,i){super(e,r,i),this.name=t,this.status=r}}class eQ extends eY{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}class e0 extends eY{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class e1 extends eY{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class e2 extends eY{constructor(e,t=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=t}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class e4 extends eY{constructor(e,t=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=t}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class e3 extends eY{constructor(e,t){super(e,"AuthRetryableFetchError",t,void 0)}}function e6(e){return eX(e)&&"AuthRetryableFetchError"===e.name}class e9 extends eY{constructor(e,t,r){super(e,"AuthWeakPasswordError",t,"weak_password"),this.reasons=r}}var e5=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,i=Object.getOwnPropertySymbols(e);st.indexOf(i[s])&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r};let e8=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),e7=[502,503,504];async function te(e){var t;let r,i;if(!eM(e))throw new e3(e8(e),0);if(e7.includes(e.status))throw new e3(e8(e),e.status);try{r=await e.json()}catch(e){throw new eZ(e8(e),e)}let s=function(e){let t=e.headers.get(eE);if(!t||!t.match(eH))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch(e){return null}}(e);if(s&&s.getTime()>=eI["2024-01-01"].timestamp&&"object"==typeof r&&r&&"string"==typeof r.code?i=r.code:"object"==typeof r&&r&&"string"==typeof r.error_code&&(i=r.error_code),i){if("weak_password"===i)throw new e9(e8(r),e.status,(null===(t=r.weak_password)||void 0===t?void 0:t.reasons)||[])}else if("object"==typeof r&&r&&"object"==typeof r.weak_password&&r.weak_password&&Array.isArray(r.weak_password.reasons)&&r.weak_password.reasons.length&&r.weak_password.reasons.reduce((e,t)=>e&&"string"==typeof t,!0))throw new e9(e8(r),e.status,r.weak_password.reasons);throw new eW(e8(r),e.status||500,i)}let tt=(e,t,r,i)=>{let s={method:e,headers:(null==t?void 0:t.headers)||{}};return"GET"===e?s:(s.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},null==t?void 0:t.headers),s.body=JSON.stringify(i),Object.assign(Object.assign({},s),r))};async function tr(e,t,r,i){var s;let n=Object.assign({},null==i?void 0:i.headers);n[eE]||(n[eE]=eI["2024-01-01"].name),(null==i?void 0:i.jwt)&&(n.Authorization=`Bearer ${i.jwt}`);let a=null!==(s=null==i?void 0:i.query)&&void 0!==s?s:{};(null==i?void 0:i.redirectTo)&&(a.redirect_to=i.redirectTo);let o=Object.keys(a).length?"?"+new URLSearchParams(a).toString():"",l=await ti(e,t,r+o,{headers:n,noResolveJson:null==i?void 0:i.noResolveJson},{},null==i?void 0:i.body);return(null==i?void 0:i.xform)?null==i?void 0:i.xform(l):{data:Object.assign({},l),error:null}}async function ti(e,t,r,i,s,n){let a;let o=tt(t,i,s,n);try{a=await e(r,Object.assign({},o))}catch(e){throw console.error(e),new e3(e8(e),0)}if(a.ok||await te(a),null==i?void 0:i.noResolveJson)return a;try{return await a.json()}catch(e){await te(e)}}function ts(e){var t,r;let i=null;return e.access_token&&e.refresh_token&&e.expires_in&&(i=Object.assign({},e),!e.expires_at)&&(i.expires_at=(r=e.expires_in,Math.round(Date.now()/1e3)+r)),{data:{session:i,user:null!==(t=e.user)&&void 0!==t?t:e},error:null}}function tn(e){let t=ts(e);return!t.error&&e.weak_password&&"object"==typeof e.weak_password&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&"string"==typeof e.weak_password.message&&e.weak_password.reasons.reduce((e,t)=>e&&"string"==typeof t,!0)&&(t.data.weak_password=e.weak_password),t}function ta(e){var t;return{data:{user:null!==(t=e.user)&&void 0!==t?t:e},error:null}}function to(e){return{data:e,error:null}}function tl(e){let{action_link:t,email_otp:r,hashed_token:i,redirect_to:s,verification_type:n}=e;return{data:{properties:{action_link:t,email_otp:r,hashed_token:i,redirect_to:s,verification_type:n},user:Object.assign({},e5(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]))},error:null}}function tu(e){return e}var tc=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,i=Object.getOwnPropertySymbols(e);st.indexOf(i[s])&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r};class th{constructor({url:e="",headers:t={},fetch:r}){this.url=e,this.headers=t,this.fetch=eL(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(e,t="global"){try{return await tr(this.fetch,"POST",`${this.url}/logout?scope=${t}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(e){if(eX(e))return{data:null,error:e};throw e}}async inviteUserByEmail(e,t={}){try{return await tr(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:t.data},headers:this.headers,redirectTo:t.redirectTo,xform:ta})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}async generateLink(e){try{let{options:t}=e,r=tc(e,["options"]),i=Object.assign(Object.assign({},r),t);return"newEmail"in r&&(i.new_email=null==r?void 0:r.newEmail,delete i.newEmail),await tr(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:tl,redirectTo:null==t?void 0:t.redirectTo})}catch(e){if(eX(e))return{data:{properties:null,user:null},error:e};throw e}}async createUser(e){try{return await tr(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:ta})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}async listUsers(e){var t,r,i,s,n,a,o;try{let l={nextPage:null,lastPage:0,total:0},u=await tr(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:null!==(r=null===(t=null==e?void 0:e.page)||void 0===t?void 0:t.toString())&&void 0!==r?r:"",per_page:null!==(s=null===(i=null==e?void 0:e.perPage)||void 0===i?void 0:i.toString())&&void 0!==s?s:""},xform:tu});if(u.error)throw u.error;let c=await u.json(),h=null!==(n=u.headers.get("x-total-count"))&&void 0!==n?n:0,d=null!==(o=null===(a=u.headers.get("link"))||void 0===a?void 0:a.split(","))&&void 0!==o?o:[];return d.length>0&&(d.forEach(e=>{let t=parseInt(e.split(";")[0].split("=")[1].substring(0,1)),r=JSON.parse(e.split(";")[1].split("=")[1]);l[`${r}Page`]=t}),l.total=parseInt(h)),{data:Object.assign(Object.assign({},c),l),error:null}}catch(e){if(eX(e))return{data:{users:[]},error:e};throw e}}async getUserById(e){try{return await tr(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:ta})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}async updateUserById(e,t){try{return await tr(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:t,headers:this.headers,xform:ta})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}async deleteUser(e,t=!1){try{return await tr(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:t},xform:ta})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}async _listFactors(e){try{let{data:t,error:r}=await tr(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:e=>({data:{factors:e},error:null})});return{data:t,error:r}}catch(e){if(eX(e))return{data:null,error:e};throw e}}async _deleteFactor(e){try{return{data:await tr(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(e){if(eX(e))return{data:null,error:e};throw e}}}let td={getItem:e=>eA()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{eA()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{eA()&&globalThis.localStorage.removeItem(e)}};function tp(e={}){return{getItem:t=>e[t]||null,setItem:(t,r)=>{e[t]=r},removeItem:t=>{delete e[t]}}}let tf={debug:!!(globalThis&&eA()&&globalThis.localStorage&&"true"===globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug"))};class tg extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class tm extends tg{}async function tv(e,t,r){tf.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);let i=new globalThis.AbortController;return t>0&&setTimeout(()=>{i.abort(),tf.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await globalThis.navigator.locks.request(e,0===t?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:i.signal},async i=>{if(i){tf.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await r()}finally{tf.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(0===t)throw tf.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new tm(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(tf.debug)try{let e=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(e,null," "))}catch(e){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",e)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await r()}})}!function(){if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){"undefined"!=typeof self&&(self.globalThis=self)}}();let tb={url:"http://localhost:9999",storageKey:"supabase.auth.token",autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:eC,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function tw(e,t,r){return await r()}class ty{constructor(e){var t,r;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=ty.nextInstanceID,ty.nextInstanceID+=1,this.instanceID>0&&eR()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");let i=Object.assign(Object.assign({},tb),e);if(this.logDebugMessages=!!i.debug,"function"==typeof i.debug&&(this.logger=i.debug),this.persistSession=i.persistSession,this.storageKey=i.storageKey,this.autoRefreshToken=i.autoRefreshToken,this.admin=new th({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=eL(i.fetch),this.lock=i.lock||tw,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,i.lock?this.lock=i.lock:eR()&&(null===(t=null==globalThis?void 0:globalThis.navigator)||void 0===t?void 0:t.locks)?this.lock=tv:this.lock=tw,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?i.storage?this.storage=i.storage:eA()?this.storage=td:(this.memoryStorage={},this.storage=tp(this.memoryStorage)):(this.memoryStorage={},this.storage=tp(this.memoryStorage)),eR()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(e){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",e)}null===(r=this.broadcastChannel)||void 0===r||r.addEventListener("message",async e=>{this._debug("received broadcast notification from other tab or client",e),await this._notifyAllSubscribers(e.data.event,e.data.session,!1)})}this.initialize()}_debug(...e){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${eP}) ${new Date().toISOString()}`,...e),this}async initialize(){return this.initializePromise||(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))()),await this.initializePromise}async _initialize(){try{let e=!!eR()&&await this._isPKCEFlow();if(this._debug("#_initialize()","begin","is PKCE flow",e),e||this.detectSessionInUrl&&this._isImplicitGrantFlow()){let{data:t,error:r}=await this._getSessionFromURL(e);if(r){if(this._debug("#_initialize()","error detecting session from URL",r),(null==r?void 0:r.message)==="Identity is already linked"||(null==r?void 0:r.message)==="Identity is already linked to another user")return{error:r};return await this._removeSession(),{error:r}}let{session:i,redirectType:s}=t;return this._debug("#_initialize()","detected session in URL",i,"redirect type",s),await this._saveSession(i),setTimeout(async()=>{"recovery"===s?await this._notifyAllSubscribers("PASSWORD_RECOVERY",i):await this._notifyAllSubscribers("SIGNED_IN",i)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(e){if(eX(e))return{error:e};return{error:new eZ("Unexpected error during initialization",e)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var t,r,i;try{await this._removeSession();let{data:s,error:n}=await tr(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:null!==(r=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.data)&&void 0!==r?r:{},gotrue_meta_security:{captcha_token:null===(i=null==e?void 0:e.options)||void 0===i?void 0:i.captchaToken}},xform:ts});if(n||!s)return{data:{user:null,session:null},error:n};let a=s.session,o=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",a)),{data:{user:o,session:a},error:null}}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async signUp(e){var t,r,i;try{let s;if(await this._removeSession(),"email"in e){let{email:r,password:i,options:n}=e,a=null,o=null;"pkce"===this.flowType&&([a,o]=await eJ(this.storage,this.storageKey)),s=await tr(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:null==n?void 0:n.emailRedirectTo,body:{email:r,password:i,data:null!==(t=null==n?void 0:n.data)&&void 0!==t?t:{},gotrue_meta_security:{captcha_token:null==n?void 0:n.captchaToken},code_challenge:a,code_challenge_method:o},xform:ts})}else if("phone"in e){let{phone:t,password:n,options:a}=e;s=await tr(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:t,password:n,data:null!==(r=null==a?void 0:a.data)&&void 0!==r?r:{},channel:null!==(i=null==a?void 0:a.channel)&&void 0!==i?i:"sms",gotrue_meta_security:{captcha_token:null==a?void 0:a.captchaToken}},xform:ts})}else throw new e1("You must provide either an email or phone number and a password");let{data:n,error:a}=s;if(a||!n)return{data:{user:null,session:null},error:a};let o=n.session,l=n.user;return n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",o)),{data:{user:l,session:o},error:null}}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithPassword(e){try{let t;if(await this._removeSession(),"email"in e){let{email:r,password:i,options:s}=e;t=await tr(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:r,password:i,gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken}},xform:tn})}else if("phone"in e){let{phone:r,password:i,options:s}=e;t=await tr(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:r,password:i,gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken}},xform:tn})}else throw new e1("You must provide either an email or phone number and a password");let{data:r,error:i}=t;if(i)return{data:{user:null,session:null},error:i};if(!r||!r.session||!r.user)return{data:{user:null,session:null},error:new e0};return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:i}}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithOAuth(e){var t,r,i,s;return await this._removeSession(),await this._handleProviderSignIn(e.provider,{redirectTo:null===(t=e.options)||void 0===t?void 0:t.redirectTo,scopes:null===(r=e.options)||void 0===r?void 0:r.scopes,queryParams:null===(i=e.options)||void 0===i?void 0:i.queryParams,skipBrowserRedirect:null===(s=e.options)||void 0===s?void 0:s.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(e))}async _exchangeCodeForSession(e){let t=await eD(this.storage,`${this.storageKey}-code-verifier`),[r,i]=(null!=t?t:"").split("/"),{data:s,error:n}=await tr(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:r},xform:ts});return(await eU(this.storage,`${this.storageKey}-code-verifier`),n)?{data:{user:null,session:null,redirectType:null},error:n}:s&&s.session&&s.user?(s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),{data:Object.assign(Object.assign({},s),{redirectType:null!=i?i:null}),error:n}):{data:{user:null,session:null,redirectType:null},error:new e0}}async signInWithIdToken(e){await this._removeSession();try{let{options:t,provider:r,token:i,access_token:s,nonce:n}=e,{data:a,error:o}=await tr(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:s,nonce:n,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken}},xform:ts});if(o)return{data:{user:null,session:null},error:o};if(!a||!a.session||!a.user)return{data:{user:null,session:null},error:new e0};return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",a.session)),{data:a,error:o}}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithOtp(e){var t,r,i,s,n;try{if(await this._removeSession(),"email"in e){let{email:i,options:s}=e,n=null,a=null;"pkce"===this.flowType&&([n,a]=await eJ(this.storage,this.storageKey));let{error:o}=await tr(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:i,data:null!==(t=null==s?void 0:s.data)&&void 0!==t?t:{},create_user:null===(r=null==s?void 0:s.shouldCreateUser)||void 0===r||r,gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken},code_challenge:n,code_challenge_method:a},redirectTo:null==s?void 0:s.emailRedirectTo});return{data:{user:null,session:null},error:o}}if("phone"in e){let{phone:t,options:r}=e,{data:a,error:o}=await tr(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:t,data:null!==(i=null==r?void 0:r.data)&&void 0!==i?i:{},create_user:null===(s=null==r?void 0:r.shouldCreateUser)||void 0===s||s,gotrue_meta_security:{captcha_token:null==r?void 0:r.captchaToken},channel:null!==(n=null==r?void 0:r.channel)&&void 0!==n?n:"sms"}});return{data:{user:null,session:null,messageId:null==a?void 0:a.message_id},error:o}}throw new e1("You must provide either an email or phone number.")}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async verifyOtp(e){var t,r;try{let i,s;"email_change"!==e.type&&"phone_change"!==e.type&&await this._removeSession(),"options"in e&&(i=null===(t=e.options)||void 0===t?void 0:t.redirectTo,s=null===(r=e.options)||void 0===r?void 0:r.captchaToken);let{data:n,error:a}=await tr(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:s}}),redirectTo:i,xform:ts});if(a)throw a;if(!n)throw Error("An error occurred on token verification.");let o=n.session,l=n.user;return(null==o?void 0:o.access_token)&&(await this._saveSession(o),await this._notifyAllSubscribers("recovery"==e.type?"PASSWORD_RECOVERY":"SIGNED_IN",o)),{data:{user:l,session:o},error:null}}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithSSO(e){var t,r,i;try{await this._removeSession();let s=null,n=null;return"pkce"===this.flowType&&([s,n]=await eJ(this.storage,this.storageKey)),await tr(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:null!==(r=null===(t=e.options)||void 0===t?void 0:t.redirectTo)&&void 0!==r?r:void 0}),(null===(i=null==e?void 0:e.options)||void 0===i?void 0:i.captchaToken)?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:s,code_challenge_method:n}),headers:this.headers,xform:to})}catch(e){if(eX(e))return{data:null,error:e};throw e}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{let{data:{session:t},error:r}=e;if(r)throw r;if(!t)throw new eQ;let{error:i}=await tr(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:t.access_token});return{data:{user:null,session:null},error:i}})}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async resend(e){try{"email_change"!=e.type&&"phone_change"!=e.type&&await this._removeSession();let t=`${this.url}/resend`;if("email"in e){let{email:r,type:i,options:s}=e,{error:n}=await tr(this.fetch,"POST",t,{headers:this.headers,body:{email:r,type:i,gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken}},redirectTo:null==s?void 0:s.emailRedirectTo});return{data:{user:null,session:null},error:n}}if("phone"in e){let{phone:r,type:i,options:s}=e,{data:n,error:a}=await tr(this.fetch,"POST",t,{headers:this.headers,body:{phone:r,type:i,gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken}}});return{data:{user:null,session:null,messageId:null==n?void 0:n.message_id},error:a}}throw new e1("You must provide either an email or phone number and a type")}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async e=>e))}async _acquireLock(e,t){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){let e=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),r=(async()=>(await e,await t()))();return this.pendingInLock.push((async()=>{try{await r}catch(e){}})()),r}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;let e=t();for(this.pendingInLock.push((async()=>{try{await e}catch(e){}})()),await e;this.pendingInLock.length;){let e=[...this.pendingInLock];await Promise.all(e),this.pendingInLock.splice(0,e.length)}return await e}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{let t=await this.__loadSession();return await e(t)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",Error().stack);try{let e=null,t=await eD(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",t),null!==t&&(this._isValidSession(t)?e=t:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!e)return{data:{session:null},error:null};let r=!!e.expires_at&&e.expires_at<=Date.now()/1e3;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",e.expires_at),!r){if(this.storage.isServer){let t=this.suppressGetSessionWarning;e=new Proxy(e,{get:(e,r,i)=>(t||"user"!==r||console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and many not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),Reflect.get(e,r,i))})}return{data:{session:e},error:null}}let{session:i,error:s}=await this._callRefreshToken(e.refresh_token);if(s)return{data:{session:null},error:s};return{data:{session:i},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(e){try{if(e)return await tr(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:ta});return await this._useSession(async e=>{var t,r,i;let{data:s,error:n}=e;if(n)throw n;return(null===(t=s.session)||void 0===t?void 0:t.access_token)||this.hasCustomAuthorizationHeader?await tr(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:null!==(i=null===(r=s.session)||void 0===r?void 0:r.access_token)&&void 0!==i?i:void 0,xform:ta}):{data:{user:null},error:new eQ}})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}async updateUser(e,t={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(e,t))}async _updateUser(e,t={}){try{return await this._useSession(async r=>{let{data:i,error:s}=r;if(s)throw s;if(!i.session)throw new eQ;let n=i.session,a=null,o=null;"pkce"===this.flowType&&null!=e.email&&([a,o]=await eJ(this.storage,this.storageKey));let{data:l,error:u}=await tr(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:null==t?void 0:t.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:a,code_challenge_method:o}),jwt:n.access_token,xform:ta});if(u)throw u;return n.user=l.user,await this._saveSession(n),await this._notifyAllSubscribers("USER_UPDATED",n),{data:{user:n.user},error:null}})}catch(e){if(eX(e))return{data:{user:null},error:e};throw e}}_decodeJWT(e){return eq(e)}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new eQ;let t=Date.now()/1e3,r=t,i=!0,s=null,n=eq(e.access_token);if(n.exp&&(i=(r=n.exp)<=t),i){let{session:t,error:r}=await this._callRefreshToken(e.refresh_token);if(r)return{data:{user:null,session:null},error:r};if(!t)return{data:{user:null,session:null},error:null};s=t}else{let{data:i,error:n}=await this._getUser(e.access_token);if(n)throw n;s={access_token:e.access_token,refresh_token:e.refresh_token,user:i.user,token_type:"bearer",expires_in:r-t,expires_at:r},await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)}return{data:{user:s.user,session:s},error:null}}catch(e){if(eX(e))return{data:{session:null,user:null},error:e};throw e}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async t=>{var r;if(!e){let{data:i,error:s}=t;if(s)throw s;e=null!==(r=i.session)&&void 0!==r?r:void 0}if(!(null==e?void 0:e.refresh_token))throw new eQ;let{session:i,error:s}=await this._callRefreshToken(e.refresh_token);return s?{data:{user:null,session:null},error:s}:i?{data:{user:i.user,session:i},error:null}:{data:{user:null,session:null},error:null}})}catch(e){if(eX(e))return{data:{user:null,session:null},error:e};throw e}}async _getSessionFromURL(e){try{if(!eR())throw new e2("No browser detected.");if("implicit"!==this.flowType||this._isImplicitGrantFlow()){if("pkce"==this.flowType&&!e)throw new e4("Not a valid PKCE flow url.")}else throw new e2("Not a valid implicit grant flow url.");let t=eN(window.location.href);if(e){if(!t.code)throw new e4("No code detected.");let{data:e,error:r}=await this._exchangeCodeForSession(t.code);if(r)throw r;let i=new URL(window.location.href);return i.searchParams.delete("code"),window.history.replaceState(window.history.state,"",i.toString()),{data:{session:e.session,redirectType:null},error:null}}if(t.error||t.error_description||t.error_code)throw new e2(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});let{provider_token:r,provider_refresh_token:i,access_token:s,refresh_token:n,expires_in:a,expires_at:o,token_type:l}=t;if(!s||!a||!n||!l)throw new e2("No session defined in URL");let u=Math.round(Date.now()/1e3),c=parseInt(a),h=u+c;o&&(h=parseInt(o));let d=h-u;1e3*d<=3e4&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${d}s, should have been closer to ${c}s`);let p=h-c;u-p>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",p,h,u):u-p<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew",p,h,u);let{data:f,error:g}=await this._getUser(s);if(g)throw g;let m={provider_token:r,provider_refresh_token:i,access_token:s,expires_in:c,expires_at:h,refresh_token:n,token_type:l,user:f.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:m,redirectType:t.type},error:null}}catch(e){if(eX(e))return{data:{session:null,redirectType:null},error:e};throw e}}_isImplicitGrantFlow(){let e=eN(window.location.href);return!!(eR()&&(e.access_token||e.error_description))}async _isPKCEFlow(){let e=eN(window.location.href),t=await eD(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&t)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async t=>{var r;let{data:i,error:s}=t;if(s)return{error:s};let n=null===(r=i.session)||void 0===r?void 0:r.access_token;if(n){let{error:t}=await this.admin.signOut(n,e);if(t&&!(eX(t)&&"AuthApiError"===t.name&&(404===t.status||401===t.status||403===t.status)))return{error:t}}return"others"!==e&&(await this._removeSession(),await eU(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}})}onAuthStateChange(e){let t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}),r={id:t,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",t),this.stateChangeEmitters.delete(t)}};return this._debug("#onAuthStateChange()","registered callback with id",t),this.stateChangeEmitters.set(t,r),(async()=>{await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(t)})})(),{data:{subscription:r}}}async _emitInitialSession(e){return await this._useSession(async t=>{var r,i;try{let{data:{session:i},error:s}=t;if(s)throw s;await (null===(r=this.stateChangeEmitters.get(e))||void 0===r?void 0:r.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",e,"session",i)}catch(t){await (null===(i=this.stateChangeEmitters.get(e))||void 0===i?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",t),console.error(t)}})}async resetPasswordForEmail(e,t={}){let r=null,i=null;"pkce"===this.flowType&&([r,i]=await eJ(this.storage,this.storageKey,!0));try{return await tr(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:r,code_challenge_method:i,gotrue_meta_security:{captcha_token:t.captchaToken}},headers:this.headers,redirectTo:t.redirectTo})}catch(e){if(eX(e))return{data:null,error:e};throw e}}async getUserIdentities(){var e;try{let{data:t,error:r}=await this.getUser();if(r)throw r;return{data:{identities:null!==(e=t.user.identities)&&void 0!==e?e:[]},error:null}}catch(e){if(eX(e))return{data:null,error:e};throw e}}async linkIdentity(e){var t;try{let{data:r,error:i}=await this._useSession(async t=>{var r,i,s,n,a;let{data:o,error:l}=t;if(l)throw l;let u=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:null===(r=e.options)||void 0===r?void 0:r.redirectTo,scopes:null===(i=e.options)||void 0===i?void 0:i.scopes,queryParams:null===(s=e.options)||void 0===s?void 0:s.queryParams,skipBrowserRedirect:!0});return await tr(this.fetch,"GET",u,{headers:this.headers,jwt:null!==(a=null===(n=o.session)||void 0===n?void 0:n.access_token)&&void 0!==a?a:void 0})});if(i)throw i;return!eR()||(null===(t=e.options)||void 0===t?void 0:t.skipBrowserRedirect)||window.location.assign(null==r?void 0:r.url),{data:{provider:e.provider,url:null==r?void 0:r.url},error:null}}catch(t){if(eX(t))return{data:{provider:e.provider,url:null},error:t};throw t}}async unlinkIdentity(e){try{return await this._useSession(async t=>{var r,i;let{data:s,error:n}=t;if(n)throw n;return await tr(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:null!==(i=null===(r=s.session)||void 0===r?void 0:r.access_token)&&void 0!==i?i:void 0})})}catch(e){if(eX(e))return{data:null,error:e};throw e}}async _refreshAccessToken(e){let t=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(t,"begin");try{var r,i;let s=Date.now();return await (r=async r=>(r>0&&await ez(200*Math.pow(2,r-1)),this._debug(t,"refreshing attempt",r),await tr(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:ts})),i=(e,t)=>t&&e6(t)&&Date.now()+200*Math.pow(2,e)-s<3e4,new Promise((e,t)=>{(async()=>{for(let s=0;s<1/0;s++)try{let t=await r(s);if(!i(s,null,t)){e(t);return}}catch(e){if(!i(s,e)){t(e);return}}})()}))}catch(e){if(this._debug(t,"error",e),eX(e))return{data:{session:null,user:null},error:e};throw e}finally{this._debug(t,"end")}}_isValidSession(e){return"object"==typeof e&&null!==e&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,t){let r=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:t.redirectTo,scopes:t.scopes,queryParams:t.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",t,"url",r),eR()&&!t.skipBrowserRedirect&&window.location.assign(r),{data:{provider:e,url:r},error:null}}async _recoverAndRefresh(){var e;let t="#_recoverAndRefresh()";this._debug(t,"begin");try{let r=await eD(this.storage,this.storageKey);if(this._debug(t,"session from storage",r),!this._isValidSession(r)){this._debug(t,"session is not valid"),null!==r&&await this._removeSession();return}let i=Math.round(Date.now()/1e3),s=(null!==(e=r.expires_at)&&void 0!==e?e:1/0){try{await r.callback(e,t)}catch(e){i.push(e)}});if(await Promise.all(s),i.length>0){for(let e=0;ethis._autoRefreshTokenTick(),3e4);this.autoRefreshTicker=e,e&&"object"==typeof e&&"function"==typeof e.unref?e.unref():"undefined"!=typeof Deno&&"function"==typeof Deno.unrefTimer&&Deno.unrefTimer(e),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");let e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{let e=Date.now();try{return await this._useSession(async t=>{let{data:{session:r}}=t;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}let i=Math.floor((1e3*r.expires_at-e)/3e4);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts 30000ms, refresh threshold is 3 ticks`),i<=3&&await this._callRefreshToken(r.refresh_token)})}catch(e){console.error("Auto refresh tick failed with error. This is likely a transient error.",e)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof tg)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!eR()||!(null==window?void 0:window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),null==window||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){let t=`#_onVisibilityChanged(${e})`;this._debug(t,"visibilityState",document.visibilityState),"visible"===document.visibilityState?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(-1,async()=>{if("visible"!==document.visibilityState){this._debug(t,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):"hidden"===document.visibilityState&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,t,r){let i=[`provider=${encodeURIComponent(t)}`];if((null==r?void 0:r.redirectTo)&&i.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),(null==r?void 0:r.scopes)&&i.push(`scopes=${encodeURIComponent(r.scopes)}`),"pkce"===this.flowType){let[e,t]=await eJ(this.storage,this.storageKey),r=new URLSearchParams({code_challenge:`${encodeURIComponent(e)}`,code_challenge_method:`${encodeURIComponent(t)}`});i.push(r.toString())}if(null==r?void 0:r.queryParams){let e=new URLSearchParams(r.queryParams);i.push(e.toString())}return(null==r?void 0:r.skipBrowserRedirect)&&i.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${e}?${i.join("&")}`}async _unenroll(e){try{return await this._useSession(async t=>{var r;let{data:i,error:s}=t;return s?{data:null,error:s}:await tr(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:null===(r=null==i?void 0:i.session)||void 0===r?void 0:r.access_token})})}catch(e){if(eX(e))return{data:null,error:e};throw e}}async _enroll(e){try{return await this._useSession(async t=>{var r,i;let{data:s,error:n}=t;if(n)return{data:null,error:n};let{data:a,error:o}=await tr(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:e.friendlyName,factor_type:e.factorType,issuer:e.issuer},headers:this.headers,jwt:null===(r=null==s?void 0:s.session)||void 0===r?void 0:r.access_token});return o?{data:null,error:o}:((null===(i=null==a?void 0:a.totp)||void 0===i?void 0:i.qr_code)&&(a.totp.qr_code=`data:image/svg+xml;utf-8,${a.totp.qr_code}`),{data:a,error:null})})}catch(e){if(eX(e))return{data:null,error:e};throw e}}async _verify(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async t=>{var r;let{data:i,error:s}=t;if(s)return{data:null,error:s};let{data:n,error:a}=await tr(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:{code:e.code,challenge_id:e.challengeId},headers:this.headers,jwt:null===(r=null==i?void 0:i.session)||void 0===r?void 0:r.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+n.expires_in},n)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",n),{data:n,error:a})})}catch(e){if(eX(e))return{data:null,error:e};throw e}})}async _challenge(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async t=>{var r;let{data:i,error:s}=t;return s?{data:null,error:s}:await tr(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{headers:this.headers,jwt:null===(r=null==i?void 0:i.session)||void 0===r?void 0:r.access_token})})}catch(e){if(eX(e))return{data:null,error:e};throw e}})}async _challengeAndVerify(e){let{data:t,error:r}=await this._challenge({factorId:e.factorId});return r?{data:null,error:r}:await this._verify({factorId:e.factorId,challengeId:t.id,code:e.code})}async _listFactors(){let{data:{user:e},error:t}=await this.getUser();if(t)return{data:null,error:t};let r=(null==e?void 0:e.factors)||[],i=r.filter(e=>"totp"===e.factor_type&&"verified"===e.status);return{data:{all:r,totp:i},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async e=>{var t,r;let{data:{session:i},error:s}=e;if(s)return{data:null,error:s};if(!i)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};let n=this._decodeJWT(i.access_token),a=null;n.aal&&(a=n.aal);let o=a;return(null!==(r=null===(t=i.user.factors)||void 0===t?void 0:t.filter(e=>"verified"===e.status))&&void 0!==r?r:[]).length>0&&(o="aal2"),{data:{currentLevel:a,nextLevel:o,currentAuthenticationMethods:n.amr||[]},error:null}}))}}ty.nextInstanceID=0;let t_=ty;class tS extends t_{constructor(e){super(e)}}class tk{constructor(e,t,r){var i,s,n;if(this.supabaseUrl=e,this.supabaseKey=t,!e)throw Error("supabaseUrl is required.");if(!t)throw Error("supabaseKey is required.");let a=e.replace(/\/$/,"");this.realtimeUrl=`${a}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${a}/auth/v1`,this.storageUrl=`${a}/storage/v1`,this.functionsUrl=`${a}/functions/v1`;let o=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,l=function(e,t){let{db:r,auth:i,realtime:s,global:n}=e,{db:a,auth:o,realtime:l,global:u}=t;return{db:Object.assign(Object.assign({},a),r),auth:Object.assign(Object.assign({},o),i),realtime:Object.assign(Object.assign({},l),s),global:Object.assign(Object.assign({},u),n)}}(null!=r?r:{},{db:ey,realtime:eS,auth:Object.assign(Object.assign({},e_),{storageKey:o}),global:ew});this.storageKey=null!==(i=l.auth.storageKey)&&void 0!==i?i:"",this.headers=null!==(s=l.global.headers)&&void 0!==s?s:{},this.auth=this._initSupabaseAuthClient(null!==(n=l.auth)&&void 0!==n?n:{},this.headers,l.global.fetch),this.fetch=eT(t,this._getAccessToken.bind(this),l.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},l.realtime)),this.rest=new f(`${a}/rest/v1`,{headers:this.headers,schema:l.db.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new p(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new ev(this.storageUrl,this.headers,this.fetch)}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},r={}){return this.rest.rpc(e,t,r)}channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var e,t,r,i,s,n;return r=this,i=void 0,s=void 0,n=function*(){let{data:r}=yield this.auth.getSession();return null!==(t=null===(e=r.session)||void 0===e?void 0:e.access_token)&&void 0!==t?t:null},new(s||(s=Promise))(function(e,t){function a(e){try{l(n.next(e))}catch(e){t(e)}}function o(e){try{l(n.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof s?r:new s(function(e){e(r)})).then(a,o)}l((n=n.apply(r,i||[])).next())})}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:r,storage:i,storageKey:s,flowType:n,debug:a},o,l){var u;let c={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new tS({url:this.authUrl,headers:Object.assign(Object.assign({},c),o),storageKey:s,autoRefreshToken:e,persistSession:t,detectSessionInUrl:r,storage:i,flowType:n,debug:a,fetch:l,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(e){return new $(this.realtimeUrl,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},null==e?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",null==t?void 0:t.access_token)})}_handleTokenChanged(e,t,r){("TOKEN_REFRESHED"===e||"SIGNED_IN"===e)&&this.changedAccessToken!==r?(this.realtime.setAuth(null!=r?r:null),this.changedAccessToken=r):"SIGNED_OUT"===e&&(this.realtime.setAuth(this.supabaseKey),"STORAGE"==t&&this.auth.signOut(),this.changedAccessToken=void 0)}}let tx=(e,t,r)=>new tk(e,t,r);var tO=Object.create,tT=Object.defineProperty,tP=Object.getOwnPropertyDescriptor,tC=Object.getOwnPropertyNames,tE=Object.getPrototypeOf,tI=Object.prototype.hasOwnProperty,tR=(e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of tC(t))tI.call(e,s)||s===r||tT(e,s,{get:()=>t[s],enumerable:!(i=tP(t,s))||i.enumerable});return e},tj=(e,t,r)=>(r=null!=e?tO(tE(e)):{},tR(!t&&e&&e.__esModule?r:tT(r,"default",{value:e,enumerable:!0}),e)),tA=(i={"../../node_modules/.pnpm/cookie@0.5.0/node_modules/cookie/index.js"(e){e.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},s=(t||{}).decode||i,n=0;n{var t=e(e.s=849);(_ENTRIES="undefined"==typeof _ENTRIES?{}:_ENTRIES).middleware_middleware=t}]); +//# sourceMappingURL=middleware.js.map \ No newline at end of file diff --git a/server/middleware.js.map b/server/middleware.js.map new file mode 100644 index 0000000000000000000000000000000000000000..11f3fc0083d0083d9add4af0412ab4a0af347f51 --- /dev/null +++ b/server/middleware.js.map @@ -0,0 +1 @@ +{"version":3,"file":"middleware.js","mappings":"kFAAAA,CAAAA,EAAAC,OAAA,CAAAC,QAAA,yCCAAF,CAAAA,EAAAC,OAAA,CAAAC,QAAA,+CkCCAC,qCDKAC,EAeAC,EAKAC,EAOAC,EAkCAC,EAIAC,EAQAC,EAOAC,EAIIC,EAIJC,EAIAC,EAKAC,OhCvGA,eAAAC,IACA,IAAAC,EAAA,aAAAC,YAAAC,SAAAC,0BAAA,SAAAD,SAAAC,0BAAA,EAAAH,QAAA,CACA,GAAAA,EACA,IACA,MAAAA,GACA,CAAU,MAAAI,EAAA,CAEV,MADAA,EAAAC,OAAA,0DAAmFD,EAAAC,OAAA,CAAY,EAC/FD,CACA,CAEA,mCACA,IAAAE,EAAA,KACO,SAAAC,IAIP,OAHAD,GACAA,CAAAA,EAAAP,GAAA,EAEAO,CACA,CACA,SAAAE,EAAAzB,CAAA,EAEA,oDAAyDA,EAAO;wEAChE,EA0BA0B,UAAoBC,EAAAC,CAAM,CAAAF,OAAA,GAE1BA,QAAAG,GAAA,CAAsBF,EAAAC,CAAM,CAAAF,OAAA,CAAAG,GAAA,CACpBF,EAAAC,CAAM,CAAAF,OAAA,CAAAA,SAIdI,OAAAC,cAAA,CAAAb,WAAA,wBACAc,MAhCA,SAAAC,CAAA,EACA,IAAAC,EAAA,IAAAC,MAAA,aAAyC,CACzCC,IAAAC,CAAA,CAAAC,CAAA,EACA,GAAAA,SAAAA,EACA,QAEA,aAAAb,EAAAQ,GACA,EACAM,YACA,YAAAd,EAAAQ,GACA,EACAO,MAAAC,CAAA,CAAAC,CAAA,CAAAC,CAAA,EACA,sBAAAA,CAAA,IACA,OAAAA,CAAA,IAAAT,EAEA,aAAAT,EAAAQ,GACA,CACA,GACA,WAAAE,MAAA,GAAuB,CACvBC,IAAA,IAAAF,CACA,EACA,EAYAU,WAAA,GACAC,aAAA,EACA,GAEArB,GC5DO,OAAAsB,UAAAC,MACPC,YAAA,CAAkBC,KAAAA,CAAA,CAAM,EACxB,yBAAiCA,EAAK;;;;;;;EAOtC,EACA,CACA,CACO,MAAAC,UAAAH,MACPC,aAAA,CACA;;EAEA,EACA,CACA,CACO,MAAAG,UAAAJ,MACPC,aAAA,CACA;;EAEA,EACA,CACA,CCqEW,SAAAI,EAAAC,CAAA,EACX,IAAAC,EAAA,GACAC,EAAA,GACA,GAAAF,EACA,QAAAG,EAAAxB,EAAA,GAAAqB,EAAAI,OAAA,GACAD,eAAAA,EAAAE,WAAA,IAIAH,EAAAI,IAAA,IAAAC,SAtEUC,CAAA,EACV,IAEAC,EACAC,EACAC,EACAC,EACAC,EANAC,EAAA,GACAC,EAAA,EAMA,SAAAC,IACA,KAAAD,EAAAP,EAAAS,MAAA,OAAAC,IAAA,CAAAV,EAAAW,MAAA,CAAAJ,KACAA,GAAA,EAEA,OAAAA,EAAAP,EAAAS,MAAA,CAMA,KAAAF,EAAAP,EAAAS,MAAA,GAGA,IAFAR,EAAAM,EACAF,EAAA,GACAG,KAEA,GAAAN,MADAA,CAAAA,EAAAF,EAAAW,MAAA,CAAAJ,EAAA,EACA,CAMA,IAJAJ,EAAAI,EACAA,GAAA,EACAC,IACAJ,EAAAG,EACAA,EAAAP,EAAAS,MAAA,EAbAP,MADAA,CAAAA,EAAAF,EAAAW,MAAA,CAAAJ,EAAA,GACAL,MAAAA,GAAsCA,MAAAA,GActCK,GAAA,CAGAA,CAAAA,EAAAP,EAAAS,MAAA,EAAAT,MAAAA,EAAAW,MAAA,CAAAJ,IAEAF,EAAA,GAEAE,EAAAH,EACAE,EAAAR,IAAA,CAAAE,EAAAY,SAAA,CAAAX,EAAAE,IACAF,EAAAM,GAIAA,EAAAJ,EAAA,CAEA,MACAI,GAAA,EAGA,EAAAF,GAAAE,GAAAP,EAAAS,MAAA,GACAH,EAAAR,IAAA,CAAAE,EAAAY,SAAA,CAAAX,EAAAD,EAAAS,MAAA,EAEA,CACA,OAAAH,CACA,EAgBAnC,IACAsB,CAAA,CAAAE,EAAA,CAAAD,IAAAA,EAAAe,MAAA,CAAAf,CAAA,IAAAA,GAEAD,CAAA,CAAAE,EAAA,CAAAxB,EAIA,OAAAsB,CACA,CAGW,SAAAoB,EAAAC,CAAA,EACX,IACA,OAAAC,OAAA,IAAAC,IAAAD,OAAAD,IACA,CAAM,MAAAG,EAAA,CACN,iCAA6CF,OAAAD,GAAY,+FACzDI,MAAAD,CACA,EACA,CACA,CCzHA,IAAAE,EAAAC,OAAA,YACAC,EAAAD,OAAA,eACOE,EAAAF,OAAA,YACP,OAAAG,EAEApC,YAAAqC,CAAA,EACA,KAAAF,EAAA,IACA,KAAAD,EAAA,GACA,CACAI,YAAAC,CAAA,EACA,KAAAP,EAAA,EACA,MAAAA,EAAA,CAAAQ,QAAAC,OAAA,CAAAF,EAAA,CAEA,CACAG,wBAAA,CACA,KAAAR,EAAA,GACA,CACAS,UAAAC,CAAA,EACA,KAAAT,EAAA,CAAAxB,IAAA,CAAAiC,EACA,CACA,CACO,MAAAC,UAAAT,EACPpC,YAAA8C,CAAA,EACA,MAAAA,EAAAC,OAAA,EACA,KAAAC,UAAA,CAAAF,EAAA7C,IAAA,CAMA,IAAA8C,SAAA,CACA,UAAkBjD,EAAkB,CACpCG,KAAA,KAAA+C,UAAA,EAEA,CAKAV,aAAA,CACA,UAAkBxC,EAAkB,CACpCG,KAAA,KAAA+C,UAAA,EAEA,CACA,CEtCO,SAASC,EAAoBC,CAAa,EAC/C,OAAOA,EAAMC,OAAO,CAAC,MAAO,KAAO,GACrC,CCJO,SAASC,EAAUC,CAAY,EACpC,IAAMC,EAAYD,EAAKE,OAAO,CAAC,KACzBC,EAAaH,EAAKE,OAAO,CAAC,KAC1BE,EAAWD,EAAa,IAAOF,CAAAA,EAAY,GAAKE,EAAaF,CAAAA,SAEnE,GAAgBA,EAAY,GACnB,CACLI,SAAUL,EAAK5B,SAAS,CAAC,EAAGgC,EAAWD,EAAaF,GACpDK,MAAOF,EACHJ,EAAK5B,SAAS,CAAC+B,EAAYF,EAAY,GAAKA,EAAYM,KAAAA,GACxD,GACJC,KAAMP,EAAY,GAAKD,EAAKS,KAAK,CAACR,GAAa,EACjD,EAGK,CAAEI,SAAUL,EAAMM,MAAO,GAAIE,KAAM,EAAG,CAC/C,CCfO,SAASE,EAAcV,CAAY,CAAEW,CAAe,EACzD,GAAI,CAACX,EAAKY,UAAU,CAAC,MAAQ,CAACD,EAC5B,OAAOX,EAGT,GAAM,CAAEK,SAAAA,CAAQ,CAAEC,MAAAA,CAAK,CAAEE,KAAAA,CAAI,CAAE,CAAGT,EAAUC,GAC5C,MAAO,GAAGW,EAASN,EAAWC,EAAQE,CACxC,CCNO,SAASK,EAAcb,CAAY,CAAEc,CAAe,EACzD,GAAI,CAACd,EAAKY,UAAU,CAAC,MAAQ,CAACE,EAC5B,OAAOd,EAGT,GAAM,CAAEK,SAAAA,CAAQ,CAAEC,MAAAA,CAAK,CAAEE,KAAAA,CAAI,CAAE,CAAGT,EAAUC,GAC5C,MAAO,GAAGK,EAAWS,EAASR,EAAQE,CACxC,CCLO,SAASO,EAAcf,CAAY,CAAEW,CAAc,EACxD,GAAI,iBAAOX,EACT,MAAO,GAGT,GAAM,CAAEK,SAAAA,CAAQ,CAAE,CAAGN,EAAUC,GAC/B,OAAOK,IAAaM,GAAUN,EAASO,UAAU,CAACD,EAAS,IAC7D,CIFO,SAASK,EACdX,CAAgB,CAChBY,CAAkB,MAEdC,EAEJ,IAAMC,EAAgBd,EAASe,KAAK,CAAC,KAerC,MAbEH,CAAAA,GAAW,EAAE,EAAEI,IAAI,CAAC,GACpB,EACEF,CAAa,CAAC,EAAE,EAChBA,CAAa,CAAC,EAAE,CAAC9D,WAAW,KAAOiE,EAAOjE,WAAW,KAErD6D,EAAiBI,EACjBH,EAAcI,MAAM,CAAC,EAAG,GACxBlB,EAAWc,EAAcK,IAAI,CAAC,MAAQ,IAC/B,KAKJ,CACLnB,SAAAA,EACAa,eAAAA,CACF,CACF,CGnCA,IAAAO,EAAA,2FACA,SAAAC,EAAApD,CAAA,CAAAqD,CAAA,EACA,WAAAnD,IAAAD,OAAAD,GAAAwB,OAAA,CAAA2B,EAAA,aAAAE,GAAApD,OAAAoD,GAAA7B,OAAA,CAAA2B,EAAA,aACA,CACA,IAAAG,EAAAhD,OAAA,kBACO,OAAAiD,EACPlF,YAAAmF,CAAA,CAAAC,CAAA,CAAAC,CAAA,EACA,IAAAL,EACAM,CACA,kBAAAF,GAAA,aAAAA,GAAA,iBAAAA,GACAJ,EAAAI,EACAE,EAAAD,GAAA,IAEAC,EAAAD,GAAAD,GAAA,GAEA,KAAAH,EAAA,EACAtD,IAAAoD,EAAAI,EAAAH,GAAAM,EAAAN,IAAA,EACAM,QAAAA,EACAC,SAAA,EACA,EACA,KAAAC,OAAA,EACA,CACAA,SAAA,CACA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EACA,IAAAC,EAAqBC,SDyBnBrC,CAAgB,CAChB4B,CAAgB,MAE0BA,EAyCxBU,EAzClB,GAAM,CAAET,SAAAA,CAAQ,CAAEU,KAAAA,CAAI,CAAEC,cAAAA,CAAa,CAAE,CAAGZ,MAAAA,CAAAA,EAAAA,EAAQa,UAAU,EAAlBb,EAAsB,CAAC,EAC3DQ,EAAyB,CAC7BpC,SAAAA,EACAwC,cAAexC,MAAAA,EAAmBA,EAAS0C,QAAQ,CAAC,KAAOF,CAC7D,EAEIX,GAAYnB,EAAc0B,EAAKpC,QAAQ,CAAE6B,KAC3CO,EAAKpC,QAAQ,CAAG2C,SDrDahD,CAAY,CAAEW,CAAc,EAa3D,GAAI,CAACI,EAAcf,EAAMW,GACvB,OAAOX,EAIT,IAAMiD,EAAgBjD,EAAKS,KAAK,CAACE,EAAO1C,MAAM,SAG9C,EAAkB2C,UAAU,CAAC,KACpBqC,EAKF,IAAIA,CACb,ECyBqCR,EAAKpC,QAAQ,CAAE6B,GAChDO,EAAKP,QAAQ,CAAGA,GAElB,IAAIgB,EAAuBT,EAAKpC,QAAQ,CAExC,GACEoC,EAAKpC,QAAQ,CAACO,UAAU,CAAC,iBACzB6B,EAAKpC,QAAQ,CAAC0C,QAAQ,CAAC,SACvB,CACA,IAAMI,EAAQV,EAAKpC,QAAQ,CACxBP,OAAO,CAAC,mBAAoB,IAC5BA,OAAO,CAAC,UAAW,IACnBsB,KAAK,CAAC,KAEHgC,EAAUD,CAAK,CAAC,EAAE,CACxBV,EAAKW,OAAO,CAAGA,EACfF,EACEC,UAAAA,CAAK,CAAC,EAAE,CAAe,IAAIA,EAAM1C,KAAK,CAAC,GAAGe,IAAI,CAAC,KAAS,IAIhC,KAAtBS,EAAQoB,SAAS,EACnBZ,CAAAA,EAAKpC,QAAQ,CAAG6C,CAAAA,CAEpB,CAIA,GAAIN,EAAM,CACR,IAAID,EAASV,EAAQqB,YAAY,CAC7BrB,EAAQqB,YAAY,CAACnB,OAAO,CAACM,EAAKpC,QAAQ,EAC1CW,EAAoByB,EAAKpC,QAAQ,CAAEuC,EAAK3B,OAAO,CAEnDwB,CAAAA,EAAKnB,MAAM,CAAGqB,EAAOzB,cAAc,CACnCuB,EAAKpC,QAAQ,CAAGsC,MAAAA,CAAAA,EAAAA,EAAOtC,QAAQ,EAAfsC,EAAmBF,EAAKpC,QAAQ,CAE5C,CAACsC,EAAOzB,cAAc,EAAIuB,EAAKW,OAAO,EAKpCT,CAJJA,EAASV,EAAQqB,YAAY,CACzBrB,EAAQqB,YAAY,CAACnB,OAAO,CAACe,GAC7BlC,EAAoBkC,EAAsBN,EAAK3B,OAAO,GAE/CC,cAAc,EACvBuB,CAAAA,EAAKnB,MAAM,CAAGqB,EAAOzB,cAAc,CAGzC,CACA,OAAOuB,CACT,EClFwC,KAAAb,EAAA,CAAAtD,GAAA,CAAA+B,QAAA,EACxCyC,WAAA,KAAAlB,EAAA,CAAAK,OAAA,CAAAa,UAAA,CACAO,UAAA,GACAC,aAAA,KAAA1B,EAAA,CAAAK,OAAA,CAAAqB,YAAA,GAEAC,EAAyBC,SJxBvBC,CAAoC,CACpCzG,CAA6B,EAI7B,IAAIuG,EACJ,GAAIvG,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAS0G,IAAI,GAAI,CAACC,MAAMC,OAAO,CAAC5G,EAAQ0G,IAAI,EAC9CH,EAAWvG,EAAQ0G,IAAI,CAACG,QAAQ,GAAGzC,KAAK,CAAC,IAAK,EAAE,CAAC,EAAE,MAC9C,IAAIqC,EAAOF,QAAQ,CAEnB,OADLA,EAAWE,EAAOF,QAAQ,CAG5B,OAAOA,EAASlG,WAAW,EAC7B,EIWoC,KAAAuE,EAAA,CAAAtD,GAAA,MAAAsD,EAAA,CAAAK,OAAA,CAAAjF,OAAA,CACpC,MAAA4E,EAAA,CAAAkC,YAAA,MAAAlC,EAAA,CAAAK,OAAA,CAAAqB,YAAA,MAAA1B,EAAA,CAAAK,OAAA,CAAAqB,YAAA,CAAAS,kBAAA,CAAAR,GAA+IQ,SZ/B7IC,CAA4B,CAC5BT,CAAiB,CACjBrC,CAAuB,EAEvB,GAAK8C,EAML,IAAK,IAAMC,KAJP/C,GACFA,CAAAA,EAAiBA,EAAe7D,WAAW,IAG1B2G,GAAa,KAEPC,EAIrBA,EAHF,GACEV,IAFIW,CAAAA,MAAiBD,CAAAA,EAAAA,EAAKE,MAAM,SAAXF,EAAa7C,KAAK,CAAC,IAAK,EAAE,CAAC,EAAE,CAAC/D,WAAW,KAG9D6D,IAAmB+C,EAAKG,aAAa,CAAC/G,WAAW,WACjD4G,CAAAA,EAAAA,EAAKhD,OAAO,SAAZgD,EAAc5C,IAAI,CAAC,GAAYC,EAAOjE,WAAW,KAAO6D,EAAAA,EAExD,OAAO+C,CAEX,CACF,EYUiK,MAAA5B,CAAAA,EAAA,KAAAT,EAAA,CAAAK,OAAA,CAAAa,UAAA,eAAAV,CAAAA,EAAAC,EAAAO,IAAA,SAAAR,EAAAiC,OAAA,CAAAd,GACjK,IAAAa,EAAA,OAAA9B,CAAAA,EAAA,KAAAV,EAAA,CAAAkC,YAAA,SAAAxB,EAAA8B,aAAA,UAAA5B,CAAAA,EAAA,KAAAZ,EAAA,CAAAK,OAAA,CAAAa,UAAA,eAAAP,CAAAA,EAAAC,EAAAI,IAAA,SAAAL,EAAA6B,aAAA,CACA,MAAAxC,EAAA,CAAAtD,GAAA,CAAA+B,QAAA,CAAAoC,EAAApC,QAAA,CACA,KAAAuB,EAAA,CAAAwC,aAAA,CAAAA,EACA,KAAAxC,EAAA,CAAAM,QAAA,CAAAO,EAAAP,QAAA,KACA,KAAAN,EAAA,CAAAwB,OAAA,CAAAX,EAAAW,OAAA,CACA,KAAAxB,EAAA,CAAAN,MAAA,CAAAmB,EAAAnB,MAAA,EAAA8C,EACA,KAAAxC,EAAA,CAAAiB,aAAA,CAAAJ,EAAAI,aAAA,CAEAyB,gBAAA,KLhCuC7B,MACjCpC,EKgCN,OLhCMA,EAAWkE,SDHfvE,CAAY,CACZsB,CAAuB,CACvB8C,CAAsB,CACtBI,CAAsB,EAItB,GAAI,CAAClD,GAAUA,IAAW8C,EAAe,OAAOpE,EAEhD,IAAMyE,EAAQzE,EAAK3C,WAAW,SAI9B,CAAKmH,IACCzD,EAAc0D,EAAO,SACrB1D,EAAc0D,EAAO,IAAInD,EAAOjE,WAAW,KADN2C,EAKpCU,EAAcV,EAAM,IAAIsB,EACjC,EChBImB,CAFmCA,EKiCF,CACrCP,SAAA,KAAAN,EAAA,CAAAM,QAAA,CACAkB,QAAA,KAAAxB,EAAA,CAAAwB,OAAA,CACAgB,cAAA,KAAAxC,EAAA,CAAAK,OAAA,CAAAyC,WAAA,CAAAnE,KAAAA,EAAA,KAAAqB,EAAA,CAAAwC,aAAA,CACA9C,OAAA,KAAAM,EAAA,CAAAN,MAAA,CACAjB,SAAA,KAAAuB,EAAA,CAAAtD,GAAA,CAAA+B,QAAA,CACAwC,cAAA,KAAAjB,EAAA,CAAAiB,aAAA,GLrCSxC,QAAQ,CACboC,EAAKnB,MAAM,CACXmB,EAAKW,OAAO,CAAG7C,KAAAA,EAAYkC,EAAK2B,aAAa,CAC7C3B,EAAK+B,YAAY,EAGf/B,CAAAA,EAAKW,OAAO,EAAI,CAACX,EAAKI,aAAa,GACrCxC,CAAAA,EAAWT,EAAoBS,EAAAA,EAG7BoC,EAAKW,OAAO,EACd/C,CAAAA,EAAWQ,EACTH,EAAcL,EAAU,eAAeoC,EAAKW,OAAO,EACnDX,MAAAA,EAAKpC,QAAQ,CAAW,aAAe,UAI3CA,EAAWK,EAAcL,EAAUoC,EAAKP,QAAQ,EACzC,CAACO,EAAKW,OAAO,EAAIX,EAAKI,aAAa,CACtC,EAAUE,QAAQ,CAAC,KAEjB1C,EADAQ,EAAcR,EAAU,KAE1BT,EAAoBS,EKiB1B,CACAsE,cAAA,CACA,YAAA/C,EAAA,CAAAtD,GAAA,CAAAsG,MAAA,CAEA,IAAAxB,SAAA,CACA,YAAAxB,EAAA,CAAAwB,OAAA,CAEA,IAAAA,QAAAA,CAAA,EACA,KAAAxB,EAAA,CAAAwB,OAAA,CAAAA,CACA,CACA,IAAA9B,QAAA,CACA,YAAAM,EAAA,CAAAN,MAAA,IACA,CACA,IAAAA,OAAAA,CAAA,EACA,IAAAc,EAAAC,EACA,SAAAT,EAAA,CAAAN,MAAA,UAAAe,CAAAA,EAAA,KAAAT,EAAA,CAAAK,OAAA,CAAAa,UAAA,eAAAV,CAAAA,EAAAC,EAAAO,IAAA,SAAAR,EAAAnB,OAAA,CAAA4D,QAAA,CAAAvD,EAAA,EACA,iEAAiFA,EAAO,GAExF,MAAAM,EAAA,CAAAN,MAAA,CAAAA,CACA,CACA,IAAA8C,eAAA,CACA,YAAAxC,EAAA,CAAAwC,aAAA,CAEA,IAAAN,cAAA,CACA,YAAAlC,EAAA,CAAAkC,YAAA,CAEA,IAAAgB,cAAA,CACA,YAAAlD,EAAA,CAAAtD,GAAA,CAAAwG,YAAA,CAEA,IAAApB,MAAA,CACA,YAAA9B,EAAA,CAAAtD,GAAA,CAAAoF,IAAA,CAEA,IAAAA,KAAA/H,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAAoF,IAAA,CAAA/H,CACA,CACA,IAAA4H,UAAA,CACA,YAAA3B,EAAA,CAAAtD,GAAA,CAAAiF,QAAA,CAEA,IAAAA,SAAA5H,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAAiF,QAAA,CAAA5H,CACA,CACA,IAAAoJ,MAAA,CACA,YAAAnD,EAAA,CAAAtD,GAAA,CAAAyG,IAAA,CAEA,IAAAA,KAAApJ,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAAyG,IAAA,CAAApJ,CACA,CACA,IAAAqJ,UAAA,CACA,YAAApD,EAAA,CAAAtD,GAAA,CAAA0G,QAAA,CAEA,IAAAA,SAAArJ,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAA0G,QAAA,CAAArJ,CACA,CACA,IAAAsJ,MAAA,CACA,IAAA5E,EAAA,KAAAiE,cAAA,GACAM,EAAA,KAAAD,YAAA,GACA,SAAkB,KAAAK,QAAA,CAAc,IAAI,KAAAtB,IAAA,CAAU,EAAErD,EAAS,EAAEuE,EAAO,EAAE,KAAApE,IAAA,CAAU,EAE9E,IAAAyE,KAAA3G,CAAA,EACA,KAAAsD,EAAA,CAAAtD,GAAA,CAAAoD,EAAApD,GACA,KAAA6D,OAAA,EACA,CACA,IAAA+C,QAAA,CACA,YAAAtD,EAAA,CAAAtD,GAAA,CAAA4G,MAAA,CAEA,IAAA7E,UAAA,CACA,YAAAuB,EAAA,CAAAtD,GAAA,CAAA+B,QAAA,CAEA,IAAAA,SAAA1E,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAA+B,QAAA,CAAA1E,CACA,CACA,IAAA6E,MAAA,CACA,YAAAoB,EAAA,CAAAtD,GAAA,CAAAkC,IAAA,CAEA,IAAAA,KAAA7E,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAAkC,IAAA,CAAA7E,CACA,CACA,IAAAiJ,QAAA,CACA,YAAAhD,EAAA,CAAAtD,GAAA,CAAAsG,MAAA,CAEA,IAAAA,OAAAjJ,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAAsG,MAAA,CAAAjJ,CACA,CACA,IAAAwJ,UAAA,CACA,YAAAvD,EAAA,CAAAtD,GAAA,CAAA6G,QAAA,CAEA,IAAAA,SAAAxJ,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAA6G,QAAA,CAAAxJ,CACA,CACA,IAAAyJ,UAAA,CACA,YAAAxD,EAAA,CAAAtD,GAAA,CAAA8G,QAAA,CAEA,IAAAA,SAAAzJ,CAAA,EACA,KAAAiG,EAAA,CAAAtD,GAAA,CAAA8G,QAAA,CAAAzJ,CACA,CACA,IAAAuG,UAAA,CACA,YAAAN,EAAA,CAAAM,QAAA,CAEA,IAAAA,SAAAvG,CAAA,EACA,KAAAiG,EAAA,CAAAM,QAAA,CAAAvG,EAAAiF,UAAA,MAAAjF,EAAA,IAAsEA,EAAM,EAE5EkI,UAAA,CACA,YAAAoB,IAAA,CAEAI,QAAA,CACA,YAAAJ,IAAA,CAEA,CAAArG,OAAA0G,GAAA,mCACA,OACAL,KAAA,KAAAA,IAAA,CACAC,OAAA,KAAAA,MAAA,CACAF,SAAA,KAAAA,QAAA,CACAI,SAAA,KAAAA,QAAA,CACAD,SAAA,KAAAA,QAAA,CACAzB,KAAA,KAAAA,IAAA,CACAH,SAAA,KAAAA,QAAA,CACAwB,KAAA,KAAAA,IAAA,CACA1E,SAAA,KAAAA,QAAA,CACAuE,OAAA,KAAAA,MAAA,CACAE,aAAA,KAAAA,YAAA,CACAtE,KAAA,KAAAA,IAAA,CAEA,CACA+E,OAAA,CACA,WAAA1D,EAAAtD,OAAA,WAAAqD,EAAA,CAAAK,OAAA,CACA,CACA,cE9KO,IAAAuD,EAAA5G,OAAA,mBAKI,OAAA6G,UAAAC,QACX/I,YAAAmF,CAAA,CAAA6D,EAAA,EAAgC,EAChC,IAAArH,EAAA,iBAAAwD,GAAA,QAAAA,EAAAA,EAAAxD,GAAA,CAAAC,OAAAuD,GACQzD,EAAWC,GACnBwD,aAAA4D,QAAA,MAAA5D,EAAA6D,GACA,MAAArH,EAAAqH,GACA,IAAAC,EAAA,IAA4B/D,EAAOvD,EAAA,CACnCtB,QAAqBD,EAAyB,KAAAC,OAAA,EAC9C8F,WAAA6C,EAAA7C,UAAA,EAEA,MAAA0C,EAAA,EACAtI,QAAA,IAAyB2I,EAAAC,cAAc,MAAA9I,OAAA,EACvC+I,IAAAJ,EAAAI,GAAA,KACAC,GAAAL,EAAAK,EAAA,CACAJ,QAAAA,EACAtH,IAAqEsH,EAAA/B,QAAA,EACrE,CACA,CACA,CAAAjF,OAAA0G,GAAA,mCACA,OACApI,QAAA,KAAAA,OAAA,CACA6I,IAAA,KAAAA,GAAA,CACAC,GAAA,KAAAA,EAAA,CACAJ,QAAA,KAAAA,OAAA,CACAtH,IAAA,KAAAA,GAAA,CAEA2H,SAAA,KAAAA,QAAA,CACAC,MAAA,KAAAA,KAAA,CACAC,YAAA,KAAAA,WAAA,CACAC,YAAA,KAAAA,WAAA,CACApJ,QAAAvB,OAAA4K,WAAA,MAAArJ,OAAA,EACAsJ,UAAA,KAAAA,SAAA,CACAC,UAAA,KAAAA,SAAA,CACAC,OAAA,KAAAA,MAAA,CACAC,KAAA,KAAAA,IAAA,CACAC,SAAA,KAAAA,QAAA,CACAC,SAAA,KAAAA,QAAA,CACAC,eAAA,KAAAA,cAAA,CACAC,OAAA,KAAAA,MAAA,CAEA,CACA,IAAA3J,SAAA,CACA,YAAAsI,EAAA,CAAAtI,OAAA,CAEA,IAAA6I,KAAA,CACA,YAAAP,EAAA,CAAAO,GAAA,CAEA,IAAAC,IAAA,CACA,YAAAR,EAAA,CAAAQ,EAAA,CAEA,IAAAJ,SAAA,CACA,YAAAJ,EAAA,CAAAI,OAAA,CAMA,IAAAhJ,MAAA,CACA,UAAkBC,CAClB,CAKA,IAAAiK,IAAA,CACA,UAAkBhK,CAClB,CACA,IAAAwB,KAAA,CACA,YAAAkH,EAAA,CAAAlH,GAAA,CAEA,CC5EA,IAAMyI,EAASnI,OAAA,qBACfoI,EAAA,IAAAC,IAAA,CACA,IACA,IACA,IACA,IACA,IACA,EACA,SAAAC,EAAAvB,CAAA,CAAA3I,CAAA,EACA,IAAAmK,EACA,GAAAxB,MAAAA,EAAA,aAAAwB,CAAAA,EAAAxB,EAAAjG,OAAA,SAAAyH,EAAAnK,OAAA,EACA,IAAA2I,CAAAA,EAAAjG,OAAA,CAAA1C,OAAA,YAAAoK,OAAA,EACA,8DAEA,IAAAC,EAAA,GACA,QAAAlK,EAAAxB,EAAA,GAAAgK,EAAAjG,OAAA,CAAA1C,OAAA,CACAA,EAAAsK,GAAA,yBAAAnK,EAAAxB,GACA0L,EAAA/J,IAAA,CAAAH,GAEAH,EAAAsK,GAAA,iCAAAD,EAAA7F,IAAA,MACA,CACA,CAKW,MAAA+F,UAAAC,SACX7K,YAAA8K,CAAA,CAAA9B,EAAA,EAA+B,EAC/B,MAAA8B,EAAA9B,GACA,KAAaoB,EAAS,EACtB7J,QAAA,IAAyB2I,EAAA6B,eAAe,MAAA1K,OAAA,EACxCsB,IAAAqH,EAAArH,GAAA,KAAgCuD,EAAO8D,EAAArH,GAAA,EACvCtB,QAAyBD,EAAyB,KAAAC,OAAA,EAClD8F,WAAA6C,EAAA7C,UAAA,GACavC,KAAAA,CACb,CACA,CACA,CAAA3B,OAAA0G,GAAA,mCACA,OACApI,QAAA,KAAAA,OAAA,CACAoB,IAAA,KAAAA,GAAA,CAEAmJ,KAAA,KAAAA,IAAA,CACAxB,SAAA,KAAAA,QAAA,CACAjJ,QAAAvB,OAAA4K,WAAA,MAAArJ,OAAA,EACA2K,GAAA,KAAAA,EAAA,CACAC,WAAA,KAAAA,UAAA,CACAC,OAAA,KAAAA,MAAA,CACAC,WAAA,KAAAA,UAAA,CACAC,KAAA,KAAAA,IAAA,CAEA,CACA,IAAA7K,SAAA,CACA,YAAoB6J,EAAS,CAAA7J,OAAA,CAE7B,OAAA8K,KAAAP,CAAA,CAAA9B,CAAA,EACA,IAAAzG,EAAAsI,SAAAQ,IAAA,CAAAP,EAAA9B,GACA,WAAA4B,EAAArI,EAAAuI,IAAA,CAAAvI,EACA,CACA,OAAAwH,SAAApI,CAAA,CAAAqH,CAAA,EACA,IAAAkC,EAAA,iBAAAlC,EAAAA,EAAA,CAAAA,MAAAA,EAAA,OAAAA,EAAAkC,MAAA,OACA,IAAAb,EAAAiB,GAAA,CAAAJ,GACA,oFAEA,IAAAK,EAAA,iBAAAvC,EAAAA,EAAA,GACA3I,EAAA,IAAAoK,QAAAc,MAAAA,EAAA,OAAAA,EAAAlL,OAAA,EAEA,OADAA,EAAAsK,GAAA,YAAgCjJ,EAAWC,IAC3C,IAAAiJ,EAAA,MACA,GAAAW,CAAA,CACAlL,QAAAA,EACA6K,OAAAA,CACA,EACA,CACA,OAAAM,QAAA/B,CAAA,CAAAT,CAAA,EACA,IAAA3I,EAAA,IAAAoK,QAAAzB,MAAAA,EAAA,OAAAA,EAAA3I,OAAA,EAGA,OAFAA,EAAAsK,GAAA,wBAA4CjJ,EAAW+H,IACvDc,EAAAvB,EAAA3I,GACA,IAAAuK,EAAA,MACA,GAAA5B,CAAA,CACA3I,QAAAA,CACA,EACA,CACA,OAAAoL,KAAAzC,CAAA,EACA,IAAA3I,EAAA,IAAAoK,QAAAzB,MAAAA,EAAA,OAAAA,EAAA3I,OAAA,EAGA,OAFAA,EAAAsK,GAAA,0BACAJ,EAAAvB,EAAA3I,GACA,IAAAuK,EAAA,MACA,GAAA5B,CAAA,CACA3I,QAAAA,CACA,EACA,CACA,CCzFO,SAASqL,EAAc/J,CAAoB,CAAEqD,CAAkB,EACpE,IAAM2G,EAAU,iBAAO3G,EAAoB,IAAInD,IAAImD,GAAQA,EACrD4G,EAAW,IAAI/J,IAAIF,EAAKqD,GACxBuD,EAASoD,EAAWtD,QAAQ,CAAC,KAAIsD,EAAQ5E,IAAI,CACnD,OAAO6E,EAAYvD,QAAQ,CAAC,KAAIuD,EAAS7E,IAAI,GAAOwB,EAChDqD,EAAS1E,QAAQ,GAAG/D,OAAO,CAACoF,EAAQ,IACpCqD,EAAS1E,QAAQ,EACvB,CCJO,IAAM2E,EAAoB,CAC/B,CATwB,MASZ,CACZ,CAPoC,yBAOZ,CACxB,CAPyC,uBAOZ,CAC9B,QCNM,IAAMC,EAAiB,CAC5BC,OAAQ,SACRC,OAAQ,SACRC,WAAY,aACd,CAoBGH,CAAAA,EAAeC,MAAM,CACrBD,EAAeE,MAAM,CACrBF,EAAeG,UAAU,CAkEgChK,OADP,aC/FrD,IAAAiK,EAAA,CACA,iBACA,eACA,kCACA,sBACA,mBFOoC,OELpC,CACAC,EAAA,CACA,gBACA,CEZOC,EAAA,OAmFPC,GAAA,CAGAC,OAAA,SAGAC,sBAAA,MAGAC,oBAAA,MAGAC,cAAA,iBAGAtP,IAAA,MAGAuP,WAAA,aAGAC,WAAA,aAGAC,UAAA,aAGAC,gBAAA,oBAGAC,iBAAA,qBAGAC,gBAAA,mBACA,EACA,EACA,GAAAV,EAAA,CACAW,MAAA,CACAC,WAAA,CACAZ,GAAAE,qBAAA,CACAF,GAAAI,aAAA,CACAJ,GAAAS,gBAAA,CACAT,GAAAU,eAAA,CACAV,GAAAM,UAAA,CACA,CACAO,WAAA,CACAb,GAAAG,mBAAA,CACAH,GAAAQ,eAAA,CACA,CACAM,sBAAA,CAEAd,GAAAK,UAAA,CACAL,GAAAlP,GAAA,CACA,CACAiQ,IAAA,CACAf,GAAAE,qBAAA,CACAF,GAAAI,aAAA,CACAJ,GAAAS,gBAAA,CACAT,GAAAU,eAAA,CACAV,GAAAG,mBAAA,CACAH,GAAAQ,eAAA,CACAR,GAAAC,MAAA,CACAD,GAAAM,UAAA,CACA,CAEA,ECpJO,OAAAU,GACP,OAAAjO,IAAAkO,CAAA,CAAAhO,CAAA,CAAAiO,CAAA,EACA,IAAAvO,EAAAwO,QAAApO,GAAA,CAAAkO,EAAAhO,EAAAiO,SACA,mBAAAvO,EACAA,EAAAyO,IAAA,CAAAH,GAEAtO,CACA,CACA,OAAA2L,IAAA2C,CAAA,CAAAhO,CAAA,CAAAN,CAAA,CAAAuO,CAAA,EACA,OAAAC,QAAA7C,GAAA,CAAA2C,EAAAhO,EAAAN,EAAAuO,EACA,CACA,OAAAjC,IAAAgC,CAAA,CAAAhO,CAAA,EACA,OAAAkO,QAAAlC,GAAA,CAAAgC,EAAAhO,EACA,CACA,OAAAoO,eAAAJ,CAAA,CAAAhO,CAAA,EACA,OAAAkO,QAAAE,cAAA,CAAAJ,EAAAhO,EACA,CACA,CCdW,MAAAqO,WAAA5N,MACXC,aAAA,CACA,2GACA,CACA,OAAA4N,UAAA,CACA,UAAAD,EACA,CACA,CACO,MAAAE,WAAApD,QACPzK,YAAAK,CAAA,EAGA,QACA,KAAAA,OAAA,KAAAlB,MAAAkB,EAAA,CACAjB,IAAAkO,CAAA,CAAAhO,CAAA,CAAAiO,CAAA,EAIA,oBAAAjO,EACA,OAA2B+N,GAAcjO,GAAA,CAAAkO,EAAAhO,EAAAiO,GAEzC,IAAAO,EAAAxO,EAAAoB,WAAA,GAIAqN,EAAAjP,OAAA4L,IAAA,CAAArK,GAAA2N,IAAA,IAAAC,EAAAvN,WAAA,KAAAoN,GAEA,YAAAC,EAEA,OAAuBV,GAAcjO,GAAA,CAAAkO,EAAAS,EAAAR,EACrC,EACA5C,IAAA2C,CAAA,CAAAhO,CAAA,CAAAN,CAAA,CAAAuO,CAAA,EACA,oBAAAjO,EACA,OAA2B+N,GAAc1C,GAAA,CAAA2C,EAAAhO,EAAAN,EAAAuO,GAEzC,IAAAO,EAAAxO,EAAAoB,WAAA,GAIAqN,EAAAjP,OAAA4L,IAAA,CAAArK,GAAA2N,IAAA,IAAAC,EAAAvN,WAAA,KAAAoN,GAEA,OAAuBT,GAAc1C,GAAA,CAAA2C,EAAAS,GAAAzO,EAAAN,EAAAuO,EACrC,EACAjC,IAAAgC,CAAA,CAAAhO,CAAA,EACA,oBAAAA,EAAA,OAAqD+N,GAAc/B,GAAA,CAAAgC,EAAAhO,GACnE,IAAAwO,EAAAxO,EAAAoB,WAAA,GAIAqN,EAAAjP,OAAA4L,IAAA,CAAArK,GAAA2N,IAAA,IAAAC,EAAAvN,WAAA,KAAAoN,UAEA,SAAAC,GAEuBV,GAAc/B,GAAA,CAAAgC,EAAAS,EACrC,EACAL,eAAAJ,CAAA,CAAAhO,CAAA,EACA,oBAAAA,EAAA,OAAqD+N,GAAcK,cAAA,CAAAJ,EAAAhO,GACnE,IAAAwO,EAAAxO,EAAAoB,WAAA,GAIAqN,EAAAjP,OAAA4L,IAAA,CAAArK,GAAA2N,IAAA,IAAAC,EAAAvN,WAAA,KAAAoN,UAEA,SAAAC,GAEuBV,GAAcK,cAAA,CAAAJ,EAAAS,EACrC,CACA,EACA,CAIA,OAAAG,KAAA7N,CAAA,EACA,WAAAlB,MAAAkB,EAAA,CACAjB,IAAAkO,CAAA,CAAAhO,CAAA,CAAAiO,CAAA,EACA,OAAAjO,GACA,aACA,aACA,UACA,OAAAqO,GAAAC,QAAA,SAEA,OAA+BP,GAAcjO,GAAA,CAAAkO,EAAAhO,EAAAiO,EAC7C,CACA,CACA,EACA,CAOAY,MAAAnP,CAAA,SACA,MAAAiI,OAAA,CAAAjI,GAAAA,EAAA6F,IAAA,OACA7F,CACA,CAMA,OAAAoP,KAAA/N,CAAA,SACA,aAAAoK,QAAApK,EACA,IAAAwN,GAAAxN,EACA,CACAgO,OAAAC,CAAA,CAAAtP,CAAA,EACA,IAAAuP,EAAA,KAAAlO,OAAA,CAAAiO,EAAA,CACA,iBAAAC,EACA,KAAAlO,OAAA,CAAAiO,EAAA,EACAC,EACAvP,EACA,CACUgI,MAAAC,OAAA,CAAAsH,GACVA,EAAA5N,IAAA,CAAA3B,GAEA,KAAAqB,OAAA,CAAAiO,EAAA,CAAAtP,CAEA,CACAwP,OAAAF,CAAA,EACA,YAAAjO,OAAA,CAAAiO,EAAA,CAEAlP,IAAAkP,CAAA,EACA,IAAAtP,EAAA,KAAAqB,OAAA,CAAAiO,EAAA,QACA,SAAAtP,EAAA,KAAAmP,KAAA,CAAAnP,GACA,IACA,CACAsM,IAAAgD,CAAA,EACA,qBAAAjO,OAAA,CAAAiO,EAAA,CAEA3D,IAAA2D,CAAA,CAAAtP,CAAA,EACA,KAAAqB,OAAA,CAAAiO,EAAA,CAAAtP,CACA,CACAyP,QAAAC,CAAA,CAAAC,CAAA,EACA,QAAAL,EAAAtP,EAAA,QAAAyB,OAAA,GACAiO,EAAAE,IAAA,CAAAD,EAAA3P,EAAAsP,EAAA,KAEA,CACA,CAAA7N,SAAA,CACA,QAAAD,KAAA1B,OAAA4L,IAAA,MAAArK,OAAA,GACA,IAAAiO,EAAA9N,EAAAE,WAAA,GAGA1B,EAAA,KAAAI,GAAA,CAAAkP,EACA,OACAA,EACAtP,EACA,CAEA,CACA,CAAA0L,MAAA,CACA,QAAAlK,KAAA1B,OAAA4L,IAAA,MAAArK,OAAA,GACA,IAAAiO,EAAA9N,EAAAE,WAAA,EACA,OAAA4N,CACA,CACA,CACA,CAAAO,QAAA,CACA,QAAArO,KAAA1B,OAAA4L,IAAA,MAAArK,OAAA,GAGA,IAAArB,EAAA,KAAAI,GAAA,CAAAoB,EACA,OAAAxB,CACA,CACA,CACA,CAAAiD,OAAA6M,QAAA,IACA,YAAArO,OAAA,EACA,CACA,CCvKA,IAAMsO,GAA2C,MAC/C,6EAGF,OAAMC,GAGJC,SAAgB,CACd,MAAMF,EACR,CAEAG,UAA8B,CAG9B,CAEAC,KAAY,CACV,MAAMJ,EACR,CAEAK,MAAa,CACX,MAAML,EACR,CAEAM,WAAkB,CAChB,MAAMN,EACR,CACF,CAEA,IAAMO,GAA+BpR,WAAoBqR,iBAAiB,CAEnE,SAASC,YAGd,GACS,IAAIF,GAEN,IAAIN,EACb,CCrCO,IAAMS,GACXD,IECS,OAAAE,WAAA3P,MACXC,aAAA,CACA,8KACA,CACA,OAAA4N,UAAA,CACA,UAAA8B,EACA,CACA,CACO,MAAAC,GACP,OAAAzB,KAAA3N,CAAA,EACA,WAAApB,MAAAoB,EAAA,CACAnB,IAAAkO,CAAA,CAAAhO,CAAA,CAAAiO,CAAA,EACA,OAAAjO,GACA,YACA,aACA,UACA,OAAAoQ,GAAA9B,QAAA,SAEA,OAA+BP,GAAcjO,GAAA,CAAAkO,EAAAhO,EAAAiO,EAC7C,CACA,CACA,EACA,CACA,CACA,IAAAqC,GAAA3N,OAAA0G,GAAA,wBA4BO,OAAAkH,GACP,OAAAC,KAAAvP,CAAA,CAAAwP,CAAA,EACA,IAAAC,EAAA,IAAoC9G,EAAA6B,eAAe,KAAAN,SACnD,QAAAwF,KAAA1P,EAAA2P,MAAA,GACAF,EAAArF,GAAA,CAAAsF,GAEA,IAAAE,EAAA,GACAC,EAAA,IAAA9F,IACA+F,EAAA,KAEA,IAAAC,EAA+Cb,GAA4BP,QAAA,GAM3E,GALAoB,GACAA,CAAAA,EAAAC,kBAAA,KAGAJ,EAAAK,EADAN,MAAA,GACAO,MAAA,IAAAL,EAAA9E,GAAA,CAAAoF,EAAApC,IAAA,GACAyB,EAAA,CACA,IAAAY,EAAA,GACA,QAAAV,KAAAE,EAAA,CACA,IAAAS,EAAA,IAA4C1H,EAAA6B,eAAe,KAAAN,SAC3DmG,EAAAjG,GAAA,CAAAsF,GACAU,EAAAhQ,IAAA,CAAAiQ,EAAA1J,QAAA,GACA,CACA6I,EAAAY,EACA,CACA,EACA,WAAAxR,MAAA6Q,EAAA,CACA5Q,IAAAkO,CAAA,CAAAhO,CAAA,CAAAiO,CAAA,EACA,OAAAjO,GAEA,KAAAsQ,GACA,OAAAO,CAGA,cACA,mBAAAxQ,CAAA,EACAyQ,EAAAS,GAAA,kBAAAlR,CAAA,IAAAA,CAAA,IAAAA,CAAA,IAAA2O,IAAA,EACA,IACAhB,EAAAkB,MAAA,IAAA7O,EACA,QAA8B,CAC9B0Q,GACA,CACA,CACA,WACA,mBAAA1Q,CAAA,EACAyQ,EAAAS,GAAA,kBAAAlR,CAAA,IAAAA,CAAA,IAAAA,CAAA,IAAA2O,IAAA,EACA,IACA,OAAAhB,EAAA3C,GAAA,IAAAhL,EACA,QAA8B,CAC9B0Q,GACA,CACA,CACA,SACA,OAA+BhD,GAAcjO,GAAA,CAAAkO,EAAAhO,EAAAiO,EAC7C,CACA,CACA,EACA,CACA,EC5GA,SAAAnQ,CAAA,EACAA,EAAA,yCACAA,EAAA,qBACAA,EAAA,uBACAA,EAAA,yCACAA,EAAA,2BACAA,EAAA,2EACAA,EAAA,+CACAA,EAAA,uCACAA,EAAA,qCACAA,EAAA,yDACAA,EAAA,iDACAA,EAAA,gCACA,EAACA,GAAAA,CAAAA,EAAA,KAED,SAAAC,CAAA,EACAA,EAAA,uEACAA,EAAA,8CACA,EAACA,GAAAA,CAAAA,EAAA,KAED,SAAAC,CAAA,EACAA,EAAA,iDACAA,EAAA,iCACAA,EAAA,6DACAA,EAAA,wCACA,EAACA,GAAAA,CAAAA,EAAA,KAED,SAAAC,CAAA,EACAA,EAAA,yCACAA,EAAA,uCACAA,EAAA,yDACAA,EAAA,+DACAA,EAAA,6DACAA,EAAA,2DACAA,EAAA,+DACAA,EAAA,2DACAA,EAAA,+DACAA,EAAA,mDACAA,EAAA,2CACAA,EAAA,+BACAA,EAAA,+BACAA,EAAA,uCACAA,EAAA,+CACAA,EAAA,yCACAA,EAAA,qDACAA,EAAA,uDACAA,EAAA,iDACAA,EAAA,uEACAA,EAAA,qDACAA,EAAA,2CACAA,EAAA,yCACAA,EAAA,qDACAA,EAAA,qCACAA,EAAA,6CAEAA,EAAA,cACAA,EAAA,wBACAA,EAAA,0BACAA,EAAA,6BACA,EAACA,GAAAA,CAAAA,EAAA,KAGDC,CACCA,GAAAA,CAAAA,EAAA,GAA0C,EAD3C,sCAGA,SAAAC,CAAA,EACAA,EAAA,+CACAA,EAAA,uCACAA,EAAA,uCACAA,EAAA,uCACAA,EAAA,0CACA,EAACA,GAAAA,CAAAA,EAAA,KAED,SAAAC,CAAA,EACAA,EAAA,0CACAA,EAAA,0DACAA,EAAA,wCACAA,EAAA,uBACA,EAACA,GAAAA,CAAAA,EAAA,KAGDC,CACCA,GAAAA,CAAAA,EAAA,GAAgC,EADjC,mCAIAmT,CACGlT,GAAaA,CAAAA,EAAQ,GAAK,EAD7B,6BAIAC,CACCA,GAAAA,CAAAA,EAAA,GAA8D,EAD/D,8CAGA,SAAAC,CAAA,EACAA,EAAA,oDACAA,EAAA,mDACA,EAACA,GAAAA,CAAAA,EAAA,KAGDC,CACCA,GAAAA,CAAAA,EAAA,GAAwC,EADzC,6BAGO,IAAAgT,GAAA,CACP,qBACA,2BACA,4BACA,wBACA,kBACA,0BACA,wBACA,kBACA,mCACA,mCACA,mCACA,qCACA,oCACA,uCACA,+BACA,wCACA,CAGOC,GAAA,CACP,oCACA,qCACA,wCACA,CClHA,CAAQC,QAAAA,EAAA,CAAAC,YAAAA,EAAA,CAAAC,MAAAA,EAAA,CAAAC,eAAAA,EAAA,CAAAC,SAAAA,EAAA,CAAAC,aAAAA,EAAA,EARRnU,EAAUwB,EAAQ,KASlB4S,GAAA,GACAC,OAAAA,GAAA,iBAAAA,GAAA,mBAAAA,EAAAC,IAAA,CAEAC,GAAA,CAAAC,EAAA7P,KACA,CAAAA,MAAAA,EAAA,OAAAA,EAAA8P,MAAA,OACAD,EAAAE,YAAA,oBAEA/P,GACA6P,EAAAG,eAAA,CAAAhQ,GAEA6P,EAAAI,SAAA,EACAC,KAAAZ,GAAAa,KAAA,CACA3T,QAAAwD,MAAAA,EAAA,OAAAA,EAAAxD,OAAA,IAGAqT,EAAAO,GAAA,EACA,EACAC,GAAA,IAAAC,IACAC,GAAAlV,EAAAmV,gBAAA,oBACAC,GAAA,EACAC,GAAA,IAAAD,IACA,OAAAE,GAKAC,mBAAA,CACA,OAAAvB,GAAAwB,SAAA,mBACA,CACAC,YAAA,CACA,OAAA3B,EACA,CACA4B,oBAAA,CACA,OAAA1B,GAAA2B,OAAA,CAAA7B,MAAAA,GAAA,OAAAA,GAAA8B,MAAA,GACA,CACAC,sBAAAC,CAAA,CAAAC,CAAA,CAAAC,CAAA,EACA,IAAAC,EAAAnC,GAAA8B,MAAA,GACA,GAAA5B,GAAAkC,cAAA,CAAAD,GAEA,OAAAF,IAEA,IAAAI,EAAApC,GAAAqC,OAAA,CAAAH,EAAAH,EAAAE,GACA,OAAAlC,GAAAuC,IAAA,CAAAF,EAAAJ,EACA,CACA/B,MAAA,GAAAxR,CAAA,EACA,IAAA8T,EACA,IAAArI,EAAAsI,EAAAC,EAAA,CAAAhU,EAEA,CAAgBuT,GAAAA,CAAA,CAAA5N,QAAAA,CAAA,EAAc,mBAAAoO,EAAA,CAC9BR,GAAAQ,EACApO,QAAA,EACA,EAAU,CACV4N,GAAAS,EACArO,QAAA,CACA,GAAAoO,CAAA,CAEA,EACAE,EAAAtO,EAAAsO,QAAA,EAAAxI,EACA,IAAa2F,GAAwB7I,QAAA,CAAAkD,IAAA1M,MAAAA,QAAAG,GAAA,CAAAgV,iBAAA,EAAAvO,EAAAwO,QAAA,CACrC,OAAAZ,IAGA,IAAAa,EAAA,KAAAV,cAAA,EAAA/N,MAAAA,EAAA,OAAAA,EAAA0O,UAAA,QAAAnB,kBAAA,IACAoB,EAAA,GACAF,EAGU,OAAAN,CAAAA,EAAAtC,GAAAkC,cAAA,CAAAU,EAAA,SAAAN,EAAAS,QAAA,GACVD,CAAAA,EAAA,KAHAF,EAAA,CAAA9C,MAAAA,GAAA,OAAAA,GAAA8B,MAAA,KAAAzB,GACA2C,EAAA,IAIA,IAAAE,EAAA3B,KAMA,OALAlN,EAAA8O,UAAA,EACA,iBAAAR,EACA,iBAAAxI,EACA,GAAA9F,EAAA8O,UAAA,EAEAnD,GAAAuC,IAAA,CAAAO,EAAAM,QAAA,CAAAhC,GAAA8B,GAAA,SAAAzB,iBAAA,GAAA4B,eAAA,CAAAV,EAAAtO,EAAA,IACA,IAAAiP,EAAA,gBAAArW,WAAAA,WAAAsW,WAAA,CAAAC,GAAA,GAAA7Q,KAAAA,EACA8Q,EAAA,KACAvC,GAAA3D,MAAA,CAAA2F,GACAI,GAAA7V,QAAAG,GAAA,CAAA8V,4BAAA,EAAiF3D,GAAgB9I,QAAA,CAAAkD,GAAA,KACjGoJ,YAAAI,OAAA,IAA+ClW,QAAAG,GAAA,CAAA8V,4BAAA,CAAyC,QAAQ,CAAAvJ,EAAA3G,KAAA,MAAAoQ,GAAA,QAAA1R,OAAA,iBAAA2R,EAAApU,WAAA,IAAoF,GACpLI,MAAAyT,EACArC,IAAAsC,YAAAC,GAAA,EACA,EAEA,EACAR,GACA9B,GAAAxH,GAAA,CAAAwJ,EAAA,IAAA/B,IAAAtT,OAAA2B,OAAA,CAAA6E,EAAA8O,UAAA,QAEA,IACA,GAAAlB,EAAA5R,MAAA,GACA,OAAA4R,EAAAvB,EAAA,GAAAD,GAAAC,EAAAtT,IAEA,IAAA2H,EAAAkN,EAAAvB,GACA,GAAAJ,GAAAvL,GAEA,OAAAA,EAAAyL,IAAA,KACAE,EAAAO,GAAA,GAGA6C,IACyBC,KAAA,KAEzB,MADAtD,GAAAC,EAAAtT,GACAA,CACA,GAAyB4W,OAAA,CAAAP,GAKzB,OAHA/C,EAAAO,GAAA,GACAwC,IAEA1O,CACA,CAAkB,MAAA3H,EAAA,CAGlB,MAFAqT,GAAAC,EAAAtT,GACAqW,IACArW,CACA,CACA,GACA,CACAyR,KAAA,GAAAnQ,CAAA,EACA,IAAAuV,EAAA,KACA,CAAA5G,EAAAhJ,EAAA4N,EAAA,CAAAvT,IAAAA,EAAA2B,MAAA,CAAA3B,EAAA,CACAA,CAAA,IACA,GACAA,CAAA,IACA,QACA,GAAqCuI,QAAA,CAAAoG,IAAA5P,MAAAA,QAAAG,GAAA,CAAAgV,iBAAA,CAGrC,WACA,IAAAsB,EAAA7P,CACA,oBAAA6P,GAAA,mBAAAjC,GACAiC,CAAAA,EAAAA,EAAA3V,KAAA,MAAA4V,UAAA,EAEA,IAAAC,EAAAD,UAAA9T,MAAA,GACAgU,EAAAF,SAAA,CAAAC,EAAA,CACA,sBAAAC,EAUA,OAAAJ,EAAA/D,KAAA,CAAA7C,EAAA6G,EAAA,IAAAjC,EAAA1T,KAAA,MAAA4V,WAVA,EACA,IAAAG,EAAAL,EAAAtC,UAAA,GAAAnF,IAAA,CAAAwD,GAAA8B,MAAA,GAAAuC,GACA,OAAAJ,EAAA/D,KAAA,CAAA7C,EAAA6G,EAAA,CAAAK,EAAAC,KACAL,SAAA,CAAAC,EAAA,UAAAhX,CAAA,EAEA,OADAoX,MAAAA,GAAAA,EAAApX,GACAkX,EAAA/V,KAAA,MAAA4V,UACA,EACAlC,EAAA1T,KAAA,MAAA4V,YAEA,CAGA,EArBAlC,CAsBA,CACAwC,UAAA,GAAA/V,CAAA,EACA,IAAAyL,EAAA9F,EAAA,CAAA3F,EACAoU,EAAA,KAAAV,cAAA,EAAA/N,MAAAA,EAAA,OAAAA,EAAA0O,UAAA,QAAAnB,kBAAA,IACA,YAAAH,iBAAA,GAAAgD,SAAA,CAAAtK,EAAA9F,EAAAyO,EACA,CACAV,eAAAW,CAAA,EAEA,OADAA,EAAA7C,GAAAwE,OAAA,CAAA1E,GAAA8B,MAAA,GAAAiB,GAAApQ,KAAAA,CAEA,CACAgS,uBAAA,CACA,IAAAzB,EAAAlD,GAAA8B,MAAA,GAAA8C,QAAA,CAAAxD,IACA,OAAAF,GAAA/S,GAAA,CAAA+U,EACA,CACA,CACA,IAAM2B,GAAS,MACf,IAAAZ,EAAA,IAAAzC,GACA,UAAAyC,CACA,KCrIOa,GAAA,qBAGA9T,OAFA,uBAGAA,OAAA8T,GCvDA,OAAAC,GACPhW,YAAAiW,CAAA,CAAAC,CAAA,CAAA3V,CAAA,CAAA4V,CAAA,EACA,IAAAC,EAGA,IAAAC,EAAAJ,GAAqDK,SDoC9CJ,CAAA,CAAAD,CAAA,EACP,IAAA5V,EAAoBwN,GAAcO,IAAA,CAAA8H,EAAA7V,OAAA,EAIlC,OACAgW,qBAHAE,EADAnX,GAAA,CT3CO,4BS4CP6W,EAAAM,aAAA,CAIAC,wBAHAnW,EAAAiL,GAAA,CT5CO,sCSgDP,CACA,EC7C8E4K,EAAAD,GAAAI,oBAAA,CAC9EI,EAAA,MAAAL,CAAAA,EAAA7V,EAAAnB,GAAA,CAAwD2W,GAA4B,SAAAK,EAAApX,KAAA,CACpF,KAAA0X,SAAA,CAAAC,CAAAA,CAAA,EAAAN,GAAAI,GAAAR,GAAAQ,IAAAR,EAAAM,aAAA,EACA,KAAAK,cAAA,CAAAX,MAAAA,EAAA,OAAAA,EAAAM,aAAA,CACA,KAAAM,eAAA,CAAAV,CACA,CACAW,QAAA,CACA,SAAAF,cAAA,CACA,sFAEA,KAAAC,eAAA,CAAAlM,GAAA,EACA2D,KAAkByH,GAClB/W,MAAA,KAAA4X,cAAA,CACAG,SAAA,GACAC,SAA4D,OAC5DC,OAAoB,GACpB5T,KAAA,GACA,EACA,CACA4L,SAAA,CAIA,KAAA4H,eAAA,CAAAlM,GAAA,EACA2D,KAAkByH,GAClB/W,MAAA,GACA+X,SAAA,GACAC,SAA4D,OAC5DC,OAAoB,GACpB5T,KAAA,IACA6T,QAAA,IAAAC,KAAA,EACA,EACA,CACA,CCnBO,IAAAC,GAAA,CASPtH,KAAAuH,CAAA,EAAuBnB,IAAAA,CAAA,CAAAnB,IAAAA,CAAA,CAAAuC,WAAAA,CAAA,CAAsB,CAAAC,CAAA,MAC7CtB,EAKA,SAAAuB,EAAAjX,CAAA,EACAwU,GACAA,EAAA0C,SAAA,cAAAlX,EAEA,CARA+W,GAAA,iBAAAA,GAEArB,CAAAA,EAAAqB,EAAArB,YAAA,EAOA,IAAA1M,EAAA,GACAmO,EAAA,CACA,IAAArX,SAAA,CAMA,OALAkJ,EAAAlJ,OAAA,EAGAkJ,CAAAA,EAAAlJ,OAAA,CAAAsX,SAzCAtX,CAAA,EACA,IAAAuX,EAAoB/J,GAAcO,IAAA,CAAA/N,GAClC,QAAAwX,KAAwBhM,EACxB+L,EAAApJ,MAAA,CAAAqJ,EAAA3Q,QAAA,GAAAxG,WAAA,IAEA,OAAWmN,GAAcK,IAAA,CAAA0J,EACzB,EAmCA1B,EAAA7V,OAAA,GAEAkJ,EAAAlJ,OAAA,EAEA,IAAAE,SAAA,CAMA,OALAgJ,EAAAhJ,OAAA,EAGAgJ,CAAAA,EAAAhJ,OAAA,CAAAuX,SA1CAzX,CAAA,EACA,IAAAE,EAAA,IAAwB2I,EAAAC,cAAc,CAAC0E,GAAcO,IAAA,CAAA/N,IACrD,OAAWsP,GAAqBzB,IAAA,CAAA3N,EAChC,EAuCA2V,EAAA7V,OAAA,GAEAkJ,EAAAhJ,OAAA,EAEA,IAAA4V,gBAAA,CAIA,OAHA5M,EAAA4M,cAAA,EACA5M,CAAAA,EAAA4M,cAAA,CAAA4B,SA5CA1X,CAAA,CAAA0P,CAAA,EACA,IAAAxP,EAAA,IAAwB2I,EAAAC,cAAc,CAAC0E,GAAcO,IAAA,CAAA/N,IACrD,OAAWwP,GAA4BC,IAAA,CAAAvP,EAAAwP,EACvC,EAyCAmG,EAAA7V,OAAA,EAAAiX,MAAAA,EAAA,OAAAA,EAAAvH,eAAA,GAAAgF,CAAAA,EAAAyC,EAAA5T,KAAAA,CAAA,IAEA2F,EAAA4M,cAAA,EAEA,IAAA6B,WAAA,CAIA,OAHAzO,EAAAyO,SAAA,EACAzO,CAAAA,EAAAyO,SAAA,KAA0ChC,GAAiBC,EAAAC,EAAA,KAAA3V,OAAA,MAAA4V,cAAA,GAE3D5M,EAAAyO,SAAA,EAEAC,sBAAA,CAAAX,MAAAA,EAAA,OAAAA,EAAAW,qBAAA,MACAC,YAAA,CAAAZ,MAAAA,EAAA,OAAAA,EAAAY,WAAA,KACA,EACA,OAAAb,EAAAlI,GAAA,CAAAuI,EAAAH,EAAAG,EACA,CACA,ECxEaS,GACX3I,IEaK,OAAA4I,WAA8BtP,EACrC9I,YAAA8C,CAAA,EACA,MAAAA,EAAAqC,KAAA,CAAArC,EAAAkG,IAAA,EACA,KAAAhG,UAAA,CAAAF,EAAA7C,IAAA,CAEA,IAAA8C,SAAA,CACA,UAAkBjD,EAAkB,CACpCG,KAAA,KAAA+C,UAAA,EAEA,CACAV,aAAA,CACA,UAAkBxC,EAAkB,CACpCG,KAAA,KAAA+C,UAAA,EAEA,CACAL,WAAA,CACA,UAAkB7C,EAAkB,CACpCG,KAAA,KAAA+C,UAAA,EAEA,CACA,CACA,IAAAqV,GAAA,CACA3N,KAAA,GAAA1D,MAAAoH,IAAA,CAAA/N,EAAAqK,IAAA,IACAtL,IAAA,CAAAiB,EAAAG,IAAAH,EAAAjB,GAAA,CAAAoB,IAAAoD,KAAAA,CACA,EACA0U,GAAA,CAAAvV,EAAAmQ,IAEAgC,KAAAlC,qBAAA,CAAAjQ,EAAA1C,OAAA,CAAA6S,EAAAmF,IAEAE,GAAA,GAWO,eAAAC,GAAA1V,CAAA,MAkGPP,EACAkW,GAlGAC,WAVA,IAAAH,KACAA,GAAA,GACA7Z,SAAAA,QAAAG,GAAA,CAAA8Z,uBAAA,GACA,IAAoBC,kBAAAA,CAAA,CAAAC,mBAAAA,CAAA,EAA0Cla,EAAQ,KACtEia,IACAN,GAAAO,EAAAP,GACA,CAEA,IAGA,MAAU9Z,IAEV,IAAAsa,EAAA,SAAAC,KAAAC,gBAAA,CACAC,EAAA,iBAAAF,KAAAG,oBAAA,CAAAC,KAAAC,KAAA,CAAAL,KAAAG,oBAAA,EAAAtV,KAAAA,CACAd,CAAAA,EAAAC,OAAA,CAAApB,GAAA,CfLSA,EeK+BoB,OAAA,CAAApB,GAAA,CfL3BwB,OAAO,CAChB,cAEA,MeGJ,IAAAkW,EAAA,IAA2BnU,EAAOpC,EAAAC,OAAA,CAAApB,GAAA,EAClCtB,QAAAyC,EAAAC,OAAA,CAAA1C,OAAA,CACA8F,WAAArD,EAAAC,OAAA,CAAAoD,UAAA,GAOA,QAAA3F,IAHA,IACA6Y,EAAAlR,YAAA,CAAAuC,IAAA,GACA,CACA,CACA,IAAA1L,EAAAqa,EAAAlR,YAAA,CAAA+H,MAAA,CAAA1P,GACA,GAAAA,IAAoB4L,GAAuB5L,EAAAyD,UAAA,CAAmBmI,GAAuB,CACrF,IAAAkN,EAAA9Y,EAAAiB,SAAA,CAAgD2K,EAAuB9K,MAAA,EAEvE,QAAAiY,KADAF,EAAAlR,YAAA,CAAAqG,MAAA,CAAA8K,GACAta,GACAqa,EAAAlR,YAAA,CAAAkG,MAAA,CAAAiL,EAAAC,GAEAF,EAAAlR,YAAA,CAAAqG,MAAA,CAAAhO,EACA,CACA,CAEA,IAAAiG,EAAA4S,EAAA5S,OAAA,CACA4S,EAAA5S,OAAA,IACA,IAAA+S,EAAA1W,EAAAC,OAAA,CAAA1C,OAAA,kBACAmZ,GAAAH,WAAAA,EAAA3V,QAAA,EACA2V,CAAAA,EAAA3V,QAAA,MAEA,IAAA+V,EAA2BC,SrCnFhBpZ,CAAA,EACX,IAAAD,EAAA,IAAAoK,QACA,QAAAjK,EAAAxB,EAAA,GAAAF,OAAA2B,OAAA,CAAAH,GAIA,QAAAqZ,KAHA3S,MAAAC,OAAA,CAAAjI,GAAAA,EAAA,CACAA,EACA,CAEA,SAAA2a,IACA,iBAAAA,GACAA,CAAAA,EAAAA,EAAAzS,QAAA,IAEA7G,EAAAgO,MAAA,CAAA7N,EAAAmZ,IAGA,OAAAtZ,CACA,EqCoEsDyC,EAAAC,OAAA,CAAA1C,OAAA,EACtDuZ,EAAA,IAAAxH,IAEA,IAAA0G,EACA,QAAAjB,KAA4BhM,EAAiB,CAC7C,IAAArL,EAAAqX,EAAA3Q,QAAA,GAAAxG,WAAA,GACA+Y,EAAAra,GAAA,CAAAoB,KAEAoZ,EAAAjP,GAAA,CAAAnK,EAAAiZ,EAAAra,GAAA,CAAAoB,IACAiZ,EAAAjL,MAAA,CAAAhO,GAEA,CAGA,IAAAuC,EAAA,IAAAqV,GAAA,CACAnY,KAAA6C,EAAA7C,IAAA,CAEAkF,MAAe0U,ChB1FR,SAAAlY,CAAA,CAAAmY,CAAA,EACP,IAAAC,EAAA,iBAAApY,EACAqY,EAAAD,EAAA,IAAAlY,IAAAF,GAAAA,EACA,QAAA2M,KAAApC,EACA8N,EAAA7R,YAAA,CAAAqG,MAAA,CAAAF,GAEA,GAAAwL,EACA,QAAAxL,KAAAnC,EACA6N,EAAA7R,YAAA,CAAAqG,MAAA,CAAAF,GAGA,OAAAyL,EAAAC,EAAA9S,QAAA,GAAA8S,CACA,GgB0EqGX,EAI7D,IAAAnS,QAAA,GACxC8B,KAAA,CACA8B,KAAAhI,EAAAC,OAAA,CAAA+H,IAAA,CACA1B,IAAAtG,EAAAC,OAAA,CAAAqG,GAAA,CACA/I,QAAAoZ,EACApQ,GAAAvG,EAAAC,OAAA,CAAAsG,EAAA,CACAQ,OAAA/G,EAAAC,OAAA,CAAA8G,MAAA,CACA1D,WAAArD,EAAAC,OAAA,CAAAoD,UAAA,CACA+D,OAAApH,EAAAC,OAAA,CAAAmH,MAAA,CAEA,GAKAsP,GACA1a,OAAAC,cAAA,CAAAgE,EAAA,YACAnD,WAAA,GACAZ,MAAA,EACA,GAEA,CAAAd,WAAA+b,kBAAA,EAAAnX,EAAAoX,gBAAA,EACAhc,CAAAA,WAAA+b,kBAAA,KAAAnX,EAAAoX,gBAAA,EACAC,OAAA,GACAC,WAAA,GACAC,YAAyB,GACzBC,oBAAiC,GACjCC,IAAiB,GACjBd,eAAA3W,EAAAC,OAAA,CAAA1C,OAAA,CACAma,gBAAA,QACAC,qBAAA,IACA,EACAC,QAAA,GACAC,OAAA,GACAC,cAAA,GACAC,eAAA,GACAC,QAAA,CACAvE,cAAA,gBACA,CACA,EAEA,EAAS,EAET,IAAAwE,EAAA,IAAsBlY,EAAc,CACpCE,QAAAA,EACA9C,KAAA6C,EAAA7C,IAAA,GAgCA,GAAAsC,CA5BAA,EAAA,MAAA+V,GAAAvV,EAAA,IAGA,gBADAD,EAAA7C,IAAA,EAAA6C,oBAAAA,EAAA7C,IAAA,CAEmB6V,KAAS3E,KAAA,CAASpT,EAAcid,OAAA,EACnDpH,SAAA,cAAwC7Q,EAAA8G,MAAA,EAAgB,EAAE9G,EAAAkG,OAAA,CAAAvF,QAAA,CAAyB,EACnF0Q,WAAA,CACA,cAAArR,EAAAkG,OAAA,CAAAvF,QAAA,CACA,cAAAX,EAAA8G,MAAA,CAEA,EAAa,IAAMuN,GAA0BtH,IAAA,CAAMmL,GAAmB,CACtE/E,IAAAnT,EACAuU,WAAA,CACAvH,gBAAA,IACA0I,EAAAlY,CACA,EAEA0V,aAAA,CAAAgD,MAAAA,EAAA,OAAAA,EAAA6B,OAAA,IACAvE,cAAA,iBACA2E,yBAAA,GACAC,sBAAA,EACA,CACA,CACA,EAAiB,IAAArY,EAAAsY,OAAA,CAAArY,EAAAgY,KAEjBjY,EAAAsY,OAAA,CAAArY,EAAAgY,GACK,GAEL,CAAAxY,CAAAA,aAAAsI,QAAA,EACA,mEAEAtI,GAAAkW,GACAlW,EAAAlC,OAAA,CAAAsK,GAAA,cAAA8N,GAOA,IAAAjN,EAAAjJ,MAAAA,EAAA,OAAAA,EAAAlC,OAAA,CAAAjB,GAAA,yBACA,GAAAmD,GAAAiJ,GAAA,CAAAsN,EAAA,CACA,IAAAuC,EAAA,IAA+BnW,EAAOsG,EAAA,CACtCzD,YAAA,GACA1H,QAAAyC,EAAAC,OAAA,CAAA1C,OAAA,CACA8F,WAAArD,EAAAC,OAAA,CAAAoD,UAAA,EAGAkV,CAAAA,EAAAtU,IAAA,GAAAhE,EAAAkG,OAAA,CAAAlC,IAAA,GACAsU,EAAA5U,OAAA,CAAAA,GAAA4U,EAAA5U,OAAA,CACAlE,EAAAlC,OAAA,CAAAsK,GAAA,wBAAA/I,OAAAyZ,KAOA,IAAAC,EAAmC5P,EAAa9J,OAAAyZ,GAAAzZ,OAAAyX,IAChDG,GAIAjX,EAAAlC,OAAA,CAAAsK,GAAA,oBAAA2Q,EAEA,CAKA,IAAAvR,EAAAxH,MAAAA,EAAA,OAAAA,EAAAlC,OAAA,CAAAjB,GAAA,aACA,GAAAmD,GAAAwH,GAAA,CAAA+O,EAAA,CACA,IAAAyC,EAAA,IAAgCrW,EAAO6E,EAAA,CACvChC,YAAA,GACA1H,QAAAyC,EAAAC,OAAA,CAAA1C,OAAA,CACA8F,WAAArD,EAAAC,OAAA,CAAAoD,UAAA,GAKA5D,EAAA,IAAAsI,SAAAtI,EAAAuI,IAAA,CAAAvI,GAEAgZ,EAAAxU,IAAA,GAAAhE,EAAAkG,OAAA,CAAAlC,IAAA,GACAwU,EAAA9U,OAAA,CAAAA,GAAA8U,EAAA9U,OAAA,CACAlE,EAAAlC,OAAA,CAAAsK,GAAA,YAAA/I,OAAA2Z,KAOA/B,IACAjX,EAAAlC,OAAA,CAAAmO,MAAA,aACAjM,EAAAlC,OAAA,CAAAsK,GAAA,qBAAsDe,EAAa9J,OAAA2Z,GAAA3Z,OAAAyX,KAEnE,CACA,IAAAmC,EAAAjZ,GAAgDqI,EAAYa,IAAA,GAE5DgQ,EAAAD,EAAAnb,OAAA,CAAAjB,GAAA,kCACAsc,EAAA,GACA,GAAAD,EAAA,CACA,QAAAjb,EAAAxB,EAAA,GAAA4a,EACA4B,EAAAnb,OAAA,CAAAsK,GAAA,yBAA8DnK,EAAI,EAAAxB,GAClE0c,EAAA/a,IAAA,CAAAH,EAEAkb,CAAAA,EAAApa,MAAA,IACAka,EAAAnb,OAAA,CAAAsK,GAAA,iCAAA8Q,EAAA,IAAAC,EAAA7W,IAAA,MAEA,CACA,OACAtC,SAAAiZ,EACA7Y,UAAAH,QAAAmZ,GAAA,CAAAZ,CAAA,CAAqC5Y,EAAe,EACpDyZ,aAAA7Y,EAAA6Y,YAAA,CAEA,cKxQO,eAAelP,GAAWwJ,CAAgB,EAC/C,IAAMnB,EAAMnK,EAAaa,IAAI,GAGvBoQ,EAAWC,CAAAA,EAAAA,GAAAA,sBAAAA,EAAuB,CAAE5F,IAAAA,EAAKnB,IAAAA,CAAI,GAMnD,OAFA,MAAM8G,EAASE,IAAI,CAACC,UAAU,GAEvBjH,CACT,QHfA,oBAAAkH,YAAAA,WIGA,IAAAC,GAAA,CACA,GAAOC,CAAI,EAEXf,GAAAc,GAAAxP,UAAA,EAAAwP,GAAAE,OAAA,CACAnc,GAAA,cACA,sBAAAmb,GACA,+BAAuCnb,GAAK,2DAE7B,SAAAoc,GAAAhX,CAAA,EACf,OAAWmT,GAAO,CAClB,GAAAnT,CAAA,CACApF,KAAAA,GACAmb,QAAAA,EACA,EACA,6BCjBA,IAoCAS,EApCAS,EAAAxd,OAAAC,cAAA,CACAwd,EAAAzd,OAAA0d,wBAAA,CACAC,EAAA3d,OAAA4d,mBAAA,CACAC,EAAA7d,OAAA8d,SAAA,CAAAC,cAAA,CAgBAC,EAAA,GACAC,CAhBA,CAAAzP,EAAAqO,KACA,QAAArN,KAAAqN,EACAW,EAAAhP,EAAAgB,EAAA,CAA8BlP,IAAAuc,CAAA,CAAArN,EAAA,CAAA1O,WAAA,IAC9B,GAaAkd,EAAA,CACAE,4BAAA,IAAAA,EACAC,4BAAA,IAAAA,EACAnB,uBAAA,IAAAA,EACAoB,+BAAA,IAAAA,EACAC,yBAAA,IAAAA,EACAC,wBAAA,IAAAA,EACAC,yBAAA,IAAAA,EACAC,yBAAA,IAAAA,EACAC,4BAAA,IAAAA,EACAC,2BAAA,IAAAA,CACA,GACAxgB,EAAAC,OAAA,CAhBAwgB,CARA,CAAAC,EAAAtP,EAAAuP,EAAAC,KACA,GAAAxP,GAAA,iBAAAA,GAAA,mBAAAA,EACA,QAAA5N,KAAAic,EAAArO,GACAuO,EAAA/N,IAAA,CAAA8O,EAAAld,IAAAA,IAAAmd,GACArB,EAAAoB,EAAAld,EAAA,CAA6BpB,IAAA,IAAAgP,CAAA,CAAA5N,EAAA,CAAAZ,WAAA,CAAAge,CAAAA,EAAArB,EAAAnO,EAAA5N,EAAA,GAAAod,EAAAhe,UAAA,GAE7B,OAAA8d,CACA,GACApB,EAAA,GAAoD,cAAkBtd,MAAA,KAgBtE8d,GAGA,IAAAe,EAAiClf,EAAQ,KAEzC,SAAAse,EAAA,CACAa,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACAC,YAAAA,EAAA,GACA,CAAE,EAAI,EACN,IAAAH,GAAA,CAAAC,EACA,YACA,gIAGA,IAAAG,EAAA,KACA,IAAAC,EACA,SAAAN,EAAAO,oBAAA,EAAAN,EAAAC,EAAA,CACA,GAAAzY,CAAA,CACA+Y,OAAA,CACA,GAAA/Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,CACAhe,QAAA,CACA,SAAA8d,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,SAAAF,EAAA9d,OAAA,CACA,qDACA,CACA,EACA0b,KAAA,CACAuC,WAAAN,MAAAA,EAAA,OAAAA,EAAA1P,IAAA,CACA+I,QAAA,IAAAwG,EAAAU,+BAAA,CAAAP,EACA,CACA,EACA,EACA,GAAAC,EAAA,CACA,IAAAO,EAAA3C,GAAAqC,UACA,oBAAAO,OACAD,GACA3C,GACAA,CAAAA,EAAA2C,CAAA,EACA3C,EACA,CACA,OAAAqC,GACA,CAGA,IAAAf,EAAAF,EAGAyB,EAAkC/f,EAAQ,KAC1CggB,EAA+BhgB,EAAQ,KACvCigB,EAAA,cAAAF,EAAAG,wBAAA,CACA7e,YAAAiR,CAAA,CAAA+M,CAAA,EACA,MAAAA,GACA,KAAA/M,OAAA,CAAAA,CACA,CACA6N,UAAAxQ,CAAA,EACA,IAAA6P,EAGA,MADAY,CADA,EAAAJ,EAAA/d,kBAAA,SAAAud,CAAAA,EAAA,KAAAlN,OAAA,CAAA8D,GAAA,CAAAiK,SAAA,uBAAAb,EAAAjX,QAAA,SAAA+X,GAAA,OAAAP,EAAAQ,YAAA,EAAAxO,EAAA,CAAApC,EAAA,EAAAN,IAAA,MAAA0C,IACA,KAAAO,OAAA,CAAAiF,GAAA,CAAA3V,OAAA,CAAA+N,EAAA,CAGAyQ,UAAAzQ,CAAA,CAAAtP,CAAA,EACA,KAAAmgB,UAAA,CAAA7Q,EAAAtP,EACA,CACAogB,aAAA9Q,CAAA,EACA,KAAA6Q,UAAA,CAAA7Q,EAAA,IACA+Q,OAAA,CACA,EACA,CACAF,WAAA7Q,CAAA,CAAAtP,CAAA,CAAAsG,CAAA,EACA,IAAA6Y,EACA,IAAAmB,EAAA,GAAAX,EAAA/d,kBAAA,EACA,OAAAud,CAAAA,EAAA,KAAAlN,OAAA,CAAA8D,GAAA,CAAAiK,SAAA,uBAAAb,EAAAjX,QAAA,SACAuJ,MAAA,KAAAnC,CAAAA,IAAA,GAAAoQ,EAAAQ,YAAA,EAAAxO,EAAA,GACA6O,EAAA,GAAAb,EAAAc,eAAA,EAAAlR,EAAAtP,EAAA,CACA,QAAAgf,aAAA,CACA,GAAA1Y,CAAA,CACAyR,SAAA,EACA,GACA,KAAA9F,OAAA,CAAA8D,GAAA,CAAA0C,SAAA,kBAAA6H,EAAAC,EAAA,CACA,CACA,EACA,SAAAnC,EAAAnM,CAAA,EACA6M,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EACN,IAAAG,EACA,IAAAL,GAAA,CAAAC,EACA,YACA,gIAGA,SAAAW,EAAAN,oBAAA,EAAAN,EAAAC,EAAA,CACA,GAAAzY,CAAA,CACA+Y,OAAA,CACA,GAAA/Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,CACAhe,QAAA,CACA,SAAA8d,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,SAAAF,EAAA9d,OAAA,CACA,qDACA,CACA,EACA0b,KAAA,CACAuC,WAAAN,MAAAA,EAAA,OAAAA,EAAA1P,IAAA,CACA+I,QAAA,IAAAuH,EAAA3N,EAAA+M,EACA,CACA,EACA,CAGA,IAAAyB,EAAkC9gB,EAAQ,KAC1C+gB,EAAgC/gB,EAAQ,KACxCghB,EAAA,cAAAF,EAAAZ,wBAAA,CACA7e,YAAAiR,CAAA,CAAA+M,CAAA,EACA,MAAAA,GACA,KAAA/M,OAAA,CAAAA,CACA,CACA6N,UAAAxQ,CAAA,EACA,IAAA6P,QAIA,CAHA,EAAAuB,EAAA9e,kBAAA,EACA,OAAAud,CAAAA,EAAA,KAAAlN,OAAA,CAAA8D,GAAA,CAAA1U,OAAA,CAAAjB,GAAA,uBAAA+e,EAAAjX,QAAA,SACA+X,GAAA,OAAAQ,EAAAP,YAAA,EAAAxO,EAAA,CAAApC,EAAA,EAAAN,IAAA,MAAA0C,IAKAnQ,CADA,EAAAkf,EAAAP,YAAA,OAAAjO,OAAA,CAAAiF,GAAA,CAAA7V,OAAA,CAAAjB,GAAA,eACA,CAAAkP,EAAA,CAEAyQ,UAAAzQ,CAAA,CAAAtP,CAAA,EACA,KAAAmgB,UAAA,CAAA7Q,EAAAtP,EACA,CACAogB,aAAA9Q,CAAA,EACA,KAAA6Q,UAAA,CAAA7Q,EAAA,IACA+Q,OAAA,CACA,EACA,CACAF,WAAA7Q,CAAA,CAAAtP,CAAA,CAAAsG,CAAA,EACA,IAAAsa,EAAA,GAAAH,EAAAD,eAAA,EAAAlR,EAAAtP,EAAA,CACA,QAAAgf,aAAA,CACA,GAAA1Y,CAAA,CACAyR,SAAA,EACA,EACA,MAAA9F,OAAA,CAAA8D,GAAA,CAAA1U,OAAA,GACA,KAAA4Q,OAAA,CAAA8D,GAAA,CAAA1U,OAAA,CAAAgO,MAAA,cAAAuR,GACA,KAAA3O,OAAA,CAAA8D,GAAA,CAAA1U,OAAA,CAAAgO,MAAA,UAAAuR,GAEA,CACA,EACA,SAAA9D,EAAA7K,CAAA,EACA6M,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EACN,IAAAG,EACA,IAAAL,GAAA,CAAAC,EACA,YACA,gIAGA,SAAA0B,EAAArB,oBAAA,EAAAN,EAAAC,EAAA,CACA,GAAAzY,CAAA,CACA+Y,OAAA,CACA,GAAA/Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,CACAhe,QAAA,CACA,SAAA8d,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,SAAAF,EAAA9d,OAAA,CACA,qDACA,CACA,EACA0b,KAAA,CACAuC,WAAAN,MAAAA,EAAA,OAAAA,EAAA1P,IAAA,CACA+I,QAAA,IAAAsI,EAAA1O,EAAA+M,EACA,CACA,EACA,CAGA,IAAA6B,EAAkClhB,EAAQ,KAC1CmhB,EAAA,cAAAD,EAAAhB,wBAAA,CACA7e,YAAAiR,CAAA,CAAA+M,CAAA,EACA,MAAAA,GACA,KAAA/M,OAAA,CAAAA,CACA,CACA6N,UAAAxQ,CAAA,EACA,IAAA6P,EAEA,aAAAA,CAAAA,EAAA4B,IADA,CAAA9O,OAAA,CAAA1Q,OAAA,GACAnB,GAAA,CAAAkP,EAAA,SAAA6P,EAAAnf,KAAA,CAEA+f,UAAAzQ,CAAA,CAAAtP,CAAA,EACA,CACAogB,aAAA9Q,CAAA,EACA,CACA,EACA,SAAAiP,EAAAtM,CAAA,EACA6M,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EACN,IAAAG,EACA,IAAAL,GAAA,CAAAC,EACA,YACA,gIAGA,SAAA8B,EAAAzB,oBAAA,EAAAN,EAAAC,EAAA,CACA,GAAAzY,CAAA,CACA+Y,OAAA,CACA,GAAA/Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,CACAhe,QAAA,CACA,SAAA8d,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,SAAAF,EAAA9d,OAAA,CACA,qDACA,CACA,EACA0b,KAAA,CACAuC,WAAAN,MAAAA,EAAA,OAAAA,EAAA1P,IAAA,CACA+I,QAAA,IAAAyI,EAAA7O,EAAA+M,EACA,CACA,EACA,CAGA,IAAAgC,EAAkCrhB,EAAQ,KAC1CshB,EAAA,cAAAD,EAAAnB,wBAAA,CACA7e,YAAAiR,CAAA,CAAA+M,CAAA,EACA,MAAAA,GACA,KAAA/M,OAAA,CAAAA,CACA,CACA6N,UAAAxQ,CAAA,EACA,IAAA6P,EAEA,aAAAA,CAAAA,EAAA4B,IADA,CAAA9O,OAAA,CAAA1Q,OAAA,GACAnB,GAAA,CAAAkP,EAAA,SAAA6P,EAAAnf,KAAA,CAEA+f,UAAAzQ,CAAA,CAAAtP,CAAA,EAEA+gB,IADA,CAAA9O,OAAA,CAAA1Q,OAAA,GACAoK,GAAA,CAAA2D,EAAAtP,EAAA,KAAAgf,aAAA,CACA,CACAoB,aAAA9Q,CAAA,EAEAyR,IADA,CAAA9O,OAAA,CAAA1Q,OAAA,GACAoK,GAAA,CAAA2D,EAAA,IACA+Q,OAAA,CACA,EACA,CACA,EACA,SAAAhC,EAAApM,CAAA,EACA6M,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EACN,IAAAG,EACA,IAAAL,GAAA,CAAAC,EACA,YACA,gIAGA,SAAAiC,EAAA5B,oBAAA,EAAAN,EAAAC,EAAA,CACA,GAAAzY,CAAA,CACA+Y,OAAA,CACA,GAAA/Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,CACAhe,QAAA,CACA,SAAA8d,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAA+Y,MAAA,SAAAF,EAAA9d,OAAA,CACA,qDACA,CACA,EACA0b,KAAA,CACAuC,WAAAN,MAAAA,EAAA,OAAAA,EAAA1P,IAAA,CACA+I,QAAA,IAAA4I,EAAAhP,EAAA+M,EACA,CACA,EACA,CAGA,IAAAV,EAAAD,EAGA,SAAAL,EAAA,CACAc,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EAIN,OAHAkC,QAAAC,IAAA,CACA,wMAEAhD,EAAA,CACAW,YAAAA,EACAC,YAAAA,EACAzY,QAAAA,EACA0Y,cAAAA,CACA,EACA,CACA,SAAAR,EAAAvM,CAAA,EACA6M,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EAIN,OAHAkC,QAAAC,IAAA,CACA,sMAEA/C,EAAAnM,EAAA,CACA6M,YAAAA,EACAC,YAAAA,EACAzY,QAAAA,EACA0Y,cAAAA,CACA,EACA,CACA,SAAAd,EAAAjM,CAAA,EACA6M,YAAAA,EAAgB,0CAAoC,CACpDC,YAAAA,EAAgB,kNAAyC,CACzDzY,QAAAA,CAAA,CACA0Y,cAAAA,CAAA,CACA,CAAE,EAAI,EAIN,OAHAkC,QAAAC,IAAA,CACA,8MAEArE,EAAA7K,EAAA,CACA6M,YAAAA,EACAC,YAAAA,EACAzY,QAAAA,EACA0Y,cAAAA,CACA,EACA,mHCzVA,IAAAoC,EAAAC,WANA,uBAAAtH,KAAuC,OAAAA,KACvC,uBAAA0F,OAAyC,OAAAA,OACzC,QAAqB,IAAN9f,EAAAC,CAAM,CAAoB,OAAOD,EAAAC,CAAM,OACtD,uCACA,IAIO,IAAA0hB,EAAAF,EAAAE,KAAA,CAEPC,EAAeH,EAAAE,KAAA,CAAA7S,IAAA,CAAA2S,GAER3V,EAAA2V,EAAA3V,OAAA,CACA1B,EAAAqX,EAAArX,OAAA,CACA8B,EAAAuV,EAAAvV,QAAA,mCCpBP,IAAA2V,EAAA,WAAAA,eAAA,WAAAtE,CAAA,EACA,UAAAA,EAAAuE,UAAA,CAAAvE,EAAA,CAA6C,QAAAA,CAAA,CAC7C,EACApd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAE/C,IAAA0hB,EAAAF,EAAqC7hB,EAAQ,MAC7CgiB,EAAAH,EAAyC7hB,EAAQ,KACjD,OAAAiiB,EACA5gB,YAAA6gB,CAAA,EACA,KAAAC,kBAAA,IACA,KAAAjX,MAAA,CAAAgX,EAAAhX,MAAA,CACA,KAAAlI,GAAA,CAAAkf,EAAAlf,GAAA,CACA,KAAAtB,OAAA,CAAAwgB,EAAAxgB,OAAA,CACA,KAAA0gB,MAAA,CAAAF,EAAAE,MAAA,CACA,KAAAjW,IAAA,CAAA+V,EAAA/V,IAAA,CACA,KAAAgW,kBAAA,CAAAD,EAAAC,kBAAA,CACA,KAAA5W,MAAA,CAAA2W,EAAA3W,MAAA,CACA,KAAA8W,aAAA,CAAAH,EAAAG,aAAA,CACAH,EAAAP,KAAA,CACA,KAAAA,KAAA,CAAAO,EAAAP,KAAA,CAEA,oBAAAA,MACA,KAAAA,KAAA,CAAAI,EAAAtE,OAAA,CAGA,KAAAkE,KAAA,CAAAA,KAEA,CAOAW,cAAA,CAEA,OADA,KAAAH,kBAAA,IACA,KAEArP,KAAAyP,CAAA,CAAAC,CAAA,EAEAvd,KAAAA,IAAA,KAAAmd,MAAA,GAGA,eAAA7Y,QAAA,MAAA2B,MAAA,EACA,KAAAxJ,OAAA,wBAAA0gB,MAAA,CAGA,KAAA1gB,OAAA,yBAAA0gB,MAAA,EAEA,aAAAlX,MAAA,gBAAAA,MAAA,EACA,MAAAxJ,OAAA,qCAKA,IAAA0U,EAAAqM,CADA,OAAAd,KAAA,EACA,KAAA3e,GAAA,CAAAuF,QAAA,IACA2C,OAAA,KAAAA,MAAA,CACAxJ,QAAA,KAAAA,OAAA,CACAyK,KAAAqO,KAAAkI,SAAA,MAAAvW,IAAA,EACAZ,OAAA,KAAAA,MAAA,GACSuH,IAAA,OAAAsD,IACT,IAAAoJ,EAAAmD,EAAAC,EACA,IAAAzf,EAAA,KACA0f,EAAA,KACAC,EAAA,KACAvW,EAAA6J,EAAA7J,MAAA,CACAC,EAAA4J,EAAA5J,UAAA,CACA,GAAA4J,EAAA/J,EAAA,EACA,iBAAAnB,MAAA,EACA,IAAAiB,EAAA,MAAAiK,EAAA2M,IAAA,EACA,MAAA5W,IAIA0W,EADA,kBAAAnhB,OAAA,QACAyK,EAEA,KAAAzK,OAAA,SACA,KAAAA,OAAA,QAAA6H,QAAA,oCACA4C,EAGAqO,KAAAC,KAAA,CAAAtO,GAEA,CACA,IAAA6W,EAAA,OAAAxD,CAAAA,EAAA,KAAA9d,OAAA,UAAA8d,KAAA,IAAAA,EAAA,OAAAA,EAAArJ,KAAA,oCACA8M,EAAA,OAAAN,CAAAA,EAAAvM,EAAA1U,OAAA,CAAAjB,GAAA,oBAAAkiB,KAAA,IAAAA,EAAA,OAAAA,EAAA7c,KAAA,MACAkd,GAAAC,GAAAA,EAAAtgB,MAAA,IACAmgB,CAAAA,EAAAI,SAAAD,CAAA,MAIA,KAAAZ,aAAA,eAAAnX,MAAA,EAAA7C,MAAAC,OAAA,CAAAua,KACAA,EAAAlgB,MAAA,IACAQ,EAAA,CAEAkQ,KAAA,WACA8P,QAAA,mBAAwDN,EAAAlgB,MAAA,wDAAa,EACrEygB,KAAA,KACAzjB,QAAA,uDACA,EACAkjB,EAAA,KACAC,EAAA,KACAvW,EAAA,IACAC,EAAA,kBAGAqW,EADAA,IAAAA,EAAAlgB,MAAA,CACAkgB,CAAA,IAGA,KAGA,KACA,CACA,IAAA1W,EAAA,MAAAiK,EAAA2M,IAAA,GACA,IACA5f,EAAAqX,KAAAC,KAAA,CAAAtO,GAEA9D,MAAAC,OAAA,CAAAnF,IAAAiT,MAAAA,EAAA7J,MAAA,GACAsW,EAAA,GACA1f,EAAA,KACAoJ,EAAA,IACAC,EAAA,KAEA,CACA,MAAA6W,EAAA,CAEAjN,MAAAA,EAAA7J,MAAA,EAAAJ,KAAAA,GACAI,EAAA,IACAC,EAAA,cAGArJ,EAAA,CACAxD,QAAAwM,CACA,CAEA,CAMA,GALAhJ,GAAA,KAAAkf,aAAA,UAAAO,CAAAA,EAAAzf,MAAAA,EAAA,OAAAA,EAAAggB,OAAA,GAAAP,KAAA,IAAAA,EAAA,OAAAA,EAAArZ,QAAA,cACApG,EAAA,KACAoJ,EAAA,IACAC,EAAA,MAEArJ,GAAA,KAAAgf,kBAAA,CACA,UAAAH,EAAAvE,OAAA,CAAAta,EAEA,CAQA,MAPA,CACAA,MAAAA,EACA0f,KAAAA,EACAC,MAAAA,EACAvW,OAAAA,EACAC,WAAAA,CACA,CAEA,GAkBA,OAjBA,KAAA2V,kBAAA,EACA/L,CAAAA,EAAAA,EAAAC,KAAA,KACA,IAAAmJ,EAAAmD,EAAAC,EACA,OACAzf,MAAA,CACAxD,QAAA,GAAoC,OAAA6f,CAAAA,EAAA8D,MAAAA,EAAA,OAAAA,EAAA3T,IAAA,GAAA6P,KAAA,IAAAA,EAAAA,EAAA,aAA6H,IAAI8D,MAAAA,EAAA,OAAAA,EAAA3jB,OAAA,CAA2E,EAChPwjB,QAAA,GAAoC,OAAAR,CAAAA,EAAAW,MAAAA,EAAA,OAAAA,EAAAC,KAAA,GAAAZ,KAAA,IAAAA,EAAAA,EAAA,GAAoH,EACxJS,KAAA,GACA/P,KAAA,GAAiC,OAAAuP,CAAAA,EAAAU,MAAAA,EAAA,OAAAA,EAAAjQ,IAAA,GAAAuP,KAAA,IAAAA,EAAAA,EAAA,GAAmH,GAEpJC,KAAA,KACAC,MAAA,KACAvW,OAAA,EACAC,WAAA,EACA,CACA,EAAa,EAEb4J,EAAAtD,IAAA,CAAAyP,EAAAC,EACA,CACA,CACAlkB,EAAA,OAAe,CAAA2jB,oCC/Kf,IAAAJ,EAAA,WAAAA,eAAA,WAAAtE,CAAA,EACA,UAAAA,EAAAuE,UAAA,CAAAvE,EAAA,CAA6C,QAAAA,CAAA,CAC7C,EACApd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C,IAAAmjB,EAAA3B,EAAgD7hB,EAAQ,MACxDyjB,EAAA5B,EAAiD7hB,EAAQ,MACzD0jB,EAAoB1jB,EAAQ,IAW5B,OAAA2jB,EAWAtiB,YAAA2B,CAAA,EAAuBtB,QAAAA,EAAA,EAAY,CAAA0gB,OAAAA,CAAA,CAAAT,MAAAA,CAAA,EAAmB,EAAI,EAC1D,KAAA3e,GAAA,CAAAA,EACA,KAAAtB,OAAA,CAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAqDF,EAAAG,eAAA,EAAAniB,GACrD,KAAAoiB,UAAA,CAAA1B,EACA,KAAAT,KAAA,CAAAA,CACA,CAMAlS,KAAAsU,CAAA,EACA,IAAA/gB,EAAA,IAAAE,IAAA,GAA+B,KAAAF,GAAA,CAAS,GAAG+gB,EAAS,GACpD,WAAAP,EAAA/F,OAAA,CAAAza,EAAA,CACAtB,QAAAvB,OAAAyjB,MAAA,IAAqC,KAAAliB,OAAA,EACrC0gB,OAAA,KAAA0B,UAAA,CACAnC,MAAA,KAAAA,KAAA,EAEA,CAQAS,OAAAA,CAAA,EACA,WAAAuB,EAAA,KAAA3gB,GAAA,EACAtB,QAAA,KAAAA,OAAA,CACA0gB,OAAAA,EACAT,MAAA,KAAAA,KAAA,EAEA,CAwBAqC,IAAAzP,CAAA,CAAAvT,EAAA,EAAqB,EAAIijB,KAAAA,EAAA,GAAAxjB,IAAAA,EAAA,GAAAqiB,MAAAA,CAAA,EAAoC,EAAI,MACjE5X,EAEAiB,EADA,IAAAnJ,EAAA,IAAAE,IAAA,GAA+B,KAAAF,GAAA,CAAS,OAAOuR,EAAG,EAElD0P,CAAAA,GAAAxjB,GACAyK,EAAA+Y,EAAA,aACA9jB,OAAA2B,OAAA,CAAAd,GAGA8Q,MAAA,GAAAoS,EAAA7jB,EAAA,GAAAA,KAAA4E,IAAA5E,GAEAigB,GAAA,GAAA3Q,EAAAtP,EAAA,IAAAsP,EAAAtH,MAAAC,OAAA,CAAAjI,GAAA,EAAwE,EAAEA,EAAA6F,IAAA,OAAiB,KAAO7F,EAAM,IACxGyP,OAAA,GAAAH,EAAAtP,EAAA,IACA2C,EAAAwG,YAAA,CAAAkG,MAAA,CAAAC,EAAAtP,EACA,KAGA6K,EAAA,OACAiB,EAAAnL,GAEA,IAAAU,EAAAvB,OAAAyjB,MAAA,IAAwC,KAAAliB,OAAA,EAIxC,OAHAohB,GACAphB,CAAAA,EAAA,gBAAyCohB,EAAM,GAE/C,IAAAW,EAAAhG,OAAA,EACAvS,OAAAA,EACAlI,IAAAA,EACAtB,QAAAA,EACA0gB,OAAA,KAAA0B,UAAA,CACA3X,KAAAA,EACAwV,MAAA,KAAAA,KAAA,CACAwC,WAAA,EACA,EACA,CACA,CACA7lB,EAAA,OAAe,CAAAqlB,4BCvHfxjB,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,IAC/C,OAAA+jB,UAAAhjB,MACAC,YAAAiR,CAAA,EACA,MAAAA,EAAA3S,OAAA,EACA,KAAAgQ,IAAA,kBACA,KAAAwT,OAAA,CAAA7Q,EAAA6Q,OAAA,CACA,KAAAC,IAAA,CAAA9Q,EAAA8Q,IAAA,CACA,KAAA/P,IAAA,CAAAf,EAAAe,IAAA,CAEA,CACA/U,EAAA,OAAe,CAAA8lB,oCCVf,IAAAvC,EAAA,WAAAA,eAAA,WAAAtE,CAAA,EACA,UAAAA,EAAAuE,UAAA,CAAAvE,EAAA,CAA6C,QAAAA,CAAA,CAC7C,EACApd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C,IAAAgkB,EAAAxC,EAAoD7hB,EAAQ,KAC5D,OAAAskB,UAAAD,EAAA5G,OAAA,CASA8G,GAAAC,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAmDnkB,EAAM,GACzD,KAQAokB,IAAAD,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDnkB,EAAM,GAC1D,KAQAqkB,GAAAF,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAmDnkB,EAAM,GACzD,KAQAskB,IAAAH,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDnkB,EAAM,GAC1D,KAQAukB,GAAAJ,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAmDnkB,EAAM,GACzD,KAQAwkB,IAAAL,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDnkB,EAAM,GAC1D,KAQAykB,KAAAN,CAAA,CAAAO,CAAA,EAEA,OADA,KAAA/hB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,QAAqDO,EAAQ,GAC7D,KAQAC,UAAAR,CAAA,CAAAS,CAAA,EAEA,OADA,KAAAjiB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,YAAyD,EAAES,EAAA/e,IAAA,OAAoB,GAC/E,KAQAgf,UAAAV,CAAA,CAAAS,CAAA,EAEA,OADA,KAAAjiB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,YAAyD,EAAES,EAAA/e,IAAA,OAAoB,GAC/E,KAQAif,MAAAX,CAAA,CAAAO,CAAA,EAEA,OADA,KAAA/hB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,SAAsDO,EAAQ,GAC9D,KAQAK,WAAAZ,CAAA,CAAAS,CAAA,EAEA,OADA,KAAAjiB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,aAA0D,EAAES,EAAA/e,IAAA,OAAoB,GAChF,KAQAmf,WAAAb,CAAA,CAAAS,CAAA,EAEA,OADA,KAAAjiB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,aAA0D,EAAES,EAAA/e,IAAA,OAAoB,GAChF,KAcAof,GAAAd,CAAA,CAAAnkB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAmDnkB,EAAM,GACzD,KAQAklB,GAAAf,CAAA,CAAAtU,CAAA,EACA,IAAAsV,EAAAnd,MAAAoH,IAAA,KAAA9D,IAAAuE,IACAoQ,GAAA,IAGA,iBAAAmF,GAAA,gBAAA7iB,IAAA,CAAA6iB,GACA,IAA2BA,EAAE,GAE7B,GAA0BA,EAAE,GAE5Bvf,IAAA,MAEA,OADA,KAAAlD,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDgB,EAAc,IAClE,KASAE,SAAAlB,CAAA,CAAAnkB,CAAA,EAcA,MAbA,iBAAAA,EAGA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAuDnkB,EAAM,GAE7DgI,MAAAC,OAAA,CAAAjI,GAEA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,KAAsD,EAAEnkB,EAAA6F,IAAA,OAAiB,GAIzE,KAAAlD,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAuDhK,KAAAkI,SAAA,CAAAriB,GAAsB,GAE7E,KASAslB,YAAAnB,CAAA,CAAAnkB,CAAA,EAaA,MAZA,iBAAAA,EAEA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAuDnkB,EAAM,GAE7DgI,MAAAC,OAAA,CAAAjI,GAEA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,KAAsD,EAAEnkB,EAAA6F,IAAA,OAAiB,GAIzE,KAAAlD,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAuDhK,KAAAkI,SAAA,CAAAriB,GAAsB,GAE7E,KASAulB,QAAApB,CAAA,CAAAqB,CAAA,EAEA,OADA,KAAA7iB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAmDqB,EAAM,GACzD,KAUAC,SAAAtB,CAAA,CAAAqB,CAAA,EAEA,OADA,KAAA7iB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDqB,EAAM,GAC1D,KASAE,QAAAvB,CAAA,CAAAqB,CAAA,EAEA,OADA,KAAA7iB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAmDqB,EAAM,GACzD,KAUAG,SAAAxB,CAAA,CAAAqB,CAAA,EAEA,OADA,KAAA7iB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDqB,EAAM,GAC1D,KAUAI,cAAAzB,CAAA,CAAAqB,CAAA,EAEA,OADA,KAAA7iB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDqB,EAAM,GAC1D,KASAK,SAAA1B,CAAA,CAAAnkB,CAAA,EASA,MARA,iBAAAA,EAEA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAuDnkB,EAAM,GAI7D,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,KAAsD,EAAEnkB,EAAA6F,IAAA,OAAiB,GAEzE,KAYAigB,WAAA3B,CAAA,CAAAxf,CAAA,EAAgCohB,OAAAA,CAAA,CAAA3Z,KAAAA,CAAA,EAAe,EAAI,EACnD,IAAA4Z,EAAA,EACA5Z,CAAA,UAAAA,EACA4Z,EAAA,KAEA5Z,WAAAA,EACA4Z,EAAA,KAEA,cAAA5Z,GACA4Z,CAAAA,EAAA,KAEA,IAAAC,EAAAF,KAAAnhB,IAAAmhB,EAAA,OAA2DA,EAAO,GAElE,OADA,KAAApjB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,GAAgD6B,EAAS,KAAKC,EAAW,GAAGthB,EAAM,GAClF,KASAmR,MAAAnR,CAAA,EAIA,OAHA7E,OAAA2B,OAAA,CAAAkD,GAAA8K,OAAA,GAAA0U,EAAAnkB,EAAA,IACA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,MAAuDnkB,EAAM,EAC7D,GACA,KAeAkmB,IAAA/B,CAAA,CAAAgC,CAAA,CAAAnmB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,OAAoDgC,EAAS,GAAGnmB,EAAM,GACtE,KAiBAomB,GAAAC,CAAA,EAAkBC,aAAAA,CAAA,CAAAC,gBAAAA,EAAAD,CAAA,EAAgD,EAAI,EACtE,IAAA9kB,EAAA+kB,EAAA,GAAyCA,EAAgB,UAEzD,OADA,KAAA5jB,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA7N,EAAA,IAA8C6kB,EAAQ,IACtD,KAeA5U,OAAA0S,CAAA,CAAAgC,CAAA,CAAAnmB,CAAA,EAEA,OADA,KAAA2C,GAAA,CAAAwG,YAAA,CAAAkG,MAAA,CAAA8U,EAAA,GAAgDgC,EAAS,GAAGnmB,EAAM,GAClE,KAEA,CACA/B,EAAA,OAAe,CAAAgmB,oCC1Xf,IAAAzC,EAAA,WAAAA,eAAA,WAAAtE,CAAA,EACA,UAAAA,EAAAuE,UAAA,CAAAvE,EAAA,CAA6C,QAAAA,CAAA,CAC7C,EACApd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C,IAAAojB,EAAA5B,EAAiD7hB,EAAQ,KACzD,OAAA6mB,EACAxlB,YAAA2B,CAAA,EAAuBtB,QAAAA,EAAA,EAAY,CAAA0gB,OAAAA,CAAA,CAAAT,MAAAA,CAAA,CAAkB,EACrD,KAAA3e,GAAA,CAAAA,EACA,KAAAtB,OAAA,CAAAA,EACA,KAAA0gB,MAAA,CAAAA,EACA,KAAAT,KAAA,CAAAA,CACA,CAsBAmF,OAAAC,CAAA,EAAsB9C,KAAAA,EAAA,GAAAnB,MAAAA,CAAA,EAAuB,EAAI,EAGjD,IAAAkE,EAAA,GACAC,EAAA,CAAAF,MAAAA,EAAAA,EAAA,KACAjhB,KAAA,KACAwa,GAAA,IACA,KAAA1d,IAAA,CAAAmP,IAAA,CAAAiV,EACA,IAEA,MAAAjV,GACAiV,CAAAA,EAAA,CAAAA,CAAA,EAEAjV,IAEA7L,IAAA,KAKA,OAJA,KAAAlD,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,UAAAib,GACAnE,GACA,MAAAphB,OAAA,iBAA8CohB,EAAM,GAEpD,IAAAW,EAAAhG,OAAA,EACAvS,OApBA+Y,EAAA,aAqBAjhB,IAAA,KAAAA,GAAA,CACAtB,QAAA,KAAAA,OAAA,CACA0gB,OAAA,KAAAA,MAAA,CACAT,MAAA,KAAAA,KAAA,CACAwC,WAAA,EACA,EACA,CA2BA+C,OAAAhX,CAAA,EAAqB4S,MAAAA,CAAA,CAAAqE,cAAAA,EAAA,IAA+B,EAAI,EAExD,IAAAC,EAAA,GAWA,GAVA,KAAA1lB,OAAA,SACA0lB,EAAAplB,IAAA,MAAAN,OAAA,SAEAohB,GACAsE,EAAAplB,IAAA,UAAyC8gB,EAAM,GAE/CqE,GACAC,EAAAplB,IAAA,oBAEA,KAAAN,OAAA,QAAA0lB,EAAAlhB,IAAA,MACAmC,MAAAC,OAAA,CAAA4H,GAAA,CACA,IAAA6W,EAAA7W,EAAAmX,MAAA,EAAAC,EAAAC,IAAAD,EAAAE,MAAA,CAAArnB,OAAA4L,IAAA,CAAAwb,IAAA,IACA,GAAAR,EAAApkB,MAAA,IACA,IAAA8kB,EAAA,QAAA9b,IAAAob,GAAA,CAAAzG,GAAA,QAAgFkE,EAAO,IACvF,KAAAxhB,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,WAAAyb,EAAAvhB,IAAA,MACA,CACA,CACA,WAAAud,EAAAhG,OAAA,EACAvS,OApBA,OAqBAlI,IAAA,KAAAA,GAAA,CACAtB,QAAA,KAAAA,OAAA,CACA0gB,OAAA,KAAAA,MAAA,CACAjW,KAAA+D,EACAyR,MAAA,KAAAA,KAAA,CACAwC,WAAA,EACA,EACA,CAuCAuD,OAAAxX,CAAA,EAAqByX,WAAAA,CAAA,CAAAC,iBAAAA,EAAA,GAAA9E,MAAAA,CAAA,CAAAqE,cAAAA,EAAA,IAAqE,EAAI,EAE9F,IAAAC,EAAA,eAA8CQ,EAAA,iBAAsC,cAapF,GAZA3iB,KAAAA,IAAA0iB,GACA,KAAA3kB,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,eAAA2b,GACA,KAAAjmB,OAAA,SACA0lB,EAAAplB,IAAA,MAAAN,OAAA,SAEAohB,GACAsE,EAAAplB,IAAA,UAAyC8gB,EAAM,GAE/CqE,GACAC,EAAAplB,IAAA,oBAEA,KAAAN,OAAA,QAAA0lB,EAAAlhB,IAAA,MACAmC,MAAAC,OAAA,CAAA4H,GAAA,CACA,IAAA6W,EAAA7W,EAAAmX,MAAA,EAAAC,EAAAC,IAAAD,EAAAE,MAAA,CAAArnB,OAAA4L,IAAA,CAAAwb,IAAA,IACA,GAAAR,EAAApkB,MAAA,IACA,IAAA8kB,EAAA,QAAA9b,IAAAob,GAAA,CAAAzG,GAAA,QAAgFkE,EAAO,IACvF,KAAAxhB,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,WAAAyb,EAAAvhB,IAAA,MACA,CACA,CACA,WAAAud,EAAAhG,OAAA,EACAvS,OAtBA,OAuBAlI,IAAA,KAAAA,GAAA,CACAtB,QAAA,KAAAA,OAAA,CACA0gB,OAAA,KAAAA,MAAA,CACAjW,KAAA+D,EACAyR,MAAA,KAAAA,KAAA,CACAwC,WAAA,EACA,EACA,CAsBA0D,OAAA3X,CAAA,EAAqB4S,MAAAA,CAAA,EAAS,EAAI,EAElC,IAAAsE,EAAA,GAQA,OAPA,KAAA1lB,OAAA,SACA0lB,EAAAplB,IAAA,MAAAN,OAAA,SAEAohB,GACAsE,EAAAplB,IAAA,UAAyC8gB,EAAM,GAE/C,KAAAphB,OAAA,QAAA0lB,EAAAlhB,IAAA,MACA,IAAAud,EAAAhG,OAAA,EACAvS,OAVA,QAWAlI,IAAA,KAAAA,GAAA,CACAtB,QAAA,KAAAA,OAAA,CACA0gB,OAAA,KAAAA,MAAA,CACAjW,KAAA+D,EACAyR,MAAA,KAAAA,KAAA,CACAwC,WAAA,EACA,EACA,CAoBAtU,OAAA,CAAaiT,MAAAA,CAAA,EAAS,EAAI,EAE1B,IAAAsE,EAAA,GAQA,OAPAtE,GACAsE,EAAAplB,IAAA,UAAyC8gB,EAAM,GAE/C,KAAAphB,OAAA,SACA0lB,EAAAU,OAAA,MAAApmB,OAAA,SAEA,KAAAA,OAAA,QAAA0lB,EAAAlhB,IAAA,MACA,IAAAud,EAAAhG,OAAA,EACAvS,OAVA,SAWAlI,IAAA,KAAAA,GAAA,CACAtB,QAAA,KAAAA,OAAA,CACA0gB,OAAA,KAAAA,MAAA,CACAT,MAAA,KAAAA,KAAA,CACAwC,WAAA,EACA,EACA,CACA,CACA7lB,EAAA,OAAe,CAAAuoB,oCC5Qf,IAAAhF,EAAA,WAAAA,eAAA,WAAAtE,CAAA,EACA,UAAAA,EAAAuE,UAAA,CAAAvE,EAAA,CAA6C,QAAAA,CAAA,CAC7C,EACApd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C,IAAA0nB,EAAAlG,EAA2C7hB,EAAQ,KACnD,OAAAgoB,UAAAD,EAAAtK,OAAA,CAUAqJ,OAAAC,CAAA,EAEA,IAAAC,EAAA,GACAC,EAAA,CAAAF,MAAAA,EAAAA,EAAA,KACAjhB,KAAA,KACAwa,GAAA,IACA,KAAA1d,IAAA,CAAAmP,IAAA,CAAAiV,EACA,IAEA,MAAAjV,GACAiV,CAAAA,EAAA,CAAAA,CAAA,EAEAjV,IAEA7L,IAAA,KAMA,OALA,KAAAlD,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,UAAAib,GACA,KAAAvlB,OAAA,SACA,MAAAA,OAAA,cAEA,KAAAA,OAAA,iCACA,KAoBAumB,MAAAzD,CAAA,EAAoB0D,UAAAA,EAAA,GAAAC,WAAAA,CAAA,CAAAxB,aAAAA,CAAA,CAAAC,gBAAAA,EAAAD,CAAA,EAA8E,EAAI,EACtG,IAAA9kB,EAAA+kB,EAAA,GAAyCA,EAAgB,gBACzDwB,EAAA,KAAAplB,GAAA,CAAAwG,YAAA,CAAA/I,GAAA,CAAAoB,GAEA,OADA,KAAAmB,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,CAAAnK,EAAA,GAA0CumB,EAAA,GAAmBA,EAAc,MAAQ,EAAE5D,EAAO,GAAG0D,EAAA,aAA2B,EAAEC,KAAAljB,IAAAkjB,EAAA,GAAAA,EAAA,2BAA0E,GACtM,KAYAE,MAAAvF,CAAA,EAAmB6D,aAAAA,CAAA,CAAAC,gBAAAA,EAAAD,CAAA,EAAgD,EAAI,EACvE,IAAA9kB,EAAA,SAAA+kB,EAAA,WAA0EA,EAAgB,QAE1F,OADA,KAAA5jB,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,CAAAnK,EAAA,GAA0CihB,EAAM,GAChD,KAiBA+C,MAAApW,CAAA,CAAAsP,CAAA,EAAsB4H,aAAAA,CAAA,CAAAC,gBAAAA,EAAAD,CAAA,EAAgD,EAAI,EAC1E,IAAA2B,EAAA,SAAA1B,EAAA,YAAiFA,EAAgB,SACjG2B,EAAA,SAAA3B,EAAA,WAA+EA,EAAgB,QAI/F,OAHA,KAAA5jB,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,CAAAsc,EAAA,GAAgD7Y,EAAK,GAErD,KAAAzM,GAAA,CAAAwG,YAAA,CAAAwC,GAAA,CAAAuc,EAAA,GAA+CxJ,EAAAtP,EAAA,EAAc,GAC7D,KAOA+Y,YAAAjd,CAAA,EAEA,OADA,KAAAA,MAAA,CAAAA,EACA,KAQAkd,QAAA,CAEA,OADA,KAAA/mB,OAAA,4CACA,KAQAgnB,aAAA,CAUA,MAPA,aAAAxd,MAAA,CACA,KAAAxJ,OAAA,2BAGA,KAAAA,OAAA,4CAEA,KAAA2gB,aAAA,IACA,KAKAsG,KAAA,CAEA,OADA,KAAAjnB,OAAA,mBACA,KAKAknB,SAAA,CAEA,OADA,KAAAlnB,OAAA,+BACA,KA2BAmnB,QAAA,CAAchiB,QAAAA,EAAA,GAAAiiB,QAAAA,EAAA,GAAAC,SAAAA,EAAA,GAAAC,QAAAA,EAAA,GAAAC,IAAAA,EAAA,GAAAC,OAAAA,EAAA,QAAqG,EAAI,EACvH,IAAA1J,EACA,IAAA7Y,EAAA,CACAE,EAAA,eACAiiB,EAAA,eACAC,EAAA,gBACAC,EAAA,eACAC,EAAA,WACA,CACAnX,MAAA,CAAAkG,SACA9R,IAAA,MAEAijB,EAAA,OAAA3J,CAAAA,EAAA,KAAA9d,OAAA,UAAA8d,KAAA,IAAAA,EAAAA,EAAA,0BACA,KAAA9d,OAAA,sCAA+DwnB,EAAA,OAAS,EAAOC,EAAa,WAAG,EAAUxiB,EAAA,CAAS,EAElH,KASAyiB,UAAA,CACA,IAAA5J,EAOA,MANA,QAAAA,CAAAA,EAAA,KAAA9d,OAAA,UAAA8d,KAAA,IAAAA,EAAAA,EAAA,IAAA6J,IAAA,GAAA1mB,MAAA,GACA,KAAAjB,OAAA,wBAGA,KAAAA,OAAA,sBAEA,KAOA4nB,SAAA,CACA,YAEA,CACAhrB,EAAA,OAAe,CAAA0pB,8BC1Nf7nB,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C/B,EAAAulB,eAAuB,QACvB,IAAA0F,EAAkBvpB,EAAQ,GAC1B1B,CAAAA,EAAAulB,eAAuB,EAAK,gCAAiC0F,EAAAxN,OAAA,CAAkB,oCCH/E,IAAA8F,EAAA,WAAAA,eAAA,WAAAtE,CAAA,EACA,UAAAA,EAAAuE,UAAA,CAAAvE,EAAA,CAA6C,QAAAA,CAAA,CAC7C,EACApd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C/B,EAAA2jB,gBAAwB,CAAG3jB,EAAA0pB,yBAAiC,CAAG1pB,EAAAgmB,sBAA8B,CAAGhmB,EAAAuoB,qBAA6B,CAAGvoB,EAAAqlB,eAAuB,QAEvJ,IAAA6F,EAAA3H,EAA0C7hB,EAAQ,KAClD1B,CAAAA,EAAAqlB,eAAuB,CAAA6F,EAAA/L,OAAA,CACvB,IAAA+F,EAAA3B,EAAgD7hB,EAAQ,KACxD1B,CAAAA,EAAAuoB,qBAA6B,CAAArD,EAAA/F,OAAA,CAC7B,IAAAgG,EAAA5B,EAAiD7hB,EAAQ,KACzD1B,CAAAA,EAAAgmB,sBAA8B,CAAAb,EAAAhG,OAAA,CAC9B,IAAA4G,EAAAxC,EAAoD7hB,EAAQ,KAC5D1B,CAAAA,EAAA0pB,yBAAiC,CAAA3D,EAAA5G,OAAA,CACjC,IAAAsK,EAAAlG,EAA2C7hB,EAAQ,KACnD1B,CAAAA,EAAA2jB,gBAAwB,CAAA8F,EAAAtK,OAAA,CACxBnf,EAAA,OAAe,EACfqlB,gBAAA6F,EAAA/L,OAAA,CACAoJ,sBAAArD,EAAA/F,OAAA,CACA6G,uBAAAb,EAAAhG,OAAA,CACAuK,0BAAA3D,EAAA5G,OAAA,CACAwE,iBAAA8F,EAAAtK,OAAA,2BCrBAtd,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAAE+B,MAAA,KAC/C/B,EAAAyd,OAAe,QACfzd,EAAAyd,OAAe,yCCFf,IAAA4B,EAAAxd,OAAAC,cAAA,CACAwd,EAAAzd,OAAA0d,wBAAA,CACAC,EAAA3d,OAAA4d,mBAAA,CACAC,EAAA7d,OAAA8d,SAAA,CAAAC,cAAA,CAgBAC,EAAA,GAWA,SAAAsL,EAAA1X,CAAA,EACA,IAAAyN,EACA,IAAAkK,EAAA,CACA,SAAA3X,GAAAA,EAAArN,IAAA,UAAqCqN,EAAArN,IAAA,CAAO,EAC5C,YAAAqN,GAAAA,CAAAA,EAAAwG,OAAA,EAAAxG,IAAAA,EAAAwG,OAAA,cAAmE,kBAAAxG,EAAAwG,OAAA,KAAAC,KAAAzG,EAAAwG,OAAA,EAAAxG,EAAAwG,OAAA,EAAAoR,WAAA,GAAgF,EACnJ,WAAA5X,GAAA,iBAAAA,EAAA2O,MAAA,aAAgE3O,EAAA2O,MAAA,CAAS,EACzE,WAAA3O,GAAAA,EAAAlJ,MAAA,YAA2CkJ,EAAAlJ,MAAA,CAAS,EACpD,WAAAkJ,GAAAA,EAAAuG,MAAA,WACA,aAAAvG,GAAAA,EAAAqG,QAAA,aACA,aAAArG,GAAAA,EAAAsG,QAAA,cAAiDtG,EAAAsG,QAAA,CAAW,EAC5D,gBAAAtG,GAAAA,EAAA6X,WAAA,gBACA,aAAA7X,GAAAA,EAAA8X,QAAA,cAAiD9X,EAAA8X,QAAA,CAAW,EAC5D,CAAA/X,MAAA,CAAAkG,SACA8R,EAAA,GAAyB/X,EAAApC,IAAA,CAAO,GAAGoa,mBAAA,MAAAvK,CAAAA,EAAAzN,EAAA1R,KAAA,EAAAmf,EAAA,IAAqD,EACxF,OAAAkK,IAAAA,EAAA/mB,MAAA,CAAAmnB,EAAA,GAA+CA,EAAA,EAAc,EAAEJ,EAAAxjB,IAAA,OAAiB,EAEhF,SAAA8jB,EAAA1Y,CAAA,EACA,IAAAgP,EAAA,IAAA7M,IACA,QAAAwW,KAAA3Y,EAAAxL,KAAA,QAAqC,CACrC,IAAAmkB,EACA,SACA,IAAAC,EAAAD,EAAArlB,OAAA,MACA,GAAAslB,KAAAA,EAAA,CACA5J,EAAAtU,GAAA,CAAAie,EAAA,QACA,QACA,CACA,IAAApoB,EAAAxB,EAAA,EAAA4pB,EAAA9kB,KAAA,GAAA+kB,GAAAD,EAAA9kB,KAAA,CAAA+kB,EAAA,IACA,IACA5J,EAAAtU,GAAA,CAAAnK,EAAAsoB,mBAAA9pB,MAAAA,EAAAA,EAAA,QACA,CAAM,MACN,CACA,CACA,OAAAigB,CACA,CACA,SAAA8J,EAAAhK,CAAA,MA2CAiK,EAKAA,EA/CA,IAAAjK,EACA,OAEA,KAAAzQ,EAAAtP,EAAA,IAAAoV,EAAA,CAAAuU,EAAA5J,GACA,CACAvX,OAAAA,CAAA,CACA0P,QAAAA,CAAA,CACA+R,SAAAA,CAAA,CACAC,OAAAA,CAAA,CACA7lB,KAAAA,CAAA,CACA8lB,SAAAA,CAAA,CACAlS,OAAAA,CAAA,CACAsR,YAAAA,CAAA,CACAC,SAAAA,CAAA,CACA,CAAI1pB,OAAA4K,WAAA,CACJ0K,EAAA6K,GAAA,GAAAze,EAAA4oB,EAAA,IAAA5oB,EAAAE,WAAA,GAAA0oB,EAAA,GAeA,OAAAC,SAEAC,CAAA,EACA,IAAAC,EAAA,GACA,QAAA/oB,KAAA8oB,EACAA,CAAA,CAAA9oB,EAAA,EACA+oB,CAAAA,CAAA,CAAA/oB,EAAA,CAAA8oB,CAAA,CAAA9oB,EAAA,EAGA,OAAA+oB,CACA,EAvBA,CACAjb,KAAAA,EACAtP,MAAA8pB,mBAAA9pB,GACAwI,OAAAA,EACA,GAAA0P,GAAA,CAAoBA,QAAA,IAAAC,KAAAD,EAAA,CAA4B,CAChD,GAAA+R,GAAA,CAAqBlS,SAAA,GAAgB,CACrC,oBAAAmS,GAAA,CAAuC7J,OAAAmK,OAAAN,EAAA,CAAwB,CAC/D7lB,KAAAA,EACA,GAAA8lB,GAAA,CAAqBnS,SAmBrByS,EAAAvhB,QAAA,CADA8gB,EAAAA,CADAA,EAjBqBG,GAkBrBzoB,WAAA,IACAsoB,EAAA,MAnBqB,CAAmC,CACxD,GAAA/R,GAAA,CAAmBA,OAAA,GAAc,CACjC,GAAAuR,GAAA,CAAqBA,SAsBrBkB,EAAAxhB,QAAA,CADA8gB,EAAAA,CADAA,EApBqBR,GAqBrB9nB,WAAA,IACAsoB,EAAA,MAtBqB,CAAmC,CACxD,GAAAT,GAAA,CAAwBA,YAAA,KAGxB,CA5EAxL,CAhBA,CAAAzP,EAAAqO,KACA,QAAArN,KAAAqN,EACAW,EAAAhP,EAAAgB,EAAA,CAA8BlP,IAAAuc,CAAA,CAAArN,EAAA,CAAA1O,WAAA,IAC9B,GAaAkd,EAAA,CACA3T,eAAA,IAAAA,EACA4B,gBAAA,IAAAA,EACA4d,YAAA,IAAAA,EACAI,eAAA,IAAAA,EACAX,gBAAA,IAAAA,CACA,GACAprB,EAAAC,OAAA,CAXAwgB,CARA,CAAAC,EAAAtP,EAAAuP,EAAAC,KACA,GAAAxP,GAAA,iBAAAA,GAAA,mBAAAA,EACA,QAAA5N,KAAAic,EAAArO,GACAuO,EAAA/N,IAAA,CAAA8O,EAAAld,IAAAA,IAAAmd,GACArB,EAAAoB,EAAAld,EAAA,CAA6BpB,IAAA,IAAAgP,CAAA,CAAA5N,EAAA,CAAAZ,WAAA,CAAAge,CAAAA,EAAArB,EAAAnO,EAAA5N,EAAA,GAAAod,EAAAhe,UAAA,GAE7B,OAAA8d,CACA,GACApB,EAAA,GAAoD,cAAkBtd,MAAA,KAWtE8d,GA+EA,IAAA2M,EAAA,wBAKAC,EAAA,wBA0DAvgB,EAAA,MACAnJ,YAAAyZ,CAAA,EAEA,KAAAkQ,OAAA,KAAAvX,IACA,KAAAwX,QAAA,CAAAnQ,EACA,IAAAoQ,EAAApQ,EAAAra,GAAA,WACA,GAAAyqB,EAEA,QAAAvb,EAAAtP,EAAA,GADA2pB,EAAAkB,GAEA,KAAAF,OAAA,CAAAhf,GAAA,CAAA2D,EAAA,CAAiCA,KAAAA,EAAAtP,MAAAA,CAAA,EAGjC,CACA,CAAAiD,OAAA6M,QAAA,IACA,YAAA6a,OAAA,CAAA1nB,OAAA6M,QAAA,GACA,CAIA,IAAAgb,MAAA,CACA,YAAAH,OAAA,CAAAG,IAAA,CAEA1qB,IAAA,GAAAO,CAAA,EACA,IAAA2O,EAAA,iBAAA3O,CAAA,IAAAA,CAAA,IAAAA,CAAA,IAAA2O,IAAA,CACA,YAAAqb,OAAA,CAAAvqB,GAAA,CAAAkP,EACA,CACA4B,OAAA,GAAAvQ,CAAA,EACA,IAAAwe,EACA,IAAAxC,EAAA3U,MAAAoH,IAAA,MAAAub,OAAA,EACA,IAAAhqB,EAAA2B,MAAA,CACA,OAAAqa,EAAAsD,GAAA,GAAA4D,EAAA7jB,EAAA,GAAAA,GAEA,IAAAsP,EAAA,iBAAA3O,CAAA,IAAAA,CAAA,UAAAwe,CAAAA,EAAAxe,CAAA,YAAAwe,EAAA7P,IAAA,CACA,OAAAqN,EAAAlL,MAAA,GAAAsZ,EAAA,GAAAA,IAAAzb,GAAA2Q,GAAA,GAAA4D,EAAA7jB,EAAA,GAAAA,EACA,CACAsM,IAAAgD,CAAA,EACA,YAAAqb,OAAA,CAAAre,GAAA,CAAAgD,EACA,CACA3D,IAAA,GAAAhL,CAAA,EACA,IAAA2O,EAAAtP,EAAA,CAAAW,IAAAA,EAAA2B,MAAA,EAAA3B,CAAA,IAAA2O,IAAA,CAAA3O,CAAA,IAAAX,KAAA,EAAAW,EACAsf,EAAA,KAAA0K,OAAA,CAMA,OALA1K,EAAAtU,GAAA,CAAA2D,EAAA,CAAoBA,KAAAA,EAAAtP,MAAAA,CAAA,GACpB,KAAA4qB,QAAA,CAAAjf,GAAA,CACA,SACA3D,MAAAoH,IAAA,CAAA6Q,GAAAA,GAAA,GAAA4D,EAAAuG,EAAA,GAAAhB,EAAAgB,IAAAvkB,IAAA,QAEA,KAKA2J,OAAAwb,CAAA,EACA,IAAA/K,EAAA,KAAA0K,OAAA,CACA3jB,EAAA,MAAAiB,OAAA,CAAA+iB,GAAAA,EAAA/K,GAAA,IAAAA,EAAAzQ,MAAA,CAAAF,IAAA2Q,EAAAzQ,MAAA,CAAAwb,GAKA,OAJA,KAAAJ,QAAA,CAAAjf,GAAA,CACA,SACA3D,MAAAoH,IAAA,CAAA6Q,GAAAA,GAAA,GAAA4D,EAAA7jB,EAAA,GAAAopB,EAAAppB,IAAA6F,IAAA,QAEAmB,CACA,CAIAikB,OAAA,CAEA,OADA,KAAAzb,MAAA,CAAAxH,MAAAoH,IAAA,MAAAub,OAAA,CAAAjf,IAAA,KACA,KAKA,CAAAzI,OAAA0G,GAAA,mCACA,wBAA6BwQ,KAAAkI,SAAA,CAAAviB,OAAA4K,WAAA,MAAAigB,OAAA,GAAiD,EAE9EziB,UAAA,CACA,eAAAyiB,OAAA,CAAA9a,MAAA,IAAAoQ,GAAA,OAAoDtF,EAAArL,IAAA,CAAO,GAAGoa,mBAAA/O,EAAA3a,KAAA,EAA4B,GAAA6F,IAAA,MAC1F,CACA,EAGAkG,EAAA,MACA/K,YAAAkqB,CAAA,MAGA/L,EAAAmD,EAAAC,CADA,MAAAoI,OAAA,KAAAvX,IAEA,KAAAwX,QAAA,CAAAM,EACA,IAAAnL,EAAA,MAAAwC,CAAAA,EAAA,MAAAD,CAAAA,EAAA,MAAAnD,CAAAA,EAAA+L,EAAAC,YAAA,SAAAhM,EAAAvP,IAAA,CAAAsb,EAAA,EAAA5I,EAAA4I,EAAA9qB,GAAA,gBAAAmiB,EAAA,GAEA,QAAA6I,KADApjB,MAAAC,OAAA,CAAA8X,GAAAA,EAAAne,SA3IAC,CAAA,EACA,IAAAA,EACA,SACA,IAEAC,EACAC,EACAC,EACAC,EACAC,EANAC,EAAA,GACAC,EAAA,EAMA,SAAAC,IACA,KAAAD,EAAAP,EAAAS,MAAA,OAAAC,IAAA,CAAAV,EAAAW,MAAA,CAAAJ,KACAA,GAAA,EAEA,OAAAA,EAAAP,EAAAS,MAAA,CAMA,KAAAF,EAAAP,EAAAS,MAAA,GAGA,IAFAR,EAAAM,EACAF,EAAA,GACAG,KAEA,GAAAN,MADAA,CAAAA,EAAAF,EAAAW,MAAA,CAAAJ,EAAA,EACA,CAKA,IAJAJ,EAAAI,EACAA,GAAA,EACAC,IACAJ,EAAAG,EACAA,EAAAP,EAAAS,MAAA,EAZAP,MADAA,CAAAA,EAAAF,EAAAW,MAAA,CAAAJ,EAAA,GACAL,MAAAA,GAAkCA,MAAAA,GAalCK,GAAA,CAEAA,CAAAA,EAAAP,EAAAS,MAAA,EAAAT,MAAAA,EAAAW,MAAA,CAAAJ,IACAF,EAAA,GACAE,EAAAH,EACAE,EAAAR,IAAA,CAAAE,EAAAY,SAAA,CAAAX,EAAAE,IACAF,EAAAM,GAEAA,EAAAJ,EAAA,CAEA,MACAI,GAAA,EAGA,EAAAF,GAAAE,GAAAP,EAAAS,MAAA,GACAH,EAAAR,IAAA,CAAAE,EAAAY,SAAA,CAAAX,EAAAD,EAAAS,MAAA,EAEA,CACA,OAAAH,CACA,EAyFA4d,GACA,CACA,IAAAjY,EAAAiiB,EAAAqB,GACAtjB,GACA,KAAA6iB,OAAA,CAAAhf,GAAA,CAAA7D,EAAAwH,IAAA,CAAAxH,EACA,CACA,CAIA1H,IAAA,GAAAO,CAAA,EACA,IAAAa,EAAA,iBAAAb,CAAA,IAAAA,CAAA,IAAAA,CAAA,IAAA2O,IAAA,CACA,YAAAqb,OAAA,CAAAvqB,GAAA,CAAAoB,EACA,CAIA0P,OAAA,GAAAvQ,CAAA,EACA,IAAAwe,EACA,IAAAxC,EAAA3U,MAAAoH,IAAA,MAAAub,OAAA,CAAA9a,MAAA,IACA,IAAAlP,EAAA2B,MAAA,CACA,OAAAqa,EAEA,IAAAnb,EAAA,iBAAAb,CAAA,IAAAA,CAAA,UAAAwe,CAAAA,EAAAxe,CAAA,YAAAwe,EAAA7P,IAAA,CACA,OAAAqN,EAAAlL,MAAA,IAAAC,EAAApC,IAAA,GAAA9N,EACA,CACA8K,IAAAgD,CAAA,EACA,YAAAqb,OAAA,CAAAre,GAAA,CAAAgD,EACA,CAIA3D,IAAA,GAAAhL,CAAA,EACA,IAAA2O,EAAAtP,EAAAiR,EAAA,CAAAtQ,IAAAA,EAAA2B,MAAA,EAAA3B,CAAA,IAAA2O,IAAA,CAAA3O,CAAA,IAAAX,KAAA,CAAAW,CAAA,KAAAA,EACAsf,EAAA,KAAA0K,OAAA,CAGA,OAFA1K,EAAAtU,GAAA,CAAA2D,EAAA+b,SAyBApa,EAAA,CAAoC3B,KAAA,GAAAtP,MAAA,GAAqB,EAUzD,MATA,iBAAAiR,EAAAiH,OAAA,EACAjH,CAAAA,EAAAiH,OAAA,KAAAC,KAAAlH,EAAAiH,OAAA,GAEAjH,EAAAoP,MAAA,EACApP,CAAAA,EAAAiH,OAAA,KAAAC,KAAAA,KAAA1C,GAAA,GAAAxE,IAAAA,EAAAoP,MAAA,GAEApP,CAAAA,OAAAA,EAAA5M,IAAA,EAAA4M,KAAA,IAAAA,EAAA5M,IAAA,GACA4M,CAAAA,EAAA5M,IAAA,MAEA4M,CACA,EApCA,CAAoC3B,KAAAA,EAAAtP,MAAAA,EAAA,GAAAiR,CAAA,IACpC9M,SAiBAmnB,CAAA,CAAAjqB,CAAA,EAEA,SAAArB,EAAA,GADAqB,EAAAmO,MAAA,eACA8b,GAAA,CACA,IAAAC,EAAAnC,EAAAppB,GACAqB,EAAAgO,MAAA,cAAAkc,EACA,CACA,EAvBAtL,EAAA,KAAA2K,QAAA,EACA,KAKApb,OAAA,GAAA7O,CAAA,EACA,IAAA2O,EAAAjL,EAAAmE,EAAA,kBAAA7H,CAAA,KAAAA,CAAA,MAAAA,CAAA,IAAA2O,IAAA,CAAA3O,CAAA,IAAA0D,IAAA,CAAA1D,CAAA,IAAA6H,MAAA,EACA,YAAAmD,GAAA,EAAsB2D,KAAAA,EAAAjL,KAAAA,EAAAmE,OAAAA,EAAAxI,MAAA,GAAAkY,QAAA,IAAAC,KAAA,IACtB,CACA,CAAAlV,OAAA0G,GAAA,mCACA,yBAA8BwQ,KAAAkI,SAAA,CAAAviB,OAAA4K,WAAA,MAAAigB,OAAA,GAAiD,EAE/EziB,UAAA,CACA,eAAAyiB,OAAA,CAAA9a,MAAA,IAAAoQ,GAAA,CAAAmJ,GAAAvjB,IAAA,MACA,CACA,iBCpTA,MAAM,aAAa,IAAA2lB,EAAA,CAAO,KAAAA,EAAAlB,EAAAmB,KAAc3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAoB,UAAA,QAAoB,IAAAX,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAA,UAAkBla,EAAA,IAAAqZ,EAAAc,kBAAA,OAAiCH,EAAiB1qB,aAAA,EAAe,OAAA8qB,aAAA,CAAuE,OAAlD,KAAAC,SAAA,EAAoB,MAAAA,SAAA,KAAAL,CAAA,EAA8B,KAAAK,SAAA,CAAsBC,wBAAAR,CAAA,EAA2B,SAAAG,EAAAM,cAAA,EAAAL,EAAAJ,EAAAvc,EAAAid,OAAA,CAAAlR,QAAA,IAAqDjH,QAAA,CAAS,YAAAoY,kBAAA,GAAApY,MAAA,GAA0CS,KAAAgX,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,IAAAV,CAAA,EAAiB,YAAAoB,kBAAA,GAAA3X,IAAA,CAAAgX,EAAAlB,EAAAmB,KAAAV,EAAA,CAAkDtc,KAAA+c,CAAA,CAAAlB,CAAA,EAAU,YAAA6B,kBAAA,GAAA1d,IAAA,CAAA+c,EAAAlB,EAAA,CAA2C6B,oBAAA,CAAqB,SAAAR,EAAAtK,SAAA,EAAAuK,IAAAla,CAAA,CAA4BzB,SAAA,CAAU,KAAAkc,kBAAA,GAAAlc,OAAA,GAAoC,GAAA0b,EAAAS,gBAAA,EAAAR,EAAA3c,EAAAid,OAAA,CAAAlR,QAAA,KAAgDsP,EAAAoB,UAAA,CAAAA,CAAA,EAAwB,KAAAF,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA4B,OAAA,QAAiB,IAAAnB,EAAAU,EAAA,IAAcE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAAH,EAAA,IAA8B,OAAAS,EAAclrB,aAAA,CAAc,SAAAqrB,EAAAb,CAAA,EAAsB,mBAAAlB,CAAA,EAAsB,IAAAmB,EAAA,GAAAG,EAAAvK,SAAA,UAAgC,GAAAoK,EAAa,OAAAA,CAAA,CAAAD,EAAA,IAAAlB,EAAA,EAAmB,IAAAkB,EAAA,KAA8vBA,EAAAc,SAAA,CAAjvB,CAAAhC,EAAAmB,EAAA,CAAsBc,SAAAtd,EAAAud,YAAA,CAAAC,IAAA,CAA6B,IAAI,IAAA1B,EAAArZ,EAAA0T,EAAU,GAAAkF,IAAAkB,EAAA,CAAU,IAAAlB,EAAA,4IAA4M,OAApDkB,EAAA1oB,KAAA,QAAAioB,CAAAA,EAAAT,EAAApH,KAAA,GAAA6H,KAAA,IAAAA,EAAAA,EAAAT,EAAAhrB,OAAA,EAAoD,GAAa,iBAAAmsB,GAAwBA,CAAAA,EAAA,CAAGc,SAAAd,CAAA,GAAY,IAAAiB,EAAA,GAAAd,EAAAvK,SAAA,UAAgCsL,EAAA,GAAAhB,EAAAiB,wBAAA,SAAAlb,CAAAA,EAAA+Z,EAAAc,QAAA,GAAA7a,KAAA,IAAAA,EAAAA,EAAAzC,EAAAud,YAAA,CAAAC,IAAA,CAAAnC,GAAkG,GAAAoC,GAAA,CAAAjB,EAAAoB,uBAAA,EAAkC,IAAArB,EAAA,OAAApG,CAAAA,EAAA,QAAAlC,KAAA,GAAAkC,KAAA,IAAAA,EAAAA,EAAA,kCAAqFsH,EAAAvL,IAAA,4CAAkDqK,EAAE,GAAGmB,EAAAxL,IAAA,8DAAoEqK,EAAE,GAAG,SAAAI,EAAAK,cAAA,SAAAU,EAAAnB,EAAA,KAAmEA,EAAAvb,OAAA,MAAe,GAAA2b,EAAAQ,gBAAA,EAA17B,OAA07BZ,EAAA,EAA6BA,EAAAsB,qBAAA,CAAAtB,GAAA,IAAAT,EAAAgC,mBAAA,CAAAvB,GAAwDA,EAAA/C,OAAA,CAAA4D,EAAA,WAA+Bb,EAAAwB,KAAA,CAAAX,EAAA,SAA2Bb,EAAA1kB,IAAA,CAAAulB,EAAA,QAAyBb,EAAArK,IAAA,CAAAkL,EAAA,QAAyBb,EAAA1oB,KAAA,CAAAupB,EAAA,SAA2B,OAAArR,UAAA,CAAiE,OAA/C,KAAA+Q,SAAA,EAAoB,MAAAA,SAAA,KAAAG,CAAA,EAA2B,KAAAH,SAAA,EAAuBzB,EAAA4B,OAAA,CAAAA,CAAA,EAAkB,KAAAV,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA2C,UAAA,QAAoB,IAAAlC,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAA,SAAkB,OAAAqB,EAAiBjsB,aAAA,EAAe,OAAA8qB,aAAA,CAAuE,OAAlD,KAAAC,SAAA,EAAoB,MAAAA,SAAA,KAAAkB,CAAA,EAA8B,KAAAlB,SAAA,CAAsBmB,uBAAA1B,CAAA,EAA0B,SAAAG,EAAAM,cAAA,EAAAL,EAAAJ,EAAAvc,EAAAid,OAAA,CAAAlR,QAAA,IAAqDmS,kBAAA,CAAmB,SAAAxB,EAAAtK,SAAA,EAAAuK,IAAAb,EAAAqC,mBAAA,CAAgDC,SAAA7B,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAgB,YAAA0B,gBAAA,GAAAE,QAAA,CAAA7B,EAAAlB,EAAAmB,EAAA,CAA+Cxb,SAAA,CAAU,GAAA0b,EAAAS,gBAAA,EAAAR,EAAA3c,EAAAid,OAAA,CAAAlR,QAAA,KAAgDsP,EAAA2C,UAAA,CAAAA,CAAA,EAAwB,KAAAzB,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAgD,cAAA,QAAwB,IAAAvC,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAAH,EAAA,KAAe/Z,EAAA+Z,EAAA,KAAerG,EAAAqG,EAAA,KAAeiB,EAAA,cAAsBC,EAAA,IAAAhB,EAAA4B,qBAAA,OAAoCD,EAAqBtsB,aAAA,CAAc,KAAAwsB,aAAA,CAAA9b,EAAA8b,aAAA,CAAmC,KAAAC,UAAA,CAAA7B,EAAA6B,UAAA,CAA6B,KAAAC,gBAAA,CAAA9B,EAAA8B,gBAAA,CAAyC,KAAAC,UAAA,CAAA/B,EAAA+B,UAAA,CAA6B,KAAAC,aAAA,CAAAhC,EAAAgC,aAAA,CAAmC,OAAA9B,aAAA,CAA2E,OAAtD,KAAAC,SAAA,EAAoB,MAAAA,SAAA,KAAAuB,CAAA,EAAkC,KAAAvB,SAAA,CAAsB8B,oBAAArC,CAAA,EAAuB,SAAAT,EAAAkB,cAAA,EAAAS,EAAAlB,EAAApG,EAAA8G,OAAA,CAAAlR,QAAA,IAAqD8S,OAAAtC,CAAA,CAAAlB,CAAA,CAAAmB,EAAAxc,EAAA8e,oBAAA,EAAqC,YAAAC,oBAAA,GAAAF,MAAA,CAAAtC,EAAAlB,EAAAmB,EAAA,CAAiDlX,QAAAiX,CAAA,CAAAlB,CAAA,CAAAmB,EAAAxc,EAAAgf,oBAAA,EAAsC,YAAAD,oBAAA,GAAAzZ,OAAA,CAAAiX,EAAAlB,EAAAmB,EAAA,CAAkDyC,QAAA,CAAS,YAAAF,oBAAA,GAAAE,MAAA,GAA4Cje,SAAA,CAAU,GAAA8a,EAAAqB,gBAAA,EAAAM,EAAAtH,EAAA8G,OAAA,CAAAlR,QAAA,IAA+CgT,sBAAA,CAAuB,SAAAjD,EAAA1J,SAAA,EAAAqL,IAAAC,CAAA,EAA6BrC,EAAAgD,cAAA,CAAAA,CAAA,EAAgC,KAAA9B,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA6D,QAAA,QAAkB,IAAApD,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAAH,EAAA,KAAe/Z,EAAA+Z,EAAA,KAAerG,EAAA,OAAgB,OAAA+I,EAAentB,aAAA,CAAc,KAAAotB,oBAAA,KAAAzC,EAAA0C,mBAAA,CAAoD,KAAAC,eAAA,CAAArf,EAAAqf,eAAA,CAAuC,KAAAC,kBAAA,CAAAtf,EAAAsf,kBAAA,CAA6C,KAAAC,UAAA,CAAA5C,EAAA4C,UAAA,CAA6B,KAAA1a,OAAA,CAAA8X,EAAA9X,OAAA,CAAuB,KAAA2a,aAAA,CAAA7C,EAAA6C,aAAA,CAAmC,KAAApa,cAAA,CAAAuX,EAAAvX,cAAA,CAAqC,KAAAsC,OAAA,CAAAiV,EAAAjV,OAAA,CAAuB,KAAA+X,cAAA,CAAA9C,EAAA8C,cAAA,CAAqC,OAAA5C,aAAA,CAAqE,OAAhD,KAAAC,SAAA,EAAoB,MAAAA,SAAA,KAAAoC,CAAA,EAA4B,KAAApC,SAAA,CAAsB4C,wBAAAnD,CAAA,EAA2B,IAAAlB,EAAA,GAAAS,EAAAkB,cAAA,EAAA7G,EAAA,KAAAgJ,oBAAA,CAAA1c,EAAAwa,OAAA,CAAAlR,QAAA,IAA8H,OAA/CsP,GAAM,KAAA8D,oBAAA,CAAAQ,WAAA,CAAApD,GAAyClB,CAAA,CAASuE,mBAAA,CAAoB,SAAA9D,EAAA1J,SAAA,EAAA+D,IAAA,KAAAgJ,oBAAA,CAAoDza,UAAA6X,CAAA,CAAAlB,CAAA,EAAe,YAAAuE,iBAAA,GAAAlb,SAAA,CAAA6X,EAAAlB,EAAA,CAA+Cra,SAAA,CAAU,GAAA8a,EAAAqB,gBAAA,EAAAhH,EAAA1T,EAAAwa,OAAA,CAAAlR,QAAA,IAA+C,KAAAoT,oBAAA,KAAAzC,EAAA0C,mBAAA,EAAqD/D,EAAA6D,QAAA,CAAAA,CAAA,EAAoB,KAAA3C,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAsD,aAAA,CAAAtD,EAAAqD,UAAA,CAAArD,EAAAoD,gBAAA,CAAApD,EAAAmD,UAAA,QAAoE,IAAA1C,EAAAU,EAAA,KAA8Bxc,EAAA,GAAA0c,EAAf,KAAerY,gBAAA,+BAA4D,SAAAma,EAAAjC,CAAA,EAAuB,OAAAA,EAAA3U,QAAA,CAAA5H,IAAArK,KAAAA,CAAA,CAAgC0lB,EAAAmD,UAAA,CAAAA,EAA2GnD,EAAAoD,gBAAA,CAAnF,WAA4B,OAAAD,EAAA1C,EAAAW,UAAA,CAAAI,WAAA,GAAA/X,MAAA,KAA2IuW,EAAAqD,UAAA,CAAhD,SAAAnC,CAAA,CAAAlB,CAAA,EAAyB,OAAAkB,EAAAnW,QAAA,CAAApG,EAAAqb,EAAA,EAAiGA,EAAAsD,aAAA,CAAlD,SAAApC,CAAA,EAA0B,OAAAA,EAAAsD,WAAA,CAAA7f,EAAA,CAAwB,EAA8B,KAAAuc,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAyE,WAAA,OAAqB,OAAAA,EAAkB/tB,YAAAwqB,CAAA,EAAe,KAAAwD,QAAA,CAAAxD,EAAA,IAAApY,IAAAoY,GAAA,IAAApY,GAAA,CAAmC6b,SAAAzD,CAAA,EAAY,IAAAlB,EAAA,KAAA0E,QAAA,CAAA5uB,GAAA,CAAAorB,GAA6B,GAAAlB,EAAwB,OAAAxqB,OAAAyjB,MAAA,IAAuB+G,EAAA,CAAI4E,eAAA,CAAgB,OAAAlnB,MAAAoH,IAAA,MAAA4f,QAAA,CAAAvtB,OAAA,IAAAwe,GAAA,GAAAuL,EAAAlB,EAAA,IAAAkB,EAAAlB,EAAA,EAAiE6E,SAAA3D,CAAA,CAAAlB,CAAA,EAAc,IAAAmB,EAAA,IAAAsD,EAAA,KAAAC,QAAA,EAA2D,OAApBvD,EAAAuD,QAAA,CAAArjB,GAAA,CAAA6f,EAAAlB,GAAoBmB,CAAA,CAAS2D,YAAA5D,CAAA,EAAe,IAAAlB,EAAA,IAAAyE,EAAA,KAAAC,QAAA,EAA4D,OAArB1E,EAAA0E,QAAA,CAAAxf,MAAA,CAAAgc,GAAqBlB,CAAA,CAAS+E,cAAA,GAAA7D,CAAA,EAAoB,IAAAlB,EAAA,IAAAyE,EAAA,KAAAC,QAAA,EAAuC,QAAAvD,KAAAD,EAAkBlB,EAAA0E,QAAA,CAAAxf,MAAA,CAAAic,GAAqB,OAAAnB,CAAA,CAASW,OAAA,CAAQ,WAAA8D,CAAA,EAAwBzE,EAAAyE,WAAA,CAAAA,CAAA,EAA0B,KAAAvD,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAgF,0BAAA,QAAoChF,EAAAgF,0BAAA,CAAArsB,OAAA,yBAA4D,KAAAuoB,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAiF,8BAAA,CAAAjF,EAAAkD,aAAA,QAAwD,IAAAzC,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAAb,EAAAmB,OAAA,CAAAlR,QAAA,EAA+GsP,CAAAA,EAAAkD,aAAA,CAAlF,SAAAhC,EAAA,EAA2B,EAAE,WAAAG,EAAAoD,WAAA,KAAA3b,IAAAtT,OAAA2B,OAAA,CAAA+pB,IAAA,EAAuSlB,EAAAiF,8BAAA,CAApN,SAAA/D,CAAA,EAAiJ,MAAtG,iBAAAA,IAAwBI,EAAA9oB,KAAA,sDAA6D,OAAA0oB,EAAS,GAAGA,EAAA,IAAK,CAAOgE,SAAAvgB,EAAAqgB,0BAAA,CAAApnB,SAAAA,IAAiDsjB,CAAA,EAAW,EAAgE,IAAAA,EAAAlB,EAAAmB,KAAc3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAArY,OAAA,QAAiB,IAAA8Y,EAAAU,EAAA,IAAenB,CAAAA,EAAArY,OAAA,CAAA8Y,EAAAW,UAAA,CAAAI,WAAA,IAAqC,KAAAN,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAuB,kBAAA,QAA4B,IAAAd,EAAAU,EAAA,IAAe,OAAAI,EAAyB9X,QAAA,CAAS,OAAAgX,EAAAzY,YAAA,CAAsBkC,KAAAgX,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,IAAAV,CAAA,EAAiB,OAAAT,EAAA1a,IAAA,CAAA6b,KAAAV,EAAA,CAAsBtc,KAAA+c,CAAA,CAAAlB,CAAA,EAAU,OAAAA,CAAA,CAASxS,QAAA,CAAS,YAAY7H,SAAA,CAAU,aAAaqa,EAAAuB,kBAAA,CAAAA,CAAA,EAAwC,KAAAL,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAhY,YAAA,CAAAgY,EAAAhX,gBAAA,QAA2FgX,EAAAhX,gBAAA,CAAlD,SAAAkY,CAAA,EAA6B,OAAAvoB,OAAA0G,GAAA,CAAA6hB,EAAA,CAAyD,OAAAiE,EAAkBzuB,YAAAwqB,CAAA,EAAe,IAAAlB,EAAA,KAAaA,EAAAoF,eAAA,CAAAlE,EAAA,IAAApY,IAAAoY,GAAA,IAAApY,IAAuCkX,EAAAzT,QAAA,CAAA2U,GAAAlB,EAAAoF,eAAA,CAAAtvB,GAAA,CAAAorB,GAAuClB,EAAAjV,QAAA,EAAAmW,EAAAC,KAAmB,IAAAV,EAAA,IAAA0E,EAAAnF,EAAAoF,eAAA,EAAsE,OAA3B3E,EAAA2E,eAAA,CAAA/jB,GAAA,CAAA6f,EAAAC,GAA2BV,CAAA,EAAUT,EAAAwE,WAAA,CAAAtD,IAAkB,IAAAC,EAAA,IAAAgE,EAAAnF,EAAAoF,eAAA,EAAuE,OAA5BjE,EAAAiE,eAAA,CAAAlgB,MAAA,CAAAgc,GAA4BC,CAAA,GAAWnB,EAAAhY,YAAA,KAAAmd,CAAA,EAA+B,KAAAjE,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAqF,IAAA,QAAc,IAAA5E,EAAAU,EAAA,IAAenB,CAAAA,EAAAqF,IAAA,CAAA5E,EAAAmB,OAAA,CAAAlR,QAAA,IAA4B,IAAAwQ,EAAAlB,EAAAmB,KAAc3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAyC,mBAAA,QAA6B,IAAAhC,EAAAU,EAAA,IAAe,OAAAsB,EAA0B/rB,YAAAwqB,CAAA,EAAe,KAAAoE,UAAA,CAAApE,EAAAqE,SAAA,wBAAmD7C,MAAA,GAAAxB,CAAA,EAAY,OAAAsE,EAAA,aAAAF,UAAA,CAAApE,EAAA,CAA2C1oB,MAAA,GAAA0oB,CAAA,EAAY,OAAAsE,EAAA,aAAAF,UAAA,CAAApE,EAAA,CAA2C1kB,KAAA,GAAA0kB,CAAA,EAAW,OAAAsE,EAAA,YAAAF,UAAA,CAAApE,EAAA,CAA0CrK,KAAA,GAAAqK,CAAA,EAAW,OAAAsE,EAAA,YAAAF,UAAA,CAAApE,EAAA,CAA0C/C,QAAA,GAAA+C,CAAA,EAAc,OAAAsE,EAAA,eAAAF,UAAA,CAAApE,EAAA,EAAwF,SAAAsE,EAAAtE,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAyB,IAAAE,EAAA,GAAAZ,EAAA1J,SAAA,UAAgC,GAAAsK,EAA2B,OAAbF,EAAAhE,OAAA,CAAA6C,GAAaqB,CAAA,CAAAH,EAAA,IAAAC,EAAA,CAA9HnB,EAAAyC,mBAAA,CAAAA,CAA8H,EAAmB,KAAAvB,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAyF,iBAAA,QAA2B,IAAAtE,EAAA,EAAUV,EAAA,QAAArZ,EAAA,SAAoB,CAAEqZ,EAAA,OAAArZ,EAAA,QAAkB,CAAEqZ,EAAA,OAAArZ,EAAA,QAAkB,CAAEqZ,EAAA,QAAArZ,EAAA,SAAoB,CAAEqZ,EAAA,UAAArZ,EAAA,SAAsB,OAAEqe,EAAwB/uB,aAAA,CAAyL,QAAAwqB,EAAA,EAAYA,EAAAC,EAAAnpB,MAAA,CAAWkpB,IAAK,KAAAC,CAAA,CAAAD,EAAA,CAAAT,CAAA,EAAAiF,SAAvMxE,CAAA,EAAyB,mBAAAlB,CAAA,EAAsB,GAAApJ,QAAA,CAAY,IAAAuK,EAAAvK,OAAA,CAAAsK,EAAA,CAAyD,GAAxC,mBAAAC,GAA0BA,CAAAA,EAAAvK,QAAA+O,GAAA,EAAc,mBAAAxE,EAA0B,OAAAA,EAAAjrB,KAAA,CAAA0gB,QAAAoJ,EAAA,IAAyDmB,CAAA,CAAAD,EAAA,CAAA9Z,CAAA,GAAoC4Y,EAAAyF,iBAAA,CAAAA,CAAA,EAAsC,KAAAvE,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAsC,wBAAA,QAAkC,IAAA7B,EAAAU,EAAA,IAAqgBnB,CAAAA,EAAAsC,wBAAA,CAAtf,SAAApB,CAAA,CAAAlB,CAAA,EAAkJ,SAAA4F,EAAAzE,CAAA,CAAAV,CAAA,EAA0B,IAAAY,EAAArB,CAAA,CAAAmB,EAAA,OAAa,mBAAAE,GAAAH,GAAAT,EAAgCY,EAAAld,IAAA,CAAA6b,GAAiB,aAAoB,OAAvNkB,EAAAT,EAAAyB,YAAA,CAAA2D,IAAA,CAA0B3E,EAAAT,EAAAyB,YAAA,CAAA2D,IAAA,CAAsB3E,EAAAT,EAAAyB,YAAA,CAAA4D,GAAA,EAA8B5E,CAAAA,EAAAT,EAAAyB,YAAA,CAAA4D,GAAA,EAAqB9F,EAAAA,GAAA,GAAoH,CAAOxnB,MAAAotB,EAAA,QAAAnF,EAAAyB,YAAA,CAAAvZ,KAAA,EAAAkO,KAAA+O,EAAA,OAAAnF,EAAAyB,YAAA,CAAA6D,IAAA,EAAAvpB,KAAAopB,EAAA,OAAAnF,EAAAyB,YAAA,CAAAC,IAAA,EAAAO,MAAAkD,EAAA,QAAAnF,EAAAyB,YAAA,CAAA8D,KAAA,EAAA7H,QAAAyH,EAAA,UAAAnF,EAAAyB,YAAA,CAAA+D,OAAA,GAAiP,EAAoD,KAAA/E,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAkC,YAAA,QAA4B,SAAAhB,CAAA,EAAaA,CAAA,CAAAA,EAAA,eAAsBA,CAAA,CAAAA,EAAA,kBAAyBA,CAAA,CAAAA,EAAA,gBAAuBA,CAAA,CAAAA,EAAA,gBAAuBA,CAAA,CAAAA,EAAA,kBAAyBA,CAAA,CAAAA,EAAA,sBAA6BA,CAAA,CAAAA,EAAA,iBAAuBlB,EAAAkC,YAAA,EAAAlC,CAAAA,EAAAkC,YAAA,KAAsC,EAAG,KAAAhB,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA8B,gBAAA,CAAA9B,EAAAjJ,SAAA,CAAAiJ,EAAA2B,cAAA,QAAuD,IAAAlB,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAAD,EAAA6E,OAAA,CAAA/qB,KAAA,SAAgCiM,EAAAzO,OAAA0G,GAAA,yBAA2CiiB,EAAE,GAAGxG,EAAA2F,EAAA0F,WAAA,CAA+jBnG,EAAA2B,cAAA,CAAziB,SAAAT,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,EAAA,IAAuC,IAAA9b,EAAM,IAAA2c,EAAAxG,CAAA,CAAA1T,EAAA,QAAAzC,CAAAA,EAAAmW,CAAA,CAAA1T,EAAA,GAAAzC,KAAA,IAAAA,EAAAA,EAAA,CAA4CyM,QAAAiQ,EAAA6E,OAAA,EAAmB,IAAAzF,GAAAa,CAAA,CAAAJ,EAAA,EAAa,IAAAlB,EAAA,sEAAkFkB,EAAE,GAA+B,OAA5BC,EAAA3oB,KAAA,CAAAwnB,EAAApH,KAAA,EAAAoH,EAAAhrB,OAAA,EAA4B,GAAa,GAAAssB,EAAAlQ,OAAA,GAAAiQ,EAAA6E,OAAA,EAA0B,IAAAlG,EAAA,sDAAkEsB,EAAAlQ,OAAA,MAAW,EAAM8P,EAAA,2CAAG,EAA4CG,EAAA6E,OAAA,CAAU,GAA+B,OAA5B/E,EAAA3oB,KAAA,CAAAwnB,EAAApH,KAAA,EAAAoH,EAAAhrB,OAAA,EAA4B,GAA+F,OAAlFssB,CAAA,CAAAJ,EAAA,CAAAlB,EAAOmB,EAAAuB,KAAA,gDAAuDxB,EAAA,EAAG,EAAGG,EAAA6E,OAAA,CAAU,IAAI,IAAmNlG,EAAAjJ,SAAA,CAAvK,SAAAmK,CAAA,EAAsB,IAAAlB,EAAAmB,EAAQ,IAAAV,EAAA,OAAAT,CAAAA,EAAAlF,CAAA,CAAA1T,EAAA,GAAA4Y,KAAA,IAAAA,EAAA,OAAAA,EAAA5O,OAAA,CAAqD,SAAAzM,EAAAyhB,YAAA,EAAA3F,GAAsC,cAAAU,CAAAA,EAAArG,CAAA,CAAA1T,EAAA,GAAA+Z,KAAA,IAAAA,EAAA,OAAAA,CAAA,CAAAD,EAAA,EAAiNlB,EAAA8B,gBAAA,CAA7I,SAAAZ,CAAA,CAAAlB,CAAA,EAA+BA,EAAA0C,KAAA,mDAA0DxB,EAAA,EAAG,EAAGG,EAAA6E,OAAA,CAAU,IAAI,IAAA/E,EAAArG,CAAA,CAAA1T,EAAA,CAAa+Z,GAAM,OAAAA,CAAA,CAAAD,EAAA,CAAa,EAAoC,KAAAA,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAoG,YAAA,CAAApG,EAAAqG,uBAAA,QAAgD,IAAA5F,EAAAU,EAAA,KAAeE,EAAA,gCAAwC,SAAAgF,EAAAnF,CAAA,EAAoC,IAAAlB,EAAA,IAAAhf,IAAA,CAAAkgB,EAAA,EAAqBC,EAAA,IAAAngB,IAAgByf,EAAAS,EAAA1V,KAAA,CAAA6V,GAAmB,IAAAZ,EAAO,aAAgB,IAAA9b,EAAA,CAAS2hB,MAAA,CAAA7F,CAAA,IAAA8F,MAAA,CAAA9F,CAAA,IAAA+F,MAAA,CAAA/F,CAAA,IAAAgG,WAAAhG,CAAA,KAAqD,GAAA9b,MAAAA,EAAA8hB,UAAA,CAAuB,gBAAAzG,CAAA,EAAgC,OAAAA,IAAAkB,CAAA,EAAc,SAAAwF,EAAAxF,CAAA,EAA6B,OAATC,EAAA5Z,GAAA,CAAA2Z,GAAS,GAAsD,gBAAAA,CAAA,EAAgC,GAAAlB,EAAAhe,GAAA,CAAAkf,GAAa,SAAY,GAAAC,EAAAnf,GAAA,CAAAkf,GAAa,SAAa,IAAAT,EAAAS,EAAA1V,KAAA,CAAA6V,GAAmB,IAAAZ,EAAO,OAAAiG,EAAAxF,GAAkB,IAAAI,EAAA,CAASgF,MAAA,CAAA7F,CAAA,IAAA8F,MAAA,CAAA9F,CAAA,IAAA+F,MAAA,CAAA/F,CAAA,IAAAgG,WAAAhG,CAAA,YAAqD,MAAAa,EAAAmF,UAAA,EAAyC9hB,EAAA2hB,KAAA,GAAAhF,EAAAgF,KAAA,CAAlBI,EAAAxF,GAA0Dvc,IAAAA,EAAA2hB,KAAA,CAAgB,EAAAC,KAAA,GAAAjF,EAAAiF,KAAA,EAAA5hB,EAAA6hB,KAAA,EAAAlF,EAAAkF,KAAA,EAAnTxG,EAAAzY,GAAA,CAA2V2Z,GAAlV,IAAoWwF,EAAAxF,GAAkB,EAAAqF,KAAA,EAAAjF,EAAAiF,KAAA,EAA/XvG,EAAAzY,GAAA,CAAoZ2Z,GAA3Y,IAA6ZwF,EAAAxF,EAAA,EAAmBlB,EAAAqG,uBAAA,CAAAA,EAAkDrG,EAAAoG,YAAA,CAAAC,EAAA5F,EAAAyF,OAAA,GAAkD,KAAAhF,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA2G,OAAA,QAAiB,IAAAlG,EAAAU,EAAA,IAAenB,CAAAA,EAAA2G,OAAA,CAAAlG,EAAAkC,UAAA,CAAAnB,WAAA,IAAqC,KAAAN,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA4G,SAAA,QAAyB,SAAA1F,CAAA,EAAaA,CAAA,CAAAA,EAAA,aAAoBA,CAAA,CAAAA,EAAA,oBAA0BlB,EAAA4G,SAAA,EAAA5G,CAAAA,EAAA4G,SAAA,KAAgC,EAAG,KAAA1F,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA6G,eAAA,CAAA7G,EAAA8G,sCAAA,CAAA9G,EAAA+G,4BAAA,CAAA/G,EAAAgH,8BAAA,CAAAhH,EAAAiH,2BAAA,CAAAjH,EAAAkH,qBAAA,CAAAlH,EAAAmH,mBAAA,CAAAnH,EAAAoH,UAAA,CAAApH,EAAAqH,iCAAA,CAAArH,EAAAsH,yBAAA,CAAAtH,EAAAuH,2BAAA,CAAAvH,EAAAwH,oBAAA,CAAAxH,EAAAyH,mBAAA,CAAAzH,EAAA0H,uBAAA,CAAA1H,EAAA2H,iBAAA,CAAA3H,EAAA4H,UAAA,CAAA5H,EAAA6H,SAAA,OAA6a,OAAAA,EAAgBnxB,aAAA,EAAeoxB,gBAAA5G,CAAA,CAAAC,CAAA,EAAqB,OAAAnB,EAAAkH,qBAAA,CAA+Ba,cAAA7G,CAAA,CAAAC,CAAA,EAAmB,OAAAnB,EAAAmH,mBAAA,CAA6Ba,oBAAA9G,CAAA,CAAAC,CAAA,EAAyB,OAAAnB,EAAAiH,2BAAA,CAAqCgB,sBAAA/G,CAAA,CAAAC,CAAA,EAA2B,OAAAnB,EAAA+G,4BAAA,CAAsCmB,wBAAAhH,CAAA,CAAAC,CAAA,EAA6B,OAAAnB,EAAAgH,8BAAA,CAAwCmB,8BAAAjH,CAAA,CAAAC,CAAA,EAAmC,OAAAnB,EAAA8G,sCAAA,CAAgDsB,2BAAAlH,CAAA,CAAAlB,CAAA,GAAiCqI,8BAAAnH,CAAA,IAAmClB,EAAA6H,SAAA,CAAAA,CAAsB,OAAAD,EAAA,CAAkB5H,EAAA4H,UAAA,CAAAA,CAAwB,OAAAD,UAAAC,EAA2CrgB,IAAA2Z,CAAA,CAAAlB,CAAA,IAAWA,EAAA2H,iBAAA,CAAAA,CAAsC,OAAAD,UAAAE,EAAiDrgB,IAAA2Z,CAAA,CAAAlB,CAAA,IAAWA,EAAA0H,uBAAA,CAAAA,CAAkD,OAAAD,UAAAG,EAA6CU,OAAApH,CAAA,CAAAlB,CAAA,IAAcA,EAAAyH,mBAAA,CAAAA,CAA0C,OAAAD,EAA2Be,YAAArH,CAAA,GAAgBsH,eAAAtH,CAAA,IAAoBlB,EAAAwH,oBAAA,CAAAA,CAA4C,OAAAD,UAAAC,EAAA,CAAgExH,EAAAuH,2BAAA,CAAAA,CAA0D,OAAAD,UAAAE,EAAA,CAA8DxH,EAAAsH,yBAAA,CAAAA,CAAsD,OAAAD,UAAAG,EAAA,CAAsExH,EAAAqH,iCAAA,CAAAA,EAAsErH,EAAAoH,UAAA,KAAAS,EAA2B7H,EAAAmH,mBAAA,KAAAQ,EAA4C3H,EAAAkH,qBAAA,KAAAO,EAAgDzH,EAAAiH,2BAAA,KAAAS,EAA0D1H,EAAAgH,8BAAA,KAAAO,EAAiEvH,EAAA+G,4BAAA,KAAAO,EAA6DtH,EAAA8G,sCAAA,KAAAO,EAA8HrH,EAAA6G,eAAA,CAA/C,WAA2B,OAAA7G,EAAAoH,UAAA,CAAoB,EAAkC,KAAAlG,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA8C,mBAAA,CAAA9C,EAAAyI,iBAAA,QAAiD,IAAAhI,EAAAU,EAAA,IAAe,OAAAsH,EAAwB1F,SAAA7B,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAgB,OAAAV,EAAA2G,UAAA,EAAqBpH,EAAAyI,iBAAA,CAAAA,EAAsCzI,EAAA8C,mBAAA,KAAA2F,CAAA,EAA4C,aAAAvH,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAqB,IAAAV,EAAA,WAAAiI,eAAA,EAAAlzB,CAAAA,OAAAmzB,MAAA,UAAAzH,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,EAAmEnmB,KAAAA,IAAAmmB,GAAAA,CAAAA,EAAAU,CAAAA,EAAqB3rB,OAAAC,cAAA,CAAAyrB,EAAAT,EAAA,CAA2BnqB,WAAA,GAAAR,IAAA,WAA+B,OAAAkqB,CAAA,CAAAmB,EAAA,GAAa,EAAE,SAAAD,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,EAAmBnmB,KAAAA,IAAAmmB,GAAAA,CAAAA,EAAAU,CAAAA,EAAqBD,CAAA,CAAAT,EAAA,CAAAT,CAAA,CAAAmB,EAAA,GAAYE,EAAA,WAAAuH,YAAA,WAAA1H,CAAA,CAAAlB,CAAA,EAA6C,QAAAmB,KAAAD,EAAA,YAAAC,GAAA3rB,OAAA8d,SAAA,CAAAC,cAAA,CAAAjO,IAAA,CAAA0a,EAAAmB,IAAAV,EAAAT,EAAAkB,EAAAC,EAAA,EAAsF3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAa2rB,EAAAF,EAAA,IAAAnB,EAAA,EAAW,KAAAkB,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAmG,WAAA,QAAqBnG,EAAAmG,WAAA,kBAAAvxB,WAAAA,WAAsDS,EAAAC,CAAM,EAAC,YAAA4rB,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAoB,IAAAV,EAAA,WAAAiI,eAAA,EAAAlzB,CAAAA,OAAAmzB,MAAA,UAAAzH,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,EAAmEnmB,KAAAA,IAAAmmB,GAAAA,CAAAA,EAAAU,CAAAA,EAAqB3rB,OAAAC,cAAA,CAAAyrB,EAAAT,EAAA,CAA2BnqB,WAAA,GAAAR,IAAA,WAA+B,OAAAkqB,CAAA,CAAAmB,EAAA,GAAa,EAAE,SAAAD,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,EAAmBnmB,KAAAA,IAAAmmB,GAAAA,CAAAA,EAAAU,CAAAA,EAAqBD,CAAA,CAAAT,EAAA,CAAAT,CAAA,CAAAmB,EAAA,GAAYE,EAAA,WAAAuH,YAAA,WAAA1H,CAAA,CAAAlB,CAAA,EAA6C,QAAAmB,KAAAD,EAAA,YAAAC,GAAA3rB,OAAA8d,SAAA,CAAAC,cAAA,CAAAjO,IAAA,CAAA0a,EAAAmB,IAAAV,EAAAT,EAAAkB,EAAAC,EAAA,EAAsF3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAa2rB,EAAAF,EAAA,KAAAnB,EAAA,EAAY,KAAAkB,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAApY,WAAA,QAAqB,IAAA6Y,EAAAU,EAAA,IAAenB,CAAAA,EAAApY,WAAA,CAAA6Y,EAAAuC,cAAA,CAAAxB,WAAA,IAA6C,KAAAN,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAiD,qBAAA,OAA+B,OAAAA,EAA4BO,OAAAtC,CAAA,CAAAlB,CAAA,GAAa/V,QAAAiX,CAAA,CAAAlB,CAAA,EAAa,OAAAkB,CAAA,CAAS0C,QAAA,CAAS,UAAU5D,EAAAiD,qBAAA,CAAAA,CAAA,EAA8C,KAAA/B,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAyD,oBAAA,CAAAzD,EAAA2D,oBAAA,QAAqD3D,EAAA2D,oBAAA,EAAwB7tB,IAAAorB,CAAA,CAAAlB,CAAA,EAAS,GAAAkB,MAAAA,EAA6B,OAAAA,CAAA,CAAAlB,EAAA,EAAY5e,KAAAA,GAAS,MAAA8f,EAAY,GAAS1rB,OAAA4L,IAAA,CAAA8f,EAAA,EAAwBlB,EAAAyD,oBAAA,EAAwBpiB,IAAA6f,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAW,MAAAD,GAAmBA,CAAAA,CAAA,CAAAlB,EAAA,CAAAmB,CAAAA,CAAA,IAAS,KAAAD,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAnY,KAAA,QAAe,IAAA4Y,EAAAU,EAAA,IAAenB,CAAAA,EAAAnY,KAAA,CAAA4Y,EAAAoD,QAAA,CAAArC,WAAA,IAAiC,KAAAN,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA6I,gBAAA,QAA0B,IAAApI,EAAAU,EAAA,IAAe,OAAA0H,EAAuBnyB,YAAAwqB,EAAAT,EAAAqI,oBAAA,EAAsC,KAAAC,YAAA,CAAA7H,CAAA,CAAoBzW,aAAA,CAAc,YAAAse,YAAA,CAAyBxgB,aAAA2Y,CAAA,CAAAlB,CAAA,EAAkB,YAAYgJ,cAAA9H,CAAA,EAAiB,YAAY+H,SAAA/H,CAAA,CAAAlB,CAAA,EAAc,YAAYvX,UAAAyY,CAAA,EAAa,YAAYgI,WAAAhI,CAAA,EAAc,YAAYtY,IAAAsY,CAAA,GAAQiI,aAAA,CAAc,SAAa3gB,gBAAA0Y,CAAA,CAAAlB,CAAA,IAAuBA,EAAA6I,gBAAA,CAAAA,CAAA,EAAoC,KAAA3H,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAoJ,UAAA,QAAoB,IAAA3I,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAAH,EAAA,KAAe/Z,EAAAqZ,EAAAW,UAAA,CAAAI,WAAA,EAAmC,OAAA4H,EAAiBhd,UAAA8U,CAAA,CAAAlB,CAAA,CAAAmB,EAAA/Z,EAAAqC,MAAA,IAAgF,GAApDuW,MAAAA,EAAA,OAAAA,EAAAqJ,IAAA,CAA0D,WAAA1kB,EAAAkkB,gBAAA,CAA8B,IAAA/N,EAAAqG,GAAA,GAAAE,EAAAtX,cAAA,EAAAoX,SAAmC,UAA8c,OAA9crG,GAA8c,iBAAAoG,EAAA,yBAAAA,EAAA,0BAAAA,EAAA,YAA9c,GAAAI,EAAA2C,kBAAA,EAAAnJ,GAAkD,IAAAnW,EAAAkkB,gBAAA,CAAA/N,GAAsC,IAAAnW,EAAAkkB,gBAAA,CAA+B7d,gBAAAkW,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,MAAyB9b,EAAM2c,EAAMxG,EAAM,GAAAhP,UAAA9T,MAAA,GAAuB,MAAO8T,CAAA,GAAAA,UAAA9T,MAAA,CAA8B8iB,EAAAkF,EAAIlU,GAAAA,UAAA9T,MAAA,EAA8B2M,EAAAqb,EAAIlF,EAAAqG,IAASxc,EAAAqb,EAAIsB,EAAAH,EAAIrG,EAAA2F,GAAI,IAAA2B,EAAAd,MAAAA,EAAAA,EAAAla,EAAAqC,MAAA,GAA0C4Y,EAAA,KAAAjW,SAAA,CAAA8U,EAAAvc,EAAAyd,GAA8B9sB,EAAA,GAAA+rB,EAAAhV,OAAA,EAAA+V,EAAAC,GAA2B,OAAAjb,EAAA8C,IAAA,CAAA5U,EAAAwlB,EAAAxgB,KAAAA,EAAA+nB,EAAA,EAAgCrC,EAAAoJ,UAAA,CAAAA,CAAkD,EAA8H,KAAAlI,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAsJ,kBAAA,QAA4B,IAAA7I,EAAAU,EAAA,IAAe,OAAAmI,EAAyBjgB,UAAA6X,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAiB,WAAAV,EAAA2I,UAAA,EAAyBpJ,EAAAsJ,kBAAA,CAAAA,CAAA,EAAwC,KAAApI,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAuJ,WAAA,QAAoC,IAAAlI,EAAA,GAAAZ,CAAfU,EAAA,MAAeiI,UAAA,OAAyBG,EAAkB7yB,YAAAwqB,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,EAAqB,KAAA+I,SAAA,CAAAtI,EAAiB,KAAAlc,IAAA,CAAAgb,EAAY,KAAA5O,OAAA,CAAA+P,EAAe,KAAAnlB,OAAA,CAAAykB,CAAA,CAAerU,UAAA8U,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAiB,YAAAsI,UAAA,GAAArd,SAAA,CAAA8U,EAAAlB,EAAAmB,EAAA,CAA0CnW,gBAAAkW,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,CAAAV,CAAA,EAAyB,IAAAY,EAAA,KAAAoI,UAAA,GAA0B,OAAAvlB,QAAAhO,KAAA,CAAAmrB,EAAArW,eAAA,CAAAqW,EAAAvV,UAAA,CAAoD2d,YAAA,CAAa,QAAAC,SAAA,CAAmB,YAAAA,SAAA,CAAsB,IAAAxI,EAAA,KAAAsI,SAAA,CAAAG,iBAAA,MAAA3kB,IAAA,MAAAoM,OAAA,MAAApV,OAAA,SAA8E,GAAgB,KAAA0tB,SAAA,CAAAxI,EAAiB,KAAAwI,SAAA,EAA1BrI,CAA0B,EAAuBrB,EAAAuJ,WAAA,CAAAA,CAAA,EAA0B,KAAArI,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA+D,mBAAA,QAA6B,IAAAtD,EAAAU,EAAA,KAA8Bxc,EAAA,GAAA0c,CAAfF,EAAA,MAAemI,kBAAA,OAAiCvF,EAA0B1a,UAAA6X,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAiB,IAAAE,EAAM,cAAAA,CAAAA,EAAA,KAAAsI,iBAAA,CAAAzI,EAAAlB,EAAAmB,EAAA,GAAAE,KAAA,IAAAA,EAAAA,EAAA,IAAAZ,EAAA8I,WAAA,MAAArI,EAAAlB,EAAAmB,EAAA,CAA2FyI,aAAA,CAAc,IAAA1I,EAAM,cAAAA,CAAAA,EAAA,KAAAwI,SAAA,GAAAxI,KAAA,IAAAA,EAAAA,EAAAvc,CAAA,CAAgD2f,YAAApD,CAAA,EAAe,KAAAwI,SAAA,CAAAxI,CAAA,CAAiByI,kBAAAzI,CAAA,CAAAlB,CAAA,CAAAmB,CAAA,EAAyB,IAAAV,EAAM,cAAAA,CAAAA,EAAA,KAAAiJ,SAAA,GAAAjJ,KAAA,IAAAA,EAAA,OAAAA,EAAApX,SAAA,CAAA6X,EAAAlB,EAAAmB,EAAA,EAAuEnB,EAAA+D,mBAAA,CAAAA,CAAA,EAA0C,KAAA7C,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA6J,gBAAA,QAAgC,SAAA3I,CAAA,EAAaA,CAAA,CAAAA,EAAA,2BAAkCA,CAAA,CAAAA,EAAA,mBAA0BA,CAAA,CAAAA,EAAA,4CAAkDlB,EAAA6J,gBAAA,EAAA7J,CAAAA,EAAA6J,gBAAA,KAA8C,EAAG,KAAA3I,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAjW,cAAA,CAAAiW,EAAAoE,cAAA,CAAApE,EAAAkE,UAAA,CAAAlE,EAAA3T,OAAA,CAAA2T,EAAAmE,aAAA,CAAAnE,EAAAxW,OAAA,QAA0F,IAAAiX,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAAwc,EAAA,KAAeG,EAAA,GAAAb,EAAAzX,gBAAA,oCAAiE,SAAAQ,EAAA0X,CAAA,EAAoB,OAAAA,EAAA3U,QAAA,CAAA+U,IAAAhnB,KAAAA,CAAA,CAA6J,SAAA+R,EAAA6U,CAAA,CAAAlB,CAAA,EAAsB,OAAAkB,EAAAnW,QAAA,CAAAuW,EAAAtB,EAAA,CAAnJA,EAAAxW,OAAA,CAAAA,EAA+FwW,EAAAmE,aAAA,CAA7E,WAAyB,OAAA3a,EAAA7E,EAAAyc,UAAA,CAAAI,WAAA,GAAA/X,MAAA,KAA+HuW,EAAA3T,OAAA,CAAAA,EAAiE2T,EAAAkE,UAAA,CAA/C,SAAAhD,CAAA,EAAuB,OAAAA,EAAAsD,WAAA,CAAAlD,EAAA,EAAyHtB,EAAAoE,cAAA,CAAzE,SAAAlD,CAAA,CAAAlB,CAAA,EAA6B,OAAA3T,EAAA6U,EAAA,IAAAG,EAAAwH,gBAAA,CAAA7I,GAAA,EAA4KA,EAAAjW,cAAA,CAAhG,SAAAmX,CAAA,EAA2B,IAAAlB,EAAM,cAAAA,CAAAA,EAAAxW,EAAA0X,EAAA,GAAAlB,KAAA,IAAAA,EAAA,OAAAA,EAAAvV,WAAA,GAA+D,EAAgC,KAAAyW,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA8J,cAAA,QAAwB,IAAArJ,EAAAU,EAAA,IAA8D,OAAA2I,EAAqBpzB,YAAAwqB,CAAA,EAAe,KAAA6I,cAAA,KAAAjhB,IAA4BoY,GAAA,KAAA8I,MAAA,CAAA9I,EAAA,CAAoB7f,IAAA6f,CAAA,CAAAlB,CAAA,EAAS,IAAAmB,EAAA,KAAA8I,MAAA,GAAuG,OAAjF9I,EAAA4I,cAAA,CAAA/nB,GAAA,CAAAkf,IAA4BC,EAAA4I,cAAA,CAAA7kB,MAAA,CAAAgc,GAA2BC,EAAA4I,cAAA,CAAA1oB,GAAA,CAAA6f,EAAAlB,GAA0BmB,CAAA,CAAS+I,MAAAhJ,CAAA,EAAS,IAAAlB,EAAA,KAAAiK,MAAA,GAAiD,OAA3BjK,EAAA+J,cAAA,CAAA7kB,MAAA,CAAAgc,GAA2BlB,CAAA,CAASlqB,IAAAorB,CAAA,EAAO,YAAA6I,cAAA,CAAAj0B,GAAA,CAAAorB,EAAA,CAAkCiJ,WAAA,CAAY,YAAAC,KAAA,GAAA1N,MAAA,EAAAwE,EAAAlB,KAAoCkB,EAAA7pB,IAAA,CAAA2oB,EAArX,IAAqX,KAAAlqB,GAAA,CAAAkqB,IAAwBkB,GAAS,IAAA3lB,IAAA,CAAla,IAAka,CAAcyuB,OAAA9I,CAAA,GAAUA,CAAAA,EAAAlpB,MAAA,CAAtc,GAAsc2M,IAAqB,KAAAolB,cAAA,CAAA7I,EAAA/lB,KAAA,CAA/c,KAA+ckvB,OAAA,GAAA3N,MAAA,EAAAwE,EAAAlB,KAAyD,IAAAmB,EAAAnB,EAAAtB,IAAA,GAAiB2C,EAAAF,EAAAlnB,OAAA,CAA7gB,KAAkiB,GAAAonB,KAAAA,EAAA,CAAW,IAAA1c,EAAAwc,EAAA3mB,KAAA,GAAA6mB,GAAqBC,EAAAH,EAAA3mB,KAAA,CAAA6mB,EAAA,EAAArB,EAAAhoB,MAAA,EAA8B,GAAAyoB,EAAA6J,WAAA,EAAA3lB,IAAA,GAAA8b,EAAA8J,aAAA,EAAAjJ,IAAiDJ,EAAA7f,GAAA,CAAAsD,EAAA2c,EAAW,CAAO,OAAAJ,CAAA,EAAS,IAAApY,KAAW,KAAAihB,cAAA,CAAAvJ,IAAA,CAA1tB,IAAyvB,MAAAuJ,cAAA,KAAAjhB,IAAApL,MAAAoH,IAAA,MAAAilB,cAAA,CAAA5yB,OAAA,IAAAkzB,OAAA,GAAA7vB,KAAA,GAAzvB,IAAyvB,GAA6F4vB,OAAA,CAAQ,OAAA1sB,MAAAoH,IAAA,MAAAilB,cAAA,CAAA3oB,IAAA,IAAAipB,OAAA,GAAwDJ,QAAA,CAAS,IAAA/I,EAAA,IAAA4I,EAAyE,OAA9C5I,EAAA6I,cAAA,KAAAjhB,IAAA,KAAAihB,cAAA,EAA8C7I,CAAA,EAAUlB,EAAA8J,cAAA,CAAAA,CAAA,EAAgC,KAAA5I,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAuK,aAAA,CAAAvK,EAAAsK,WAAA,QAAqC,IAAAnJ,EAAA,eAAuBV,EAAA,QAAgBU,EAAA,OAAS,EAAEE,EAAA,WAAmBF,EAAA,aAAS,EAAQA,EAAA,MAAQ,EAAExc,EAAA,cAA0B8b,EAAE,GAAGY,EAAE,KAAKC,EAAA,sBAA8Bla,EAAA,KAAuD4Y,CAAAA,EAAAsK,WAAA,CAAzC,SAAApJ,CAAA,EAAwB,OAAAvc,EAAA1M,IAAA,CAAAipB,EAAA,EAAkGlB,EAAAuK,aAAA,CAAvD,SAAArJ,CAAA,EAA0B,OAAAI,EAAArpB,IAAA,CAAAipB,IAAA,CAAA9Z,EAAAnP,IAAA,CAAAipB,EAAA,CAA6B,EAA8B,IAAAA,EAAAlB,EAAAmB,KAAc3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAwK,gBAAA,QAA0B,IAAA/J,EAAAU,EAAA,IAA2EnB,CAAAA,EAAAwK,gBAAA,CAA5D,SAAAtJ,CAAA,EAA6B,WAAAT,EAAAqJ,cAAA,CAAA5I,EAAA,CAA+B,EAAoC,KAAAA,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA8I,oBAAA,CAAA9I,EAAAyK,eAAA,CAAAzK,EAAA0K,cAAA,QAAiE,IAAAjK,EAAAU,EAAA,IAAenB,CAAAA,EAAA0K,cAAA,oBAAoC1K,EAAAyK,eAAA,oCAAqDzK,EAAA8I,oBAAA,EAAwB6B,QAAA3K,EAAAyK,eAAA,CAAA5f,OAAAmV,EAAA0K,cAAA,CAAAE,WAAAnK,EAAAoK,UAAA,CAAAhF,IAAA,GAAgF,KAAA3E,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAjY,QAAA,QAAwB,SAAAmZ,CAAA,EAAaA,CAAA,CAAAA,EAAA,uBAA8BA,CAAA,CAAAA,EAAA,mBAA0BA,CAAA,CAAAA,EAAA,mBAA0BA,CAAA,CAAAA,EAAA,uBAA8BA,CAAA,CAAAA,EAAA,wBAA8BlB,EAAAjY,QAAA,EAAAiY,CAAAA,EAAAjY,QAAA,KAA8B,EAAG,KAAAmZ,EAAAlB,EAAAmB,KAAe3rB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAgE,eAAA,CAAAhE,EAAAiE,kBAAA,CAAAjE,EAAA8K,aAAA,CAAA9K,EAAA+K,cAAA,QAA+E,IAAAtK,EAAAU,EAAA,KAAeE,EAAAF,EAAA,KAAexc,EAAA,oBAA4B2c,EAAA,kBAA0B,SAAAyJ,EAAA7J,CAAA,EAA2B,OAAAvc,EAAA1M,IAAA,CAAAipB,IAAAA,IAAAT,EAAAgK,eAAA,CAAwE,SAAAK,EAAA5J,CAAA,EAA0B,OAAAI,EAAArpB,IAAA,CAAAipB,IAAAA,IAAAT,EAAAiK,cAAA,CAA1D1K,EAAA+K,cAAA,CAAAA,EAAiG/K,EAAA8K,aAAA,CAAAA,EAAuH9K,EAAAiE,kBAAA,CAAzF,SAAA/C,CAAA,EAA+B,OAAA6J,EAAA7J,EAAAyJ,OAAA,GAAAG,EAAA5J,EAAArW,MAAA,GAA+JmV,EAAAgE,eAAA,CAA7D,SAAA9C,CAAA,EAA4B,WAAAG,EAAAwH,gBAAA,CAAA3H,EAAA,CAAiC,EAAkC,KAAAA,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAlY,cAAA,QAA8B,SAAAoZ,CAAA,EAAaA,CAAA,CAAAA,EAAA,iBAAwBA,CAAA,CAAAA,EAAA,WAAkBA,CAAA,CAAAA,EAAA,kBAAwBlB,EAAAlY,cAAA,EAAAkY,CAAAA,EAAAlY,cAAA,KAA0C,EAAG,KAAAoZ,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAA6K,UAAA,QAA0B,SAAA3J,CAAA,EAAaA,CAAA,CAAAA,EAAA,eAAsBA,CAAA,CAAAA,EAAA,sBAA4BlB,EAAA6K,UAAA,EAAA7K,CAAAA,EAAA6K,UAAA,KAAkC,EAAG,KAAA3J,EAAAlB,KAAaxqB,OAAAC,cAAA,CAAAuqB,EAAA,cAAsCtqB,MAAA,KAAasqB,EAAAkG,OAAA,QAAiBlG,EAAAkG,OAAA,WAAoBlG,EAAA,GAAS,SAAAgL,EAAA7J,CAAA,EAAgC,IAAAV,EAAAT,CAAA,CAAAmB,EAAA,CAAW,GAAAV,KAAAnmB,IAAAmmB,EAAkB,OAAAA,EAAA9sB,OAAA,CAAiB,IAAA0tB,EAAArB,CAAA,CAAAmB,EAAA,EAAYxtB,QAAA,IAAYgR,EAAA,GAAW,IAAIuc,CAAA,CAAAC,EAAA,CAAA7b,IAAA,CAAA+b,EAAA1tB,OAAA,CAAA0tB,EAAAA,EAAA1tB,OAAA,CAAAq3B,GAAqDrmB,EAAA,UAAQ,CAAQA,GAAA,OAAAqb,CAAA,CAAAmB,EAAA,CAAiB,OAAAE,EAAA1tB,OAAA,CAAiBq3B,EAAAC,EAAA,CAAmEC,KAAc,IAAA/J,EAAA,GAAS,MAAc3rB,OAAAC,cAAA,CAAR0rB,EAAQ,cAAsCzrB,MAAA,KAAawrB,EAAArZ,KAAA,CAAAqZ,EAAAtZ,WAAA,CAAAsZ,EAAAyF,OAAA,CAAAzF,EAAAmE,IAAA,CAAAnE,EAAAvZ,OAAA,CAAAuZ,EAAA4H,oBAAA,CAAA5H,EAAAuJ,eAAA,CAAAvJ,EAAAwJ,cAAA,CAAAxJ,EAAA4J,aAAA,CAAA5J,EAAA6J,cAAA,CAAA7J,EAAA+C,kBAAA,CAAA/C,EAAAsJ,gBAAA,CAAAtJ,EAAA2J,UAAA,CAAA3J,EAAApZ,cAAA,CAAAoZ,EAAAnZ,QAAA,CAAAmZ,EAAA2I,gBAAA,CAAA3I,EAAA6C,mBAAA,CAAA7C,EAAAqI,WAAA,CAAArI,EAAAuC,oBAAA,CAAAvC,EAAAyC,oBAAA,CAAAzC,EAAA0F,SAAA,CAAA1F,EAAA2F,eAAA,CAAA3F,EAAAgB,YAAA,CAAAhB,EAAAuE,iBAAA,CAAAvE,EAAAlZ,YAAA,CAAAkZ,EAAAlY,gBAAA,CAAAkY,EAAA+D,8BAAA,QAA6c,IAAAjF,EAAAgL,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAviB0rB,EAAuiB,kCAA0D7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAkqB,EAAAiF,8BAAA,IAA2C,IAAAxE,EAAAuK,EAAA,KAA+Bx1B,OAAAC,cAAA,CAA1sB0rB,EAA0sB,oBAA4C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAA2qB,EAAAzX,gBAAA,IAA6BxT,OAAAC,cAAA,CAAlzB0rB,EAAkzB,gBAAwC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAA2qB,EAAAzY,YAAA,IAAyB,IAAAqZ,EAAA2J,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAj7B0rB,EAAi7B,qBAA6C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAurB,EAAAoE,iBAAA,IAA8B,IAAA9gB,EAAAqmB,EAAA,KAA+Bx1B,OAAAC,cAAA,CAA1jC0rB,EAA0jC,gBAAwC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAA6O,EAAAud,YAAA,IAAyB,IAAAZ,EAAA0J,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAzrC0rB,EAAyrC,mBAA2C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAwrB,EAAAuF,eAAA,IAA4B,IAAAzf,EAAA4jB,EAAA,KAA+Bx1B,OAAAC,cAAA,CAA9zC0rB,EAA8zC,aAAqC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAsR,EAAAwf,SAAA,IAAsB,IAAA9L,EAAAkQ,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAv7C0rB,EAAu7C,wBAAgD7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAglB,EAAA6I,oBAAA,IAAiCnuB,OAAAC,cAAA,CAAviD0rB,EAAuiD,wBAAgD7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAglB,EAAA2I,oBAAA,IAAiC,IAAArB,EAAA4I,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAtrD0rB,EAAsrD,eAAuC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAssB,EAAAmH,WAAA,IAAwB,IAAAlH,EAAA2I,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAnzD0rB,EAAmzD,uBAA+C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAusB,EAAA0B,mBAAA,IAAgC,IAAAzuB,EAAA01B,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAh8D0rB,EAAg8D,oBAA4C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAR,EAAAu0B,gBAAA,IAA6B,IAAA3hB,EAAA8iB,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAvkE0rB,EAAukE,YAAoC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAoS,EAAAH,QAAA,IAAqB,IAAAojB,EAAAH,EAAA,KAA+Bx1B,OAAAC,cAAA,CAA9rE0rB,EAA8rE,kBAA0C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAq1B,EAAArjB,cAAA,IAA2B,IAAAyR,EAAAyR,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAj0E0rB,EAAi0E,cAAsC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAyjB,EAAAsR,UAAA,IAAuB,IAAAO,EAAAJ,EAAA,IAA8Bx1B,OAAAC,cAAA,CAA37E0rB,EAA27E,oBAA4C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAs1B,EAAAZ,gBAAA,IAA6B,IAAAa,EAAAL,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAlkF0rB,EAAkkF,sBAA8C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAu1B,EAAApH,kBAAA,IAA+BzuB,OAAAC,cAAA,CAA9qF0rB,EAA8qF,kBAA0C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAu1B,EAAAN,cAAA,IAA2Bv1B,OAAAC,cAAA,CAAlxF0rB,EAAkxF,iBAAyC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAu1B,EAAAP,aAAA,IAA0B,IAAAza,EAAA2a,EAAA,KAA+Bx1B,OAAAC,cAAA,CAAn5F0rB,EAAm5F,kBAA0C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAua,EAAAqa,cAAA,IAA2Bl1B,OAAAC,cAAA,CAAv/F0rB,EAAu/F,mBAA2C7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAua,EAAAoa,eAAA,IAA4Bj1B,OAAAC,cAAA,CAA7lG0rB,EAA6lG,wBAAgD7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAua,EAAAyY,oBAAA,IAAiC,IAAAwC,EAAAN,EAAA,IAAgCx1B,OAAAC,cAAA,CAA7uG0rB,EAA6uG,WAAmC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAw1B,EAAA3jB,OAAA,IAAoB,IAAA4jB,EAAAP,EAAA,KAAiCx1B,OAAAC,cAAA,CAAp2G0rB,EAAo2G,QAAgC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAAy1B,EAAAlG,IAAA,IAAiB,IAAAmG,EAAAR,EAAA,KAAiCx1B,OAAAC,cAAA,CAAr9G0rB,EAAq9G,WAAmC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAA01B,EAAA7E,OAAA,IAAoB,IAAA8E,EAAAT,EAAA,KAAiCx1B,OAAAC,cAAA,CAA5kH0rB,EAA4kH,eAAuC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAA21B,EAAA7jB,WAAA,IAAwB,IAAA8jB,EAAAV,EAAA,KAAiCx1B,OAAAC,cAAA,CAA3sH0rB,EAA2sH,SAAiC7qB,WAAA,GAAAR,IAAA,WAA+B,OAAA41B,EAAA7jB,KAAA,IAAkBqZ,EAAA,SAAcvZ,QAAA2jB,EAAA3jB,OAAA,CAAA0d,KAAAkG,EAAAlG,IAAA,CAAAsB,QAAA6E,EAAA7E,OAAA,CAAA/e,YAAA6jB,EAAA7jB,WAAA,CAAAC,MAAA6jB,EAAA7jB,KAAA,MAA6FnU,EAAAC,OAAA,CAAAwtB,CAAA,cCAh63B,MAAM,YAAa,qBAAA6J,qBAAAA,CAAAA,oBAAAC,EAAA,CAAmEC,IAAS,EAAK,IAAAhK,EAAA,GAAS,MAC7G;;;;;CAKA,EAAAC,EAAArR,KAAA,CAAmJ,SAAAoR,CAAA,CAAAC,CAAA,EAAoB,oBAAAD,EAAwB,iDAA6G,QAAxDlB,EAAA,GAAqBrb,EAAAuc,EAAA/lB,KAAA,CAAAkmB,GAAiBvG,EAAA2F,CAA7BU,GAAA,IAA6BwK,MAAA,EAAArK,EAAkBpZ,EAAA,EAAYA,EAAAvD,EAAA3M,MAAA,CAAWkQ,IAAA,CAAK,IAAAkjB,EAAAzmB,CAAA,CAAAuD,EAAA,CAAWka,EAAAgJ,EAAAnxB,OAAA,MAAqB,IAAAmoB,CAAAA,EAAA,IAAiB,IAAA/R,EAAA+a,EAAAQ,MAAA,GAAAxJ,GAAA1D,IAAA,GAA2BtX,EAAAgkB,EAAAQ,MAAA,GAAAxJ,EAAAgJ,EAAApzB,MAAA,EAAA0mB,IAAA,EAAoC,MAAAtX,CAAA,KAAcA,CAAAA,EAAAA,EAAA5M,KAAA,QAAgBF,KAAAA,GAAA0lB,CAAA,CAAA3P,EAAA,EAAoB2P,CAAAA,CAAA,CAAA3P,EAAA,CAAAwb,SAAgqC3K,CAAA,CAAAC,CAAA,EAAwB,IAAI,OAAAA,EAAAD,EAAA,CAAY,MAAAC,EAAA,CAAS,OAAAD,CAAA,GAAjtC9Z,EAAA0T,EAAA,GAAqB,OAAAkF,CAAA,EAA9emB,EAAAgJ,SAAA,CAAuf,SAAAjJ,CAAA,CAAAC,CAAA,CAAAG,CAAA,EAA0B,IAAAD,EAAAC,GAAA,GAAY3c,EAAA0c,EAAAyK,MAAA,EAAA9L,EAAkB,sBAAArb,EAA0B,4CAAgD,IAAA8b,EAAAxoB,IAAA,CAAAipB,GAAe,4CAAgD,IAAApG,EAAAnW,EAAAwc,GAAW,GAAArG,GAAA,CAAA2F,EAAAxoB,IAAA,CAAA6iB,GAAkB,2CAA+C,IAAA5S,EAAAgZ,EAAA,IAAApG,EAAc,SAAAuG,EAAAtL,MAAA,EAAmB,IAAAqV,EAAA/J,EAAAtL,MAAA,GAAiB,GAAAgW,MAAAX,IAAA,CAAAY,SAAAZ,GAA2B,4CAAgDljB,GAAA,aAAM+jB,KAAAC,KAAA,CAAAd,EAAA,CAAwB,GAAA/J,EAAAnjB,MAAA,EAAa,IAAAuiB,EAAAxoB,IAAA,CAAAopB,EAAAnjB,MAAA,EAAsB,4CAAgDgK,GAAA,YAAMmZ,EAAAnjB,MAAA,CAAkB,GAAAmjB,EAAAtnB,IAAA,EAAW,IAAA0mB,EAAAxoB,IAAA,CAAAopB,EAAAtnB,IAAA,EAAoB,0CAA8CmO,GAAA,UAAMmZ,EAAAtnB,IAAA,CAAc,GAAAsnB,EAAAzT,OAAA,EAAc,sBAAAyT,EAAAzT,OAAA,CAAAoR,WAAA,CAA8C,6CAAiD9W,GAAA,aAAMmZ,EAAAzT,OAAA,CAAAoR,WAAA,GAA4F,GAA1DqC,EAAA5T,QAAA,EAAevF,CAAAA,GAAA,YAAM,EAAUmZ,EAAA1T,MAAA,EAAazF,CAAAA,GAAA,UAAM,EAAQmZ,EAAA3T,QAAA,CAAsF,OAAvE,iBAAA2T,EAAA3T,QAAA,CAAA2T,EAAA3T,QAAA,CAAAtW,WAAA,GAAAiqB,EAAA3T,QAAA,EAAiF,OAA2E,aAA3ExF,GAAA,oBAAiC,KAAM,WAAAA,GAAA,iBAA8B,KAAgD,YAAAA,GAAA,kBAAgC,KAAM,uDAA2D,OAAAA,CAAA,EAA1lD,IAAAoZ,EAAA9B,mBAAyBQ,EAAAZ,mBAAyBiC,EAAA,MAAYZ,EAAA,uCAAslD,KAAe/sB,EAAAC,OAAA,CAAAutB,CAAA,wBCN1sDiL,EAAA,MAAM,IAAA7K,EAAA,CAAO,aAAAA,CAAA,CAAAJ,CAAA,GAAkB,SAAAvc,CAAA,CAAA0c,CAAA,EAAe,aAAa,IAAAvG,EAAA,WAAAuQ,EAAA,YAAAe,EAAA,SAAA/J,EAAA,SAAA8I,EAAA,QAAA/jB,EAAA,QAAAgb,EAAA,OAAAla,EAAA,OAAAmkB,EAAA,SAAAjB,EAAA,UAAAkB,EAAA,eAAAjc,EAAA,UAAA/a,EAAA,SAAAi3B,EAAA,SAAA3P,EAAA,UAAArD,EAAA,WAAAiT,EAAA,WAAuOC,EAAA,SAAAhB,EAAA,QAAAiB,EAAA,OAAAlB,EAAA,aAAAmB,EAAA,UAAAjB,EAAA,SAAAJ,EAAA,UAAAsB,EAAA,SAAAC,EAAA,SAAAC,EAAA,YAAAC,EAAA,WAAAC,EAAA,QAAAC,EAAA,UAAAC,EAAA,QAAAC,EAAA,OAAAC,EAAA,SAAAC,EAAA,QAAAC,EAAA,WAAAC,EAAA,cAAAC,EAAA,SAAqQC,EAAA,SAAAnM,CAAA,CAAAJ,CAAA,EAAyB,IAAAvc,EAAA,GAAS,QAAA0c,KAAAC,EAAgBJ,CAAA,CAAAG,EAAA,EAAAH,CAAA,CAAAG,EAAA,CAAArpB,MAAA,MAA4B2M,CAAA,CAAA0c,EAAA,CAAAH,CAAA,CAAAG,EAAA,CAAAxE,MAAA,CAAAyE,CAAA,CAAAD,EAAA,EAA4B1c,CAAA,CAAA0c,EAAA,CAAAC,CAAA,CAAAD,EAAA,CAAW,OAAA1c,CAAA,EAAS+oB,EAAA,SAAApM,CAAA,EAAgC,QAATJ,EAAA,GAASvc,EAAA,EAAYA,EAAA2c,EAAAtpB,MAAA,CAAW2M,IAAKuc,CAAA,CAAAI,CAAA,CAAA3c,EAAA,CAAAgpB,WAAA,IAAArM,CAAA,CAAA3c,EAAA,CAA2B,OAAAuc,CAAA,EAASlf,EAAA,SAAAsf,CAAA,CAAAJ,CAAA,EAAmB,cAAAI,IAAAe,GAAAuL,KAAAA,EAAA1M,GAAAjnB,OAAA,CAAA2zB,EAAAtM,GAAA,EAAgEsM,EAAA,SAAAtM,CAAA,EAAsB,OAAAA,EAAAlqB,WAAA,IAAyGsnB,EAAA,SAAA4C,CAAA,CAAAJ,CAAA,EAAoB,UAAAI,IAAAe,EAAyC,OAAxBf,EAAAA,EAAAznB,OAAA,UAAj8B,IAAy9B,OAAAqnB,IAAAmK,EAAA/J,EAAAA,EAAAnpB,SAAA,GAAz9B,IAAy9B,EAAyC01B,EAAA,SAAAvM,CAAA,CAAAJ,CAAA,EAAgD,IAApB,IAAAC,EAAAnB,EAAAS,EAAA4K,EAAAhJ,EAAA8I,EAAAxmB,EAAA,EAAoBA,EAAAuc,EAAAlpB,MAAA,GAAAqqB,GAAA,CAAsB,IAAAjb,EAAA8Z,CAAA,CAAAvc,EAAA,CAAAyd,EAAAlB,CAAA,CAAAvc,EAAA,GAA0B,IAANwc,EAAAnB,EAAA,EAA4B,EAAtB5Y,EAAApP,MAAA,GAAAqqB,GAAsBjb,CAAA,CAAA+Z,EAAA,EAAiC,GAAjBkB,EAAAjb,CAAA,CAAA+Z,IAAA,CAAA2M,IAAA,CAAAxM,GAAyB,IAAAb,EAAA,EAAQA,EAAA2B,EAAApqB,MAAA,CAAWyoB,IAAK0K,EAAA9I,CAAA,GAAArC,EAAA,CAAgB,MAAPqL,CAAAA,EAAAjJ,CAAA,CAAA3B,EAAA,IAAO2L,GAAAf,EAAArzB,MAAA,GAA6BqzB,IAAAA,EAAArzB,MAAA,CAAiB,OAAAqzB,CAAA,KAAAvQ,EAAmB,KAAAuQ,CAAA,KAAAA,CAAA,IAAA/lB,IAAA,MAAA6lB,GAAkC,KAAAE,CAAA,KAAAA,CAAA,IAAiBA,IAAAA,EAAArzB,MAAA,CAAsB,OAAAqzB,CAAA,MAAAvQ,GAAAuQ,CAAA,IAAAyC,IAAA,EAAAzC,CAAA,IAAApzB,IAAA,CAAwF,KAAAozB,CAAA,KAAAF,EAAAA,EAAAtxB,OAAA,CAAAwxB,CAAA,IAAAA,CAAA,KAAv8ChK,KAAAA,EAA45C,KAAAgK,CAAA,KAAAF,EAAAE,CAAA,IAAA/lB,IAAA,MAAA6lB,EAAAE,CAAA,KAA55ChK,KAAAA,EAA4+C,IAAAgK,EAAArzB,MAAA,EAAsB,MAAAqzB,CAAA,KAAAF,EAAAE,CAAA,IAAA/lB,IAAA,MAAA6lB,EAAAtxB,OAAA,CAAAwxB,CAAA,IAAAA,CAAA,MAAlgDhK,KAAAA,CAAkgDA,EAA0D,KAAAgK,EAAA,CAAAF,GAAA9J,EAAiB1c,GAAA,IAAMopB,EAAA,SAAAzM,CAAA,CAAAJ,CAAA,EAAyB,QAAAvc,KAAAuc,EAAgB,UAAAA,CAAA,CAAAvc,EAAA,GAAAynB,GAAAlL,CAAA,CAAAvc,EAAA,CAAA3M,MAAA,GAAmC,SAAAmpB,EAAA,EAAYA,EAAAD,CAAA,CAAAvc,EAAA,CAAA3M,MAAA,CAAcmpB,IAAK,GAAAnf,EAAAkf,CAAA,CAAAvc,EAAA,CAAAwc,EAAA,CAAAG,GAAmB,MAAA3c,MAAAA,EAAA0c,EAAA1c,CAAA,MAAmB,GAAA3C,EAAAkf,CAAA,CAAAvc,EAAA,CAAA2c,GAAqB,MAAA3c,MAAAA,EAAA0c,EAAA1c,EAAkB,OAAA2c,CAAA,EAAgH0M,EAAA,CAAIC,GAAA,wDAAAC,GAAA,oBAAAC,MAAA,oEAAAC,GAAA,OAAsKC,EAAA,CAAOC,QAAA,mCAAAlD,EAAA,CAAAhJ,EAAA,4CAAAgJ,EAAA,CAAAhJ,EAAA,yFAA+J,4CAAAA,EAAAgJ,EAAA,4BAAAA,EAAA,CAAAhJ,EAAA4K,EAAA,iCAAA5B,EAAA,CAAAhJ,EAAA4K,EAAA,mcAAA5K,EAAAgJ,EAAA,wDAAAA,EAAA,CAAAhJ,EAAA,KAAAuK,EAAA,mEAAAvB,EAAA,CAAAhJ,EAAA,wDAAAgJ,EAAA,CAAAhJ,EAAA,sCAAAgJ,EAAA,CAAAhJ,EAAA,6DAA43B,EAAAgJ,EAAA,CAAAhJ,EAAA,6CAAAgJ,EAAA,CAAAhJ,EAAA,yCAAAA,EAAA,oBAAAuK,EAAA,CAAAvB,EAAA,0BAAAA,EAAA,CAAAhJ,EAAAkJ,EAAA,kCAAAF,EAAA,CAAAhJ,EAAA4K,EAAA,uCAAA5B,EAAA,CAAAhJ,EAAA,oCAAAgJ,EAAA,CAAAhJ,EAAA,mCAAAgJ,EAAA,CAAAhJ,EAAA4K,EAAA,wCAAA5B,EAAA,CAAAhJ,EAAA,QAAAuK,EAAA,0BAAAvB,EAAA,CAAAhJ,EAAAkJ,EAAA,sCAAAlJ,EAAA,OAAAuK,EAAA,4DAAAvK,EAAA,aAAAuK,EAAA,CAAAvB,EAAA,mCAAAhJ,EAAA,UAAAgJ,EAAA,8IAAAhJ,EAAAgJ,EAAA,mEAAAhJ,EAAA,gEAAq3B,GAAAA,EAAAkL,EAAA,CAAAlC,EAAA,4KAAAhJ,EAAAgJ,EAAA,mCAAAA,EAAA,CAAAhJ,EAAA,wDAAAgJ,EAAA,CAAAhJ,EAAA,iDAAAgJ,EAAA,CAAAhJ,EAAAsJ,EAAA,gDAAAtJ,EAAAsJ,EAAA,YAAAN,EAAA,8DAAAA,EAAA,CAAAhJ,EAAA,WAAAuK,EAAA,iEAAqhB,EAAAvK,EAAAgJ,EAAA,mDAAAA,EAAA,CAAAhJ,EAAA,0EAAAgJ,EAAAhJ,EAAA,mDAAAA,EAAA,CAAAgJ,EAAA2C,EAA5rF,CAAO,gGAAqrF,kCAAA3L,EAAAgJ,EAAA,4CAAAhJ,EAAA,YAAAgJ,EAAA,wCAAyV,EAAAA,EAAA,CAAAhJ,EAAAkJ,EAAA,keAA2f,EAAAlJ,EAAAgJ,EAAA,2BAAAhJ,EAAA,CAAAgJ,EAAA,qBAAAmD,IAAA,kDAAqH,GAAAjC,EAAA,0BAAgC,GAAAA,EAAAsB,EAAA,4BAAyC,GAAAtB,EAAA,gDAAAA,EAAA,gDAAAA,EAAA,wCAAoJ,GAAAA,EAAA,kDAAmD,GAAAA,EAAA,OAA9oL,GAA8oLsB,EAAA,oBAA4C,GAAAtB,EAAA,qIAAmF,GAAAA,EAAAsB,EAAA,GAAAY,OAAA,oFAAgJ,EAAApnB,EAAA,CAAAilB,EAAAY,EAAA,EAAA/kB,EAAAqkB,EAAA,qGAAAnlB,EAAA,CAAAilB,EAAAY,EAAA,EAAA/kB,EAAA5S,EAAA,8CAAoM,EAAA8R,EAAA,CAAAilB,EAAAZ,EAAA,EAAAvjB,EAAA5S,EAAA,gCAAyC,qEAAoE,EAAA8R,EAAA,CAAAilB,EAAAZ,EAAA,EAAAvjB,EAAAqkB,EAAA,mBAA0C,EAAAnlB,EAAA,CAAAilB,EAAAZ,EAAA,qCAAArkB,EAAA,CAAAilB,EAAAa,EAAA,EAAAhlB,EAAA5S,EAAA,iEAA+G,EAAA8R,EAAA,CAAAilB,EAAAQ,EAAA,EAAA3kB,EAAAqkB,EAAA,qCAA8D,qEAA0B,EAAAnlB,EAAA,CAAAilB,EAAAQ,EAAA,EAAA3kB,EAAA5S,EAAA,yDAAqG,mMAAA8R,EAAA,WAAAilB,EAAAe,EAAA,EAAAllB,EAAA5S,EAAA,mDAAA8R,EAAA,WAAAilB,EAAAe,EAAA,EAAAllB,EAAAqkB,EAAA,yBAA8T,kEAAmC,EAAAnlB,EAAA,CAAAilB,EAAA,SAAAnkB,EAAA5S,EAAA,+DAAiI,EAAA8R,EAAA,CAAAilB,EAAA,SAAAnkB,EAAA5S,EAAA,oCAAqD,EAAA8R,EAAA,CAAAilB,EAAA,WAAAnkB,EAAA5S,EAAA,qKAA0K,EAAA8R,EAAA,CAAAilB,EAAAU,EAAA,EAAA7kB,EAAA5S,EAAA,uCAAkE,EAAA8R,EAAA,CAAAilB,EAAAU,EAAA,EAAA7kB,EAAAqkB,EAAA,mEAA0F,EAAAnlB,EAAA,CAAAilB,EAA1pO,KAA0pO,EAAAnkB,EAAAqkB,EAAA,6GAAqF,yBAAAnlB,EAAA,CAAAilB,EAA/uO,KAA+uO,EAAAnkB,EAAA5S,EAAA,2FAAwK,EAAA8R,EAAA,CAAAilB,EAAA,WAAAnkB,EAAAqkB,EAAA,oEAAAnlB,EAAA,WAAAilB,EAAA,UAAAnkB,EAAA5S,EAAA,oBAAA8R,EAAA,CAAAilB,EAAAO,EAAA,EAAA1kB,EAAAqkB,EAAA,+CAA4L,EAAAnlB,EAAA,CAAAilB,EAAAO,EAAA,EAAA1kB,EAAA5S,EAAA,4GAAiI,EAAA8R,EAAA,CAAAilB,EAAAc,EAAA,EAAAjlB,EAAA5S,EAAA,0DAAA8R,EAAA,kBAAAilB,EAAAc,EAAA,EAAAjlB,EAAAqkB,EAAA,oFAAAnlB,EAAA,CAAAilB,EAAA,YAAAnkB,EAAA5S,EAAA,yDAAqQ,iCAAA8R,EAAA,CAAAilB,EAAAI,EAAA,EAAAvkB,EAAAqkB,EAAA,sDAAAnlB,EAAA,0BAAAilB,EAAAI,EAAA,EAAAvkB,EAAA5S,EAAA,kCAA+K,EAAA8R,EAAAilB,EAAA,CAAAnkB,EAAAqkB,EAAA,oDAAiE,EAAAnlB,EAAA,CAAAilB,EAAAb,EAAA,EAAAtjB,EAAA5S,EAAA,uFAA8D,EAAA8R,EAAA,CAAAilB,EAAAK,EAAA,EAAAxkB,EAAAqkB,EAAA,qDAAAnlB,EAAA,CAAAilB,EAAAK,EAAA,EAAAxkB,EAAA5S,EAAA,kBAAA8R,EAAA,CAAAilB,EAAA,QAAAnkB,EAAAqkB,EAAA,8CAAwL,oHAA0G,EAAAF,EAAA,CAAAjlB,EAAA,WAAAc,EAAA5S,EAAA,yCAAuE,EAAA8R,EAAA,CAAAilB,EAAA,SAAAnkB,EAAAqkB,EAAA,iCAA6D,oBAAoC,EAAAnlB,EAAA,CAAAilB,EAAA,UAAAnkB,EAAA5S,EAAA,uKAAgL,+DAAA+2B,EAAAjlB,EAAA,CAAAc,EAAA5S,EAAA,mNAAmS,8BAA8B,gCAAgC,oCAAA+2B,EAAAjlB,EAAA,CAAAc,EAAAqkB,EAAA,sBAAAnlB,EAAA,CAAAilB,EAAAS,EAAA,EAAA5kB,EAAAqkB,EAAA,uCAA2G,EAAAnlB,EAAA,CAAAilB,EAAA,cAAAnkB,EAAA5S,EAAA,iBAAA8R,EAAA,CAAAilB,EAAA,SAAAnkB,EAAA5S,EAAA,oBAAA8R,EAAA,CAAAilB,EAAA,YAAAnkB,EAAA5S,EAAA,qBAAA8R,EAAA,CAAAilB,EAAA,QAAAnkB,EAAAqkB,EAAA,4BAAqL,EAAAnlB,EAAA,CAAAilB,EAAA,SAAAnkB,EAAAqkB,EAAA,4BAAAnlB,EAAA,CAAAilB,EAAA,YAAAnkB,EAAAqkB,EAAA,mDAAAnlB,EAAA,CAAAilB,EAAA,mBAAAnkB,EAAAqkB,EAAA,uBAAwK,EAAAnlB,EAAA,CAAAilB,EAAA,aAAAnkB,EAAAqkB,EAAA,kBAAAnlB,EAAA,CAAAilB,EAAA,QAAAnkB,EAAAqkB,EAAA,qBAAkF,EAAAnlB,EAAA,CAAAilB,EAAA,QAAAnkB,EAAA5S,EAAA,0BAAyC,EAAA8R,EAAA,CAAAilB,EAAA,UAAAnkB,EAAA5S,EAAA,qBAA+C,EAAA8R,EAAA,CAAAilB,EAAA,UAAAnkB,EAAAqkB,EAAA,4BAAAnlB,EAAA,CAAAilB,EAAA,SAAAnkB,EAAAqkB,EAAA,sBAAyF,qCAAqC,GAAAF,EAAA,gBAAAjlB,EAAA,CAAAc,EAAAqkB,EAAA,wBAAoD,EAAAnlB,EAAA,CAAAilB,EAAA,aAAAnkB,EAAAqkB,EAAA,gCAAwD,EAAAnlB,EAAA,CAAAilB,EAAA,aAAAnkB,EAAAqkB,EAAA,yDAAAF,EAAA,SAAAjlB,EAAA,CAAAc,EAAA5S,EAAA,gCAAA+2B,EAAA,SAAAjlB,EAAA,CAAAc,EAAA5S,EAAA,kBAAA8R,EAAA,CAAAilB,EAAA,cAAAnkB,EAAA5S,EAAA,2CAAA8R,EAAA,CAAAilB,EAAA,YAAAnkB,EAAAqkB,EAAA,4BAAAnlB,EAAA,CAAAilB,EAAA,cAAAnkB,EAAAqkB,EAAA,sBAAAnlB,EAAA,CAAAilB,EAAA,UAAAnkB,EAAAqkB,EAAA,yBAAAnlB,EAAA,CAAAilB,EAAA,WAAAnkB,EAAAqkB,EAAA,uBAAAF,EAAAjlB,EAAA,CAAAc,EAAA5S,EAAA,wBAAic,GAAA8R,EAAA,YAAAilB,EAAAS,EAAA,EAAA5kB,EAAA5S,EAAA,2DAA4C,EAAA8R,EAAA,CAAAilB,EAAAgB,EAAA,EAAAnlB,EAAAqkB,EAAA,2CAA0E,EAAAnlB,EAAA,CAAAilB,EAAAgB,EAAA,EAAAnlB,EAAA5S,EAAA,4BAAA+2B,EAAA,CAAAnkB,EAAA0U,EAAA,yBAAiG,GAAAxV,EAAA,gBAAAilB,EAAAY,EAAA,EAAA/kB,EAAA0U,EAAA,gEAAiD,GAAAyP,EAAvwV,KAAuwV,EAAAnkB,EAAA0U,EAAA,oBAAAyP,EAAA,CAAAjlB,EAAAqkB,EAAA,QAAAvjB,EAAA0U,EAAA,eAAAxV,EAAAskB,EAAA,SAAAW,EAAAO,EAAA,EAAA1kB,EAAA0U,EAAA,gCAAAxV,EAAA,CAAAilB,EAAAI,EAAA,EAAAvkB,EAAA0U,EAAA,0BAA0M,wBAAAxV,EAAA,CAAAilB,EAAAa,EAAA,EAAAhlB,EAAA0U,EAAA,gCAAAxV,EAAA,CAAAilB,EAAAc,EAAA,EAAAjlB,EAAA0U,EAAA,uBAA8G,EAAAxV,EAAA,CAAAilB,EAAAe,EAAA,EAAAllB,EAAA0U,EAAA,+BAAmD,EAAAyP,EAAAjlB,EAAA,CAAAc,EAAA0U,EAAA,yGAAiH,GAAAyP,EAAA3N,EAAA,EAAAtX,EAAAsX,EAAA,EAAAxW,EAAA0U,EAAA,qDAA2E,GAAA1U,EAAA0U,EAAA,4CAAAyP,EAAAjlB,EAAA,CAAAc,EAAAmI,EAAA,4BAAkF,EAAAjJ,EAAA,CAAAilB,EAAA,WAAAnkB,EAAAmI,EAAA,uCAAAjJ,EAAA,CAAAilB,EAAAc,EAAA,EAAAjlB,EAAAmI,EAAA,wCAA6H,EAAAjJ,EAAA,CAAAilB,EAAAS,EAAA,EAAA5kB,EAAAmI,EAAA,sBAAAgc,EAAAjlB,EAAA,CAAAc,EAAAqR,EAAA,4CAAAnS,EAAA,CAAAilB,EAAAZ,EAAA,EAAAvjB,EAAAqR,EAAA,0BAAwH,EAAAnS,EAAA,CAAAilB,EAAAO,EAAA,EAAA1kB,EAAAqR,EAAA,+BAAqD,EAAAnS,EAAA,CAAAilB,EAAAgB,EAAA,EAAAnlB,EAAAqR,EAAA,0BAAAnS,EAAA,CAAAilB,EAAAiB,EAAA,EAAAplB,EAAAqR,EAAA,4CAAA8S,EAAA,CAAAnkB,EAAAskB,EAAA,kBAAAplB,EAAA,CAAAilB,EAAAI,EAAA,EAAAvkB,EAAAskB,EAAA,6DAAiK,EAAAplB,EAAA,CAAAc,EAAA5S,EAAA,iEAAsE,EAAA8R,EAAA,CAAAc,EAAAqkB,EAAA,kDAA4E,GAAArkB,EAAAqkB,EAAA,oEAA0D,GAAArkB,EAAA5S,EAAA,oCAAgF,EAAA8R,EAAA,CAAAilB,EAAA,aAAAoC,OAAA,iCAAArD,EAAA,CAAAhJ,EAAAsM,WAAA,iDAAAtD,EAAA,CAAAhJ,EAAA,yNAAAA,EAAAgJ,EAAA,kCAAyX,EAAAA,EAAAhJ,EAAA,EAAAuM,GAAA,sCAAAvM,EAAAgJ,EAAA,8BAA0F,uGAAAhJ,EAAA,CAAAgJ,EAAA2C,EAAAC,EAAA,2CAAA5L,EAAA,YAAAgJ,EAAA2C,EAAAC,EAAA,yDAAuP,uBAAc,0BAAA5C,EAAA,WAAAhJ,EAAA,8EAAAA,EAAAoL,EAAA,EAAApC,EAAA,+DAAAA,EAAAhJ,EAAA,+JAAgX,EAAAA,EAAAgJ,EAAA,eAAqB,EAAAA,EAAA,CAAAhJ,EAAAoJ,EAAA,+DAA6C,EAAAJ,EAAA,CAAAhJ,EAAA,+FAA2G,EAAAgJ,EAAA,CAAAhJ,EAAAkJ,EAAA,2BAAkD,yCAAAF,EAAA,CAAAhJ,EAAA,oDAAAgJ,EAAA,CAAAhJ,EAAA,mCAAAgJ,EAAA,CAAAhJ,EAAAsJ,EAAA,gDAAAtJ,EAAAmL,EAAA,CAAAnC,EAAA,uBAAgO,0HAA8H,6FAA+F,0aAA+Z,mBAAAhJ,EAAAgJ,EAAA,6BAAAhJ,EAAA,WAAAgJ,EAAA,oKAAAhJ,EAAAgJ,EAAA,GAA6PwD,GAAA,SAAAtN,CAAA,CAAAJ,CAAA,EAAoD,GAAzB,OAAAI,IAAA8K,IAAiBlL,EAAAI,EAAIA,EAAAD,GAAI,kBAAAuN,EAAA,EAAgC,WAAAA,GAAAtN,EAAAJ,GAAA2N,SAAA,GAAqC,IAAA1N,EAAA,OAAAxc,IAAA0mB,GAAA1mB,EAAAmqB,SAAA,CAAAnqB,EAAAmqB,SAAA,CAAAzN,EAA8CZ,EAAAa,GAAAH,CAAAA,GAAAA,EAAA4N,SAAA,CAAA5N,EAAA4N,SAAA,CAAr3d,EAAq3d/O,EAAwC3P,EAAA8Q,GAAAA,EAAA6N,aAAA,CAAA7N,EAAA6N,aAAA,CAAA3N,EAA2CzE,EAAAsE,EAAAuM,EAAAY,EAAAnN,GAAAmN,EAAsB9U,EAAA4H,GAAAA,EAAA4N,SAAA,EAAAtO,EAA4hC,OAApgC,KAAAwO,UAAA,YAA2B,IAAvsc3N,EAAuscA,EAAA,GAAmI,OAA1HA,CAAA,CAAAc,EAAA,CAAAf,EAAOC,CAAA,CAAA8J,EAAA,CAAA/J,EAAOwM,EAAAvoB,IAAA,CAAAgc,EAAAb,EAAA7D,EAAA0R,OAAA,EAA8BhN,CAAA,CAAA6J,EAAA,CAAtuc,OAAtB7J,EAA4vcA,CAAA,CAAA8J,EAAA,IAAtuc/I,EAAAf,EAAAznB,OAAA,YAAh2B,IAAg2BsB,KAAA,SAAAkmB,EAA0vc9H,GAAA4H,GAAAA,EAAA+N,KAAA,SAAA/N,EAAA+N,KAAA,CAAAC,OAAA,EAAArU,GAA6CwG,CAAAA,CAAA,CAAAc,EAAA,UAAad,CAAA,EAAU,KAAA8N,MAAA,YAAuB,IAAA9N,EAAA,GAA0C,OAAjCA,CAAA,CAAAgL,EAAA,CAAAjL,EAAOwM,EAAAvoB,IAAA,CAAAgc,EAAAb,EAAA7D,EAAA2R,GAAA,EAA0BjN,CAAA,EAAU,KAAA+N,SAAA,YAA0B,IAAA/N,EAAA,GAA0M,OAAjMA,CAAA,CAAA+K,EAAA,CAAAhL,EAAOC,CAAA,CAAAla,EAAA,CAAAia,EAAOC,CAAA,CAAApZ,EAAA,CAAAmZ,EAAOwM,EAAAvoB,IAAA,CAAAgc,EAAAb,EAAA7D,EAAA4R,MAAA,EAA6BjV,GAAA,CAAA+H,CAAA,CAAApZ,EAAA,EAAAmI,GAAAA,EAAAif,MAAA,EAA0BhO,CAAAA,CAAA,CAAApZ,EAAA,CAAA5S,CAAAA,EAAOikB,GAAA+H,aAAAA,CAAA,CAAAla,EAAA,EAAA+Z,GAAA,OAAAA,EAAAoO,UAAA,GAAAlE,GAAAlK,EAAAqO,cAAA,EAAArO,EAAAqO,cAAA,KAA2FlO,CAAA,CAAAla,EAAA,QAAYka,CAAA,CAAApZ,EAAA,CAAAqkB,GAAOjL,CAAA,EAAU,KAAAmO,SAAA,YAA0B,IAAAnO,EAAA,GAAoD,OAA3CA,CAAA,CAAAc,EAAA,CAAAf,EAAOC,CAAA,CAAA8J,EAAA,CAAA/J,EAAOwM,EAAAvoB,IAAA,CAAAgc,EAAAb,EAAA7D,EAAA6R,MAAA,EAA6BnN,CAAA,EAAU,KAAAoO,KAAA,YAAsB,IAAApO,EAAA,GAAmJ,OAA1IA,CAAA,CAAAc,EAAA,CAAAf,EAAOC,CAAA,CAAA8J,EAAA,CAAA/J,EAAOwM,EAAAvoB,IAAA,CAAAgc,EAAAb,EAAA7D,EAAA+R,EAAA,EAAyBpV,GAAA,CAAA+H,CAAA,CAAAc,EAAA,EAAA/R,GAAAA,WAAAA,EAAAsf,QAAA,EAAuCrO,CAAAA,CAAA,CAAAc,EAAA,CAAA/R,EAAAsf,QAAA,CAAA91B,OAAA,cAAA0zB,GAAA1zB,OAAA,UAAA2zB,EAAA,EAA4DlM,CAAA,EAAU,KAAAuN,SAAA,YAA0B,OAAOhuB,GAAA,KAAA+uB,KAAA,GAAAtB,QAAA,KAAAW,UAAA,GAAAR,OAAA,KAAAgB,SAAA,GAAAd,GAAA,KAAAe,KAAA,GAAAlB,OAAA,KAAAa,SAAA,GAAAd,IAAA,KAAAa,MAAA,KAA8H,KAAAQ,KAAA,YAAsB,OAAAnP,CAAA,EAAU,KAAAoP,KAAA,UAAAvO,CAAA,EAA8D,OAAvCb,EAAA,OAAAa,IAAAe,GAAAf,EAAAtpB,MAAA,CAAx7f,IAAw7f0mB,EAAA4C,EAAx7f,KAAw7fA,EAAuC,MAAa,KAAAuO,KAAA,CAAApP,GAAc,KAAamO,CAAAA,GAAA1I,OAAA,CAAvggB,SAA0hgB0I,GAAAkB,OAAA,CAAApC,EAAA,CAAAtL,EAAAgJ,EAAAD,EAAA,EAAoCyD,GAAAmB,GAAA,CAAArC,EAAA,CAAApB,EAAA,EAA4BsC,GAAAoB,MAAA,CAAAtC,EAAA,CAAAtmB,EAAAilB,EAAAnkB,EAAAmI,EAAA/a,EAAAsnB,EAAA2P,EAAAhT,EAAAiT,EAAA,EAA+CoC,GAAAqB,MAAA,CAAArB,GAAAsB,EAAA,CAAAxC,EAAA,CAAAtL,EAAAgJ,EAAA,EAA6C,OAAAlK,IAAAmK,GAAiB/J,EAAA3tB,OAAA,EAA4ButB,CAAAA,EAAAI,EAAA3tB,OAAA,CAAAi7B,EAAA,EAAqB1N,EAAA0N,QAAA,CAAAA,IAA+Cv5B,EAAA86B,IAAU,CAAqChE,KAAA7xB,IAAnC6xB,CAAAA,EAAA,CAAQ,WAAW,OAAAyC,EAAA,GAAgBtpB,IAAA,CAAA3R,EAAA0B,EAAA1B,EAAAD,EAAA,GAAAA,CAAAA,EAAAC,OAAA,CAAAw4B,CAAA,EAAG,OAAAxnB,IAAA0mB,GAAsB1mB,CAAAA,EAAAiqB,QAAA,CAAAA,EAAA,EAAqB,IAAAwB,GAAA,OAAAzrB,IAAA0mB,GAAA1mB,CAAAA,EAAA0rB,MAAA,EAAA1rB,EAAA2rB,KAAA,EAAwC,GAAAF,IAAA,CAAAA,GAAAvvB,EAAA,EAAa,IAAA0vB,GAAA,IAAA3B,EAAmBwB,CAAAA,GAAAvvB,EAAA,CAAA0vB,GAAA1B,SAAA,GAAmBuB,GAAAvvB,EAAA,CAAA/K,GAAA,YAAoB,OAAAy6B,GAAAX,KAAA,IAAkBQ,GAAAvvB,EAAA,CAAAQ,GAAA,UAAAigB,CAAA,EAAqBiP,GAAAV,KAAA,CAAAvO,GAAW,IAAAJ,EAAAqP,GAAA1B,SAAA,GAAoB,QAAAlqB,KAAAuc,EAAgBkP,GAAAvvB,EAAA,CAAA8D,EAAA,CAAAuc,CAAA,CAAAvc,EAAA,IAAgB,iBAAAwQ,OAAAA,OAAA,QAA0C+L,EAAA,GAAS,SAAA8J,EAAArmB,CAAA,EAAgC,IAAA0c,EAAAH,CAAA,CAAAvc,EAAA,CAAW,GAAA0c,KAAA/mB,IAAA+mB,EAAkB,OAAAA,EAAA1tB,OAAA,CAAiB,IAAAwtB,EAAAD,CAAA,CAAAvc,EAAA,EAAYhR,QAAA,IAAYqsB,EAAA,GAAW,IAAIsB,CAAA,CAAA3c,EAAA,CAAAW,IAAA,CAAA6b,EAAAxtB,OAAA,CAAAwtB,EAAAA,EAAAxtB,OAAA,CAAAq3B,GAAqDhL,EAAA,UAAQ,CAAQA,GAAA,OAAAkB,CAAA,CAAAvc,EAAA,CAAiB,OAAAwc,EAAAxtB,OAAA,CAAiBq3B,EAAAC,EAAA,CAAmEC,KAAc,IAAAvmB,EAAAqmB,EAAA,IAA+Bt3B,CAAAA,EAAAC,OAAA,CAAAgR,CAAA,0BCgBnhiBjR,CAAAA,EAAOC,OAAO,CARqB,CACjC,YACA,UACA,aACA,WACA,YACD,6BCbD6B,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAC7C+B,MAAA,EACA,GAWA86B,SANAxsB,CAAA,CAAAqO,CAAA,EACA,QAAArN,KAAAqN,EAAA7c,OAAAC,cAAA,CAAAuO,EAAAgB,EAAA,CACA1O,WAAA,GACAR,IAAAuc,CAAA,CAAArN,EAAA,EAEA,EACArR,EAAA,CACA88B,eAAA,WACA,OAAAA,CACA,EACAC,YAAA,WACA,OAAAA,CACA,CACA,GAEA,IAAAC,EAAA,GAAAC,CADyBv7B,EAAQ,GAAkB,EACnD4Q,iBAAA,CACA,SAAA4qB,EAAAjkB,CAAA,CAAAkkB,CAAA,EACA,IAAAC,EAAAD,EAAAvQ,MAAA,CAAA3T,EAAA,wBACA,GAAAmkB,EAMA,OACA14B,IAJAy4B,EAAAz4B,GAAA,CAAAuU,GAKAokB,UAJA9Q,OAAA6Q,GAKAE,SAJAH,EAAAvQ,MAAA,CAAA3T,EAAA,qBAKA,CACA,CACA,SAAA8jB,EAAA9jB,CAAA,CAAAkkB,CAAA,CAAAlnB,CAAA,EACA,IAAAsnB,EAAAL,EAAAjkB,EAAAkkB,UACA,EAGAH,EAAA9qB,GAAA,CAAAqrB,EAAAtnB,GAFAA,GAGA,CACA,SAAA6mB,EAAA7jB,CAAA,CAAAkkB,CAAA,SAEA,EADAlrB,QAAA,KAIAgH,GAAAkkB,EACAD,EAAAjkB,EAAAkkB,UAGA,kDCrDAt7B,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAC7C+B,MAAA,EACA,GAYA86B,SANAxsB,CAAA,CAAAqO,CAAA,EACA,QAAArN,KAAAqN,EAAA7c,OAAAC,cAAA,CAAAuO,EAAAgB,EAAA,CACA1O,WAAA,GACAR,IAAAuc,CAAA,CAAArN,EAAA,EAEA,EACArR,EAAA,CACAw9B,YAAA,WACA,OAAAA,CACA,EACAC,eAAA,WACA,OAAAA,CACA,EACAN,OAAA,WACA,OAAAA,CACA,CACA,GACA,IAAAO,EAAiBh8B,EAAQ,KACzBy7B,EAAA,CACAz4B,IAAAA,GACAuU,EAAAvU,GAAA,CAEAkoB,OAAAA,CAAA3T,EAAA5H,IACA4H,EAAA7V,OAAA,CAAAjB,GAAA,CAAAkP,EAEA,EAkBA,eAAAssB,EAAAL,CAAA,CAAAx3B,CAAA,EACA,IAAYpB,IAAAA,CAAA,CAAAkI,OAAAA,CAAA,CAAAxJ,QAAAA,CAAA,CAAAyK,KAAAA,CAAA,CAAAvB,MAAAA,CAAA,CAAAC,YAAAA,CAAA,CAAAG,UAAAA,CAAA,CAAAG,KAAAA,CAAA,CAAAC,SAAAA,CAAA,CAAAC,SAAAA,CAAA,CAAAC,eAAAA,CAAA,EAAsGlH,EAClH,OACAw3B,SAAAA,EACAp9B,IAAA,QACA4F,QAAA,CACApB,IAAAA,EACAkI,OAAAA,EACAxJ,QAAA,IACA2G,MAAAoH,IAAA,CAAA/N,GACA,CACA,kBACAw6B,WA5BA,IAAA3Y,EAAA,SAAAA,KAAA,MAAAzd,KAAA,OAEA,QAAAmmB,EAAA,EAAmBA,EAAA1I,EAAA5gB,MAAA,CAAkBspB,IACrC,GAAA1I,CAAA,CAAA0I,EAAA,CAAAtpB,MAAA,IACA4gB,EAAAA,EAAApe,KAAA,CAAA8mB,GACA,KACA,CAQA,MAAA1I,CADAA,EAAAA,CAFAA,EAAAA,CAFAA,EAAAA,EAAAzR,MAAA,KAAAikB,EAAAxsB,QAAA,kBAEApE,KAAA,OAEAmb,GAAA,IAAAmF,EAAAjhB,OAAA,kCAAA6kB,IAAA,KACAnjB,IAAA,QACA,IAcA,CACA,CACAiG,KAAAA,EAAyBgwB,EAAM1sB,IAAA,OAAArL,EAAAg4B,WAAA,IAAA7zB,QAAA,gBAC/BqC,MAAAA,EACAC,YAAAA,EACAG,UAAAA,EACAG,KAAAA,EACAC,SAAAA,EACAC,SAAAA,EACAC,eAAAA,CACA,CACA,CACA,CAQA,eAAAwwB,EAAAO,CAAA,CAAAj4B,CAAA,EACA,IAAAk4B,EAAA,GAAAN,EAAAZ,cAAA,EAAAh3B,EAAAq3B,GACA,IAAAa,EAEA,OAAAD,EAAAj4B,GAEA,IAAYw3B,SAAAA,CAAA,CAAAD,UAAAA,CAAA,EAAsBW,EAClCC,EAAA,MAAAN,EAAAL,EAAAx3B,GACAo4B,EAAA,MAAAH,EAAA,oBAAyDV,EAAU,GACnEzwB,OAAA,OACAiB,KAAAqO,KAAAkI,SAAA,CAAA6Z,GACAzvB,KAAA,CAEA2vB,SAAA,EACA,CACA,GACA,IAAAD,EAAAnwB,EAAA,CACA,qCAAiDmwB,EAAAjwB,MAAA,CAAY,GAE7D,IAAAmwB,EAAA,MAAAF,EAAA9vB,IAAA,GACA,CAAYlO,IAAAA,CAAA,EAAMk+B,EAClB,OAAAl+B,GACA,eACA,OAAA69B,EAAAj4B,EACA,aACA,gBACA,sCAAsDA,EAAA8G,MAAA,EAAgB,EAAE9G,EAAApB,GAAA,CAAY,GAGpF,CACA,OAAA25B,SArCAD,CAAA,EACA,IAAYnwB,OAAAA,CAAA,CAAA7K,QAAAA,CAAA,CAAAyK,KAAAA,CAAA,EAAwBuwB,EAAA94B,QAAA,CACpC,WAAAsI,SAAAC,EAA+BgwB,EAAM1sB,IAAA,CAAAtD,EAAA,gBACrCI,OAAAA,EACA7K,QAAA,IAAAoK,QAAApK,EACA,EACA,EA+BAg7B,EACA,CACA,SAAAX,EAAAM,CAAA,EAUA,OATIr8B,EAAAC,CAAM,CAAA0hB,KAAA,UAAAnb,CAAA,CAAA6D,CAAA,EACV,IAAAuyB,QAGA,CAAAvyB,MAAAA,EAAA,aAAAuyB,CAAAA,EAAAvyB,EAAAyC,IAAA,SAAA8vB,EAAAH,QAAA,EACAJ,EAAA71B,EAAA6D,GAEAyxB,EAAAO,EAAA,IAAAjyB,QAAA5D,EAAA6D,GACA,EACA,KACQrK,EAAAC,CAAM,CAAA0hB,KAAA,CAAA0a,CACd,CACA,8BCjIAl8B,OAAAC,cAAA,CAAA9B,EAAA,aAA6C,CAC7C+B,MAAA,EACA,GAWA86B,SANAxsB,CAAA,CAAAqO,CAAA,EACA,QAAArN,KAAAqN,EAAA7c,OAAAC,cAAA,CAAAuO,EAAAgB,EAAA,CACA1O,WAAA,GACAR,IAAAuc,CAAA,CAAArN,EAAA,EAEA,EACArR,EAAA,CACA2b,kBAAA,WACA,OAAAA,CACA,EACAC,mBAAA,WACA,OAAAA,CACA,CACA,GACA,IAAA8hB,EAAiBh8B,EAAQ,KACzByiB,EAAeziB,EAAQ,KACvB,SAAAia,IACA,SAAAwI,EAAAsZ,cAAA,EAAsC/7B,EAAAC,CAAM,CAAA0hB,KAAA,CAC5C,CACA,SAAAzH,EAAAuC,CAAA,EACA,OAAAlF,EAAAhD,IAAA,GAAAynB,EAAAX,WAAA,EAAA9jB,EAAAkL,EAAAgZ,MAAA,KAAAhf,EAAAlF,EAAAhD,GACA,wBC3BA,IAAAsoB,EAAA,CACAC,aAAA,GACAxc,IAAA,GACAyc,OAAA,EACA,EAEA,SAAAC,EAAAC,CAAA,EACA,uBAAAA,GAAA,EAAAA,EAAA5T,IAAA,EACA,CAEA,SAAA6T,EAAAC,CAAA,CAAAx2B,CAAA,EACA,IAiDAy2B,EAGAztB,EACAtP,EACAg9B,EAtDAC,EAAAH,EAAAr3B,KAAA,MAAqCgM,MAAA,CAAAkrB,GAGrC70B,GA8CAi1B,EA/CAE,EAAAC,KAAA,GAkDA5tB,EAAA,GACAtP,EAAA,GAEAg9B,CADAA,EAAAD,EAAAt3B,KAAA,OACAnD,MAAA,IACAgN,EAAA0tB,EAAAE,KAAA,GACAl9B,EAAAg9B,EAAAn3B,IAAA,OAEA7F,EAAA+8B,EAGA,CAAWztB,KAAAA,EAAAtP,MAAAA,CAAA,GA1DXsP,EAAAxH,EAAAwH,IAAA,CACAtP,EAAA8H,EAAA9H,KAAA,CAEAsG,EAAAA,EACAxG,OAAAyjB,MAAA,IAAsBiZ,EAAAl2B,GACtBk2B,EAEA,IACAx8B,EAAAsG,EAAAm2B,YAAA,CAAA3S,mBAAA9pB,GAAAA,CACA,CAAI,MAAAwrB,EAAA,CACJtK,QAAApe,KAAA,CACA,8EACA9C,EACA,gEACAwrB,EAEA,CAEA,IAAAva,EAAA,CACA3B,KAAAA,EACAtP,MAAAA,CACA,EAqBA,OAnBAi9B,EAAAxtB,OAAA,UAAA0tB,CAAA,EACA,IAAAC,EAAAD,EAAA13B,KAAA,MACAjE,EAAA47B,EAAAF,KAAA,GAAAG,QAAA,GAAA37B,WAAA,GACA1B,EAAAo9B,EAAAv3B,IAAA,KACArE,CAAA,YAAAA,EACAyP,EAAAiH,OAAA,KAAAC,KAAAnY,GACMwB,YAAAA,EACNyP,EAAAoP,MAAA,CAAAwC,SAAA7iB,EAAA,IACMwB,WAAAA,EACNyP,EAAAgH,MAAA,IACMzW,aAAAA,EACNyP,EAAA8G,QAAA,IACMvW,aAAAA,EACNyP,EAAA+G,QAAA,CAAAhY,EAEAiR,CAAA,CAAAzP,EAAA,CAAAxB,CAEA,GAEAiR,CACA,CAkBA,SAAAmJ,EAAAjU,CAAA,CAAAG,CAAA,EAKA,GAJAA,EAAAA,EACAxG,OAAAyjB,MAAA,IAAsBiZ,EAAAl2B,GACtBk2B,EAEA,CAAAr2B,SACA,EAAA8Z,GAAA,CAGA,GAFA,GAMA,GAAA9Z,EAAA9E,OAAA,EACA,sBAAA8E,EAAA9E,OAAA,CAAA8pB,YAAA,CAGAhlB,EAAAA,EAAA9E,OAAA,CAAA8pB,YAAA,QACM,GAAAhlB,EAAA9E,OAAA,eAEN8E,EAAAA,EAAA9E,OAAA,mBACM,CAEN,IAAAi8B,EACAn3B,EAAA9E,OAAA,CACAvB,OAAA4L,IAAA,CAAAvF,EAAA9E,OAAA,EAAA2N,IAAA,UAAAxN,CAAA,EACA,MAAAA,eAAAA,EAAAE,WAAA,EACA,GACA,CAEA47B,IAAAn3B,EAAA9E,OAAA,CAAA4P,MAAA,EAAA3K,EAAAo2B,MAAA,EACAxb,QAAAC,IAAA,CACA,oOAGAhb,EAAAm3B,CACA,QAUA,CARAt1B,MAAAC,OAAA,CAAA9B,IACAA,CAAAA,EAAA,CAAAA,EAAA,EAOAG,CAJAA,EAAAA,EACAxG,OAAAyjB,MAAA,IAAsBiZ,EAAAl2B,GACtBk2B,CAAA,EAEAvc,GAAA,EAMA9Z,EAAAsL,MAAA,CAAAkrB,GAAA3V,MAAA,UAAAzlB,CAAA,CAAAq7B,CAAA,EACA,IAAA3rB,EAAA4rB,EAAAD,EAAAt2B,GAEA,OADA/E,CAAA,CAAA0P,EAAA3B,IAAA,EAAA2B,EACA1P,CACA,EALA,IAJA4E,EAAAsL,MAAA,CAAAkrB,GAAA1c,GAAA,UAAA2c,CAAA,EACA,OAAAC,EAAAD,EAAAt2B,EACA,EASA,CAsFAtI,EAAAC,OAAA,CAAAmc,EACApc,EAAAC,OAAA,CAAAmc,KAAoB,CAAAA,EACpBpc,EAAAC,OAAA,CAAA4+B,WAA0B,CAAAA,EAC1B7+B,EAAAC,OAAA,CAAA2D,kBAAiC,CA5EjC,SAAAC,CAAA,EACA,GAAAmG,MAAAC,OAAA,CAAApG,GACA,OAAAA,EAEA,oBAAAA,EACA,SAGA,IAEAC,EACAC,EACAC,EACAC,EACAC,EANAC,EAAA,GACAC,EAAA,EAOA,SAAAC,IACA,KAAAD,EAAAP,EAAAS,MAAA,OAAAC,IAAA,CAAAV,EAAAW,MAAA,CAAAJ,KACAA,GAAA,EAEA,OAAAA,EAAAP,EAAAS,MAAA,CASA,KAAAF,EAAAP,EAAAS,MAAA,GAIA,IAHAR,EAAAM,EACAF,EAAA,GAEAG,KAEA,GAAAN,MADAA,CAAAA,EAAAF,EAAAW,MAAA,CAAAJ,EAAA,EACA,CAQA,IANAJ,EAAAI,EACAA,GAAA,EAEAC,IACAJ,EAAAG,EAEAA,EAAAP,EAAAS,MAAA,EAjBAP,MAFAA,CAAAA,EAAAF,EAAAW,MAAA,CAAAJ,EAAA,GAEAL,MAAAA,GAAkCA,MAAAA,GAkBlCK,GAAA,CAIAA,CAAAA,EAAAP,EAAAS,MAAA,EAAAT,MAAAA,EAAAW,MAAA,CAAAJ,IAEAF,EAAA,GAEAE,EAAAH,EACAE,EAAAR,IAAA,CAAAE,EAAAY,SAAA,CAAAX,EAAAE,IACAF,EAAAM,GAIAA,EAAAJ,EAAA,CAEA,MACAI,GAAA,EAIA,EAAAF,GAAAE,GAAAP,EAAAS,MAAA,GACAH,EAAAR,IAAA,CAAAE,EAAAY,SAAA,CAAAX,EAAAD,EAAAS,MAAA,EAEA,CAEA,OAAAH,CACA,uBC1NAnE,CAAAA,EAAAC,OAAA,YACA,YACA,wFAGA,kC8CDAqY,EAAA4G,0Q7CLO,IAAAqgB,YAAA,IACAC,EAAA,IAAAC,YCcAC,EAAA,IACP,IAAAC,EAAAC,KAAAC,GACAC,EAAA,IAAAC,WAAAJ,EAAAr7B,MAAA,EACA,QAAAspB,EAAA,EAAoBA,EAAA+R,EAAAr7B,MAAA,CAAmBspB,IACvCkS,CAAA,CAAAlS,EAAA,CAAA+R,EAAAK,UAAA,CAAApS,GAEA,OAAAkS,CACA,ECrBaG,EDsBN,IACP,IAAAJ,EAAA13B,EACA03B,aAAAE,YACAF,CAAAA,EAAkBL,EAAOvH,MAAA,CAAA4H,EAAA,EAEzBA,EAAAA,EAAA15B,OAAA,WAAAA,OAAA,WAAAA,OAAA,WACA,IACA,OAAAu5B,EAAAG,EACA,CACA,MAAA1e,EAAA,CACA,oEACA,CACA,EEpCO+e,EAAA,IACP,IAAA9b,EAUA,OATA+b,EACA/b,EAAA+b,EAEA,oBAAA7c,MACAc,EAAA,IAAAzhB,IAA8B6C,QAAAC,OAAA,GAAAgP,IAAA,CAAA9S,EAAA8O,IAAA,CAAA9O,EAAA,MAA8B8S,IAAA,GAAS2K,QAAAkE,CAAA,CAAgB,GAAAA,KAAA3gB,IAGrFyhB,EAAAd,MAEA,IAAA3gB,IAAAyhB,KAAAzhB,EACA,CCZO,OAAAy9B,UAAAr9B,MACPC,YAAA1B,CAAA,CAAAgQ,EAAA,iBAAA2C,CAAA,EACA,MAAA3S,GACA,KAAAgQ,IAAA,CAAAA,EACA,KAAA2C,OAAA,CAAAA,CACA,CACA,CACO,MAAAosB,UAAAD,EACPp9B,YAAAiR,CAAA,EACA,4EAAAA,EACA,CACA,CACO,MAAAqsB,UAAAF,EACPp9B,YAAAiR,CAAA,EACA,qEAAAA,EACA,CACA,CACO,MAAAssB,UAAAH,EACPp9B,YAAAiR,CAAA,EACA,0EAAAA,EACA,CACA,EAGA,SAAAusB,CAAA,EACAA,EAAA,UACAA,EAAA,8BACAA,EAAA,8BACAA,EAAA,sBACAA,EAAA,8BACAA,EAAA,8BACAA,EAAA,0BACAA,EAAA,0BACAA,EAAA,oBACAA,EAAA,oBACAA,EAAA,oBACAA,EAAA,oBACAA,EAAA,oBACAA,EAAA,oBACAA,EAAA,mBACA,EAACA,GAAAA,CAAAA,EAAA,IC7BM,OAAAC,EACPz9B,YAAA2B,CAAA,EAAuBtB,QAAAA,EAAA,EAAY,CAAA88B,YAAAA,CAAA,CAAAO,OAAAA,EAAwBF,EAAcG,GAAA,EAAQ,EAAI,EACrF,KAAAh8B,GAAA,CAAAA,EACA,KAAAtB,OAAA,CAAAA,EACA,KAAAq9B,MAAA,CAAAA,EACA,KAAApd,KAAA,CAAqB4c,EAAYC,EACjC,CAKAS,QAAAC,CAAA,EACA,KAAAx9B,OAAA,CAAAy9B,aAAA,WAA+CD,EAAM,EAOrDE,OAAAC,CAAA,CAAA14B,EAAA,EAAqC,MACrC6Y,EA/B6BxP,EAAAsvB,EAAApJ,EAAAqJ,EAgC7B,OAhC6BvvB,EAgC7B,KAhC6BsvB,EAgC7B,OAhC6BpJ,EAgC7B,OAhC6BqJ,EAgC7B,YACA,QAUApzB,EATA,IAAwBzK,QAAAA,CAAA,CAAAwJ,OAAAA,CAAA,CAAAiB,KAAAqzB,CAAA,EAAsC74B,EAC9DskB,EAAA,GACA,CAAsB8T,OAAAA,CAAA,EAASp4B,EAC/Bo4B,GACAA,CAAAA,EAAA,KAAAA,MAAA,EAEAA,GAAAA,QAAAA,GACA9T,CAAAA,CAAA,aAAA8T,CAAA,EAGAS,GACA,KAAAr/B,OAAA8d,SAAA,CAAAC,cAAA,CAAAjO,IAAA,CAAAvO,EAAA,kBAAAA,CAAA,IACA,oBAAA+9B,MAAAD,aAAAC,MACAD,aAAAE,aAGAzU,CAAA,4CACA9e,EAAAqzB,GAEA,iBAAAA,GAEAvU,CAAA,8BACA9e,EAAAqzB,GAEA,oBAAAG,UAAAH,aAAAG,SAGAxzB,EAAAqzB,GAIAvU,CAAA,oCACA9e,EAAAqO,KAAAkI,SAAA,CAAA8c,KAGA,IAAA57B,EAAA,WAAA+d,KAAA,IAAqD,KAAA3e,GAAA,CAAS,GAAGq8B,EAAa,GAC9En0B,OAAAA,GAAA,OAKAxJ,QAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAyEqH,GAAA,KAAAvpB,OAAA,EAAAA,GACzEyK,KAAAA,CACA,GAAiBkK,KAAA,KACjB,UAA8BqoB,EAAmBpb,EACjD,GACAsc,EAAAh8B,EAAAlC,OAAA,CAAAjB,GAAA,kBACA,GAAAm/B,GAAAA,SAAAA,EACA,UAA8BjB,EAAmB/6B,GAEjD,IAAAA,EAAAyI,EAAA,CACA,UAA8BuyB,EAAkBh7B,GAEhD,IAAAi8B,EAAA,QAAArgB,CAAAA,EAAA5b,EAAAlC,OAAA,CAAAjB,GAAA,mBAAA+e,KAAA,IAAAA,EAAAA,EAAA,cAAA1Z,KAAA,KAAuI,IAAAujB,IAAA,GAkBvI,OAAyBxG,IAAA,CAhBzBgd,qBAAAA,EACA,MAAAj8B,EAAA8I,IAAA,GAEAmzB,6BAAAA,EACA,MAAAj8B,EAAAk8B,IAAA,GAEAD,sBAAAA,EACAj8B,EAEAi8B,wBAAAA,EACA,MAAAj8B,EAAAm8B,QAAA,GAIA,MAAAn8B,EAAAmf,IAAA,GAEyB5f,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CACzB,CACA,EA5GA,GAAA+yB,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EAwGA,CACA,CC/GA,IACA6W,gBAAAA,CAAA,CACAkD,sBAAAA,CAAA,CACAvC,uBAAAA,CAAA,CACA0D,0BAAAA,CAAA,CACA/F,iBAAAA,CAAA,CACA,OENO4B,EAAA,CAA0B,oCAAwC,GAKzE,SAAAwc,CAAA,EACAA,CAAA,CAAAA,EAAA,2BACAA,CAAA,CAAAA,EAAA,eACAA,CAAA,CAAAA,EAAA,qBACAA,CAAA,CAAAA,EAAA,kBACA,EAACA,GAAAA,CAAAA,EAAA,KAED,SAAAC,CAAA,EACAA,EAAA,gBACAA,EAAA,kBACAA,EAAA,gBACAA,EAAA,kBACAA,EAAA,iBACA,EAAGC,GAAmBA,CAAAA,EAAc,KAEpC,SAAAC,CAAA,EACAA,EAAA,kBACAA,EAAA,kBACAA,EAAA,gBACAA,EAAA,kBACAA,EAAA,kBACAA,EAAA,2BACA,EAACA,GAAAA,CAAAA,EAAA,KAGDC,CACCA,GAAAA,CAAAA,EAAA,GAAgC,EADjC,sBAGA,SAAAC,CAAA,EACAA,EAAA,wBACAA,EAAA,YACAA,EAAA,kBACAA,EAAA,eACA,EAACA,GAAAA,CAAAA,EAAA,ICrCc,OAAAC,EACft/B,aAAA,CACA,KAAAu/B,aAAA,EACA,CACAtK,OAAAuK,CAAA,CAAAjoB,CAAA,SACA,EAAAvX,WAAA,GAAAq+B,YACA9mB,EAAA,KAAAkoB,aAAA,CAAAD,IAEA,iBAAAA,EACAjoB,EAAA4B,KAAAC,KAAA,CAAAomB,IAEAjoB,EAAA,GACA,CACAkoB,cAAAC,CAAA,EACA,IAAAC,EAAA,IAAAC,SAAAF,GACAlD,EAAA,IAAAC,YACA,YAAAoD,gBAAA,CAAAH,EAAAC,EAAAnD,EACA,CACAqD,iBAAAH,CAAA,CAAAC,CAAA,CAAAnD,CAAA,EACA,IAAAsD,EAAAH,EAAAI,QAAA,IACAC,EAAAL,EAAAI,QAAA,IACAE,EAAA,KAAAV,aAAA,GACAW,EAAA1D,EAAAvH,MAAA,CAAAyK,EAAA57B,KAAA,CAAAm8B,EAAAA,EAAAH,IACAG,GAAAH,EACA,IAAA/kB,EAAAyhB,EAAAvH,MAAA,CAAAyK,EAAA57B,KAAA,CAAAm8B,EAAAA,EAAAD,IAGA,OAFAC,GAAAD,EAEA,CAAiBG,IAAA,KAAAD,MAAAA,EAAAnlB,MAAAA,EAAAqlB,QADjBjnB,KAAAC,KAAA,CAAAojB,EAAAvH,MAAA,CAAAyK,EAAA57B,KAAA,CAAAm8B,EAAAP,EAAAW,UAAA,GACiB,CACjB,CACA,CCnBe,MAAAC,EACftgC,YAAAuX,CAAA,CAAAgpB,CAAA,EACA,KAAAhpB,QAAA,CAAAA,EACA,KAAAgpB,SAAA,CAAAA,EACA,KAAAC,KAAA,CAAA58B,KAAAA,EACA,KAAA68B,KAAA,GACA,KAAAlpB,QAAA,CAAAA,EACA,KAAAgpB,SAAA,CAAAA,CACA,CACAG,OAAA,CACA,KAAAD,KAAA,GACAE,aAAA,KAAAH,KAAA,CACA,CAEAI,iBAAA,CACAD,aAAA,KAAAH,KAAA,EACA,KAAAA,KAAA,CAAAK,WAAA,KACA,KAAAJ,KAAA,MAAAA,KAAA,GACA,KAAAlpB,QAAA,EACA,EAAS,KAAAgpB,SAAA,MAAAE,KAAA,IACT,CACA,EC3BA,SAAAK,CAAA,EACAA,EAAA,kBACAA,EAAA,YACAA,EAAA,YACAA,EAAA,sBACAA,EAAA,gBACAA,EAAA,gBACAA,EAAA,YACAA,EAAA,YACAA,EAAA,sBACAA,EAAA,YACAA,EAAA,sBACAA,EAAA,YACAA,EAAA,cACAA,EAAA,cACAA,EAAA,kBACAA,EAAA,UACAA,EAAA,kBACAA,EAAA,YACAA,EAAA,YACAA,EAAA,sBACAA,EAAA,0BACAA,EAAA,gBACAA,EAAA,kBACAA,EAAA,qBACA,EAACA,GAAAA,CAAAA,EAAA,KAaM,IAAAC,EAAA,CAAArb,EAAAkM,EAAAtsB,EAAA,EAAwD,IAC/D,IAAA6Y,EACA,IAAA6iB,EAAA,OAAA7iB,CAAAA,EAAA7Y,EAAA07B,SAAA,GAAA7iB,KAAA,IAAAA,EAAAA,EAAA,GACA,OAAArf,OAAA4L,IAAA,CAAAknB,GAAA5L,MAAA,EAAAC,EAAAgb,KACAhb,CAAA,CAAAgb,EAAA,CAAAC,EAAAD,EAAAvb,EAAAkM,EAAAoP,GACA/a,GACK,GACL,EAeOib,EAAA,CAAAC,EAAAzb,EAAAkM,EAAAoP,KACP,IAAA7d,EAAAuC,EAAA1X,IAAA,IAAAkY,EAAA5X,IAAA,GAAA6yB,GACAC,EAAAje,MAAAA,EAAA,OAAAA,EAAA/X,IAAA,CACApM,EAAA4yB,CAAA,CAAAuP,EAAA,QACA,IAAAH,EAAA94B,QAAA,CAAAk5B,GACAC,EAAAD,EAAApiC,GAEAsiC,EAAAtiC,EACA,EAcOqiC,EAAA,CAAAj2B,EAAApM,KAEP,GAAAoM,MAAAA,EAAA5J,MAAA,IAEA,OAAA+/B,EAAAviC,EADAoM,EAAAtH,KAAA,GAAAsH,EAAA9J,MAAA,GAIA,OAAA8J,GACA,KAAA01B,EAAAU,IAAA,CACA,OAAAC,EAAAziC,EACA,MAAA8hC,EAAAY,MAAA,CACA,KAAAZ,EAAAa,MAAA,CACA,KAAAb,EAAAc,IAAA,CACA,KAAAd,EAAAe,IAAA,CACA,KAAAf,EAAAgB,IAAA,CACA,KAAAhB,EAAAiB,OAAA,CACA,KAAAjB,EAAAkB,GAAA,CACA,OAAAC,EAAAjjC,EACA,MAAA8hC,EAAAz1B,IAAA,CACA,KAAAy1B,EAAAoB,KAAA,CACA,OAAAC,EAAAnjC,EACA,MAAA8hC,EAAAsB,SAAA,CACA,OAAAC,EAAArjC,EACA,MAAA8hC,EAAAwB,OAAA,CACA,KAAAxB,EAAAyB,IAAA,CACA,KAAAzB,EAAA0B,SAAA,CACA,KAAA1B,EAAA2B,SAAA,CACA,KAAA3B,EAAA4B,SAAA,CACA,KAAA5B,EAAA6B,KAAA,CACA,KAAA7B,EAAA8B,OAAA,CACA,KAAA9B,EAAApf,IAAA,CACA,KAAAof,EAAA+B,IAAA,CACA,KAAA/B,EAAAgC,WAAA,CACA,KAAAhC,EAAAiC,MAAA,CACA,KAAAjC,EAAAkC,OAAA,CACA,KAAAlC,EAAAmC,SAAA,CAEA,QADA,OAAA3B,EAAAtiC,EAIA,CACA,EACAsiC,EAAA,GACAtiC,EAEOyiC,EAAA,IACP,OAAAziC,GACA,QACA,QACA,SACA,QACA,SACA,OAAAA,CACA,CACA,EACOijC,EAAA,IACP,oBAAAjjC,EAAA,CACA,IAAAkkC,EAAAC,WAAAnkC,GACA,IAAAwqB,OAAA6L,KAAA,CAAA6N,GACA,OAAAA,CAEA,CACA,OAAAlkC,CACA,EACOmjC,EAAA,IACP,oBAAAnjC,EACA,IACA,OAAAma,KAAAC,KAAA,CAAApa,EACA,CACA,MAAA8C,EAAA,CACAoe,QAAA+O,GAAA,sBAA6CntB,EAAM,EAEnD,CAEA,OAAA9C,CACA,EAWOuiC,EAAA,CAAAviC,EAAAoM,KACP,oBAAApM,EACA,OAAAA,EAEA,IAAAokC,EAAApkC,EAAAsC,MAAA,GACA+hC,EAAArkC,CAAA,CAAAokC,EAAA,CAGA,GAAAE,MAFAtkC,CAAA,KAEwBqkC,MAAAA,EAAsB,KAC9CE,EACA,IAAAC,EAAAxkC,EAAA8E,KAAA,GAAAs/B,GAEA,IACAG,EAAApqB,KAAAC,KAAA,KAAAoqB,EAAA,IACA,CACA,MAAA3gB,EAAA,CAEA0gB,EAAAC,EAAAA,EAAA/+B,KAAA,SAEA,OAAA8+B,EAAAtkB,GAAA,IAAAoiB,EAAAj2B,EAAAmO,GACA,CACA,OAAAva,CACA,EAQOqjC,EAAA,GACP,iBAAArjC,EACAA,EAAAmE,OAAA,UAEAnE,EAEOykC,EAAA,IACP,IAAA9hC,EAAA+hC,EAGA,MAAA/hC,CADAA,EAAAA,CADAA,EAAAA,EAAAwB,OAAA,iBACAA,OAAA,wDACAA,OAAA,WACA,CCtNe,OAAAwgC,EASf3jC,YAAA4jC,CAAA,CAAA7oB,CAAA,CAAAqlB,EAAA,EAA4C,CAAAyD,EJPrC,GIOgE,EACvE,KAAAD,OAAA,CAAAA,EACA,KAAA7oB,KAAA,CAAAA,EACA,KAAAqlB,OAAA,CAAAA,EACA,KAAAyD,OAAA,CAAAA,EACA,KAAAC,IAAA,IACA,KAAAC,YAAA,CAAAngC,KAAAA,EACA,KAAAu8B,GAAA,IACA,KAAA6D,YAAA,MACA,KAAAC,QAAA,IACA,KAAAC,QAAA,KACA,CACAC,OAAAN,CAAA,EACA,KAAAA,OAAA,CAAAA,EACA,KAAAO,eAAA,GACA,KAAAjE,GAAA,IACA,KAAA+D,QAAA,MACA,KAAAF,YAAA,MACA,KAAAF,IAAA,IACA,KAAAO,IAAA,EACA,CACAA,MAAA,CACA,KAAAC,YAAA,cAGA,KAAAC,YAAA,GACA,KAAAT,IAAA,IACA,KAAAF,OAAA,CAAAY,MAAA,CAAA7jC,IAAA,EACAu/B,MAAA,KAAA0D,OAAA,CAAA1D,KAAA,CACAnlB,MAAA,KAAAA,KAAA,CACAqlB,QAAA,KAAAA,OAAA,CACAD,IAAA,KAAAA,GAAA,CACAsE,SAAA,KAAAb,OAAA,CAAAc,QAAA,EACA,GACA,CACAC,cAAAvE,CAAA,EACA,KAAAA,OAAA,CAAAthC,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAqD,KAAA6d,OAAA,EAAAA,EACrD,CACAwE,QAAA15B,CAAA,CAAAqM,CAAA,EACA,IAAA4G,EAKA,OAJA,KAAAmmB,YAAA,CAAAp5B,IACAqM,EAAA,OAAA4G,CAAAA,EAAA,KAAA6lB,YAAA,GAAA7lB,KAAA,IAAAA,EAAA,OAAAA,EAAA5b,QAAA,EAEA,KAAA0hC,QAAA,CAAAtjC,IAAA,EAA6BuK,OAAAA,EAAAqM,SAAAA,CAAA,GAC7B,KAEAgtB,cAAA,CACA,KAAAR,YAAA,GAGA,KAAA5D,GAAA,MAAAyD,OAAA,CAAAY,MAAA,CAAAK,QAAA,GACA,KAAAX,QAAA,MAAAN,OAAA,CAAAkB,eAAA,MAAA3E,GAAA,EAOA,KAAAyD,OAAA,CAAAmB,GAAA,MAAAb,QAAA,IANA,IACA,KAAAE,eAAA,GACA,KAAAY,cAAA,GACA,KAAAhB,YAAA,CAAA5D,EACA,KAAA6E,aAAA,CAAA7E,EACA,GAEA,KAAA2D,YAAA,CAAAlD,WAAA,KACA,KAAAqE,OAAA,cACA,EAAS,KAAArB,OAAA,EACT,CACAqB,QAAAh6B,CAAA,CAAA3I,CAAA,EACA,KAAA2hC,QAAA,EACA,KAAAN,OAAA,CAAAuB,QAAA,MAAAjB,QAAA,EAAmDh5B,OAAAA,EAAA3I,SAAAA,CAAA,EACnD,CACA6iC,SAAA,CACA,KAAAhB,eAAA,GACA,KAAAY,cAAA,EACA,CACAZ,iBAAA,CACA,KAAAF,QAAA,EAGA,KAAAN,OAAA,CAAAyB,IAAA,MAAAnB,QAAA,IACA,CACAc,gBAAA,CACArE,aAAA,KAAAoD,YAAA,EACA,KAAAA,YAAA,CAAAngC,KAAAA,CACA,CACAqhC,cAAA,CAAoB/5B,OAAAA,CAAA,CAAA3I,SAAAA,CAAA,CAAmB,EACvC,KAAA0hC,QAAA,CACAxzB,MAAA,IAAAmlB,EAAA1qB,MAAA,GAAAA,GACAuD,OAAA,IAAAmnB,EAAAre,QAAA,CAAAhV,GACA,CACA+hC,aAAAp5B,CAAA,EACA,YAAA84B,YAAA,OAAAA,YAAA,CAAA94B,MAAA,GAAAA,CACA,CACA,EC9FA,SAAAo6B,CAAA,EACAA,EAAA,YACAA,EAAA,YACAA,EAAA,aACA,EAACA,GAAAA,CAAAA,EAAA,IACc,OAAAC,EAQfvlC,YAAA4jC,CAAA,CAAAv+B,CAAA,EACA,KAAAu+B,OAAA,CAAAA,EACA,KAAA4B,KAAA,IACA,KAAAC,YAAA,IACA,KAAAC,OAAA,MACA,KAAAC,MAAA,EACAC,OAAA,OACAC,QAAA,OACAC,OAAA,MACA,EACA,IAAAC,EAAA,CAAA1gC,MAAAA,EAAA,OAAAA,EAAA0gC,MAAA,IACAP,MAAA,iBACAQ,KAAA,eACA,EACA,KAAApC,OAAA,CAAAmB,GAAA,CAAAgB,EAAAP,KAAA,IAAyC,IACzC,IAAoBI,OAAAA,CAAA,CAAAC,QAAAA,CAAA,CAAAC,OAAAA,CAAA,EAA0B,KAAAH,MAAA,CAC9C,KAAAD,OAAA,MAAA9B,OAAA,CAAAc,QAAA,GACA,KAAAc,KAAA,CAAAD,EAAAU,SAAA,MAAAT,KAAA,CAAAU,EAAAN,EAAAC,GACA,KAAAJ,YAAA,CAAAh3B,OAAA,KACA,KAAA+2B,KAAA,CAAAD,EAAAY,QAAA,MAAAX,KAAA,CAAAQ,EAAAJ,EAAAC,EACA,GACA,KAAAJ,YAAA,IACAK,GACA,GACA,KAAAlC,OAAA,CAAAmB,GAAA,CAAAgB,EAAAC,IAAA,IAAwC,IACxC,IAAoBJ,OAAAA,CAAA,CAAAC,QAAAA,CAAA,CAAAC,OAAAA,CAAA,EAA0B,KAAAH,MAAA,CAC9C,KAAAS,kBAAA,GACA,KAAAX,YAAA,CAAA9kC,IAAA,CAAAqlC,IAGA,KAAAR,KAAA,CAAAD,EAAAY,QAAA,MAAAX,KAAA,CAAAQ,EAAAJ,EAAAC,GACAC,IAEA,GACA,KAAAF,MAAA,EAAAplC,EAAA6lC,EAAAC,KACA,KAAA1C,OAAA,CAAAuB,QAAA,aACApqB,MAAA,OACAva,IAAAA,EACA6lC,iBAAAA,EACAC,aAAAA,CACA,EACA,GACA,KAAAT,OAAA,EAAArlC,EAAA6lC,EAAAE,KACA,KAAA3C,OAAA,CAAAuB,QAAA,aACApqB,MAAA,QACAva,IAAAA,EACA6lC,iBAAAA,EACAE,cAAAA,CACA,EACA,GACA,KAAAT,MAAA,MACA,KAAAlC,OAAA,CAAAuB,QAAA,aAAgDpqB,MAAA,QAChD,EACA,CAWA,OAAAkrB,UAAAO,CAAA,CAAAN,CAAA,CAAAN,CAAA,CAAAC,CAAA,EACA,IAAAL,EAAA,KAAAiB,SAAA,CAAAD,GACAE,EAAA,KAAAC,cAAA,CAAAT,GACAU,EAAA,GACAC,EAAA,GAwBA,OAvBA,KAAA5nB,GAAA,CAAAumB,EAAA,CAAAhlC,EAAAsmC,KACAJ,CAAA,CAAAlmC,EAAA,EACAqmC,CAAAA,CAAA,CAAArmC,EAAA,CAAAsmC,CAAA,CAEA,GACA,KAAA7nB,GAAA,CAAAynB,EAAA,CAAAlmC,EAAA8lC,KACA,IAAAD,EAAAb,CAAA,CAAAhlC,EAAA,CACA,GAAA6lC,EAAA,CACA,IAAAU,EAAAT,EAAArnB,GAAA,IAAA0W,EAAAqR,YAAA,EACAC,EAAAZ,EAAApnB,GAAA,IAAA0W,EAAAqR,YAAA,EACAE,EAAAZ,EAAA71B,MAAA,IAAAw2B,EAAAA,EAAA1jC,OAAA,CAAAoyB,EAAAqR,YAAA,GACAT,EAAAF,EAAA51B,MAAA,IAAAs2B,EAAAA,EAAAxjC,OAAA,CAAAoyB,EAAAqR,YAAA,EACAE,CAAAA,EAAA5lC,MAAA,IACAslC,CAAAA,CAAA,CAAApmC,EAAA,CAAA0mC,CAAA,EAEAX,EAAAjlC,MAAA,IACAulC,CAAAA,CAAA,CAAArmC,EAAA,CAAA+lC,CAAA,CAEA,MAEAK,CAAA,CAAApmC,EAAA,CAAA8lC,CAEA,GACA,KAAAH,QAAA,CAAAX,EAAA,CAAsCoB,MAAAA,EAAAC,OAAAA,CAAA,EAAejB,EAAAC,EACrD,CAWA,OAAAM,SAAAX,CAAA,CAAAQ,CAAA,CAAAJ,CAAA,CAAAC,CAAA,EACA,IAAgBe,MAAAA,CAAA,CAAAC,OAAAA,CAAA,EAAgB,CAChCD,MAAA,KAAAD,cAAA,CAAAX,EAAAY,KAAA,EACAC,OAAA,KAAAF,cAAA,CAAAX,EAAAa,MAAA,CACA,EA6BA,OA5BAjB,GACAA,CAAAA,EAAA,QAEAC,GACAA,CAAAA,EAAA,QAEA,KAAA5mB,GAAA,CAAA2nB,EAAA,CAAApmC,EAAA8lC,KACA,IAAAnoB,EACA,IAAAkoB,EAAA,OAAAloB,CAAAA,EAAAqnB,CAAA,CAAAhlC,EAAA,GAAA2d,KAAA,IAAAA,EAAAA,EAAA,GAEA,GADAqnB,CAAA,CAAAhlC,EAAA,MAAAimC,SAAA,CAAAH,GACAD,EAAA/kC,MAAA,IACA,IAAA6lC,EAAA3B,CAAA,CAAAhlC,EAAA,CAAAye,GAAA,IAAA0W,EAAAqR,YAAA,EACAI,EAAAf,EAAA51B,MAAA,IAAA02B,EAAAA,EAAA5jC,OAAA,CAAAoyB,EAAAqR,YAAA,GACAxB,CAAA,CAAAhlC,EAAA,CAAAimB,OAAA,IAAA2gB,EACA,CACAxB,EAAAplC,EAAA6lC,EAAAC,EACA,GACA,KAAArnB,GAAA,CAAA4nB,EAAA,CAAArmC,EAAA+lC,KACA,IAAAF,EAAAb,CAAA,CAAAhlC,EAAA,CACA,IAAA6lC,EACA,OACA,IAAAgB,EAAAd,EAAAtnB,GAAA,IAAA0W,EAAAqR,YAAA,EACAX,EAAAA,EAAA51B,MAAA,IAAA42B,EAAAA,EAAA9jC,OAAA,CAAAoyB,EAAAqR,YAAA,GACAxB,CAAA,CAAAhlC,EAAA,CAAA6lC,EACAR,EAAArlC,EAAA6lC,EAAAE,GACA,IAAAF,EAAA/kC,MAAA,EACA,OAAAkkC,CAAA,CAAAhlC,EAAA,GAEAglC,CACA,CAEA,OAAAvmB,IAAAqoB,CAAA,CAAAC,CAAA,EACA,OAAAzoC,OAAA4d,mBAAA,CAAA4qB,GAAAroB,GAAA,IAAAsoB,EAAA/mC,EAAA8mC,CAAA,CAAA9mC,EAAA,EACA,CAwBA,OAAAmmC,eAAAnB,CAAA,EAEA,OAAA1mC,OAAA4d,mBAAA,CADA8oB,EAAA,KAAAiB,SAAA,CAAAjB,IACAxf,MAAA,EAAAkgB,EAAA1lC,KACA,IAAAsmC,EAAAtB,CAAA,CAAAhlC,EAAA,CAYA,MAXA,UAAAsmC,EACAZ,CAAA,CAAA1lC,EAAA,CAAAsmC,EAAAU,KAAA,CAAAvoB,GAAA,KACAwoB,EAAA,aAAAA,EAAA,QACA,OAAAA,EAAA,QACA,OAAAA,EAAA,aACAA,IAIAvB,CAAA,CAAA1lC,EAAA,CAAAsmC,EAEAZ,CACA,EAAS,GACT,CAEA,OAAAO,UAAAa,CAAA,EACA,OAAAnuB,KAAAC,KAAA,CAAAD,KAAAkI,SAAA,CAAAimB,GACA,CAEA1B,OAAAruB,CAAA,EACA,KAAAouB,MAAA,CAAAC,MAAA,CAAAruB,CACA,CAEAsuB,QAAAtuB,CAAA,EACA,KAAAouB,MAAA,CAAAE,OAAA,CAAAtuB,CACA,CAEAuuB,OAAAvuB,CAAA,EACA,KAAAouB,MAAA,CAAAG,MAAA,CAAAvuB,CACA,CAEA6uB,oBAAA,CACA,YAAAV,OAAA,OAAAA,OAAA,QAAA9B,OAAA,CAAAc,QAAA,EACA,CACA,ECvNA,SAAAgD,CAAA,EACAA,EAAA,QACAA,EAAA,gBACAA,EAAA,gBACAA,EAAA,eACA,EAACA,GAAAA,CAAAA,EAAA,KAED,SAAAC,CAAA,EACAA,EAAA,sBACAA,EAAA,oBAIAA,EAAA,mCACA,EAACA,IAAAA,CAAAA,GAAA,KAED,SAAAC,CAAA,EACAA,EAAA,wBACAA,EAAA,sBACAA,EAAA,gBACAA,EAAA,6BACA,EAACA,IAAAA,CAAAA,GAAA,IAOc,OAAAC,EACf7nC,YAEAkgC,CAAA,CAAAp9B,EAAA,CAAsBiiB,OAAA,GAAY,CAAAyf,CAAA,EAClC,KAAAtE,KAAA,CAAAA,EACA,KAAAp9B,MAAA,CAAAA,EACA,KAAA0hC,MAAA,CAAAA,EACA,KAAAsD,QAAA,IACA,KAAAtC,KAAA,CAAqBtG,EAAc6I,MAAA,CACnC,KAAAC,UAAA,IACA,KAAAC,UAAA,IACA,KAAAC,QAAA,CAAAhI,EAAA/8B,OAAA,mBACA,KAAAL,MAAA,CAAAiiB,MAAA,CAAAjmB,OAAAyjB,MAAA,EACA4lB,UAAA,CAAyBC,IAAA,GAAArvB,KAAA,IACzB0uB,SAAA,CAAwBjnC,IAAA,IACxB6nC,QAAA,EACA,EAASvlC,EAAAiiB,MAAA,EACT,KAAA8e,OAAA,MAAAW,MAAA,CAAAX,OAAA,CACA,KAAAyE,QAAA,KAA4B3E,EAAI,KAAOxE,EAAct6B,IAAA,MAAA/B,MAAA,MAAA+gC,OAAA,EACrD,KAAA0E,WAAA,KAA+BjI,EAAK,SAAAkI,qBAAA,QAAAhE,MAAA,CAAAiE,gBAAA,EACpC,KAAAH,QAAA,CAAA1D,OAAA,WACA,KAAAY,KAAA,CAAyBtG,EAAcwJ,MAAA,CACvC,KAAAH,WAAA,CAAA7H,KAAA,GACA,KAAAuH,UAAA,CAAAx5B,OAAA,IAAAk6B,EAAAtE,IAAA,IACA,KAAA4D,UAAA,MAEA,KAAAW,QAAA,MACA,KAAAL,WAAA,CAAA7H,KAAA,GACA,KAAA8D,MAAA,CAAAvV,GAAA,oBAAgD,KAAAiR,KAAA,EAAY,EAAE,KAAAwE,QAAA,GAAgB,GAC9E,KAAAc,KAAA,CAAyBtG,EAAc6I,MAAA,CACvC,KAAAvD,MAAA,CAAAqE,OAAA,MACA,GACA,KAAAC,QAAA,KACA,KAAAC,UAAA,SAAAC,SAAA,KAGA,KAAAxE,MAAA,CAAAvV,GAAA,oBAAgD,KAAAiR,KAAA,CAAW,EAAA+I,GAC3D,KAAAzD,KAAA,CAAyBtG,EAAcgK,OAAA,CACvC,KAAAX,WAAA,CAAA3H,eAAA,GACA,GACA,KAAA0H,QAAA,CAAA1D,OAAA,gBACA,KAAAuE,UAAA,KAGA,KAAA3E,MAAA,CAAAvV,GAAA,sBAAkD,KAAAiR,KAAA,CAAW,OAAAoI,QAAA,CAAAzE,OAAA,EAC7D,KAAA2B,KAAA,CAAyBtG,EAAcgK,OAAA,CACvC,KAAAX,WAAA,CAAA3H,eAAA,GACA,GACA,KAAAmE,GAAA,CAAiB5F,EAAciK,KAAA,IAAU,CAAAhJ,EAAAD,KACzC,KAAAgF,QAAA,MAAAL,eAAA,CAAA3E,GAAAC,EACA,GACA,KAAAqH,QAAA,KAA4BlC,EAAgB,MAC5C,KAAA8D,oBAAA,CACY5F,EAAe,KAAAe,MAAA,CAAA8E,QAAA,kBAC3B,CAEAC,UAAAhyB,CAAA,CAAAssB,EAAA,KAAAA,OAAA,EACA,IAAA1lB,EAAAmD,EAIA,GAHA,KAAAkjB,MAAA,CAAAgF,WAAA,IACA,KAAAhF,MAAA,CAAAiF,OAAA,GAEA,KAAAzB,UAAA,CACA,2GAEA,EACA,IAAoBjjB,OAAA,CAAUojB,UAAAA,CAAA,CAAAV,SAAAA,CAAA,CAAAY,QAAAqB,CAAA,CAAyC,EAAI,KAAA5mC,MAAA,CAC3E,KAAAgmC,QAAA,IAAAvxB,GAAAA,EAAA,gBAAAiT,IACA,KAAAoe,QAAA,KAAArxB,GAAAA,EAAA,WACA,IAAAoyB,EAAA,GACA5kB,EAAA,CACAojB,UAAAA,EACAV,SAAAA,EACAmC,iBAAA,OAAAtoB,CAAAA,EAAA,OAAAnD,CAAAA,EAAA,KAAA2pB,QAAA,CAAA8B,gBAAA,GAAAzrB,KAAA,IAAAA,EAAA,OAAAA,EAAAc,GAAA,IAAAwL,EAAAha,MAAA,IAAA6Q,KAAA,IAAAA,EAAAA,EAAA,GACA+mB,QAAAqB,CACA,CACA,MAAAlF,MAAA,CAAAqF,WAAA,EACAF,CAAAA,EAAAG,YAAA,MAAAtF,MAAA,CAAAqF,WAAA,EAEA,KAAAE,iBAAA,CAAAjrC,OAAAyjB,MAAA,EAAmDwC,OAAAA,CAAA,EAAQ4kB,IAC3D,KAAA3B,UAAA,IACA,KAAAgC,OAAA,CAAAnG,GACA,KAAAyE,QAAA,CACA1D,OAAA,QAAkCgF,iBAAAK,CAAA,CAA0C,IAC5E,IAAA9rB,EAGA,GAFA,KAAAqmB,MAAA,CAAAqF,WAAA,EACA,KAAArF,MAAA,CAAA5G,OAAA,MAAA4G,MAAA,CAAAqF,WAAA,EACAI,KAAArmC,IAAAqmC,EAAA,CACA1yB,GAAAA,EAAA,cACA,MACA,CACA,CACA,IAAA2yB,EAAA,KAAApC,QAAA,CAAA8B,gBAAA,CACAO,EAAA,OAAAhsB,CAAAA,EAAA+rB,MAAAA,EAAA,OAAAA,EAAA5oC,MAAA,GAAA6c,KAAA,IAAAA,EAAAA,EAAA,EACAisB,EAAA,GACA,QAAAxf,EAAA,EAAoCA,EAAAuf,EAAiBvf,IAAA,CACrD,IAAAyf,EAAAH,CAAA,CAAAtf,EAAA,CACA,CAAgCna,OAAA,CAAUsK,MAAAA,CAAA,CAAAgG,OAAAA,CAAA,CAAAupB,MAAAA,CAAA,CAAA75B,OAAAA,CAAA,CAA8B,EAAI45B,EAC5EE,EAAAN,GAAAA,CAAA,CAAArf,EAAA,CACA,GAAA2f,GACAA,EAAAxvB,KAAA,GAAAA,GACAwvB,EAAAxpB,MAAA,GAAAA,GACAwpB,EAAAD,KAAA,GAAAA,GACAC,EAAA95B,MAAA,GAAAA,EACA25B,EAAAzpC,IAAA,CAAA7B,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAmF8nB,GAAA,CAA4BG,GAAAD,EAAAC,EAAA,QAE/G,CACA,KAAAC,WAAA,GACAlzB,GACAA,EAAA,2FACA,MACA,CACA,CACA,KAAAuwB,QAAA,CAAA8B,gBAAA,CAAAQ,EACA7yB,GAAAA,EAAA,cACA,MACA,CACA,GACAqtB,OAAA,aACArtB,GACAA,EAAA,sBAAA4B,KAAAkI,SAAA,CAAAviB,OAAA+P,MAAA,CAAA/M,GAAA+C,IAAA,kBAEA,GACA+/B,OAAA,gBACArtB,GAAAA,EAAA,YAEA,EACA,CACA,YAEAmzB,eAAA,CACA,YAAAjD,QAAA,CAAAjC,KAAA,CAEA,MAAAmF,MAAAvK,CAAA,CAAA/6B,EAAA,EAAkC,EAClC,kBAAAg/B,IAAA,EACAj5B,KAAA,WACA2P,MAAA,QACAqlB,QAAAA,CACA,EAAS/6B,EAAAw+B,OAAA,OAAAA,OAAA,CACT,CACA,MAAA+G,QAAAvlC,EAAA,EAA2B,EAC3B,kBAAAg/B,IAAA,EACAj5B,KAAA,WACA2P,MAAA,SACA,EAAS1V,EACT,CACAwlC,GAAAz/B,CAAA,CAAAqF,CAAA,CAAA8G,CAAA,EACA,YAAAwtB,GAAA,CAAA35B,EAAAqF,EAAA8G,EACA,CAUA,MAAA8sB,KAAA1kC,CAAA,CAAA0F,EAAA,EAA8B,EAC9B,IAAA8Y,EAAAmD,EACA,QAAAwpB,QAAA,IAAAnrC,cAAAA,EAAAyL,IAAA,CAgCA,WAAA5I,QAAA,IACA,IAAA2b,EAAAmD,EAAAC,EACA,IAAA5gB,EAAA,KAAAoqC,KAAA,CAAAprC,EAAAyL,IAAA,CAAAzL,EAAA0F,EAAAw+B,OAAA,OAAAA,OAAA,CACA,eAAAlkC,EAAAyL,IAAA,UAAAmW,CAAAA,EAAA,OAAAD,CAAAA,EAAA,OAAAnD,CAAAA,EAAA,KAAArb,MAAA,GAAAqb,KAAA,IAAAA,EAAA,OAAAA,EAAA4G,MAAA,GAAAzD,KAAA,IAAAA,EAAA,OAAAA,EAAA6mB,SAAA,GAAA5mB,KAAA,IAAAA,EAAA,OAAAA,EAAA6mB,GAAA,GACA3lC,EAAA,MAEA9B,EAAAikC,OAAA,UAAAniC,EAAA,OACA9B,EAAAikC,OAAA,aAAAniC,EAAA,UACA9B,EAAAikC,OAAA,eAAAniC,EAAA,aACA,EAzCA,EACA,IAAoBsY,MAAAA,CAAA,CAAAqlB,QAAA4K,CAAA,EAAmCrrC,EACvD2F,EAAA,CACAuE,OAAA,OACAxJ,QAAA,CACAy9B,cAAA,KAAA0G,MAAA,CAAAqF,WAAA,CACA,UAAoC,KAAArF,MAAA,CAAAqF,WAAA,CAAwB,EAC5D,GACAoB,OAAA,KAAAzG,MAAA,CAAA0G,MAAA,MAAA1G,MAAA,CAAA0G,MAAA,IACA,iCACA,EACApgC,KAAAqO,KAAAkI,SAAA,EACA8pB,SAAA,CACA,CAA0BjL,MAAA,KAAAgI,QAAA,CAAAntB,MAAAA,EAAAqlB,QAAA4K,CAAA,EAC1B,EAEA,EACA,IACA,IAAAzoC,EAAA,WAAA6oC,iBAAA,MAAA/B,oBAAA,CAAA/jC,EAAA,OAAA6Y,CAAAA,EAAA9Y,EAAAw+B,OAAA,GAAA1lB,KAAA,IAAAA,EAAAA,EAAA,KAAA0lB,OAAA,EAEA,OADA,cAAAviB,CAAAA,EAAA/e,EAAAuI,IAAA,GAAAwW,KAAA,IAAAA,EAAA,OAAAA,EAAA+pB,MAAA,IACA9oC,EAAAyI,EAAA,aACA,CACA,MAAAlJ,EAAA,CACA,GAAAA,eAAAA,EAAAwM,IAAA,CACA,kBAGA,aAEA,CACA,CAaA,CACAy7B,kBAAA3J,CAAA,EACA,KAAAkI,QAAA,CAAA3D,aAAA,CAAAvE,EACA,CAUAqK,YAAA5G,EAAA,KAAAA,OAAA,EACA,KAAA2B,KAAA,CAAqBtG,EAAcoM,OAAA,CACnC,IAAAC,EAAA,KACA,KAAA/G,MAAA,CAAAvV,GAAA,oBAAgD,KAAAiR,KAAA,CAAW,GAC3D,KAAAiF,QAAA,CAA0BhG,EAAcqM,KAAA,cAAA9G,QAAA,GACxC,EAIA,OAHA,KAAA6D,WAAA,CAAA7H,KAAA,GAEA,KAAA4H,QAAA,CAAAlD,OAAA,GACA,IAAA5iC,QAAA,IACA,IAAAipC,EAAA,IAAkC9H,EAAI,KAAOxE,EAAcuM,KAAA,IAAU7H,GACrE4H,EACA7G,OAAA,WACA2G,IACA9oC,EAAA,KACA,GACAmiC,OAAA,gBACA2G,IACA9oC,EAAA,YACA,GACAmiC,OAAA,cACAniC,EAAA,QACA,GACAgpC,EAAApH,IAAA,GACA,KAAAyG,QAAA,IACAW,EAAAvG,OAAA,SAEA,EACA,CAEA,MAAAkG,kBAAAzpC,CAAA,CAAA2D,CAAA,CAAAu+B,CAAA,EACA,IAAA8H,EAAA,IAAAC,gBACApB,EAAA3J,WAAA,IAAA8K,EAAAE,KAAA,GAAAhI,GACAthC,EAAA,WAAAiiC,MAAA,CAAAlkB,KAAA,CAAA3e,EAAA7C,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAoFjd,GAAA,CAAc4E,OAAAyhC,EAAAzhC,MAAA,IAElG,OADAy2B,aAAA6J,GACAjoC,CACA,CAEAwoC,MAAAhwB,CAAA,CAAAqlB,CAAA,CAAAyD,EAAA,KAAAA,OAAA,EACA,SAAAmE,UAAA,CACA,uBAAoCjtB,EAAM,QAAQ,KAAAmlB,KAAA,CAAW,iEAE7D,IAAAyI,EAAA,IAA4BhF,EAAI,KAAA5oB,EAAAqlB,EAAAyD,GAQhC,OAPA,KAAAiH,QAAA,GACAnC,EAAAtE,IAAA,IAGAsE,EAAApE,YAAA,GACA,KAAA0D,UAAA,CAAAtnC,IAAA,CAAAgoC,IAEAA,CACA,CASAmD,WAAAC,CAAA,CAAA3L,CAAA,CAAA4L,CAAA,EACA,OAAA5L,CACA,CAEA6L,UAAA/L,CAAA,EACA,YAAAA,KAAA,GAAAA,CACA,CAEAwE,UAAA,CACA,YAAA4D,QAAA,CAAAnI,GAAA,CAGAgF,SAAA/5B,CAAA,CAAAg1B,CAAA,CAAAD,CAAA,EACA,IAAAhiB,EAAAmD,EACA,IAAA4qB,EAAA9gC,EAAA+gC,iBAAA,GACA,CAAgBX,MAAAA,CAAA,CAAA1pC,MAAAA,CAAA,CAAA4pC,MAAAA,CAAA,CAAA7mC,KAAAA,CAAA,EAA8Bs6B,EAE9C,GAAAgB,GAAA4F,CADAyF,EAAA1pC,EAAA4pC,EAAA7mC,EAAA,CACAtB,OAAA,CAAA2oC,IAAA,GAAA/L,IAAA,KAAAuE,QAAA,GACA,OAEA,IAAA0H,EAAA,KAAAN,UAAA,CAAAI,EAAA9L,EAAAD,GACA,GAAAC,GAAA,CAAAgM,EACA,mFAEA,6BAAAlkC,QAAA,CAAAgkC,GACA,OAAA/tB,CAAAA,EAAA,KAAA2pB,QAAA,CAAA8B,gBAAA,GAAAzrB,KAAA,IAAAA,GAAAA,EAAA1N,MAAA,KACA,IAAA0N,EAAAmD,EAAAC,EACA,cAAApD,CAAAA,EAAA1Q,EAAAgD,MAAA,GAAA0N,KAAA,IAAAA,EAAA,OAAAA,EAAApD,KAAA,SACA,QAAAwG,CAAAA,EAAA,OAAAD,CAAAA,EAAA7T,EAAAgD,MAAA,GAAA6Q,KAAA,IAAAA,EAAA,OAAAA,EAAAvG,KAAA,GAAAwG,KAAA,IAAAA,EAAA,OAAAA,EAAA4qB,iBAAA,MAAAD,CACA,GAAajtB,GAAA,IAAAxR,EAAA8J,QAAA,CAAA60B,EAAAjM,IAGb,OAAA7e,CAAAA,EAAA,KAAAwmB,QAAA,CAAAoE,EAAA,GAAA5qB,KAAA,IAAAA,GAAAA,EAAA7Q,MAAA,KACA,IAAA0N,EAAAmD,EAAAC,EAAAS,EAAAqqB,EAAAC,EACA,gDAAApkC,QAAA,CAAAgkC,GAiBA,OAAAz+B,EAAArC,IAAA,CAAA+gC,iBAAA,KAAAD,EAhBA,UAAAz+B,EAAA,CACA,IAAA8+B,EAAA9+B,EAAA+8B,EAAA,CACAgC,EAAA,OAAAruB,CAAAA,EAAA1Q,EAAAgD,MAAA,GAAA0N,KAAA,IAAAA,EAAA,OAAAA,EAAApD,KAAA,CACA,OAAAwxB,GACA,QAAAjrB,CAAAA,EAAA8e,EAAAqM,GAAA,GAAAnrB,KAAA,IAAAA,EAAA,OAAAA,EAAApZ,QAAA,CAAAqkC,EAAA,GACAC,CAAAA,MAAAA,GACA,CAAAA,MAAAA,EAAA,OAAAA,EAAAL,iBAAA,MACA,QAAA5qB,CAAAA,EAAA6e,EAAA5e,IAAA,GAAAD,KAAA,IAAAA,EAAA,OAAAA,EAAAnW,IAAA,CAAA+gC,iBAAA,IACA,CACA,CACA,IAAAK,EAAA,OAAAH,CAAAA,EAAA,OAAArqB,CAAAA,EAAAvU,MAAAA,EAAA,OAAAA,EAAAgD,MAAA,GAAAuR,KAAA,IAAAA,EAAA,OAAAA,EAAAjH,KAAA,GAAAsxB,KAAA,IAAAA,EAAA,OAAAA,EAAAF,iBAAA,GACA,MAAAK,MAAAA,GACAA,IAAA,QAAAF,CAAAA,EAAAlM,MAAAA,EAAA,OAAAA,EAAArlB,KAAA,GAAAuxB,KAAA,IAAAA,EAAA,OAAAA,EAAAH,iBAAA,GACA,CAKA,GAAaltB,GAAA,KACb,oBAAAmtB,GAAA,QAAAA,EAAA,CACA,IAAAM,EAAAN,EAAA5qB,IAAA,CACA,CAA4BT,OAAAA,CAAA,CAAAupB,MAAAA,CAAA,CAAAqC,iBAAAA,CAAA,CAAAvhC,KAAAA,CAAA,CAAAwhC,OAAAA,CAAA,EAAgDF,EAU5EN,EAAAttC,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IATA,CACAxB,OAAAA,EACAupB,MAAAA,EACAqC,iBAAAA,EACAE,UAAAzhC,EACA0hC,IAAA,GACAC,IAAA,GACAH,OAAAA,CACA,GACmE,KAAAI,kBAAA,CAAAN,GACnE,CACAj/B,EAAA8J,QAAA,CAAA60B,EAAAjM,EACA,EAEA,CAEA6I,WAAA,CACA,YAAAxD,KAAA,GAA8BtG,EAAc6I,MAAA,CAG5CkF,WAAA,CACA,YAAAzH,KAAA,GAA8BtG,EAAcwJ,MAAA,CAG5CS,YAAA,CACA,YAAA3D,KAAA,GAA8BtG,EAAcgO,OAAA,CAG5CnE,YAAA,CACA,YAAAvD,KAAA,GAA8BtG,EAAcoM,OAAA,CAG5CxG,gBAAA3E,CAAA,EACA,oBAA6BA,EAAI,EAGjC4E,IAAA35B,CAAA,CAAAqF,CAAA,CAAA8G,CAAA,EACA,IAAA20B,EAAA9gC,EAAA+gC,iBAAA,GACAgB,EAAA,CACA/hC,KAAA8gC,EACAz7B,OAAAA,EACA8G,SAAAA,CACA,EAOA,OANA,KAAAuwB,QAAA,CAAAoE,EAAA,CACA,KAAApE,QAAA,CAAAoE,EAAA,CAAAvrC,IAAA,CAAAwsC,GAGA,KAAArF,QAAA,CAAAoE,EAAA,EAAAiB,EAAA,CAEA,KAGA9H,KAAAj6B,CAAA,CAAAqF,CAAA,EACA,IAAAy7B,EAAA9gC,EAAA+gC,iBAAA,GAMA,OALA,KAAArE,QAAA,CAAAoE,EAAA,MAAApE,QAAA,CAAAoE,EAAA,CAAAz7B,MAAA,KACA,IAAA0N,EACA,gBAAAA,CAAAA,EAAA1Q,EAAArC,IAAA,GAAA+S,KAAA,IAAAA,EAAA,OAAAA,EAAAguB,iBAAA,MAAAD,GACArE,EAAAuF,OAAA,CAAA3/B,EAAAgD,MAAA,CAAAA,EAAA,CACA,GACA,KAGA,OAAA28B,QAAAC,CAAA,CAAAC,CAAA,EACA,GAAAxuC,OAAA4L,IAAA,CAAA2iC,GAAA/rC,MAAA,GAAAxC,OAAA4L,IAAA,CAAA4iC,GAAAhsC,MAAA,CACA,SAEA,QAAAu0B,KAAAwX,EACA,GAAAA,CAAA,CAAAxX,EAAA,GAAAyX,CAAA,CAAAzX,EAAA,CACA,SAGA,QACA,CAEA2S,uBAAA,CACA,KAAAD,WAAA,CAAA3H,eAAA,GACA,KAAA4D,MAAA,CAAAgF,WAAA,IACA,KAAAQ,OAAA,EAEA,CAMApB,SAAArxB,CAAA,EACA,KAAAwtB,GAAA,CAAiB5F,EAAcqM,KAAA,IAAUj0B,EACzC,CAMAuxB,SAAAvxB,CAAA,EACA,KAAAwtB,GAAA,CAAiB5F,EAAcr9B,KAAA,IAAU,GAAAyV,EAAA0xB,GACzC,CAMA6B,UAAA,CACA,YAAAtG,MAAA,CAAAgF,WAAA,SAAAyD,SAAA,EACA,CAEAjD,QAAAnG,EAAA,KAAAA,OAAA,EACA,KAAAkF,UAAA,KAGA,KAAAvE,MAAA,CAAA+I,eAAA,MAAArN,KAAA,EACA,KAAAsF,KAAA,CAAqBtG,EAAcgO,OAAA,CACnC,KAAA5E,QAAA,CAAAnE,MAAA,CAAAN,GACA,CAEAmJ,mBAAA5M,CAAA,EACA,IAAAoN,EAAA,CACAV,IAAA,GACAC,IAAA,EACA,EAOA,MANA3M,CAAAA,WAAAA,EAAAh1B,IAAA,EAAAg1B,WAAAA,EAAAh1B,IAAA,GACAoiC,CAAAA,EAAAV,GAAA,CAA0B/L,EAA8BX,EAAA1a,OAAA,CAAA0a,EAAAxO,MAAA,GAExDwO,CAAAA,WAAAA,EAAAh1B,IAAA,EAAAg1B,WAAAA,EAAAh1B,IAAA,GACAoiC,CAAAA,EAAAT,GAAA,CAA0BhM,EAA8BX,EAAA1a,OAAA,CAAA0a,EAAAqN,UAAA,GAExDD,CACA,CACA,CCzeA,IAAME,EAAI,OACVC,EAAA,oBAAAC,SACe,OAAAC,EAgBf7tC,YAAAspC,CAAA,CAAAhkC,CAAA,EACA,IAAA6Y,CACA,MAAA0rB,WAAA,MACA,KAAAqB,MAAA,MACA,KAAA4C,QAAA,IACA,KAAAxE,QAAA,IACA,KAAAyE,YAAA,IACA,KAAA1tC,OAAA,CAAuBmiB,EACvB,KAAA1f,MAAA,IACA,KAAA+gC,OAAA,CP7BO,IO8BP,KAAAmK,mBAAA,KACA,KAAAC,cAAA,CAAArqC,KAAAA,EACA,KAAAsqC,mBAAA,MACA,KAAA/N,GAAA,GACA,KAAAgO,MAAA,CAAsBT,EACtB,KAAAU,IAAA,MACA,KAAAC,UAAA,IACA,KAAAC,UAAA,KAA8BhP,EAC9B,KAAAiP,oBAAA,EACAC,KAAA,GACAhD,MAAA,GACA1pC,MAAA,GACAxD,QAAA,IAOA,KAAAmwC,aAAA,KACA,IAAArtB,EAUA,OATA+b,EACA/b,EAAA+b,EAEA,oBAAA7c,MACAc,EAAA,IAAAzhB,IAAsC6C,QAAAC,OAAA,GAAAgP,IAAA,CAAA9S,EAAA8O,IAAA,CAAA9O,EAAA,MAA8B8S,IAAA,GAAS2K,QAAAkE,CAAA,CAAgB,GAAAA,KAAA3gB,IAG7FyhB,EAAAd,MAEA,IAAA3gB,IAAAyhB,KAAAzhB,EACA,EACA,KAAA2pC,QAAA,IAA2BA,EAAS,GAAGlK,EAAUsP,SAAA,CAAW,EAC5D,KAAAX,YAAA,CAA4BtK,EAAe6F,GAC3ChkC,CAAAA,MAAAA,EAAA,OAAAA,EAAAqpC,SAAA,EACA,KAAAA,SAAA,CAAArpC,EAAAqpC,SAAA,CAGA,KAAAA,SAAA,MAEArpC,CAAAA,MAAAA,EAAA,OAAAA,EAAAxC,MAAA,GACA,MAAAA,MAAA,CAAAwC,EAAAxC,MAAA,EACAwC,CAAAA,MAAAA,EAAA,OAAAA,EAAAjF,OAAA,GACA,MAAAA,OAAA,CAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAyD,KAAAliB,OAAA,EAAAiF,EAAAjF,OAAA,GACzDiF,CAAAA,MAAAA,EAAA,OAAAA,EAAAu+B,OAAA,GACA,MAAAA,OAAA,CAAAv+B,EAAAu+B,OAAA,EACAv+B,CAAAA,MAAAA,EAAA,OAAAA,EAAA6oC,MAAA,GACA,MAAAA,MAAA,CAAA7oC,EAAA6oC,MAAA,EACA7oC,CAAAA,MAAAA,EAAA,OAAAA,EAAA0oC,mBAAA,GACA,MAAAA,mBAAA,CAAA1oC,EAAA0oC,mBAAA,EACA,IAAAnE,EAAA,OAAA1rB,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAAxC,MAAA,GAAAqb,KAAA,IAAAA,EAAA,OAAAA,EAAA8sB,MAAA,CACApB,IACA,KAAAA,WAAA,CAAAA,EACA,KAAAqB,MAAA,CAAArB,GAEA,KAAApB,gBAAA,EAAAnjC,MAAAA,EAAA,OAAAA,EAAAmjC,gBAAA,EACAnjC,EAAAmjC,gBAAA,CACA,GACA,kBAAAhI,EAAA,QAEA,KAAArL,MAAA,EAAA9vB,MAAAA,EAAA,OAAAA,EAAA8vB,MAAA,EACA9vB,EAAA8vB,MAAA,CACA,CAAAgL,EAAA7oB,IACAA,EAAA4B,KAAAkI,SAAA,CAAA+e,IAEA,KAAAnL,MAAA,EAAA3vB,MAAAA,EAAA,OAAAA,EAAA2vB,MAAA,EACA3vB,EAAA2vB,MAAA,CACA,KAAAqZ,UAAA,CAAArZ,MAAA,CAAAxnB,IAAA,MAAA6gC,UAAA,EACA,KAAAM,cAAA,KAAkCtO,EAAK,UACvC,KAAAuO,UAAA,GACA,KAAApF,OAAA,EACA,EAAS,KAAAhB,gBAAA,EACT,KAAAnoB,KAAA,MAAAmuB,aAAA,CAAAnpC,MAAAA,EAAA,OAAAA,EAAAgb,KAAA,CACA,CAIAmpB,SAAA,CACA,SAAA2E,IAAA,EAGA,QAAAO,SAAA,EACA,KAAAP,IAAA,UAAAO,SAAA,MAAAG,YAAA,GAAAlrC,KAAAA,EAAA,CACAvD,QAAA,KAAAA,OAAA,GAEA,MACA,CACA,GAAAstC,EAAA,CACA,KAAAS,IAAA,KAAAR,UAAA,KAAAkB,YAAA,IACA,KAAAC,eAAA,GACA,MACA,CACA,KAAAX,IAAA,KAAAY,EAAA,KAAAF,YAAA,GAAAlrC,KAAAA,EAAA,CACA4nC,MAAA,KACA,KAAA4C,IAAA,KACA,CACA,GACQ5rC,QAAAC,OAAA,GAAAgP,IAAA,CAAA9S,EAAA2qB,CAAA,CAAA7b,IAAA,CAAA9O,EAAA,SAAY8S,IAAA,GAAS2K,QAAA6yB,CAAA,CAAa,IAC1C,KAAAb,IAAA,KAAAa,EAAA,KAAAH,YAAA,GAAAlrC,KAAAA,EAAA,CACAvD,QAAA,KAAAA,OAAA,GAEA,KAAA0uC,eAAA,EACA,GACA,CAOAF,WAAA78B,CAAA,CAAAi3B,CAAA,EACA,KAAAmF,IAAA,GACA,KAAAA,IAAA,CAAAc,OAAA,cACAl9B,EACA,KAAAo8B,IAAA,CAAA5C,KAAA,CAAAx5B,EAAAi3B,MAAAA,EAAAA,EAAA,IAGA,KAAAmF,IAAA,CAAA5C,KAAA,GAEA,KAAA4C,IAAA,MAEA,KAAAH,cAAA,EAAAkB,cAAA,KAAAlB,cAAA,EACA,KAAAW,cAAA,CAAAlO,KAAA,GAEA,CAIA0O,aAAA,CACA,YAAAtB,QAAA,CAMA,MAAAuB,cAAAzL,CAAA,EACA,IAAA14B,EAAA,MAAA04B,EAAA6G,WAAA,GAIA,OAHA,SAAAqD,QAAA,CAAAxsC,MAAA,EACA,KAAAutC,UAAA,GAEA3jC,CACA,CAIA,MAAAokC,mBAAA,CACA,IAAAC,EAAA,MAAA/sC,QAAAmZ,GAAA,MAAAmyB,QAAA,CAAA7uB,GAAA,IAAA2kB,EAAA6G,WAAA,KAEA,OADA,KAAAoE,UAAA,GACAU,CACA,CAMAtgB,IAAAugB,CAAA,CAAAC,CAAA,CAAAjuB,CAAA,EACA,KAAA2sB,MAAA,CAAAqB,EAAAC,EAAAjuB,EACA,CAIAkuB,iBAAA,CACA,YAAAtB,IAAA,OAAAA,IAAA,CAAAuB,UAAA,EACA,KAAiB3Q,EAAa4Q,UAAA,CAC9B,OAAuBvQ,EAAgBwQ,UAAA,MACtB7Q,EAAawP,IAAA,CAC9B,OAAuBnP,EAAgByQ,IAAA,MACtB9Q,EAAa+Q,OAAA,CAC9B,OAAuB1Q,EAAgB2Q,OAAA,SAEvC,OAAuB3Q,EAAgB4Q,MAAA,CAEvC,CAIAzG,aAAA,CACA,YAAAkG,eAAA,KAA0CrQ,EAAgByQ,IAAA,CAE1DlM,QAAA1D,CAAA,CAAAp9B,EAAA,CAA8BiiB,OAAA,GAAY,EAC1C,IAAAmrB,EAAA,IAAyBrI,EAAe,YAAa3H,EAAM,EAAAp9B,EAAA,MAE3D,OADA,KAAAgrC,QAAA,CAAAntC,IAAA,CAAAuvC,GACAA,CACA,CAMAvvC,KAAA6gB,CAAA,EACA,IAAgB0e,MAAAA,CAAA,CAAAnlB,MAAAA,CAAA,CAAAqlB,QAAAA,CAAA,CAAAD,IAAAA,CAAA,EAA6B3e,EAC7CjK,EAAA,KACA,KAAA6d,MAAA,CAAA5T,EAAA,IACA,IAAArD,CACA,QAAAA,CAAAA,EAAA,KAAAiwB,IAAA,GAAAjwB,KAAA,IAAAA,GAAAA,EAAAkmB,IAAA,CAAAr+B,EACA,EACA,EACA,KAAAipB,GAAA,WAA4BiR,EAAA,CAAO,EAAEnlB,EAAA,EAAO,EAAGolB,EAAI,GAAAC,GACnD,KAAAoJ,WAAA,GACAjyB,IAGA,KAAA82B,UAAA,CAAA1tC,IAAA,CAAA4W,EAEA,CAMAqmB,QAAAC,CAAA,EACA,KAAAgM,WAAA,CAAAhM,EACA,KAAAiQ,QAAA,CAAAr/B,OAAA,KACAovB,GAAA+F,EAAAmG,iBAAA,EAAiDD,aAAAjM,CAAA,GACjD+F,EAAAoE,UAAA,EAAApE,EAAAqJ,SAAA,IACArJ,EAAAmH,KAAA,CAA8B5L,EAAc2K,YAAA,EAAiBA,aAAAjM,CAAA,EAE7D,EACA,CAMAgH,UAAA,CACA,IAAAsL,EAAA,KAAAhQ,GAAA,GAOA,OANAgQ,IAAA,KAAAhQ,GAAA,CACA,KAAAA,GAAA,GAGA,KAAAA,GAAA,CAAAgQ,EAEA,KAAAhQ,GAAA,CAAAj5B,QAAA,EACA,CAMAqmC,gBAAArN,CAAA,EACA,IAAAkQ,EAAA,KAAAtC,QAAA,CAAA9/B,IAAA,IAAA0C,EAAAwvB,KAAA,GAAAA,GAAAxvB,CAAAA,EAAAu8B,SAAA,IAAAv8B,EAAAy4B,UAAA,KACAiH,IACA,KAAAnhB,GAAA,yCAA8DiR,EAAM,IACpEkQ,EAAA3F,WAAA,GAEA,CAQA5B,QAAAjF,CAAA,EACA,KAAAkK,QAAA,MAAAA,QAAA,CAAAr9B,MAAA,IAAAC,EAAAg0B,QAAA,KAAAd,EAAAc,QAAA,GACA,CAMAqK,iBAAA,CACA,KAAAX,IAAA,GACA,KAAAA,IAAA,CAAAiC,UAAA,eACA,KAAAjC,IAAA,CAAAkC,MAAA,UAAAC,WAAA,GACA,KAAAnC,IAAA,CAAAoC,OAAA,SAAAC,YAAA,CAAA3uC,GACA,KAAAssC,IAAA,CAAAsC,SAAA,SAAAC,cAAA,CAAA51B,GACA,KAAAqzB,IAAA,CAAAc,OAAA,SAAA0B,YAAA,CAAA71B,GAEA,CAMA+zB,cAAA,CACA,YAAA+B,aAAA,MAAAvH,QAAA,CAAAxqC,OAAAyjB,MAAA,IAAiE,KAAAzf,MAAA,EAAiBguC,IPnT3E,OOmTmF,GAC1F,CAEAH,eAAAI,CAAA,EACA,KAAA9b,MAAA,CAAA8b,EAAAvvB,IAAA,KACA,IAAkB0e,MAAAA,CAAA,CAAAnlB,MAAAA,CAAA,CAAAqlB,QAAAA,CAAA,CAAAD,IAAAA,CAAA,EAA6BsP,EAC/C,IAAAtP,IAAA,KAAA+N,mBAAA,EACAnzB,IAAAqlB,CAAAA,MAAAA,EAAA,OAAAA,EAAAh1B,IAAA,IACA,MAAA8iC,mBAAA,OAEA,KAAAjf,GAAA,cAAmCmR,EAAAl1B,MAAA,MAAsB,EAAEg1B,EAAA,CAAO,EAAEnlB,EAAA,CAAO,EAAE,OAAAolB,EAAA,QAA+B,EAAAC,GAC5G,KAAA0N,QAAA,CACAr9B,MAAA,IAAAmzB,EAAAqI,SAAA,CAAA/L,IACAzxB,OAAA,IAAAm1B,EAAAuB,QAAA,CAAApqB,EAAAqlB,EAAAD,IACA,KAAAoO,oBAAA,CAAAjwC,OAAA,CAAAmQ,OAAA,IAAA8I,EAAAk4B,GACA,EACA,CAEAc,aAAA,CACA,KAAAthB,GAAA,6BAA8C,KAAA6f,YAAA,GAAoB,GAClE,KAAAkC,gBAAA,GACA,KAAApC,cAAA,CAAAlO,KAAA,GACA,KAAAuN,cAAA,EAAAkB,cAAA,KAAAlB,cAAA,EACA,KAAAA,cAAA,CAAAgD,YAAA,SAAAC,cAAA,QAAAlD,mBAAA,EACA,KAAAO,oBAAA,CAAAC,IAAA,CAAA//B,OAAA,IAAA8I,IACA,CAEAq5B,aAAA71B,CAAA,EACA,KAAAkU,GAAA,qBAAAlU,GACA,KAAAo2B,iBAAA,GACA,KAAAlD,cAAA,EAAAkB,cAAA,KAAAlB,cAAA,EACA,KAAAW,cAAA,CAAAhO,eAAA,GACA,KAAA2N,oBAAA,CAAA/C,KAAA,CAAA/8B,OAAA,IAAA8I,EAAAwD,GACA,CAEA01B,aAAA3uC,CAAA,EACA,KAAAmtB,GAAA,aAAAntB,EAAAxD,OAAA,EACA,KAAA6yC,iBAAA,GACA,KAAA5C,oBAAA,CAAAzsC,KAAA,CAAA2M,OAAA,IAAA8I,EAAAzV,GACA,CAEAqvC,mBAAA,CACA,KAAArD,QAAA,CAAAr/B,OAAA,IAAAm1B,EAAAuB,QAAA,CAA4DhG,EAAcr9B,KAAA,EAC1E,CAEA+uC,cAAAlvC,CAAA,CAAAmB,CAAA,EACA,GAAAhE,IAAAA,OAAA4L,IAAA,CAAA5H,GAAAxB,MAAA,CACA,OAAAK,EAEA,IAAAqC,EAAArC,EAAAmT,KAAA,eACAnR,EAAA,IAAAytC,gBAAAtuC,GACA,SAAkBnB,EAAI,EAAEqC,EAAO,EAAEL,EAAM,EAGvCqtC,kBAAA,CACA,KAAAxH,WAAA,SAAA6E,UAAA,CAAA/sC,MAAA,KACA,KAAA+sC,UAAA,CAAA5/B,OAAA,IAAA8I,KACA,KAAA82B,UAAA,IAEA,CAEA6C,gBAAA,CACA,IAAA/yB,EACA,QAAAqrB,WAAA,IAGA,QAAA0E,mBAAA,EACA,KAAAA,mBAAA,MACA,KAAAjf,GAAA,yEACA,OAAA9Q,CAAAA,EAAA,KAAAiwB,IAAA,GAAAjwB,KAAA,IAAAA,GAAAA,EAAAqtB,KAAA,CPtXO,IOsXmF,oBAC1F,MACA,CACA,KAAA0C,mBAAA,MAAArJ,QAAA,GACA,KAAAlkC,IAAA,EACAu/B,MAAA,UACAnlB,MAAA,YACAqlB,QAAA,GACAD,IAAA,KAAA+N,mBAAA,GAEA,KAAAtQ,OAAA,MAAAiM,WAAA,EACA,CACA,CACA,MAAAmF,EACAhvC,YAAAqxC,CAAA,CAAAC,CAAA,CAAAhsC,CAAA,EACA,KAAA+qC,UAAA,eACA,KAAAnB,OAAA,QACA,KAAAsB,OAAA,QACA,KAAAE,SAAA,QACA,KAAAJ,MAAA,QACA,KAAAX,UAAA,CAA0B3Q,EAAa4Q,UAAA,CACvC,KAAAvL,IAAA,QACA,KAAA1iC,GAAA,MACA,KAAAA,GAAA,CAAA0vC,EACA,KAAA7F,KAAA,CAAAlmC,EAAAkmC,KAAA,CAEA,CEpZO,MAAA+F,UAAAxxC,MACPC,YAAA1B,CAAA,EACA,MAAAA,GACA,KAAAkzC,gBAAA,IACA,KAAAljC,IAAA,eACA,CACA,CACO,SAAAmjC,EAAA3vC,CAAA,EACP,uBAAAA,GAAAA,OAAAA,GAAA,qBAAAA,CACA,CACO,MAAA4vC,UAAAH,EACPvxC,YAAA1B,CAAA,CAAA4M,CAAA,EACA,MAAA5M,GACA,KAAAgQ,IAAA,mBACA,KAAApD,MAAA,CAAAA,CACA,CACAxC,QAAA,CACA,OACA4F,KAAA,KAAAA,IAAA,CACAhQ,QAAA,KAAAA,OAAA,CACA4M,OAAA,KAAAA,MAAA,CAEA,CACA,CACO,MAAAymC,UAAAJ,EACPvxC,YAAA1B,CAAA,CAAAszC,CAAA,EACA,MAAAtzC,GACA,KAAAgQ,IAAA,uBACA,KAAAsjC,aAAA,CAAAA,CACA,CACA,CCrBO,IAAMC,EAAY,IACzB,IAAAzwB,EAUA,OATA+b,EACA/b,EAAA+b,EAEA,oBAAA7c,MACAc,EAAA,IAAAzhB,IAA8B6C,QAAAC,OAAA,GAAAgP,IAAA,CAAA9S,EAAA8O,IAAA,CAAA9O,EAAA,MAA8B8S,IAAA,GAAS2K,QAAAkE,CAAA,CAAgB,GAAAA,KAAA3gB,IAGrFyhB,EAAAd,MAEA,IAAA3gB,IAAAyhB,KAAAzhB,EACA,EACOmyC,EAAA,IAA8BC,CAtBR,SAAApjC,CAAA,CAAAsvB,CAAA,CAAApJ,CAAA,CAAAqJ,CAAA,EAE7B,UAAArJ,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EACA,GAc8C,uCAC9C,oBAAAZ,SAEA,OAAsBrI,QAAAC,OAAA,GAAAgP,IAAA,CAAA9S,EAAA8O,IAAA,CAAA9O,EAAA,OAA8BkM,QAAA,CAEpDA,QACA,GC5BA,IfuBO2yB,EIlBAwB,EAOIE,EAQJC,EASAC,EAIAC,EG5BAyB,EEDAwE,ECEAoC,EAOAC,GASAC,GKtBHoK,GAAyB,SAAArjC,CAAA,CAAAsvB,CAAA,CAAApJ,CAAA,CAAAqJ,CAAA,EAE7B,UAAArJ,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EACA,EAGA,IAAAwmC,GAAA,GAAA5zC,EAAAoxC,GAAA,EAAApxC,EAAAC,OAAA,EAAAD,EAAA6zC,iBAAA,EAAA7zC,EAAAyD,KAAA,EAAAqX,KAAAkI,SAAA,CAAAhjB,GACA8zC,GAAA,CAAArwC,EAAA68B,IAAuCqT,GAAS,iCAEhDlwC,YADA,OAAsBgwC,GAAe,EAErChwC,EACAuJ,IAAA,GACAoG,IAAA,KACAktB,EAAA,IAAuB+S,EAAeO,GAAA5zC,GAAAyD,EAAAoJ,MAAA,OACtC,GACA8J,KAAA,KACA2pB,EAAA,IAAuBgT,EAAmBM,GAAA5zC,GAAAA,GAC1C,GAGAsgC,EAAA,IAAmBgT,EAAmBM,GAAAnwC,GAAAA,GAEtC,GACAswC,GAAA,CAAAvoC,EAAAvE,EAAA+sC,EAAAvnC,KACA,IAAAhI,EAAA,CAAqB+G,OAAAA,EAAAxJ,QAAA,CAAAiF,MAAAA,EAAA,OAAAA,EAAAjF,OAAA,aACrB,QAAAwJ,EACA/G,GAEAA,EAAAzC,OAAA,CAAAvB,OAAAyjB,MAAA,EAAqC,mCAAoCjd,MAAAA,EAAA,OAAAA,EAAAjF,OAAA,EACzEyC,EAAAgI,IAAA,CAAAqO,KAAAkI,SAAA,CAAAvW,GACAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAyCzf,GAAAuvC,GACzC,EACA,SAAAC,GAAAC,CAAA,CAAA1oC,CAAA,CAAAlI,CAAA,CAAA2D,CAAA,CAAA+sC,CAAA,CAAAvnC,CAAA,EACA,OAAWknC,GAAS,+BACpB,WAAAxvC,QAAA,CAAAC,EAAAk8B,KACA4T,EAAA5wC,EAAAywC,GAAAvoC,EAAAvE,EAAA+sC,EAAAvnC,IACA2G,IAAA,KACA,IAAAzL,EAAAgF,EAAA,CACA,MAAAhF,QACA,CAAAV,MAAAA,EAAA,OAAAA,EAAAktC,aAAA,EACAxsC,EACAA,EAAAqF,IAAA,EACA,GACAoG,IAAA,IAAAhP,EAAA+e,IACAxM,KAAA,IAAAm9B,GAAArwC,EAAA68B,GACA,EACA,EACA,CACO,SAAAv/B,GAAAmzC,CAAA,CAAA5wC,CAAA,CAAA2D,CAAA,CAAA+sC,CAAA,EACP,OAAWL,GAAS,+BACpB,OAAAM,GAAAC,EAAA,MAAA5wC,EAAA2D,EAAA+sC,EACA,EACA,CACO,SAAAI,GAAAF,CAAA,CAAA5wC,CAAA,CAAAmJ,CAAA,CAAAxF,CAAA,CAAA+sC,CAAA,EACP,OAAWL,GAAS,+BACpB,OAAAM,GAAAC,EAAA,OAAA5wC,EAAA2D,EAAA+sC,EAAAvnC,EACA,EACA,CAMO,SAAA4nC,GAAAH,CAAA,CAAA5wC,CAAA,CAAAmJ,CAAA,CAAAxF,CAAA,CAAA+sC,CAAA,EACP,OAAWL,GAAS,+BACpB,OAAAM,GAAAC,EAAA,SAAA5wC,EAAA2D,EAAA+sC,EAAAvnC,EACA,EACA,CCxEA,IAAI6nC,GAAyB,SAAAhkC,CAAA,CAAAsvB,CAAA,CAAApJ,CAAA,CAAAqJ,CAAA,EAE7B,UAAArJ,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EACA,EAIA,IAAAmnC,GAAA,CACA5rB,MAAA,IACAiZ,OAAA,EACA4S,OAAA,CACA1vB,OAAA,OACAyD,MAAA,KACA,CACA,EACAksB,GAAA,CACAC,aAAA,OACAC,YAAA,2BACA3sB,OAAA,EACA,CACe,OAAA4sB,GACfjzC,YAAA2B,CAAA,CAAAtB,EAAA,EAAiC,CAAA6yC,CAAA,CAAA5yB,CAAA,EACjC,KAAA3e,GAAA,CAAAA,EACA,KAAAtB,OAAA,CAAAA,EACA,KAAA6yC,QAAA,CAAAA,EACA,KAAA5yB,KAAA,CAAqBuxB,EAAYvxB,EACjC,CAQA6yB,eAAAtpC,CAAA,CAAAxG,CAAA,CAAA+vC,CAAA,CAAAC,CAAA,EACA,OAAeV,GAAS,+BACxB,QACA7nC,EACA,IAAAxF,EAAAxG,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA8DuwB,IAAAO,GAC9DhzC,EAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA8D,KAAAliB,OAAA,EAAAwJ,SAAAA,GAAA,CAAyC,WAAAjI,OAAA0D,EAAA+gB,MAAA,GACvG,qBAAA+X,MAAAgV,aAAAhV,MAEAtzB,CADAA,EAAA,IAAAwzB,QAAA,EACAjwB,MAAA,gBAAA/I,EAAAytC,YAAA,EACAjoC,EAAAuD,MAAA,IAAA+kC,IAEA,oBAAA9U,UAAA8U,aAAA9U,SAEAxzB,CADAA,EAAAsoC,CAAA,EACA/kC,MAAA,gBAAA/I,EAAAytC,YAAA,GAGAjoC,EAAAsoC,EACA/yC,CAAA,6BAA0DiF,EAAAytC,YAAA,CAAqB,EAC/E1yC,CAAA,iBAAAiF,EAAA0tC,WAAA,EAEA,IAAAM,EAAA,KAAAC,mBAAA,CAAAlwC,GACAmwC,EAAA,KAAAC,aAAA,CAAAH,GACAv+B,EAAA,WAAAuL,KAAA,IAAgD,KAAA3e,GAAA,CAAS,UAAU6xC,EAAM,EAAA10C,OAAAyjB,MAAA,EAAmB1Y,OAAAA,EAAAiB,KAAAA,EAAAzK,QAAAA,CAAA,EAA6B,CAAAiF,MAAAA,EAAA,OAAAA,EAAAouC,MAAA,GAA0EA,OAAApuC,EAAAouC,MAAA,EAAyB,KAC5NlyB,EAAA,MAAAzM,EAAA1J,IAAA,GACA,GAAA0J,EAAA/J,EAAA,CACA,OACAwW,KAAA,CAAgCne,KAAAiwC,EAAA9I,GAAAhpB,EAAAmyB,EAAA,CAAAC,SAAApyB,EAAAqyB,GAAA,EAChC/xC,MAAA,IACA,EAIA,OAA6B0f,KAAA,KAAA1f,MAD7B0f,CAC6B,CAE7B,CACA,MAAA1f,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAOAgyC,OAAAzwC,CAAA,CAAA+vC,CAAA,CAAAC,CAAA,EACA,OAAeV,GAAS,+BACxB,YAAAQ,cAAA,QAAA9vC,EAAA+vC,EAAAC,EACA,EACA,CAOAU,kBAAA1wC,CAAA,CAAAw6B,CAAA,CAAAuV,CAAA,CAAAC,CAAA,EACA,OAAeV,GAAS,+BACxB,IAAAW,EAAA,KAAAC,mBAAA,CAAAlwC,GACAmwC,EAAA,KAAAC,aAAA,CAAAH,GACA3xC,EAAA,IAAAE,IAAA,KAAAF,GAAA,wBAAkE6xC,EAAM,GACxE7xC,EAAAwG,YAAA,CAAAwC,GAAA,SAAAkzB,GACA,QACA/yB,EACA,IAAAxF,EAAAxG,OAAAyjB,MAAA,EAAgD8D,OAAAysB,GAAAzsB,MAAA,EAAqCgtB,GACrFhzC,EAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA8D,KAAAliB,OAAA,GAAmB,WAAAuB,OAAA0D,EAAA+gB,MAAA,GACjF,qBAAA+X,MAAAgV,aAAAhV,MAEAtzB,CADAA,EAAA,IAAAwzB,QAAA,EACAjwB,MAAA,gBAAA/I,EAAAytC,YAAA,EACAjoC,EAAAuD,MAAA,IAAA+kC,IAEA,oBAAA9U,UAAA8U,aAAA9U,SAEAxzB,CADAA,EAAAsoC,CAAA,EACA/kC,MAAA,gBAAA/I,EAAAytC,YAAA,GAGAjoC,EAAAsoC,EACA/yC,CAAA,6BAA0DiF,EAAAytC,YAAA,CAAqB,EAC/E1yC,CAAA,iBAAAiF,EAAA0tC,WAAA,EAEA,IAAAj+B,EAAA,WAAAuL,KAAA,CAAA3e,EAAAuF,QAAA,IACA2C,OAAA,MACAiB,KAAAA,EACAzK,QAAAA,CACA,GACAmhB,EAAA,MAAAzM,EAAA1J,IAAA,GACA,GAAA0J,EAAA/J,EAAA,CACA,OACAwW,KAAA,CAAgCne,KAAAiwC,EAAAM,SAAApyB,EAAAqyB,GAAA,EAChC/xC,MAAA,IACA,EAIA,OAA6B0f,KAAA,KAAA1f,MAD7B0f,CAC6B,CAE7B,CACA,MAAA1f,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAQAkyC,sBAAA3wC,CAAA,CAAAiC,CAAA,EACA,OAAeqtC,GAAS,+BACxB,IACA,IAAAa,EAAA,KAAAC,aAAA,CAAApwC,GACAhD,EAAAvB,OAAAyjB,MAAA,IAAgD,KAAAliB,OAAA,EAChDiF,CAAAA,MAAAA,EAAA,OAAAA,EAAA+gB,MAAA,GACAhmB,CAAAA,CAAA,qBAEA,IAAAmhB,EAAA,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,sBAAsB6xC,EAAM,KAAK,CAAInzC,QAAAA,CAAA,GACrGsB,EAAA,IAAAE,IAAA,KAAAF,GAAA,CAAA6f,EAAA7f,GAAA,EACAk8B,EAAAl8B,EAAAwG,YAAA,CAAA/I,GAAA,UACA,IAAAy+B,EACA,UAA8B0T,EAAY,4BAE1C,OAAyB/vB,KAAA,CAAQyyB,UAAAtyC,EAAAuF,QAAA,GAAA7D,KAAAA,EAAAw6B,MAAAA,CAAA,EAAwC/7B,MAAA,KACzE,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAOA0kB,OAAAnjB,CAAA,CAAA+vC,CAAA,CAAAC,CAAA,EACA,OAAeV,GAAS,+BACxB,YAAAQ,cAAA,OAAA9vC,EAAA+vC,EAAAC,EACA,EACA,CAQAa,KAAAC,CAAA,CAAAC,CAAA,CAAA9uC,CAAA,EACA,OAAeqtC,GAAS,+BACxB,IAOA,OAAyBnxB,KANzB,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,eAChEuxC,SAAA,KAAAA,QAAA,CACAmB,UAAAF,EACAG,eAAAF,EACAG,kBAAAjvC,MAAAA,EAAA,OAAAA,EAAAivC,iBAAA,EACiB,CAAIl0C,QAAA,KAAAA,OAAA,GACIyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAQA0yC,KAAAL,CAAA,CAAAC,CAAA,CAAA9uC,CAAA,EACA,OAAeqtC,GAAS,+BACxB,IAOA,OAAyBnxB,KAAA,CAAQne,KAAAme,CANjC,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,eAChEuxC,SAAA,KAAAA,QAAA,CACAmB,UAAAF,EACAG,eAAAF,EACAG,kBAAAjvC,MAAAA,EAAA,OAAAA,EAAAivC,iBAAA,EACiB,CAAIl0C,QAAA,KAAAA,OAAA,EAAuB,EACXwzC,GAAA,EAAgB/xC,MAAA,KACjD,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CASA2yC,gBAAApxC,CAAA,CAAAqxC,CAAA,CAAApvC,CAAA,EACA,OAAeqtC,GAAS,+BACxB,IACA,IAAAa,EAAA,KAAAC,aAAA,CAAApwC,GACAme,EAAA,MAAiCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,eAAe6xC,EAAM,EAAA10C,OAAAyjB,MAAA,EAAmBmyB,UAAAA,CAAA,EAAW,CAAApvC,MAAAA,EAAA,OAAAA,EAAAqvC,SAAA,GAA6EA,UAAArvC,EAAAqvC,SAAA,EAA+B,IAAI,CAAMt0C,QAAA,KAAAA,OAAA,GACvOu0C,EAAA,CAAAtvC,MAAAA,EAAA,OAAAA,EAAAuvC,QAAA,EACA,aAAmCvvC,CAAA,IAAAA,EAAAuvC,QAAA,IAAAvvC,EAAAuvC,QAAA,CAAkD,EACrF,GAGA,OAAyBrzB,KADzBA,EAAA,CAAyByyB,UADzBa,UAAA,GAA+C,KAAAnzC,GAAA,CAAS,EAAE6f,EAAAuzB,SAAA,CAAe,EAAEH,EAAmB,EACrE,EACA9yC,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAQAkzC,iBAAAxuC,CAAA,CAAAkuC,CAAA,CAAApvC,CAAA,EACA,OAAeqtC,GAAS,+BACxB,IACA,IAAAnxB,EAAA,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,eAAe,KAAAuxC,QAAA,CAAc,GAAKwB,UAAAA,EAAAluC,MAAAA,CAAA,EAAkB,CAAInG,QAAA,KAAAA,OAAA,GACxHu0C,EAAA,CAAAtvC,MAAAA,EAAA,OAAAA,EAAAuvC,QAAA,EACA,aAAmCvvC,CAAA,IAAAA,EAAAuvC,QAAA,IAAAvvC,EAAAuvC,QAAA,CAAkD,EACrF,GACA,OACArzB,KAAAA,EAAAvC,GAAA,IAAAngB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA6E0yB,GAAA,CAAYhB,UAAAgB,EAAAF,SAAA,CACzFD,UAAA,GAA2C,KAAAnzC,GAAA,CAAS,EAAEszC,EAAAF,SAAA,CAAgB,EAAEH,EAAmB,GAC3F,QACA9yC,MAAA,IACA,CACA,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAOA+yC,SAAAxxC,CAAA,CAAAiC,CAAA,EACA,OAAeqtC,GAAS,+BACxB,IAAAuC,EAAA,SAAA5vC,CAAAA,MAAAA,EAAA,OAAAA,EAAAqvC,SAAA,EAEAQ,EAAA,KAAAC,0BAAA,EAAA9vC,MAAAA,EAAA,OAAAA,EAAAqvC,SAAA,OACAU,EAAAF,EAAA,IAA0DA,EAAoB,KAC9E,IACA,IAAA3B,EAAA,KAAAC,aAAA,CAAApwC,GACA0R,EAAA,MAAkC3V,GAAG,KAAAkhB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,GAL9DuzC,EAAA,sCAK4E,GAAG1B,EAAM,EAAE6B,EAAY,GACnGh1C,QAAA,KAAAA,OAAA,CACAmyC,cAAA,EACA,GAEA,OAAyBhxB,KADzB,MAAAzM,EAAA0pB,IAAA,GACyB38B,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CASAwzC,aAAAjyC,CAAA,CAAAiC,CAAA,EACA,IAAAkuC,EAAA,KAAAC,aAAA,CAAApwC,GACAkyC,EAAA,GACAX,EAAA,CAAAtvC,MAAAA,EAAA,OAAAA,EAAAuvC,QAAA,EACA,YAA0BvvC,CAAA,IAAAA,EAAAuvC,QAAA,IAAAvvC,EAAAuvC,QAAA,CAAkD,EAC5E,EACA,MAAAD,GACAW,EAAA50C,IAAA,CAAAi0C,GAEA,IAAAM,EAAA,SAAA5vC,CAAAA,MAAAA,EAAA,OAAAA,EAAAqvC,SAAA,EAEAQ,EAAA,KAAAC,0BAAA,EAAA9vC,MAAAA,EAAA,OAAAA,EAAAqvC,SAAA,MACA,MAAAQ,GACAI,EAAA50C,IAAA,CAAAw0C,GAEA,IAAAE,EAAAE,EAAA1wC,IAAA,MAIA,MAHA,KAAAwwC,GACAA,CAAAA,EAAA,IAA8BA,EAAY,GAE1C,CACA7zB,KAAA,CAAoBg0B,UAAAV,UAAA,GAAwB,KAAAnzC,GAAA,CAAS,GAVrDuzC,EAAA,wBAUmE,UAAU1B,EAAM,EAAE6B,EAAY,GACjG,CACA,CAMA3C,OAAAlsC,CAAA,EACA,OAAemsC,GAAS,+BACxB,IAEA,OAAyBnxB,KADzB,MAAmCkxB,GAAM,KAAApyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAAU,KAAAuxC,QAAA,CAAc,GAAKuC,SAAAjvC,CAAA,EAAiB,CAAInG,QAAA,KAAAA,OAAA,GAC3FyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAgEA4zC,KAAAryC,CAAA,CAAAiC,CAAA,CAAA+sC,CAAA,EACA,OAAeM,GAAS,+BACxB,IACA,IAAA7nC,EAAAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAyEqwB,IAAAttC,GAAA,CAAuCtB,OAAAX,GAAA,KAEhH,OAAyBme,KADzB,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,eAAe,KAAAuxC,QAAA,CAAc,EAAApoC,EAAA,CAAWzK,QAAA,KAAAA,OAAA,EAAuBgyC,GACtGvwC,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CACA2xC,cAAApwC,CAAA,EACA,SAAkB,KAAA6vC,QAAA,CAAc,GAAG7vC,EAAK,EAExCkwC,oBAAAlwC,CAAA,EACA,OAAAA,EAAAF,OAAA,gBAAAA,OAAA,YACA,CACAiyC,2BAAAT,CAAA,EACA,IAAA7xC,EAAA,GAgBA,OAfA6xC,EAAAgB,KAAA,EACA7yC,EAAAnC,IAAA,UAAiCg0C,EAAAgB,KAAA,CAAgB,GAEjDhB,EAAAiB,MAAA,EACA9yC,EAAAnC,IAAA,WAAkCg0C,EAAAiB,MAAA,CAAiB,GAEnDjB,EAAAkB,MAAA,EACA/yC,EAAAnC,IAAA,WAAkCg0C,EAAAkB,MAAA,CAAiB,GAEnDlB,EAAA9sB,MAAA,EACA/kB,EAAAnC,IAAA,WAAkCg0C,EAAA9sB,MAAA,CAAiB,GAEnD8sB,EAAAmB,OAAA,EACAhzC,EAAAnC,IAAA,YAAmCg0C,EAAAmB,OAAA,CAAkB,GAErDhzC,EAAA+B,IAAA,KACA,CACA,CEheO,IAAMkxC,GAAe,CAAK,kCAAuC,ECDxE,IAAIC,GAAyB,SAAArnC,CAAA,CAAAsvB,CAAA,CAAApJ,CAAA,CAAAqJ,CAAA,EAE7B,UAAArJ,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EACA,CAKe,OAAAwqC,GACfj2C,YAAA2B,CAAA,CAAAtB,EAAA,EAAiC,CAAAigB,CAAA,EACjC,KAAA3e,GAAA,CAAAA,EACA,KAAAtB,OAAA,CAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAuDwzB,IAAe11C,GACtE,KAAAigB,KAAA,CAAqBuxB,EAAYvxB,EACjC,CAIA41B,aAAA,CACA,OAAeF,GAAS,+BACxB,IAEA,OAAyBx0B,KADzB,MAAmCpiB,GAAG,KAAAkhB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAAYtB,QAAA,KAAAA,OAAA,GAClDyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAMAq0C,UAAA3L,CAAA,EACA,OAAewL,GAAS,+BACxB,IAEA,OAAyBx0B,KADzB,MAAmCpiB,GAAG,KAAAkhB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAAU6oC,EAAG,GAAKnqC,QAAA,KAAAA,OAAA,GACxDyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAcAs0C,aAAA5L,CAAA,CAAAllC,EAAA,CACA+wC,OAAA,EACA,CAAK,EACL,OAAeL,GAAS,+BACxB,IAQA,OAAyBx0B,KAPzB,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAChE6oC,GAAAA,EACAl8B,KAAAk8B,EACA6L,OAAA/wC,EAAA+wC,MAAA,CACAC,gBAAAhxC,EAAAixC,aAAA,CACAC,mBAAAlxC,EAAAmxC,gBAAA,EACiB,CAAIp2C,QAAA,KAAAA,OAAA,GACIyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAaA40C,aAAAlM,CAAA,CAAAllC,CAAA,EACA,OAAe0wC,GAAS,+BACxB,IAQA,OAAyBx0B,KAPzB,MAAmCm1B,SJ1C5BpE,CAAA,CAAA5wC,CAAA,CAAAmJ,CAAA,CAAAxF,CAAA,CAAA+sC,CAAA,EACP,OAAWL,GAAS,+BACpB,OAAAM,GAAAC,EAAA,MAAA5wC,EAAA2D,EAFO+sC,KAAAA,EAEPvnC,EACA,EACA,EIsCsC,KAAAwV,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAAU6oC,EAAG,GAC5EA,GAAAA,EACAl8B,KAAAk8B,EACA6L,OAAA/wC,EAAA+wC,MAAA,CACAC,gBAAAhxC,EAAAixC,aAAA,CACAC,mBAAAlxC,EAAAmxC,gBAAA,EACiB,CAAIp2C,QAAA,KAAAA,OAAA,GACIyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAMA80C,YAAApM,CAAA,EACA,OAAewL,GAAS,+BACxB,IAEA,OAAyBx0B,KADzB,MAAmCixB,GAAI,KAAAnyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAAU6oC,EAAG,WAAW,CAAInqC,QAAA,KAAAA,OAAA,GACnEyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAOA+0C,aAAArM,CAAA,EACA,OAAewL,GAAS,+BACxB,IAEA,OAAyBx0B,KADzB,MAAmCkxB,GAAM,KAAApyB,KAAA,IAAgB,KAAA3e,GAAA,CAAS,UAAU6oC,EAAG,KAAK,CAAInqC,QAAA,KAAAA,OAAA,GAC/DyB,MAAA,KACzB,CACA,MAAAA,EAAA,CACA,GAAoB2vC,EAAc3vC,GAClC,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CACA,CC/JO,MAAAg1C,WAA4Bb,GACnCj2C,YAAA2B,CAAA,CAAAtB,EAAA,EAAiC,CAAAigB,CAAA,EACjC,MAAA3e,EAAAtB,EAAAigB,EACA,CAMAlS,KAAAo8B,CAAA,EACA,WAAmByI,GAAc,KAAAtxC,GAAA,MAAAtB,OAAA,CAAAmqC,EAAA,KAAAlqB,KAAA,CACjC,CACA,CEbA,IAAAy2B,GAAA,EAEA,qBAAAC,KACAD,GAAA,OAEA,oBAAAE,SACAF,GAAA,MAEA,oBAAA3e,WAAAA,gBAAAA,UAAA8e,OAAA,CACAH,GAAA,eAGAA,GAAA,OAGO,IAAAI,GAAA,CACP92C,QAF4B,CAAK,+BAAgC02C,WAAkB,CAGnF,EACOK,GAAA,CACPr2B,OAAA,QACA,EACOs2B,GAAA,CACPC,iBAAA,GACAC,eAAA,GACAC,mBAAA,GACAC,SAAA,UACA,EACOC,GAAA,iBCjBA,IAAMC,GAAY,IACzB,IAAAv2B,EAUA,OATA+b,EACA/b,EAAA+b,EAEA,oBAAA7c,MACAc,EAAiBwW,GAAA,OAAS,CAG1BxW,EAAAd,MAEA,IAAA3gB,IAAAyhB,KAAAzhB,EACA,EACOi4C,GAAA,IACP,oBAAAntC,QACemtB,GAAAntB,OAAgB,CAE/BA,QAEOotC,GAAA,CAAA95B,EAAA+5B,EAAA3a,KACP,IAAA7c,EAAkBq3B,GAAYxa,GAC9B4a,EAAAH,KACA,OAAAzyC,EAAA6D,IAA4BgvC,CAjCC,SAAArpC,CAAA,CAAAsvB,CAAA,CAAApJ,CAAA,CAAAqJ,CAAA,EAE7B,UAAArJ,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EACA,GAyBqC,iCACrC,IAAA0S,EACA,IAAA0rB,EAAA,OAAA1rB,CAAAA,EAAA,MAAA25B,GAAA,GAAA35B,KAAA,IAAAA,EAAAA,EAAAJ,EACA1d,EAAA,IAAA03C,EAAA/uC,MAAAA,EAAA,OAAAA,EAAA3I,OAAA,EAOA,OANAA,EAAAiL,GAAA,YACAjL,EAAAsK,GAAA,UAAAoT,GAEA1d,EAAAiL,GAAA,mBACAjL,EAAAsK,GAAA,2BAAmDk/B,EAAY,GAE/DvpB,EAAAnb,EAAArG,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA0DvZ,GAAA,CAAW3I,QAAAA,CAAA,GACrE,EACA,EE7Ca43C,GAAO,SCIPC,GAAe,CAAK,6BAA8BD,GAAQ,GAMhEE,GAAA,yBACAC,GAAA,CACP,cACAhW,UAAAjrB,KAAAiC,KAAA,2BACA9K,KAAA,YACA,CACA,ECLa+pC,GAAS,wBAAApB,SACtBqB,GAAA,CACAC,OAAA,GACAC,SAAA,EACA,EAIOC,GAAA,KACP,IAASJ,KACT,SAEA,IACA,oBAAAn6C,WAAAw6C,YAAA,CACA,QAEA,CACA,MAAAluB,EAAA,CAEA,QACA,CACA,GAAA8tB,GAAAC,MAAA,CACA,OAAAD,GAAAE,QAAA,CAEA,IAAAG,EAAA,QAA8BpjB,KAAAqjB,MAAA,GAAc,EAAErjB,KAAAqjB,MAAA,GAAc,EAC5D,IACA16C,WAAAw6C,YAAA,CAAAG,OAAA,CAAAF,EAAAA,GACAz6C,WAAAw6C,YAAA,CAAAI,UAAA,CAAAH,GACAL,GAAAC,MAAA,IACAD,GAAAE,QAAA,GACA,CACA,MAAAhuB,EAAA,CAGA8tB,GAAAC,MAAA,IACAD,GAAAE,QAAA,GACA,CACA,OAAAF,GAAAE,QAAA,EAKO,SAAAO,GAAAzwC,CAAA,EACP,IAAAtC,EAAA,GACArE,EAAA,IAAAE,IAAAyG,GACA,GAAA3G,EAAAkC,IAAA,EAAAlC,MAAAA,EAAAkC,IAAA,IACA,IAEAm1C,IADA5H,gBAAAzvC,EAAAkC,IAAA,CAAApC,SAAA,KACAgN,OAAA,EAAAzP,EAAAwB,KACAwF,CAAA,CAAAxF,EAAA,CAAAxB,CACA,EACA,CACA,MAAAwrB,EAAA,CAEA,CAMA,OAHA7oB,EAAAwG,YAAA,CAAAsG,OAAA,EAAAzP,EAAAwB,KACAwF,CAAA,CAAAxF,EAAA,CAAAxB,CACA,GACAgH,CACA,CACO,IAAMizC,GAAY,IACzB,IAAA73B,EAUA,OATA+b,EACA/b,EAAA+b,EAEA,oBAAA7c,MACAc,EAAA,IAAAzhB,IAA8B6C,QAAAC,OAAA,GAAAgP,IAAA,CAAA9S,EAAA8O,IAAA,CAAA9O,EAAA,MAA8B8S,IAAA,GAAS2K,QAAAkE,CAAA,CAAgB,GAAAA,KAAA3gB,IAGrFyhB,EAAAd,MAEA,IAAA3gB,IAAAyhB,KAAAzhB,EACA,EACOu5C,GAAA,GACP,iBAAAC,GACAA,OAAAA,GACA,WAAAA,GACA,OAAAA,GACA,SAAAA,GACA,mBAAAA,EAAA9tC,IAAA,CAGO+tC,GAAA,MAAA/hC,EAAA7W,EAAAghB,KACP,MAAAnK,EAAAwhC,OAAA,CAAAr4C,EAAA2Y,KAAAkI,SAAA,CAAAG,GACA,EACO63B,GAAA,MAAAhiC,EAAA7W,KACP,IAAAxB,EAAA,MAAAqY,EAAAiiC,OAAA,CAAA94C,GACA,IAAAxB,EACA,YAEA,IACA,OAAAma,KAAAC,KAAA,CAAApa,EACA,CACA,MAAAmf,EAAA,CACA,OAAAnf,CACA,CACA,EACOu6C,GAAA,MAAAliC,EAAA7W,KACP,MAAA6W,EAAAyhC,UAAA,CAAAt4C,EACA,CA+BO,OAAAg5C,GACPx5C,aAAA,CAGA,KAAA4C,OAAA,KAAA42C,GAAAC,kBAAA,EAAA1kC,EAAA2kC,KAGA,KAAAj3C,OAAA,CAAAsS,EACA,KAAA4pB,MAAA,CAAA+a,CACA,EACA,CACA,CAGO,SAAAC,GAAA9b,CAAA,EAGP,IAAA5B,EAAA4B,EAAAp5B,KAAA,MACA,GAAAw3B,IAAAA,EAAA36B,MAAA,CACA,qDAEA,IAAAs4C,8DAAAr4C,IAAA,CAAA06B,CAAA,KACA,oEAGA,OAAA9iB,KAAAC,KAAA,CAAAygC,SAvDO76C,CAAA,MAGP86C,EAAAC,EAAAC,EACAC,EAAAC,EAAAC,EAAAC,EAHA,IAAA55C,EAAA,oEACA65C,EAAA,GAGAzvB,EAAA,EAEA,IADA5rB,EAAAA,EAAAmE,OAAA,UAAAA,OAAA,UACAynB,EAAA5rB,EAAAsC,MAAA,EACA24C,EAAAz5C,EAAA+C,OAAA,CAAAvE,EAAAwC,MAAA,CAAAopB,MACAsvB,EAAA15C,EAAA+C,OAAA,CAAAvE,EAAAwC,MAAA,CAAAopB,MACAuvB,EAAA35C,EAAA+C,OAAA,CAAAvE,EAAAwC,MAAA,CAAAopB,MACAwvB,EAAA55C,EAAA+C,OAAA,CAAAvE,EAAAwC,MAAA,CAAAopB,MACAkvB,EAAA,KAAAI,GAAA,EACAH,EAAA,CAAAG,GAAAA,CAAA,KAAAC,GAAA,EACAH,EAAA,CAAAG,EAAAA,CAAA,KAAAC,EACAC,GAAAz4C,OAAA04C,YAAA,CAAAR,GACA,IAAAK,GAAAJ,GAAAA,GACAM,CAAAA,GAAAz4C,OAAA04C,YAAA,CAAAP,EAAA,EAEA,IAAAK,GAAAJ,GAAAA,GACAK,CAAAA,GAAAz4C,OAAA04C,YAAA,CAAAN,EAAA,EAGA,OAAAK,CACA,EA8BApe,CAAA,KAEA,CAIO,eAAAse,GAAA1X,CAAA,EACP,iBAAArgC,QAAA,IACAq+B,WAAA,IAAA2Z,EAAA,MAAA3X,EACA,EACA,CA8BA,SAAA4X,GAAAC,CAAA,EACA,WAAAA,EAAAxzC,QAAA,MAAAguB,MAAA,IACA,CAiBA,eAAAylB,GAAAC,CAAA,EAEA,IAAAC,EAAAC,IADAve,cACAnH,MAAA,CAAAwlB,GAGA,OAAA5zC,MAAAoH,IAAA,CADA,IAAA2uB,WADA,MAAAge,OAAAC,MAAA,CAAAC,MAAA,WAAAJ,KAGA57B,GAAA,IAAArd,OAAA04C,YAAA,CAAA5pC,IACA7L,IAAA,IACA,CAIO,eAAAq2C,GAAAC,CAAA,QAIP,aAHA,OAAAJ,QACA,SAAAA,OAAAC,MAAA,EACA,oBAAAze,YALA6e,KAUA,MAAAT,GAAAQ,IAVAh4C,OAAA,YAAAA,OAAA,YAAAA,OAAA,YAOA+c,QAAAC,IAAA,uGACAg7B,EAIA,CACO,eAAAE,GAAAhkC,CAAA,CAAAiH,CAAA,CAAAg9B,EAAA,IACP,IAAAC,EAAAC,WArCA,IAAAC,EAAA,IAAAC,YADA,IAEA,uBAAAX,OAAA,CACA,IAAAY,EAAA,qEACAC,EAAAD,EAAAr6C,MAAA,CACA65C,EAAA,GACA,QAAAvwB,EAAA,EAAwBA,EANxB,GAM4CA,IAC5CuwB,GAAAQ,EAAAn6C,MAAA,CAAA+zB,KAAAC,KAAA,CAAAD,KAAAqjB,MAAA,GAAAgD,IAEA,OAAAT,CACA,CAEA,OADAJ,OAAAc,eAAA,CAAAJ,GACAz0C,MAAAoH,IAAA,CAAAqtC,EAAAhB,IAAA51C,IAAA,IACA,IA0BAi3C,EAAAP,EACAD,GACAQ,CAAAA,GAAA,sBAEA,MAAA1C,GAAA/hC,EAAA,GAAmCiH,EAAW,gBAAAw9B,GAC9C,IAAAC,EAAA,MAAAb,GAAAK,GACAS,EAAAT,IAAAQ,EAAA,eACA,OAAAA,EAAAC,EAAA,CAvGAxC,GAAAC,kBAAA,CAAAj3C,QA0GA,IAAAy5C,GAAA,4DCrQO,OAAAC,WAAAn8C,MACPC,YAAA1B,CAAA,CAAA4M,CAAA,CAAA8G,CAAA,EACA,MAAA1T,GACA,KAAA69C,aAAA,IACA,KAAA7tC,IAAA,aACA,KAAApD,MAAA,CAAAA,EACA,KAAA8G,IAAA,CAAAA,CACA,CACA,CACO,SAAAoqC,GAAAt6C,CAAA,EACP,uBAAAA,GAAAA,OAAAA,GAAA,kBAAAA,CACA,CACO,MAAAu6C,WAAAH,GACPl8C,YAAA1B,CAAA,CAAA4M,CAAA,CAAA8G,CAAA,EACA,MAAA1T,EAAA4M,EAAA8G,GACA,KAAA1D,IAAA,gBACA,KAAApD,MAAA,CAAAA,EACA,KAAA8G,IAAA,CAAAA,CACA,CACA,CAIO,MAAAsqC,WAAAJ,GACPl8C,YAAA1B,CAAA,CAAAszC,CAAA,EACA,MAAAtzC,GACA,KAAAgQ,IAAA,oBACA,KAAAsjC,aAAA,CAAAA,CACA,CACA,CACO,MAAA2K,WAAAL,GACPl8C,YAAA1B,CAAA,CAAAgQ,CAAA,CAAApD,CAAA,CAAA8G,CAAA,EACA,MAAA1T,EAAA4M,EAAA8G,GACA,KAAA1D,IAAA,CAAAA,EACA,KAAApD,MAAA,CAAAA,CACA,CACA,CACO,MAAAsxC,WAAAD,GACPv8C,aAAA,CACA,4DAAA4D,KAAAA,EACA,CACA,CACO,MAAA64C,WAAAF,GACPv8C,aAAA,CACA,yEAAA4D,KAAAA,EACA,CACA,CACO,MAAA84C,WAAAH,GACPv8C,YAAA1B,CAAA,EACA,MAAAA,EAAA,kCAAAsF,KAAAA,EACA,CACA,CACO,MAAA+4C,WAAAJ,GACPv8C,YAAA1B,CAAA,CAAAwjB,EAAA,MACA,MAAAxjB,EAAA,qCAAAsF,KAAAA,GACA,KAAAke,OAAA,MACA,KAAAA,OAAA,CAAAA,CACA,CACApZ,QAAA,CACA,OACA4F,KAAA,KAAAA,IAAA,CACAhQ,QAAA,KAAAA,OAAA,CACA4M,OAAA,KAAAA,MAAA,CACA4W,QAAA,KAAAA,OAAA,CAEA,CACA,CACO,MAAA86B,WAAAL,GACPv8C,YAAA1B,CAAA,CAAAwjB,EAAA,MACA,MAAAxjB,EAAA,qCAAAsF,KAAAA,GACA,KAAAke,OAAA,MACA,KAAAA,OAAA,CAAAA,CACA,CACApZ,QAAA,CACA,OACA4F,KAAA,KAAAA,IAAA,CACAhQ,QAAA,KAAAA,OAAA,CACA4M,OAAA,KAAAA,MAAA,CACA4W,QAAA,KAAAA,OAAA,CAEA,CACA,CACO,MAAA+6B,WAAAN,GACPv8C,YAAA1B,CAAA,CAAA4M,CAAA,EACA,MAAA5M,EAAA,0BAAA4M,EAAAtH,KAAAA,EACA,CACA,CACO,SAAAk5C,GAAAh7C,CAAA,EACP,OAAAs6C,GAAAt6C,IAAAA,4BAAAA,EAAAwM,IAAA,CAOO,MAAAyuC,WAAAR,GACPv8C,YAAA1B,CAAA,CAAA4M,CAAA,CAAA8xC,CAAA,EACA,MAAA1+C,EAAA,wBAAA4M,EAAA,iBACA,KAAA8xC,OAAA,CAAAA,CACA,CACA,CCpGA,IAAAC,GAA0B,SAAA74B,CAAA,CAAAoG,CAAA,EAC1B,IAAAlB,EAAA,GACA,QAAA9X,KAAA4S,EAAAtlB,OAAA8d,SAAA,CAAAC,cAAA,CAAAjO,IAAA,CAAAwV,EAAA5S,IAAAgZ,EAAAA,EAAAjnB,OAAA,CAAAiO,IACA8X,CAAAA,CAAA,CAAA9X,EAAA,CAAA4S,CAAA,CAAA5S,EAAA,EACA,GAAA4S,MAAAA,GAAA,mBAAAtlB,OAAAo+C,qBAAA,CACA,QAAAtyB,EAAA,EAAApZ,EAAA1S,OAAAo+C,qBAAA,CAAA94B,GAA6DwG,EAAApZ,EAAAlQ,MAAA,CAAcspB,IAC3E,EAAAJ,EAAAjnB,OAAA,CAAAiO,CAAA,CAAAoZ,EAAA,GAAA9rB,OAAA8d,SAAA,CAAAugC,oBAAA,CAAAvuC,IAAA,CAAAwV,EAAA5S,CAAA,CAAAoZ,EAAA,GACAtB,CAAAA,CAAA,CAAA9X,CAAA,CAAAoZ,EAAA,EAAAxG,CAAA,CAAA5S,CAAA,CAAAoZ,EAAA,GAEA,OAAAtB,CACA,EAIA,IAAM8zB,GAAgB,GAAA/+C,EAAAoxC,GAAA,EAAApxC,EAAAC,OAAA,EAAAD,EAAA6zC,iBAAA,EAAA7zC,EAAAyD,KAAA,EAAAqX,KAAAkI,SAAA,CAAAhjB,GACtBg/C,GAAA,cACO,eAAeC,GAAWx7C,CAAA,MACjCqc,MAQAqD,EAOA+7B,EAdA,IAASrE,GAAsBp3C,GAC/B,UAAkB+6C,GAAwBO,GAAgBt7C,GAAA,GAE1D,GAAAu7C,GAAAn1C,QAAA,CAAApG,EAAAoJ,MAAA,EAEA,UAAkB2xC,GAAwBO,GAAgBt7C,GAAAA,EAAAoJ,MAAA,EAG1D,IACAsW,EAAA,MAAA1f,EAAAuJ,IAAA,EACA,CACA,MAAAmf,EAAA,CACA,UAAkB8xB,GAAiBc,GAAgB5yB,GAAAA,EACnD,CAEA,IAAAgzB,EAA+BC,SFqOxBl7C,CAAA,EACP,IAAAm7C,EAAAn7C,EAAAlC,OAAA,CAAAjB,GAAA,CAA4C+4C,IAC5C,IAAAuF,GAGA,CAAAA,EAAA5oC,KAAA,CAAAmnC,IAFA,YAKA,IAEA,OADA,IAAA9kC,KAAA,GAAiCumC,EAAW,cAE5C,CACA,MAAAlzB,EAAA,CACA,WACA,CACA,EEpPsD1oB,GAWtD,GAVA07C,GACAA,EAAAG,OAAA,IAAwCvF,EAAY,eAAAhW,SAAA,EACpD,iBAAA5gB,GACAA,GACA,iBAAAA,EAAAxP,IAAA,CACAurC,EAAA/7B,EAAAxP,IAAA,CAEA,iBAAAwP,GAAAA,GAAA,iBAAAA,EAAAo8B,UAAA,EACAL,CAAAA,EAAA/7B,EAAAo8B,UAAA,EAEAL,EAYA,IAAAA,kBAAAA,EACA,UAAkBR,GAAsBK,GAAgB57B,GAAA1f,EAAAoJ,MAAA,SAAAiT,CAAAA,EAAAqD,EAAAq8B,aAAA,GAAA1/B,KAAA,IAAAA,EAAA,OAAAA,EAAA6+B,OAAA,MACxD,MAZA,oBAAAx7B,GACAA,GACA,iBAAAA,EAAAq8B,aAAA,EACAr8B,EAAAq8B,aAAA,EACA72C,MAAAC,OAAA,CAAAua,EAAAq8B,aAAA,CAAAb,OAAA,GACAx7B,EAAAq8B,aAAA,CAAAb,OAAA,CAAA17C,MAAA,EACAkgB,EAAAq8B,aAAA,CAAAb,OAAA,CAAAh3B,MAAA,EAAA2E,EAAAC,IAAAD,GAAA,iBAAAC,EAAA,IACA,UAAsBmyB,GAAsBK,GAAgB57B,GAAA1f,EAAAoJ,MAAA,CAAAsW,EAAAq8B,aAAA,CAAAb,OAAA,CAM5D,WAAcX,GAAae,GAAgB57B,GAAA1f,EAAAoJ,MAAA,MAAAqyC,EAC3C,CACA,IAAMO,GAAiB,CAAAj0C,EAAAvE,EAAA+sC,EAAAvnC,KACvB,IAAAhI,EAAA,CAAqB+G,OAAAA,EAAAxJ,QAAA,CAAAiF,MAAAA,EAAA,OAAAA,EAAAjF,OAAA,aACrB,QAAAwJ,EACA/G,GAEAA,EAAAzC,OAAA,CAAAvB,OAAAyjB,MAAA,EAAqC,+CAAkC,EAAgBjd,MAAAA,EAAA,OAAAA,EAAAjF,OAAA,EACvFyC,EAAAgI,IAAA,CAAAqO,KAAAkI,SAAA,CAAAvW,GACAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAyCzf,GAAAuvC,GACzC,EACO,eAAAhwC,GAAAkwC,CAAA,CAAA1oC,CAAA,CAAAlI,CAAA,CAAA2D,CAAA,EACP,IAAA6Y,EACA,IAAA9d,EAAAvB,OAAAyjB,MAAA,IAAoCjd,MAAAA,EAAA,OAAAA,EAAAjF,OAAA,CACpCA,CAAAA,CAAA,CAAiB83C,GAAuB,EACxC93C,CAAAA,CAAA,CAAgB83C,GAAuB,CAAIC,EAAY,eAAA9pC,IAAA,EAEvDhJ,CAAAA,MAAAA,EAAA,OAAAA,EAAAy4C,GAAA,GACA19C,CAAAA,EAAA,wBAA6CiF,EAAAy4C,GAAA,CAAY,GAEzD,IAAAC,EAAA,OAAA7/B,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAA3B,KAAA,GAAAwa,KAAA,IAAAA,EAAAA,EAAA,GACA7Y,CAAAA,MAAAA,EAAA,OAAAA,EAAA24C,UAAA,GACAD,CAAAA,EAAA,YAAA14C,EAAA24C,UAAA,EAEA,IAAA5I,EAAAv2C,OAAA4L,IAAA,CAAAszC,GAAA18C,MAAA,SAAA8vC,gBAAA4M,GAAA92C,QAAA,MACAsa,EAAA,MAAuB08B,GAAc3L,EAAA1oC,EAAAlI,EAAA0zC,EAAA,CACrCh1C,QAAAA,EACAmyC,cAAAltC,MAAAA,EAAA,OAAAA,EAAAktC,aAAA,EACK,GAAIltC,MAAAA,EAAA,OAAAA,EAAAwF,IAAA,EACT,OAAAxF,MAAAA,EAAA,OAAAA,EAAA64C,KAAA,EAAA74C,MAAAA,EAAA,OAAAA,EAAA64C,KAAA,CAAA38B,GAAA,CAAyJA,KAAA1iB,OAAAyjB,MAAA,IAAsBf,GAAA1f,MAAA,KAC/K,CACA,eAAeo8C,GAAc3L,CAAA,CAAA1oC,CAAA,CAAAlI,CAAA,CAAA2D,CAAA,CAAA+sC,CAAA,CAAAvnC,CAAA,MAE7B9E,EADA,IAAAo4C,EAA0BN,GAAiBj0C,EAAAvE,EAAA+sC,EAAAvnC,GAE3C,IACA9E,EAAA,MAAAusC,EAAA5wC,EAAA7C,OAAAyjB,MAAA,IAAoD67B,GACpD,CACA,MAAA5zB,EAAA,CAGA,MAFAtK,QAAApe,KAAA,CAAA0oB,GAEA,IAAkBqyB,GAAwBO,GAAgB5yB,GAAA,EAC1D,CAIA,GAHAxkB,EAAAgF,EAAA,EACA,MAAcsyC,GAAWt3C,GAEzBV,MAAAA,EAAA,OAAAA,EAAAktC,aAAA,CACA,OAAAxsC,EAEA,IACA,aAAAA,EAAAqF,IAAA,EACA,CACA,MAAAmf,EAAA,CACA,MAAc8yB,GAAW9yB,EACzB,CACA,CACO,SAAA6zB,GAAA78B,CAAA,MACPrD,EFlHOu2B,EEmHP,IAAA4J,EAAA,KAQA,OAmDA98B,EAAAsoB,YAAA,EAAAtoB,EAAA+8B,aAAA,EAAA/8B,EAAAg9B,UAAA,GAzDAF,EAAAx/C,OAAAyjB,MAAA,IAAkCf,GAClC,CAAAA,EAAAi9B,UAAA,GACAH,CAAAA,EAAAG,UAAA,EFvHO/J,EEuHmClzB,EAAAg9B,UAAA,CFrH1CE,KADAC,KAAA,CAAAxnC,KAAA1C,GAAA,QACAigC,EEqH0C,EAI1C,CAAalzB,KAAA,CAAQ88B,QAAAA,EAAAM,KADrB,OAAAzgC,CAAAA,EAAAqD,EAAAo9B,IAAA,GAAAzgC,KAAA,IAAAA,EAAAA,EAAAqD,CACqB,EAAe1f,MAAA,KACpC,CACO,SAAA+8C,GAAAr9B,CAAA,EACP,IAAAjf,EAAA87C,GAAA78B,GAWA,MAVA,CAAAjf,EAAAT,KAAA,EACA0f,EAAAq8B,aAAA,EACA,iBAAAr8B,EAAAq8B,aAAA,EACA72C,MAAAC,OAAA,CAAAua,EAAAq8B,aAAA,CAAAb,OAAA,GACAx7B,EAAAq8B,aAAA,CAAAb,OAAA,CAAA17C,MAAA,EACAkgB,EAAAq8B,aAAA,CAAAv/C,OAAA,EACA,iBAAAkjB,EAAAq8B,aAAA,CAAAv/C,OAAA,EACAkjB,EAAAq8B,aAAA,CAAAb,OAAA,CAAAh3B,MAAA,EAAA2E,EAAAC,IAAAD,GAAA,iBAAAC,EAAA,KACAroB,CAAAA,EAAAif,IAAA,CAAAq8B,aAAA,CAAAr8B,EAAAq8B,aAAA,EAEAt7C,CACA,CACO,SAAAu8C,GAAAt9B,CAAA,EACP,IAAArD,EAEA,OAAaqD,KAAA,CAAQo9B,KADrB,OAAAzgC,CAAAA,EAAAqD,EAAAo9B,IAAA,GAAAzgC,KAAA,IAAAA,EAAAA,EAAAqD,CACqB,EAAM1f,MAAA,KAC3B,CACO,SAAAi9C,GAAAv9B,CAAA,EACP,OAAaA,KAAAA,EAAA1f,MAAA,KACb,CACO,SAAAk9C,GAAAx9B,CAAA,EACP,IAAYy9B,YAAAA,CAAA,CAAAC,UAAAA,CAAA,CAAAC,aAAAA,CAAA,CAAAC,YAAAA,CAAA,CAAAC,kBAAAA,CAAA,EAAuE79B,EASnF,OACAA,KAAA,CACA89B,WAVA,CACAL,YAAAA,EACAC,UAAAA,EACAC,aAAAA,EACAC,YAAAA,EACAC,kBAAAA,CACA,EAKAT,KAJA9/C,OAAAyjB,MAAA,IARmF06B,GAAAz7B,EAAA,8EAanF,EACA1f,MAAA,IACA,CACA,CACO,SAAAy9C,GAAA/9B,CAAA,EACP,OAAAA,CACA,CCxKA,IAAIg+B,GAAsB,SAAAp7B,CAAA,CAAAoG,CAAA,EAC1B,IAAAlB,EAAA,GACA,QAAA9X,KAAA4S,EAAAtlB,OAAA8d,SAAA,CAAAC,cAAA,CAAAjO,IAAA,CAAAwV,EAAA5S,IAAAgZ,EAAAA,EAAAjnB,OAAA,CAAAiO,IACA8X,CAAAA,CAAA,CAAA9X,EAAA,CAAA4S,CAAA,CAAA5S,EAAA,EACA,GAAA4S,MAAAA,GAAA,mBAAAtlB,OAAAo+C,qBAAA,CACA,QAAAtyB,EAAA,EAAApZ,EAAA1S,OAAAo+C,qBAAA,CAAA94B,GAA6DwG,EAAApZ,EAAAlQ,MAAA,CAAcspB,IAC3E,EAAAJ,EAAAjnB,OAAA,CAAAiO,CAAA,CAAAoZ,EAAA,GAAA9rB,OAAA8d,SAAA,CAAAugC,oBAAA,CAAAvuC,IAAA,CAAAwV,EAAA5S,CAAA,CAAAoZ,EAAA,GACAtB,CAAAA,CAAA,CAAA9X,CAAA,CAAAoZ,EAAA,EAAAxG,CAAA,CAAA5S,CAAA,CAAAoZ,EAAA,GAEA,OAAAtB,CACA,CAIe,OAAMm2B,GACrBz/C,YAAA,CAAkB2B,IAAAA,EAAA,GAAAtB,QAAAA,EAAA,EAAsB,CAAAigB,MAAAA,CAAA,CAAU,EAClD,KAAA3e,GAAA,CAAAA,EACA,KAAAtB,OAAA,CAAAA,EACA,KAAAigB,KAAA,CAAqB24B,GAAY34B,GACjC,KAAAo/B,GAAA,EACAC,YAAA,KAAAC,YAAA,CAAAnyC,IAAA,OACAoyC,aAAA,KAAAC,aAAA,CAAAryC,IAAA,MACA,CACA,CAMA,MAAAsyC,QAAAhC,CAAA,CAAAiC,EAAA,UACA,IAMA,OALA,MAAkB39C,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,gBAAgBq+C,EAAM,GACjF3/C,QAAA,KAAAA,OAAA,CACA09C,IAAAA,EACAvL,cAAA,EACA,GACA,CAAqBhxB,KAAA,KAAA1f,MAAA,KACrB,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAMA,MAAAm+C,kBAAAC,CAAA,CAAA56C,EAAA,EAA+C,EAC/C,IACA,aAAyBjD,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,UAClEmJ,KAAA,CAAwBo1C,MAAAA,EAAA1+B,KAAAlc,EAAAkc,IAAA,EACxBnhB,QAAA,KAAAA,OAAA,CACA49C,WAAA34C,EAAA24C,UAAA,CACAE,MAAuBW,EACvB,EACA,CACA,MAAAh9C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CAQA,MAAAq+C,aAAAr9C,CAAA,EACA,IACA,IAAoBwC,QAAAA,CAAA,EAAUxC,EAAAs9C,EAAiBZ,GAAM18C,EAAA,aACrDgI,EAAAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAuD69B,GAAA96C,GAMvD,MALA,aAAA86C,IAEAt1C,EAAAu1C,SAAA,CAAAD,MAAAA,EAAA,OAAAA,EAAAE,QAAA,CACA,OAAAx1C,EAAA,UAEA,MAAyBzI,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,uBAClEmJ,KAAAA,EACAzK,QAAA,KAAAA,OAAA,CACA89C,MAAuBa,GACvBf,WAAA34C,MAAAA,EAAA,OAAAA,EAAA24C,UAAA,EAEA,CACA,MAAAn8C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OACA0f,KAAA,CACA89B,WAAA,KACAV,KAAA,IACA,EACA98C,MAAAA,CACA,CAEA,OAAAA,CACA,CACA,CAMA,MAAAy+C,WAAAnsC,CAAA,EACA,IACA,aAAyB/R,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,eAClEmJ,KAAAsJ,EACA/T,QAAA,KAAAA,OAAA,CACA89C,MAAuBW,EACvB,EACA,CACA,MAAAh9C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CAOA,MAAA0+C,UAAA19C,CAAA,EACA,IAAAqb,EAAAmD,EAAAC,EAAAS,EAAAqqB,EAAAC,EAAAmU,EACA,IACA,IAAAC,EAAA,CAAiCC,SAAA,KAAAC,SAAA,EAAAC,MAAA,GACjCt+C,EAAA,MAAmCF,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,eAC3EtB,QAAA,KAAAA,OAAA,CACAmyC,cAAA,GACA7uC,MAAA,CACA1D,KAAA,OAAAqhB,CAAAA,EAAA,OAAAnD,CAAAA,EAAArb,MAAAA,EAAA,OAAAA,EAAA7C,IAAA,GAAAke,KAAA,IAAAA,EAAA,OAAAA,EAAAjX,QAAA,KAAAoa,KAAA,IAAAA,EAAAA,EAAA,GACAw/B,SAAA,OAAA9+B,CAAAA,EAAA,OAAAT,CAAAA,EAAAze,MAAAA,EAAA,OAAAA,EAAAi+C,OAAA,GAAAx/B,KAAA,IAAAA,EAAA,OAAAA,EAAAra,QAAA,KAAA8a,KAAA,IAAAA,EAAAA,EAAA,EACA,EACAm8B,MAAuBoB,EACvB,GACA,GAAAh9C,EAAAT,KAAA,CACA,MAAAS,EAAAT,KAAA,CACA,IAAAk/C,EAAA,MAAAz+C,EAAA8I,IAAA,GACAw1C,EAAA,OAAAxU,CAAAA,EAAA9pC,EAAAlC,OAAA,CAAAjB,GAAA,oBAAAitC,KAAA,IAAAA,EAAAA,EAAA,EACA4U,EAAA,OAAAR,CAAAA,EAAA,OAAAnU,CAAAA,EAAA/pC,EAAAlC,OAAA,CAAAjB,GAAA,WAAAktC,KAAA,IAAAA,EAAA,OAAAA,EAAA7nC,KAAA,QAAAg8C,KAAA,IAAAA,EAAAA,EAAA,GASA,OARAQ,EAAA3/C,MAAA,KACA2/C,EAAAxyC,OAAA,KACA,IAAAxO,EAAA4hB,SAAAq/B,EAAAz8C,KAAA,KAAuD,IAAAA,KAAA,SAAAhD,SAAA,OACvD0/C,EAAAhoC,KAAAC,KAAA,CAAA8nC,EAAAz8C,KAAA,KAAwD,IAAAA,KAAA,SACxDi8C,CAAAA,CAAA,IAAkCS,EAAI,OAAAlhD,CACtC,GACAygD,EAAAG,KAAA,CAAAh/B,SAAAg/B,IAEA,CAAqBr/B,KAAA1iB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAoCy+B,GAAAN,GAAA5+C,MAAA,KACzD,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQw/B,MAAA,IAAWl/C,MAAAA,CAAA,CAE5C,OAAAA,CACA,CACA,CAQA,MAAAs/C,YAAAC,CAAA,EACA,IACA,aAAyBh/C,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,eAAe0/C,EAAI,GACpFhhD,QAAA,KAAAA,OAAA,CACA89C,MAAuBW,EACvB,EACA,CACA,MAAAh9C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CAQA,MAAAw/C,eAAAD,CAAA,CAAAjtC,CAAA,EACA,IACA,aAAyB/R,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,eAAe0/C,EAAI,GACpFv2C,KAAAsJ,EACA/T,QAAA,KAAAA,OAAA,CACA89C,MAAuBW,EACvB,EACA,CACA,MAAAh9C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CAUA,MAAAy/C,WAAA/W,CAAA,CAAAgX,EAAA,IACA,IACA,aAAyBn/C,GAAQ,KAAAie,KAAA,aAA0B,KAAA3e,GAAA,CAAS,eAAe6oC,EAAG,GACtFnqC,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACA22C,mBAAAD,CACA,EACArD,MAAuBW,EACvB,EACA,CACA,MAAAh9C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CACA,MAAA89C,aAAA98C,CAAA,EACA,IACA,IAAoB0e,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,eAAemB,EAAA4+C,MAAA,CAAc,WAC/GrhD,QAAA,KAAAA,OAAA,CACA89C,MAAA,GACA,EAA6B38B,KAAA,CAAQmgC,QAAAA,CAAA,EAAS7/C,MAAA,MAE9C,GACA,OAAqB0f,KAAAA,EAAA1f,MAAAA,CAAA,CACrB,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CACA,MAAAg+C,cAAAh9C,CAAA,EACA,IAIA,OAAqB0e,KAHrB,MAA+Bnf,GAAQ,KAAAie,KAAA,aAA0B,KAAA3e,GAAA,CAAS,eAAemB,EAAA4+C,MAAA,CAAc,WAAW5+C,EAAA0nC,EAAA,CAAU,GAC5HnqC,QAAA,KAAAA,OAAA,GAEqByB,MAAA,KACrB,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CACA,CCnQO,IAAA8/C,GAAA,CACPtI,QAAA,GACA,KAGAp7C,WAAAw6C,YAAA,CAAAY,OAAA,CAAA94C,GAFA,KAIAq4C,QAAA,CAAAr4C,EAAAxB,KACay5C,MAGbv6C,WAAAw6C,YAAA,CAAAG,OAAA,CAAAr4C,EAAAxB,EACA,EACA85C,WAAA,IACaL,MAGbv6C,WAAAw6C,YAAA,CAAAI,UAAA,CAAAt4C,EACA,CACA,EAKO,SAAAqhD,GAAAnqC,EAAA,EAA6C,EACpD,OACA4hC,QAAA,GACA5hC,CAAA,CAAAlX,EAAA,OAEAq4C,QAAA,CAAAr4C,EAAAxB,KACA0Y,CAAA,CAAAlX,EAAA,CAAAxB,CACA,EACA85C,WAAA,IACA,OAAAphC,CAAA,CAAAlX,EAAA,CAEA,CACA,CEpCO,IAAAshD,GAAA,CAIP91B,MAAA,EAAA9tB,CAAAA,YACQu6C,MACRv6C,WAAAw6C,YAAA,EACAx6C,SAAAA,WAAAw6C,YAAA,CAAAY,OAAA,mCACA,CAMO,OAAAyI,WAAAhiD,MACPC,YAAA1B,CAAA,EACA,MAAAA,GACA,KAAA0jD,gBAAA,GACA,CACA,CACO,MAAAC,WAAAF,GACP,CA0BO,eAAAG,GAAA5zC,CAAA,CAAA6zC,CAAA,CAAAjvC,CAAA,EACP4uC,GAAA91B,KAAA,EACA9L,QAAA+O,GAAA,oDAAA3gB,EAAA6zC,GAEA,IAAAC,EAAA,IAAAlkD,WAAA0tC,eAAA,CAUA,OATAuW,EAAA,GACAthB,WAAA,KACAuhB,EAAAvW,KAAA,GACAiW,GAAA91B,KAAA,EACA9L,QAAA+O,GAAA,wDAAA3gB,EAEA,EAAS6zC,GAGT,MAAAjkD,WAAAk6B,SAAA,CAAAiqB,KAAA,CAAAt/C,OAAA,CAAAuL,EAAA6zC,IAAAA,EACA,CACAr4C,KAAA,YACAw4C,YAAA,EACA,EACA,CACAx4C,KAAA,YACAI,OAAAk4C,EAAAl4C,MAAA,EACS,MAAAq4C,IACT,GAAAA,EAAA,CACAT,GAAA91B,KAAA,EACA9L,QAAA+O,GAAA,gDAAA3gB,EAAAi0C,EAAAj0C,IAAA,EAEA,IACA,aAAA4E,GACA,QACA,CACA4uC,GAAA91B,KAAA,EACA9L,QAAA+O,GAAA,gDAAA3gB,EAAAi0C,EAAAj0C,IAAA,CAEA,CACA,KACA,CACA,GAAA6zC,IAAAA,EAIA,MAHAL,GAAA91B,KAAA,EACA9L,QAAA+O,GAAA,iEAAA3gB,GAEA,IAAA2zC,GAAA,sDAAiH3zC,EAAK,uBAGtH,GAAAwzC,GAAA91B,KAAA,CACA,IACA,IAAAhmB,EAAA,MAAA9H,WAAAk6B,SAAA,CAAAiqB,KAAA,CAAA1+C,KAAA,GACAuc,QAAA+O,GAAA,oDAAA9V,KAAAkI,SAAA,CAAArb,EAAA,WACA,CACA,MAAAwkB,EAAA,CACAtK,QAAAC,IAAA,wEAAAqK,EACA,CAOA,OADAtK,QAAAC,IAAA,4PACA,MAAAjN,GAEA,CACA,EACA,ECxGAsvC,WFLA,oBAAAtkD,WAEA,IACAY,OAAAC,cAAA,CAAAD,OAAA8d,SAAA,cACAxd,IAAA,WACA,aAEAS,aAAA,EACA,GAEA4iD,UAAAvkD,UAAA,CAAAukD,UAEA,OAAA3jD,OAAA8d,SAAA,CAAA6lC,SAAA,CAEA,MAAAj4B,EAAA,CACA,oBAAAzR,MAEAA,CAAAA,KAAA7a,UAAA,CAAA6a,IAAA,CAEA,CACA,IEdA,IAAA2pC,GAAA,CACA/gD,IRVO,wBQWP2c,WRVO,sBQWPg5B,iBAAA,GACAC,eAAA,GACAC,mBAAA,GACAn3C,QAAa63C,GACbT,SAAA,WACAzrB,MAAA,GACA22B,6BAAA,EACA,EAMA,eAAAC,GAAAt0C,CAAA,CAAA6zC,CAAA,CAAAjvC,CAAA,EACA,aAAAA,GACA,CACe,MAAA2vC,GAIf7iD,YAAAsF,CAAA,EACA,IAAA6Y,EAAAmD,CACA,MAAAwhC,aAAA,MACA,KAAAC,mBAAA,KAAA3wC,IACA,KAAA4wC,iBAAA,MACA,KAAAC,yBAAA,MACA,KAAAC,kBAAA,MAOA,KAAAC,iBAAA,MACA,KAAA3L,kBAAA,IACA,KAAAmL,4BAAA,IACA,KAAAS,yBAAA,IACA,KAAAC,YAAA,IACA,KAAAC,aAAA,IAIA,KAAAC,gBAAA,MACA,KAAApV,MAAA,CAAAjuB,QAAA+O,GAAA,CACA,KAAAu0B,UAAA,CAAAX,GAAAY,cAAA,CACAZ,GAAAY,cAAA,IACA,KAAAD,UAAA,IAAmCnL,MACnCn4B,QAAAC,IAAA,iNAEA,IAAAuH,EAAA5oB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAuDmgC,IAAAp9C,GAwDvD,GAvDA,KAAAo+C,gBAAA,GAAAh8B,EAAAsE,KAAA,CACA,mBAAAtE,EAAAsE,KAAA,EACA,MAAAmiB,MAAA,CAAAzmB,EAAAsE,KAAA,EAEA,KAAAurB,cAAA,CAAA7vB,EAAA6vB,cAAA,CACA,KAAAj5B,UAAA,CAAAoJ,EAAApJ,UAAA,CACA,KAAAg5B,gBAAA,CAAA5vB,EAAA4vB,gBAAA,CACA,KAAAqM,KAAA,KAAyBlE,GAAc,CACvC99C,IAAA+lB,EAAA/lB,GAAA,CACAtB,QAAAqnB,EAAArnB,OAAA,CACAigB,MAAAoH,EAAApH,KAAA,GAEA,KAAA3e,GAAA,CAAA+lB,EAAA/lB,GAAA,CACA,KAAAtB,OAAA,CAAAqnB,EAAArnB,OAAA,CACA,KAAAigB,KAAA,CAAqB24B,GAAYvxB,EAAApH,KAAA,EACjC,KAAAiiC,IAAA,CAAA76B,EAAA66B,IAAA,EAAAK,GACA,KAAApL,kBAAA,CAAA9vB,EAAA8vB,kBAAA,CACA,KAAAC,QAAA,CAAA/vB,EAAA+vB,QAAA,CACA,KAAAkL,4BAAA,CAAAj7B,EAAAi7B,4BAAA,CACAj7B,EAAA66B,IAAA,CACA,KAAAA,IAAA,CAAA76B,EAAA66B,IAAA,CAEiBlK,MAAS,QAAAl6B,CAAAA,EAAAjgB,MAAAA,WAAA,OAAAA,WAAAk6B,SAAA,GAAAja,KAAA,IAAAA,EAAA,OAAAA,EAAAkkC,KAAA,EAC1B,KAAAE,IAAA,CAAwBL,GAGxB,KAAAK,IAAA,CAAAK,GAEA,KAAAlD,GAAA,EACAkE,OAAA,KAAAC,OAAA,CAAAp2C,IAAA,OACAq2C,OAAA,KAAAC,OAAA,CAAAt2C,IAAA,OACAu2C,SAAA,KAAAC,SAAA,CAAAx2C,IAAA,OACAy2C,UAAA,KAAAC,UAAA,CAAA12C,IAAA,OACAkyC,YAAA,KAAAC,YAAA,CAAAnyC,IAAA,OACA22C,mBAAA,KAAAC,mBAAA,CAAA52C,IAAA,OACA62C,+BAAA,KAAAC,+BAAA,CAAA92C,IAAA,MACA,EACA,KAAA8pC,cAAA,CACA7vB,EAAArQ,OAAA,CACA,KAAAA,OAAA,CAAAqQ,EAAArQ,OAAA,CAGoBohC,KACpB,KAAAphC,OAAA,CAAmCuqC,IAGnC,KAAAkB,aAAA,IACA,KAAAzrC,OAAA,CAAmCwqC,GAAyB,KAAAiB,aAAA,IAK5D,KAAAA,aAAA,IACA,KAAAzrC,OAAA,CAA2BwqC,GAAyB,KAAAiB,aAAA,GAExCzK,MAASn6C,WAAAsmD,gBAAA,OAAAjN,cAAA,OAAAj5B,UAAA,EACrB,IACA,KAAAilC,gBAAA,KAAArlD,WAAAsmD,gBAAA,MAAAlmC,UAAA,CACA,CACA,MAAAkM,EAAA,CACAtK,QAAApe,KAAA,0FAAA0oB,EACA,CACA,OAAAlJ,CAAAA,EAAA,KAAAiiC,gBAAA,GAAAjiC,KAAA,IAAAA,GAAAA,EAAAmjC,gBAAA,iBAAA1pC,IACA,KAAA2pC,MAAA,4DAAA3pC,GACA,WAAA4pC,qBAAA,CAAA5pC,EAAAyG,IAAA,CAAAzG,KAAA,CAAAA,EAAAyG,IAAA,CAAA88B,OAAA,IACA,EACA,CACA,KAAAsG,UAAA,EACA,CACAF,OAAA,GAAA/kD,CAAA,EAIA,OAHA,KAAA+jD,gBAAA,EACA,KAAAvV,MAAA,iBAAwC,KAAAqV,UAAA,GAAiB,EAAGvL,GAAQ,IAAI,IAAA9gC,OAAA0tC,WAAA,GAAyB,KAAAllD,GAEjG,KAOA,MAAAilD,YAAA,QACA,KAAAzB,iBAAA,EAGA,MAAAA,iBAAA,WACA,WAAA2B,YAAA,aACA,WAAAC,WAAA,GAEA,GAAS,EANT,WAAA5B,iBAAA,CAeA,MAAA4B,aAAA,CACA,IACA,IAAAC,EAA+B3M,EAAAA,MAAS,WAAA4M,WAAA,GAExC,GADA,KAAAP,MAAA,yCAAAM,GACAA,GAAA,KAAAxN,kBAAA,OAAA0N,oBAAA,IACA,IAAwB1jC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAAqjD,kBAAA,CAAAH,GACtC,GAAAljD,EAAA,CAIA,GAHA,KAAA4iD,MAAA,qDAAA5iD,GAGA,CAAAA,MAAAA,EAAA,OAAAA,EAAAxD,OAAA,kCACA,CAAAwD,MAAAA,EAAA,OAAAA,EAAAxD,OAAA,iDACA,OAAiCwD,MAAAA,CAAA,EAKjC,OADA,WAAAsjD,cAAA,GACA,CAA6BtjD,MAAAA,CAAA,CAC7B,CACA,IAAwBw8C,QAAAA,CAAA,CAAA+G,aAAAA,CAAA,EAAwB7jC,EAWhD,OAVA,KAAAkjC,MAAA,4CAAApG,EAAA,gBAAA+G,GACA,WAAAC,YAAA,CAAAhH,GACAzd,WAAA,UACAwkB,aAAAA,EACA,WAAAV,qBAAA,qBAAArG,GAGA,WAAAqG,qBAAA,aAAArG,EAEA,EAAiB,GACjB,CAAyBx8C,MAAA,KACzB,CAGA,OADA,WAAAyjD,kBAAA,GACA,CAAqBzjD,MAAA,KACrB,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyBA,MAAAA,CAAA,EAEzB,OACAA,MAAA,IAA2Bw6C,GAAgB,yCAAAx6C,EAC3C,CACA,QACA,CACA,WAAA0jD,uBAAA,GACA,KAAAd,MAAA,wBACA,CACA,CAMA,MAAAe,kBAAAj8C,CAAA,EACA,IAAA2U,EAAAmD,EAAAC,EACA,IACA,WAAA6jC,cAAA,GASA,IAAoB5jC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EARpB,MAA8BO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,UACvEtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACA0W,KAAA,OAAAF,CAAAA,EAAA,OAAAnD,CAAAA,EAAA3U,MAAAA,EAAA,OAAAA,EAAAlE,OAAA,GAAA6Y,KAAA,IAAAA,EAAA,OAAAA,EAAAqD,IAAA,GAAAF,KAAA,IAAAA,EAAAA,EAAA,GACAokC,qBAAA,CAA4CC,cAAA,OAAApkC,CAAAA,EAAA/X,MAAAA,EAAA,OAAAA,EAAAlE,OAAA,GAAAic,KAAA,IAAAA,EAAA,OAAAA,EAAAqkC,YAAA,CAC5C,EACAzH,MAAuBE,EACvB,GAEA,GAAAv8C,GAAA,CAAA0f,EACA,OAAyBA,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,EAE5D,IAAAw8C,EAAA98B,EAAA88B,OAAA,CACAM,EAAAp9B,EAAAo9B,IAAA,CAKA,OAJAp9B,EAAA88B,OAAA,GACA,WAAAgH,YAAA,CAAA9jC,EAAA88B,OAAA,EACA,WAAAqG,qBAAA,aAAArG,IAEA,CAAqB98B,KAAA,CAAQo9B,KAAAA,EAAAN,QAAAA,CAAA,EAAex8C,MAAA,KAC5C,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAWA,MAAA+jD,OAAAr8C,CAAA,EACA,IAAA2U,EAAAmD,EAAAC,EACA,QAEAxM,EACA,GAFA,WAAAqwC,cAAA,GAEA,UAAA57C,EAAA,CACA,IAAwB02C,MAAAA,CAAA,CAAA13C,SAAAA,CAAA,CAAAlD,QAAAA,CAAA,EAA2BkE,EACnDuyC,EAAA,KACAC,EAAA,IACA,eAAAvE,QAAA,EAEA,EAAAsE,EAAAC,EAAA,OAAiEX,GAAyB,KAAAhkC,OAAA,MAAAiH,UAAA,GAE1FvJ,EAAA,MAA4B1S,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,UACrEtB,QAAA,KAAAA,OAAA,CACA49C,WAAA34C,MAAAA,EAAA,OAAAA,EAAAwgD,eAAA,CACAh7C,KAAA,CACAo1C,MAAAA,EACA13C,SAAAA,EACAgZ,KAAA,OAAArD,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAAkc,IAAA,GAAArD,KAAA,IAAAA,EAAAA,EAAA,GACAunC,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,EAChDG,eAAAhK,EACAiK,sBAAAhK,CACA,EACAmC,MAA2BE,EAC3B,EACA,MACA,aAAA70C,EAAA,CACA,IAAwBy8C,MAAAA,CAAA,CAAAz9C,SAAAA,CAAA,CAAAlD,QAAAA,CAAA,EAA2BkE,EACnDuL,EAAA,MAA4B1S,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,UACrEtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAm7C,MAAAA,EACAz9C,SAAAA,EACAgZ,KAAA,OAAAF,CAAAA,EAAAhc,MAAAA,EAAA,OAAAA,EAAAkc,IAAA,GAAAF,KAAA,IAAAA,EAAAA,EAAA,GACAsiB,QAAA,OAAAriB,CAAAA,EAAAjc,MAAAA,EAAA,OAAAA,EAAAs+B,OAAA,GAAAriB,KAAA,IAAAA,EAAAA,EAAA,MACAmkC,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,CAChD,EACAzH,MAA2BE,EAC3B,EACA,MAEA,UAA0B3B,GAA2B,mEAErD,IAAoBl7B,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAciT,EAClC,GAAAjT,GAAA,CAAA0f,EACA,OAAyBA,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,EAE5D,IAAAw8C,EAAA98B,EAAA88B,OAAA,CACAM,EAAAp9B,EAAAo9B,IAAA,CAKA,OAJAp9B,EAAA88B,OAAA,GACA,WAAAgH,YAAA,CAAA9jC,EAAA88B,OAAA,EACA,WAAAqG,qBAAA,aAAArG,IAEA,CAAqB98B,KAAA,CAAQo9B,KAAAA,EAAAN,QAAAA,CAAA,EAAex8C,MAAA,KAC5C,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CASA,MAAAokD,mBAAA18C,CAAA,EACA,QAEAuL,EACA,GAFA,WAAAqwC,cAAA,GAEA,UAAA57C,EAAA,CACA,IAAwB02C,MAAAA,CAAA,CAAA13C,SAAAA,CAAA,CAAAlD,QAAAA,CAAA,EAA2BkE,EACnDuL,EAAA,MAA4B1S,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,6BACrEtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAo1C,MAAAA,EACA13C,SAAAA,EACAk9C,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,CAChD,EACAzH,MAA2BU,EAC3B,EACA,MACA,aAAAr1C,EAAA,CACA,IAAwBy8C,MAAAA,CAAA,CAAAz9C,SAAAA,CAAA,CAAAlD,QAAAA,CAAA,EAA2BkE,EACnDuL,EAAA,MAA4B1S,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,6BACrEtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAm7C,MAAAA,EACAz9C,SAAAA,EACAk9C,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,CAChD,EACAzH,MAA2BU,EAC3B,EACA,MAEA,UAA0BnC,GAA2B,mEAErD,IAAoBl7B,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAciT,EAClC,GAAAjT,EACA,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,EAE5D,IAAA0f,GAAA,CAAAA,EAAA88B,OAAA,GAAA98B,EAAAo9B,IAAA,CACA,OAAyBp9B,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAA,IAAa26C,EAA6B,EAMtG,OAJAj7B,EAAA88B,OAAA,GACA,WAAAgH,YAAA,CAAA9jC,EAAA88B,OAAA,EACA,WAAAqG,qBAAA,aAAAnjC,EAAA88B,OAAA,GAEA,CACA98B,KAAA1iB,OAAAyjB,MAAA,EAAsCq8B,KAAAp9B,EAAAo9B,IAAA,CAAAN,QAAA98B,EAAA88B,OAAA,EAAwC98B,EAAAq8B,aAAA,EAA0BsI,aAAA3kC,EAAAq8B,aAAA,EAAmC,MAC3I/7C,MAAAA,CACA,CACA,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAKA,MAAAskD,gBAAA58C,CAAA,EACA,IAAA2U,EAAAmD,EAAAC,EAAAS,EAEA,OADA,WAAAojC,cAAA,GACA,WAAAiB,qBAAA,CAAA78C,EAAA88C,QAAA,EACArI,WAAA,OAAA9/B,CAAAA,EAAA3U,EAAAlE,OAAA,GAAA6Y,KAAA,IAAAA,EAAA,OAAAA,EAAA8/B,UAAA,CACAsI,OAAA,OAAAjlC,CAAAA,EAAA9X,EAAAlE,OAAA,GAAAgc,KAAA,IAAAA,EAAA,OAAAA,EAAAilC,MAAA,CACAC,YAAA,OAAAjlC,CAAAA,EAAA/X,EAAAlE,OAAA,GAAAic,KAAA,IAAAA,EAAA,OAAAA,EAAAilC,WAAA,CACAC,oBAAA,OAAAzkC,CAAAA,EAAAxY,EAAAlE,OAAA,GAAA0c,KAAA,IAAAA,EAAA,OAAAA,EAAAykC,mBAAA,EAEA,CAIA,MAAAC,uBAAAC,CAAA,EAEA,OADA,WAAAxD,iBAAA,CACA,KAAA2B,YAAA,aACA,KAAA8B,uBAAA,CAAAD,GAEA,CACA,MAAAC,wBAAAD,CAAA,EACA,IAAAE,EAAA,MAAkCxN,GAAY,KAAAhiC,OAAA,IAAkB,KAAAiH,UAAA,CAAgB,iBAChF,CAAAi9B,EAAA8J,EAAA,EAAAwB,MAAAA,EAAAA,EAAA,IAAApiD,KAAA,MACA,CAAgB+c,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,yBAC/EtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAg8C,UAAAH,EACAI,cAAAxL,CACA,EACA4C,MAAmBE,EACnB,SAEA,CADA,MAAc9E,GAAe,KAAAliC,OAAA,IAAkB,KAAAiH,UAAA,CAAgB,iBAC/Dxc,GACA,CAAqB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,KAAA+G,aAAA,MAA+CvjD,MAAAA,CAAA,EAE5E,GAAA0f,EAAA88B,OAAA,EAAA98B,EAAAo9B,IAAA,EAMAp9B,EAAA88B,OAAA,GACA,WAAAgH,YAAA,CAAA9jC,EAAA88B,OAAA,EACA,WAAAqG,qBAAA,aAAAnjC,EAAA88B,OAAA,GAEA,CAAiB98B,KAAA1iB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAoCf,GAAA,CAAW6jC,aAAAA,MAAAA,EAAAA,EAAA,OAAsFvjD,MAAAA,CAAA,GATtJ,CACA0f,KAAA,CAAwBo9B,KAAA,KAAAN,QAAA,KAAA+G,aAAA,MACxBvjD,MAAA,IAA2B26C,EAC3B,CAOA,CAKA,MAAAuK,kBAAAx9C,CAAA,EACA,WAAA47C,cAAA,GACA,IACA,IAAoB9/C,QAAAA,CAAA,CAAAghD,SAAAA,CAAA,CAAAzoB,MAAAA,CAAA,CAAAiM,aAAAA,CAAA,CAAAmd,MAAAA,CAAA,EAAgDz9C,EAYpE,CAAoBgY,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAXpB,MAA8BO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,6BACvEtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAw7C,SAAAA,EACAY,SAAArpB,EACAiM,aAAAA,EACAmd,MAAAA,EACAvB,qBAAA,CAA4CC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,CAC5C,EACAzH,MAAuBE,EACvB,GAEA,GAAAv8C,EACA,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,EAE5D,IAAA0f,GAAA,CAAAA,EAAA88B,OAAA,GAAA98B,EAAAo9B,IAAA,CACA,OACAp9B,KAAA,CAA4Bo9B,KAAA,KAAAN,QAAA,MAC5Bx8C,MAAA,IAA+B26C,EAC/B,EAMA,OAJAj7B,EAAA88B,OAAA,GACA,WAAAgH,YAAA,CAAA9jC,EAAA88B,OAAA,EACA,WAAAqG,qBAAA,aAAAnjC,EAAA88B,OAAA,GAEA,CAAqB98B,KAAAA,EAAA1f,MAAAA,CAAA,CACrB,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAkBA,MAAAqlD,cAAA39C,CAAA,EACA,IAAA2U,EAAAmD,EAAAC,EAAAS,EAAAqqB,EACA,IAEA,GADA,WAAA+Y,cAAA,GACA,UAAA57C,EAAA,CACA,IAAwB02C,MAAAA,CAAA,CAAA56C,QAAAA,CAAA,EAAiBkE,EACzCuyC,EAAA,KACAC,EAAA,IACA,eAAAvE,QAAA,EAEA,EAAAsE,EAAAC,EAAA,OAAiEX,GAAyB,KAAAhkC,OAAA,MAAAiH,UAAA,GAE1F,IAAwBxc,MAAAA,CAAA,EAAQ,MAAQO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,OACjFtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAo1C,MAAAA,EACA1+B,KAAA,OAAArD,CAAAA,EAAA7Y,MAAAA,EAAA,OAAAA,EAAAkc,IAAA,GAAArD,KAAA,IAAAA,EAAAA,EAAA,GACAipC,YAAA,OAAA9lC,CAAAA,EAAAhc,MAAAA,EAAA,OAAAA,EAAA+hD,gBAAA,GAAA/lC,KAAA,IAAAA,GAAAA,EACAokC,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,EAChDG,eAAAhK,EACAiK,sBAAAhK,CACA,EACAiC,WAAA34C,MAAAA,EAAA,OAAAA,EAAAwgD,eAAA,GAEA,OAAyBtkC,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAC5D,CACA,aAAA0H,EAAA,CACA,IAAwBy8C,MAAAA,CAAA,CAAA3gD,QAAAA,CAAA,EAAiBkE,EACzC,CAAwBgY,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,OACvFtB,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAm7C,MAAAA,EACAzkC,KAAA,OAAAD,CAAAA,EAAAjc,MAAAA,EAAA,OAAAA,EAAAkc,IAAA,GAAAD,KAAA,IAAAA,EAAAA,EAAA,GACA6lC,YAAA,OAAAplC,CAAAA,EAAA1c,MAAAA,EAAA,OAAAA,EAAA+hD,gBAAA,GAAArlC,KAAA,IAAAA,GAAAA,EACA0jC,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,EAChDhiB,QAAA,OAAAyI,CAAAA,EAAA/mC,MAAAA,EAAA,OAAAA,EAAAs+B,OAAA,GAAAyI,KAAA,IAAAA,EAAAA,EAAA,KACA,CACA,GACA,OAAyB7qB,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,KAAAgJ,UAAA9lC,MAAAA,EAAA,OAAAA,EAAA+lC,UAAA,EAAmGzlD,MAAAA,CAAA,CACpI,CACA,UAAsB46C,GAA2B,oDACjD,CACA,MAAA56C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAIA,MAAA0lD,UAAA1kD,CAAA,EACA,IAAAqb,EAAAmD,EACA,QAKA28B,EACA2H,CALA,kBAAA9iD,EAAAsI,IAAA,EAAAtI,iBAAAA,EAAAsI,IAAA,EAEA,WAAAg6C,cAAA,GAIA,YAAAtiD,IACAm7C,EAAA,OAAA9/B,CAAAA,EAAArb,EAAAwC,OAAA,GAAA6Y,KAAA,IAAAA,EAAA,OAAAA,EAAA8/B,UAAA,CACA2H,EAAA,OAAAtkC,CAAAA,EAAAxe,EAAAwC,OAAA,GAAAgc,KAAA,IAAAA,EAAA,OAAAA,EAAAskC,YAAA,EAEA,IAAoBpkC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,UACnFtB,QAAA,KAAAA,OAAA,CACAyK,KAAAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAoDzf,GAAA,CAAa4iD,qBAAA,CAAwBC,cAAAC,CAAA,IACzF3H,WAAAA,EACAE,MAAuBE,EACvB,GACA,GAAAv8C,EACA,MAAAA,EAEA,IAAA0f,EACA,wDAEA,IAAA88B,EAAA98B,EAAA88B,OAAA,CACAM,EAAAp9B,EAAAo9B,IAAA,CAKA,MAJAN,CAAAA,MAAAA,EAAA,OAAAA,EAAAxU,YAAA,IACA,WAAAwb,YAAA,CAAAhH,GACA,WAAAqG,qBAAA,CAAA7hD,YAAAA,EAAAsI,IAAA,iCAAAkzC,IAEA,CAAqB98B,KAAA,CAAQo9B,KAAAA,EAAAN,QAAAA,CAAA,EAAex8C,MAAA,KAC5C,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAeA,MAAA2lD,cAAA3kD,CAAA,EACA,IAAAqb,EAAAmD,EAAAC,EACA,IACA,WAAA6jC,cAAA,GACA,IAAArJ,EAAA,KACAC,EAAA,KAKA,MAJA,cAAAvE,QAAA,EAEA,EAAAsE,EAAAC,EAAA,OAA6DX,GAAyB,KAAAhkC,OAAA,MAAAiH,UAAA,GAEtF,MAAyBjc,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,OAClEmJ,KAAAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA8F,eAAAzf,EAAA,CAA8B4kD,YAAA5kD,EAAA6kD,UAAA,EAAiC,iBAAA7kD,EAAA,CAAkC0E,OAAA1E,EAAA0E,MAAA,EAAwB,OAAY43C,YAAA,OAAA99B,CAAAA,EAAA,OAAAnD,CAAAA,EAAArb,EAAAwC,OAAA,GAAA6Y,KAAA,IAAAA,EAAA,OAAAA,EAAA8/B,UAAA,GAAA38B,KAAA,IAAAA,EAAAA,EAAA1d,KAAAA,CAAA,GAAyI,QAAA2d,CAAAA,EAAAze,MAAAA,EAAA,OAAAA,EAAAwC,OAAA,GAAAic,KAAA,IAAAA,EAAA,OAAAA,EAAAqkC,YAAA,EAC5W,CAAwBF,qBAAA,CAAwBC,cAAA7iD,EAAAwC,OAAA,CAAAsgD,YAAA,GAChD,OAAgCgC,mBAAA,GAAA7B,eAAAhK,EAAAiK,sBAAAhK,CAAA,GAChC37C,QAAA,KAAAA,OAAA,CACA89C,MAAuBY,EACvB,EACA,CACA,MAAAj9C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAKA,MAAA+lD,gBAAA,CAEA,OADA,WAAA1E,iBAAA,CACA,WAAA2B,YAAA,aACA,WAAAgD,eAAA,GAEA,CACA,MAAAA,iBAAA,CACA,IACA,kBAAAC,WAAA,OAAA/hD,IACA,IAAwBwb,KAAA,CAAQ88B,QAAAA,CAAA,CAAS,CAAAx8C,MAAAkmD,CAAA,EAAyBhiD,EAClE,GAAAgiD,EACA,MAAAA,EACA,IAAA1J,EACA,UAA8B9B,GAC9B,IAAwB16C,MAAAA,CAAA,EAAQ,MAAQO,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,kBAChFtB,QAAA,KAAAA,OAAA,CACA09C,IAAAO,EAAAxU,YAAA,GAEA,OAAyBtoB,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAC5D,EACA,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAIA,MAAAqiC,OAAA36B,CAAA,EACA,IACA,gBAAAA,EAAA4B,IAAA,EAAA5B,gBAAAA,EAAA4B,IAAA,EACA,WAAAg6C,cAAA,GAEA,IAAA6C,EAAA,GAAgC,KAAAtmD,GAAA,CAAS,SACzC,aAAA6H,EAAA,CACA,IAAwB02C,MAAAA,CAAA,CAAA90C,KAAAA,CAAA,CAAA9F,QAAAA,CAAA,EAAuBkE,EAC/C,CAAwB1H,MAAAA,CAAA,EAAQ,MAAQO,GAAQ,KAAAie,KAAA,QAAA2nC,EAAA,CAChD5nD,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAo1C,MAAAA,EACA90C,KAAAA,EACAs6C,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,CAChD,EACA3H,WAAA34C,MAAAA,EAAA,OAAAA,EAAAwgD,eAAA,GAEA,OAAyBtkC,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAC5D,CACA,aAAA0H,EAAA,CACA,IAAwBy8C,MAAAA,CAAA,CAAA76C,KAAAA,CAAA,CAAA9F,QAAAA,CAAA,EAAuBkE,EAC/C,CAAwBgY,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,QAAA2nC,EAAA,CACtD5nD,QAAA,KAAAA,OAAA,CACAyK,KAAA,CACAm7C,MAAAA,EACA76C,KAAAA,EACAs6C,qBAAA,CAAgDC,cAAArgD,MAAAA,EAAA,OAAAA,EAAAsgD,YAAA,CAChD,CACA,GACA,OAAyBpkC,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,KAAAgJ,UAAA9lC,MAAAA,EAAA,OAAAA,EAAA+lC,UAAA,EAAmGzlD,MAAAA,CAAA,CACpI,CACA,UAAsB46C,GAA2B,8DACjD,CACA,MAAA56C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAYA,MAAAka,YAAA,CAOA,OANA,WAAAmnC,iBAAA,CACA,WAAA2B,YAAA,aACA,KAAAiD,WAAA,OAAA/hD,GACAA,GAIA,CAIA,MAAA8+C,aAAA3C,CAAA,CAAAjvC,CAAA,EACA,KAAAwxC,MAAA,yBAAAvC,GACA,IACA,QAAAkB,YAAA,EACA,IAAA6E,EAAA,KAAA5E,aAAA,CAAAhiD,MAAA,CACA,KAAAgiD,aAAA,MAAAA,aAAA,CAAAhiD,MAAA,IACAkB,QAAAC,OAAA,GACAuD,EAAA,WACA,MAAAkiD,EACA,MAAAh1C,IACA,IASA,OARA,KAAAowC,aAAA,CAAA3iD,IAAA,YACA,IACA,MAAAqF,CACA,CACA,MAAAwkB,EAAA,CAEA,CACA,MACAxkB,CACA,CACA,kBAAAu8C,IAAA,SAA2C,KAAAjkC,UAAA,CAAgB,EAAA6jC,EAAA,UAC3D,KAAAuC,MAAA,sDAAApmC,UAAA,EACA,IACA,KAAA+kC,YAAA,IACA,IAAAr9C,EAAAkN,IAWA,IAVA,KAAAowC,aAAA,CAAA3iD,IAAA,YACA,IACA,MAAAqF,CACA,CACA,MAAAwkB,EAAA,CAEA,CACA,MACA,MAAAxkB,EAEA,KAAAs9C,aAAA,CAAAhiD,MAAA,GACA,IAAA6mD,EAAA,SAAA7E,aAAA,QACA9gD,QAAAmZ,GAAA,CAAAwsC,GACA,KAAA7E,aAAA,CAAA1+C,MAAA,GAAAujD,EAAA7mD,MAAA,CACA,CACA,aAAA0E,CACA,QACA,CACA,KAAA0+C,MAAA,sDAAApmC,UAAA,EACA,KAAA+kC,YAAA,GACA,CACA,EACA,QACA,CACA,KAAAqB,MAAA,uBACA,CACA,CAOA,MAAAqD,YAAA70C,CAAA,EACA,KAAAwxC,MAAA,yBACA,IAEA,IAAA1+C,EAAA,WAAAoiD,aAAA,GACA,aAAAl1C,EAAAlN,EACA,QACA,CACA,KAAA0+C,MAAA,sBACA,CACA,CAMA,MAAA0D,eAAA,CACA,KAAA1D,MAAA,6BACA,KAAArB,YAAA,EACA,KAAAqB,MAAA,gEAAAxiC,KAAA,EAEA,IACA,IAAAmmC,EAAA,KACAC,EAAA,MAAuCjP,GAAY,KAAAhiC,OAAA,MAAAiH,UAAA,EAWnD,GAVA,KAAAomC,MAAA,wCAAA4D,GACA,OAAAA,IACA,KAAAC,eAAA,CAAAD,GACAD,EAAAC,GAGA,KAAA5D,MAAA,sDACA,WAAAU,cAAA,KAGA,CAAAiD,EACA,OAAyB7mC,KAAA,CAAQ88B,QAAA,MAAex8C,MAAA,MAEhD,IAAA0mD,EAAAH,EAAAA,EAAA5J,UAAA,EACA4J,EAAA5J,UAAA,EAAAtnC,KAAA1C,GAAA,OAGA,GADA,KAAAiwC,MAAA,kCAA0D8D,EAAA,kBAA0B,eAAAH,EAAA5J,UAAA,EACpF,CAAA+J,EAAA,CACA,QAAAnxC,OAAA,CAAAoxC,QAAA,EACA,IAAAC,EAAA,KAAAtF,yBAAA,CAUAiF,EATA,IAAAlpD,MAAAkpD,EAAA,CACAjpD,IAAAA,CAAAkO,EAAAhO,EAAAiO,KACAm7C,GAAAppD,SAAAA,GAEA4gB,QAAAC,IAAA,qWAEA3S,QAAApO,GAAA,CAAAkO,EAAAhO,EAAAiO,GAEA,EAEA,CACA,OAAyBiU,KAAA,CAAQ88B,QAAA+J,CAAA,EAAyBvmD,MAAA,KAC1D,CACA,IAAoBw8C,QAAAA,CAAA,CAAAx8C,MAAAA,CAAA,EAAiB,WAAA6mD,iBAAA,CAAAN,EAAA9J,aAAA,EACrC,GAAAz8C,EACA,OAAyB0f,KAAA,CAAQ88B,QAAA,MAAex8C,MAAAA,CAAA,EAEhD,OAAqB0f,KAAA,CAAQ88B,QAAAA,CAAA,EAASx8C,MAAA,KACtC,QACA,CACA,KAAA4iD,MAAA,0BACA,CACA,CAQA,MAAAkE,QAAA7K,CAAA,SACA,EACA,WAAA8K,QAAA,CAAA9K,IAEA,WAAAoF,iBAAA,CACA,WAAA2B,YAAA,aACA,WAAA+D,QAAA,IAGA,CACA,MAAAA,SAAA9K,CAAA,EACA,IACA,GAAAA,EACA,aAA6B17C,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,QACrEtB,QAAA,KAAAA,OAAA,CACA09C,IAAAA,EACAI,MAA2BW,EAC3B,GAEA,kBAAAiJ,WAAA,OAAA/hD,IACA,IAAAmY,EAAAmD,EAAAC,EACA,IAAwBC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAckE,EACtC,GAAAlE,EACA,MAAAA,QAGA,QAAAqc,CAAAA,EAAAqD,EAAA88B,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,QAAA6Y,4BAAA,CAGA,MAA6BtgD,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,QACrEtB,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAAx8B,CAAAA,EAAA,OAAAD,CAAAA,EAAAE,EAAA88B,OAAA,GAAAh9B,KAAA,IAAAA,EAAA,OAAAA,EAAAwoB,YAAA,GAAAvoB,KAAA,IAAAA,EAAAA,EAAA3d,KAAAA,EACAu6C,MAA2BW,EAC3B,GANA,CAA6Bt9B,KAAA,CAAQo9B,KAAA,MAAY98C,MAAA,IAAa06C,EAAuB,CAOrF,EACA,CACA,MAAA16C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CAIA,MAAAgnD,WAAA10C,CAAA,CAAA9O,EAAA,EAA6C,EAE7C,OADA,WAAA69C,iBAAA,CACA,WAAA2B,YAAA,aACA,WAAAiE,WAAA,CAAA30C,EAAA9O,GAEA,CACA,MAAAyjD,YAAA30C,CAAA,CAAA9O,EAAA,EAA8C,EAC9C,IACA,kBAAAyiD,WAAA,OAAA/hD,IACA,IAAwBwb,KAAAwnC,CAAA,CAAAlnD,MAAAkmD,CAAA,EAAyChiD,EACjE,GAAAgiD,EACA,MAAAA,EAEA,IAAAgB,EAAA1K,OAAA,CACA,UAA8B9B,GAE9B,IAAA8B,EAAA0K,EAAA1K,OAAA,CACAvC,EAAA,KACAC,EAAA,IACA,eAAAvE,QAAA,EAAArjC,MAAAA,EAAA8rC,KAAA,EAEA,EAAAnE,EAAAC,EAAA,OAAiEX,GAAyB,KAAAhkC,OAAA,MAAAiH,UAAA,GAE1F,IAAwBkD,KAAAA,CAAA,CAAA1f,MAAAmnD,CAAA,EAAyB,MAAQ5mD,GAAQ,KAAAie,KAAA,UAAuB,KAAA3e,GAAA,CAAS,QACjGtB,QAAA,KAAAA,OAAA,CACA49C,WAAA34C,MAAAA,EAAA,OAAAA,EAAAwgD,eAAA,CACAh7C,KAAAhM,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAwDnO,GAAA,CAAiB2xC,eAAAhK,EAAAiK,sBAAAhK,CAAA,GACzE+B,IAAAO,EAAAxU,YAAA,CACAqU,MAA2BW,EAC3B,GACA,GAAAmK,EACA,MAAAA,EAIA,OAHA3K,EAAAM,IAAA,CAAAp9B,EAAAo9B,IAAA,CACA,WAAA0G,YAAA,CAAAhH,GACA,WAAAqG,qBAAA,gBAAArG,GACA,CAAyB98B,KAAA,CAAQo9B,KAAAN,EAAAM,IAAA,EAAoB98C,MAAA,KACrD,EACA,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,MAAY98C,MAAAA,CAAA,CAE7C,OAAAA,CACA,CACA,CAIAonD,WAAAnL,CAAA,EACA,OAAepE,GAAgBoE,EAC/B,CAMA,MAAAoL,WAAAd,CAAA,EAEA,OADA,WAAAlF,iBAAA,CACA,WAAA2B,YAAA,aACA,WAAAsE,WAAA,CAAAf,GAEA,CACA,MAAAe,YAAAf,CAAA,EACA,IACA,IAAAA,EAAAve,YAAA,GAAAue,EAAA9J,aAAA,CACA,UAA0B/B,GAE1B,IAAAkC,EAAAvnC,KAAA1C,GAAA,OACA40C,EAAA3K,EACA8J,EAAA,GACAlK,EAAA,KACAle,EAA4BuZ,GAAgB0O,EAAAve,YAAA,EAK5C,GAJA1J,EAAAkpB,GAAA,EAEAd,CAAAA,EAAAa,CADAA,EAAAjpB,EAAAkpB,GAAA,GACA5K,CAAA,EAEA8J,EAAA,CACA,IAAwBlK,QAAAiL,CAAA,CAAAznD,MAAAA,CAAA,EAAmC,WAAA6mD,iBAAA,CAAAN,EAAA9J,aAAA,EAC3D,GAAAz8C,EACA,OAA6B0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,EAEhE,IAAAynD,EACA,OAA6B/nC,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAA,MAEhEw8C,EAAAiL,CACA,KACA,CACA,IAAwB/nC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAA+mD,QAAA,CAAAR,EAAAve,YAAA,EACtC,GAAAhoC,EACA,MAAAA,EAEAw8C,EAAA,CACAxU,aAAAue,EAAAve,YAAA,CACAyU,cAAA8J,EAAA9J,aAAA,CACAK,KAAAp9B,EAAAo9B,IAAA,CACA4K,WAAA,SACAhL,WAAA6K,EAAA3K,EACAD,WAAA4K,CACA,EACA,WAAA/D,YAAA,CAAAhH,GACA,WAAAqG,qBAAA,aAAArG,EACA,CACA,OAAqB98B,KAAA,CAAQo9B,KAAAN,EAAAM,IAAA,CAAAN,QAAAA,CAAA,EAA6Bx8C,MAAA,KAC1D,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQ88B,QAAA,KAAAM,KAAA,MAA2B98C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAOA,MAAA2nD,eAAApB,CAAA,EAEA,OADA,WAAAlF,iBAAA,CACA,WAAA2B,YAAA,aACA,WAAA4E,eAAA,CAAArB,GAEA,CACA,MAAAqB,gBAAArB,CAAA,EACA,IACA,kBAAAN,WAAA,OAAA/hD,IACA,IAAAmY,EACA,IAAAkqC,EAAA,CACA,IAA4B7mC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAckE,EAC1C,GAAAlE,EACA,MAAAA,EAEAumD,EAAA,OAAAlqC,CAAAA,EAAAqD,EAAA88B,OAAA,GAAAngC,KAAA,IAAAA,EAAAA,EAAAva,KAAAA,CACA,CACA,IAAAykD,CAAAA,MAAAA,EAAA,OAAAA,EAAA9J,aAAA,EACA,UAA8B/B,GAE9B,IAAwB8B,QAAAA,CAAA,CAAAx8C,MAAAA,CAAA,EAAiB,WAAA6mD,iBAAA,CAAAN,EAAA9J,aAAA,SACzC,EACA,CAA6B/8B,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,EAEhEw8C,EAGA,CAAyB98B,KAAA,CAAQo9B,KAAAN,EAAAM,IAAA,CAAAN,QAAAA,CAAA,EAA6Bx8C,MAAA,MAF9D,CAA6B0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAA,KAGhE,EACA,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQo9B,KAAA,KAAAN,QAAA,MAA2Bx8C,MAAAA,CAAA,CAE5D,OAAAA,CACA,CACA,CAIA,MAAAqjD,mBAAAH,CAAA,EACA,IACA,IAAiB3M,KACjB,UAA0BsE,GAA8B,wBACxD,qBAAAlF,QAAA,OAAAyN,oBAAA,GAGA,iBAAAzN,QAAA,GAAAuN,EACA,UAA0BpI,GAA8B,6BACxD,MAJA,UAA0BD,GAA8B,wCAKxD,IAAA75C,EAA2Bi2C,GAAsBt6B,OAAAkrC,QAAA,CAAArhD,IAAA,EACjD,GAAA08C,EAAA,CACA,IAAAliD,EAAAkP,IAAA,CACA,UAA8B4qC,GAA8B,qBAC5D,IAAwBp7B,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAA8kD,uBAAA,CAAA9jD,EAAAkP,IAAA,EACtC,GAAAlQ,EACA,MAAAA,EACA,IAAAH,EAAA,IAAAE,IAAA4c,OAAAkrC,QAAA,CAAArhD,IAAA,EAGA,OAFA3G,EAAAwG,YAAA,CAAAqG,MAAA,SACAiQ,OAAAmrC,OAAA,CAAAC,YAAA,CAAAprC,OAAAmrC,OAAA,CAAApkB,KAAA,IAAA7jC,EAAAuF,QAAA,IACA,CAAyBsa,KAAA,CAAQ88B,QAAA98B,EAAA88B,OAAA,CAAA+G,aAAA,MAA2CvjD,MAAA,KAC5E,CACA,GAAAgB,EAAAhB,KAAA,EAAAgB,EAAAovC,iBAAA,EAAApvC,EAAA86C,UAAA,CACA,UAA0BjB,GAA8B75C,EAAAovC,iBAAA,qDACxDpwC,MAAAgB,EAAAhB,KAAA,sBACAkQ,KAAAlP,EAAA86C,UAAA,oBACA,GAEA,IAAoBkM,eAAAA,CAAA,CAAAC,uBAAAA,CAAA,CAAAjgB,aAAAA,CAAA,CAAAyU,cAAAA,CAAA,CAAAC,WAAAA,CAAA,CAAAC,WAAAA,CAAA,CAAA+K,WAAAA,CAAA,EAA2G1mD,EAC/H,IAAAgnC,GAAA,CAAA0U,GAAA,CAAAD,GAAA,CAAAiL,EACA,UAA0B7M,GAA8B,6BAExD,IAAA+B,EAAAnpB,KAAAopB,KAAA,CAAAxnC,KAAA1C,GAAA,QACAigC,EAAA7yB,SAAA28B,GACA6K,EAAA3K,EAAAhK,EACA+J,GACA4K,CAAAA,EAAAxnC,SAAA48B,EAAA,EAEA,IAAAuL,EAAAX,EAAA3K,CACA,KAAAsL,GA/iCA,KAgjCA9pC,QAAAC,IAAA,kEAA8F6pC,EAAkB,gCAAgCtV,EAAU,IAE1J,IAAAuV,EAAAZ,EAAA3U,CACAgK,CAAAA,EAAAuL,GAAA,IACA/pC,QAAAC,IAAA,mGAAA8pC,EAAAZ,EAAA3K,GAEAA,EAAAuL,EAAA,GACA/pC,QAAAC,IAAA,+GAAA8pC,EAAAZ,EAAA3K,GAEA,IAAoBl9B,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAA+mD,QAAA,CAAA/e,GAClC,GAAAhoC,EACA,MAAAA,EACA,IAAAw8C,EAAA,CACAwL,eAAAA,EACAC,uBAAAA,EACAjgB,aAAAA,EACA0U,WAAA9J,EACA+J,WAAA4K,EACA9K,cAAAA,EACAiL,WAAAA,EACA5K,KAAAp9B,EAAAo9B,IAAA,EAKA,OAFAngC,OAAAkrC,QAAA,CAAA9lD,IAAA,IACA,KAAA6gD,MAAA,0DACA,CAAqBljC,KAAA,CAAQ88B,QAAAA,EAAA+G,aAAAviD,EAAAsI,IAAA,EAAoCtJ,MAAA,KACjE,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQ88B,QAAA,KAAA+G,aAAA,MAAmCvjD,MAAAA,CAAA,CAEpE,OAAAA,CACA,CACA,CAIAojD,sBAAA,CACA,IAAApiD,EAAuBi2C,GAAsBt6B,OAAAkrC,QAAA,CAAArhD,IAAA,EAC7C,QAAkB+vC,CAAAA,MAASv1C,CAAAA,EAAAgnC,YAAA,EAAAhnC,EAAAovC,iBAAA,EAC3B,CAIA,MAAA+S,aAAA,CACA,IAAAniD,EAAuBi2C,GAAsBt6B,OAAAkrC,QAAA,CAAArhD,IAAA,EAC7C4hD,EAAA,MAA4C7Q,GAAY,KAAAhiC,OAAA,IAAkB,KAAAiH,UAAA,CAAgB,iBAC1F,QAAAxb,CAAAA,EAAAkP,IAAA,EAAAk4C,CAAA,CACA,CASA,MAAAnK,QAAAz6C,EAAA,CAA8B06C,MAAA,SAAiB,EAE/C,OADA,WAAAmD,iBAAA,CACA,WAAA2B,YAAA,aACA,WAAAqF,QAAA,CAAA7kD,GAEA,CACA,MAAA6kD,SAAA,CAAqBnK,MAAAA,CAAA,EAAQ,CAAIA,MAAA,SAAiB,EAClD,kBAAA+H,WAAA,OAAA/hD,QACAmY,EACA,IAAoBqD,KAAAA,CAAA,CAAA1f,MAAAkmD,CAAA,EAA4BhiD,EAChD,GAAAgiD,EACA,OAAyBlmD,MAAAkmD,CAAA,EAEzB,IAAAne,EAAA,OAAA1rB,CAAAA,EAAAqD,EAAA88B,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,CACA,GAAAD,EAAA,CACA,IAAwB/nC,MAAAA,CAAA,EAAQ,WAAA6hD,KAAA,CAAA5D,OAAA,CAAAlW,EAAAmW,GAChC,GAAAl+C,GAGA,CAA0BsoD,CAAAA,GAActoD,IN7nCxCA,iBAAAA,EAAAwM,IAAA,EM8nCAxM,CAAAA,MAAAA,EAAAoJ,MAAA,EAAApJ,MAAAA,EAAAoJ,MAAA,EAAApJ,MAAAA,EAAAoJ,MAAA,GACA,OAAiCpJ,MAAAA,CAAA,CAGjC,CAMA,MALA,WAAAk+C,IACA,WAAAoF,cAAA,GACA,MAAsB7L,GAAe,KAAAliC,OAAA,IAAkB,KAAAiH,UAAA,CAAgB,iBACvE,WAAAqmC,qBAAA,qBAEA,CAAqB7iD,MAAA,KACrB,EACA,CAKAuoD,kBAAA9yC,CAAA,EACA,IAAAizB,EP/pCA,uCAAArnC,OAAA,kBAAAuN,CAAA,EACA,IAAA+Z,EAAA,GAAA8K,KAAAqjB,MAAA,KACA,MAAAj/B,CADAjJ,KAAAA,EAAA+Z,EAAA,EAAAA,EAAA,GACAvjB,QAAA,IACA,GO6pCAojD,EAAA,CACA9f,GAAAA,EACAjzB,SAAAA,EACAkzB,YAAA,KACA,KAAAia,MAAA,0DAAAla,GACA,KAAAuY,mBAAA,CAAAv0C,MAAA,CAAAg8B,EACA,CACA,EASA,OARA,KAAAka,MAAA,sDAAAla,GACA,KAAAuY,mBAAA,CAAAp4C,GAAA,CAAA6/B,EAAA8f,GACA,WACA,WAAAnH,iBAAA,CACA,WAAA2B,YAAA,cACA,KAAAyF,mBAAA,CAAA/f,EACA,EACA,KACA,CAAiBhpB,KAAA,CAAQ8oC,aAAAA,CAAA,EACzB,CACA,MAAAC,oBAAA/f,CAAA,EACA,kBAAAud,WAAA,OAAA/hD,IACA,IAAAmY,EAAAmD,EACA,IACA,IAAwBE,KAAA,CAAQ88B,QAAAA,CAAA,CAAS,CAAAx8C,MAAAA,CAAA,EAAWkE,EACpD,GAAAlE,EACA,MAAAA,CACA,eAAAqc,CAAAA,EAAA,KAAA4kC,mBAAA,CAAA3jD,GAAA,CAAAorC,EAAA,GAAArsB,KAAA,IAAAA,EAAA,OAAAA,EAAA5G,QAAA,mBAAA+mC,EAAA,EACA,KAAAoG,MAAA,iCAAAla,EAAA,UAAA8T,EACA,CACA,MAAAjgD,EAAA,CACA,cAAAijB,CAAAA,EAAA,KAAAyhC,mBAAA,CAAA3jD,GAAA,CAAAorC,EAAA,GAAAlpB,KAAA,IAAAA,EAAA,OAAAA,EAAA/J,QAAA,0BACA,KAAAmtC,MAAA,iCAAAla,EAAA,QAAAnsC,GACA6hB,QAAApe,KAAA,CAAAzD,EACA,CACA,EACA,CAQA,MAAAmsD,sBAAAtK,CAAA,CAAA56C,EAAA,EAAmD,EACnD,IAAAy2C,EAAA,KACAC,EAAA,IACA,eAAAvE,QAAA,EAEA,EAAAsE,EAAAC,EAAA,OAAyDX,GAAyB,KAAAhkC,OAAA,MAAAiH,UAAA,IAClF,EAEA,IACA,aAAyBjc,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,WAClEmJ,KAAA,CACAo1C,MAAAA,EACA6F,eAAAhK,EACAiK,sBAAAhK,EACA0J,qBAAA,CAA4CC,cAAArgD,EAAAsgD,YAAA,CAC5C,EACAvlD,QAAA,KAAAA,OAAA,CACA49C,WAAA34C,EAAA24C,UAAA,EAEA,CACA,MAAAn8C,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAIA,MAAA2oD,mBAAA,CACA,IAAAtsC,EACA,IACA,IAAoBqD,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAA8mD,OAAA,GAClC,GAAA9mD,EACA,MAAAA,EACA,OAAqB0f,KAAA,CAAQkpC,WAAA,OAAAvsC,CAAAA,EAAAqD,EAAAo9B,IAAA,CAAA8L,UAAA,GAAAvsC,KAAA,IAAAA,EAAAA,EAAA,IAA6Erc,MAAA,KAC1G,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAKA,MAAA6oD,aAAAnhD,CAAA,EACA,IAAA2U,EACA,IACA,IAAoBqD,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAAimD,WAAA,OAAA/hD,IAClC,IAAAmY,EAAAmD,EAAAC,EAAAS,EAAAqqB,EACA,IAAwB7qB,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAckE,EACtC,GAAAlE,EACA,MAAAA,EACA,IAAAH,EAAA,WAAAipD,kBAAA,IAA6D,KAAAjpD,GAAA,CAAS,4BAAA6H,EAAA88C,QAAA,EACtErI,WAAA,OAAA9/B,CAAAA,EAAA3U,EAAAlE,OAAA,GAAA6Y,KAAA,IAAAA,EAAA,OAAAA,EAAA8/B,UAAA,CACAsI,OAAA,OAAAjlC,CAAAA,EAAA9X,EAAAlE,OAAA,GAAAgc,KAAA,IAAAA,EAAA,OAAAA,EAAAilC,MAAA,CACAC,YAAA,OAAAjlC,CAAAA,EAAA/X,EAAAlE,OAAA,GAAAic,KAAA,IAAAA,EAAA,OAAAA,EAAAilC,WAAA,CACAC,oBAAA,EACA,GACA,aAA6BpkD,GAAQ,KAAAie,KAAA,OAAA3e,EAAA,CACrCtB,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAA1R,CAAAA,EAAA,OAAArqB,CAAAA,EAAAR,EAAA88B,OAAA,GAAAt8B,KAAA,IAAAA,EAAA,OAAAA,EAAA8nB,YAAA,GAAAuC,KAAA,IAAAA,EAAAA,EAAAzoC,KAAAA,CACA,EACA,GACA,GAAA9B,EACA,MAAAA,EAIA,OAHgBu2C,MAAS,QAAAl6B,CAAAA,EAAA3U,EAAAlE,OAAA,GAAA6Y,KAAA,IAAAA,EAAA,OAAAA,EAAAsoC,mBAAA,GACzBhoC,OAAAkrC,QAAA,CAAApnC,MAAA,CAAAf,MAAAA,EAAA,OAAAA,EAAA7f,GAAA,EAEA,CAAqB6f,KAAA,CAAQ8kC,SAAA98C,EAAA88C,QAAA,CAAA3kD,IAAA6f,MAAAA,EAAA,OAAAA,EAAA7f,GAAA,EAA2FG,MAAA,KACxH,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQ8kC,SAAA98C,EAAA88C,QAAA,CAAA3kD,IAAA,MAA2CG,MAAAA,CAAA,CAE5E,OAAAA,CACA,CACA,CAIA,MAAA+oD,eAAAC,CAAA,EACA,IACA,kBAAA/C,WAAA,OAAA/hD,IACA,IAAAmY,EAAAmD,EACA,IAAwBE,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAckE,EACtC,GAAAlE,EACA,MAAAA,EAEA,aAA6BO,GAAQ,KAAAie,KAAA,aAA0B,KAAA3e,GAAA,CAAS,mBAAmBmpD,EAAAC,WAAA,CAAqB,GAChH1qD,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAAz8B,CAAAA,EAAA,OAAAnD,CAAAA,EAAAqD,EAAA88B,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,GAAAxoB,KAAA,IAAAA,EAAAA,EAAA1d,KAAAA,CACA,EACA,EACA,CACA,MAAA9B,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAKA,MAAAkpD,oBAAAC,CAAA,EACA,IAAAC,EAAA,wBAAkDD,EAAAxpD,SAAA,MAA6B,MAC/E,KAAAijD,MAAA,CAAAwG,EAAA,SACA,QP1oCOh4C,EAAAi4C,EO2oCP,IAAAC,EAAAj0C,KAAA1C,GAAA,GAEA,cP7oCOvB,EO6oC2B,MAAAm4C,IAClCA,EAAA,GACA,MAA0B9Q,GAAK,IAAAhlB,KAAA+1B,GAAA,GAAAD,EAAA,IAE/B,KAAA3G,MAAA,CAAAwG,EAAA,qBAAAG,GACA,MAA6BhpD,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,kCACtEmJ,KAAA,CAA4ByzC,cAAA0M,CAAA,EAC5B5qD,QAAA,KAAAA,OAAA,CACA89C,MAA2BE,EAC3B,IPtpCO8M,EOupCM,CAAAE,EAAAvpD,IAEbA,GACoBg7C,GAAyBh7C,IAE7CqV,KAAA1C,GAAA,GAJA,IAAA8gB,KAAA+1B,GAAA,GAAAD,GAIAD,EA7zCA,IPkKA,IAAA5oD,QAAA,CAAAg4C,EAAA7b,KAGA,WACA,QAAA0sB,EAAA,EAAkCA,EAAAE,IAAoBF,IACtD,IACA,IAAArlD,EAAA,MAAAkN,EAAAm4C,GACA,IAAAF,EAAAE,EAAA,KAAArlD,GAAA,CACAw0C,EAAAx0C,GACA,MACA,CACA,CACA,MAAAwkB,EAAA,CACA,IAAA2gC,EAAAE,EAAA7gC,GAAA,CACAmU,EAAAnU,GACA,MACA,CACA,CAEA,IACA,GOyoCA,CACA,MAAA1oB,EAAA,CAEA,GADA,KAAA4iD,MAAA,CAAAwG,EAAA,QAAAppD,GACgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,CAAQ88B,QAAA,KAAAM,KAAA,MAA2B98C,MAAAA,CAAA,CAE5D,OAAAA,CACA,QACA,CACA,KAAA4iD,MAAA,CAAAwG,EAAA,MACA,CACA,CACA3C,gBAAAD,CAAA,EAMA,MALA,iBAAAA,GACAA,OAAAA,GACA,iBAAAA,GACA,kBAAAA,GACA,eAAAA,CAEA,CACA,MAAAjC,sBAAAC,CAAA,CAAAhhD,CAAA,EACA,IAAA3D,EAAA,WAAAipD,kBAAA,IAAqD,KAAAjpD,GAAA,CAAS,YAAA2kD,EAAA,CAC9DrI,WAAA34C,EAAA24C,UAAA,CACAsI,OAAAjhD,EAAAihD,MAAA,CACAC,YAAAlhD,EAAAkhD,WAAA,GAOA,OALA,KAAA9B,MAAA,uCAAA4B,EAAA,UAAAhhD,EAAA,MAAA3D,GAEY02C,MAAS,CAAA/yC,EAAAmhD,mBAAA,EACrBhoC,OAAAkrC,QAAA,CAAApnC,MAAA,CAAA5gB,GAEA,CAAiB6f,KAAA,CAAQ8kC,SAAAA,EAAA3kD,IAAAA,CAAA,EAAeG,MAAA,KACxC,CAKA,MAAAyjD,oBAAA,CACA,IAAApnC,EACA,IAAA+sC,EAAA,wBACA,KAAAxG,MAAA,CAAAwG,EAAA,SACA,IACA,IAAA7C,EAAA,MAAyChP,GAAY,KAAAhiC,OAAA,MAAAiH,UAAA,EAErD,GADA,KAAAomC,MAAA,CAAAwG,EAAA,uBAAA7C,GACA,MAAAE,eAAA,CAAAF,GAAA,CACA,KAAA3D,MAAA,CAAAwG,EAAA,wBACA,OAAA7C,GACA,WAAAjD,cAAA,GAEA,MACA,CACA,IAAA1G,EAAAnpB,KAAAopB,KAAA,CAAAxnC,KAAA1C,GAAA,QACA+2C,EAAA,QAAArtC,CAAAA,EAAAkqC,EAAA5J,UAAA,GAAAtgC,KAAA,IAAAA,EAAAA,EAAAotC,GAAA,EAAA7M,ERp4CO,GQs4CP,GADA,KAAAgG,MAAA,CAAAwG,EAAA,cAAiDM,EAAA,sCAAwE,EACzHA,EACA,SAAAlU,gBAAA,EAAA+Q,EAAA9J,aAAA,EACA,IAA4Bz8C,MAAAA,CAAA,EAAQ,WAAA6mD,iBAAA,CAAAN,EAAA9J,aAAA,EACpCz8C,IACAoe,QAAApe,KAAA,CAAAA,GAC6Bg7C,GAAyBh7C,KACtD,KAAA4iD,MAAA,CAAAwG,EAAA,kEAAAppD,GACA,WAAAsjD,cAAA,IAGA,OAMA,WAAAT,qBAAA,aAAA0D,EAEA,CACA,MAAAhqD,EAAA,CACA,KAAAqmD,MAAA,CAAAwG,EAAA,QAAA7sD,GACA6hB,QAAApe,KAAA,CAAAzD,GACA,MACA,QACA,CACA,KAAAqmD,MAAA,CAAAwG,EAAA,MACA,CACA,CACA,MAAAvC,kBAAAsC,CAAA,EACA,IAAA9sC,EAAAmD,EACA,IAAA2pC,EACA,UAAsBzO,GAGtB,QAAA0G,kBAAA,CACA,YAAAA,kBAAA,CAAAtgD,OAAA,CAEA,IAAAsoD,EAAA,sBAAgDD,EAAAxpD,SAAA,MAA6B,MAC7E,KAAAijD,MAAA,CAAAwG,EAAA,SACA,IACA,KAAAhI,kBAAA,KAA0C1J,GAC1C,IAAoBh4B,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,WAAAkpD,mBAAA,CAAAC,GAClC,GAAAnpD,EACA,MAAAA,EACA,IAAA0f,EAAA88B,OAAA,CACA,UAA0B9B,EAC1B,YAAA8I,YAAA,CAAA9jC,EAAA88B,OAAA,EACA,WAAAqG,qBAAA,mBAAAnjC,EAAA88B,OAAA,EACA,IAAAt4C,EAAA,CAA6Bs4C,QAAA98B,EAAA88B,OAAA,CAAAx8C,MAAA,MAE7B,OADA,KAAAohD,kBAAA,CAAAzgD,OAAA,CAAAuD,GACAA,CACA,CACA,MAAAlE,EAAA,CAEA,GADA,KAAA4iD,MAAA,CAAAwG,EAAA,QAAAppD,GACgBs6C,GAAWt6C,GAAA,CAC3B,IAAAkE,EAAA,CAAiCs4C,QAAA,KAAAx8C,MAAAA,CAAA,EAMjC,OALqBg7C,GAAyBh7C,KAC9C,WAAAsjD,cAAA,GACA,WAAAT,qBAAA,qBAEA,OAAAxmC,CAAAA,EAAA,KAAA+kC,kBAAA,GAAA/kC,KAAA,IAAAA,GAAAA,EAAA1b,OAAA,CAAAuD,GACAA,CACA,CAEA,MADA,OAAAsb,CAAAA,EAAA,KAAA4hC,kBAAA,GAAA5hC,KAAA,IAAAA,GAAAA,EAAAqd,MAAA,CAAA78B,GACAA,CACA,QACA,CACA,KAAAohD,kBAAA,MACA,KAAAwB,MAAA,CAAAwG,EAAA,MACA,CACA,CACA,MAAAvG,sBAAA5pC,CAAA,CAAAujC,CAAA,CAAAnW,EAAA,IACA,IAAA+iB,EAAA,0BAAoDnwC,EAAM,GAC1D,KAAA2pC,MAAA,CAAAwG,EAAA,QAAA5M,EAAA,eAAgEnW,EAAU,GAC1E,IACA,KAAAob,gBAAA,EAAApb,GACA,KAAAob,gBAAA,CAAAkI,WAAA,EAAoD1wC,MAAAA,EAAAujC,QAAAA,CAAA,GAEpD,IAAA1R,EAAA,GACA8e,EAAA1kD,MAAAoH,IAAA,MAAA20C,mBAAA,CAAAl0C,MAAA,IAAAoQ,GAAA,OAAAiH,IACA,IACA,MAAAA,EAAA3O,QAAA,CAAAwD,EAAAujC,EACA,CACA,MAAA9zB,EAAA,CACAoiB,EAAAjsC,IAAA,CAAA6pB,EACA,CACA,GAEA,GADA,MAAAhoB,QAAAmZ,GAAA,CAAA+vC,GACA9e,EAAAtrC,MAAA,IACA,QAAAspB,EAAA,EAAgCA,EAAAgiB,EAAAtrC,MAAA,CAAmBspB,GAAA,EACnD1K,QAAApe,KAAA,CAAA8qC,CAAA,CAAAhiB,EAAA,CAEA,OAAAgiB,CAAA,IAEA,QACA,CACA,KAAA8X,MAAA,CAAAwG,EAAA,MACA,CACA,CAKA,MAAA5F,aAAAhH,CAAA,EACA,KAAAoG,MAAA,mBAAApG,GAGA,KAAA8E,yBAAA,IACA,MAAchK,GAAY,KAAA/hC,OAAA,MAAAiH,UAAA,CAAAggC,EAC1B,CACA,MAAA8G,gBAAA,CACA,KAAAV,MAAA,sBACA,MAAcnL,GAAe,KAAAliC,OAAA,MAAAiH,UAAA,CAC7B,CAOAqtC,kCAAA,CACA,KAAAjH,MAAA,wCACA,IAAAntC,EAAA,KAAA0rC,yBAAA,CACA,KAAAA,yBAAA,MACA,IACA1rC,GAA4B8gC,MAAS55B,CAAAA,MAAAA,OAAA,OAAAA,OAAAmtC,mBAAA,GACrCntC,OAAAmtC,mBAAA,oBAAAr0C,EAEA,CACA,MAAAiT,EAAA,CACAtK,QAAApe,KAAA,6CAAA0oB,EACA,CACA,CAKA,MAAAqhC,mBAAA,CACA,WAAAC,gBAAA,GACA,KAAApH,MAAA,yBACA,IAAAqH,EAAA9a,YAAA,SAAA+a,qBAAA,GAjgDA,IAkgDA,MAAAhJ,iBAAA,CAAA+I,EACAA,GAAA,iBAAAA,GAAA,mBAAAA,EAAAE,KAAA,CAOAF,EAAAE,KAAA,GAGA,oBAAAjV,MAAA,mBAAAA,KAAAkV,UAAA,EAIAlV,KAAAkV,UAAA,CAAAH,GAKAlrB,WAAA,UACA,WAAAsiB,iBAAA,CACA,WAAA6I,qBAAA,EACA,EAAS,EACT,CAKA,MAAAF,kBAAA,CACA,KAAApH,MAAA,wBACA,IAAAqH,EAAA,KAAA/I,iBAAA,CACA,KAAAA,iBAAA,MACA+I,GACA5c,cAAA4c,EAEA,CAuBA,MAAAI,kBAAA,CACA,KAAAR,gCAAA,GACA,WAAAE,iBAAA,EACA,CASA,MAAAO,iBAAA,CACA,KAAAT,gCAAA,GACA,WAAAG,gBAAA,EACA,CAIA,MAAAE,uBAAA,CACA,KAAAtH,MAAA,qCACA,IACA,WAAAI,YAAA,aACA,IACA,IAAArwC,EAAA0C,KAAA1C,GAAA,GACA,IACA,kBAAAszC,WAAA,OAAA/hD,IACA,IAAoCwb,KAAA,CAAQ88B,QAAAA,CAAA,CAAS,EAAIt4C,EACzD,IAAAs4C,GAAA,CAAAA,EAAAC,aAAA,GAAAD,EAAAG,UAAA,EACA,KAAAiG,MAAA,0CACA,MACA,CAEA,IAAA2H,EAAA92B,KAAAC,KAAA,EAAA8oB,IAAAA,EAAAG,UAAA,CAAAhqC,CAAA,EA9lDA,KA+lDA,KAAAiwC,MAAA,uDAA+F2H,6DAAyH,EACxNA,GA7lDA,GA8lDA,WAAA1D,iBAAA,CAAArK,EAAAC,aAAA,CAEA,EACA,CACA,MAAA/zB,EAAA,CACAtK,QAAApe,KAAA,0EAAA0oB,EACA,CACA,QACA,CACA,KAAAk6B,MAAA,kCACA,CACA,EACA,CACA,MAAAl6B,EAAA,CACA,GAAAA,EAAAw3B,gBAAA,EAAAx3B,aAAmDu3B,GACnD,KAAA2C,MAAA,oDAGA,MAAAl6B,CAEA,CACA,CAMA,MAAAg7B,yBAAA,CAEA,GADA,KAAAd,MAAA,+BACA,CAAarM,MAAS,CAAA55B,CAAAA,MAAAA,OAAA,OAAAA,OAAAgmC,gBAAA,EAKtB,OAJA,KAAAnN,gBAAA,EAEA,KAAA6U,gBAAA,GAEA,GAEA,IACA,KAAAlJ,yBAAA,qBAAAqJ,oBAAA,KACA7tC,MAAAA,QAAAA,OAAAgmC,gBAAA,yBAAAxB,yBAAA,EAGA,WAAAqJ,oBAAA,IACA,CACA,MAAAxqD,EAAA,CACAoe,QAAApe,KAAA,2BAAAA,EACA,CACA,CAIA,MAAAwqD,qBAAAC,CAAA,EACA,IAAAC,EAAA,yBAAoDD,EAAqB,GACzE,KAAA7H,MAAA,CAAA8H,EAAA,kBAAAvV,SAAAwV,eAAA,EACAxV,YAAAA,SAAAwV,eAAA,EACA,KAAAnV,gBAAA,EAGA,KAAAuU,iBAAA,GAEAU,IAKA,WAAApJ,iBAAA,CACA,WAAA2B,YAAA,cACA,GAAA7N,YAAAA,SAAAwV,eAAA,EACA,KAAA/H,MAAA,CAAA8H,EAAA,4GAEA,MACA,CAEA,WAAAjH,kBAAA,EACA,KAGA,WAAAtO,SAAAwV,eAAA,EACA,KAAAnV,gBAAA,EACA,KAAAwU,gBAAA,EAGA,CAOA,MAAAlB,mBAAAjpD,CAAA,CAAA2kD,CAAA,CAAAhhD,CAAA,EACA,IAAAonD,EAAA,aAAuChkC,mBAAA49B,GAA6B,GAOpE,GANAhhD,CAAAA,MAAAA,EAAA,OAAAA,EAAA24C,UAAA,GACAyO,EAAA/rD,IAAA,gBAA0C+nB,mBAAApjB,EAAA24C,UAAA,EAAuC,GAEjF34C,CAAAA,MAAAA,EAAA,OAAAA,EAAAihD,MAAA,GACAmG,EAAA/rD,IAAA,WAAqC+nB,mBAAApjB,EAAAihD,MAAA,EAAmC,GAExE,cAAA9O,QAAA,EACA,IAAAsE,EAAAC,EAAA,OAA+DX,GAAyB,KAAAhkC,OAAA,MAAAiH,UAAA,EACxFquC,EAAA,IAAAvb,gBAAA,CACA2U,eAAA,GAAmCr9B,mBAAAqzB,GAAkC,EACrEiK,sBAAA,GAA0Ct9B,mBAAAszB,GAAwC,IAElF0Q,EAAA/rD,IAAA,CAAAgsD,EAAAzlD,QAAA,GACA,CACA,GAAA5B,MAAAA,EAAA,OAAAA,EAAAkhD,WAAA,EACA,IAAA7iD,EAAA,IAAAytC,gBAAA9rC,EAAAkhD,WAAA,EACAkG,EAAA/rD,IAAA,CAAAgD,EAAAuD,QAAA,GACA,CAIA,MAHA5B,CAAAA,MAAAA,EAAA,OAAAA,EAAAmhD,mBAAA,GACAiG,EAAA/rD,IAAA,uBAAiD2E,EAAAmhD,mBAAA,CAA4B,GAE7E,GAAkB9kD,EAAI,GAAG+qD,EAAA7nD,IAAA,MAAoB,EAE7C,MAAAo/C,UAAAnhD,CAAA,EACA,IACA,kBAAAilD,WAAA,OAAA/hD,IACA,IAAAmY,EACA,IAAwBqD,KAAAwnC,CAAA,CAAAlnD,MAAAkmD,CAAA,EAAyChiD,SACjE,EACA,CAA6Bwb,KAAA,KAAA1f,MAAAkmD,CAAA,EAE7B,MAA6B3lD,GAAQ,KAAAie,KAAA,aAA0B,KAAA3e,GAAA,CAAS,WAAWmB,EAAA8pD,QAAA,CAAgB,GACnGvsD,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAA5/B,CAAAA,EAAA6qC,MAAAA,EAAA,OAAAA,EAAA1K,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,EAEA,EACA,CACA,MAAAhoC,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAIA,MAAAiiD,QAAAjhD,CAAA,EACA,IACA,kBAAAilD,WAAA,OAAA/hD,IACA,IAAAmY,EAAAmD,EACA,IAAwBE,KAAAwnC,CAAA,CAAAlnD,MAAAkmD,CAAA,EAAyChiD,EACjE,GAAAgiD,EACA,OAA6BxmC,KAAA,KAAA1f,MAAAkmD,CAAA,EAE7B,IAAwBxmC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,WACvFmJ,KAAA,CACA+hD,cAAA/pD,EAAAgqD,YAAA,CACAC,YAAAjqD,EAAAkqD,UAAA,CACAC,OAAAnqD,EAAAmqD,MAAA,EAEA5sD,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAA5/B,CAAAA,EAAA6qC,MAAAA,EAAA,OAAAA,EAAA1K,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,UAEA,EACA,CAA6BtoB,KAAA,KAAA1f,MAAAA,CAAA,GAE7B,QAAAwf,CAAAA,EAAAE,MAAAA,EAAA,OAAAA,EAAA0rC,IAAA,GAAA5rC,KAAA,IAAAA,EAAA,OAAAA,EAAA6rC,OAAA,GACA3rC,CAAAA,EAAA0rC,IAAA,CAAAC,OAAA,2BAA4D,EAAQ3rC,EAAA0rC,IAAA,CAAAC,OAAA,CAAkB,GAEtF,CAAyB3rC,KAAAA,EAAA1f,MAAA,MACzB,EACA,CACA,MAAAA,EAAA,CACA,GAAgBs6C,GAAWt6C,GAC3B,OAAyB0f,KAAA,KAAA1f,MAAAA,CAAA,CAEzB,OAAAA,CACA,CACA,CAIA,MAAA+hD,QAAA/gD,CAAA,EACA,YAAAgiD,YAAA,cACA,IACA,kBAAAiD,WAAA,OAAA/hD,IACA,IAAAmY,EACA,IAA4BqD,KAAAwnC,CAAA,CAAAlnD,MAAAkmD,CAAA,EAAyChiD,EACrE,GAAAgiD,EACA,OAAiCxmC,KAAA,KAAA1f,MAAAkmD,CAAA,EAEjC,IAA4BxmC,KAAAA,CAAA,CAAA1f,MAAAA,CAAA,EAAc,MAAQO,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,WAAWmB,EAAA8pD,QAAA,CAAgB,UACtH9hD,KAAA,CAAgCkH,KAAAlP,EAAAkP,IAAA,CAAAo7C,aAAAtqD,EAAAuqD,WAAA,EAChChtD,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAA5/B,CAAAA,EAAA6qC,MAAAA,EAAA,OAAAA,EAAA1K,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,UAEA,EACA,CAAiCtoB,KAAA,KAAA1f,MAAAA,CAAA,GAEjC,WAAAwjD,YAAA,CAAAxmD,OAAAyjB,MAAA,EAA4Dk8B,WAAAlpB,KAAAopB,KAAA,CAAAxnC,KAAA1C,GAAA,QAAA+M,EAAAg9B,UAAA,EAA6Dh9B,IACzH,WAAAmjC,qBAAA,0BAAAnjC,GACA,CAA6BA,KAAAA,EAAA1f,MAAAA,CAAA,EAC7B,EACA,CACA,MAAAA,EAAA,CACA,GAAoBs6C,GAAWt6C,GAC/B,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAIA,MAAAqiD,WAAArhD,CAAA,EACA,YAAAgiD,YAAA,cACA,IACA,kBAAAiD,WAAA,OAAA/hD,IACA,IAAAmY,EACA,IAA4BqD,KAAAwnC,CAAA,CAAAlnD,MAAAkmD,CAAA,EAAyChiD,SACrE,EACA,CAAiCwb,KAAA,KAAA1f,MAAAkmD,CAAA,EAEjC,MAAiC3lD,GAAQ,KAAAie,KAAA,WAAwB,KAAA3e,GAAA,CAAS,WAAWmB,EAAA8pD,QAAA,CAAgB,aACrGvsD,QAAA,KAAAA,OAAA,CACA09C,IAAA,OAAA5/B,CAAAA,EAAA6qC,MAAAA,EAAA,OAAAA,EAAA1K,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,EAEA,EACA,CACA,MAAAhoC,EAAA,CACA,GAAoBs6C,GAAWt6C,GAC/B,OAA6B0f,KAAA,KAAA1f,MAAAA,CAAA,CAE7B,OAAAA,CACA,CACA,EACA,CAIA,MAAAuiD,oBAAAvhD,CAAA,EAGA,IAAgB0e,KAAA8rC,CAAA,CAAAxrD,MAAAyrD,CAAA,EAA6C,WAAApJ,UAAA,EAC7DyI,SAAA9pD,EAAA8pD,QAAA,UAEA,EACA,CAAqBprC,KAAA,KAAA1f,MAAAyrD,CAAA,EAErB,WAAA1J,OAAA,EACA+I,SAAA9pD,EAAA8pD,QAAA,CACAS,YAAAC,EAAA9iB,EAAA,CACAx4B,KAAAlP,EAAAkP,IAAA,EAEA,CAIA,MAAA4tC,cAAA,CAEA,IAAgBp+B,KAAA,CAAQo9B,KAAAA,CAAA,CAAM,CAAA98C,MAAAmnD,CAAA,EAAsB,WAAAL,OAAA,GACpD,GAAAK,EACA,OAAqBznC,KAAA,KAAA1f,MAAAmnD,CAAA,EAErB,IAAAtH,EAAA,CAAA/C,MAAAA,EAAA,OAAAA,EAAA+C,OAAA,MACAuL,EAAAvL,EAAAlxC,MAAA,IAAA+8C,SAAAA,EAAAT,WAAA,EAAAS,aAAAA,EAAAtiD,MAAA,EACA,OACAsW,KAAA,CACA7F,IAAAgmC,EACAuL,KAAAA,CACA,EACAprD,MAAA,IACA,CACA,CAIA,MAAAyiD,iCAAA,CACA,YAAAO,YAAA,aACA,WAAAiD,WAAA,OAAA/hD,IACA,IAAAmY,EAAAmD,EACA,IAAwBE,KAAA,CAAQ88B,QAAAA,CAAA,CAAS,CAAAx8C,MAAAkmD,CAAA,EAAyBhiD,EAClE,GAAAgiD,EACA,OAA6BxmC,KAAA,KAAA1f,MAAAkmD,CAAA,EAE7B,IAAA1J,EACA,OACA98B,KAAA,CAAgCisC,aAAA,KAAAC,UAAA,KAAAC,6BAAA,IAChC7rD,MAAA,IACA,EAEA,IAAAs+B,EAAA,KAAA8oB,UAAA,CAAA5K,EAAAxU,YAAA,EACA2jB,EAAA,IACArtB,CAAAA,EAAAwtB,GAAA,EACAH,CAAAA,EAAArtB,EAAAwtB,GAAA,EAEA,IAAAF,EAAAD,EAMA,MAJAI,CADA,OAAAvsC,CAAAA,EAAA,OAAAnD,CAAAA,EAAAmgC,EAAAM,IAAA,CAAA+C,OAAA,GAAAxjC,KAAA,IAAAA,EAAA,OAAAA,EAAA1N,MAAA,IAAA+8C,aAAAA,EAAAtiD,MAAA,IAAAoW,KAAA,IAAAA,EAAAA,EAAA,IACAhgB,MAAA,IACAosD,CAAAA,EAAA,QAGA,CAAyBlsC,KAAA,CAAQisC,aAAAA,EAAAC,UAAAA,EAAAC,6BADjCvtB,EAAA0tB,GAAA,MACwFhsD,MAAA,KACxF,GAEA,CACA,CACA+gD,GAAAY,cAAA,GEh6DA,IAAAsK,GADmBlL,EEAZ,OAAAmL,WAAiCD,GACxC/tD,YAAAsF,CAAA,EACA,MAAAA,EACA,CACA,CCiBe,MAAA2oD,GAafjuD,YAAA8d,CAAA,CAAAC,CAAA,CAAAzY,CAAA,EACA,IAAA6Y,EAAAmD,EAAAC,EAGA,GAFA,KAAAzD,WAAA,CAAAA,EACA,KAAAC,WAAA,CAAAA,EACA,CAAAD,EACA,wCACA,IAAAC,EACA,wCACA,IAAAmwC,EfpCAvsD,EAAAwB,OAAA,UeqCA,MAAAgrD,WAAA,IAA8BD,EAAa,cAAA/qD,OAAA,gBAC3C,KAAAirD,OAAA,IAA0BF,EAAa,UACvC,KAAAG,UAAA,IAA6BH,EAAa,aAC1C,KAAAI,YAAA,IAA+BJ,EAAa,eAE5C,IAAAK,EAAA,MAAwC,IAAA1sD,IAAA,KAAAusD,OAAA,EAAAxnD,QAAA,CAAAnC,KAAA,SAA6C,aAOrFijB,EAAyB8mC,Sf9ClBlpD,CAAA,CAAAmpD,CAAA,EACP,IAAYC,GAAAC,CAAA,CAAA5yC,KAAA6yC,CAAA,CAAAC,SAAAC,CAAA,CAAAzwC,OAAA0wC,CAAA,EAAsFzpD,EAClG,CAAYopD,GAAAtX,CAAA,CAAAr7B,KAAAs7B,CAAA,CAAAwX,SAAAnX,CAAA,CAAAr5B,OAAA84B,CAAA,EAA0HsX,EACtI,OACAC,GAAA5vD,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA0C60B,GAAAuX,GAC1C5yC,KAAAjd,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA4C80B,GAAAuX,GAC5CC,SAAA/vD,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAgDm1B,GAAAoX,GAChDzwC,OAAAvf,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAA8C40B,GAAA4X,EAC9C,CACA,EeqC6CzpD,MAAAA,EAAAA,EAAA,GAN7C,CACAopD,GAAgBtX,GAChByX,SAAsBnX,GACtB37B,KAAAjd,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAkD80B,IAAoB,CAAK/4B,WAAAiwC,CAAA,GAC3ElwC,OAAoB84B,EACpB,EAEA,MAAA74B,UAAA,QAAAH,CAAAA,EAAAuJ,EAAA3L,IAAA,CAAAuC,UAAA,GAAAH,KAAA,IAAAA,EAAAA,EAAA,GACA,KAAA9d,OAAA,QAAAihB,CAAAA,EAAAoG,EAAArJ,MAAA,CAAAhe,OAAA,GAAAihB,KAAA,IAAAA,EAAAA,EAAA,GACA,KAAAvF,IAAA,MAAAizC,uBAAA,QAAAztC,CAAAA,EAAAmG,EAAA3L,IAAA,GAAAwF,KAAA,IAAAA,EAAAA,EAAA,GAAyG,KAAAlhB,OAAA,CAAAqnB,EAAArJ,MAAA,CAAAiC,KAAA,EACzG,KAAAA,KAAA,CAAqBu3B,GAAa95B,EAAA,KAAAkxC,eAAA,CAAAxhD,IAAA,OAAAia,EAAArJ,MAAA,CAAAiC,KAAA,EAClC,KAAAuuC,QAAA,MAAAK,mBAAA,CAAApwD,OAAAyjB,MAAA,EAAiEliB,QAAA,KAAAA,OAAA,EAAuBqnB,EAAAmnC,QAAA,GACxF,KAAAzO,IAAA,KAAwB99B,EAAe,GAAI4rC,EAAa,WACxD7tD,QAAA,KAAAA,OAAA,CACA0gB,OAAA2G,EAAAgnC,EAAA,CAAA3tC,MAAA,CACAT,MAAA,KAAAA,KAAA,GAEA,KAAA6uC,oBAAA,EACA,CAIA,IAAAC,WAAA,CACA,WAAmB3xB,EAAe,KAAA6wB,YAAA,EAClCjuD,QAAA,KAAAA,OAAA,CACA88B,YAAA,KAAA7c,KAAA,EAEA,CAIA,IAAAjJ,SAAA,CACA,WAAmBy/B,GAAqB,KAAAuX,UAAA,MAAAhuD,OAAA,MAAAigB,KAAA,CACxC,CAMAlS,KAAAsU,CAAA,EACA,YAAA09B,IAAA,CAAAhyC,IAAA,CAAAsU,EACA,CASA3B,OAAAA,CAAA,EACA,YAAAq/B,IAAA,CAAAr/B,MAAA,CAAAA,EACA,CAyBA4B,IAAAzP,CAAA,CAAAvT,EAAA,EAAqB,CAAA2F,EAAA,EAAc,EACnC,YAAA86C,IAAA,CAAAz9B,GAAA,CAAAzP,EAAAvT,EAAA2F,EACA,CAQAs+B,QAAAt1B,CAAA,CAAAjJ,EAAA,CAA2B0f,OAAA,GAAY,EACvC,YAAA8pC,QAAA,CAAAjrB,OAAA,CAAAt1B,EAAAjJ,EACA,CAIA+pC,aAAA,CACA,YAAAyf,QAAA,CAAAzf,WAAA,EACA,CAOAC,cAAAzL,CAAA,EACA,YAAAirB,QAAA,CAAAxf,aAAA,CAAAzL,EACA,CAIA0L,mBAAA,CACA,YAAAuf,QAAA,CAAAvf,iBAAA,EACA,CACA2f,iBAAA,KACA9wC,EAAAmD,EAlK6B3S,EAAAsvB,EAAApJ,EAAAqJ,EAmK7B,OAnK6BvvB,EAmKL,KAnKKsvB,EAmKL,OAnKKpJ,EAmKL,OAnKKqJ,EAmKL,YACxB,IAAoB1c,KAAAA,CAAA,EAAO,WAAAzF,IAAA,CAAAC,UAAA,GAC3B,cAAAsF,CAAAA,EAAA,OAAAnD,CAAAA,EAAAqD,EAAA88B,OAAA,GAAAngC,KAAA,IAAAA,EAAA,OAAAA,EAAA2rB,YAAA,GAAAxoB,KAAA,IAAAA,EAAAA,EAAA,IACA,EApKA,GAAAuT,CAAAA,GAAAA,CAAAA,EAAAryB,OAAA,YAAAC,CAAA,CAAAk8B,CAAA,EACA,SAAAC,EAAA5/B,CAAA,EAAoC,IAAM6/B,EAAAX,EAAAzyB,IAAA,CAAAzM,GAAA,CAA+B,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACrF,SAAAsU,EAAA9/B,CAAA,EAAmC,IAAM6/B,EAAAX,EAAA,MAAAl/B,GAAA,CAAmC,MAAAwrB,EAAA,CAAYmU,EAAAnU,EAAA,EACxF,SAAAqU,EAAA74B,CAAA,MAJAhH,CAIgCgH,CAAAA,EAAAyP,IAAA,CAAAhT,EAAAuD,EAAAhH,KAAA,EAAA+/B,CAJJ//B,CAA5BA,EAIgCgH,EAAAhH,KAAA,YAJJ61B,EAAA71B,EAAA,IAAA61B,EAAA,SAAApyB,CAAA,EAA+DA,EAAAzD,EAAA,EAAiB,EAI5EyS,IAAA,CAAAmtB,EAAAE,EAAA,CAChCD,EAAA,CAAAX,EAAAA,EAAA1+B,KAAA,CAAAmP,EAAAsvB,GAAA,KAAAxyB,IAAA,GACA,EAgKA,CACAujD,wBAAA,CAA8B1X,iBAAAA,CAAA,CAAAC,eAAAA,CAAA,CAAAC,mBAAAA,CAAA,CAAAngC,QAAAA,CAAA,CAAAiH,WAAAA,CAAA,CAAAm5B,SAAAA,CAAA,CAAAzrB,MAAAA,CAAA,CAA6F,CAAA3rB,CAAA,CAAAigB,CAAA,EAC3H,IAAAnC,EACA,IAAAkxC,EAAA,CACAvxB,cAAA,UAAqC,KAAA/f,WAAA,CAAiB,EACtDktB,OAAA,GAAuB,KAAAltB,WAAA,CAAiB,GAExC,WAAmBiwC,GAAkB,CACrCrsD,IAAA,KAAAysD,OAAA,CACA/tD,QAAAvB,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAmD8sC,GAAAhvD,GACnDie,WAAAA,EACAg5B,iBAAAA,EACAC,eAAAA,EACAC,mBAAAA,EACAngC,QAAAA,EACAogC,SAAAA,EACAzrB,MAAAA,EACA1L,MAAAA,EAGAqiC,6BAAA,uBAAAtiD,OAAA,EAEA,CACA6uD,oBAAA5pD,CAAA,EACA,WAAmBuoC,EAAc,KAAAsgB,WAAA,CAAArvD,OAAAyjB,MAAA,CAAAzjB,OAAAyjB,MAAA,IAAiDjd,GAAA,CAAcxC,OAAAhE,OAAAyjB,MAAA,EAAwB0oB,OAAA,KAAAltB,WAAA,EAA0BzY,MAAAA,EAAA,OAAAA,EAAAxC,MAAA,IAClJ,CACAqsD,sBAAA,CAIA,OAHA,KAAApzC,IAAA,CAAAsuC,iBAAA,EAAAtvC,EAAAujC,KACA,KAAAgR,mBAAA,CAAAv0C,EAAA,SAAAujC,MAAAA,EAAA,OAAAA,EAAAxU,YAAA,CACA,EAEA,CACAwlB,oBAAAv0C,CAAA,CAAAw0C,CAAA,CAAA1xB,CAAA,EACA,CAAA9iB,oBAAAA,GAAAA,cAAAA,CAAA,GACA,KAAAy0C,kBAAA,GAAA3xB,GAEA,KAAAgxB,QAAA,CAAAjxB,OAAA,CAAAC,MAAAA,EAAAA,EAAA,MACA,KAAA2xB,kBAAA,CAAA3xB,GAEA,eAAA9iB,IAEA,KAAA8zC,QAAA,CAAAjxB,OAAA,MAAA7f,WAAA,EACA,WAAAwxC,GACA,KAAAxzC,IAAA,CAAAgkC,OAAA,GACA,KAAAyP,kBAAA,CAAA5rD,KAAAA,EAEA,CACA,CC9MO,IAAA6rD,GAAA,CAAA3xC,EAAAC,EAAAzY,IACP,IAAe2oD,GAAcnwC,EAAAC,EAAAzY,GCT7B,IAAAoqD,GAAA5wD,OAAAmzB,MAAA,CACA3V,GAAAxd,OAAAC,cAAA,CACAwd,GAAAzd,OAAA0d,wBAAA,CACAC,GAAA3d,OAAA4d,mBAAA,CACAizC,GAAA7wD,OAAA8wD,cAAA,CACAjzC,GAAA7d,OAAA8d,SAAA,CAAAC,cAAA,CAIAY,GAAA,CAAAC,EAAAtP,EAAAuP,EAAAC,KACA,GAAAxP,GAAA,iBAAAA,GAAA,mBAAAA,EACA,QAAA5N,KAAAic,GAAArO,GACAuO,GAAA/N,IAAA,CAAA8O,EAAAld,IAAAA,IAAAmd,GACArB,GAAAoB,EAAAld,EAAA,CAA6BpB,IAAA,IAAAgP,CAAA,CAAA5N,EAAA,CAAAZ,WAAA,CAAAge,CAAAA,EAAArB,GAAAnO,EAAA5N,EAAA,GAAAod,EAAAhe,UAAA,GAE7B,OAAA8d,CACA,EACAmyC,GAAA,CAAA3zC,EAAA4zC,EAAAxiD,IAAAA,CAAAA,EAAA4O,MAAAA,EAAAwzC,GAAAC,GAAAzzC,IAAA,GAAmGuB,GACnGqyC,CAAAA,GAAA5zC,GAAAA,EAAAuE,UAAA,CAAuGnT,EAAvGgP,GAAAhP,EAAA,WAAyEtO,MAAAkd,EAAAtc,WAAA,KACzEsc,EACA,EAGA6zC,IAjBAz6C,EAiBA,CACA,qEAAArY,CAAA,EAEAA,EAAAmc,KAAA,CAIA,SAAAwiB,CAAA,CAAAt2B,CAAA,EACA,oBAAAs2B,EACA,iDAMA,IAJA,IAAA0L,EAAA,GAEAoT,EAAAsV,CADA1qD,GAAA,IACA2vB,MAAA,EAAAA,EACAg7B,EAAA,EACAA,EAAAr0B,EAAAt6B,MAAA,GACA,IAAA4uD,EAAAt0B,EAAAr4B,OAAA,KAAA0sD,GACA,GAAAC,KAAAA,EACA,MAEA,IAAAC,EAAAv0B,EAAAr4B,OAAA,KAAmC0sD,GACnC,GAAAE,KAAAA,EACAA,EAAAv0B,EAAAt6B,MAAA,MACU,GAAA6uD,EAAAD,EAAA,CACVD,EAAAr0B,EAAAw0B,WAAA,KAAoCF,EAAA,KACpC,QACA,CACA,IAAA1vD,EAAAo7B,EAAA93B,KAAA,CAAAmsD,EAAAC,GAAAloC,IAAA,GACA,YAAAsf,CAAA,CAAA9mC,EAAA,EACA,IAAA+Y,EAAAqiB,EAAA93B,KAAA,CAAAosD,EAAA,EAAAC,GAAAnoC,IAAA,EACA,MAAAzO,EAAAyjB,UAAA,KACAzjB,CAAAA,EAAAA,EAAAzV,KAAA,QAEAwjC,CAAA,CAAA9mC,EAAA,CAAA20B,SAkGAyG,CAAA,CAAAy0B,CAAA,EACA,IACA,OAAAA,EAAAz0B,EACA,CAAQ,MAAApR,EAAA,CACR,OAAAoR,CACA,CACA,EAxGAriB,EAAAmhC,EACA,CACAuV,EAAAE,EAAA,CACA,CACA,OAAA7oB,CACA,EAlCArqC,EAAAw2B,SAAA,CAmCA,SAAAnlB,CAAA,CAAAiL,CAAA,CAAAjU,CAAA,EACA,IAAA0qD,EAAA1qD,GAAA,GACAgrD,EAAAN,EAAA56B,MAAA,EAAAA,EACA,sBAAAk7B,EACA,4CAEA,IAAAC,EAAAhvD,IAAA,CAAA+M,GACA,4CAEA,IAAAtP,EAAAsxD,EAAA/2C,GACA,GAAAva,GAAA,CAAAuxD,EAAAhvD,IAAA,CAAAvC,GACA,2CAEA,IAAA48B,EAAAttB,EAAA,IAAAtP,EACA,SAAAgxD,EAAA3wC,MAAA,EACA,IAAAA,EAAA2wC,EAAA3wC,MAAA,GACA,GAAAgW,MAAAhW,IAAA,CAAAiW,SAAAjW,GACA,4CAEAuc,GAAA,aAAkBrG,KAAAC,KAAA,CAAAnW,EAClB,CACA,GAAA2wC,EAAAxoD,MAAA,EACA,IAAA+oD,EAAAhvD,IAAA,CAAAyuD,EAAAxoD,MAAA,EACA,4CAEAo0B,GAAA,YAAkBo0B,EAAAxoD,MAAA,CAElB,GAAAwoD,EAAA3sD,IAAA,EACA,IAAAktD,EAAAhvD,IAAA,CAAAyuD,EAAA3sD,IAAA,EACA,0CAEAu4B,GAAA,UAAkBo0B,EAAA3sD,IAAA,CAElB,GAAA2sD,EAAA94C,OAAA,EACA,IAAAA,EAAA84C,EAAA94C,OAAA,CACA,GAuDA,kBAAAs5C,EAAA5hD,IAAA,CAvDAsI,KAuDAqC,CAAAA,aAAApC,IAAA,GAvDAke,MAAAne,EAAAu5C,OAAA,IACA,6CAEA70B,GAAA,aAAkB1kB,EAAAoR,WAAA,EAClB,CAOA,GANA0nC,EAAAj5C,QAAA,EACA6kB,CAAAA,GAAA,YAAkB,EAElBo0B,EAAA/4C,MAAA,EACA2kB,CAAAA,GAAA,UAAkB,EAElBo0B,EAAAxnC,QAAA,CAEA,OADA,iBAAAwnC,EAAAxnC,QAAA,CAAAwnC,EAAAxnC,QAAA,CAAA9nB,WAAA,GAAAsvD,EAAAxnC,QAAA,EAEA,UACAoT,GAAA,iBACA,KACA,cACAA,GAAA,oBACA,KACA,YACAA,GAAA,kBACA,KACA,SACA,6CACA,CAEA,GAAAo0B,EAAAh5C,QAAA,CAEA,OADA,iBAAAg5C,EAAAh5C,QAAA,CAAAg5C,EAAAh5C,QAAA,CAAAtW,WAAA,GAAAsvD,EAAAh5C,QAAA,EAEA,OAMA,aALA4kB,GAAA,oBACA,KACA,WACAA,GAAA,iBACA,KAIA,YACAA,GAAA,kBACA,KACA,SACA,6CACA,CAEA,OAAAA,CACA,EApHA,IAAA40B,EAAA1xD,OAAA8d,SAAA,CAAA1V,QAAA,CACAqpD,EAAA,wCAoHA,SAAAt7B,EAAA2G,CAAA,EACA,OAAAA,KAAAA,EAAAr4B,OAAA,MAAAulB,mBAAA8S,GAAAA,CACA,CACA,SAAAxG,EAAA7b,CAAA,EACA,OAAAmP,mBAAAnP,EACA,CAWA,CACA,EA5JA,WACA,OAAA2C,GAAA,GAAA5G,CAAA,CAAAmH,GAAAnH,EAAA,OAAA4G,EAAA,CAA2Djf,QAAA,KAAaA,OAAA,CAAAif,GAAAA,EAAAjf,OAAA,GA8JxEyzD,GAAAb,GAAAE,MAGAY,GAAAd,GAAAE,MAEA,SAAAa,GAAAh1B,CAAA,EACA,IAAAA,EACA,YAEA,IACA,IAAA0iB,EAAAnlC,KAAAC,KAAA,CAAAwiB,GACA,IAAA0iB,EACA,YAEA,GAAAA,WAAAA,EAAAt+C,WAAA,CAAAsO,IAAA,CACA,OAAAgwC,EAEA,GAAAA,UAAAA,EAAAt+C,WAAA,CAAAsO,IAAA,CACA,kCAA4CgwC,EAAAt+C,WAAA,CAAAsO,IAAA,CAAyB,GAErE,IAAAuiD,EAAAC,EAAAC,EAAA,CAAAzS,CAAA,IAAA75C,KAAA,MACA27B,EAAoBnD,EAAgB6zB,GACpCt0B,EAAA,IAAAC,YACA,CAAY6sB,IAAAA,CAAA,CAAA0H,IAAAA,CAAA,IAAApS,EAAA,CAAoBzlC,KAAAC,KAAA,CAAAojB,EAAAvH,MAAA,CAAAmL,IAChC,OACAqe,WAAA6K,EACA9K,WAAA8K,EAAA/zB,KAAAopB,KAAA,CAAAxnC,KAAA1C,GAAA,QACA+0C,WAAA,SACA1f,aAAAwU,CAAA,IACAC,cAAAD,CAAA,IACAwL,eAAAxL,CAAA,IACAyL,uBAAAzL,CAAA,IACAM,KAAA,CACApU,GAAAwmB,EACArP,QAAArD,CAAA,IACA,GAAAM,CAAA,CAEA,CACA,CAAI,MAAAvgD,EAAA,CAEJ,OADA6hB,QAAAC,IAAA,kCAAA9hB,GACA,IACA,CACA,CACA,SAAA4yD,GAAA3S,CAAA,EACA,IAAAngC,EACA,OAAAhF,KAAAkI,SAAA,EACAi9B,EAAAxU,YAAA,CACAwU,EAAAC,aAAA,CACAD,EAAAwL,cAAA,CACAxL,EAAAyL,sBAAA,CACA,OAAA5rC,CAAAA,EAAAmgC,EAAAM,IAAA,SAAAzgC,EAAAwjC,OAAA,QACA,CACA,CAGA,SAASuP,KACT,0BAAAzyC,QAAA,SAAAA,OAAAw4B,QAAA,CAIA,IAAAka,GAAA,CACA9tD,KAAA,IACAgc,OAAA,OACA,EAGAR,GAAA,MACA7e,YAAAge,CAAA,EACA,KAAAA,aAAA,EACA,GAAAmzC,EAAA,CACA,GAAAnzC,CAAA,CAEA,CACAs7B,QAAA94C,CAAA,EACA,IAAAxB,EAAA,KAAA8f,SAAA,CAAAte,UACA,EAEAA,EAAA4F,QAAA,mBACApH,EAEAma,KAAAkI,SAAA,CAAAuvC,GAAA5xD,IAJA,IAKA,CACA65C,QAAAr4C,CAAA,CAAAxB,CAAA,EACA,GAAAwB,EAAA4F,QAAA,oBACA,KAAA2Y,SAAA,CAAAve,EAAAxB,GACA,MACA,CAEA,IAAAoyD,EAAAH,GADA93C,KAAAC,KAAA,CAAApa,IAEA,KAAA+f,SAAA,CAAAve,EAAA4wD,EACA,CACAtY,WAAAt4C,CAAA,EACA,KAAA4e,YAAA,CAAA5e,EACA,CACA,EAGA+d,GAAA,cAAAM,GACA7e,YAAAge,CAAA,EACA,MAAAA,EACA,CACAc,UAAAxQ,CAAA,SACA,KAGA/N,CADA,EAAAmwD,GAAAt3C,KAAA,EAAA69B,SAAAhnC,MAAA,CACA,CAAA3B,EAAA,CAFA,IAGA,CACAyQ,UAAAzQ,CAAA,CAAAtP,CAAA,EACA,IAASkyD,KACT,WACAja,CAAAA,SAAAhnC,MAAA,IAAAygD,GAAAj9B,SAAA,EAAAnlB,EAAAtP,EAAA,CACA,QAAAgf,aAAA,CACAjH,SAAA,EACA,EACA,CACAqI,aAAA9Q,CAAA,EACA,IAAS4iD,KACT,WACAja,CAAAA,SAAAhnC,MAAA,IAAAygD,GAAAj9B,SAAA,EAAAnlB,EAAA,IACA,QAAA0P,aAAA,CACAqB,OAAA,EACAtI,SAAA,EACA,EACA,CACA,EAIA,SAAAqH,GAAAN,CAAA,CAAAC,CAAA,CAAAzY,CAAA,EACA,IAAA6Y,EACA,IAAAkzC,EAAiBH,KACjB,OAASzB,GAAY3xC,EAAAC,EAAA,CACrB,GAAAzY,CAAA,CACAyW,KAAA,CACA07B,SAAA,OACAH,iBAAA+Z,EACA7Z,mBAAA6Z,EACA9Z,eAAA,GACAlgC,QAAA/R,EAAAyW,IAAA,CAAA1E,OAAA,CACA,UAAA8G,CAAAA,EAAA7Y,EAAAyW,IAAA,SAAAoC,EAAAG,UAAA,GACAA,WAAAhZ,EAAAyW,IAAA,CAAAuC,UAAA,EACQ,GAER,EACA,CACA,IAAAgzC,GAAAX,GAAAv3C,KAAA,CACAm4C,GAAAZ,GAAAl9B,SAAA;;;;;CAiBA","sources":["webpack://_N_E/external commonjs \"node:async_hooks\"","webpack://_N_E/external commonjs \"node:buffer\"","webpack://_N_E/./node_modules/next/dist/esm/server/web/globals.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/error.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/utils.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/fetch-event.js","webpack://_N_E/../../../../src/shared/lib/i18n/detect-domain-locale.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/remove-trailing-slash.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/parse-path.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/add-path-prefix.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/add-path-suffix.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/path-has-prefix.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/add-locale.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/format-next-pathname-info.ts","webpack://_N_E/../../../src/shared/lib/get-hostname.ts","webpack://_N_E/../../../../src/shared/lib/i18n/normalize-locale-path.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/remove-path-prefix.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/get-next-pathname-info.ts","webpack://_N_E/./node_modules/next/dist/esm/server/web/next-url.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/cookies.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/request.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/response.js","webpack://_N_E/../../../../../src/shared/lib/router/utils/relativize-url.ts","webpack://_N_E/../../../src/client/components/app-router-headers.ts","webpack://_N_E/../../../src/shared/lib/constants.ts","webpack://_N_E/./node_modules/next/dist/esm/server/internal-utils.js","webpack://_N_E/../../../../../src/shared/lib/router/utils/app-paths.ts","webpack://_N_E/./node_modules/next/dist/esm/lib/constants.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/adapters/reflect.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/adapters/headers.js","webpack://_N_E/../../../src/client/components/async-local-storage.ts","webpack://_N_E/../../../src/client/components/static-generation-async-storage-instance.ts","webpack://_N_E/../../../src/client/components/static-generation-async-storage.external.ts","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/adapters/request-cookies.js","webpack://_N_E/./node_modules/next/dist/esm/server/lib/trace/constants.js","webpack://_N_E/./node_modules/next/dist/esm/server/lib/trace/tracer.js","webpack://_N_E/./node_modules/next/dist/esm/server/api-utils/index.js","webpack://_N_E/./node_modules/next/dist/esm/server/async-storage/draft-mode-provider.js","webpack://_N_E/./node_modules/next/dist/esm/server/async-storage/request-async-storage-wrapper.js","webpack://_N_E/../../../src/client/components/request-async-storage-instance.ts","webpack://_N_E/../../../src/client/components/request-async-storage.external.ts","webpack://_N_E/./node_modules/next/dist/esm/server/web/adapter.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/user-agent.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/spec-extension/url-pattern.js","webpack://_N_E/./node_modules/next/dist/esm/server/web/exports/index.js","webpack://_N_E/./node_modules/next/dist/esm/api/server.js","webpack://_N_E/./middleware.ts","webpack://_N_E/","webpack://_N_E/./node_modules/@supabase/auth-helpers-nextjs/dist/index.js","webpack://_N_E/./node_modules/@supabase/node-fetch/browser.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/PostgrestBuilder.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/PostgrestClient.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/PostgrestError.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/PostgrestFilterBuilder.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/PostgrestQueryBuilder.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/PostgrestTransformBuilder.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/constants.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/index.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/cjs/version.js","webpack://_N_E/./node_modules/next/dist/compiled/@edge-runtime/cookies/index.js","webpack://_N_E/./node_modules/next/dist/compiled/@opentelemetry/api/index.js","webpack://_N_E/./node_modules/next/dist/compiled/cookie/index.js","webpack://_N_E/./node_modules/next/dist/compiled/ua-parser-js/ua-parser.js","webpack://_N_E/../../../src/shared/lib/modern-browserslist-target.js","webpack://_N_E/./node_modules/next/dist/experimental/testmode/context.js","webpack://_N_E/./node_modules/next/dist/experimental/testmode/fetch.js","webpack://_N_E/./node_modules/next/dist/experimental/testmode/server-edge.js","webpack://_N_E/./node_modules/set-cookie-parser/lib/set-cookie.js","webpack://_N_E/./node_modules/ws/browser.js","webpack://_N_E/./node_modules/jose/dist/browser/lib/buffer_utils.js","webpack://_N_E/./node_modules/jose/dist/browser/runtime/base64url.js","webpack://_N_E/./node_modules/jose/dist/browser/util/base64url.js","webpack://_N_E/./node_modules/@supabase/functions-js/dist/module/helper.js","webpack://_N_E/./node_modules/@supabase/functions-js/dist/module/types.js","webpack://_N_E/./node_modules/@supabase/functions-js/dist/module/FunctionsClient.js","webpack://_N_E/./node_modules/@supabase/postgrest-js/dist/esm/wrapper.mjs","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/lib/version.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/lib/constants.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/lib/serializer.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/lib/timer.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/lib/transformers.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/lib/push.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/RealtimePresence.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/RealtimeClient.js","webpack://_N_E/./node_modules/@supabase/realtime-js/dist/module/index.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/lib/errors.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/lib/helpers.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/lib/fetch.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/packages/StorageFileApi.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/lib/version.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/lib/constants.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/packages/StorageBucketApi.js","webpack://_N_E/./node_modules/@supabase/storage-js/dist/module/StorageClient.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/lib/version.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/lib/constants.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/lib/fetch.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/lib/helpers.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/version.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/constants.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/helpers.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/errors.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/GoTrueAdminApi.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/local-storage.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/polyfills.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/lib/locks.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/GoTrueClient.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/AuthAdminApi.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/AuthClient.js","webpack://_N_E/./node_modules/@supabase/auth-js/dist/module/index.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/lib/SupabaseAuthClient.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/SupabaseClient.js","webpack://_N_E/./node_modules/@supabase/supabase-js/dist/module/index.js","webpack://_N_E/./node_modules/@supabase/auth-helpers-shared/dist/index.mjs"],"sourcesContent":["module.exports = require(\"node:async_hooks\");","module.exports = require(\"node:buffer\");","async function registerInstrumentation() {\n const register = \"_ENTRIES\" in globalThis && _ENTRIES.middleware_instrumentation && (await _ENTRIES.middleware_instrumentation).register;\n if (register) {\n try {\n await register();\n } catch (err) {\n err.message = `An error occurred while loading instrumentation hook: ${err.message}`;\n throw err;\n }\n }\n}\nlet registerInstrumentationPromise = null;\nexport function ensureInstrumentationRegistered() {\n if (!registerInstrumentationPromise) {\n registerInstrumentationPromise = registerInstrumentation();\n }\n return registerInstrumentationPromise;\n}\nfunction getUnsupportedModuleErrorMessage(module) {\n // warning: if you change these messages, you must adjust how react-dev-overlay's middleware detects modules not found\n return `The edge runtime does not support Node.js '${module}' module.\nLearn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;\n}\nfunction __import_unsupported(moduleName) {\n const proxy = new Proxy(function() {}, {\n get (_obj, prop) {\n if (prop === \"then\") {\n return {};\n }\n throw new Error(getUnsupportedModuleErrorMessage(moduleName));\n },\n construct () {\n throw new Error(getUnsupportedModuleErrorMessage(moduleName));\n },\n apply (_target, _this, args) {\n if (typeof args[0] === \"function\") {\n return args[0](proxy);\n }\n throw new Error(getUnsupportedModuleErrorMessage(moduleName));\n }\n });\n return new Proxy({}, {\n get: ()=>proxy\n });\n}\nfunction enhanceGlobals() {\n // The condition is true when the \"process\" module is provided\n if (process !== global.process) {\n // prefer local process but global.process has correct \"env\"\n process.env = global.process.env;\n global.process = process;\n }\n // to allow building code that import but does not use node.js modules,\n // webpack will expect this function to exist in global scope\n Object.defineProperty(globalThis, \"__import_unsupported\", {\n value: __import_unsupported,\n enumerable: false,\n configurable: false\n });\n // Eagerly fire instrumentation hook to make the startup faster.\n void ensureInstrumentationRegistered();\n}\nenhanceGlobals();\n\n//# sourceMappingURL=globals.js.map","export class PageSignatureError extends Error {\n constructor({ page }){\n super(`The middleware \"${page}\" accepts an async API directly with the form:\n \n export function middleware(request, event) {\n return NextResponse.redirect('/new-location')\n }\n \n Read more: https://nextjs.org/docs/messages/middleware-new-signature\n `);\n }\n}\nexport class RemovedPageError extends Error {\n constructor(){\n super(`The request.page has been deprecated in favour of \\`URLPattern\\`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n `);\n }\n}\nexport class RemovedUAError extends Error {\n constructor(){\n super(`The request.ua has been removed in favour of \\`userAgent\\` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n `);\n }\n}\n\n//# sourceMappingURL=error.js.map","/**\n * Converts a Node.js IncomingHttpHeaders object to a Headers object. Any\n * headers with multiple values will be joined with a comma and space. Any\n * headers that have an undefined value will be ignored and others will be\n * coerced to strings.\n *\n * @param nodeHeaders the headers object to convert\n * @returns the converted headers object\n */ export function fromNodeOutgoingHttpHeaders(nodeHeaders) {\n const headers = new Headers();\n for (let [key, value] of Object.entries(nodeHeaders)){\n const values = Array.isArray(value) ? value : [\n value\n ];\n for (let v of values){\n if (typeof v === \"undefined\") continue;\n if (typeof v === \"number\") {\n v = v.toString();\n }\n headers.append(key, v);\n }\n }\n return headers;\n}\n/*\n Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas\n that are within a single set-cookie field-value, such as in the Expires portion.\n This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2\n Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128\n React Native's fetch does this for *every* header, including set-cookie.\n \n Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25\n Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation\n*/ export function splitCookiesString(cookiesString) {\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while(pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))){\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n while(pos < cookiesString.length){\n start = pos;\n cookiesSeparatorFound = false;\n while(skipWhitespace()){\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n // ',' is a cookie separator if we have later first '=', not ';' or ','\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while(pos < cookiesString.length && notSpecialChar()){\n pos += 1;\n }\n // currently special character\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n // we found cookies separator\n cookiesSeparatorFound = true;\n // pos is inside the next cookie, so back up and return it.\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n // in param ',' or param separator ';',\n // we continue from that comma\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n/**\n * Converts a Headers object to a Node.js OutgoingHttpHeaders object. This is\n * required to support the set-cookie header, which may have multiple values.\n *\n * @param headers the headers object to convert\n * @returns the converted headers object\n */ export function toNodeOutgoingHttpHeaders(headers) {\n const nodeHeaders = {};\n const cookies = [];\n if (headers) {\n for (const [key, value] of headers.entries()){\n if (key.toLowerCase() === \"set-cookie\") {\n // We may have gotten a comma joined string of cookies, or multiple\n // set-cookie headers. We need to merge them into one header array\n // to represent all the cookies.\n cookies.push(...splitCookiesString(value));\n nodeHeaders[key] = cookies.length === 1 ? cookies[0] : cookies;\n } else {\n nodeHeaders[key] = value;\n }\n }\n }\n return nodeHeaders;\n}\n/**\n * Validate the correctness of a user-provided URL.\n */ export function validateURL(url) {\n try {\n return String(new URL(String(url)));\n } catch (error) {\n throw new Error(`URL is malformed \"${String(url)}\". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, {\n cause: error\n });\n }\n}\n\n//# sourceMappingURL=utils.js.map","import { PageSignatureError } from \"../error\";\nconst responseSymbol = Symbol(\"response\");\nconst passThroughSymbol = Symbol(\"passThrough\");\nexport const waitUntilSymbol = Symbol(\"waitUntil\");\nclass FetchEvent {\n // eslint-disable-next-line @typescript-eslint/no-useless-constructor\n constructor(_request){\n this[waitUntilSymbol] = [];\n this[passThroughSymbol] = false;\n }\n respondWith(response) {\n if (!this[responseSymbol]) {\n this[responseSymbol] = Promise.resolve(response);\n }\n }\n passThroughOnException() {\n this[passThroughSymbol] = true;\n }\n waitUntil(promise) {\n this[waitUntilSymbol].push(promise);\n }\n}\nexport class NextFetchEvent extends FetchEvent {\n constructor(params){\n super(params.request);\n this.sourcePage = params.page;\n }\n /**\n * @deprecated The `request` is now the first parameter and the API is now async.\n *\n * Read more: https://nextjs.org/docs/messages/middleware-new-signature\n */ get request() {\n throw new PageSignatureError({\n page: this.sourcePage\n });\n }\n /**\n * @deprecated Using `respondWith` is no longer needed.\n *\n * Read more: https://nextjs.org/docs/messages/middleware-new-signature\n */ respondWith() {\n throw new PageSignatureError({\n page: this.sourcePage\n });\n }\n}\n\n//# sourceMappingURL=fetch-event.js.map",null,null,null,null,null,null,null,null,null,null,null,null,"import { detectDomainLocale } from \"../../shared/lib/i18n/detect-domain-locale\";\nimport { formatNextPathnameInfo } from \"../../shared/lib/router/utils/format-next-pathname-info\";\nimport { getHostname } from \"../../shared/lib/get-hostname\";\nimport { getNextPathnameInfo } from \"../../shared/lib/router/utils/get-next-pathname-info\";\nconst REGEX_LOCALHOST_HOSTNAME = /(?!^https?:\\/\\/)(127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\\[::1\\]|localhost)/;\nfunction parseURL(url, base) {\n return new URL(String(url).replace(REGEX_LOCALHOST_HOSTNAME, \"localhost\"), base && String(base).replace(REGEX_LOCALHOST_HOSTNAME, \"localhost\"));\n}\nconst Internal = Symbol(\"NextURLInternal\");\nexport class NextURL {\n constructor(input, baseOrOpts, opts){\n let base;\n let options;\n if (typeof baseOrOpts === \"object\" && \"pathname\" in baseOrOpts || typeof baseOrOpts === \"string\") {\n base = baseOrOpts;\n options = opts || {};\n } else {\n options = opts || baseOrOpts || {};\n }\n this[Internal] = {\n url: parseURL(input, base ?? options.base),\n options: options,\n basePath: \"\"\n };\n this.analyze();\n }\n analyze() {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig, _this_Internal_domainLocale, _this_Internal_options_nextConfig_i18n1, _this_Internal_options_nextConfig1;\n const info = getNextPathnameInfo(this[Internal].url.pathname, {\n nextConfig: this[Internal].options.nextConfig,\n parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,\n i18nProvider: this[Internal].options.i18nProvider\n });\n const hostname = getHostname(this[Internal].url, this[Internal].options.headers);\n this[Internal].domainLocale = this[Internal].options.i18nProvider ? this[Internal].options.i18nProvider.detectDomainLocale(hostname) : detectDomainLocale((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.domains, hostname);\n const defaultLocale = ((_this_Internal_domainLocale = this[Internal].domainLocale) == null ? void 0 : _this_Internal_domainLocale.defaultLocale) || ((_this_Internal_options_nextConfig1 = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n1 = _this_Internal_options_nextConfig1.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n1.defaultLocale);\n this[Internal].url.pathname = info.pathname;\n this[Internal].defaultLocale = defaultLocale;\n this[Internal].basePath = info.basePath ?? \"\";\n this[Internal].buildId = info.buildId;\n this[Internal].locale = info.locale ?? defaultLocale;\n this[Internal].trailingSlash = info.trailingSlash;\n }\n formatPathname() {\n return formatNextPathnameInfo({\n basePath: this[Internal].basePath,\n buildId: this[Internal].buildId,\n defaultLocale: !this[Internal].options.forceLocale ? this[Internal].defaultLocale : undefined,\n locale: this[Internal].locale,\n pathname: this[Internal].url.pathname,\n trailingSlash: this[Internal].trailingSlash\n });\n }\n formatSearch() {\n return this[Internal].url.search;\n }\n get buildId() {\n return this[Internal].buildId;\n }\n set buildId(buildId) {\n this[Internal].buildId = buildId;\n }\n get locale() {\n return this[Internal].locale ?? \"\";\n }\n set locale(locale) {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig;\n if (!this[Internal].locale || !((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.locales.includes(locale))) {\n throw new TypeError(`The NextURL configuration includes no locale \"${locale}\"`);\n }\n this[Internal].locale = locale;\n }\n get defaultLocale() {\n return this[Internal].defaultLocale;\n }\n get domainLocale() {\n return this[Internal].domainLocale;\n }\n get searchParams() {\n return this[Internal].url.searchParams;\n }\n get host() {\n return this[Internal].url.host;\n }\n set host(value) {\n this[Internal].url.host = value;\n }\n get hostname() {\n return this[Internal].url.hostname;\n }\n set hostname(value) {\n this[Internal].url.hostname = value;\n }\n get port() {\n return this[Internal].url.port;\n }\n set port(value) {\n this[Internal].url.port = value;\n }\n get protocol() {\n return this[Internal].url.protocol;\n }\n set protocol(value) {\n this[Internal].url.protocol = value;\n }\n get href() {\n const pathname = this.formatPathname();\n const search = this.formatSearch();\n return `${this.protocol}//${this.host}${pathname}${search}${this.hash}`;\n }\n set href(url) {\n this[Internal].url = parseURL(url);\n this.analyze();\n }\n get origin() {\n return this[Internal].url.origin;\n }\n get pathname() {\n return this[Internal].url.pathname;\n }\n set pathname(value) {\n this[Internal].url.pathname = value;\n }\n get hash() {\n return this[Internal].url.hash;\n }\n set hash(value) {\n this[Internal].url.hash = value;\n }\n get search() {\n return this[Internal].url.search;\n }\n set search(value) {\n this[Internal].url.search = value;\n }\n get password() {\n return this[Internal].url.password;\n }\n set password(value) {\n this[Internal].url.password = value;\n }\n get username() {\n return this[Internal].url.username;\n }\n set username(value) {\n this[Internal].url.username = value;\n }\n get basePath() {\n return this[Internal].basePath;\n }\n set basePath(value) {\n this[Internal].basePath = value.startsWith(\"/\") ? value : `/${value}`;\n }\n toString() {\n return this.href;\n }\n toJSON() {\n return this.href;\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return {\n href: this.href,\n origin: this.origin,\n protocol: this.protocol,\n username: this.username,\n password: this.password,\n host: this.host,\n hostname: this.hostname,\n port: this.port,\n pathname: this.pathname,\n search: this.search,\n searchParams: this.searchParams,\n hash: this.hash\n };\n }\n clone() {\n return new NextURL(String(this), this[Internal].options);\n }\n}\n\n//# sourceMappingURL=next-url.js.map","export { RequestCookies, ResponseCookies } from \"next/dist/compiled/@edge-runtime/cookies\";\n\n//# sourceMappingURL=cookies.js.map","import { NextURL } from \"../next-url\";\nimport { toNodeOutgoingHttpHeaders, validateURL } from \"../utils\";\nimport { RemovedUAError, RemovedPageError } from \"../error\";\nimport { RequestCookies } from \"./cookies\";\nexport const INTERNALS = Symbol(\"internal request\");\n/**\n * This class extends the [Web `Request` API](https://developer.mozilla.org/docs/Web/API/Request) with additional convenience methods.\n *\n * Read more: [Next.js Docs: `NextRequest`](https://nextjs.org/docs/app/api-reference/functions/next-request)\n */ export class NextRequest extends Request {\n constructor(input, init = {}){\n const url = typeof input !== \"string\" && \"url\" in input ? input.url : String(input);\n validateURL(url);\n if (input instanceof Request) super(input, init);\n else super(url, init);\n const nextUrl = new NextURL(url, {\n headers: toNodeOutgoingHttpHeaders(this.headers),\n nextConfig: init.nextConfig\n });\n this[INTERNALS] = {\n cookies: new RequestCookies(this.headers),\n geo: init.geo || {},\n ip: init.ip,\n nextUrl,\n url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? url : nextUrl.toString()\n };\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return {\n cookies: this.cookies,\n geo: this.geo,\n ip: this.ip,\n nextUrl: this.nextUrl,\n url: this.url,\n // rest of props come from Request\n bodyUsed: this.bodyUsed,\n cache: this.cache,\n credentials: this.credentials,\n destination: this.destination,\n headers: Object.fromEntries(this.headers),\n integrity: this.integrity,\n keepalive: this.keepalive,\n method: this.method,\n mode: this.mode,\n redirect: this.redirect,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n signal: this.signal\n };\n }\n get cookies() {\n return this[INTERNALS].cookies;\n }\n get geo() {\n return this[INTERNALS].geo;\n }\n get ip() {\n return this[INTERNALS].ip;\n }\n get nextUrl() {\n return this[INTERNALS].nextUrl;\n }\n /**\n * @deprecated\n * `page` has been deprecated in favour of `URLPattern`.\n * Read more: https://nextjs.org/docs/messages/middleware-request-page\n */ get page() {\n throw new RemovedPageError();\n }\n /**\n * @deprecated\n * `ua` has been removed in favour of \\`userAgent\\` function.\n * Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n */ get ua() {\n throw new RemovedUAError();\n }\n get url() {\n return this[INTERNALS].url;\n }\n}\n\n//# sourceMappingURL=request.js.map","import { NextURL } from \"../next-url\";\nimport { toNodeOutgoingHttpHeaders, validateURL } from \"../utils\";\nimport { ResponseCookies } from \"./cookies\";\nconst INTERNALS = Symbol(\"internal response\");\nconst REDIRECTS = new Set([\n 301,\n 302,\n 303,\n 307,\n 308\n]);\nfunction handleMiddlewareField(init, headers) {\n var _init_request;\n if (init == null ? void 0 : (_init_request = init.request) == null ? void 0 : _init_request.headers) {\n if (!(init.request.headers instanceof Headers)) {\n throw new Error(\"request.headers must be an instance of Headers\");\n }\n const keys = [];\n for (const [key, value] of init.request.headers){\n headers.set(\"x-middleware-request-\" + key, value);\n keys.push(key);\n }\n headers.set(\"x-middleware-override-headers\", keys.join(\",\"));\n }\n}\n/**\n * This class extends the [Web `Response` API](https://developer.mozilla.org/docs/Web/API/Response) with additional convenience methods.\n *\n * Read more: [Next.js Docs: `NextResponse`](https://nextjs.org/docs/app/api-reference/functions/next-response)\n */ export class NextResponse extends Response {\n constructor(body, init = {}){\n super(body, init);\n this[INTERNALS] = {\n cookies: new ResponseCookies(this.headers),\n url: init.url ? new NextURL(init.url, {\n headers: toNodeOutgoingHttpHeaders(this.headers),\n nextConfig: init.nextConfig\n }) : undefined\n };\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return {\n cookies: this.cookies,\n url: this.url,\n // rest of props come from Response\n body: this.body,\n bodyUsed: this.bodyUsed,\n headers: Object.fromEntries(this.headers),\n ok: this.ok,\n redirected: this.redirected,\n status: this.status,\n statusText: this.statusText,\n type: this.type\n };\n }\n get cookies() {\n return this[INTERNALS].cookies;\n }\n static json(body, init) {\n const response = Response.json(body, init);\n return new NextResponse(response.body, response);\n }\n static redirect(url, init) {\n const status = typeof init === \"number\" ? init : (init == null ? void 0 : init.status) ?? 307;\n if (!REDIRECTS.has(status)) {\n throw new RangeError('Failed to execute \"redirect\" on \"response\": Invalid status code');\n }\n const initObj = typeof init === \"object\" ? init : {};\n const headers = new Headers(initObj == null ? void 0 : initObj.headers);\n headers.set(\"Location\", validateURL(url));\n return new NextResponse(null, {\n ...initObj,\n headers,\n status\n });\n }\n static rewrite(destination, init) {\n const headers = new Headers(init == null ? void 0 : init.headers);\n headers.set(\"x-middleware-rewrite\", validateURL(destination));\n handleMiddlewareField(init, headers);\n return new NextResponse(null, {\n ...init,\n headers\n });\n }\n static next(init) {\n const headers = new Headers(init == null ? void 0 : init.headers);\n headers.set(\"x-middleware-next\", \"1\");\n handleMiddlewareField(init, headers);\n return new NextResponse(null, {\n ...init,\n headers\n });\n }\n}\n\n//# sourceMappingURL=response.js.map",null,null,null,"import { NEXT_RSC_UNION_QUERY } from \"../client/components/app-router-headers\";\nimport { INTERNAL_HEADERS } from \"../shared/lib/constants\";\nconst INTERNAL_QUERY_NAMES = [\n \"__nextFallback\",\n \"__nextLocale\",\n \"__nextInferredLocaleFromDefault\",\n \"__nextDefaultLocale\",\n \"__nextIsNotFound\",\n NEXT_RSC_UNION_QUERY\n];\nconst EDGE_EXTENDED_INTERNAL_QUERY_NAMES = [\n \"__nextDataReq\"\n];\nexport function stripInternalQueries(query) {\n for (const name of INTERNAL_QUERY_NAMES){\n delete query[name];\n }\n}\nexport function stripInternalSearchParams(url, isEdge) {\n const isStringUrl = typeof url === \"string\";\n const instance = isStringUrl ? new URL(url) : url;\n for (const name of INTERNAL_QUERY_NAMES){\n instance.searchParams.delete(name);\n }\n if (isEdge) {\n for (const name of EDGE_EXTENDED_INTERNAL_QUERY_NAMES){\n instance.searchParams.delete(name);\n }\n }\n return isStringUrl ? instance.toString() : instance;\n}\n/**\n * Strip internal headers from the request headers.\n *\n * @param headers the headers to strip of internal headers\n */ export function stripInternalHeaders(headers) {\n for (const key of INTERNAL_HEADERS){\n delete headers[key];\n }\n}\n\n//# sourceMappingURL=internal-utils.js.map",null,"export const NEXT_QUERY_PARAM_PREFIX = \"nxtP\";\nexport const PRERENDER_REVALIDATE_HEADER = \"x-prerender-revalidate\";\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = \"x-prerender-revalidate-if-generated\";\nexport const RSC_PREFETCH_SUFFIX = \".prefetch.rsc\";\nexport const RSC_SUFFIX = \".rsc\";\nexport const ACTION_SUFFIX = \".action\";\nexport const NEXT_DATA_SUFFIX = \".json\";\nexport const NEXT_META_SUFFIX = \".meta\";\nexport const NEXT_BODY_SUFFIX = \".body\";\nexport const NEXT_CACHE_TAGS_HEADER = \"x-next-cache-tags\";\nexport const NEXT_CACHE_SOFT_TAGS_HEADER = \"x-next-cache-soft-tags\";\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = \"x-next-revalidated-tags\";\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = \"x-next-revalidate-tag-token\";\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 64;\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256;\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = \"_N_T_\";\n// in seconds\nexport const CACHE_ONE_YEAR = 31536000;\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = \"middleware\";\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = \"instrumentation\";\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = \"private-next-pages\";\nexport const DOT_NEXT_ALIAS = \"private-dot-next\";\nexport const ROOT_DIR_ALIAS = \"private-next-root-dir\";\nexport const APP_DIR_ALIAS = \"private-next-app-dir\";\nexport const RSC_MOD_REF_PROXY_ALIAS = \"private-next-rsc-mod-ref-proxy\";\nexport const RSC_ACTION_VALIDATE_ALIAS = \"private-next-rsc-action-validate\";\nexport const RSC_ACTION_PROXY_ALIAS = \"private-next-rsc-server-reference\";\nexport const RSC_ACTION_ENCRYPTION_ALIAS = \"private-next-rsc-action-encryption\";\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS = \"private-next-rsc-action-client-wrapper\";\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;\nexport const GSP_NO_RETURNED_VALUE = \"Your `getStaticProps` function did not return an object. Did you forget to add a `return`?\";\nexport const GSSP_NO_RETURNED_VALUE = \"Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?\";\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR = \"The `unstable_revalidate` property is available for general use.\\n\" + \"Please use `revalidate` instead.\";\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`;\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`;\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;\nexport const ESLINT_DEFAULT_DIRS = [\n \"app\",\n \"pages\",\n \"components\",\n \"lib\",\n \"src\"\n];\nexport const ESLINT_PROMPT_VALUES = [\n {\n title: \"Strict\",\n recommended: true,\n config: {\n extends: \"next/core-web-vitals\"\n }\n },\n {\n title: \"Base\",\n config: {\n extends: \"next\"\n }\n },\n {\n title: \"Cancel\",\n config: null\n }\n];\nexport const SERVER_RUNTIME = {\n edge: \"edge\",\n experimentalEdge: \"experimental-edge\",\n nodejs: \"nodejs\"\n};\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */ const WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */ shared: \"shared\",\n /**\n * React Server Components layer (rsc).\n */ reactServerComponents: \"rsc\",\n /**\n * Server Side Rendering layer for app (ssr).\n */ serverSideRendering: \"ssr\",\n /**\n * The browser client bundle layer for actions.\n */ actionBrowser: \"action-browser\",\n /**\n * The layer for the API routes.\n */ api: \"api\",\n /**\n * The layer for the middleware code.\n */ middleware: \"middleware\",\n /**\n * The layer for the instrumentation hooks.\n */ instrument: \"instrument\",\n /**\n * The layer for assets on the edge.\n */ edgeAsset: \"edge-asset\",\n /**\n * The browser client bundle layer for App directory.\n */ appPagesBrowser: \"app-pages-browser\",\n /**\n * The server bundle layer for metadata routes.\n */ appMetadataRoute: \"app-metadata-route\",\n /**\n * The layer for the server bundle for App Route handlers.\n */ appRouteHandler: \"app-route-handler\"\n};\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.appMetadataRoute,\n WEBPACK_LAYERS_NAMES.appRouteHandler,\n WEBPACK_LAYERS_NAMES.instrument\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser\n ],\n nonClientServerTarget: [\n // middleware and pages api\n WEBPACK_LAYERS_NAMES.middleware,\n WEBPACK_LAYERS_NAMES.api\n ],\n app: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.appMetadataRoute,\n WEBPACK_LAYERS_NAMES.appRouteHandler,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument\n ]\n }\n};\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: \"__next_edge_ssr_entry__\",\n metadata: \"__next_metadata__\",\n metadataRoute: \"__next_metadata_route__\",\n metadataImageMeta: \"__next_metadata_image_meta__\"\n};\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES };\n\n//# sourceMappingURL=constants.js.map","export class ReflectAdapter {\n static get(target, prop, receiver) {\n const value = Reflect.get(target, prop, receiver);\n if (typeof value === \"function\") {\n return value.bind(target);\n }\n return value;\n }\n static set(target, prop, value, receiver) {\n return Reflect.set(target, prop, value, receiver);\n }\n static has(target, prop) {\n return Reflect.has(target, prop);\n }\n static deleteProperty(target, prop) {\n return Reflect.deleteProperty(target, prop);\n }\n}\n\n//# sourceMappingURL=reflect.js.map","import { ReflectAdapter } from \"./reflect\";\n/**\n * @internal\n */ export class ReadonlyHeadersError extends Error {\n constructor(){\n super(\"Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers\");\n }\n static callable() {\n throw new ReadonlyHeadersError();\n }\n}\nexport class HeadersAdapter extends Headers {\n constructor(headers){\n // We've already overridden the methods that would be called, so we're just\n // calling the super constructor to ensure that the instanceof check works.\n super();\n this.headers = new Proxy(headers, {\n get (target, prop, receiver) {\n // Because this is just an object, we expect that all \"get\" operations\n // are for properties. If it's a \"get\" for a symbol, we'll just return\n // the symbol.\n if (typeof prop === \"symbol\") {\n return ReflectAdapter.get(target, prop, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return undefined.\n if (typeof original === \"undefined\") return;\n // If the original casing exists, return the value.\n return ReflectAdapter.get(target, original, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === \"symbol\") {\n return ReflectAdapter.set(target, prop, value, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, use the prop as the key.\n return ReflectAdapter.set(target, original ?? prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === \"symbol\") return ReflectAdapter.has(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return false.\n if (typeof original === \"undefined\") return false;\n // If the original casing exists, return true.\n return ReflectAdapter.has(target, original);\n },\n deleteProperty (target, prop) {\n if (typeof prop === \"symbol\") return ReflectAdapter.deleteProperty(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return true.\n if (typeof original === \"undefined\") return true;\n // If the original casing exists, delete the property.\n return ReflectAdapter.deleteProperty(target, original);\n }\n });\n }\n /**\n * Seals a Headers instance to prevent modification by throwing an error when\n * any mutating method is called.\n */ static seal(headers) {\n return new Proxy(headers, {\n get (target, prop, receiver) {\n switch(prop){\n case \"append\":\n case \"delete\":\n case \"set\":\n return ReadonlyHeadersError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n /**\n * Merges a header value into a string. This stores multiple values as an\n * array, so we need to merge them into a string.\n *\n * @param value a header value\n * @returns a merged header value (a string)\n */ merge(value) {\n if (Array.isArray(value)) return value.join(\", \");\n return value;\n }\n /**\n * Creates a Headers instance from a plain object or a Headers instance.\n *\n * @param headers a plain object or a Headers instance\n * @returns a headers instance\n */ static from(headers) {\n if (headers instanceof Headers) return headers;\n return new HeadersAdapter(headers);\n }\n append(name, value) {\n const existing = this.headers[name];\n if (typeof existing === \"string\") {\n this.headers[name] = [\n existing,\n value\n ];\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n this.headers[name] = value;\n }\n }\n delete(name) {\n delete this.headers[name];\n }\n get(name) {\n const value = this.headers[name];\n if (typeof value !== \"undefined\") return this.merge(value);\n return null;\n }\n has(name) {\n return typeof this.headers[name] !== \"undefined\";\n }\n set(name, value) {\n this.headers[name] = value;\n }\n forEach(callbackfn, thisArg) {\n for (const [name, value] of this.entries()){\n callbackfn.call(thisArg, value, name, this);\n }\n }\n *entries() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(name);\n yield [\n name,\n value\n ];\n }\n }\n *keys() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n yield name;\n }\n }\n *values() {\n for (const key of Object.keys(this.headers)){\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(key);\n yield value;\n }\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n}\n\n//# sourceMappingURL=headers.js.map",null,null,null,"import { ResponseCookies } from \"../cookies\";\nimport { ReflectAdapter } from \"./reflect\";\nimport { staticGenerationAsyncStorage } from \"../../../../client/components/static-generation-async-storage.external\";\n/**\n * @internal\n */ export class ReadonlyRequestCookiesError extends Error {\n constructor(){\n super(\"Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#cookiessetname-value-options\");\n }\n static callable() {\n throw new ReadonlyRequestCookiesError();\n }\n}\nexport class RequestCookiesAdapter {\n static seal(cookies) {\n return new Proxy(cookies, {\n get (target, prop, receiver) {\n switch(prop){\n case \"clear\":\n case \"delete\":\n case \"set\":\n return ReadonlyRequestCookiesError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n}\nconst SYMBOL_MODIFY_COOKIE_VALUES = Symbol.for(\"next.mutated.cookies\");\nexport function getModifiedCookieValues(cookies) {\n const modified = cookies[SYMBOL_MODIFY_COOKIE_VALUES];\n if (!modified || !Array.isArray(modified) || modified.length === 0) {\n return [];\n }\n return modified;\n}\nexport function appendMutableCookies(headers, mutableCookies) {\n const modifiedCookieValues = getModifiedCookieValues(mutableCookies);\n if (modifiedCookieValues.length === 0) {\n return false;\n }\n // Return a new response that extends the response with\n // the modified cookies as fallbacks. `res` cookies\n // will still take precedence.\n const resCookies = new ResponseCookies(headers);\n const returnedCookies = resCookies.getAll();\n // Set the modified cookies as fallbacks.\n for (const cookie of modifiedCookieValues){\n resCookies.set(cookie);\n }\n // Set the original cookies as the final values.\n for (const cookie of returnedCookies){\n resCookies.set(cookie);\n }\n return true;\n}\nexport class MutableRequestCookiesAdapter {\n static wrap(cookies, onUpdateCookies) {\n const responseCookies = new ResponseCookies(new Headers());\n for (const cookie of cookies.getAll()){\n responseCookies.set(cookie);\n }\n let modifiedValues = [];\n const modifiedCookies = new Set();\n const updateResponseCookies = ()=>{\n // TODO-APP: change method of getting staticGenerationAsyncStore\n const staticGenerationAsyncStore = staticGenerationAsyncStorage.getStore();\n if (staticGenerationAsyncStore) {\n staticGenerationAsyncStore.pathWasRevalidated = true;\n }\n const allCookies = responseCookies.getAll();\n modifiedValues = allCookies.filter((c)=>modifiedCookies.has(c.name));\n if (onUpdateCookies) {\n const serializedCookies = [];\n for (const cookie of modifiedValues){\n const tempCookies = new ResponseCookies(new Headers());\n tempCookies.set(cookie);\n serializedCookies.push(tempCookies.toString());\n }\n onUpdateCookies(serializedCookies);\n }\n };\n return new Proxy(responseCookies, {\n get (target, prop, receiver) {\n switch(prop){\n // A special symbol to get the modified cookie values\n case SYMBOL_MODIFY_COOKIE_VALUES:\n return modifiedValues;\n // TODO: Throw error if trying to set a cookie after the response\n // headers have been set.\n case \"delete\":\n return function(...args) {\n modifiedCookies.add(typeof args[0] === \"string\" ? args[0] : args[0].name);\n try {\n target.delete(...args);\n } finally{\n updateResponseCookies();\n }\n };\n case \"set\":\n return function(...args) {\n modifiedCookies.add(typeof args[0] === \"string\" ? args[0] : args[0].name);\n try {\n return target.set(...args);\n } finally{\n updateResponseCookies();\n }\n };\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n}\n\n//# sourceMappingURL=request-cookies.js.map","/**\n * Contains predefined constants for the trace span name in next/server.\n *\n * Currently, next/server/tracer is internal implementation only for tracking\n * next.js's implementation only with known span names defined here.\n **/ // eslint typescript has a bug with TS enums\n/* eslint-disable no-shadow */ var BaseServerSpan;\n(function(BaseServerSpan) {\n BaseServerSpan[\"handleRequest\"] = \"BaseServer.handleRequest\";\n BaseServerSpan[\"run\"] = \"BaseServer.run\";\n BaseServerSpan[\"pipe\"] = \"BaseServer.pipe\";\n BaseServerSpan[\"getStaticHTML\"] = \"BaseServer.getStaticHTML\";\n BaseServerSpan[\"render\"] = \"BaseServer.render\";\n BaseServerSpan[\"renderToResponseWithComponents\"] = \"BaseServer.renderToResponseWithComponents\";\n BaseServerSpan[\"renderToResponse\"] = \"BaseServer.renderToResponse\";\n BaseServerSpan[\"renderToHTML\"] = \"BaseServer.renderToHTML\";\n BaseServerSpan[\"renderError\"] = \"BaseServer.renderError\";\n BaseServerSpan[\"renderErrorToResponse\"] = \"BaseServer.renderErrorToResponse\";\n BaseServerSpan[\"renderErrorToHTML\"] = \"BaseServer.renderErrorToHTML\";\n BaseServerSpan[\"render404\"] = \"BaseServer.render404\";\n})(BaseServerSpan || (BaseServerSpan = {}));\nvar LoadComponentsSpan;\n(function(LoadComponentsSpan) {\n LoadComponentsSpan[\"loadDefaultErrorComponents\"] = \"LoadComponents.loadDefaultErrorComponents\";\n LoadComponentsSpan[\"loadComponents\"] = \"LoadComponents.loadComponents\";\n})(LoadComponentsSpan || (LoadComponentsSpan = {}));\nvar NextServerSpan;\n(function(NextServerSpan) {\n NextServerSpan[\"getRequestHandler\"] = \"NextServer.getRequestHandler\";\n NextServerSpan[\"getServer\"] = \"NextServer.getServer\";\n NextServerSpan[\"getServerRequestHandler\"] = \"NextServer.getServerRequestHandler\";\n NextServerSpan[\"createServer\"] = \"createServer.createServer\";\n})(NextServerSpan || (NextServerSpan = {}));\nvar NextNodeServerSpan;\n(function(NextNodeServerSpan) {\n NextNodeServerSpan[\"compression\"] = \"NextNodeServer.compression\";\n NextNodeServerSpan[\"getBuildId\"] = \"NextNodeServer.getBuildId\";\n NextNodeServerSpan[\"createComponentTree\"] = \"NextNodeServer.createComponentTree\";\n NextNodeServerSpan[\"clientComponentLoading\"] = \"NextNodeServer.clientComponentLoading\";\n NextNodeServerSpan[\"getLayoutOrPageModule\"] = \"NextNodeServer.getLayoutOrPageModule\";\n NextNodeServerSpan[\"generateStaticRoutes\"] = \"NextNodeServer.generateStaticRoutes\";\n NextNodeServerSpan[\"generateFsStaticRoutes\"] = \"NextNodeServer.generateFsStaticRoutes\";\n NextNodeServerSpan[\"generatePublicRoutes\"] = \"NextNodeServer.generatePublicRoutes\";\n NextNodeServerSpan[\"generateImageRoutes\"] = \"NextNodeServer.generateImageRoutes.route\";\n NextNodeServerSpan[\"sendRenderResult\"] = \"NextNodeServer.sendRenderResult\";\n NextNodeServerSpan[\"proxyRequest\"] = \"NextNodeServer.proxyRequest\";\n NextNodeServerSpan[\"runApi\"] = \"NextNodeServer.runApi\";\n NextNodeServerSpan[\"render\"] = \"NextNodeServer.render\";\n NextNodeServerSpan[\"renderHTML\"] = \"NextNodeServer.renderHTML\";\n NextNodeServerSpan[\"imageOptimizer\"] = \"NextNodeServer.imageOptimizer\";\n NextNodeServerSpan[\"getPagePath\"] = \"NextNodeServer.getPagePath\";\n NextNodeServerSpan[\"getRoutesManifest\"] = \"NextNodeServer.getRoutesManifest\";\n NextNodeServerSpan[\"findPageComponents\"] = \"NextNodeServer.findPageComponents\";\n NextNodeServerSpan[\"getFontManifest\"] = \"NextNodeServer.getFontManifest\";\n NextNodeServerSpan[\"getServerComponentManifest\"] = \"NextNodeServer.getServerComponentManifest\";\n NextNodeServerSpan[\"getRequestHandler\"] = \"NextNodeServer.getRequestHandler\";\n NextNodeServerSpan[\"renderToHTML\"] = \"NextNodeServer.renderToHTML\";\n NextNodeServerSpan[\"renderError\"] = \"NextNodeServer.renderError\";\n NextNodeServerSpan[\"renderErrorToHTML\"] = \"NextNodeServer.renderErrorToHTML\";\n NextNodeServerSpan[\"render404\"] = \"NextNodeServer.render404\";\n NextNodeServerSpan[\"startResponse\"] = \"NextNodeServer.startResponse\";\n // nested inner span, does not require parent scope name\n NextNodeServerSpan[\"route\"] = \"route\";\n NextNodeServerSpan[\"onProxyReq\"] = \"onProxyReq\";\n NextNodeServerSpan[\"apiResolver\"] = \"apiResolver\";\n NextNodeServerSpan[\"internalFetch\"] = \"internalFetch\";\n})(NextNodeServerSpan || (NextNodeServerSpan = {}));\nvar StartServerSpan;\n(function(StartServerSpan) {\n StartServerSpan[\"startServer\"] = \"startServer.startServer\";\n})(StartServerSpan || (StartServerSpan = {}));\nvar RenderSpan;\n(function(RenderSpan) {\n RenderSpan[\"getServerSideProps\"] = \"Render.getServerSideProps\";\n RenderSpan[\"getStaticProps\"] = \"Render.getStaticProps\";\n RenderSpan[\"renderToString\"] = \"Render.renderToString\";\n RenderSpan[\"renderDocument\"] = \"Render.renderDocument\";\n RenderSpan[\"createBodyResult\"] = \"Render.createBodyResult\";\n})(RenderSpan || (RenderSpan = {}));\nvar AppRenderSpan;\n(function(AppRenderSpan) {\n AppRenderSpan[\"renderToString\"] = \"AppRender.renderToString\";\n AppRenderSpan[\"renderToReadableStream\"] = \"AppRender.renderToReadableStream\";\n AppRenderSpan[\"getBodyResult\"] = \"AppRender.getBodyResult\";\n AppRenderSpan[\"fetch\"] = \"AppRender.fetch\";\n})(AppRenderSpan || (AppRenderSpan = {}));\nvar RouterSpan;\n(function(RouterSpan) {\n RouterSpan[\"executeRoute\"] = \"Router.executeRoute\";\n})(RouterSpan || (RouterSpan = {}));\nvar NodeSpan;\n(function(NodeSpan) {\n NodeSpan[\"runHandler\"] = \"Node.runHandler\";\n})(NodeSpan || (NodeSpan = {}));\nvar AppRouteRouteHandlersSpan;\n(function(AppRouteRouteHandlersSpan) {\n AppRouteRouteHandlersSpan[\"runHandler\"] = \"AppRouteRouteHandlers.runHandler\";\n})(AppRouteRouteHandlersSpan || (AppRouteRouteHandlersSpan = {}));\nvar ResolveMetadataSpan;\n(function(ResolveMetadataSpan) {\n ResolveMetadataSpan[\"generateMetadata\"] = \"ResolveMetadata.generateMetadata\";\n ResolveMetadataSpan[\"generateViewport\"] = \"ResolveMetadata.generateViewport\";\n})(ResolveMetadataSpan || (ResolveMetadataSpan = {}));\nvar MiddlewareSpan;\n(function(MiddlewareSpan) {\n MiddlewareSpan[\"execute\"] = \"Middleware.execute\";\n})(MiddlewareSpan || (MiddlewareSpan = {}));\n// This list is used to filter out spans that are not relevant to the user\nexport const NextVanillaSpanAllowlist = [\n \"Middleware.execute\",\n \"BaseServer.handleRequest\",\n \"Render.getServerSideProps\",\n \"Render.getStaticProps\",\n \"AppRender.fetch\",\n \"AppRender.getBodyResult\",\n \"Render.renderDocument\",\n \"Node.runHandler\",\n \"AppRouteRouteHandlers.runHandler\",\n \"ResolveMetadata.generateMetadata\",\n \"ResolveMetadata.generateViewport\",\n \"NextNodeServer.createComponentTree\",\n \"NextNodeServer.findPageComponents\",\n \"NextNodeServer.getLayoutOrPageModule\",\n \"NextNodeServer.startResponse\",\n \"NextNodeServer.clientComponentLoading\"\n];\n// These Spans are allowed to be always logged\n// when the otel log prefix env is set\nexport const LogSpanAllowList = [\n \"NextNodeServer.findPageComponents\",\n \"NextNodeServer.createComponentTree\",\n \"NextNodeServer.clientComponentLoading\"\n];\nexport { BaseServerSpan, LoadComponentsSpan, NextServerSpan, NextNodeServerSpan, StartServerSpan, RenderSpan, RouterSpan, AppRenderSpan, NodeSpan, AppRouteRouteHandlersSpan, ResolveMetadataSpan, MiddlewareSpan, };\n\n//# sourceMappingURL=constants.js.map","import { LogSpanAllowList, NextVanillaSpanAllowlist } from \"./constants\";\nlet api;\n// we want to allow users to use their own version of @opentelemetry/api if they\n// want to, so we try to require it first, and if it fails we fall back to the\n// version that is bundled with Next.js\n// this is because @opentelemetry/api has to be synced with the version of\n// @opentelemetry/tracing that is used, and we don't want to force users to use\n// the version that is bundled with Next.js.\n// the API is ~stable, so this should be fine\nif (process.env.NEXT_RUNTIME === \"edge\") {\n api = require(\"@opentelemetry/api\");\n} else {\n try {\n api = require(\"@opentelemetry/api\");\n } catch (err) {\n api = require(\"next/dist/compiled/@opentelemetry/api\");\n }\n}\nconst { context, propagation, trace, SpanStatusCode, SpanKind, ROOT_CONTEXT } = api;\nconst isPromise = (p)=>{\n return p !== null && typeof p === \"object\" && typeof p.then === \"function\";\n};\nconst closeSpanWithError = (span, error)=>{\n if ((error == null ? void 0 : error.bubble) === true) {\n span.setAttribute(\"next.bubble\", true);\n } else {\n if (error) {\n span.recordException(error);\n }\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: error == null ? void 0 : error.message\n });\n }\n span.end();\n};\n/** we use this map to propagate attributes from nested spans to the top span */ const rootSpanAttributesStore = new Map();\nconst rootSpanIdKey = api.createContextKey(\"next.rootSpanId\");\nlet lastSpanId = 0;\nconst getSpanId = ()=>lastSpanId++;\nclass NextTracerImpl {\n /**\n * Returns an instance to the trace with configured name.\n * Since wrap / trace can be defined in any place prior to actual trace subscriber initialization,\n * This should be lazily evaluated.\n */ getTracerInstance() {\n return trace.getTracer(\"next.js\", \"0.0.1\");\n }\n getContext() {\n return context;\n }\n getActiveScopeSpan() {\n return trace.getSpan(context == null ? void 0 : context.active());\n }\n withPropagatedContext(carrier, fn, getter) {\n const activeContext = context.active();\n if (trace.getSpanContext(activeContext)) {\n // Active span is already set, too late to propagate.\n return fn();\n }\n const remoteContext = propagation.extract(activeContext, carrier, getter);\n return context.with(remoteContext, fn);\n }\n trace(...args) {\n var _trace_getSpanContext;\n const [type, fnOrOptions, fnOrEmpty] = args;\n // coerce options form overload\n const { fn, options } = typeof fnOrOptions === \"function\" ? {\n fn: fnOrOptions,\n options: {}\n } : {\n fn: fnOrEmpty,\n options: {\n ...fnOrOptions\n }\n };\n const spanName = options.spanName ?? type;\n if (!NextVanillaSpanAllowlist.includes(type) && process.env.NEXT_OTEL_VERBOSE !== \"1\" || options.hideSpan) {\n return fn();\n }\n // Trying to get active scoped span to assign parent. If option specifies parent span manually, will try to use it.\n let spanContext = this.getSpanContext((options == null ? void 0 : options.parentSpan) ?? this.getActiveScopeSpan());\n let isRootSpan = false;\n if (!spanContext) {\n spanContext = (context == null ? void 0 : context.active()) ?? ROOT_CONTEXT;\n isRootSpan = true;\n } else if ((_trace_getSpanContext = trace.getSpanContext(spanContext)) == null ? void 0 : _trace_getSpanContext.isRemote) {\n isRootSpan = true;\n }\n const spanId = getSpanId();\n options.attributes = {\n \"next.span_name\": spanName,\n \"next.span_type\": type,\n ...options.attributes\n };\n return context.with(spanContext.setValue(rootSpanIdKey, spanId), ()=>this.getTracerInstance().startActiveSpan(spanName, options, (span)=>{\n const startTime = \"performance\" in globalThis ? globalThis.performance.now() : undefined;\n const onCleanup = ()=>{\n rootSpanAttributesStore.delete(spanId);\n if (startTime && process.env.NEXT_OTEL_PERFORMANCE_PREFIX && LogSpanAllowList.includes(type || \"\")) {\n performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(type.split(\".\").pop() || \"\").replace(/[A-Z]/g, (match)=>\"-\" + match.toLowerCase())}`, {\n start: startTime,\n end: performance.now()\n });\n }\n };\n if (isRootSpan) {\n rootSpanAttributesStore.set(spanId, new Map(Object.entries(options.attributes ?? {})));\n }\n try {\n if (fn.length > 1) {\n return fn(span, (err)=>closeSpanWithError(span, err));\n }\n const result = fn(span);\n if (isPromise(result)) {\n // If there's error make sure it throws\n return result.then((res)=>{\n span.end();\n // Need to pass down the promise result,\n // it could be react stream response with error { error, stream }\n return res;\n }).catch((err)=>{\n closeSpanWithError(span, err);\n throw err;\n }).finally(onCleanup);\n } else {\n span.end();\n onCleanup();\n }\n return result;\n } catch (err) {\n closeSpanWithError(span, err);\n onCleanup();\n throw err;\n }\n }));\n }\n wrap(...args) {\n const tracer = this;\n const [name, options, fn] = args.length === 3 ? args : [\n args[0],\n {},\n args[1]\n ];\n if (!NextVanillaSpanAllowlist.includes(name) && process.env.NEXT_OTEL_VERBOSE !== \"1\") {\n return fn;\n }\n return function() {\n let optionsObj = options;\n if (typeof optionsObj === \"function\" && typeof fn === \"function\") {\n optionsObj = optionsObj.apply(this, arguments);\n }\n const lastArgId = arguments.length - 1;\n const cb = arguments[lastArgId];\n if (typeof cb === \"function\") {\n const scopeBoundCb = tracer.getContext().bind(context.active(), cb);\n return tracer.trace(name, optionsObj, (_span, done)=>{\n arguments[lastArgId] = function(err) {\n done == null ? void 0 : done(err);\n return scopeBoundCb.apply(this, arguments);\n };\n return fn.apply(this, arguments);\n });\n } else {\n return tracer.trace(name, optionsObj, ()=>fn.apply(this, arguments));\n }\n };\n }\n startSpan(...args) {\n const [type, options] = args;\n const spanContext = this.getSpanContext((options == null ? void 0 : options.parentSpan) ?? this.getActiveScopeSpan());\n return this.getTracerInstance().startSpan(type, options, spanContext);\n }\n getSpanContext(parentSpan) {\n const spanContext = parentSpan ? trace.setSpan(context.active(), parentSpan) : undefined;\n return spanContext;\n }\n getRootSpanAttributes() {\n const spanId = context.active().getValue(rootSpanIdKey);\n return rootSpanAttributesStore.get(spanId);\n }\n}\nconst getTracer = (()=>{\n const tracer = new NextTracerImpl();\n return ()=>tracer;\n})();\nexport { getTracer, SpanStatusCode, SpanKind };\n\n//# sourceMappingURL=tracer.js.map","import { HeadersAdapter } from \"../web/spec-extension/adapters/headers\";\nimport { PRERENDER_REVALIDATE_HEADER, PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER } from \"../../lib/constants\";\nimport { getTracer } from \"../lib/trace/tracer\";\nimport { NodeSpan } from \"../lib/trace/constants\";\nexport function wrapApiHandler(page, handler) {\n return (...args)=>{\n var _getTracer_getRootSpanAttributes;\n (_getTracer_getRootSpanAttributes = getTracer().getRootSpanAttributes()) == null ? void 0 : _getTracer_getRootSpanAttributes.set(\"next.route\", page);\n // Call API route method\n return getTracer().trace(NodeSpan.runHandler, {\n spanName: `executing api route (pages) ${page}`\n }, ()=>handler(...args));\n };\n}\n/**\n *\n * @param res response object\n * @param statusCode `HTTP` status code of response\n */ export function sendStatusCode(res, statusCode) {\n res.statusCode = statusCode;\n return res;\n}\n/**\n *\n * @param res response object\n * @param [statusOrUrl] `HTTP` status code of redirect\n * @param url URL of redirect\n */ export function redirect(res, statusOrUrl, url) {\n if (typeof statusOrUrl === \"string\") {\n url = statusOrUrl;\n statusOrUrl = 307;\n }\n if (typeof statusOrUrl !== \"number\" || typeof url !== \"string\") {\n throw new Error(`Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').`);\n }\n res.writeHead(statusOrUrl, {\n Location: url\n });\n res.write(url);\n res.end();\n return res;\n}\nexport function checkIsOnDemandRevalidate(req, previewProps) {\n const headers = HeadersAdapter.from(req.headers);\n const previewModeId = headers.get(PRERENDER_REVALIDATE_HEADER);\n const isOnDemandRevalidate = previewModeId === previewProps.previewModeId;\n const revalidateOnlyGenerated = headers.has(PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER);\n return {\n isOnDemandRevalidate,\n revalidateOnlyGenerated\n };\n}\nexport const COOKIE_NAME_PRERENDER_BYPASS = `__prerender_bypass`;\nexport const COOKIE_NAME_PRERENDER_DATA = `__next_preview_data`;\nexport const RESPONSE_LIMIT_DEFAULT = 4 * 1024 * 1024;\nexport const SYMBOL_PREVIEW_DATA = Symbol(COOKIE_NAME_PRERENDER_DATA);\nexport const SYMBOL_CLEARED_COOKIES = Symbol(COOKIE_NAME_PRERENDER_BYPASS);\nexport function clearPreviewData(res, options = {}) {\n if (SYMBOL_CLEARED_COOKIES in res) {\n return res;\n }\n const { serialize } = require(\"next/dist/compiled/cookie\");\n const previous = res.getHeader(\"Set-Cookie\");\n res.setHeader(`Set-Cookie`, [\n ...typeof previous === \"string\" ? [\n previous\n ] : Array.isArray(previous) ? previous : [],\n serialize(COOKIE_NAME_PRERENDER_BYPASS, \"\", {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n expires: new Date(0),\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== \"development\" ? \"none\" : \"lax\",\n secure: process.env.NODE_ENV !== \"development\",\n path: \"/\",\n ...options.path !== undefined ? {\n path: options.path\n } : undefined\n }),\n serialize(COOKIE_NAME_PRERENDER_DATA, \"\", {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n expires: new Date(0),\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== \"development\" ? \"none\" : \"lax\",\n secure: process.env.NODE_ENV !== \"development\",\n path: \"/\",\n ...options.path !== undefined ? {\n path: options.path\n } : undefined\n })\n ]);\n Object.defineProperty(res, SYMBOL_CLEARED_COOKIES, {\n value: true,\n enumerable: false\n });\n return res;\n}\n/**\n * Custom error class\n */ export class ApiError extends Error {\n constructor(statusCode, message){\n super(message);\n this.statusCode = statusCode;\n }\n}\n/**\n * Sends error in `response`\n * @param res response object\n * @param statusCode of response\n * @param message of response\n */ export function sendError(res, statusCode, message) {\n res.statusCode = statusCode;\n res.statusMessage = message;\n res.end(message);\n}\n/**\n * Execute getter function only if its needed\n * @param LazyProps `req` and `params` for lazyProp\n * @param prop name of property\n * @param getter function to get data\n */ export function setLazyProp({ req }, prop, getter) {\n const opts = {\n configurable: true,\n enumerable: true\n };\n const optsReset = {\n ...opts,\n writable: true\n };\n Object.defineProperty(req, prop, {\n ...opts,\n get: ()=>{\n const value = getter();\n // we set the property on the object to avoid recalculating it\n Object.defineProperty(req, prop, {\n ...optsReset,\n value\n });\n return value;\n },\n set: (value)=>{\n Object.defineProperty(req, prop, {\n ...optsReset,\n value\n });\n }\n });\n}\n\n//# sourceMappingURL=index.js.map","import { COOKIE_NAME_PRERENDER_BYPASS, checkIsOnDemandRevalidate } from \"../api-utils\";\nexport class DraftModeProvider {\n constructor(previewProps, req, cookies, mutableCookies){\n var _cookies_get;\n // The logic for draftMode() is very similar to tryGetPreviewData()\n // but Draft Mode does not have any data associated with it.\n const isOnDemandRevalidate = previewProps && checkIsOnDemandRevalidate(req, previewProps).isOnDemandRevalidate;\n const cookieValue = (_cookies_get = cookies.get(COOKIE_NAME_PRERENDER_BYPASS)) == null ? void 0 : _cookies_get.value;\n this.isEnabled = Boolean(!isOnDemandRevalidate && cookieValue && previewProps && cookieValue === previewProps.previewModeId);\n this._previewModeId = previewProps == null ? void 0 : previewProps.previewModeId;\n this._mutableCookies = mutableCookies;\n }\n enable() {\n if (!this._previewModeId) {\n throw new Error(\"Invariant: previewProps missing previewModeId this should never happen\");\n }\n this._mutableCookies.set({\n name: COOKIE_NAME_PRERENDER_BYPASS,\n value: this._previewModeId,\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== \"development\" ? \"none\" : \"lax\",\n secure: process.env.NODE_ENV !== \"development\",\n path: \"/\"\n });\n }\n disable() {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n this._mutableCookies.set({\n name: COOKIE_NAME_PRERENDER_BYPASS,\n value: \"\",\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== \"development\" ? \"none\" : \"lax\",\n secure: process.env.NODE_ENV !== \"development\",\n path: \"/\",\n expires: new Date(0)\n });\n }\n}\n\n//# sourceMappingURL=draft-mode-provider.js.map","import { FLIGHT_PARAMETERS } from \"../../client/components/app-router-headers\";\nimport { HeadersAdapter } from \"../web/spec-extension/adapters/headers\";\nimport { MutableRequestCookiesAdapter, RequestCookiesAdapter } from \"../web/spec-extension/adapters/request-cookies\";\nimport { RequestCookies } from \"../web/spec-extension/cookies\";\nimport { DraftModeProvider } from \"./draft-mode-provider\";\nfunction getHeaders(headers) {\n const cleaned = HeadersAdapter.from(headers);\n for (const param of FLIGHT_PARAMETERS){\n cleaned.delete(param.toString().toLowerCase());\n }\n return HeadersAdapter.seal(cleaned);\n}\nfunction getCookies(headers) {\n const cookies = new RequestCookies(HeadersAdapter.from(headers));\n return RequestCookiesAdapter.seal(cookies);\n}\nfunction getMutableCookies(headers, onUpdateCookies) {\n const cookies = new RequestCookies(HeadersAdapter.from(headers));\n return MutableRequestCookiesAdapter.wrap(cookies, onUpdateCookies);\n}\nexport const RequestAsyncStorageWrapper = {\n /**\n * Wrap the callback with the given store so it can access the underlying\n * store using hooks.\n *\n * @param storage underlying storage object returned by the module\n * @param context context to seed the store\n * @param callback function to call within the scope of the context\n * @returns the result returned by the callback\n */ wrap (storage, { req, res, renderOpts }, callback) {\n let previewProps = undefined;\n if (renderOpts && \"previewProps\" in renderOpts) {\n // TODO: investigate why previewProps isn't on RenderOpts\n previewProps = renderOpts.previewProps;\n }\n function defaultOnUpdateCookies(cookies) {\n if (res) {\n res.setHeader(\"Set-Cookie\", cookies);\n }\n }\n const cache = {};\n const store = {\n get headers () {\n if (!cache.headers) {\n // Seal the headers object that'll freeze out any methods that could\n // mutate the underlying data.\n cache.headers = getHeaders(req.headers);\n }\n return cache.headers;\n },\n get cookies () {\n if (!cache.cookies) {\n // Seal the cookies object that'll freeze out any methods that could\n // mutate the underlying data.\n cache.cookies = getCookies(req.headers);\n }\n return cache.cookies;\n },\n get mutableCookies () {\n if (!cache.mutableCookies) {\n cache.mutableCookies = getMutableCookies(req.headers, (renderOpts == null ? void 0 : renderOpts.onUpdateCookies) || (res ? defaultOnUpdateCookies : undefined));\n }\n return cache.mutableCookies;\n },\n get draftMode () {\n if (!cache.draftMode) {\n cache.draftMode = new DraftModeProvider(previewProps, req, this.cookies, this.mutableCookies);\n }\n return cache.draftMode;\n },\n reactLoadableManifest: (renderOpts == null ? void 0 : renderOpts.reactLoadableManifest) || {},\n assetPrefix: (renderOpts == null ? void 0 : renderOpts.assetPrefix) || \"\"\n };\n return storage.run(store, callback, store);\n }\n};\n\n//# sourceMappingURL=request-async-storage-wrapper.js.map",null,null,"import { PageSignatureError } from \"./error\";\nimport { fromNodeOutgoingHttpHeaders } from \"./utils\";\nimport { NextFetchEvent } from \"./spec-extension/fetch-event\";\nimport { NextRequest } from \"./spec-extension/request\";\nimport { NextResponse } from \"./spec-extension/response\";\nimport { relativizeURL } from \"../../shared/lib/router/utils/relativize-url\";\nimport { waitUntilSymbol } from \"./spec-extension/fetch-event\";\nimport { NextURL } from \"./next-url\";\nimport { stripInternalSearchParams } from \"../internal-utils\";\nimport { normalizeRscURL } from \"../../shared/lib/router/utils/app-paths\";\nimport { FLIGHT_PARAMETERS } from \"../../client/components/app-router-headers\";\nimport { NEXT_QUERY_PARAM_PREFIX } from \"../../lib/constants\";\nimport { ensureInstrumentationRegistered } from \"./globals\";\nimport { RequestAsyncStorageWrapper } from \"../async-storage/request-async-storage-wrapper\";\nimport { requestAsyncStorage } from \"../../client/components/request-async-storage.external\";\nimport { getTracer } from \"../lib/trace/tracer\";\nimport { MiddlewareSpan } from \"../lib/trace/constants\";\nexport class NextRequestHint extends NextRequest {\n constructor(params){\n super(params.input, params.init);\n this.sourcePage = params.page;\n }\n get request() {\n throw new PageSignatureError({\n page: this.sourcePage\n });\n }\n respondWith() {\n throw new PageSignatureError({\n page: this.sourcePage\n });\n }\n waitUntil() {\n throw new PageSignatureError({\n page: this.sourcePage\n });\n }\n}\nconst headersGetter = {\n keys: (headers)=>Array.from(headers.keys()),\n get: (headers, key)=>headers.get(key) ?? undefined\n};\nlet propagator = (request, fn)=>{\n const tracer = getTracer();\n return tracer.withPropagatedContext(request.headers, fn, headersGetter);\n};\nlet testApisIntercepted = false;\nfunction ensureTestApisIntercepted() {\n if (!testApisIntercepted) {\n testApisIntercepted = true;\n if (process.env.NEXT_PRIVATE_TEST_PROXY === \"true\") {\n const { interceptTestApis, wrapRequestHandler } = require(\"next/dist/experimental/testmode/server-edge\");\n interceptTestApis();\n propagator = wrapRequestHandler(propagator);\n }\n }\n}\nexport async function adapter(params) {\n ensureTestApisIntercepted();\n await ensureInstrumentationRegistered();\n // TODO-APP: use explicit marker for this\n const isEdgeRendering = typeof self.__BUILD_MANIFEST !== \"undefined\";\n const prerenderManifest = typeof self.__PRERENDER_MANIFEST === \"string\" ? JSON.parse(self.__PRERENDER_MANIFEST) : undefined;\n params.request.url = normalizeRscURL(params.request.url);\n const requestUrl = new NextURL(params.request.url, {\n headers: params.request.headers,\n nextConfig: params.request.nextConfig\n });\n // Iterator uses an index to keep track of the current iteration. Because of deleting and appending below we can't just use the iterator.\n // Instead we use the keys before iteration.\n const keys = [\n ...requestUrl.searchParams.keys()\n ];\n for (const key of keys){\n const value = requestUrl.searchParams.getAll(key);\n if (key !== NEXT_QUERY_PARAM_PREFIX && key.startsWith(NEXT_QUERY_PARAM_PREFIX)) {\n const normalizedKey = key.substring(NEXT_QUERY_PARAM_PREFIX.length);\n requestUrl.searchParams.delete(normalizedKey);\n for (const val of value){\n requestUrl.searchParams.append(normalizedKey, val);\n }\n requestUrl.searchParams.delete(key);\n }\n }\n // Ensure users only see page requests, never data requests.\n const buildId = requestUrl.buildId;\n requestUrl.buildId = \"\";\n const isDataReq = params.request.headers[\"x-nextjs-data\"];\n if (isDataReq && requestUrl.pathname === \"/index\") {\n requestUrl.pathname = \"/\";\n }\n const requestHeaders = fromNodeOutgoingHttpHeaders(params.request.headers);\n const flightHeaders = new Map();\n // Parameters should only be stripped for middleware\n if (!isEdgeRendering) {\n for (const param of FLIGHT_PARAMETERS){\n const key = param.toString().toLowerCase();\n const value = requestHeaders.get(key);\n if (value) {\n flightHeaders.set(key, requestHeaders.get(key));\n requestHeaders.delete(key);\n }\n }\n }\n const normalizeUrl = process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? new URL(params.request.url) : requestUrl;\n const request = new NextRequestHint({\n page: params.page,\n // Strip internal query parameters off the request.\n input: stripInternalSearchParams(normalizeUrl, true).toString(),\n init: {\n body: params.request.body,\n geo: params.request.geo,\n headers: requestHeaders,\n ip: params.request.ip,\n method: params.request.method,\n nextConfig: params.request.nextConfig,\n signal: params.request.signal\n }\n });\n /**\n * This allows to identify the request as a data request. The user doesn't\n * need to know about this property neither use it. We add it for testing\n * purposes.\n */ if (isDataReq) {\n Object.defineProperty(request, \"__isData\", {\n enumerable: false,\n value: true\n });\n }\n if (!globalThis.__incrementalCache && params.IncrementalCache) {\n globalThis.__incrementalCache = new params.IncrementalCache({\n appDir: true,\n fetchCache: true,\n minimalMode: process.env.NODE_ENV !== \"development\",\n fetchCacheKeyPrefix: process.env.__NEXT_FETCH_CACHE_KEY_PREFIX,\n dev: process.env.NODE_ENV === \"development\",\n requestHeaders: params.request.headers,\n requestProtocol: \"https\",\n getPrerenderManifest: ()=>{\n return {\n version: -1,\n routes: {},\n dynamicRoutes: {},\n notFoundRoutes: [],\n preview: {\n previewModeId: \"development-id\"\n }\n };\n }\n });\n }\n const event = new NextFetchEvent({\n request,\n page: params.page\n });\n let response;\n let cookiesFromResponse;\n response = await propagator(request, ()=>{\n // we only care to make async storage available for middleware\n const isMiddleware = params.page === \"/middleware\" || params.page === \"/src/middleware\";\n if (isMiddleware) {\n return getTracer().trace(MiddlewareSpan.execute, {\n spanName: `middleware ${request.method} ${request.nextUrl.pathname}`,\n attributes: {\n \"http.target\": request.nextUrl.pathname,\n \"http.method\": request.method\n }\n }, ()=>RequestAsyncStorageWrapper.wrap(requestAsyncStorage, {\n req: request,\n renderOpts: {\n onUpdateCookies: (cookies)=>{\n cookiesFromResponse = cookies;\n },\n // @ts-expect-error: TODO: investigate why previewProps isn't on RenderOpts\n previewProps: (prerenderManifest == null ? void 0 : prerenderManifest.preview) || {\n previewModeId: \"development-id\",\n previewModeEncryptionKey: \"\",\n previewModeSigningKey: \"\"\n }\n }\n }, ()=>params.handler(request, event)));\n }\n return params.handler(request, event);\n });\n // check if response is a Response object\n if (response && !(response instanceof Response)) {\n throw new TypeError(\"Expected an instance of Response to be returned\");\n }\n if (response && cookiesFromResponse) {\n response.headers.set(\"set-cookie\", cookiesFromResponse);\n }\n /**\n * For rewrites we must always include the locale in the final pathname\n * so we re-create the NextURL forcing it to include it when the it is\n * an internal rewrite. Also we make sure the outgoing rewrite URL is\n * a data URL if the request was a data request.\n */ const rewrite = response == null ? void 0 : response.headers.get(\"x-middleware-rewrite\");\n if (response && rewrite && !isEdgeRendering) {\n const rewriteUrl = new NextURL(rewrite, {\n forceLocale: true,\n headers: params.request.headers,\n nextConfig: params.request.nextConfig\n });\n if (!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE) {\n if (rewriteUrl.host === request.nextUrl.host) {\n rewriteUrl.buildId = buildId || rewriteUrl.buildId;\n response.headers.set(\"x-middleware-rewrite\", String(rewriteUrl));\n }\n }\n /**\n * When the request is a data request we must show if there was a rewrite\n * with an internal header so the client knows which component to load\n * from the data request.\n */ const relativizedRewrite = relativizeURL(String(rewriteUrl), String(requestUrl));\n if (isDataReq && // if the rewrite is external and external rewrite\n // resolving config is enabled don't add this header\n // so the upstream app can set it instead\n !(process.env.__NEXT_EXTERNAL_MIDDLEWARE_REWRITE_RESOLVE && relativizedRewrite.match(/http(s)?:\\/\\//))) {\n response.headers.set(\"x-nextjs-rewrite\", relativizedRewrite);\n }\n }\n /**\n * For redirects we will not include the locale in case when it is the\n * default and we must also make sure the outgoing URL is a data one if\n * the incoming request was a data request.\n */ const redirect = response == null ? void 0 : response.headers.get(\"Location\");\n if (response && redirect && !isEdgeRendering) {\n const redirectURL = new NextURL(redirect, {\n forceLocale: false,\n headers: params.request.headers,\n nextConfig: params.request.nextConfig\n });\n /**\n * Responses created from redirects have immutable headers so we have\n * to clone the response to be able to modify it.\n */ response = new Response(response.body, response);\n if (!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE) {\n if (redirectURL.host === request.nextUrl.host) {\n redirectURL.buildId = buildId || redirectURL.buildId;\n response.headers.set(\"Location\", String(redirectURL));\n }\n }\n /**\n * When the request is a data request we can't use the location header as\n * it may end up with CORS error. Instead we map to an internal header so\n * the client knows the destination.\n */ if (isDataReq) {\n response.headers.delete(\"Location\");\n response.headers.set(\"x-nextjs-redirect\", relativizeURL(String(redirectURL), String(requestUrl)));\n }\n }\n const finalResponse = response ? response : NextResponse.next();\n // Flight headers are not overridable / removable so they are applied at the end.\n const middlewareOverrideHeaders = finalResponse.headers.get(\"x-middleware-override-headers\");\n const overwrittenHeaders = [];\n if (middlewareOverrideHeaders) {\n for (const [key, value] of flightHeaders){\n finalResponse.headers.set(`x-middleware-request-${key}`, value);\n overwrittenHeaders.push(key);\n }\n if (overwrittenHeaders.length > 0) {\n finalResponse.headers.set(\"x-middleware-override-headers\", middlewareOverrideHeaders + \",\" + overwrittenHeaders.join(\",\"));\n }\n }\n return {\n response: finalResponse,\n waitUntil: Promise.all(event[waitUntilSymbol]),\n fetchMetrics: request.fetchMetrics\n };\n}\n\n//# sourceMappingURL=adapter.js.map","import parseua from \"next/dist/compiled/ua-parser-js\";\nexport function isBot(input) {\n return /Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(input);\n}\nexport function userAgentFromString(input) {\n return {\n ...parseua(input),\n isBot: input === undefined ? false : isBot(input)\n };\n}\nexport function userAgent({ headers }) {\n return userAgentFromString(headers.get(\"user-agent\") || undefined);\n}\n\n//# sourceMappingURL=user-agent.js.map","const GlobalURLPattern = // @ts-expect-error: URLPattern is not available in Node.js\ntypeof URLPattern === \"undefined\" ? undefined : URLPattern;\nexport { GlobalURLPattern as URLPattern };\n\n//# sourceMappingURL=url-pattern.js.map","// Alias index file of next/server for edge runtime for tree-shaking purpose\nexport { ImageResponse } from \"../spec-extension/image-response\";\nexport { NextRequest } from \"../spec-extension/request\";\nexport { NextResponse } from \"../spec-extension/response\";\nexport { userAgent, userAgentFromString } from \"../spec-extension/user-agent\";\nexport { URLPattern } from \"../spec-extension/url-pattern\";\n\n//# sourceMappingURL=index.js.map","export * from \"../server/web/exports/index\";\n\n//# sourceMappingURL=server.js.map","import { createMiddlewareClient } from '@supabase/auth-helpers-nextjs'\nimport { NextResponse } from 'next/server'\n\nimport type { NextRequest } from 'next/server'\n\nexport async function middleware(req: NextRequest) {\n const res = NextResponse.next()\n\n // Create a Supabase client configured to use cookies\n const supabase = createMiddlewareClient({ req, res })\n\n // Refresh session if expired - required for Server Components\n // https://supabase.com/docs/guides/auth/auth-helpers/nextjs#managing-session-with-middleware\n await supabase.auth.getSession()\n\n return res\n}\n","import \"next/dist/server/web/globals\";\nimport { adapter } from \"next/dist/server/web/adapter\";\n// Import the userland code.\nimport * as _mod from \"private-next-root-dir/middleware.ts\";\nconst mod = {\n ..._mod\n};\nconst handler = mod.middleware || mod.default;\nconst page = \"/middleware\";\nif (typeof handler !== \"function\") {\n throw new Error(`The Middleware \"${page}\" must export a \\`middleware\\` or a \\`default\\` function`);\n}\nexport default function nHandler(opts) {\n return adapter({\n ...opts,\n page,\n handler\n });\n}\n\n//# sourceMappingURL=middleware.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n createBrowserSupabaseClient: () => createBrowserSupabaseClient,\n createClientComponentClient: () => createClientComponentClient,\n createMiddlewareClient: () => createMiddlewareClient,\n createMiddlewareSupabaseClient: () => createMiddlewareSupabaseClient,\n createPagesBrowserClient: () => createPagesBrowserClient,\n createPagesServerClient: () => createPagesServerClient,\n createRouteHandlerClient: () => createRouteHandlerClient,\n createServerActionClient: () => createServerActionClient,\n createServerComponentClient: () => createServerComponentClient,\n createServerSupabaseClient: () => createServerSupabaseClient\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/clientComponentClient.ts\nvar import_auth_helpers_shared = require(\"@supabase/auth-helpers-shared\");\nvar supabase;\nfunction createClientComponentClient({\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions,\n isSingleton = true\n} = {}) {\n if (!supabaseUrl || !supabaseKey) {\n throw new Error(\n \"either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!\"\n );\n }\n const createNewClient = () => {\n var _a;\n return (0, import_auth_helpers_shared.createSupabaseClient)(supabaseUrl, supabaseKey, {\n ...options,\n global: {\n ...options == null ? void 0 : options.global,\n headers: {\n ...(_a = options == null ? void 0 : options.global) == null ? void 0 : _a.headers,\n \"X-Client-Info\": `${\"@supabase/auth-helpers-nextjs\"}@${\"0.7.4\"}`\n }\n },\n auth: {\n storageKey: cookieOptions == null ? void 0 : cookieOptions.name,\n storage: new import_auth_helpers_shared.BrowserCookieAuthStorageAdapter(cookieOptions)\n }\n });\n };\n if (isSingleton) {\n const _supabase = supabase ?? createNewClient();\n if (typeof window === \"undefined\")\n return _supabase;\n if (!supabase)\n supabase = _supabase;\n return supabase;\n }\n return createNewClient();\n}\n\n// src/pagesBrowserClient.ts\nvar createPagesBrowserClient = createClientComponentClient;\n\n// src/pagesServerClient.ts\nvar import_auth_helpers_shared2 = require(\"@supabase/auth-helpers-shared\");\nvar import_set_cookie_parser = require(\"set-cookie-parser\");\nvar NextServerAuthStorageAdapter = class extends import_auth_helpers_shared2.CookieAuthStorageAdapter {\n constructor(context, cookieOptions) {\n super(cookieOptions);\n this.context = context;\n }\n getCookie(name) {\n var _a;\n const setCookie = (0, import_set_cookie_parser.splitCookiesString)(((_a = this.context.res.getHeader(\"set-cookie\")) == null ? void 0 : _a.toString()) ?? \"\").map((c) => (0, import_auth_helpers_shared2.parseCookies)(c)[name]).find((c) => !!c);\n const value = setCookie ?? this.context.req.cookies[name];\n return value;\n }\n setCookie(name, value) {\n this._setCookie(name, value);\n }\n deleteCookie(name) {\n this._setCookie(name, \"\", {\n maxAge: 0\n });\n }\n _setCookie(name, value, options) {\n var _a;\n const setCookies = (0, import_set_cookie_parser.splitCookiesString)(\n ((_a = this.context.res.getHeader(\"set-cookie\")) == null ? void 0 : _a.toString()) ?? \"\"\n ).filter((c) => !(name in (0, import_auth_helpers_shared2.parseCookies)(c)));\n const cookieStr = (0, import_auth_helpers_shared2.serializeCookie)(name, value, {\n ...this.cookieOptions,\n ...options,\n httpOnly: false\n });\n this.context.res.setHeader(\"set-cookie\", [...setCookies, cookieStr]);\n }\n};\nfunction createPagesServerClient(context, {\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n var _a;\n if (!supabaseUrl || !supabaseKey) {\n throw new Error(\n \"either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!\"\n );\n }\n return (0, import_auth_helpers_shared2.createSupabaseClient)(supabaseUrl, supabaseKey, {\n ...options,\n global: {\n ...options == null ? void 0 : options.global,\n headers: {\n ...(_a = options == null ? void 0 : options.global) == null ? void 0 : _a.headers,\n \"X-Client-Info\": `${\"@supabase/auth-helpers-nextjs\"}@${\"0.7.4\"}`\n }\n },\n auth: {\n storageKey: cookieOptions == null ? void 0 : cookieOptions.name,\n storage: new NextServerAuthStorageAdapter(context, cookieOptions)\n }\n });\n}\n\n// src/middlewareClient.ts\nvar import_auth_helpers_shared3 = require(\"@supabase/auth-helpers-shared\");\nvar import_set_cookie_parser2 = require(\"set-cookie-parser\");\nvar NextMiddlewareAuthStorageAdapter = class extends import_auth_helpers_shared3.CookieAuthStorageAdapter {\n constructor(context, cookieOptions) {\n super(cookieOptions);\n this.context = context;\n }\n getCookie(name) {\n var _a;\n const setCookie = (0, import_set_cookie_parser2.splitCookiesString)(\n ((_a = this.context.res.headers.get(\"set-cookie\")) == null ? void 0 : _a.toString()) ?? \"\"\n ).map((c) => (0, import_auth_helpers_shared3.parseCookies)(c)[name]).find((c) => !!c);\n if (setCookie) {\n return setCookie;\n }\n const cookies = (0, import_auth_helpers_shared3.parseCookies)(this.context.req.headers.get(\"cookie\") ?? \"\");\n return cookies[name];\n }\n setCookie(name, value) {\n this._setCookie(name, value);\n }\n deleteCookie(name) {\n this._setCookie(name, \"\", {\n maxAge: 0\n });\n }\n _setCookie(name, value, options) {\n const newSessionStr = (0, import_auth_helpers_shared3.serializeCookie)(name, value, {\n ...this.cookieOptions,\n ...options,\n httpOnly: false\n });\n if (this.context.res.headers) {\n this.context.res.headers.append(\"set-cookie\", newSessionStr);\n this.context.res.headers.append(\"cookie\", newSessionStr);\n }\n }\n};\nfunction createMiddlewareClient(context, {\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n var _a;\n if (!supabaseUrl || !supabaseKey) {\n throw new Error(\n \"either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!\"\n );\n }\n return (0, import_auth_helpers_shared3.createSupabaseClient)(supabaseUrl, supabaseKey, {\n ...options,\n global: {\n ...options == null ? void 0 : options.global,\n headers: {\n ...(_a = options == null ? void 0 : options.global) == null ? void 0 : _a.headers,\n \"X-Client-Info\": `${\"@supabase/auth-helpers-nextjs\"}@${\"0.7.4\"}`\n }\n },\n auth: {\n storageKey: cookieOptions == null ? void 0 : cookieOptions.name,\n storage: new NextMiddlewareAuthStorageAdapter(context, cookieOptions)\n }\n });\n}\n\n// src/serverComponentClient.ts\nvar import_auth_helpers_shared4 = require(\"@supabase/auth-helpers-shared\");\nvar NextServerComponentAuthStorageAdapter = class extends import_auth_helpers_shared4.CookieAuthStorageAdapter {\n constructor(context, cookieOptions) {\n super(cookieOptions);\n this.context = context;\n }\n getCookie(name) {\n var _a;\n const nextCookies = this.context.cookies();\n return (_a = nextCookies.get(name)) == null ? void 0 : _a.value;\n }\n setCookie(name, value) {\n }\n deleteCookie(name) {\n }\n};\nfunction createServerComponentClient(context, {\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n var _a;\n if (!supabaseUrl || !supabaseKey) {\n throw new Error(\n \"either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!\"\n );\n }\n return (0, import_auth_helpers_shared4.createSupabaseClient)(supabaseUrl, supabaseKey, {\n ...options,\n global: {\n ...options == null ? void 0 : options.global,\n headers: {\n ...(_a = options == null ? void 0 : options.global) == null ? void 0 : _a.headers,\n \"X-Client-Info\": `${\"@supabase/auth-helpers-nextjs\"}@${\"0.7.4\"}`\n }\n },\n auth: {\n storageKey: cookieOptions == null ? void 0 : cookieOptions.name,\n storage: new NextServerComponentAuthStorageAdapter(context, cookieOptions)\n }\n });\n}\n\n// src/routeHandlerClient.ts\nvar import_auth_helpers_shared5 = require(\"@supabase/auth-helpers-shared\");\nvar NextRouteHandlerAuthStorageAdapter = class extends import_auth_helpers_shared5.CookieAuthStorageAdapter {\n constructor(context, cookieOptions) {\n super(cookieOptions);\n this.context = context;\n }\n getCookie(name) {\n var _a;\n const nextCookies = this.context.cookies();\n return (_a = nextCookies.get(name)) == null ? void 0 : _a.value;\n }\n setCookie(name, value) {\n const nextCookies = this.context.cookies();\n nextCookies.set(name, value, this.cookieOptions);\n }\n deleteCookie(name) {\n const nextCookies = this.context.cookies();\n nextCookies.set(name, \"\", {\n maxAge: 0\n });\n }\n};\nfunction createRouteHandlerClient(context, {\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n var _a;\n if (!supabaseUrl || !supabaseKey) {\n throw new Error(\n \"either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!\"\n );\n }\n return (0, import_auth_helpers_shared5.createSupabaseClient)(supabaseUrl, supabaseKey, {\n ...options,\n global: {\n ...options == null ? void 0 : options.global,\n headers: {\n ...(_a = options == null ? void 0 : options.global) == null ? void 0 : _a.headers,\n \"X-Client-Info\": `${\"@supabase/auth-helpers-nextjs\"}@${\"0.7.4\"}`\n }\n },\n auth: {\n storageKey: cookieOptions == null ? void 0 : cookieOptions.name,\n storage: new NextRouteHandlerAuthStorageAdapter(context, cookieOptions)\n }\n });\n}\n\n// src/serverActionClient.ts\nvar createServerActionClient = createRouteHandlerClient;\n\n// src/deprecated.ts\nfunction createBrowserSupabaseClient({\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n console.warn(\n \"Please utilize the `createPagesBrowserClient` function instead of the deprecated `createBrowserSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages\"\n );\n return createPagesBrowserClient({\n supabaseUrl,\n supabaseKey,\n options,\n cookieOptions\n });\n}\nfunction createServerSupabaseClient(context, {\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n console.warn(\n \"Please utilize the `createPagesServerClient` function instead of the deprecated `createServerSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages\"\n );\n return createPagesServerClient(context, {\n supabaseUrl,\n supabaseKey,\n options,\n cookieOptions\n });\n}\nfunction createMiddlewareSupabaseClient(context, {\n supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL,\n supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,\n options,\n cookieOptions\n} = {}) {\n console.warn(\n \"Please utilize the `createMiddlewareClient` function instead of the deprecated `createMiddlewareSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#middleware\"\n );\n return createMiddlewareClient(context, {\n supabaseUrl,\n supabaseKey,\n options,\n cookieOptions\n });\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n createBrowserSupabaseClient,\n createClientComponentClient,\n createMiddlewareClient,\n createMiddlewareSupabaseClient,\n createPagesBrowserClient,\n createPagesServerClient,\n createRouteHandlerClient,\n createServerActionClient,\n createServerComponentClient,\n createServerSupabaseClient\n});\n//# sourceMappingURL=index.js.map","\"use strict\";\n\n// ref: https://github.com/tc39/proposal-global\nvar getGlobal = function() {\n // the only reliable means to get the global object is\n // `Function('return this')()`\n // However, this causes CSP violations in Chrome apps.\n if (typeof self !== 'undefined') { return self; }\n if (typeof window !== 'undefined') { return window; }\n if (typeof global !== 'undefined') { return global; }\n throw new Error('unable to locate global object');\n}\n\nvar globalObject = getGlobal();\n\nexport const fetch = globalObject.fetch;\n\nexport default globalObject.fetch.bind(globalObject);\n\nexport const Headers = globalObject.Headers;\nexport const Request = globalObject.Request;\nexport const Response = globalObject.Response;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @ts-ignore\nconst node_fetch_1 = __importDefault(require(\"@supabase/node-fetch\"));\nconst PostgrestError_1 = __importDefault(require(\"./PostgrestError\"));\nclass PostgrestBuilder {\n constructor(builder) {\n this.shouldThrowOnError = false;\n this.method = builder.method;\n this.url = builder.url;\n this.headers = builder.headers;\n this.schema = builder.schema;\n this.body = builder.body;\n this.shouldThrowOnError = builder.shouldThrowOnError;\n this.signal = builder.signal;\n this.isMaybeSingle = builder.isMaybeSingle;\n if (builder.fetch) {\n this.fetch = builder.fetch;\n }\n else if (typeof fetch === 'undefined') {\n this.fetch = node_fetch_1.default;\n }\n else {\n this.fetch = fetch;\n }\n }\n /**\n * If there's an error with the query, throwOnError will reject the promise by\n * throwing the error instead of returning it as part of a successful response.\n *\n * {@link https://github.com/supabase/supabase-js/issues/92}\n */\n throwOnError() {\n this.shouldThrowOnError = true;\n return this;\n }\n then(onfulfilled, onrejected) {\n // https://postgrest.org/en/stable/api.html#switching-schemas\n if (this.schema === undefined) {\n // skip\n }\n else if (['GET', 'HEAD'].includes(this.method)) {\n this.headers['Accept-Profile'] = this.schema;\n }\n else {\n this.headers['Content-Profile'] = this.schema;\n }\n if (this.method !== 'GET' && this.method !== 'HEAD') {\n this.headers['Content-Type'] = 'application/json';\n }\n // NOTE: Invoke w/o `this` to avoid illegal invocation error.\n // https://github.com/supabase/postgrest-js/pull/247\n const _fetch = this.fetch;\n let res = _fetch(this.url.toString(), {\n method: this.method,\n headers: this.headers,\n body: JSON.stringify(this.body),\n signal: this.signal,\n }).then(async (res) => {\n var _a, _b, _c;\n let error = null;\n let data = null;\n let count = null;\n let status = res.status;\n let statusText = res.statusText;\n if (res.ok) {\n if (this.method !== 'HEAD') {\n const body = await res.text();\n if (body === '') {\n // Prefer: return=minimal\n }\n else if (this.headers['Accept'] === 'text/csv') {\n data = body;\n }\n else if (this.headers['Accept'] &&\n this.headers['Accept'].includes('application/vnd.pgrst.plan+text')) {\n data = body;\n }\n else {\n data = JSON.parse(body);\n }\n }\n const countHeader = (_a = this.headers['Prefer']) === null || _a === void 0 ? void 0 : _a.match(/count=(exact|planned|estimated)/);\n const contentRange = (_b = res.headers.get('content-range')) === null || _b === void 0 ? void 0 : _b.split('/');\n if (countHeader && contentRange && contentRange.length > 1) {\n count = parseInt(contentRange[1]);\n }\n // Temporary partial fix for https://github.com/supabase/postgrest-js/issues/361\n // Issue persists e.g. for `.insert([...]).select().maybeSingle()`\n if (this.isMaybeSingle && this.method === 'GET' && Array.isArray(data)) {\n if (data.length > 1) {\n error = {\n // https://github.com/PostgREST/postgrest/blob/a867d79c42419af16c18c3fb019eba8df992626f/src/PostgREST/Error.hs#L553\n code: 'PGRST116',\n details: `Results contain ${data.length} rows, application/vnd.pgrst.object+json requires 1 row`,\n hint: null,\n message: 'JSON object requested, multiple (or no) rows returned',\n };\n data = null;\n count = null;\n status = 406;\n statusText = 'Not Acceptable';\n }\n else if (data.length === 1) {\n data = data[0];\n }\n else {\n data = null;\n }\n }\n }\n else {\n const body = await res.text();\n try {\n error = JSON.parse(body);\n // Workaround for https://github.com/supabase/postgrest-js/issues/295\n if (Array.isArray(error) && res.status === 404) {\n data = [];\n error = null;\n status = 200;\n statusText = 'OK';\n }\n }\n catch (_d) {\n // Workaround for https://github.com/supabase/postgrest-js/issues/295\n if (res.status === 404 && body === '') {\n status = 204;\n statusText = 'No Content';\n }\n else {\n error = {\n message: body,\n };\n }\n }\n if (error && this.isMaybeSingle && ((_c = error === null || error === void 0 ? void 0 : error.details) === null || _c === void 0 ? void 0 : _c.includes('0 rows'))) {\n error = null;\n status = 200;\n statusText = 'OK';\n }\n if (error && this.shouldThrowOnError) {\n throw new PostgrestError_1.default(error);\n }\n }\n const postgrestResponse = {\n error,\n data,\n count,\n status,\n statusText,\n };\n return postgrestResponse;\n });\n if (!this.shouldThrowOnError) {\n res = res.catch((fetchError) => {\n var _a, _b, _c;\n return ({\n error: {\n message: `${(_a = fetchError === null || fetchError === void 0 ? void 0 : fetchError.name) !== null && _a !== void 0 ? _a : 'FetchError'}: ${fetchError === null || fetchError === void 0 ? void 0 : fetchError.message}`,\n details: `${(_b = fetchError === null || fetchError === void 0 ? void 0 : fetchError.stack) !== null && _b !== void 0 ? _b : ''}`,\n hint: '',\n code: `${(_c = fetchError === null || fetchError === void 0 ? void 0 : fetchError.code) !== null && _c !== void 0 ? _c : ''}`,\n },\n data: null,\n count: null,\n status: 0,\n statusText: '',\n });\n });\n }\n return res.then(onfulfilled, onrejected);\n }\n}\nexports.default = PostgrestBuilder;\n//# sourceMappingURL=PostgrestBuilder.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst PostgrestQueryBuilder_1 = __importDefault(require(\"./PostgrestQueryBuilder\"));\nconst PostgrestFilterBuilder_1 = __importDefault(require(\"./PostgrestFilterBuilder\"));\nconst constants_1 = require(\"./constants\");\n/**\n * PostgREST client.\n *\n * @typeParam Database - Types for the schema from the [type\n * generator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n *\n * @typeParam SchemaName - Postgres schema to switch to. Must be a string\n * literal, the same one passed to the constructor. If the schema is not\n * `\"public\"`, this must be supplied manually.\n */\nclass PostgrestClient {\n // TODO: Add back shouldThrowOnError once we figure out the typings\n /**\n * Creates a PostgREST client.\n *\n * @param url - URL of the PostgREST endpoint\n * @param options - Named parameters\n * @param options.headers - Custom headers\n * @param options.schema - Postgres schema to switch to\n * @param options.fetch - Custom fetch\n */\n constructor(url, { headers = {}, schema, fetch, } = {}) {\n this.url = url;\n this.headers = Object.assign(Object.assign({}, constants_1.DEFAULT_HEADERS), headers);\n this.schemaName = schema;\n this.fetch = fetch;\n }\n /**\n * Perform a query on a table or a view.\n *\n * @param relation - The table or view name to query\n */\n from(relation) {\n const url = new URL(`${this.url}/${relation}`);\n return new PostgrestQueryBuilder_1.default(url, {\n headers: Object.assign({}, this.headers),\n schema: this.schemaName,\n fetch: this.fetch,\n });\n }\n /**\n * Select a schema to query or perform an function (rpc) call.\n *\n * The schema needs to be on the list of exposed schemas inside Supabase.\n *\n * @param schema - The schema to query\n */\n schema(schema) {\n return new PostgrestClient(this.url, {\n headers: this.headers,\n schema,\n fetch: this.fetch,\n });\n }\n /**\n * Perform a function call.\n *\n * @param fn - The function name to call\n * @param args - The arguments to pass to the function call\n * @param options - Named parameters\n * @param options.head - When set to `true`, `data` will not be returned.\n * Useful if you only need the count.\n * @param options.get - When set to `true`, the function will be called with\n * read-only access mode.\n * @param options.count - Count algorithm to use to count rows returned by the\n * function. Only applicable for [set-returning\n * functions](https://www.postgresql.org/docs/current/functions-srf.html).\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n */\n rpc(fn, args = {}, { head = false, get = false, count, } = {}) {\n let method;\n const url = new URL(`${this.url}/rpc/${fn}`);\n let body;\n if (head || get) {\n method = head ? 'HEAD' : 'GET';\n Object.entries(args)\n // params with undefined value needs to be filtered out, otherwise it'll\n // show up as `?param=undefined`\n .filter(([_, value]) => value !== undefined)\n // array values need special syntax\n .map(([name, value]) => [name, Array.isArray(value) ? `{${value.join(',')}}` : `${value}`])\n .forEach(([name, value]) => {\n url.searchParams.append(name, value);\n });\n }\n else {\n method = 'POST';\n body = args;\n }\n const headers = Object.assign({}, this.headers);\n if (count) {\n headers['Prefer'] = `count=${count}`;\n }\n return new PostgrestFilterBuilder_1.default({\n method,\n url,\n headers,\n schema: this.schemaName,\n body,\n fetch: this.fetch,\n allowEmpty: false,\n });\n }\n}\nexports.default = PostgrestClient;\n//# sourceMappingURL=PostgrestClient.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass PostgrestError extends Error {\n constructor(context) {\n super(context.message);\n this.name = 'PostgrestError';\n this.details = context.details;\n this.hint = context.hint;\n this.code = context.code;\n }\n}\nexports.default = PostgrestError;\n//# sourceMappingURL=PostgrestError.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst PostgrestTransformBuilder_1 = __importDefault(require(\"./PostgrestTransformBuilder\"));\nclass PostgrestFilterBuilder extends PostgrestTransformBuilder_1.default {\n /**\n * Match only rows where `column` is equal to `value`.\n *\n * To check if the value of `column` is NULL, you should use `.is()` instead.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n eq(column, value) {\n this.url.searchParams.append(column, `eq.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` is not equal to `value`.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n neq(column, value) {\n this.url.searchParams.append(column, `neq.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` is greater than `value`.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n gt(column, value) {\n this.url.searchParams.append(column, `gt.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` is greater than or equal to `value`.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n gte(column, value) {\n this.url.searchParams.append(column, `gte.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` is less than `value`.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n lt(column, value) {\n this.url.searchParams.append(column, `lt.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` is less than or equal to `value`.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n lte(column, value) {\n this.url.searchParams.append(column, `lte.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` matches `pattern` case-sensitively.\n *\n * @param column - The column to filter on\n * @param pattern - The pattern to match with\n */\n like(column, pattern) {\n this.url.searchParams.append(column, `like.${pattern}`);\n return this;\n }\n /**\n * Match only rows where `column` matches all of `patterns` case-sensitively.\n *\n * @param column - The column to filter on\n * @param patterns - The patterns to match with\n */\n likeAllOf(column, patterns) {\n this.url.searchParams.append(column, `like(all).{${patterns.join(',')}}`);\n return this;\n }\n /**\n * Match only rows where `column` matches any of `patterns` case-sensitively.\n *\n * @param column - The column to filter on\n * @param patterns - The patterns to match with\n */\n likeAnyOf(column, patterns) {\n this.url.searchParams.append(column, `like(any).{${patterns.join(',')}}`);\n return this;\n }\n /**\n * Match only rows where `column` matches `pattern` case-insensitively.\n *\n * @param column - The column to filter on\n * @param pattern - The pattern to match with\n */\n ilike(column, pattern) {\n this.url.searchParams.append(column, `ilike.${pattern}`);\n return this;\n }\n /**\n * Match only rows where `column` matches all of `patterns` case-insensitively.\n *\n * @param column - The column to filter on\n * @param patterns - The patterns to match with\n */\n ilikeAllOf(column, patterns) {\n this.url.searchParams.append(column, `ilike(all).{${patterns.join(',')}}`);\n return this;\n }\n /**\n * Match only rows where `column` matches any of `patterns` case-insensitively.\n *\n * @param column - The column to filter on\n * @param patterns - The patterns to match with\n */\n ilikeAnyOf(column, patterns) {\n this.url.searchParams.append(column, `ilike(any).{${patterns.join(',')}}`);\n return this;\n }\n /**\n * Match only rows where `column` IS `value`.\n *\n * For non-boolean columns, this is only relevant for checking if the value of\n * `column` is NULL by setting `value` to `null`.\n *\n * For boolean columns, you can also set `value` to `true` or `false` and it\n * will behave the same way as `.eq()`.\n *\n * @param column - The column to filter on\n * @param value - The value to filter with\n */\n is(column, value) {\n this.url.searchParams.append(column, `is.${value}`);\n return this;\n }\n /**\n * Match only rows where `column` is included in the `values` array.\n *\n * @param column - The column to filter on\n * @param values - The values array to filter with\n */\n in(column, values) {\n const cleanedValues = Array.from(new Set(values))\n .map((s) => {\n // handle postgrest reserved characters\n // https://postgrest.org/en/v7.0.0/api.html#reserved-characters\n if (typeof s === 'string' && new RegExp('[,()]').test(s))\n return `\"${s}\"`;\n else\n return `${s}`;\n })\n .join(',');\n this.url.searchParams.append(column, `in.(${cleanedValues})`);\n return this;\n }\n /**\n * Only relevant for jsonb, array, and range columns. Match only rows where\n * `column` contains every element appearing in `value`.\n *\n * @param column - The jsonb, array, or range column to filter on\n * @param value - The jsonb, array, or range value to filter with\n */\n contains(column, value) {\n if (typeof value === 'string') {\n // range types can be inclusive '[', ']' or exclusive '(', ')' so just\n // keep it simple and accept a string\n this.url.searchParams.append(column, `cs.${value}`);\n }\n else if (Array.isArray(value)) {\n // array\n this.url.searchParams.append(column, `cs.{${value.join(',')}}`);\n }\n else {\n // json\n this.url.searchParams.append(column, `cs.${JSON.stringify(value)}`);\n }\n return this;\n }\n /**\n * Only relevant for jsonb, array, and range columns. Match only rows where\n * every element appearing in `column` is contained by `value`.\n *\n * @param column - The jsonb, array, or range column to filter on\n * @param value - The jsonb, array, or range value to filter with\n */\n containedBy(column, value) {\n if (typeof value === 'string') {\n // range\n this.url.searchParams.append(column, `cd.${value}`);\n }\n else if (Array.isArray(value)) {\n // array\n this.url.searchParams.append(column, `cd.{${value.join(',')}}`);\n }\n else {\n // json\n this.url.searchParams.append(column, `cd.${JSON.stringify(value)}`);\n }\n return this;\n }\n /**\n * Only relevant for range columns. Match only rows where every element in\n * `column` is greater than any element in `range`.\n *\n * @param column - The range column to filter on\n * @param range - The range to filter with\n */\n rangeGt(column, range) {\n this.url.searchParams.append(column, `sr.${range}`);\n return this;\n }\n /**\n * Only relevant for range columns. Match only rows where every element in\n * `column` is either contained in `range` or greater than any element in\n * `range`.\n *\n * @param column - The range column to filter on\n * @param range - The range to filter with\n */\n rangeGte(column, range) {\n this.url.searchParams.append(column, `nxl.${range}`);\n return this;\n }\n /**\n * Only relevant for range columns. Match only rows where every element in\n * `column` is less than any element in `range`.\n *\n * @param column - The range column to filter on\n * @param range - The range to filter with\n */\n rangeLt(column, range) {\n this.url.searchParams.append(column, `sl.${range}`);\n return this;\n }\n /**\n * Only relevant for range columns. Match only rows where every element in\n * `column` is either contained in `range` or less than any element in\n * `range`.\n *\n * @param column - The range column to filter on\n * @param range - The range to filter with\n */\n rangeLte(column, range) {\n this.url.searchParams.append(column, `nxr.${range}`);\n return this;\n }\n /**\n * Only relevant for range columns. Match only rows where `column` is\n * mutually exclusive to `range` and there can be no element between the two\n * ranges.\n *\n * @param column - The range column to filter on\n * @param range - The range to filter with\n */\n rangeAdjacent(column, range) {\n this.url.searchParams.append(column, `adj.${range}`);\n return this;\n }\n /**\n * Only relevant for array and range columns. Match only rows where\n * `column` and `value` have an element in common.\n *\n * @param column - The array or range column to filter on\n * @param value - The array or range value to filter with\n */\n overlaps(column, value) {\n if (typeof value === 'string') {\n // range\n this.url.searchParams.append(column, `ov.${value}`);\n }\n else {\n // array\n this.url.searchParams.append(column, `ov.{${value.join(',')}}`);\n }\n return this;\n }\n /**\n * Only relevant for text and tsvector columns. Match only rows where\n * `column` matches the query string in `query`.\n *\n * @param column - The text or tsvector column to filter on\n * @param query - The query text to match with\n * @param options - Named parameters\n * @param options.config - The text search configuration to use\n * @param options.type - Change how the `query` text is interpreted\n */\n textSearch(column, query, { config, type } = {}) {\n let typePart = '';\n if (type === 'plain') {\n typePart = 'pl';\n }\n else if (type === 'phrase') {\n typePart = 'ph';\n }\n else if (type === 'websearch') {\n typePart = 'w';\n }\n const configPart = config === undefined ? '' : `(${config})`;\n this.url.searchParams.append(column, `${typePart}fts${configPart}.${query}`);\n return this;\n }\n /**\n * Match only rows where each column in `query` keys is equal to its\n * associated value. Shorthand for multiple `.eq()`s.\n *\n * @param query - The object to filter with, with column names as keys mapped\n * to their filter values\n */\n match(query) {\n Object.entries(query).forEach(([column, value]) => {\n this.url.searchParams.append(column, `eq.${value}`);\n });\n return this;\n }\n /**\n * Match only rows which doesn't satisfy the filter.\n *\n * Unlike most filters, `opearator` and `value` are used as-is and need to\n * follow [PostgREST\n * syntax](https://postgrest.org/en/stable/api.html#operators). You also need\n * to make sure they are properly sanitized.\n *\n * @param column - The column to filter on\n * @param operator - The operator to be negated to filter with, following\n * PostgREST syntax\n * @param value - The value to filter with, following PostgREST syntax\n */\n not(column, operator, value) {\n this.url.searchParams.append(column, `not.${operator}.${value}`);\n return this;\n }\n /**\n * Match only rows which satisfy at least one of the filters.\n *\n * Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\n * syntax](https://postgrest.org/en/stable/api.html#operators). You also need\n * to make sure it's properly sanitized.\n *\n * It's currently not possible to do an `.or()` filter across multiple tables.\n *\n * @param filters - The filters to use, following PostgREST syntax\n * @param options - Named parameters\n * @param options.referencedTable - Set this to filter on referenced tables\n * instead of the parent table\n * @param options.foreignTable - Deprecated, use `referencedTable` instead\n */\n or(filters, { foreignTable, referencedTable = foreignTable, } = {}) {\n const key = referencedTable ? `${referencedTable}.or` : 'or';\n this.url.searchParams.append(key, `(${filters})`);\n return this;\n }\n /**\n * Match only rows which satisfy the filter. This is an escape hatch - you\n * should use the specific filter methods wherever possible.\n *\n * Unlike most filters, `opearator` and `value` are used as-is and need to\n * follow [PostgREST\n * syntax](https://postgrest.org/en/stable/api.html#operators). You also need\n * to make sure they are properly sanitized.\n *\n * @param column - The column to filter on\n * @param operator - The operator to filter with, following PostgREST syntax\n * @param value - The value to filter with, following PostgREST syntax\n */\n filter(column, operator, value) {\n this.url.searchParams.append(column, `${operator}.${value}`);\n return this;\n }\n}\nexports.default = PostgrestFilterBuilder;\n//# sourceMappingURL=PostgrestFilterBuilder.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst PostgrestFilterBuilder_1 = __importDefault(require(\"./PostgrestFilterBuilder\"));\nclass PostgrestQueryBuilder {\n constructor(url, { headers = {}, schema, fetch, }) {\n this.url = url;\n this.headers = headers;\n this.schema = schema;\n this.fetch = fetch;\n }\n /**\n * Perform a SELECT query on the table or view.\n *\n * @param columns - The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n *\n * @param options - Named parameters\n *\n * @param options.head - When set to `true`, `data` will not be returned.\n * Useful if you only need the count.\n *\n * @param options.count - Count algorithm to use to count rows in the table or view.\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n */\n select(columns, { head = false, count, } = {}) {\n const method = head ? 'HEAD' : 'GET';\n // Remove whitespaces except when quoted\n let quoted = false;\n const cleanedColumns = (columns !== null && columns !== void 0 ? columns : '*')\n .split('')\n .map((c) => {\n if (/\\s/.test(c) && !quoted) {\n return '';\n }\n if (c === '\"') {\n quoted = !quoted;\n }\n return c;\n })\n .join('');\n this.url.searchParams.set('select', cleanedColumns);\n if (count) {\n this.headers['Prefer'] = `count=${count}`;\n }\n return new PostgrestFilterBuilder_1.default({\n method,\n url: this.url,\n headers: this.headers,\n schema: this.schema,\n fetch: this.fetch,\n allowEmpty: false,\n });\n }\n /**\n * Perform an INSERT into the table or view.\n *\n * By default, inserted rows are not returned. To return it, chain the call\n * with `.select()`.\n *\n * @param values - The values to insert. Pass an object to insert a single row\n * or an array to insert multiple rows.\n *\n * @param options - Named parameters\n *\n * @param options.count - Count algorithm to use to count inserted rows.\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n *\n * @param options.defaultToNull - Make missing fields default to `null`.\n * Otherwise, use the default value for the column. Only applies for bulk\n * inserts.\n */\n insert(values, { count, defaultToNull = true, } = {}) {\n const method = 'POST';\n const prefersHeaders = [];\n if (this.headers['Prefer']) {\n prefersHeaders.push(this.headers['Prefer']);\n }\n if (count) {\n prefersHeaders.push(`count=${count}`);\n }\n if (!defaultToNull) {\n prefersHeaders.push('missing=default');\n }\n this.headers['Prefer'] = prefersHeaders.join(',');\n if (Array.isArray(values)) {\n const columns = values.reduce((acc, x) => acc.concat(Object.keys(x)), []);\n if (columns.length > 0) {\n const uniqueColumns = [...new Set(columns)].map((column) => `\"${column}\"`);\n this.url.searchParams.set('columns', uniqueColumns.join(','));\n }\n }\n return new PostgrestFilterBuilder_1.default({\n method,\n url: this.url,\n headers: this.headers,\n schema: this.schema,\n body: values,\n fetch: this.fetch,\n allowEmpty: false,\n });\n }\n /**\n * Perform an UPSERT on the table or view. Depending on the column(s) passed\n * to `onConflict`, `.upsert()` allows you to perform the equivalent of\n * `.insert()` if a row with the corresponding `onConflict` columns doesn't\n * exist, or if it does exist, perform an alternative action depending on\n * `ignoreDuplicates`.\n *\n * By default, upserted rows are not returned. To return it, chain the call\n * with `.select()`.\n *\n * @param values - The values to upsert with. Pass an object to upsert a\n * single row or an array to upsert multiple rows.\n *\n * @param options - Named parameters\n *\n * @param options.onConflict - Comma-separated UNIQUE column(s) to specify how\n * duplicate rows are determined. Two rows are duplicates if all the\n * `onConflict` columns are equal.\n *\n * @param options.ignoreDuplicates - If `true`, duplicate rows are ignored. If\n * `false`, duplicate rows are merged with existing rows.\n *\n * @param options.count - Count algorithm to use to count upserted rows.\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n *\n * @param options.defaultToNull - Make missing fields default to `null`.\n * Otherwise, use the default value for the column. This only applies when\n * inserting new rows, not when merging with existing rows under\n * `ignoreDuplicates: false`. This also only applies when doing bulk upserts.\n */\n upsert(values, { onConflict, ignoreDuplicates = false, count, defaultToNull = true, } = {}) {\n const method = 'POST';\n const prefersHeaders = [`resolution=${ignoreDuplicates ? 'ignore' : 'merge'}-duplicates`];\n if (onConflict !== undefined)\n this.url.searchParams.set('on_conflict', onConflict);\n if (this.headers['Prefer']) {\n prefersHeaders.push(this.headers['Prefer']);\n }\n if (count) {\n prefersHeaders.push(`count=${count}`);\n }\n if (!defaultToNull) {\n prefersHeaders.push('missing=default');\n }\n this.headers['Prefer'] = prefersHeaders.join(',');\n if (Array.isArray(values)) {\n const columns = values.reduce((acc, x) => acc.concat(Object.keys(x)), []);\n if (columns.length > 0) {\n const uniqueColumns = [...new Set(columns)].map((column) => `\"${column}\"`);\n this.url.searchParams.set('columns', uniqueColumns.join(','));\n }\n }\n return new PostgrestFilterBuilder_1.default({\n method,\n url: this.url,\n headers: this.headers,\n schema: this.schema,\n body: values,\n fetch: this.fetch,\n allowEmpty: false,\n });\n }\n /**\n * Perform an UPDATE on the table or view.\n *\n * By default, updated rows are not returned. To return it, chain the call\n * with `.select()` after filters.\n *\n * @param values - The values to update with\n *\n * @param options - Named parameters\n *\n * @param options.count - Count algorithm to use to count updated rows.\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n */\n update(values, { count, } = {}) {\n const method = 'PATCH';\n const prefersHeaders = [];\n if (this.headers['Prefer']) {\n prefersHeaders.push(this.headers['Prefer']);\n }\n if (count) {\n prefersHeaders.push(`count=${count}`);\n }\n this.headers['Prefer'] = prefersHeaders.join(',');\n return new PostgrestFilterBuilder_1.default({\n method,\n url: this.url,\n headers: this.headers,\n schema: this.schema,\n body: values,\n fetch: this.fetch,\n allowEmpty: false,\n });\n }\n /**\n * Perform a DELETE on the table or view.\n *\n * By default, deleted rows are not returned. To return it, chain the call\n * with `.select()` after filters.\n *\n * @param options - Named parameters\n *\n * @param options.count - Count algorithm to use to count deleted rows.\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n */\n delete({ count, } = {}) {\n const method = 'DELETE';\n const prefersHeaders = [];\n if (count) {\n prefersHeaders.push(`count=${count}`);\n }\n if (this.headers['Prefer']) {\n prefersHeaders.unshift(this.headers['Prefer']);\n }\n this.headers['Prefer'] = prefersHeaders.join(',');\n return new PostgrestFilterBuilder_1.default({\n method,\n url: this.url,\n headers: this.headers,\n schema: this.schema,\n fetch: this.fetch,\n allowEmpty: false,\n });\n }\n}\nexports.default = PostgrestQueryBuilder;\n//# sourceMappingURL=PostgrestQueryBuilder.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst PostgrestBuilder_1 = __importDefault(require(\"./PostgrestBuilder\"));\nclass PostgrestTransformBuilder extends PostgrestBuilder_1.default {\n /**\n * Perform a SELECT on the query result.\n *\n * By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\n * return modified rows. By calling this method, modified rows are returned in\n * `data`.\n *\n * @param columns - The columns to retrieve, separated by commas\n */\n select(columns) {\n // Remove whitespaces except when quoted\n let quoted = false;\n const cleanedColumns = (columns !== null && columns !== void 0 ? columns : '*')\n .split('')\n .map((c) => {\n if (/\\s/.test(c) && !quoted) {\n return '';\n }\n if (c === '\"') {\n quoted = !quoted;\n }\n return c;\n })\n .join('');\n this.url.searchParams.set('select', cleanedColumns);\n if (this.headers['Prefer']) {\n this.headers['Prefer'] += ',';\n }\n this.headers['Prefer'] += 'return=representation';\n return this;\n }\n /**\n * Order the query result by `column`.\n *\n * You can call this method multiple times to order by multiple columns.\n *\n * You can order referenced tables, but it only affects the ordering of the\n * parent table if you use `!inner` in the query.\n *\n * @param column - The column to order by\n * @param options - Named parameters\n * @param options.ascending - If `true`, the result will be in ascending order\n * @param options.nullsFirst - If `true`, `null`s appear first. If `false`,\n * `null`s appear last.\n * @param options.referencedTable - Set this to order a referenced table by\n * its columns\n * @param options.foreignTable - Deprecated, use `options.referencedTable`\n * instead\n */\n order(column, { ascending = true, nullsFirst, foreignTable, referencedTable = foreignTable, } = {}) {\n const key = referencedTable ? `${referencedTable}.order` : 'order';\n const existingOrder = this.url.searchParams.get(key);\n this.url.searchParams.set(key, `${existingOrder ? `${existingOrder},` : ''}${column}.${ascending ? 'asc' : 'desc'}${nullsFirst === undefined ? '' : nullsFirst ? '.nullsfirst' : '.nullslast'}`);\n return this;\n }\n /**\n * Limit the query result by `count`.\n *\n * @param count - The maximum number of rows to return\n * @param options - Named parameters\n * @param options.referencedTable - Set this to limit rows of referenced\n * tables instead of the parent table\n * @param options.foreignTable - Deprecated, use `options.referencedTable`\n * instead\n */\n limit(count, { foreignTable, referencedTable = foreignTable, } = {}) {\n const key = typeof referencedTable === 'undefined' ? 'limit' : `${referencedTable}.limit`;\n this.url.searchParams.set(key, `${count}`);\n return this;\n }\n /**\n * Limit the query result by starting at an offset `from` and ending at the offset `to`.\n * Only records within this range are returned.\n * This respects the query order and if there is no order clause the range could behave unexpectedly.\n * The `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\n * and fourth rows of the query.\n *\n * @param from - The starting index from which to limit the result\n * @param to - The last index to which to limit the result\n * @param options - Named parameters\n * @param options.referencedTable - Set this to limit rows of referenced\n * tables instead of the parent table\n * @param options.foreignTable - Deprecated, use `options.referencedTable`\n * instead\n */\n range(from, to, { foreignTable, referencedTable = foreignTable, } = {}) {\n const keyOffset = typeof referencedTable === 'undefined' ? 'offset' : `${referencedTable}.offset`;\n const keyLimit = typeof referencedTable === 'undefined' ? 'limit' : `${referencedTable}.limit`;\n this.url.searchParams.set(keyOffset, `${from}`);\n // Range is inclusive, so add 1\n this.url.searchParams.set(keyLimit, `${to - from + 1}`);\n return this;\n }\n /**\n * Set the AbortSignal for the fetch request.\n *\n * @param signal - The AbortSignal to use for the fetch request\n */\n abortSignal(signal) {\n this.signal = signal;\n return this;\n }\n /**\n * Return `data` as a single object instead of an array of objects.\n *\n * Query result must be one row (e.g. using `.limit(1)`), otherwise this\n * returns an error.\n */\n single() {\n this.headers['Accept'] = 'application/vnd.pgrst.object+json';\n return this;\n }\n /**\n * Return `data` as a single object instead of an array of objects.\n *\n * Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\n * this returns an error.\n */\n maybeSingle() {\n // Temporary partial fix for https://github.com/supabase/postgrest-js/issues/361\n // Issue persists e.g. for `.insert([...]).select().maybeSingle()`\n if (this.method === 'GET') {\n this.headers['Accept'] = 'application/json';\n }\n else {\n this.headers['Accept'] = 'application/vnd.pgrst.object+json';\n }\n this.isMaybeSingle = true;\n return this;\n }\n /**\n * Return `data` as a string in CSV format.\n */\n csv() {\n this.headers['Accept'] = 'text/csv';\n return this;\n }\n /**\n * Return `data` as an object in [GeoJSON](https://geojson.org) format.\n */\n geojson() {\n this.headers['Accept'] = 'application/geo+json';\n return this;\n }\n /**\n * Return `data` as the EXPLAIN plan for the query.\n *\n * You need to enable the\n * [db_plan_enabled](https://supabase.com/docs/guides/database/debugging-performance#enabling-explain)\n * setting before using this method.\n *\n * @param options - Named parameters\n *\n * @param options.analyze - If `true`, the query will be executed and the\n * actual run time will be returned\n *\n * @param options.verbose - If `true`, the query identifier will be returned\n * and `data` will include the output columns of the query\n *\n * @param options.settings - If `true`, include information on configuration\n * parameters that affect query planning\n *\n * @param options.buffers - If `true`, include information on buffer usage\n *\n * @param options.wal - If `true`, include information on WAL record generation\n *\n * @param options.format - The format of the output, can be `\"text\"` (default)\n * or `\"json\"`\n */\n explain({ analyze = false, verbose = false, settings = false, buffers = false, wal = false, format = 'text', } = {}) {\n var _a;\n const options = [\n analyze ? 'analyze' : null,\n verbose ? 'verbose' : null,\n settings ? 'settings' : null,\n buffers ? 'buffers' : null,\n wal ? 'wal' : null,\n ]\n .filter(Boolean)\n .join('|');\n // An Accept header can carry multiple media types but postgrest-js always sends one\n const forMediatype = (_a = this.headers['Accept']) !== null && _a !== void 0 ? _a : 'application/json';\n this.headers['Accept'] = `application/vnd.pgrst.plan+${format}; for=\"${forMediatype}\"; options=${options};`;\n if (format === 'json')\n return this;\n else\n return this;\n }\n /**\n * Rollback the query.\n *\n * `data` will still be returned, but the query is not committed.\n */\n rollback() {\n var _a;\n if (((_a = this.headers['Prefer']) !== null && _a !== void 0 ? _a : '').trim().length > 0) {\n this.headers['Prefer'] += ',tx=rollback';\n }\n else {\n this.headers['Prefer'] = 'tx=rollback';\n }\n return this;\n }\n /**\n * Override the type of the returned `data`.\n *\n * @typeParam NewResult - The new result type to override with\n */\n returns() {\n return this;\n }\n}\nexports.default = PostgrestTransformBuilder;\n//# sourceMappingURL=PostgrestTransformBuilder.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DEFAULT_HEADERS = void 0;\nconst version_1 = require(\"./version\");\nexports.DEFAULT_HEADERS = { 'X-Client-Info': `postgrest-js/${version_1.version}` };\n//# sourceMappingURL=constants.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PostgrestBuilder = exports.PostgrestTransformBuilder = exports.PostgrestFilterBuilder = exports.PostgrestQueryBuilder = exports.PostgrestClient = void 0;\n// Always update wrapper.mjs when updating this file.\nconst PostgrestClient_1 = __importDefault(require(\"./PostgrestClient\"));\nexports.PostgrestClient = PostgrestClient_1.default;\nconst PostgrestQueryBuilder_1 = __importDefault(require(\"./PostgrestQueryBuilder\"));\nexports.PostgrestQueryBuilder = PostgrestQueryBuilder_1.default;\nconst PostgrestFilterBuilder_1 = __importDefault(require(\"./PostgrestFilterBuilder\"));\nexports.PostgrestFilterBuilder = PostgrestFilterBuilder_1.default;\nconst PostgrestTransformBuilder_1 = __importDefault(require(\"./PostgrestTransformBuilder\"));\nexports.PostgrestTransformBuilder = PostgrestTransformBuilder_1.default;\nconst PostgrestBuilder_1 = __importDefault(require(\"./PostgrestBuilder\"));\nexports.PostgrestBuilder = PostgrestBuilder_1.default;\nexports.default = {\n PostgrestClient: PostgrestClient_1.default,\n PostgrestQueryBuilder: PostgrestQueryBuilder_1.default,\n PostgrestFilterBuilder: PostgrestFilterBuilder_1.default,\n PostgrestTransformBuilder: PostgrestTransformBuilder_1.default,\n PostgrestBuilder: PostgrestBuilder_1.default,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.version = void 0;\nexports.version = '0.0.0-automated';\n//# sourceMappingURL=version.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n RequestCookies: () => RequestCookies,\n ResponseCookies: () => ResponseCookies,\n parseCookie: () => parseCookie,\n parseSetCookie: () => parseSetCookie,\n stringifyCookie: () => stringifyCookie\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/serialize.ts\nfunction stringifyCookie(c) {\n var _a;\n const attrs = [\n \"path\" in c && c.path && `Path=${c.path}`,\n \"expires\" in c && (c.expires || c.expires === 0) && `Expires=${(typeof c.expires === \"number\" ? new Date(c.expires) : c.expires).toUTCString()}`,\n \"maxAge\" in c && typeof c.maxAge === \"number\" && `Max-Age=${c.maxAge}`,\n \"domain\" in c && c.domain && `Domain=${c.domain}`,\n \"secure\" in c && c.secure && \"Secure\",\n \"httpOnly\" in c && c.httpOnly && \"HttpOnly\",\n \"sameSite\" in c && c.sameSite && `SameSite=${c.sameSite}`,\n \"partitioned\" in c && c.partitioned && \"Partitioned\",\n \"priority\" in c && c.priority && `Priority=${c.priority}`\n ].filter(Boolean);\n const stringified = `${c.name}=${encodeURIComponent((_a = c.value) != null ? _a : \"\")}`;\n return attrs.length === 0 ? stringified : `${stringified}; ${attrs.join(\"; \")}`;\n}\nfunction parseCookie(cookie) {\n const map = /* @__PURE__ */ new Map();\n for (const pair of cookie.split(/; */)) {\n if (!pair)\n continue;\n const splitAt = pair.indexOf(\"=\");\n if (splitAt === -1) {\n map.set(pair, \"true\");\n continue;\n }\n const [key, value] = [pair.slice(0, splitAt), pair.slice(splitAt + 1)];\n try {\n map.set(key, decodeURIComponent(value != null ? value : \"true\"));\n } catch {\n }\n }\n return map;\n}\nfunction parseSetCookie(setCookie) {\n if (!setCookie) {\n return void 0;\n }\n const [[name, value], ...attributes] = parseCookie(setCookie);\n const {\n domain,\n expires,\n httponly,\n maxage,\n path,\n samesite,\n secure,\n partitioned,\n priority\n } = Object.fromEntries(\n attributes.map(([key, value2]) => [key.toLowerCase(), value2])\n );\n const cookie = {\n name,\n value: decodeURIComponent(value),\n domain,\n ...expires && { expires: new Date(expires) },\n ...httponly && { httpOnly: true },\n ...typeof maxage === \"string\" && { maxAge: Number(maxage) },\n path,\n ...samesite && { sameSite: parseSameSite(samesite) },\n ...secure && { secure: true },\n ...priority && { priority: parsePriority(priority) },\n ...partitioned && { partitioned: true }\n };\n return compact(cookie);\n}\nfunction compact(t) {\n const newT = {};\n for (const key in t) {\n if (t[key]) {\n newT[key] = t[key];\n }\n }\n return newT;\n}\nvar SAME_SITE = [\"strict\", \"lax\", \"none\"];\nfunction parseSameSite(string) {\n string = string.toLowerCase();\n return SAME_SITE.includes(string) ? string : void 0;\n}\nvar PRIORITY = [\"low\", \"medium\", \"high\"];\nfunction parsePriority(string) {\n string = string.toLowerCase();\n return PRIORITY.includes(string) ? string : void 0;\n}\nfunction splitCookiesString(cookiesString) {\n if (!cookiesString)\n return [];\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n while (pos < cookiesString.length) {\n start = pos;\n cookiesSeparatorFound = false;\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1;\n }\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n cookiesSeparatorFound = true;\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n\n// src/request-cookies.ts\nvar RequestCookies = class {\n constructor(requestHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n this._headers = requestHeaders;\n const header = requestHeaders.get(\"cookie\");\n if (header) {\n const parsed = parseCookie(header);\n for (const [name, value] of parsed) {\n this._parsed.set(name, { name, value });\n }\n }\n }\n [Symbol.iterator]() {\n return this._parsed[Symbol.iterator]();\n }\n /**\n * The amount of cookies received from the client\n */\n get size() {\n return this._parsed.size;\n }\n get(...args) {\n const name = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(name);\n }\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed);\n if (!args.length) {\n return all.map(([_, value]) => value);\n }\n const name = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter(([n]) => n === name).map(([_, value]) => value);\n }\n has(name) {\n return this._parsed.has(name);\n }\n set(...args) {\n const [name, value] = args.length === 1 ? [args[0].name, args[0].value] : args;\n const map = this._parsed;\n map.set(name, { name, value });\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value2]) => stringifyCookie(value2)).join(\"; \")\n );\n return this;\n }\n /**\n * Delete the cookies matching the passed name or names in the request.\n */\n delete(names) {\n const map = this._parsed;\n const result = !Array.isArray(names) ? map.delete(names) : names.map((name) => map.delete(name));\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value]) => stringifyCookie(value)).join(\"; \")\n );\n return result;\n }\n /**\n * Delete all the cookies in the cookies in the request.\n */\n clear() {\n this.delete(Array.from(this._parsed.keys()));\n return this;\n }\n /**\n * Format the cookies in the request as a string for logging\n */\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map((v) => `${v.name}=${encodeURIComponent(v.value)}`).join(\"; \");\n }\n};\n\n// src/response-cookies.ts\nvar ResponseCookies = class {\n constructor(responseHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n var _a, _b, _c;\n this._headers = responseHeaders;\n const setCookie = (_c = (_b = (_a = responseHeaders.getSetCookie) == null ? void 0 : _a.call(responseHeaders)) != null ? _b : responseHeaders.get(\"set-cookie\")) != null ? _c : [];\n const cookieStrings = Array.isArray(setCookie) ? setCookie : splitCookiesString(setCookie);\n for (const cookieString of cookieStrings) {\n const parsed = parseSetCookie(cookieString);\n if (parsed)\n this._parsed.set(parsed.name, parsed);\n }\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.\n */\n get(...args) {\n const key = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(key);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.\n */\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed.values());\n if (!args.length) {\n return all;\n }\n const key = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter((c) => c.name === key);\n }\n has(name) {\n return this._parsed.has(name);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.\n */\n set(...args) {\n const [name, value, cookie] = args.length === 1 ? [args[0].name, args[0].value, args[0]] : args;\n const map = this._parsed;\n map.set(name, normalizeCookie({ name, value, ...cookie }));\n replace(map, this._headers);\n return this;\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.\n */\n delete(...args) {\n const [name, path, domain] = typeof args[0] === \"string\" ? [args[0]] : [args[0].name, args[0].path, args[0].domain];\n return this.set({ name, path, domain, value: \"\", expires: /* @__PURE__ */ new Date(0) });\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map(stringifyCookie).join(\"; \");\n }\n};\nfunction replace(bag, headers) {\n headers.delete(\"set-cookie\");\n for (const [, value] of bag) {\n const serialized = stringifyCookie(value);\n headers.append(\"set-cookie\", serialized);\n }\n}\nfunction normalizeCookie(cookie = { name: \"\", value: \"\" }) {\n if (typeof cookie.expires === \"number\") {\n cookie.expires = new Date(cookie.expires);\n }\n if (cookie.maxAge) {\n cookie.expires = new Date(Date.now() + cookie.maxAge * 1e3);\n }\n if (cookie.path === null || cookie.path === void 0) {\n cookie.path = \"/\";\n }\n return cookie;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n RequestCookies,\n ResponseCookies,\n parseCookie,\n parseSetCookie,\n stringifyCookie\n});\n","(()=>{\"use strict\";var e={491:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ContextAPI=void 0;const n=r(223);const a=r(172);const o=r(930);const i=\"context\";const c=new n.NoopContextManager;class ContextAPI{constructor(){}static getInstance(){if(!this._instance){this._instance=new ContextAPI}return this._instance}setGlobalContextManager(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,a.getGlobal)(i)||c}disable(){this._getContextManager().disable();(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.ContextAPI=ContextAPI},930:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagAPI=void 0;const n=r(56);const a=r(912);const o=r(957);const i=r(172);const c=\"diag\";class DiagAPI{constructor(){function _logProxy(e){return function(...t){const r=(0,i.getGlobal)(\"diag\");if(!r)return;return r[e](...t)}}const e=this;const setLogger=(t,r={logLevel:o.DiagLogLevel.INFO})=>{var n,c,s;if(t===e){const t=new Error(\"Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation\");e.error((n=t.stack)!==null&&n!==void 0?n:t.message);return false}if(typeof r===\"number\"){r={logLevel:r}}const u=(0,i.getGlobal)(\"diag\");const l=(0,a.createLogLevelDiagLogger)((c=r.logLevel)!==null&&c!==void 0?c:o.DiagLogLevel.INFO,t);if(u&&!r.suppressOverrideMessage){const e=(s=(new Error).stack)!==null&&s!==void 0?s:\"\";u.warn(`Current logger will be overwritten from ${e}`);l.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,i.registerGlobal)(\"diag\",l,e,true)};e.setLogger=setLogger;e.disable=()=>{(0,i.unregisterGlobal)(c,e)};e.createComponentLogger=e=>new n.DiagComponentLogger(e);e.verbose=_logProxy(\"verbose\");e.debug=_logProxy(\"debug\");e.info=_logProxy(\"info\");e.warn=_logProxy(\"warn\");e.error=_logProxy(\"error\")}static instance(){if(!this._instance){this._instance=new DiagAPI}return this._instance}}t.DiagAPI=DiagAPI},653:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.MetricsAPI=void 0;const n=r(660);const a=r(172);const o=r(930);const i=\"metrics\";class MetricsAPI{constructor(){}static getInstance(){if(!this._instance){this._instance=new MetricsAPI}return this._instance}setGlobalMeterProvider(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}getMeterProvider(){return(0,a.getGlobal)(i)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.MetricsAPI=MetricsAPI},181:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.PropagationAPI=void 0;const n=r(172);const a=r(874);const o=r(194);const i=r(277);const c=r(369);const s=r(930);const u=\"propagation\";const l=new a.NoopTextMapPropagator;class PropagationAPI{constructor(){this.createBaggage=c.createBaggage;this.getBaggage=i.getBaggage;this.getActiveBaggage=i.getActiveBaggage;this.setBaggage=i.setBaggage;this.deleteBaggage=i.deleteBaggage}static getInstance(){if(!this._instance){this._instance=new PropagationAPI}return this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(u,e,s.DiagAPI.instance())}inject(e,t,r=o.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=o.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(u,s.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(u)||l}}t.PropagationAPI=PropagationAPI},997:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceAPI=void 0;const n=r(172);const a=r(846);const o=r(139);const i=r(607);const c=r(930);const s=\"trace\";class TraceAPI{constructor(){this._proxyTracerProvider=new a.ProxyTracerProvider;this.wrapSpanContext=o.wrapSpanContext;this.isSpanContextValid=o.isSpanContextValid;this.deleteSpan=i.deleteSpan;this.getSpan=i.getSpan;this.getActiveSpan=i.getActiveSpan;this.getSpanContext=i.getSpanContext;this.setSpan=i.setSpan;this.setSpanContext=i.setSpanContext}static getInstance(){if(!this._instance){this._instance=new TraceAPI}return this._instance}setGlobalTracerProvider(e){const t=(0,n.registerGlobal)(s,this._proxyTracerProvider,c.DiagAPI.instance());if(t){this._proxyTracerProvider.setDelegate(e)}return t}getTracerProvider(){return(0,n.getGlobal)(s)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(s,c.DiagAPI.instance());this._proxyTracerProvider=new a.ProxyTracerProvider}}t.TraceAPI=TraceAPI},277:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;const n=r(491);const a=r(780);const o=(0,a.createContextKey)(\"OpenTelemetry Baggage Key\");function getBaggage(e){return e.getValue(o)||undefined}t.getBaggage=getBaggage;function getActiveBaggage(){return getBaggage(n.ContextAPI.getInstance().active())}t.getActiveBaggage=getActiveBaggage;function setBaggage(e,t){return e.setValue(o,t)}t.setBaggage=setBaggage;function deleteBaggage(e){return e.deleteValue(o)}t.deleteBaggage=deleteBaggage},993:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.BaggageImpl=void 0;class BaggageImpl{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){const t=this._entries.get(e);if(!t){return undefined}return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map((([e,t])=>[e,t]))}setEntry(e,t){const r=new BaggageImpl(this._entries);r._entries.set(e,t);return r}removeEntry(e){const t=new BaggageImpl(this._entries);t._entries.delete(e);return t}removeEntries(...e){const t=new BaggageImpl(this._entries);for(const r of e){t._entries.delete(r)}return t}clear(){return new BaggageImpl}}t.BaggageImpl=BaggageImpl},830:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.baggageEntryMetadataSymbol=void 0;t.baggageEntryMetadataSymbol=Symbol(\"BaggageEntryMetadata\")},369:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.baggageEntryMetadataFromString=t.createBaggage=void 0;const n=r(930);const a=r(993);const o=r(830);const i=n.DiagAPI.instance();function createBaggage(e={}){return new a.BaggageImpl(new Map(Object.entries(e)))}t.createBaggage=createBaggage;function baggageEntryMetadataFromString(e){if(typeof e!==\"string\"){i.error(`Cannot create baggage metadata from unknown type: ${typeof e}`);e=\"\"}return{__TYPE__:o.baggageEntryMetadataSymbol,toString(){return e}}}t.baggageEntryMetadataFromString=baggageEntryMetadataFromString},67:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.context=void 0;const n=r(491);t.context=n.ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopContextManager=void 0;const n=r(780);class NoopContextManager{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=NoopContextManager},780:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ROOT_CONTEXT=t.createContextKey=void 0;function createContextKey(e){return Symbol.for(e)}t.createContextKey=createContextKey;class BaseContext{constructor(e){const t=this;t._currentContext=e?new Map(e):new Map;t.getValue=e=>t._currentContext.get(e);t.setValue=(e,r)=>{const n=new BaseContext(t._currentContext);n._currentContext.set(e,r);return n};t.deleteValue=e=>{const r=new BaseContext(t._currentContext);r._currentContext.delete(e);return r}}}t.ROOT_CONTEXT=new BaseContext},506:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.diag=void 0;const n=r(930);t.diag=n.DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagComponentLogger=void 0;const n=r(172);class DiagComponentLogger{constructor(e){this._namespace=e.namespace||\"DiagComponentLogger\"}debug(...e){return logProxy(\"debug\",this._namespace,e)}error(...e){return logProxy(\"error\",this._namespace,e)}info(...e){return logProxy(\"info\",this._namespace,e)}warn(...e){return logProxy(\"warn\",this._namespace,e)}verbose(...e){return logProxy(\"verbose\",this._namespace,e)}}t.DiagComponentLogger=DiagComponentLogger;function logProxy(e,t,r){const a=(0,n.getGlobal)(\"diag\");if(!a){return}r.unshift(t);return a[e](...r)}},972:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagConsoleLogger=void 0;const r=[{n:\"error\",c:\"error\"},{n:\"warn\",c:\"warn\"},{n:\"info\",c:\"info\"},{n:\"debug\",c:\"debug\"},{n:\"verbose\",c:\"trace\"}];class DiagConsoleLogger{constructor(){function _consoleFunc(e){return function(...t){if(console){let r=console[e];if(typeof r!==\"function\"){r=console.log}if(typeof r===\"function\"){return r.apply(console,t)}}}}for(let e=0;e{Object.defineProperty(t,\"__esModule\",{value:true});t.createLogLevelDiagLogger=void 0;const n=r(957);function createLogLevelDiagLogger(e,t){if(en.DiagLogLevel.ALL){e=n.DiagLogLevel.ALL}t=t||{};function _filterFunc(r,n){const a=t[r];if(typeof a===\"function\"&&e>=n){return a.bind(t)}return function(){}}return{error:_filterFunc(\"error\",n.DiagLogLevel.ERROR),warn:_filterFunc(\"warn\",n.DiagLogLevel.WARN),info:_filterFunc(\"info\",n.DiagLogLevel.INFO),debug:_filterFunc(\"debug\",n.DiagLogLevel.DEBUG),verbose:_filterFunc(\"verbose\",n.DiagLogLevel.VERBOSE)}}t.createLogLevelDiagLogger=createLogLevelDiagLogger},957:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagLogLevel=void 0;var r;(function(e){e[e[\"NONE\"]=0]=\"NONE\";e[e[\"ERROR\"]=30]=\"ERROR\";e[e[\"WARN\"]=50]=\"WARN\";e[e[\"INFO\"]=60]=\"INFO\";e[e[\"DEBUG\"]=70]=\"DEBUG\";e[e[\"VERBOSE\"]=80]=\"VERBOSE\";e[e[\"ALL\"]=9999]=\"ALL\"})(r=t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;const n=r(200);const a=r(521);const o=r(130);const i=a.VERSION.split(\".\")[0];const c=Symbol.for(`opentelemetry.js.api.${i}`);const s=n._globalThis;function registerGlobal(e,t,r,n=false){var o;const i=s[c]=(o=s[c])!==null&&o!==void 0?o:{version:a.VERSION};if(!n&&i[e]){const t=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);r.error(t.stack||t.message);return false}if(i.version!==a.VERSION){const t=new Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${a.VERSION}`);r.error(t.stack||t.message);return false}i[e]=t;r.debug(`@opentelemetry/api: Registered a global for ${e} v${a.VERSION}.`);return true}t.registerGlobal=registerGlobal;function getGlobal(e){var t,r;const n=(t=s[c])===null||t===void 0?void 0:t.version;if(!n||!(0,o.isCompatible)(n)){return}return(r=s[c])===null||r===void 0?void 0:r[e]}t.getGlobal=getGlobal;function unregisterGlobal(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${a.VERSION}.`);const r=s[c];if(r){delete r[e]}}t.unregisterGlobal=unregisterGlobal},130:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.isCompatible=t._makeCompatibilityCheck=void 0;const n=r(521);const a=/^(\\d+)\\.(\\d+)\\.(\\d+)(-(.+))?$/;function _makeCompatibilityCheck(e){const t=new Set([e]);const r=new Set;const n=e.match(a);if(!n){return()=>false}const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null){return function isExactmatch(t){return t===e}}function _reject(e){r.add(e);return false}function _accept(e){t.add(e);return true}return function isCompatible(e){if(t.has(e)){return true}if(r.has(e)){return false}const n=e.match(a);if(!n){return _reject(e)}const i={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(i.prerelease!=null){return _reject(e)}if(o.major!==i.major){return _reject(e)}if(o.major===0){if(o.minor===i.minor&&o.patch<=i.patch){return _accept(e)}return _reject(e)}if(o.minor<=i.minor){return _accept(e)}return _reject(e)}}t._makeCompatibilityCheck=_makeCompatibilityCheck;t.isCompatible=_makeCompatibilityCheck(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.metrics=void 0;const n=r(653);t.metrics=n.MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ValueType=void 0;var r;(function(e){e[e[\"INT\"]=0]=\"INT\";e[e[\"DOUBLE\"]=1]=\"DOUBLE\"})(r=t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class NoopMeter{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=NoopMeter;class NoopMetric{}t.NoopMetric=NoopMetric;class NoopCounterMetric extends NoopMetric{add(e,t){}}t.NoopCounterMetric=NoopCounterMetric;class NoopUpDownCounterMetric extends NoopMetric{add(e,t){}}t.NoopUpDownCounterMetric=NoopUpDownCounterMetric;class NoopHistogramMetric extends NoopMetric{record(e,t){}}t.NoopHistogramMetric=NoopHistogramMetric;class NoopObservableMetric{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=NoopObservableMetric;class NoopObservableCounterMetric extends NoopObservableMetric{}t.NoopObservableCounterMetric=NoopObservableCounterMetric;class NoopObservableGaugeMetric extends NoopObservableMetric{}t.NoopObservableGaugeMetric=NoopObservableGaugeMetric;class NoopObservableUpDownCounterMetric extends NoopObservableMetric{}t.NoopObservableUpDownCounterMetric=NoopObservableUpDownCounterMetric;t.NOOP_METER=new NoopMeter;t.NOOP_COUNTER_METRIC=new NoopCounterMetric;t.NOOP_HISTOGRAM_METRIC=new NoopHistogramMetric;t.NOOP_UP_DOWN_COUNTER_METRIC=new NoopUpDownCounterMetric;t.NOOP_OBSERVABLE_COUNTER_METRIC=new NoopObservableCounterMetric;t.NOOP_OBSERVABLE_GAUGE_METRIC=new NoopObservableGaugeMetric;t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new NoopObservableUpDownCounterMetric;function createNoopMeter(){return t.NOOP_METER}t.createNoopMeter=createNoopMeter},660:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;const n=r(102);class NoopMeterProvider{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=NoopMeterProvider;t.NOOP_METER_PROVIDER=new NoopMeterProvider},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var a=this&&this.__exportStar||function(e,t){for(var r in e)if(r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:true});a(r(46),t)},651:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t._globalThis=void 0;t._globalThis=typeof globalThis===\"object\"?globalThis:global},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var a=this&&this.__exportStar||function(e,t){for(var r in e)if(r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:true});a(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.propagation=void 0;const n=r(181);t.propagation=n.PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTextMapPropagator=void 0;class NoopTextMapPropagator{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=NoopTextMapPropagator},194:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.defaultTextMapSetter=t.defaultTextMapGetter=void 0;t.defaultTextMapGetter={get(e,t){if(e==null){return undefined}return e[t]},keys(e){if(e==null){return[]}return Object.keys(e)}};t.defaultTextMapSetter={set(e,t,r){if(e==null){return}e[t]=r}}},845:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.trace=void 0;const n=r(997);t.trace=n.TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NonRecordingSpan=void 0;const n=r(476);class NonRecordingSpan{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return false}recordException(e,t){}}t.NonRecordingSpan=NonRecordingSpan},614:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTracer=void 0;const n=r(491);const a=r(607);const o=r(403);const i=r(139);const c=n.ContextAPI.getInstance();class NoopTracer{startSpan(e,t,r=c.active()){const n=Boolean(t===null||t===void 0?void 0:t.root);if(n){return new o.NonRecordingSpan}const s=r&&(0,a.getSpanContext)(r);if(isSpanContext(s)&&(0,i.isSpanContextValid)(s)){return new o.NonRecordingSpan(s)}else{return new o.NonRecordingSpan}}startActiveSpan(e,t,r,n){let o;let i;let s;if(arguments.length<2){return}else if(arguments.length===2){s=t}else if(arguments.length===3){o=t;s=r}else{o=t;i=r;s=n}const u=i!==null&&i!==void 0?i:c.active();const l=this.startSpan(e,o,u);const g=(0,a.setSpan)(u,l);return c.with(g,s,undefined,l)}}t.NoopTracer=NoopTracer;function isSpanContext(e){return typeof e===\"object\"&&typeof e[\"spanId\"]===\"string\"&&typeof e[\"traceId\"]===\"string\"&&typeof e[\"traceFlags\"]===\"number\"}},124:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTracerProvider=void 0;const n=r(614);class NoopTracerProvider{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=NoopTracerProvider},125:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ProxyTracer=void 0;const n=r(614);const a=new n.NoopTracer;class ProxyTracer{constructor(e,t,r,n){this._provider=e;this.name=t;this.version=r;this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate){return this._delegate}const e=this._provider.getDelegateTracer(this.name,this.version,this.options);if(!e){return a}this._delegate=e;return this._delegate}}t.ProxyTracer=ProxyTracer},846:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ProxyTracerProvider=void 0;const n=r(125);const a=r(124);const o=new a.NoopTracerProvider;class ProxyTracerProvider{getTracer(e,t,r){var a;return(a=this.getDelegateTracer(e,t,r))!==null&&a!==void 0?a:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:o}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return(n=this._delegate)===null||n===void 0?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=ProxyTracerProvider},996:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SamplingDecision=void 0;var r;(function(e){e[e[\"NOT_RECORD\"]=0]=\"NOT_RECORD\";e[e[\"RECORD\"]=1]=\"RECORD\";e[e[\"RECORD_AND_SAMPLED\"]=2]=\"RECORD_AND_SAMPLED\"})(r=t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;const n=r(780);const a=r(403);const o=r(491);const i=(0,n.createContextKey)(\"OpenTelemetry Context Key SPAN\");function getSpan(e){return e.getValue(i)||undefined}t.getSpan=getSpan;function getActiveSpan(){return getSpan(o.ContextAPI.getInstance().active())}t.getActiveSpan=getActiveSpan;function setSpan(e,t){return e.setValue(i,t)}t.setSpan=setSpan;function deleteSpan(e){return e.deleteValue(i)}t.deleteSpan=deleteSpan;function setSpanContext(e,t){return setSpan(e,new a.NonRecordingSpan(t))}t.setSpanContext=setSpanContext;function getSpanContext(e){var t;return(t=getSpan(e))===null||t===void 0?void 0:t.spanContext()}t.getSpanContext=getSpanContext},325:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceStateImpl=void 0;const n=r(564);const a=32;const o=512;const i=\",\";const c=\"=\";class TraceStateImpl{constructor(e){this._internalState=new Map;if(e)this._parse(e)}set(e,t){const r=this._clone();if(r._internalState.has(e)){r._internalState.delete(e)}r._internalState.set(e,t);return r}unset(e){const t=this._clone();t._internalState.delete(e);return t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce(((e,t)=>{e.push(t+c+this.get(t));return e}),[]).join(i)}_parse(e){if(e.length>o)return;this._internalState=e.split(i).reverse().reduce(((e,t)=>{const r=t.trim();const a=r.indexOf(c);if(a!==-1){const o=r.slice(0,a);const i=r.slice(a+1,t.length);if((0,n.validateKey)(o)&&(0,n.validateValue)(i)){e.set(o,i)}else{}}return e}),new Map);if(this._internalState.size>a){this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,a))}}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new TraceStateImpl;e._internalState=new Map(this._internalState);return e}}t.TraceStateImpl=TraceStateImpl},564:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.validateValue=t.validateKey=void 0;const r=\"[_0-9a-z-*/]\";const n=`[a-z]${r}{0,255}`;const a=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`;const o=new RegExp(`^(?:${n}|${a})$`);const i=/^[ -~]{0,255}[!-~]$/;const c=/,|=/;function validateKey(e){return o.test(e)}t.validateKey=validateKey;function validateValue(e){return i.test(e)&&!c.test(e)}t.validateValue=validateValue},98:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.createTraceState=void 0;const n=r(325);function createTraceState(e){return new n.TraceStateImpl(e)}t.createTraceState=createTraceState},476:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;const n=r(475);t.INVALID_SPANID=\"0000000000000000\";t.INVALID_TRACEID=\"00000000000000000000000000000000\";t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SpanKind=void 0;var r;(function(e){e[e[\"INTERNAL\"]=0]=\"INTERNAL\";e[e[\"SERVER\"]=1]=\"SERVER\";e[e[\"CLIENT\"]=2]=\"CLIENT\";e[e[\"PRODUCER\"]=3]=\"PRODUCER\";e[e[\"CONSUMER\"]=4]=\"CONSUMER\"})(r=t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;const n=r(476);const a=r(403);const o=/^([0-9a-f]{32})$/i;const i=/^[0-9a-f]{16}$/i;function isValidTraceId(e){return o.test(e)&&e!==n.INVALID_TRACEID}t.isValidTraceId=isValidTraceId;function isValidSpanId(e){return i.test(e)&&e!==n.INVALID_SPANID}t.isValidSpanId=isValidSpanId;function isSpanContextValid(e){return isValidTraceId(e.traceId)&&isValidSpanId(e.spanId)}t.isSpanContextValid=isSpanContextValid;function wrapSpanContext(e){return new a.NonRecordingSpan(e)}t.wrapSpanContext=wrapSpanContext},847:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SpanStatusCode=void 0;var r;(function(e){e[e[\"UNSET\"]=0]=\"UNSET\";e[e[\"OK\"]=1]=\"OK\";e[e[\"ERROR\"]=2]=\"ERROR\"})(r=t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceFlags=void 0;var r;(function(e){e[e[\"NONE\"]=0]=\"NONE\";e[e[\"SAMPLED\"]=1]=\"SAMPLED\"})(r=t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.VERSION=void 0;t.VERSION=\"1.6.0\"}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var o=true;try{e[r].call(a.exports,a,a.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var r={};(()=>{var e=r;Object.defineProperty(e,\"__esModule\",{value:true});e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var t=__nccwpck_require__(369);Object.defineProperty(e,\"baggageEntryMetadataFromString\",{enumerable:true,get:function(){return t.baggageEntryMetadataFromString}});var n=__nccwpck_require__(780);Object.defineProperty(e,\"createContextKey\",{enumerable:true,get:function(){return n.createContextKey}});Object.defineProperty(e,\"ROOT_CONTEXT\",{enumerable:true,get:function(){return n.ROOT_CONTEXT}});var a=__nccwpck_require__(972);Object.defineProperty(e,\"DiagConsoleLogger\",{enumerable:true,get:function(){return a.DiagConsoleLogger}});var o=__nccwpck_require__(957);Object.defineProperty(e,\"DiagLogLevel\",{enumerable:true,get:function(){return o.DiagLogLevel}});var i=__nccwpck_require__(102);Object.defineProperty(e,\"createNoopMeter\",{enumerable:true,get:function(){return i.createNoopMeter}});var c=__nccwpck_require__(901);Object.defineProperty(e,\"ValueType\",{enumerable:true,get:function(){return c.ValueType}});var s=__nccwpck_require__(194);Object.defineProperty(e,\"defaultTextMapGetter\",{enumerable:true,get:function(){return s.defaultTextMapGetter}});Object.defineProperty(e,\"defaultTextMapSetter\",{enumerable:true,get:function(){return s.defaultTextMapSetter}});var u=__nccwpck_require__(125);Object.defineProperty(e,\"ProxyTracer\",{enumerable:true,get:function(){return u.ProxyTracer}});var l=__nccwpck_require__(846);Object.defineProperty(e,\"ProxyTracerProvider\",{enumerable:true,get:function(){return l.ProxyTracerProvider}});var g=__nccwpck_require__(996);Object.defineProperty(e,\"SamplingDecision\",{enumerable:true,get:function(){return g.SamplingDecision}});var p=__nccwpck_require__(357);Object.defineProperty(e,\"SpanKind\",{enumerable:true,get:function(){return p.SpanKind}});var d=__nccwpck_require__(847);Object.defineProperty(e,\"SpanStatusCode\",{enumerable:true,get:function(){return d.SpanStatusCode}});var _=__nccwpck_require__(475);Object.defineProperty(e,\"TraceFlags\",{enumerable:true,get:function(){return _.TraceFlags}});var f=__nccwpck_require__(98);Object.defineProperty(e,\"createTraceState\",{enumerable:true,get:function(){return f.createTraceState}});var b=__nccwpck_require__(139);Object.defineProperty(e,\"isSpanContextValid\",{enumerable:true,get:function(){return b.isSpanContextValid}});Object.defineProperty(e,\"isValidTraceId\",{enumerable:true,get:function(){return b.isValidTraceId}});Object.defineProperty(e,\"isValidSpanId\",{enumerable:true,get:function(){return b.isValidSpanId}});var v=__nccwpck_require__(476);Object.defineProperty(e,\"INVALID_SPANID\",{enumerable:true,get:function(){return v.INVALID_SPANID}});Object.defineProperty(e,\"INVALID_TRACEID\",{enumerable:true,get:function(){return v.INVALID_TRACEID}});Object.defineProperty(e,\"INVALID_SPAN_CONTEXT\",{enumerable:true,get:function(){return v.INVALID_SPAN_CONTEXT}});const O=__nccwpck_require__(67);Object.defineProperty(e,\"context\",{enumerable:true,get:function(){return O.context}});const P=__nccwpck_require__(506);Object.defineProperty(e,\"diag\",{enumerable:true,get:function(){return P.diag}});const N=__nccwpck_require__(886);Object.defineProperty(e,\"metrics\",{enumerable:true,get:function(){return N.metrics}});const S=__nccwpck_require__(939);Object.defineProperty(e,\"propagation\",{enumerable:true,get:function(){return S.propagation}});const C=__nccwpck_require__(845);Object.defineProperty(e,\"trace\",{enumerable:true,get:function(){return C.trace}});e[\"default\"]={context:O.context,diag:P.diag,metrics:N.metrics,propagation:S.propagation,trace:C.trace}})();module.exports=r})();","(()=>{\"use strict\";if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var e={};(()=>{var r=e;\n/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */r.parse=parse;r.serialize=serialize;var i=decodeURIComponent;var t=encodeURIComponent;var a=/; */;var n=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;function parse(e,r){if(typeof e!==\"string\"){throw new TypeError(\"argument str must be a string\")}var t={};var n=r||{};var o=e.split(a);var s=n.decode||i;for(var p=0;p{var i={226:function(i,e){(function(o,a){\"use strict\";var r=\"1.0.35\",t=\"\",n=\"?\",s=\"function\",b=\"undefined\",w=\"object\",l=\"string\",d=\"major\",c=\"model\",u=\"name\",p=\"type\",m=\"vendor\",f=\"version\",h=\"architecture\",v=\"console\",g=\"mobile\",k=\"tablet\",x=\"smarttv\",_=\"wearable\",y=\"embedded\",q=350;var T=\"Amazon\",S=\"Apple\",z=\"ASUS\",N=\"BlackBerry\",A=\"Browser\",C=\"Chrome\",E=\"Edge\",O=\"Firefox\",U=\"Google\",j=\"Huawei\",P=\"LG\",R=\"Microsoft\",M=\"Motorola\",B=\"Opera\",V=\"Samsung\",D=\"Sharp\",I=\"Sony\",W=\"Viera\",F=\"Xiaomi\",G=\"Zebra\",H=\"Facebook\",L=\"Chromium OS\",Z=\"Mac OS\";var extend=function(i,e){var o={};for(var a in i){if(e[a]&&e[a].length%2===0){o[a]=e[a].concat(i[a])}else{o[a]=i[a]}}return o},enumerize=function(i){var e={};for(var o=0;o0){if(b.length===2){if(typeof b[1]==s){this[b[0]]=b[1].call(this,d)}else{this[b[0]]=b[1]}}else if(b.length===3){if(typeof b[1]===s&&!(b[1].exec&&b[1].test)){this[b[0]]=d?b[1].call(this,d,b[2]):a}else{this[b[0]]=d?d.replace(b[1],b[2]):a}}else if(b.length===4){this[b[0]]=d?b[3].call(this,d.replace(b[1],b[2])):a}}else{this[b]=d?d:a}}}}o+=2}},strMapper=function(i,e){for(var o in e){if(typeof e[o]===w&&e[o].length>0){for(var r=0;r2){i[c]=\"iPad\";i[p]=k}return i};this.getEngine=function(){var i={};i[u]=a;i[f]=a;rgxMapper.call(i,n,x.engine);return i};this.getOS=function(){var i={};i[u]=a;i[f]=a;rgxMapper.call(i,n,x.os);if(_&&!i[u]&&v&&v.platform!=\"Unknown\"){i[u]=v.platform.replace(/chrome os/i,L).replace(/macos/i,Z)}return i};this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}};this.getUA=function(){return n};this.setUA=function(i){n=typeof i===l&&i.length>q?trim(i,q):i;return this};this.setUA(n);return this};UAParser.VERSION=r;UAParser.BROWSER=enumerize([u,f,d]);UAParser.CPU=enumerize([h]);UAParser.DEVICE=enumerize([c,m,p,v,g,x,k,_,y]);UAParser.ENGINE=UAParser.OS=enumerize([u,f]);if(typeof e!==b){if(\"object\"!==b&&i.exports){e=i.exports=UAParser}e.UAParser=UAParser}else{if(typeof define===s&&define.amd){define((function(){return UAParser}))}else if(typeof o!==b){o.UAParser=UAParser}}var Q=typeof o!==b&&(o.jQuery||o.Zepto);if(Q&&!Q.ua){var Y=new UAParser;Q.ua=Y.getResult();Q.ua.get=function(){return Y.getUA()};Q.ua.set=function(i){Y.setUA(i);var e=Y.getResult();for(var o in e){Q.ua[o]=e[o]}}}})(typeof window===\"object\"?window:this)}};var e={};function __nccwpck_require__(o){var a=e[o];if(a!==undefined){return a.exports}var r=e[o]={exports:{}};var t=true;try{i[o].call(r.exports,r,r.exports,__nccwpck_require__);t=false}finally{if(t)delete e[o]}return r.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var o=__nccwpck_require__(226);module.exports=o})();",null,"\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n getTestReqInfo: null,\n withRequest: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n getTestReqInfo: function() {\n return getTestReqInfo;\n },\n withRequest: function() {\n return withRequest;\n }\n});\nconst _nodeasync_hooks = require(\"node:async_hooks\");\nconst testStorage = new _nodeasync_hooks.AsyncLocalStorage();\nfunction extractTestInfoFromRequest(req, reader) {\n const proxyPortHeader = reader.header(req, \"next-test-proxy-port\");\n if (!proxyPortHeader) {\n return undefined;\n }\n const url = reader.url(req);\n const proxyPort = Number(proxyPortHeader);\n const testData = reader.header(req, \"next-test-data\") || \"\";\n return {\n url,\n proxyPort,\n testData\n };\n}\nfunction withRequest(req, reader, fn) {\n const testReqInfo = extractTestInfoFromRequest(req, reader);\n if (!testReqInfo) {\n return fn();\n }\n return testStorage.run(testReqInfo, fn);\n}\nfunction getTestReqInfo(req, reader) {\n const testReqInfo = testStorage.getStore();\n if (testReqInfo) {\n return testReqInfo;\n }\n if (req && reader) {\n return extractTestInfoFromRequest(req, reader);\n }\n return undefined;\n}\n\n//# sourceMappingURL=context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n handleFetch: null,\n interceptFetch: null,\n reader: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n handleFetch: function() {\n return handleFetch;\n },\n interceptFetch: function() {\n return interceptFetch;\n },\n reader: function() {\n return reader;\n }\n});\nconst _context = require(\"./context\");\nconst reader = {\n url (req) {\n return req.url;\n },\n header (req, name) {\n return req.headers.get(name);\n }\n};\nfunction getTestStack() {\n let stack = (new Error().stack ?? \"\").split(\"\\n\");\n // Skip the first line and find first non-empty line.\n for(let i = 1; i < stack.length; i++){\n if (stack[i].length > 0) {\n stack = stack.slice(i);\n break;\n }\n }\n // Filter out franmework lines.\n stack = stack.filter((f)=>!f.includes(\"/next/dist/\"));\n // At most 5 lines.\n stack = stack.slice(0, 5);\n // Cleanup some internal info and trim.\n stack = stack.map((s)=>s.replace(\"webpack-internal:///(rsc)/\", \"\").trim());\n return stack.join(\" \");\n}\nasync function buildProxyRequest(testData, request) {\n const { url, method, headers, body, cache, credentials, integrity, mode, redirect, referrer, referrerPolicy } = request;\n return {\n testData,\n api: \"fetch\",\n request: {\n url,\n method,\n headers: [\n ...Array.from(headers),\n [\n \"next-test-stack\",\n getTestStack()\n ]\n ],\n body: body ? Buffer.from(await request.arrayBuffer()).toString(\"base64\") : null,\n cache,\n credentials,\n integrity,\n mode,\n redirect,\n referrer,\n referrerPolicy\n }\n };\n}\nfunction buildResponse(proxyResponse) {\n const { status, headers, body } = proxyResponse.response;\n return new Response(body ? Buffer.from(body, \"base64\") : null, {\n status,\n headers: new Headers(headers)\n });\n}\nasync function handleFetch(originalFetch, request) {\n const testInfo = (0, _context.getTestReqInfo)(request, reader);\n if (!testInfo) {\n // Passthrough non-test requests.\n return originalFetch(request);\n }\n const { testData, proxyPort } = testInfo;\n const proxyRequest = await buildProxyRequest(testData, request);\n const resp = await originalFetch(`http://localhost:${proxyPort}`, {\n method: \"POST\",\n body: JSON.stringify(proxyRequest),\n next: {\n // @ts-ignore\n internal: true\n }\n });\n if (!resp.ok) {\n throw new Error(`Proxy request failed: ${resp.status}`);\n }\n const proxyResponse = await resp.json();\n const { api } = proxyResponse;\n switch(api){\n case \"continue\":\n return originalFetch(request);\n case \"abort\":\n case \"unhandled\":\n throw new Error(`Proxy request aborted [${request.method} ${request.url}]`);\n default:\n break;\n }\n return buildResponse(proxyResponse);\n}\nfunction interceptFetch(originalFetch) {\n global.fetch = function testFetch(input, init) {\n var _init_next;\n // Passthrough internal requests.\n // @ts-ignore\n if (init == null ? void 0 : (_init_next = init.next) == null ? void 0 : _init_next.internal) {\n return originalFetch(input, init);\n }\n return handleFetch(originalFetch, new Request(input, init));\n };\n return ()=>{\n global.fetch = originalFetch;\n };\n}\n\n//# sourceMappingURL=fetch.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n interceptTestApis: null,\n wrapRequestHandler: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n interceptTestApis: function() {\n return interceptTestApis;\n },\n wrapRequestHandler: function() {\n return wrapRequestHandler;\n }\n});\nconst _context = require(\"./context\");\nconst _fetch = require(\"./fetch\");\nfunction interceptTestApis() {\n return (0, _fetch.interceptFetch)(global.fetch);\n}\nfunction wrapRequestHandler(handler) {\n return (req, fn)=>(0, _context.withRequest)(req, _fetch.reader, ()=>handler(req, fn));\n}\n\n//# sourceMappingURL=server-edge.js.map","\"use strict\";\n\nvar defaultParseOptions = {\n decodeValues: true,\n map: false,\n silent: false,\n};\n\nfunction isNonEmptyString(str) {\n return typeof str === \"string\" && !!str.trim();\n}\n\nfunction parseString(setCookieValue, options) {\n var parts = setCookieValue.split(\";\").filter(isNonEmptyString);\n\n var nameValuePairStr = parts.shift();\n var parsed = parseNameValuePair(nameValuePairStr);\n var name = parsed.name;\n var value = parsed.value;\n\n options = options\n ? Object.assign({}, defaultParseOptions, options)\n : defaultParseOptions;\n\n try {\n value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value\n } catch (e) {\n console.error(\n \"set-cookie-parser encountered an error while decoding a cookie with value '\" +\n value +\n \"'. Set options.decodeValues to false to disable this feature.\",\n e\n );\n }\n\n var cookie = {\n name: name,\n value: value,\n };\n\n parts.forEach(function (part) {\n var sides = part.split(\"=\");\n var key = sides.shift().trimLeft().toLowerCase();\n var value = sides.join(\"=\");\n if (key === \"expires\") {\n cookie.expires = new Date(value);\n } else if (key === \"max-age\") {\n cookie.maxAge = parseInt(value, 10);\n } else if (key === \"secure\") {\n cookie.secure = true;\n } else if (key === \"httponly\") {\n cookie.httpOnly = true;\n } else if (key === \"samesite\") {\n cookie.sameSite = value;\n } else {\n cookie[key] = value;\n }\n });\n\n return cookie;\n}\n\nfunction parseNameValuePair(nameValuePairStr) {\n // Parses name-value-pair according to rfc6265bis draft\n\n var name = \"\";\n var value = \"\";\n var nameValueArr = nameValuePairStr.split(\"=\");\n if (nameValueArr.length > 1) {\n name = nameValueArr.shift();\n value = nameValueArr.join(\"=\"); // everything after the first =, joined by a \"=\" if there was more than one part\n } else {\n value = nameValuePairStr;\n }\n\n return { name: name, value: value };\n}\n\nfunction parse(input, options) {\n options = options\n ? Object.assign({}, defaultParseOptions, options)\n : defaultParseOptions;\n\n if (!input) {\n if (!options.map) {\n return [];\n } else {\n return {};\n }\n }\n\n if (input.headers) {\n if (typeof input.headers.getSetCookie === \"function\") {\n // for fetch responses - they combine headers of the same type in the headers array,\n // but getSetCookie returns an uncombined array\n input = input.headers.getSetCookie();\n } else if (input.headers[\"set-cookie\"]) {\n // fast-path for node.js (which automatically normalizes header names to lower-case\n input = input.headers[\"set-cookie\"];\n } else {\n // slow-path for other environments - see #25\n var sch =\n input.headers[\n Object.keys(input.headers).find(function (key) {\n return key.toLowerCase() === \"set-cookie\";\n })\n ];\n // warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36\n if (!sch && input.headers.cookie && !options.silent) {\n console.warn(\n \"Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning.\"\n );\n }\n input = sch;\n }\n }\n if (!Array.isArray(input)) {\n input = [input];\n }\n\n options = options\n ? Object.assign({}, defaultParseOptions, options)\n : defaultParseOptions;\n\n if (!options.map) {\n return input.filter(isNonEmptyString).map(function (str) {\n return parseString(str, options);\n });\n } else {\n var cookies = {};\n return input.filter(isNonEmptyString).reduce(function (cookies, str) {\n var cookie = parseString(str, options);\n cookies[cookie.name] = cookie;\n return cookies;\n }, cookies);\n }\n}\n\n/*\n Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas\n that are within a single set-cookie field-value, such as in the Expires portion.\n\n This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2\n Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128\n React Native's fetch does this for *every* header, including set-cookie.\n\n Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25\n Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation\n*/\nfunction splitCookiesString(cookiesString) {\n if (Array.isArray(cookiesString)) {\n return cookiesString;\n }\n if (typeof cookiesString !== \"string\") {\n return [];\n }\n\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n\n while (pos < cookiesString.length) {\n start = pos;\n cookiesSeparatorFound = false;\n\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n // ',' is a cookie separator if we have later first '=', not ';' or ','\n lastComma = pos;\n pos += 1;\n\n skipWhitespace();\n nextStart = pos;\n\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1;\n }\n\n // currently special character\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n // we found cookies separator\n cookiesSeparatorFound = true;\n // pos is inside the next cookie, so back up and return it.\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n // in param ',' or param separator ';',\n // we continue from that comma\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n\n return cookiesStrings;\n}\n\nmodule.exports = parse;\nmodule.exports.parse = parse;\nmodule.exports.parseString = parseString;\nmodule.exports.splitCookiesString = splitCookiesString;\n","'use strict';\n\nmodule.exports = function () {\n throw new Error(\n 'ws does not work in the browser. Browser clients must use the native ' +\n 'WebSocket object'\n );\n};\n","import digest from '../runtime/digest.js';\nexport const encoder = new TextEncoder();\nexport const decoder = new TextDecoder();\nconst MAX_INT32 = 2 ** 32;\nexport function concat(...buffers) {\n const size = buffers.reduce((acc, { length }) => acc + length, 0);\n const buf = new Uint8Array(size);\n let i = 0;\n buffers.forEach((buffer) => {\n buf.set(buffer, i);\n i += buffer.length;\n });\n return buf;\n}\nexport function p2s(alg, p2sInput) {\n return concat(encoder.encode(alg), new Uint8Array([0]), p2sInput);\n}\nfunction writeUInt32BE(buf, value, offset) {\n if (value < 0 || value >= MAX_INT32) {\n throw new RangeError(`value must be >= 0 and <= ${MAX_INT32 - 1}. Received ${value}`);\n }\n buf.set([value >>> 24, value >>> 16, value >>> 8, value & 0xff], offset);\n}\nexport function uint64be(value) {\n const high = Math.floor(value / MAX_INT32);\n const low = value % MAX_INT32;\n const buf = new Uint8Array(8);\n writeUInt32BE(buf, high, 0);\n writeUInt32BE(buf, low, 4);\n return buf;\n}\nexport function uint32be(value) {\n const buf = new Uint8Array(4);\n writeUInt32BE(buf, value);\n return buf;\n}\nexport function lengthAndInput(input) {\n return concat(uint32be(input.length), input);\n}\nexport async function concatKdf(secret, bits, value) {\n const iterations = Math.ceil((bits >> 3) / 32);\n const res = new Uint8Array(iterations * 32);\n for (let iter = 0; iter < iterations; iter++) {\n const buf = new Uint8Array(4 + secret.length + value.length);\n buf.set(uint32be(iter + 1));\n buf.set(secret, 4);\n buf.set(value, 4 + secret.length);\n res.set(await digest('sha256', buf), iter * 32);\n }\n return res.slice(0, bits >> 3);\n}\n","import { encoder, decoder } from '../lib/buffer_utils.js';\nexport const encodeBase64 = (input) => {\n let unencoded = input;\n if (typeof unencoded === 'string') {\n unencoded = encoder.encode(unencoded);\n }\n const CHUNK_SIZE = 0x8000;\n const arr = [];\n for (let i = 0; i < unencoded.length; i += CHUNK_SIZE) {\n arr.push(String.fromCharCode.apply(null, unencoded.subarray(i, i + CHUNK_SIZE)));\n }\n return btoa(arr.join(''));\n};\nexport const encode = (input) => {\n return encodeBase64(input).replace(/=/g, '').replace(/\\+/g, '-').replace(/\\//g, '_');\n};\nexport const decodeBase64 = (encoded) => {\n const binary = atob(encoded);\n const bytes = new Uint8Array(binary.length);\n for (let i = 0; i < binary.length; i++) {\n bytes[i] = binary.charCodeAt(i);\n }\n return bytes;\n};\nexport const decode = (input) => {\n let encoded = input;\n if (encoded instanceof Uint8Array) {\n encoded = decoder.decode(encoded);\n }\n encoded = encoded.replace(/-/g, '+').replace(/_/g, '/').replace(/\\s/g, '');\n try {\n return decodeBase64(encoded);\n }\n catch (_a) {\n throw new TypeError('The input to be decoded is not correctly encoded.');\n }\n};\n","import * as base64url from '../runtime/base64url.js';\nexport const encode = base64url.encode;\nexport const decode = base64url.decode;\n","export const resolveFetch = (customFetch) => {\n let _fetch;\n if (customFetch) {\n _fetch = customFetch;\n }\n else if (typeof fetch === 'undefined') {\n _fetch = (...args) => import('@supabase/node-fetch').then(({ default: fetch }) => fetch(...args));\n }\n else {\n _fetch = fetch;\n }\n return (...args) => _fetch(...args);\n};\n//# sourceMappingURL=helper.js.map","export class FunctionsError extends Error {\n constructor(message, name = 'FunctionsError', context) {\n super(message);\n this.name = name;\n this.context = context;\n }\n}\nexport class FunctionsFetchError extends FunctionsError {\n constructor(context) {\n super('Failed to send a request to the Edge Function', 'FunctionsFetchError', context);\n }\n}\nexport class FunctionsRelayError extends FunctionsError {\n constructor(context) {\n super('Relay Error invoking the Edge Function', 'FunctionsRelayError', context);\n }\n}\nexport class FunctionsHttpError extends FunctionsError {\n constructor(context) {\n super('Edge Function returned a non-2xx status code', 'FunctionsHttpError', context);\n }\n}\n// Define the enum for the 'region' property\nexport var FunctionRegion;\n(function (FunctionRegion) {\n FunctionRegion[\"Any\"] = \"any\";\n FunctionRegion[\"ApNortheast1\"] = \"ap-northeast-1\";\n FunctionRegion[\"ApNortheast2\"] = \"ap-northeast-2\";\n FunctionRegion[\"ApSouth1\"] = \"ap-south-1\";\n FunctionRegion[\"ApSoutheast1\"] = \"ap-southeast-1\";\n FunctionRegion[\"ApSoutheast2\"] = \"ap-southeast-2\";\n FunctionRegion[\"CaCentral1\"] = \"ca-central-1\";\n FunctionRegion[\"EuCentral1\"] = \"eu-central-1\";\n FunctionRegion[\"EuWest1\"] = \"eu-west-1\";\n FunctionRegion[\"EuWest2\"] = \"eu-west-2\";\n FunctionRegion[\"EuWest3\"] = \"eu-west-3\";\n FunctionRegion[\"SaEast1\"] = \"sa-east-1\";\n FunctionRegion[\"UsEast1\"] = \"us-east-1\";\n FunctionRegion[\"UsWest1\"] = \"us-west-1\";\n FunctionRegion[\"UsWest2\"] = \"us-west-2\";\n})(FunctionRegion || (FunctionRegion = {}));\n//# sourceMappingURL=types.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { resolveFetch } from './helper';\nimport { FunctionsFetchError, FunctionsHttpError, FunctionsRelayError, FunctionRegion, } from './types';\nexport class FunctionsClient {\n constructor(url, { headers = {}, customFetch, region = FunctionRegion.Any, } = {}) {\n this.url = url;\n this.headers = headers;\n this.region = region;\n this.fetch = resolveFetch(customFetch);\n }\n /**\n * Updates the authorization header\n * @param token - the new jwt token sent in the authorisation header\n */\n setAuth(token) {\n this.headers.Authorization = `Bearer ${token}`;\n }\n /**\n * Invokes a function\n * @param functionName - The name of the Function to invoke.\n * @param options - Options for invoking the Function.\n */\n invoke(functionName, options = {}) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const { headers, method, body: functionArgs } = options;\n let _headers = {};\n let { region } = options;\n if (!region) {\n region = this.region;\n }\n if (region && region !== 'any') {\n _headers['x-region'] = region;\n }\n let body;\n if (functionArgs &&\n ((headers && !Object.prototype.hasOwnProperty.call(headers, 'Content-Type')) || !headers)) {\n if ((typeof Blob !== 'undefined' && functionArgs instanceof Blob) ||\n functionArgs instanceof ArrayBuffer) {\n // will work for File as File inherits Blob\n // also works for ArrayBuffer as it is the same underlying structure as a Blob\n _headers['Content-Type'] = 'application/octet-stream';\n body = functionArgs;\n }\n else if (typeof functionArgs === 'string') {\n // plain string\n _headers['Content-Type'] = 'text/plain';\n body = functionArgs;\n }\n else if (typeof FormData !== 'undefined' && functionArgs instanceof FormData) {\n // don't set content-type headers\n // Request will automatically add the right boundary value\n body = functionArgs;\n }\n else {\n // default, assume this is JSON\n _headers['Content-Type'] = 'application/json';\n body = JSON.stringify(functionArgs);\n }\n }\n const response = yield this.fetch(`${this.url}/${functionName}`, {\n method: method || 'POST',\n // headers priority is (high to low):\n // 1. invoke-level headers\n // 2. client-level headers\n // 3. default Content-Type header\n headers: Object.assign(Object.assign(Object.assign({}, _headers), this.headers), headers),\n body,\n }).catch((fetchError) => {\n throw new FunctionsFetchError(fetchError);\n });\n const isRelayError = response.headers.get('x-relay-error');\n if (isRelayError && isRelayError === 'true') {\n throw new FunctionsRelayError(response);\n }\n if (!response.ok) {\n throw new FunctionsHttpError(response);\n }\n let responseType = ((_a = response.headers.get('Content-Type')) !== null && _a !== void 0 ? _a : 'text/plain').split(';')[0].trim();\n let data;\n if (responseType === 'application/json') {\n data = yield response.json();\n }\n else if (responseType === 'application/octet-stream') {\n data = yield response.blob();\n }\n else if (responseType === 'text/event-stream') {\n data = response;\n }\n else if (responseType === 'multipart/form-data') {\n data = yield response.formData();\n }\n else {\n // default to text\n data = yield response.text();\n }\n return { data, error: null };\n }\n catch (error) {\n return { data: null, error };\n }\n });\n }\n}\n//# sourceMappingURL=FunctionsClient.js.map","import index from '../cjs/index.js'\nconst {\n PostgrestClient,\n PostgrestQueryBuilder,\n PostgrestFilterBuilder,\n PostgrestTransformBuilder,\n PostgrestBuilder,\n} = index\n\nexport {\n PostgrestBuilder,\n PostgrestClient,\n PostgrestFilterBuilder,\n PostgrestQueryBuilder,\n PostgrestTransformBuilder,\n}\n\n// compatibility with CJS output\nexport default {\n PostgrestClient,\n PostgrestQueryBuilder,\n PostgrestFilterBuilder,\n PostgrestTransformBuilder,\n PostgrestBuilder,\n}\n","export const version = '2.10.2';\n//# sourceMappingURL=version.js.map","import { version } from './version';\nexport const DEFAULT_HEADERS = { 'X-Client-Info': `realtime-js/${version}` };\nexport const VSN = '1.0.0';\nexport const DEFAULT_TIMEOUT = 10000;\nexport const WS_CLOSE_NORMAL = 1000;\nexport var SOCKET_STATES;\n(function (SOCKET_STATES) {\n SOCKET_STATES[SOCKET_STATES[\"connecting\"] = 0] = \"connecting\";\n SOCKET_STATES[SOCKET_STATES[\"open\"] = 1] = \"open\";\n SOCKET_STATES[SOCKET_STATES[\"closing\"] = 2] = \"closing\";\n SOCKET_STATES[SOCKET_STATES[\"closed\"] = 3] = \"closed\";\n})(SOCKET_STATES || (SOCKET_STATES = {}));\nexport var CHANNEL_STATES;\n(function (CHANNEL_STATES) {\n CHANNEL_STATES[\"closed\"] = \"closed\";\n CHANNEL_STATES[\"errored\"] = \"errored\";\n CHANNEL_STATES[\"joined\"] = \"joined\";\n CHANNEL_STATES[\"joining\"] = \"joining\";\n CHANNEL_STATES[\"leaving\"] = \"leaving\";\n})(CHANNEL_STATES || (CHANNEL_STATES = {}));\nexport var CHANNEL_EVENTS;\n(function (CHANNEL_EVENTS) {\n CHANNEL_EVENTS[\"close\"] = \"phx_close\";\n CHANNEL_EVENTS[\"error\"] = \"phx_error\";\n CHANNEL_EVENTS[\"join\"] = \"phx_join\";\n CHANNEL_EVENTS[\"reply\"] = \"phx_reply\";\n CHANNEL_EVENTS[\"leave\"] = \"phx_leave\";\n CHANNEL_EVENTS[\"access_token\"] = \"access_token\";\n})(CHANNEL_EVENTS || (CHANNEL_EVENTS = {}));\nexport var TRANSPORTS;\n(function (TRANSPORTS) {\n TRANSPORTS[\"websocket\"] = \"websocket\";\n})(TRANSPORTS || (TRANSPORTS = {}));\nexport var CONNECTION_STATE;\n(function (CONNECTION_STATE) {\n CONNECTION_STATE[\"Connecting\"] = \"connecting\";\n CONNECTION_STATE[\"Open\"] = \"open\";\n CONNECTION_STATE[\"Closing\"] = \"closing\";\n CONNECTION_STATE[\"Closed\"] = \"closed\";\n})(CONNECTION_STATE || (CONNECTION_STATE = {}));\n//# sourceMappingURL=constants.js.map","// This file draws heavily from https://github.com/phoenixframework/phoenix/commit/cf098e9cf7a44ee6479d31d911a97d3c7430c6fe\n// License: https://github.com/phoenixframework/phoenix/blob/master/LICENSE.md\nexport default class Serializer {\n constructor() {\n this.HEADER_LENGTH = 1;\n }\n decode(rawPayload, callback) {\n if (rawPayload.constructor === ArrayBuffer) {\n return callback(this._binaryDecode(rawPayload));\n }\n if (typeof rawPayload === 'string') {\n return callback(JSON.parse(rawPayload));\n }\n return callback({});\n }\n _binaryDecode(buffer) {\n const view = new DataView(buffer);\n const decoder = new TextDecoder();\n return this._decodeBroadcast(buffer, view, decoder);\n }\n _decodeBroadcast(buffer, view, decoder) {\n const topicSize = view.getUint8(1);\n const eventSize = view.getUint8(2);\n let offset = this.HEADER_LENGTH + 2;\n const topic = decoder.decode(buffer.slice(offset, offset + topicSize));\n offset = offset + topicSize;\n const event = decoder.decode(buffer.slice(offset, offset + eventSize));\n offset = offset + eventSize;\n const data = JSON.parse(decoder.decode(buffer.slice(offset, buffer.byteLength)));\n return { ref: null, topic: topic, event: event, payload: data };\n }\n}\n//# sourceMappingURL=serializer.js.map","/**\n * Creates a timer that accepts a `timerCalc` function to perform calculated timeout retries, such as exponential backoff.\n *\n * @example\n * let reconnectTimer = new Timer(() => this.connect(), function(tries){\n * return [1000, 5000, 10000][tries - 1] || 10000\n * })\n * reconnectTimer.scheduleTimeout() // fires after 1000\n * reconnectTimer.scheduleTimeout() // fires after 5000\n * reconnectTimer.reset()\n * reconnectTimer.scheduleTimeout() // fires after 1000\n */\nexport default class Timer {\n constructor(callback, timerCalc) {\n this.callback = callback;\n this.timerCalc = timerCalc;\n this.timer = undefined;\n this.tries = 0;\n this.callback = callback;\n this.timerCalc = timerCalc;\n }\n reset() {\n this.tries = 0;\n clearTimeout(this.timer);\n }\n // Cancels any previous scheduleTimeout and schedules callback\n scheduleTimeout() {\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.tries = this.tries + 1;\n this.callback();\n }, this.timerCalc(this.tries + 1));\n }\n}\n//# sourceMappingURL=timer.js.map","/**\n * Helpers to convert the change Payload into native JS types.\n */\n// Adapted from epgsql (src/epgsql_binary.erl), this module licensed under\n// 3-clause BSD found here: https://raw.githubusercontent.com/epgsql/epgsql/devel/LICENSE\nexport var PostgresTypes;\n(function (PostgresTypes) {\n PostgresTypes[\"abstime\"] = \"abstime\";\n PostgresTypes[\"bool\"] = \"bool\";\n PostgresTypes[\"date\"] = \"date\";\n PostgresTypes[\"daterange\"] = \"daterange\";\n PostgresTypes[\"float4\"] = \"float4\";\n PostgresTypes[\"float8\"] = \"float8\";\n PostgresTypes[\"int2\"] = \"int2\";\n PostgresTypes[\"int4\"] = \"int4\";\n PostgresTypes[\"int4range\"] = \"int4range\";\n PostgresTypes[\"int8\"] = \"int8\";\n PostgresTypes[\"int8range\"] = \"int8range\";\n PostgresTypes[\"json\"] = \"json\";\n PostgresTypes[\"jsonb\"] = \"jsonb\";\n PostgresTypes[\"money\"] = \"money\";\n PostgresTypes[\"numeric\"] = \"numeric\";\n PostgresTypes[\"oid\"] = \"oid\";\n PostgresTypes[\"reltime\"] = \"reltime\";\n PostgresTypes[\"text\"] = \"text\";\n PostgresTypes[\"time\"] = \"time\";\n PostgresTypes[\"timestamp\"] = \"timestamp\";\n PostgresTypes[\"timestamptz\"] = \"timestamptz\";\n PostgresTypes[\"timetz\"] = \"timetz\";\n PostgresTypes[\"tsrange\"] = \"tsrange\";\n PostgresTypes[\"tstzrange\"] = \"tstzrange\";\n})(PostgresTypes || (PostgresTypes = {}));\n/**\n * Takes an array of columns and an object of string values then converts each string value\n * to its mapped type.\n *\n * @param {{name: String, type: String}[]} columns\n * @param {Object} record\n * @param {Object} options The map of various options that can be applied to the mapper\n * @param {Array} options.skipTypes The array of types that should not be converted\n *\n * @example convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n * //=>{ first_name: 'Paul', age: 33 }\n */\nexport const convertChangeData = (columns, record, options = {}) => {\n var _a;\n const skipTypes = (_a = options.skipTypes) !== null && _a !== void 0 ? _a : [];\n return Object.keys(record).reduce((acc, rec_key) => {\n acc[rec_key] = convertColumn(rec_key, columns, record, skipTypes);\n return acc;\n }, {});\n};\n/**\n * Converts the value of an individual column.\n *\n * @param {String} columnName The column that you want to convert\n * @param {{name: String, type: String}[]} columns All of the columns\n * @param {Object} record The map of string values\n * @param {Array} skipTypes An array of types that should not be converted\n * @return {object} Useless information\n *\n * @example convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n * //=> 33\n * @example convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n * //=> \"33\"\n */\nexport const convertColumn = (columnName, columns, record, skipTypes) => {\n const column = columns.find((x) => x.name === columnName);\n const colType = column === null || column === void 0 ? void 0 : column.type;\n const value = record[columnName];\n if (colType && !skipTypes.includes(colType)) {\n return convertCell(colType, value);\n }\n return noop(value);\n};\n/**\n * If the value of the cell is `null`, returns null.\n * Otherwise converts the string value to the correct type.\n * @param {String} type A postgres column type\n * @param {String} value The cell value\n *\n * @example convertCell('bool', 't')\n * //=> true\n * @example convertCell('int8', '10')\n * //=> 10\n * @example convertCell('_int4', '{1,2,3,4}')\n * //=> [1,2,3,4]\n */\nexport const convertCell = (type, value) => {\n // if data type is an array\n if (type.charAt(0) === '_') {\n const dataType = type.slice(1, type.length);\n return toArray(value, dataType);\n }\n // If not null, convert to correct type.\n switch (type) {\n case PostgresTypes.bool:\n return toBoolean(value);\n case PostgresTypes.float4:\n case PostgresTypes.float8:\n case PostgresTypes.int2:\n case PostgresTypes.int4:\n case PostgresTypes.int8:\n case PostgresTypes.numeric:\n case PostgresTypes.oid:\n return toNumber(value);\n case PostgresTypes.json:\n case PostgresTypes.jsonb:\n return toJson(value);\n case PostgresTypes.timestamp:\n return toTimestampString(value); // Format to be consistent with PostgREST\n case PostgresTypes.abstime: // To allow users to cast it based on Timezone\n case PostgresTypes.date: // To allow users to cast it based on Timezone\n case PostgresTypes.daterange:\n case PostgresTypes.int4range:\n case PostgresTypes.int8range:\n case PostgresTypes.money:\n case PostgresTypes.reltime: // To allow users to cast it based on Timezone\n case PostgresTypes.text:\n case PostgresTypes.time: // To allow users to cast it based on Timezone\n case PostgresTypes.timestamptz: // To allow users to cast it based on Timezone\n case PostgresTypes.timetz: // To allow users to cast it based on Timezone\n case PostgresTypes.tsrange:\n case PostgresTypes.tstzrange:\n return noop(value);\n default:\n // Return the value for remaining types\n return noop(value);\n }\n};\nconst noop = (value) => {\n return value;\n};\nexport const toBoolean = (value) => {\n switch (value) {\n case 't':\n return true;\n case 'f':\n return false;\n default:\n return value;\n }\n};\nexport const toNumber = (value) => {\n if (typeof value === 'string') {\n const parsedValue = parseFloat(value);\n if (!Number.isNaN(parsedValue)) {\n return parsedValue;\n }\n }\n return value;\n};\nexport const toJson = (value) => {\n if (typeof value === 'string') {\n try {\n return JSON.parse(value);\n }\n catch (error) {\n console.log(`JSON parse error: ${error}`);\n return value;\n }\n }\n return value;\n};\n/**\n * Converts a Postgres Array into a native JS array\n *\n * @example toArray('{}', 'int4')\n * //=> []\n * @example toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n * //=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']\n * @example toArray([1,2,3,4], 'int4')\n * //=> [1,2,3,4]\n */\nexport const toArray = (value, type) => {\n if (typeof value !== 'string') {\n return value;\n }\n const lastIdx = value.length - 1;\n const closeBrace = value[lastIdx];\n const openBrace = value[0];\n // Confirm value is a Postgres array by checking curly brackets\n if (openBrace === '{' && closeBrace === '}') {\n let arr;\n const valTrim = value.slice(1, lastIdx);\n // TODO: find a better solution to separate Postgres array data\n try {\n arr = JSON.parse('[' + valTrim + ']');\n }\n catch (_) {\n // WARNING: splitting on comma does not cover all edge cases\n arr = valTrim ? valTrim.split(',') : [];\n }\n return arr.map((val) => convertCell(type, val));\n }\n return value;\n};\n/**\n * Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\n * See https://github.com/supabase/supabase/issues/18\n *\n * @example toTimestampString('2019-09-10 00:00:00')\n * //=> '2019-09-10T00:00:00'\n */\nexport const toTimestampString = (value) => {\n if (typeof value === 'string') {\n return value.replace(' ', 'T');\n }\n return value;\n};\nexport const httpEndpointURL = (socketUrl) => {\n let url = socketUrl;\n url = url.replace(/^ws/i, 'http');\n url = url.replace(/(\\/socket\\/websocket|\\/socket|\\/websocket)\\/?$/i, '');\n return url.replace(/\\/+$/, '');\n};\n//# sourceMappingURL=transformers.js.map","import { DEFAULT_TIMEOUT } from '../lib/constants';\nexport default class Push {\n /**\n * Initializes the Push\n *\n * @param channel The Channel\n * @param event The event, for example `\"phx_join\"`\n * @param payload The payload, for example `{user_id: 123}`\n * @param timeout The push timeout in milliseconds\n */\n constructor(channel, event, payload = {}, timeout = DEFAULT_TIMEOUT) {\n this.channel = channel;\n this.event = event;\n this.payload = payload;\n this.timeout = timeout;\n this.sent = false;\n this.timeoutTimer = undefined;\n this.ref = '';\n this.receivedResp = null;\n this.recHooks = [];\n this.refEvent = null;\n }\n resend(timeout) {\n this.timeout = timeout;\n this._cancelRefEvent();\n this.ref = '';\n this.refEvent = null;\n this.receivedResp = null;\n this.sent = false;\n this.send();\n }\n send() {\n if (this._hasReceived('timeout')) {\n return;\n }\n this.startTimeout();\n this.sent = true;\n this.channel.socket.push({\n topic: this.channel.topic,\n event: this.event,\n payload: this.payload,\n ref: this.ref,\n join_ref: this.channel._joinRef(),\n });\n }\n updatePayload(payload) {\n this.payload = Object.assign(Object.assign({}, this.payload), payload);\n }\n receive(status, callback) {\n var _a;\n if (this._hasReceived(status)) {\n callback((_a = this.receivedResp) === null || _a === void 0 ? void 0 : _a.response);\n }\n this.recHooks.push({ status, callback });\n return this;\n }\n startTimeout() {\n if (this.timeoutTimer) {\n return;\n }\n this.ref = this.channel.socket._makeRef();\n this.refEvent = this.channel._replyEventName(this.ref);\n const callback = (payload) => {\n this._cancelRefEvent();\n this._cancelTimeout();\n this.receivedResp = payload;\n this._matchReceive(payload);\n };\n this.channel._on(this.refEvent, {}, callback);\n this.timeoutTimer = setTimeout(() => {\n this.trigger('timeout', {});\n }, this.timeout);\n }\n trigger(status, response) {\n if (this.refEvent)\n this.channel._trigger(this.refEvent, { status, response });\n }\n destroy() {\n this._cancelRefEvent();\n this._cancelTimeout();\n }\n _cancelRefEvent() {\n if (!this.refEvent) {\n return;\n }\n this.channel._off(this.refEvent, {});\n }\n _cancelTimeout() {\n clearTimeout(this.timeoutTimer);\n this.timeoutTimer = undefined;\n }\n _matchReceive({ status, response, }) {\n this.recHooks\n .filter((h) => h.status === status)\n .forEach((h) => h.callback(response));\n }\n _hasReceived(status) {\n return this.receivedResp && this.receivedResp.status === status;\n }\n}\n//# sourceMappingURL=push.js.map","/*\n This file draws heavily from https://github.com/phoenixframework/phoenix/blob/d344ec0a732ab4ee204215b31de69cf4be72e3bf/assets/js/phoenix/presence.js\n License: https://github.com/phoenixframework/phoenix/blob/d344ec0a732ab4ee204215b31de69cf4be72e3bf/LICENSE.md\n*/\nexport var REALTIME_PRESENCE_LISTEN_EVENTS;\n(function (REALTIME_PRESENCE_LISTEN_EVENTS) {\n REALTIME_PRESENCE_LISTEN_EVENTS[\"SYNC\"] = \"sync\";\n REALTIME_PRESENCE_LISTEN_EVENTS[\"JOIN\"] = \"join\";\n REALTIME_PRESENCE_LISTEN_EVENTS[\"LEAVE\"] = \"leave\";\n})(REALTIME_PRESENCE_LISTEN_EVENTS || (REALTIME_PRESENCE_LISTEN_EVENTS = {}));\nexport default class RealtimePresence {\n /**\n * Initializes the Presence.\n *\n * @param channel - The RealtimeChannel\n * @param opts - The options,\n * for example `{events: {state: 'state', diff: 'diff'}}`\n */\n constructor(channel, opts) {\n this.channel = channel;\n this.state = {};\n this.pendingDiffs = [];\n this.joinRef = null;\n this.caller = {\n onJoin: () => { },\n onLeave: () => { },\n onSync: () => { },\n };\n const events = (opts === null || opts === void 0 ? void 0 : opts.events) || {\n state: 'presence_state',\n diff: 'presence_diff',\n };\n this.channel._on(events.state, {}, (newState) => {\n const { onJoin, onLeave, onSync } = this.caller;\n this.joinRef = this.channel._joinRef();\n this.state = RealtimePresence.syncState(this.state, newState, onJoin, onLeave);\n this.pendingDiffs.forEach((diff) => {\n this.state = RealtimePresence.syncDiff(this.state, diff, onJoin, onLeave);\n });\n this.pendingDiffs = [];\n onSync();\n });\n this.channel._on(events.diff, {}, (diff) => {\n const { onJoin, onLeave, onSync } = this.caller;\n if (this.inPendingSyncState()) {\n this.pendingDiffs.push(diff);\n }\n else {\n this.state = RealtimePresence.syncDiff(this.state, diff, onJoin, onLeave);\n onSync();\n }\n });\n this.onJoin((key, currentPresences, newPresences) => {\n this.channel._trigger('presence', {\n event: 'join',\n key,\n currentPresences,\n newPresences,\n });\n });\n this.onLeave((key, currentPresences, leftPresences) => {\n this.channel._trigger('presence', {\n event: 'leave',\n key,\n currentPresences,\n leftPresences,\n });\n });\n this.onSync(() => {\n this.channel._trigger('presence', { event: 'sync' });\n });\n }\n /**\n * Used to sync the list of presences on the server with the\n * client's state.\n *\n * An optional `onJoin` and `onLeave` callback can be provided to\n * react to changes in the client's local presences across\n * disconnects and reconnects with the server.\n *\n * @internal\n */\n static syncState(currentState, newState, onJoin, onLeave) {\n const state = this.cloneDeep(currentState);\n const transformedState = this.transformState(newState);\n const joins = {};\n const leaves = {};\n this.map(state, (key, presences) => {\n if (!transformedState[key]) {\n leaves[key] = presences;\n }\n });\n this.map(transformedState, (key, newPresences) => {\n const currentPresences = state[key];\n if (currentPresences) {\n const newPresenceRefs = newPresences.map((m) => m.presence_ref);\n const curPresenceRefs = currentPresences.map((m) => m.presence_ref);\n const joinedPresences = newPresences.filter((m) => curPresenceRefs.indexOf(m.presence_ref) < 0);\n const leftPresences = currentPresences.filter((m) => newPresenceRefs.indexOf(m.presence_ref) < 0);\n if (joinedPresences.length > 0) {\n joins[key] = joinedPresences;\n }\n if (leftPresences.length > 0) {\n leaves[key] = leftPresences;\n }\n }\n else {\n joins[key] = newPresences;\n }\n });\n return this.syncDiff(state, { joins, leaves }, onJoin, onLeave);\n }\n /**\n * Used to sync a diff of presence join and leave events from the\n * server, as they happen.\n *\n * Like `syncState`, `syncDiff` accepts optional `onJoin` and\n * `onLeave` callbacks to react to a user joining or leaving from a\n * device.\n *\n * @internal\n */\n static syncDiff(state, diff, onJoin, onLeave) {\n const { joins, leaves } = {\n joins: this.transformState(diff.joins),\n leaves: this.transformState(diff.leaves),\n };\n if (!onJoin) {\n onJoin = () => { };\n }\n if (!onLeave) {\n onLeave = () => { };\n }\n this.map(joins, (key, newPresences) => {\n var _a;\n const currentPresences = (_a = state[key]) !== null && _a !== void 0 ? _a : [];\n state[key] = this.cloneDeep(newPresences);\n if (currentPresences.length > 0) {\n const joinedPresenceRefs = state[key].map((m) => m.presence_ref);\n const curPresences = currentPresences.filter((m) => joinedPresenceRefs.indexOf(m.presence_ref) < 0);\n state[key].unshift(...curPresences);\n }\n onJoin(key, currentPresences, newPresences);\n });\n this.map(leaves, (key, leftPresences) => {\n let currentPresences = state[key];\n if (!currentPresences)\n return;\n const presenceRefsToRemove = leftPresences.map((m) => m.presence_ref);\n currentPresences = currentPresences.filter((m) => presenceRefsToRemove.indexOf(m.presence_ref) < 0);\n state[key] = currentPresences;\n onLeave(key, currentPresences, leftPresences);\n if (currentPresences.length === 0)\n delete state[key];\n });\n return state;\n }\n /** @internal */\n static map(obj, func) {\n return Object.getOwnPropertyNames(obj).map((key) => func(key, obj[key]));\n }\n /**\n * Remove 'metas' key\n * Change 'phx_ref' to 'presence_ref'\n * Remove 'phx_ref' and 'phx_ref_prev'\n *\n * @example\n * // returns {\n * abc123: [\n * { presence_ref: '2', user_id: 1 },\n * { presence_ref: '3', user_id: 2 }\n * ]\n * }\n * RealtimePresence.transformState({\n * abc123: {\n * metas: [\n * { phx_ref: '2', phx_ref_prev: '1' user_id: 1 },\n * { phx_ref: '3', user_id: 2 }\n * ]\n * }\n * })\n *\n * @internal\n */\n static transformState(state) {\n state = this.cloneDeep(state);\n return Object.getOwnPropertyNames(state).reduce((newState, key) => {\n const presences = state[key];\n if ('metas' in presences) {\n newState[key] = presences.metas.map((presence) => {\n presence['presence_ref'] = presence['phx_ref'];\n delete presence['phx_ref'];\n delete presence['phx_ref_prev'];\n return presence;\n });\n }\n else {\n newState[key] = presences;\n }\n return newState;\n }, {});\n }\n /** @internal */\n static cloneDeep(obj) {\n return JSON.parse(JSON.stringify(obj));\n }\n /** @internal */\n onJoin(callback) {\n this.caller.onJoin = callback;\n }\n /** @internal */\n onLeave(callback) {\n this.caller.onLeave = callback;\n }\n /** @internal */\n onSync(callback) {\n this.caller.onSync = callback;\n }\n /** @internal */\n inPendingSyncState() {\n return !this.joinRef || this.joinRef !== this.channel._joinRef();\n }\n}\n//# sourceMappingURL=RealtimePresence.js.map","import { CHANNEL_EVENTS, CHANNEL_STATES } from './lib/constants';\nimport Push from './lib/push';\nimport Timer from './lib/timer';\nimport RealtimePresence from './RealtimePresence';\nimport * as Transformers from './lib/transformers';\nimport { httpEndpointURL } from './lib/transformers';\nexport var REALTIME_POSTGRES_CHANGES_LISTEN_EVENT;\n(function (REALTIME_POSTGRES_CHANGES_LISTEN_EVENT) {\n REALTIME_POSTGRES_CHANGES_LISTEN_EVENT[\"ALL\"] = \"*\";\n REALTIME_POSTGRES_CHANGES_LISTEN_EVENT[\"INSERT\"] = \"INSERT\";\n REALTIME_POSTGRES_CHANGES_LISTEN_EVENT[\"UPDATE\"] = \"UPDATE\";\n REALTIME_POSTGRES_CHANGES_LISTEN_EVENT[\"DELETE\"] = \"DELETE\";\n})(REALTIME_POSTGRES_CHANGES_LISTEN_EVENT || (REALTIME_POSTGRES_CHANGES_LISTEN_EVENT = {}));\nexport var REALTIME_LISTEN_TYPES;\n(function (REALTIME_LISTEN_TYPES) {\n REALTIME_LISTEN_TYPES[\"BROADCAST\"] = \"broadcast\";\n REALTIME_LISTEN_TYPES[\"PRESENCE\"] = \"presence\";\n /**\n * listen to Postgres changes.\n */\n REALTIME_LISTEN_TYPES[\"POSTGRES_CHANGES\"] = \"postgres_changes\";\n})(REALTIME_LISTEN_TYPES || (REALTIME_LISTEN_TYPES = {}));\nexport var REALTIME_SUBSCRIBE_STATES;\n(function (REALTIME_SUBSCRIBE_STATES) {\n REALTIME_SUBSCRIBE_STATES[\"SUBSCRIBED\"] = \"SUBSCRIBED\";\n REALTIME_SUBSCRIBE_STATES[\"TIMED_OUT\"] = \"TIMED_OUT\";\n REALTIME_SUBSCRIBE_STATES[\"CLOSED\"] = \"CLOSED\";\n REALTIME_SUBSCRIBE_STATES[\"CHANNEL_ERROR\"] = \"CHANNEL_ERROR\";\n})(REALTIME_SUBSCRIBE_STATES || (REALTIME_SUBSCRIBE_STATES = {}));\nexport const REALTIME_CHANNEL_STATES = CHANNEL_STATES;\n/** A channel is the basic building block of Realtime\n * and narrows the scope of data flow to subscribed clients.\n * You can think of a channel as a chatroom where participants are able to see who's online\n * and send and receive messages.\n */\nexport default class RealtimeChannel {\n constructor(\n /** Topic name can be any string. */\n topic, params = { config: {} }, socket) {\n this.topic = topic;\n this.params = params;\n this.socket = socket;\n this.bindings = {};\n this.state = CHANNEL_STATES.closed;\n this.joinedOnce = false;\n this.pushBuffer = [];\n this.subTopic = topic.replace(/^realtime:/i, '');\n this.params.config = Object.assign({\n broadcast: { ack: false, self: false },\n presence: { key: '' },\n private: false,\n }, params.config);\n this.timeout = this.socket.timeout;\n this.joinPush = new Push(this, CHANNEL_EVENTS.join, this.params, this.timeout);\n this.rejoinTimer = new Timer(() => this._rejoinUntilConnected(), this.socket.reconnectAfterMs);\n this.joinPush.receive('ok', () => {\n this.state = CHANNEL_STATES.joined;\n this.rejoinTimer.reset();\n this.pushBuffer.forEach((pushEvent) => pushEvent.send());\n this.pushBuffer = [];\n });\n this._onClose(() => {\n this.rejoinTimer.reset();\n this.socket.log('channel', `close ${this.topic} ${this._joinRef()}`);\n this.state = CHANNEL_STATES.closed;\n this.socket._remove(this);\n });\n this._onError((reason) => {\n if (this._isLeaving() || this._isClosed()) {\n return;\n }\n this.socket.log('channel', `error ${this.topic}`, reason);\n this.state = CHANNEL_STATES.errored;\n this.rejoinTimer.scheduleTimeout();\n });\n this.joinPush.receive('timeout', () => {\n if (!this._isJoining()) {\n return;\n }\n this.socket.log('channel', `timeout ${this.topic}`, this.joinPush.timeout);\n this.state = CHANNEL_STATES.errored;\n this.rejoinTimer.scheduleTimeout();\n });\n this._on(CHANNEL_EVENTS.reply, {}, (payload, ref) => {\n this._trigger(this._replyEventName(ref), payload);\n });\n this.presence = new RealtimePresence(this);\n this.broadcastEndpointURL =\n httpEndpointURL(this.socket.endPoint) + '/api/broadcast';\n }\n /** Subscribe registers your client with the server */\n subscribe(callback, timeout = this.timeout) {\n var _a, _b;\n if (!this.socket.isConnected()) {\n this.socket.connect();\n }\n if (this.joinedOnce) {\n throw `tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance`;\n }\n else {\n const { config: { broadcast, presence, private: isPrivate }, } = this.params;\n this._onError((e) => callback && callback('CHANNEL_ERROR', e));\n this._onClose(() => callback && callback('CLOSED'));\n const accessTokenPayload = {};\n const config = {\n broadcast,\n presence,\n postgres_changes: (_b = (_a = this.bindings.postgres_changes) === null || _a === void 0 ? void 0 : _a.map((r) => r.filter)) !== null && _b !== void 0 ? _b : [],\n private: isPrivate,\n };\n if (this.socket.accessToken) {\n accessTokenPayload.access_token = this.socket.accessToken;\n }\n this.updateJoinPayload(Object.assign({ config }, accessTokenPayload));\n this.joinedOnce = true;\n this._rejoin(timeout);\n this.joinPush\n .receive('ok', ({ postgres_changes: serverPostgresFilters, }) => {\n var _a;\n this.socket.accessToken &&\n this.socket.setAuth(this.socket.accessToken);\n if (serverPostgresFilters === undefined) {\n callback && callback('SUBSCRIBED');\n return;\n }\n else {\n const clientPostgresBindings = this.bindings.postgres_changes;\n const bindingsLen = (_a = clientPostgresBindings === null || clientPostgresBindings === void 0 ? void 0 : clientPostgresBindings.length) !== null && _a !== void 0 ? _a : 0;\n const newPostgresBindings = [];\n for (let i = 0; i < bindingsLen; i++) {\n const clientPostgresBinding = clientPostgresBindings[i];\n const { filter: { event, schema, table, filter }, } = clientPostgresBinding;\n const serverPostgresFilter = serverPostgresFilters && serverPostgresFilters[i];\n if (serverPostgresFilter &&\n serverPostgresFilter.event === event &&\n serverPostgresFilter.schema === schema &&\n serverPostgresFilter.table === table &&\n serverPostgresFilter.filter === filter) {\n newPostgresBindings.push(Object.assign(Object.assign({}, clientPostgresBinding), { id: serverPostgresFilter.id }));\n }\n else {\n this.unsubscribe();\n callback &&\n callback('CHANNEL_ERROR', new Error('mismatch between server and client bindings for postgres changes'));\n return;\n }\n }\n this.bindings.postgres_changes = newPostgresBindings;\n callback && callback('SUBSCRIBED');\n return;\n }\n })\n .receive('error', (error) => {\n callback &&\n callback('CHANNEL_ERROR', new Error(JSON.stringify(Object.values(error).join(', ') || 'error')));\n return;\n })\n .receive('timeout', () => {\n callback && callback('TIMED_OUT');\n return;\n });\n }\n return this;\n }\n presenceState() {\n return this.presence.state;\n }\n async track(payload, opts = {}) {\n return await this.send({\n type: 'presence',\n event: 'track',\n payload,\n }, opts.timeout || this.timeout);\n }\n async untrack(opts = {}) {\n return await this.send({\n type: 'presence',\n event: 'untrack',\n }, opts);\n }\n on(type, filter, callback) {\n return this._on(type, filter, callback);\n }\n /**\n * Sends a message into the channel.\n *\n * @param args Arguments to send to channel\n * @param args.type The type of event to send\n * @param args.event The name of the event being sent\n * @param args.payload Payload to be sent\n * @param opts Options to be used during the send process\n */\n async send(args, opts = {}) {\n var _a, _b;\n if (!this._canPush() && args.type === 'broadcast') {\n const { event, payload: endpoint_payload } = args;\n const options = {\n method: 'POST',\n headers: {\n Authorization: this.socket.accessToken\n ? `Bearer ${this.socket.accessToken}`\n : '',\n apikey: this.socket.apiKey ? this.socket.apiKey : '',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n messages: [\n { topic: this.subTopic, event, payload: endpoint_payload },\n ],\n }),\n };\n try {\n const response = await this._fetchWithTimeout(this.broadcastEndpointURL, options, (_a = opts.timeout) !== null && _a !== void 0 ? _a : this.timeout);\n await ((_b = response.body) === null || _b === void 0 ? void 0 : _b.cancel());\n return response.ok ? 'ok' : 'error';\n }\n catch (error) {\n if (error.name === 'AbortError') {\n return 'timed out';\n }\n else {\n return 'error';\n }\n }\n }\n else {\n return new Promise((resolve) => {\n var _a, _b, _c;\n const push = this._push(args.type, args, opts.timeout || this.timeout);\n if (args.type === 'broadcast' && !((_c = (_b = (_a = this.params) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.broadcast) === null || _c === void 0 ? void 0 : _c.ack)) {\n resolve('ok');\n }\n push.receive('ok', () => resolve('ok'));\n push.receive('error', () => resolve('error'));\n push.receive('timeout', () => resolve('timed out'));\n });\n }\n }\n updateJoinPayload(payload) {\n this.joinPush.updatePayload(payload);\n }\n /**\n * Leaves the channel.\n *\n * Unsubscribes from server events, and instructs channel to terminate on server.\n * Triggers onClose() hooks.\n *\n * To receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\n * channel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n */\n unsubscribe(timeout = this.timeout) {\n this.state = CHANNEL_STATES.leaving;\n const onClose = () => {\n this.socket.log('channel', `leave ${this.topic}`);\n this._trigger(CHANNEL_EVENTS.close, 'leave', this._joinRef());\n };\n this.rejoinTimer.reset();\n // Destroy joinPush to avoid connection timeouts during unscription phase\n this.joinPush.destroy();\n return new Promise((resolve) => {\n const leavePush = new Push(this, CHANNEL_EVENTS.leave, {}, timeout);\n leavePush\n .receive('ok', () => {\n onClose();\n resolve('ok');\n })\n .receive('timeout', () => {\n onClose();\n resolve('timed out');\n })\n .receive('error', () => {\n resolve('error');\n });\n leavePush.send();\n if (!this._canPush()) {\n leavePush.trigger('ok', {});\n }\n });\n }\n /** @internal */\n async _fetchWithTimeout(url, options, timeout) {\n const controller = new AbortController();\n const id = setTimeout(() => controller.abort(), timeout);\n const response = await this.socket.fetch(url, Object.assign(Object.assign({}, options), { signal: controller.signal }));\n clearTimeout(id);\n return response;\n }\n /** @internal */\n _push(event, payload, timeout = this.timeout) {\n if (!this.joinedOnce) {\n throw `tried to push '${event}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;\n }\n let pushEvent = new Push(this, event, payload, timeout);\n if (this._canPush()) {\n pushEvent.send();\n }\n else {\n pushEvent.startTimeout();\n this.pushBuffer.push(pushEvent);\n }\n return pushEvent;\n }\n /**\n * Overridable message hook\n *\n * Receives all events for specialized message handling before dispatching to the channel callbacks.\n * Must return the payload, modified or unmodified.\n *\n * @internal\n */\n _onMessage(_event, payload, _ref) {\n return payload;\n }\n /** @internal */\n _isMember(topic) {\n return this.topic === topic;\n }\n /** @internal */\n _joinRef() {\n return this.joinPush.ref;\n }\n /** @internal */\n _trigger(type, payload, ref) {\n var _a, _b;\n const typeLower = type.toLocaleLowerCase();\n const { close, error, leave, join } = CHANNEL_EVENTS;\n const events = [close, error, leave, join];\n if (ref && events.indexOf(typeLower) >= 0 && ref !== this._joinRef()) {\n return;\n }\n let handledPayload = this._onMessage(typeLower, payload, ref);\n if (payload && !handledPayload) {\n throw 'channel onMessage callbacks must return the payload, modified or unmodified';\n }\n if (['insert', 'update', 'delete'].includes(typeLower)) {\n (_a = this.bindings.postgres_changes) === null || _a === void 0 ? void 0 : _a.filter((bind) => {\n var _a, _b, _c;\n return (((_a = bind.filter) === null || _a === void 0 ? void 0 : _a.event) === '*' ||\n ((_c = (_b = bind.filter) === null || _b === void 0 ? void 0 : _b.event) === null || _c === void 0 ? void 0 : _c.toLocaleLowerCase()) === typeLower);\n }).map((bind) => bind.callback(handledPayload, ref));\n }\n else {\n (_b = this.bindings[typeLower]) === null || _b === void 0 ? void 0 : _b.filter((bind) => {\n var _a, _b, _c, _d, _e, _f;\n if (['broadcast', 'presence', 'postgres_changes'].includes(typeLower)) {\n if ('id' in bind) {\n const bindId = bind.id;\n const bindEvent = (_a = bind.filter) === null || _a === void 0 ? void 0 : _a.event;\n return (bindId &&\n ((_b = payload.ids) === null || _b === void 0 ? void 0 : _b.includes(bindId)) &&\n (bindEvent === '*' ||\n (bindEvent === null || bindEvent === void 0 ? void 0 : bindEvent.toLocaleLowerCase()) ===\n ((_c = payload.data) === null || _c === void 0 ? void 0 : _c.type.toLocaleLowerCase())));\n }\n else {\n const bindEvent = (_e = (_d = bind === null || bind === void 0 ? void 0 : bind.filter) === null || _d === void 0 ? void 0 : _d.event) === null || _e === void 0 ? void 0 : _e.toLocaleLowerCase();\n return (bindEvent === '*' ||\n bindEvent === ((_f = payload === null || payload === void 0 ? void 0 : payload.event) === null || _f === void 0 ? void 0 : _f.toLocaleLowerCase()));\n }\n }\n else {\n return bind.type.toLocaleLowerCase() === typeLower;\n }\n }).map((bind) => {\n if (typeof handledPayload === 'object' && 'ids' in handledPayload) {\n const postgresChanges = handledPayload.data;\n const { schema, table, commit_timestamp, type, errors } = postgresChanges;\n const enrichedPayload = {\n schema: schema,\n table: table,\n commit_timestamp: commit_timestamp,\n eventType: type,\n new: {},\n old: {},\n errors: errors,\n };\n handledPayload = Object.assign(Object.assign({}, enrichedPayload), this._getPayloadRecords(postgresChanges));\n }\n bind.callback(handledPayload, ref);\n });\n }\n }\n /** @internal */\n _isClosed() {\n return this.state === CHANNEL_STATES.closed;\n }\n /** @internal */\n _isJoined() {\n return this.state === CHANNEL_STATES.joined;\n }\n /** @internal */\n _isJoining() {\n return this.state === CHANNEL_STATES.joining;\n }\n /** @internal */\n _isLeaving() {\n return this.state === CHANNEL_STATES.leaving;\n }\n /** @internal */\n _replyEventName(ref) {\n return `chan_reply_${ref}`;\n }\n /** @internal */\n _on(type, filter, callback) {\n const typeLower = type.toLocaleLowerCase();\n const binding = {\n type: typeLower,\n filter: filter,\n callback: callback,\n };\n if (this.bindings[typeLower]) {\n this.bindings[typeLower].push(binding);\n }\n else {\n this.bindings[typeLower] = [binding];\n }\n return this;\n }\n /** @internal */\n _off(type, filter) {\n const typeLower = type.toLocaleLowerCase();\n this.bindings[typeLower] = this.bindings[typeLower].filter((bind) => {\n var _a;\n return !(((_a = bind.type) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === typeLower &&\n RealtimeChannel.isEqual(bind.filter, filter));\n });\n return this;\n }\n /** @internal */\n static isEqual(obj1, obj2) {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false;\n }\n for (const k in obj1) {\n if (obj1[k] !== obj2[k]) {\n return false;\n }\n }\n return true;\n }\n /** @internal */\n _rejoinUntilConnected() {\n this.rejoinTimer.scheduleTimeout();\n if (this.socket.isConnected()) {\n this._rejoin();\n }\n }\n /**\n * Registers a callback that will be executed when the channel closes.\n *\n * @internal\n */\n _onClose(callback) {\n this._on(CHANNEL_EVENTS.close, {}, callback);\n }\n /**\n * Registers a callback that will be executed when the channel encounteres an error.\n *\n * @internal\n */\n _onError(callback) {\n this._on(CHANNEL_EVENTS.error, {}, (reason) => callback(reason));\n }\n /**\n * Returns `true` if the socket is connected and the channel has been joined.\n *\n * @internal\n */\n _canPush() {\n return this.socket.isConnected() && this._isJoined();\n }\n /** @internal */\n _rejoin(timeout = this.timeout) {\n if (this._isLeaving()) {\n return;\n }\n this.socket._leaveOpenTopic(this.topic);\n this.state = CHANNEL_STATES.joining;\n this.joinPush.resend(timeout);\n }\n /** @internal */\n _getPayloadRecords(payload) {\n const records = {\n new: {},\n old: {},\n };\n if (payload.type === 'INSERT' || payload.type === 'UPDATE') {\n records.new = Transformers.convertChangeData(payload.columns, payload.record);\n }\n if (payload.type === 'UPDATE' || payload.type === 'DELETE') {\n records.old = Transformers.convertChangeData(payload.columns, payload.old_record);\n }\n return records;\n }\n}\n//# sourceMappingURL=RealtimeChannel.js.map","import { CHANNEL_EVENTS, CONNECTION_STATE, DEFAULT_HEADERS, DEFAULT_TIMEOUT, SOCKET_STATES, TRANSPORTS, VSN, WS_CLOSE_NORMAL, } from './lib/constants';\nimport Serializer from './lib/serializer';\nimport Timer from './lib/timer';\nimport { httpEndpointURL } from './lib/transformers';\nimport RealtimeChannel from './RealtimeChannel';\nconst noop = () => { };\nconst NATIVE_WEBSOCKET_AVAILABLE = typeof WebSocket !== 'undefined';\nexport default class RealtimeClient {\n /**\n * Initializes the Socket.\n *\n * @param endPoint The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)\n * @param httpEndpoint The string HTTP endpoint, ie, \"https://example.com\", \"/\" (inherited host & protocol)\n * @param options.transport The Websocket Transport, for example WebSocket.\n * @param options.timeout The default timeout in milliseconds to trigger push timeouts.\n * @param options.params The optional params to pass when connecting.\n * @param options.headers The optional headers to pass when connecting.\n * @param options.heartbeatIntervalMs The millisec interval to send a heartbeat message.\n * @param options.logger The optional function for specialized logging, ie: logger: (kind, msg, data) => { console.log(`${kind}: ${msg}`, data) }\n * @param options.encode The function to encode outgoing messages. Defaults to JSON: (payload, callback) => callback(JSON.stringify(payload))\n * @param options.decode The function to decode incoming messages. Defaults to Serializer's decode.\n * @param options.reconnectAfterMs he optional function that returns the millsec reconnect interval. Defaults to stepped backoff off.\n */\n constructor(endPoint, options) {\n var _a;\n this.accessToken = null;\n this.apiKey = null;\n this.channels = [];\n this.endPoint = '';\n this.httpEndpoint = '';\n this.headers = DEFAULT_HEADERS;\n this.params = {};\n this.timeout = DEFAULT_TIMEOUT;\n this.heartbeatIntervalMs = 30000;\n this.heartbeatTimer = undefined;\n this.pendingHeartbeatRef = null;\n this.ref = 0;\n this.logger = noop;\n this.conn = null;\n this.sendBuffer = [];\n this.serializer = new Serializer();\n this.stateChangeCallbacks = {\n open: [],\n close: [],\n error: [],\n message: [],\n };\n /**\n * Use either custom fetch, if provided, or default fetch to make HTTP requests\n *\n * @internal\n */\n this._resolveFetch = (customFetch) => {\n let _fetch;\n if (customFetch) {\n _fetch = customFetch;\n }\n else if (typeof fetch === 'undefined') {\n _fetch = (...args) => import('@supabase/node-fetch').then(({ default: fetch }) => fetch(...args));\n }\n else {\n _fetch = fetch;\n }\n return (...args) => _fetch(...args);\n };\n this.endPoint = `${endPoint}/${TRANSPORTS.websocket}`;\n this.httpEndpoint = httpEndpointURL(endPoint);\n if (options === null || options === void 0 ? void 0 : options.transport) {\n this.transport = options.transport;\n }\n else {\n this.transport = null;\n }\n if (options === null || options === void 0 ? void 0 : options.params)\n this.params = options.params;\n if (options === null || options === void 0 ? void 0 : options.headers)\n this.headers = Object.assign(Object.assign({}, this.headers), options.headers);\n if (options === null || options === void 0 ? void 0 : options.timeout)\n this.timeout = options.timeout;\n if (options === null || options === void 0 ? void 0 : options.logger)\n this.logger = options.logger;\n if (options === null || options === void 0 ? void 0 : options.heartbeatIntervalMs)\n this.heartbeatIntervalMs = options.heartbeatIntervalMs;\n const accessToken = (_a = options === null || options === void 0 ? void 0 : options.params) === null || _a === void 0 ? void 0 : _a.apikey;\n if (accessToken) {\n this.accessToken = accessToken;\n this.apiKey = accessToken;\n }\n this.reconnectAfterMs = (options === null || options === void 0 ? void 0 : options.reconnectAfterMs)\n ? options.reconnectAfterMs\n : (tries) => {\n return [1000, 2000, 5000, 10000][tries - 1] || 10000;\n };\n this.encode = (options === null || options === void 0 ? void 0 : options.encode)\n ? options.encode\n : (payload, callback) => {\n return callback(JSON.stringify(payload));\n };\n this.decode = (options === null || options === void 0 ? void 0 : options.decode)\n ? options.decode\n : this.serializer.decode.bind(this.serializer);\n this.reconnectTimer = new Timer(async () => {\n this.disconnect();\n this.connect();\n }, this.reconnectAfterMs);\n this.fetch = this._resolveFetch(options === null || options === void 0 ? void 0 : options.fetch);\n }\n /**\n * Connects the socket, unless already connected.\n */\n connect() {\n if (this.conn) {\n return;\n }\n if (this.transport) {\n this.conn = new this.transport(this._endPointURL(), undefined, {\n headers: this.headers,\n });\n return;\n }\n if (NATIVE_WEBSOCKET_AVAILABLE) {\n this.conn = new WebSocket(this._endPointURL());\n this.setupConnection();\n return;\n }\n this.conn = new WSWebSocketDummy(this._endPointURL(), undefined, {\n close: () => {\n this.conn = null;\n },\n });\n import('ws').then(({ default: WS }) => {\n this.conn = new WS(this._endPointURL(), undefined, {\n headers: this.headers,\n });\n this.setupConnection();\n });\n }\n /**\n * Disconnects the socket.\n *\n * @param code A numeric status code to send on disconnect.\n * @param reason A custom reason for the disconnect.\n */\n disconnect(code, reason) {\n if (this.conn) {\n this.conn.onclose = function () { }; // noop\n if (code) {\n this.conn.close(code, reason !== null && reason !== void 0 ? reason : '');\n }\n else {\n this.conn.close();\n }\n this.conn = null;\n // remove open handles\n this.heartbeatTimer && clearInterval(this.heartbeatTimer);\n this.reconnectTimer.reset();\n }\n }\n /**\n * Returns all created channels\n */\n getChannels() {\n return this.channels;\n }\n /**\n * Unsubscribes and removes a single channel\n * @param channel A RealtimeChannel instance\n */\n async removeChannel(channel) {\n const status = await channel.unsubscribe();\n if (this.channels.length === 0) {\n this.disconnect();\n }\n return status;\n }\n /**\n * Unsubscribes and removes all channels\n */\n async removeAllChannels() {\n const values_1 = await Promise.all(this.channels.map((channel) => channel.unsubscribe()));\n this.disconnect();\n return values_1;\n }\n /**\n * Logs the message.\n *\n * For customized logging, `this.logger` can be overridden.\n */\n log(kind, msg, data) {\n this.logger(kind, msg, data);\n }\n /**\n * Returns the current state of the socket.\n */\n connectionState() {\n switch (this.conn && this.conn.readyState) {\n case SOCKET_STATES.connecting:\n return CONNECTION_STATE.Connecting;\n case SOCKET_STATES.open:\n return CONNECTION_STATE.Open;\n case SOCKET_STATES.closing:\n return CONNECTION_STATE.Closing;\n default:\n return CONNECTION_STATE.Closed;\n }\n }\n /**\n * Returns `true` is the connection is open.\n */\n isConnected() {\n return this.connectionState() === CONNECTION_STATE.Open;\n }\n channel(topic, params = { config: {} }) {\n const chan = new RealtimeChannel(`realtime:${topic}`, params, this);\n this.channels.push(chan);\n return chan;\n }\n /**\n * Push out a message if the socket is connected.\n *\n * If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n */\n push(data) {\n const { topic, event, payload, ref } = data;\n const callback = () => {\n this.encode(data, (result) => {\n var _a;\n (_a = this.conn) === null || _a === void 0 ? void 0 : _a.send(result);\n });\n };\n this.log('push', `${topic} ${event} (${ref})`, payload);\n if (this.isConnected()) {\n callback();\n }\n else {\n this.sendBuffer.push(callback);\n }\n }\n /**\n * Sets the JWT access token used for channel subscription authorization and Realtime RLS.\n *\n * @param token A JWT string.\n */\n setAuth(token) {\n this.accessToken = token;\n this.channels.forEach((channel) => {\n token && channel.updateJoinPayload({ access_token: token });\n if (channel.joinedOnce && channel._isJoined()) {\n channel._push(CHANNEL_EVENTS.access_token, { access_token: token });\n }\n });\n }\n /**\n * Return the next message ref, accounting for overflows\n *\n * @internal\n */\n _makeRef() {\n let newRef = this.ref + 1;\n if (newRef === this.ref) {\n this.ref = 0;\n }\n else {\n this.ref = newRef;\n }\n return this.ref.toString();\n }\n /**\n * Unsubscribe from channels with the specified topic.\n *\n * @internal\n */\n _leaveOpenTopic(topic) {\n let dupChannel = this.channels.find((c) => c.topic === topic && (c._isJoined() || c._isJoining()));\n if (dupChannel) {\n this.log('transport', `leaving duplicate topic \"${topic}\"`);\n dupChannel.unsubscribe();\n }\n }\n /**\n * Removes a subscription from the socket.\n *\n * @param channel An open subscription.\n *\n * @internal\n */\n _remove(channel) {\n this.channels = this.channels.filter((c) => c._joinRef() !== channel._joinRef());\n }\n /**\n * Sets up connection handlers.\n *\n * @internal\n */\n setupConnection() {\n if (this.conn) {\n this.conn.binaryType = 'arraybuffer';\n this.conn.onopen = () => this._onConnOpen();\n this.conn.onerror = (error) => this._onConnError(error);\n this.conn.onmessage = (event) => this._onConnMessage(event);\n this.conn.onclose = (event) => this._onConnClose(event);\n }\n }\n /**\n * Returns the URL of the websocket.\n *\n * @internal\n */\n _endPointURL() {\n return this._appendParams(this.endPoint, Object.assign({}, this.params, { vsn: VSN }));\n }\n /** @internal */\n _onConnMessage(rawMessage) {\n this.decode(rawMessage.data, (msg) => {\n let { topic, event, payload, ref } = msg;\n if ((ref && ref === this.pendingHeartbeatRef) ||\n event === (payload === null || payload === void 0 ? void 0 : payload.type)) {\n this.pendingHeartbeatRef = null;\n }\n this.log('receive', `${payload.status || ''} ${topic} ${event} ${(ref && '(' + ref + ')') || ''}`, payload);\n this.channels\n .filter((channel) => channel._isMember(topic))\n .forEach((channel) => channel._trigger(event, payload, ref));\n this.stateChangeCallbacks.message.forEach((callback) => callback(msg));\n });\n }\n /** @internal */\n _onConnOpen() {\n this.log('transport', `connected to ${this._endPointURL()}`);\n this._flushSendBuffer();\n this.reconnectTimer.reset();\n this.heartbeatTimer && clearInterval(this.heartbeatTimer);\n this.heartbeatTimer = setInterval(() => this._sendHeartbeat(), this.heartbeatIntervalMs);\n this.stateChangeCallbacks.open.forEach((callback) => callback());\n }\n /** @internal */\n _onConnClose(event) {\n this.log('transport', 'close', event);\n this._triggerChanError();\n this.heartbeatTimer && clearInterval(this.heartbeatTimer);\n this.reconnectTimer.scheduleTimeout();\n this.stateChangeCallbacks.close.forEach((callback) => callback(event));\n }\n /** @internal */\n _onConnError(error) {\n this.log('transport', error.message);\n this._triggerChanError();\n this.stateChangeCallbacks.error.forEach((callback) => callback(error));\n }\n /** @internal */\n _triggerChanError() {\n this.channels.forEach((channel) => channel._trigger(CHANNEL_EVENTS.error));\n }\n /** @internal */\n _appendParams(url, params) {\n if (Object.keys(params).length === 0) {\n return url;\n }\n const prefix = url.match(/\\?/) ? '&' : '?';\n const query = new URLSearchParams(params);\n return `${url}${prefix}${query}`;\n }\n /** @internal */\n _flushSendBuffer() {\n if (this.isConnected() && this.sendBuffer.length > 0) {\n this.sendBuffer.forEach((callback) => callback());\n this.sendBuffer = [];\n }\n }\n /** @internal */\n _sendHeartbeat() {\n var _a;\n if (!this.isConnected()) {\n return;\n }\n if (this.pendingHeartbeatRef) {\n this.pendingHeartbeatRef = null;\n this.log('transport', 'heartbeat timeout. Attempting to re-establish connection');\n (_a = this.conn) === null || _a === void 0 ? void 0 : _a.close(WS_CLOSE_NORMAL, 'hearbeat timeout');\n return;\n }\n this.pendingHeartbeatRef = this._makeRef();\n this.push({\n topic: 'phoenix',\n event: 'heartbeat',\n payload: {},\n ref: this.pendingHeartbeatRef,\n });\n this.setAuth(this.accessToken);\n }\n}\nclass WSWebSocketDummy {\n constructor(address, _protocols, options) {\n this.binaryType = 'arraybuffer';\n this.onclose = () => { };\n this.onerror = () => { };\n this.onmessage = () => { };\n this.onopen = () => { };\n this.readyState = SOCKET_STATES.connecting;\n this.send = () => { };\n this.url = null;\n this.url = address;\n this.close = options.close;\n }\n}\n//# sourceMappingURL=RealtimeClient.js.map","import RealtimeClient from './RealtimeClient';\nimport RealtimeChannel, { REALTIME_LISTEN_TYPES, REALTIME_POSTGRES_CHANGES_LISTEN_EVENT, REALTIME_SUBSCRIBE_STATES, REALTIME_CHANNEL_STATES, } from './RealtimeChannel';\nimport RealtimePresence, { REALTIME_PRESENCE_LISTEN_EVENTS, } from './RealtimePresence';\nexport { RealtimePresence, RealtimeChannel, RealtimeClient, REALTIME_LISTEN_TYPES, REALTIME_POSTGRES_CHANGES_LISTEN_EVENT, REALTIME_PRESENCE_LISTEN_EVENTS, REALTIME_SUBSCRIBE_STATES, REALTIME_CHANNEL_STATES, };\n//# sourceMappingURL=index.js.map","export class StorageError extends Error {\n constructor(message) {\n super(message);\n this.__isStorageError = true;\n this.name = 'StorageError';\n }\n}\nexport function isStorageError(error) {\n return typeof error === 'object' && error !== null && '__isStorageError' in error;\n}\nexport class StorageApiError extends StorageError {\n constructor(message, status) {\n super(message);\n this.name = 'StorageApiError';\n this.status = status;\n }\n toJSON() {\n return {\n name: this.name,\n message: this.message,\n status: this.status,\n };\n }\n}\nexport class StorageUnknownError extends StorageError {\n constructor(message, originalError) {\n super(message);\n this.name = 'StorageUnknownError';\n this.originalError = originalError;\n }\n}\n//# sourceMappingURL=errors.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nexport const resolveFetch = (customFetch) => {\n let _fetch;\n if (customFetch) {\n _fetch = customFetch;\n }\n else if (typeof fetch === 'undefined') {\n _fetch = (...args) => import('@supabase/node-fetch').then(({ default: fetch }) => fetch(...args));\n }\n else {\n _fetch = fetch;\n }\n return (...args) => _fetch(...args);\n};\nexport const resolveResponse = () => __awaiter(void 0, void 0, void 0, function* () {\n if (typeof Response === 'undefined') {\n // @ts-ignore\n return (yield import('@supabase/node-fetch')).Response;\n }\n return Response;\n});\n//# sourceMappingURL=helpers.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { StorageApiError, StorageUnknownError } from './errors';\nimport { resolveResponse } from './helpers';\nconst _getErrorMessage = (err) => err.msg || err.message || err.error_description || err.error || JSON.stringify(err);\nconst handleError = (error, reject) => __awaiter(void 0, void 0, void 0, function* () {\n const Res = yield resolveResponse();\n if (error instanceof Res) {\n error\n .json()\n .then((err) => {\n reject(new StorageApiError(_getErrorMessage(err), error.status || 500));\n })\n .catch((err) => {\n reject(new StorageUnknownError(_getErrorMessage(err), err));\n });\n }\n else {\n reject(new StorageUnknownError(_getErrorMessage(error), error));\n }\n});\nconst _getRequestParams = (method, options, parameters, body) => {\n const params = { method, headers: (options === null || options === void 0 ? void 0 : options.headers) || {} };\n if (method === 'GET') {\n return params;\n }\n params.headers = Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers);\n params.body = JSON.stringify(body);\n return Object.assign(Object.assign({}, params), parameters);\n};\nfunction _handleRequest(fetcher, method, url, options, parameters, body) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n fetcher(url, _getRequestParams(method, options, parameters, body))\n .then((result) => {\n if (!result.ok)\n throw result;\n if (options === null || options === void 0 ? void 0 : options.noResolveJson)\n return result;\n return result.json();\n })\n .then((data) => resolve(data))\n .catch((error) => handleError(error, reject));\n });\n });\n}\nexport function get(fetcher, url, options, parameters) {\n return __awaiter(this, void 0, void 0, function* () {\n return _handleRequest(fetcher, 'GET', url, options, parameters);\n });\n}\nexport function post(fetcher, url, body, options, parameters) {\n return __awaiter(this, void 0, void 0, function* () {\n return _handleRequest(fetcher, 'POST', url, options, parameters, body);\n });\n}\nexport function put(fetcher, url, body, options, parameters) {\n return __awaiter(this, void 0, void 0, function* () {\n return _handleRequest(fetcher, 'PUT', url, options, parameters, body);\n });\n}\nexport function remove(fetcher, url, body, options, parameters) {\n return __awaiter(this, void 0, void 0, function* () {\n return _handleRequest(fetcher, 'DELETE', url, options, parameters, body);\n });\n}\n//# sourceMappingURL=fetch.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { isStorageError, StorageError } from '../lib/errors';\nimport { get, post, remove } from '../lib/fetch';\nimport { resolveFetch } from '../lib/helpers';\nconst DEFAULT_SEARCH_OPTIONS = {\n limit: 100,\n offset: 0,\n sortBy: {\n column: 'name',\n order: 'asc',\n },\n};\nconst DEFAULT_FILE_OPTIONS = {\n cacheControl: '3600',\n contentType: 'text/plain;charset=UTF-8',\n upsert: false,\n};\nexport default class StorageFileApi {\n constructor(url, headers = {}, bucketId, fetch) {\n this.url = url;\n this.headers = headers;\n this.bucketId = bucketId;\n this.fetch = resolveFetch(fetch);\n }\n /**\n * Uploads a file to an existing bucket or replaces an existing file at the specified path with a new one.\n *\n * @param method HTTP method.\n * @param path The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.\n * @param fileBody The body of the file to be stored in the bucket.\n */\n uploadOrUpdate(method, path, fileBody, fileOptions) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n let body;\n const options = Object.assign(Object.assign({}, DEFAULT_FILE_OPTIONS), fileOptions);\n const headers = Object.assign(Object.assign({}, this.headers), (method === 'POST' && { 'x-upsert': String(options.upsert) }));\n if (typeof Blob !== 'undefined' && fileBody instanceof Blob) {\n body = new FormData();\n body.append('cacheControl', options.cacheControl);\n body.append('', fileBody);\n }\n else if (typeof FormData !== 'undefined' && fileBody instanceof FormData) {\n body = fileBody;\n body.append('cacheControl', options.cacheControl);\n }\n else {\n body = fileBody;\n headers['cache-control'] = `max-age=${options.cacheControl}`;\n headers['content-type'] = options.contentType;\n }\n const cleanPath = this._removeEmptyFolders(path);\n const _path = this._getFinalPath(cleanPath);\n const res = yield this.fetch(`${this.url}/object/${_path}`, Object.assign({ method, body: body, headers }, ((options === null || options === void 0 ? void 0 : options.duplex) ? { duplex: options.duplex } : {})));\n const data = yield res.json();\n if (res.ok) {\n return {\n data: { path: cleanPath, id: data.Id, fullPath: data.Key },\n error: null,\n };\n }\n else {\n const error = data;\n return { data: null, error };\n }\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Uploads a file to an existing bucket.\n *\n * @param path The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.\n * @param fileBody The body of the file to be stored in the bucket.\n */\n upload(path, fileBody, fileOptions) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.uploadOrUpdate('POST', path, fileBody, fileOptions);\n });\n }\n /**\n * Upload a file with a token generated from `createSignedUploadUrl`.\n * @param path The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.\n * @param token The token generated from `createSignedUploadUrl`\n * @param fileBody The body of the file to be stored in the bucket.\n */\n uploadToSignedUrl(path, token, fileBody, fileOptions) {\n return __awaiter(this, void 0, void 0, function* () {\n const cleanPath = this._removeEmptyFolders(path);\n const _path = this._getFinalPath(cleanPath);\n const url = new URL(this.url + `/object/upload/sign/${_path}`);\n url.searchParams.set('token', token);\n try {\n let body;\n const options = Object.assign({ upsert: DEFAULT_FILE_OPTIONS.upsert }, fileOptions);\n const headers = Object.assign(Object.assign({}, this.headers), { 'x-upsert': String(options.upsert) });\n if (typeof Blob !== 'undefined' && fileBody instanceof Blob) {\n body = new FormData();\n body.append('cacheControl', options.cacheControl);\n body.append('', fileBody);\n }\n else if (typeof FormData !== 'undefined' && fileBody instanceof FormData) {\n body = fileBody;\n body.append('cacheControl', options.cacheControl);\n }\n else {\n body = fileBody;\n headers['cache-control'] = `max-age=${options.cacheControl}`;\n headers['content-type'] = options.contentType;\n }\n const res = yield this.fetch(url.toString(), {\n method: 'PUT',\n body: body,\n headers,\n });\n const data = yield res.json();\n if (res.ok) {\n return {\n data: { path: cleanPath, fullPath: data.Key },\n error: null,\n };\n }\n else {\n const error = data;\n return { data: null, error };\n }\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Creates a signed upload URL.\n * Signed upload URLs can be used to upload files to the bucket without further authentication.\n * They are valid for 2 hours.\n * @param path The file path, including the current file name. For example `folder/image.png`.\n * @param options.upsert If set to true, allows the file to be overwritten if it already exists.\n */\n createSignedUploadUrl(path, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n let _path = this._getFinalPath(path);\n const headers = Object.assign({}, this.headers);\n if (options === null || options === void 0 ? void 0 : options.upsert) {\n headers['x-upsert'] = 'true';\n }\n const data = yield post(this.fetch, `${this.url}/object/upload/sign/${_path}`, {}, { headers });\n const url = new URL(this.url + data.url);\n const token = url.searchParams.get('token');\n if (!token) {\n throw new StorageError('No token returned by API');\n }\n return { data: { signedUrl: url.toString(), path, token }, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Replaces an existing file at the specified path with a new one.\n *\n * @param path The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update.\n * @param fileBody The body of the file to be stored in the bucket.\n */\n update(path, fileBody, fileOptions) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.uploadOrUpdate('PUT', path, fileBody, fileOptions);\n });\n }\n /**\n * Moves an existing file to a new path in the same bucket.\n *\n * @param fromPath The original file path, including the current file name. For example `folder/image.png`.\n * @param toPath The new file path, including the new file name. For example `folder/image-new.png`.\n * @param options The destination options.\n */\n move(fromPath, toPath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield post(this.fetch, `${this.url}/object/move`, {\n bucketId: this.bucketId,\n sourceKey: fromPath,\n destinationKey: toPath,\n destinationBucket: options === null || options === void 0 ? void 0 : options.destinationBucket,\n }, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Copies an existing file to a new path in the same bucket.\n *\n * @param fromPath The original file path, including the current file name. For example `folder/image.png`.\n * @param toPath The new file path, including the new file name. For example `folder/image-copy.png`.\n * @param options The destination options.\n */\n copy(fromPath, toPath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield post(this.fetch, `${this.url}/object/copy`, {\n bucketId: this.bucketId,\n sourceKey: fromPath,\n destinationKey: toPath,\n destinationBucket: options === null || options === void 0 ? void 0 : options.destinationBucket,\n }, { headers: this.headers });\n return { data: { path: data.Key }, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Creates a signed URL. Use a signed URL to share a file for a fixed amount of time.\n *\n * @param path The file path, including the current file name. For example `folder/image.png`.\n * @param expiresIn The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n * @param options.download triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n * @param options.transform Transform the asset before serving it to the client.\n */\n createSignedUrl(path, expiresIn, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n let _path = this._getFinalPath(path);\n let data = yield post(this.fetch, `${this.url}/object/sign/${_path}`, Object.assign({ expiresIn }, ((options === null || options === void 0 ? void 0 : options.transform) ? { transform: options.transform } : {})), { headers: this.headers });\n const downloadQueryParam = (options === null || options === void 0 ? void 0 : options.download)\n ? `&download=${options.download === true ? '' : options.download}`\n : '';\n const signedUrl = encodeURI(`${this.url}${data.signedURL}${downloadQueryParam}`);\n data = { signedUrl };\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time.\n *\n * @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.\n * @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.\n * @param options.download triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n */\n createSignedUrls(paths, expiresIn, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield post(this.fetch, `${this.url}/object/sign/${this.bucketId}`, { expiresIn, paths }, { headers: this.headers });\n const downloadQueryParam = (options === null || options === void 0 ? void 0 : options.download)\n ? `&download=${options.download === true ? '' : options.download}`\n : '';\n return {\n data: data.map((datum) => (Object.assign(Object.assign({}, datum), { signedUrl: datum.signedURL\n ? encodeURI(`${this.url}${datum.signedURL}${downloadQueryParam}`)\n : null }))),\n error: null,\n };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Downloads a file from a private bucket. For public buckets, make a request to the URL returned from `getPublicUrl` instead.\n *\n * @param path The full path and file name of the file to be downloaded. For example `folder/image.png`.\n * @param options.transform Transform the asset before serving it to the client.\n */\n download(path, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const wantsTransformation = typeof (options === null || options === void 0 ? void 0 : options.transform) !== 'undefined';\n const renderPath = wantsTransformation ? 'render/image/authenticated' : 'object';\n const transformationQuery = this.transformOptsToQueryString((options === null || options === void 0 ? void 0 : options.transform) || {});\n const queryString = transformationQuery ? `?${transformationQuery}` : '';\n try {\n const _path = this._getFinalPath(path);\n const res = yield get(this.fetch, `${this.url}/${renderPath}/${_path}${queryString}`, {\n headers: this.headers,\n noResolveJson: true,\n });\n const data = yield res.blob();\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\n * This function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset.\n *\n * @param path The path and name of the file to generate the public URL for. For example `folder/image.png`.\n * @param options.download Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n * @param options.transform Transform the asset before serving it to the client.\n */\n getPublicUrl(path, options) {\n const _path = this._getFinalPath(path);\n const _queryString = [];\n const downloadQueryParam = (options === null || options === void 0 ? void 0 : options.download)\n ? `download=${options.download === true ? '' : options.download}`\n : '';\n if (downloadQueryParam !== '') {\n _queryString.push(downloadQueryParam);\n }\n const wantsTransformation = typeof (options === null || options === void 0 ? void 0 : options.transform) !== 'undefined';\n const renderPath = wantsTransformation ? 'render/image' : 'object';\n const transformationQuery = this.transformOptsToQueryString((options === null || options === void 0 ? void 0 : options.transform) || {});\n if (transformationQuery !== '') {\n _queryString.push(transformationQuery);\n }\n let queryString = _queryString.join('&');\n if (queryString !== '') {\n queryString = `?${queryString}`;\n }\n return {\n data: { publicUrl: encodeURI(`${this.url}/${renderPath}/public/${_path}${queryString}`) },\n };\n }\n /**\n * Deletes files within the same bucket\n *\n * @param paths An array of files to delete, including the path and file name. For example [`'folder/image.png'`].\n */\n remove(paths) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield remove(this.fetch, `${this.url}/object/${this.bucketId}`, { prefixes: paths }, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Get file metadata\n * @param id the file id to retrieve metadata\n */\n // async getMetadata(\n // id: string\n // ): Promise<\n // | {\n // data: Metadata\n // error: null\n // }\n // | {\n // data: null\n // error: StorageError\n // }\n // > {\n // try {\n // const data = await get(this.fetch, `${this.url}/metadata/${id}`, { headers: this.headers })\n // return { data, error: null }\n // } catch (error) {\n // if (isStorageError(error)) {\n // return { data: null, error }\n // }\n // throw error\n // }\n // }\n /**\n * Update file metadata\n * @param id the file id to update metadata\n * @param meta the new file metadata\n */\n // async updateMetadata(\n // id: string,\n // meta: Metadata\n // ): Promise<\n // | {\n // data: Metadata\n // error: null\n // }\n // | {\n // data: null\n // error: StorageError\n // }\n // > {\n // try {\n // const data = await post(\n // this.fetch,\n // `${this.url}/metadata/${id}`,\n // { ...meta },\n // { headers: this.headers }\n // )\n // return { data, error: null }\n // } catch (error) {\n // if (isStorageError(error)) {\n // return { data: null, error }\n // }\n // throw error\n // }\n // }\n /**\n * Lists all the files within a bucket.\n * @param path The folder path.\n */\n list(path, options, parameters) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const body = Object.assign(Object.assign(Object.assign({}, DEFAULT_SEARCH_OPTIONS), options), { prefix: path || '' });\n const data = yield post(this.fetch, `${this.url}/object/list/${this.bucketId}`, body, { headers: this.headers }, parameters);\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n _getFinalPath(path) {\n return `${this.bucketId}/${path}`;\n }\n _removeEmptyFolders(path) {\n return path.replace(/^\\/|\\/$/g, '').replace(/\\/+/g, '/');\n }\n transformOptsToQueryString(transform) {\n const params = [];\n if (transform.width) {\n params.push(`width=${transform.width}`);\n }\n if (transform.height) {\n params.push(`height=${transform.height}`);\n }\n if (transform.resize) {\n params.push(`resize=${transform.resize}`);\n }\n if (transform.format) {\n params.push(`format=${transform.format}`);\n }\n if (transform.quality) {\n params.push(`quality=${transform.quality}`);\n }\n return params.join('&');\n }\n}\n//# sourceMappingURL=StorageFileApi.js.map","// generated by genversion\nexport const version = '2.6.0';\n//# sourceMappingURL=version.js.map","import { version } from './version';\nexport const DEFAULT_HEADERS = { 'X-Client-Info': `storage-js/${version}` };\n//# sourceMappingURL=constants.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { DEFAULT_HEADERS } from '../lib/constants';\nimport { isStorageError } from '../lib/errors';\nimport { get, post, put, remove } from '../lib/fetch';\nimport { resolveFetch } from '../lib/helpers';\nexport default class StorageBucketApi {\n constructor(url, headers = {}, fetch) {\n this.url = url;\n this.headers = Object.assign(Object.assign({}, DEFAULT_HEADERS), headers);\n this.fetch = resolveFetch(fetch);\n }\n /**\n * Retrieves the details of all Storage buckets within an existing project.\n */\n listBuckets() {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield get(this.fetch, `${this.url}/bucket`, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Retrieves the details of an existing Storage bucket.\n *\n * @param id The unique identifier of the bucket you would like to retrieve.\n */\n getBucket(id) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield get(this.fetch, `${this.url}/bucket/${id}`, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Creates a new Storage bucket\n *\n * @param id A unique identifier for the bucket you are creating.\n * @param options.public The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private.\n * @param options.fileSizeLimit specifies the max file size in bytes that can be uploaded to this bucket.\n * The global file size limit takes precedence over this value.\n * The default value is null, which doesn't set a per bucket file size limit.\n * @param options.allowedMimeTypes specifies the allowed mime types that this bucket can accept during upload.\n * The default value is null, which allows files with all mime types to be uploaded.\n * Each mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n * @returns newly created bucket id\n */\n createBucket(id, options = {\n public: false,\n }) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield post(this.fetch, `${this.url}/bucket`, {\n id,\n name: id,\n public: options.public,\n file_size_limit: options.fileSizeLimit,\n allowed_mime_types: options.allowedMimeTypes,\n }, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Updates a Storage bucket\n *\n * @param id A unique identifier for the bucket you are updating.\n * @param options.public The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n * @param options.fileSizeLimit specifies the max file size in bytes that can be uploaded to this bucket.\n * The global file size limit takes precedence over this value.\n * The default value is null, which doesn't set a per bucket file size limit.\n * @param options.allowedMimeTypes specifies the allowed mime types that this bucket can accept during upload.\n * The default value is null, which allows files with all mime types to be uploaded.\n * Each mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n */\n updateBucket(id, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield put(this.fetch, `${this.url}/bucket/${id}`, {\n id,\n name: id,\n public: options.public,\n file_size_limit: options.fileSizeLimit,\n allowed_mime_types: options.allowedMimeTypes,\n }, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Removes all objects inside a single bucket.\n *\n * @param id The unique identifier of the bucket you would like to empty.\n */\n emptyBucket(id) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield post(this.fetch, `${this.url}/bucket/${id}/empty`, {}, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\n * You must first `empty()` the bucket.\n *\n * @param id The unique identifier of the bucket you would like to delete.\n */\n deleteBucket(id) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const data = yield remove(this.fetch, `${this.url}/bucket/${id}`, {}, { headers: this.headers });\n return { data, error: null };\n }\n catch (error) {\n if (isStorageError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n}\n//# sourceMappingURL=StorageBucketApi.js.map","import StorageFileApi from './packages/StorageFileApi';\nimport StorageBucketApi from './packages/StorageBucketApi';\nexport class StorageClient extends StorageBucketApi {\n constructor(url, headers = {}, fetch) {\n super(url, headers, fetch);\n }\n /**\n * Perform file operation in a bucket.\n *\n * @param id The bucket id to operate on.\n */\n from(id) {\n return new StorageFileApi(this.url, this.headers, id, this.fetch);\n }\n}\n//# sourceMappingURL=StorageClient.js.map","export const version = '2.44.3';\n//# sourceMappingURL=version.js.map","import { version } from './version';\nlet JS_ENV = '';\n// @ts-ignore\nif (typeof Deno !== 'undefined') {\n JS_ENV = 'deno';\n}\nelse if (typeof document !== 'undefined') {\n JS_ENV = 'web';\n}\nelse if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n JS_ENV = 'react-native';\n}\nelse {\n JS_ENV = 'node';\n}\nexport const DEFAULT_HEADERS = { 'X-Client-Info': `supabase-js-${JS_ENV}/${version}` };\nexport const DEFAULT_GLOBAL_OPTIONS = {\n headers: DEFAULT_HEADERS,\n};\nexport const DEFAULT_DB_OPTIONS = {\n schema: 'public',\n};\nexport const DEFAULT_AUTH_OPTIONS = {\n autoRefreshToken: true,\n persistSession: true,\n detectSessionInUrl: true,\n flowType: 'implicit',\n};\nexport const DEFAULT_REALTIME_OPTIONS = {};\n//# sourceMappingURL=constants.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n// @ts-ignore\nimport nodeFetch, { Headers as NodeFetchHeaders } from '@supabase/node-fetch';\nexport const resolveFetch = (customFetch) => {\n let _fetch;\n if (customFetch) {\n _fetch = customFetch;\n }\n else if (typeof fetch === 'undefined') {\n _fetch = nodeFetch;\n }\n else {\n _fetch = fetch;\n }\n return (...args) => _fetch(...args);\n};\nexport const resolveHeadersConstructor = () => {\n if (typeof Headers === 'undefined') {\n return NodeFetchHeaders;\n }\n return Headers;\n};\nexport const fetchWithAuth = (supabaseKey, getAccessToken, customFetch) => {\n const fetch = resolveFetch(customFetch);\n const HeadersConstructor = resolveHeadersConstructor();\n return (input, init) => __awaiter(void 0, void 0, void 0, function* () {\n var _a;\n const accessToken = (_a = (yield getAccessToken())) !== null && _a !== void 0 ? _a : supabaseKey;\n let headers = new HeadersConstructor(init === null || init === void 0 ? void 0 : init.headers);\n if (!headers.has('apikey')) {\n headers.set('apikey', supabaseKey);\n }\n if (!headers.has('Authorization')) {\n headers.set('Authorization', `Bearer ${accessToken}`);\n }\n return fetch(input, Object.assign(Object.assign({}, init), { headers }));\n });\n};\n//# sourceMappingURL=fetch.js.map","export function uuid() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\nexport function stripTrailingSlash(url) {\n return url.replace(/\\/$/, '');\n}\nexport const isBrowser = () => typeof window !== 'undefined';\nexport function applySettingDefaults(options, defaults) {\n const { db: dbOptions, auth: authOptions, realtime: realtimeOptions, global: globalOptions, } = options;\n const { db: DEFAULT_DB_OPTIONS, auth: DEFAULT_AUTH_OPTIONS, realtime: DEFAULT_REALTIME_OPTIONS, global: DEFAULT_GLOBAL_OPTIONS, } = defaults;\n return {\n db: Object.assign(Object.assign({}, DEFAULT_DB_OPTIONS), dbOptions),\n auth: Object.assign(Object.assign({}, DEFAULT_AUTH_OPTIONS), authOptions),\n realtime: Object.assign(Object.assign({}, DEFAULT_REALTIME_OPTIONS), realtimeOptions),\n global: Object.assign(Object.assign({}, DEFAULT_GLOBAL_OPTIONS), globalOptions),\n };\n}\n//# sourceMappingURL=helpers.js.map","export const version = '2.64.2';\n//# sourceMappingURL=version.js.map","import { version } from './version';\nexport const GOTRUE_URL = 'http://localhost:9999';\nexport const STORAGE_KEY = 'supabase.auth.token';\nexport const AUDIENCE = '';\nexport const DEFAULT_HEADERS = { 'X-Client-Info': `gotrue-js/${version}` };\nexport const EXPIRY_MARGIN = 10; // in seconds\nexport const NETWORK_FAILURE = {\n MAX_RETRIES: 10,\n RETRY_INTERVAL: 2, // in deciseconds\n};\nexport const API_VERSION_HEADER_NAME = 'X-Supabase-Api-Version';\nexport const API_VERSIONS = {\n '2024-01-01': {\n timestamp: Date.parse('2024-01-01T00:00:00.0Z'),\n name: '2024-01-01',\n },\n};\n//# sourceMappingURL=constants.js.map","import { API_VERSION_HEADER_NAME } from './constants';\nexport function expiresAt(expiresIn) {\n const timeNow = Math.round(Date.now() / 1000);\n return timeNow + expiresIn;\n}\nexport function uuid() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n const r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\nexport const isBrowser = () => typeof document !== 'undefined';\nconst localStorageWriteTests = {\n tested: false,\n writable: false,\n};\n/**\n * Checks whether localStorage is supported on this browser.\n */\nexport const supportsLocalStorage = () => {\n if (!isBrowser()) {\n return false;\n }\n try {\n if (typeof globalThis.localStorage !== 'object') {\n return false;\n }\n }\n catch (e) {\n // DOM exception when accessing `localStorage`\n return false;\n }\n if (localStorageWriteTests.tested) {\n return localStorageWriteTests.writable;\n }\n const randomKey = `lswt-${Math.random()}${Math.random()}`;\n try {\n globalThis.localStorage.setItem(randomKey, randomKey);\n globalThis.localStorage.removeItem(randomKey);\n localStorageWriteTests.tested = true;\n localStorageWriteTests.writable = true;\n }\n catch (e) {\n // localStorage can't be written to\n // https://www.chromium.org/for-testers/bug-reporting-guidelines/uncaught-securityerror-failed-to-read-the-localstorage-property-from-window-access-is-denied-for-this-document\n localStorageWriteTests.tested = true;\n localStorageWriteTests.writable = false;\n }\n return localStorageWriteTests.writable;\n};\n/**\n * Extracts parameters encoded in the URL both in the query and fragment.\n */\nexport function parseParametersFromURL(href) {\n const result = {};\n const url = new URL(href);\n if (url.hash && url.hash[0] === '#') {\n try {\n const hashSearchParams = new URLSearchParams(url.hash.substring(1));\n hashSearchParams.forEach((value, key) => {\n result[key] = value;\n });\n }\n catch (e) {\n // hash is not a query string\n }\n }\n // search parameters take precedence over hash parameters\n url.searchParams.forEach((value, key) => {\n result[key] = value;\n });\n return result;\n}\nexport const resolveFetch = (customFetch) => {\n let _fetch;\n if (customFetch) {\n _fetch = customFetch;\n }\n else if (typeof fetch === 'undefined') {\n _fetch = (...args) => import('@supabase/node-fetch').then(({ default: fetch }) => fetch(...args));\n }\n else {\n _fetch = fetch;\n }\n return (...args) => _fetch(...args);\n};\nexport const looksLikeFetchResponse = (maybeResponse) => {\n return (typeof maybeResponse === 'object' &&\n maybeResponse !== null &&\n 'status' in maybeResponse &&\n 'ok' in maybeResponse &&\n 'json' in maybeResponse &&\n typeof maybeResponse.json === 'function');\n};\n// Storage helpers\nexport const setItemAsync = async (storage, key, data) => {\n await storage.setItem(key, JSON.stringify(data));\n};\nexport const getItemAsync = async (storage, key) => {\n const value = await storage.getItem(key);\n if (!value) {\n return null;\n }\n try {\n return JSON.parse(value);\n }\n catch (_a) {\n return value;\n }\n};\nexport const removeItemAsync = async (storage, key) => {\n await storage.removeItem(key);\n};\nexport function decodeBase64URL(value) {\n const key = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n let base64 = '';\n let chr1, chr2, chr3;\n let enc1, enc2, enc3, enc4;\n let i = 0;\n value = value.replace('-', '+').replace('_', '/');\n while (i < value.length) {\n enc1 = key.indexOf(value.charAt(i++));\n enc2 = key.indexOf(value.charAt(i++));\n enc3 = key.indexOf(value.charAt(i++));\n enc4 = key.indexOf(value.charAt(i++));\n chr1 = (enc1 << 2) | (enc2 >> 4);\n chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);\n chr3 = ((enc3 & 3) << 6) | enc4;\n base64 = base64 + String.fromCharCode(chr1);\n if (enc3 != 64 && chr2 != 0) {\n base64 = base64 + String.fromCharCode(chr2);\n }\n if (enc4 != 64 && chr3 != 0) {\n base64 = base64 + String.fromCharCode(chr3);\n }\n }\n return base64;\n}\n/**\n * A deferred represents some asynchronous work that is not yet finished, which\n * may or may not culminate in a value.\n * Taken from: https://github.com/mike-north/types/blob/master/src/async.ts\n */\nexport class Deferred {\n constructor() {\n // eslint-disable-next-line @typescript-eslint/no-extra-semi\n ;\n this.promise = new Deferred.promiseConstructor((res, rej) => {\n // eslint-disable-next-line @typescript-eslint/no-extra-semi\n ;\n this.resolve = res;\n this.reject = rej;\n });\n }\n}\nDeferred.promiseConstructor = Promise;\n// Taken from: https://stackoverflow.com/questions/38552003/how-to-decode-jwt-token-in-javascript-without-using-a-library\nexport function decodeJWTPayload(token) {\n // Regex checks for base64url format\n const base64UrlRegex = /^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i;\n const parts = token.split('.');\n if (parts.length !== 3) {\n throw new Error('JWT is not valid: not a JWT structure');\n }\n if (!base64UrlRegex.test(parts[1])) {\n throw new Error('JWT is not valid: payload is not in base64url format');\n }\n const base64Url = parts[1];\n return JSON.parse(decodeBase64URL(base64Url));\n}\n/**\n * Creates a promise that resolves to null after some time.\n */\nexport async function sleep(time) {\n return await new Promise((accept) => {\n setTimeout(() => accept(null), time);\n });\n}\n/**\n * Converts the provided async function into a retryable function. Each result\n * or thrown error is sent to the isRetryable function which should return true\n * if the function should run again.\n */\nexport function retryable(fn, isRetryable) {\n const promise = new Promise((accept, reject) => {\n // eslint-disable-next-line @typescript-eslint/no-extra-semi\n ;\n (async () => {\n for (let attempt = 0; attempt < Infinity; attempt++) {\n try {\n const result = await fn(attempt);\n if (!isRetryable(attempt, null, result)) {\n accept(result);\n return;\n }\n }\n catch (e) {\n if (!isRetryable(attempt, e)) {\n reject(e);\n return;\n }\n }\n }\n })();\n });\n return promise;\n}\nfunction dec2hex(dec) {\n return ('0' + dec.toString(16)).substr(-2);\n}\n// Functions below taken from: https://stackoverflow.com/questions/63309409/creating-a-code-verifier-and-challenge-for-pkce-auth-on-spotify-api-in-reactjs\nexport function generatePKCEVerifier() {\n const verifierLength = 56;\n const array = new Uint32Array(verifierLength);\n if (typeof crypto === 'undefined') {\n const charSet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~';\n const charSetLen = charSet.length;\n let verifier = '';\n for (let i = 0; i < verifierLength; i++) {\n verifier += charSet.charAt(Math.floor(Math.random() * charSetLen));\n }\n return verifier;\n }\n crypto.getRandomValues(array);\n return Array.from(array, dec2hex).join('');\n}\nasync function sha256(randomString) {\n const encoder = new TextEncoder();\n const encodedData = encoder.encode(randomString);\n const hash = await crypto.subtle.digest('SHA-256', encodedData);\n const bytes = new Uint8Array(hash);\n return Array.from(bytes)\n .map((c) => String.fromCharCode(c))\n .join('');\n}\nfunction base64urlencode(str) {\n return btoa(str).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n}\nexport async function generatePKCEChallenge(verifier) {\n const hasCryptoSupport = typeof crypto !== 'undefined' &&\n typeof crypto.subtle !== 'undefined' &&\n typeof TextEncoder !== 'undefined';\n if (!hasCryptoSupport) {\n console.warn('WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.');\n return verifier;\n }\n const hashed = await sha256(verifier);\n return base64urlencode(hashed);\n}\nexport async function getCodeChallengeAndMethod(storage, storageKey, isPasswordRecovery = false) {\n const codeVerifier = generatePKCEVerifier();\n let storedCodeVerifier = codeVerifier;\n if (isPasswordRecovery) {\n storedCodeVerifier += '/PASSWORD_RECOVERY';\n }\n await setItemAsync(storage, `${storageKey}-code-verifier`, storedCodeVerifier);\n const codeChallenge = await generatePKCEChallenge(codeVerifier);\n const codeChallengeMethod = codeVerifier === codeChallenge ? 'plain' : 's256';\n return [codeChallenge, codeChallengeMethod];\n}\n/** Parses the API version which is 2YYY-MM-DD. */\nconst API_VERSION_REGEX = /^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;\nexport function parseResponseAPIVersion(response) {\n const apiVersion = response.headers.get(API_VERSION_HEADER_NAME);\n if (!apiVersion) {\n return null;\n }\n if (!apiVersion.match(API_VERSION_REGEX)) {\n return null;\n }\n try {\n const date = new Date(`${apiVersion}T00:00:00.0Z`);\n return date;\n }\n catch (e) {\n return null;\n }\n}\n//# sourceMappingURL=helpers.js.map","export class AuthError extends Error {\n constructor(message, status, code) {\n super(message);\n this.__isAuthError = true;\n this.name = 'AuthError';\n this.status = status;\n this.code = code;\n }\n}\nexport function isAuthError(error) {\n return typeof error === 'object' && error !== null && '__isAuthError' in error;\n}\nexport class AuthApiError extends AuthError {\n constructor(message, status, code) {\n super(message, status, code);\n this.name = 'AuthApiError';\n this.status = status;\n this.code = code;\n }\n}\nexport function isAuthApiError(error) {\n return isAuthError(error) && error.name === 'AuthApiError';\n}\nexport class AuthUnknownError extends AuthError {\n constructor(message, originalError) {\n super(message);\n this.name = 'AuthUnknownError';\n this.originalError = originalError;\n }\n}\nexport class CustomAuthError extends AuthError {\n constructor(message, name, status, code) {\n super(message, status, code);\n this.name = name;\n this.status = status;\n }\n}\nexport class AuthSessionMissingError extends CustomAuthError {\n constructor() {\n super('Auth session missing!', 'AuthSessionMissingError', 400, undefined);\n }\n}\nexport class AuthInvalidTokenResponseError extends CustomAuthError {\n constructor() {\n super('Auth session or user missing', 'AuthInvalidTokenResponseError', 500, undefined);\n }\n}\nexport class AuthInvalidCredentialsError extends CustomAuthError {\n constructor(message) {\n super(message, 'AuthInvalidCredentialsError', 400, undefined);\n }\n}\nexport class AuthImplicitGrantRedirectError extends CustomAuthError {\n constructor(message, details = null) {\n super(message, 'AuthImplicitGrantRedirectError', 500, undefined);\n this.details = null;\n this.details = details;\n }\n toJSON() {\n return {\n name: this.name,\n message: this.message,\n status: this.status,\n details: this.details,\n };\n }\n}\nexport class AuthPKCEGrantCodeExchangeError extends CustomAuthError {\n constructor(message, details = null) {\n super(message, 'AuthPKCEGrantCodeExchangeError', 500, undefined);\n this.details = null;\n this.details = details;\n }\n toJSON() {\n return {\n name: this.name,\n message: this.message,\n status: this.status,\n details: this.details,\n };\n }\n}\nexport class AuthRetryableFetchError extends CustomAuthError {\n constructor(message, status) {\n super(message, 'AuthRetryableFetchError', status, undefined);\n }\n}\nexport function isAuthRetryableFetchError(error) {\n return isAuthError(error) && error.name === 'AuthRetryableFetchError';\n}\n/**\n * This error is thrown on certain methods when the password used is deemed\n * weak. Inspect the reasons to identify what password strength rules are\n * inadequate.\n */\nexport class AuthWeakPasswordError extends CustomAuthError {\n constructor(message, status, reasons) {\n super(message, 'AuthWeakPasswordError', status, 'weak_password');\n this.reasons = reasons;\n }\n}\nexport function isAuthWeakPasswordError(error) {\n return isAuthError(error) && error.name === 'AuthWeakPasswordError';\n}\n//# sourceMappingURL=errors.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { API_VERSIONS, API_VERSION_HEADER_NAME } from './constants';\nimport { expiresAt, looksLikeFetchResponse, parseResponseAPIVersion } from './helpers';\nimport { AuthApiError, AuthRetryableFetchError, AuthWeakPasswordError, AuthUnknownError, } from './errors';\nconst _getErrorMessage = (err) => err.msg || err.message || err.error_description || err.error || JSON.stringify(err);\nconst NETWORK_ERROR_CODES = [502, 503, 504];\nexport async function handleError(error) {\n var _a;\n if (!looksLikeFetchResponse(error)) {\n throw new AuthRetryableFetchError(_getErrorMessage(error), 0);\n }\n if (NETWORK_ERROR_CODES.includes(error.status)) {\n // status in 500...599 range - server had an error, request might be retryed.\n throw new AuthRetryableFetchError(_getErrorMessage(error), error.status);\n }\n let data;\n try {\n data = await error.json();\n }\n catch (e) {\n throw new AuthUnknownError(_getErrorMessage(e), e);\n }\n let errorCode = undefined;\n const responseAPIVersion = parseResponseAPIVersion(error);\n if (responseAPIVersion &&\n responseAPIVersion.getTime() >= API_VERSIONS['2024-01-01'].timestamp &&\n typeof data === 'object' &&\n data &&\n typeof data.code === 'string') {\n errorCode = data.code;\n }\n else if (typeof data === 'object' && data && typeof data.error_code === 'string') {\n errorCode = data.error_code;\n }\n if (!errorCode) {\n // Legacy support for weak password errors, when there were no error codes\n if (typeof data === 'object' &&\n data &&\n typeof data.weak_password === 'object' &&\n data.weak_password &&\n Array.isArray(data.weak_password.reasons) &&\n data.weak_password.reasons.length &&\n data.weak_password.reasons.reduce((a, i) => a && typeof i === 'string', true)) {\n throw new AuthWeakPasswordError(_getErrorMessage(data), error.status, data.weak_password.reasons);\n }\n }\n else if (errorCode === 'weak_password') {\n throw new AuthWeakPasswordError(_getErrorMessage(data), error.status, ((_a = data.weak_password) === null || _a === void 0 ? void 0 : _a.reasons) || []);\n }\n throw new AuthApiError(_getErrorMessage(data), error.status || 500, errorCode);\n}\nconst _getRequestParams = (method, options, parameters, body) => {\n const params = { method, headers: (options === null || options === void 0 ? void 0 : options.headers) || {} };\n if (method === 'GET') {\n return params;\n }\n params.headers = Object.assign({ 'Content-Type': 'application/json;charset=UTF-8' }, options === null || options === void 0 ? void 0 : options.headers);\n params.body = JSON.stringify(body);\n return Object.assign(Object.assign({}, params), parameters);\n};\nexport async function _request(fetcher, method, url, options) {\n var _a;\n const headers = Object.assign({}, options === null || options === void 0 ? void 0 : options.headers);\n if (!headers[API_VERSION_HEADER_NAME]) {\n headers[API_VERSION_HEADER_NAME] = API_VERSIONS['2024-01-01'].name;\n }\n if (options === null || options === void 0 ? void 0 : options.jwt) {\n headers['Authorization'] = `Bearer ${options.jwt}`;\n }\n const qs = (_a = options === null || options === void 0 ? void 0 : options.query) !== null && _a !== void 0 ? _a : {};\n if (options === null || options === void 0 ? void 0 : options.redirectTo) {\n qs['redirect_to'] = options.redirectTo;\n }\n const queryString = Object.keys(qs).length ? '?' + new URLSearchParams(qs).toString() : '';\n const data = await _handleRequest(fetcher, method, url + queryString, {\n headers,\n noResolveJson: options === null || options === void 0 ? void 0 : options.noResolveJson,\n }, {}, options === null || options === void 0 ? void 0 : options.body);\n return (options === null || options === void 0 ? void 0 : options.xform) ? options === null || options === void 0 ? void 0 : options.xform(data) : { data: Object.assign({}, data), error: null };\n}\nasync function _handleRequest(fetcher, method, url, options, parameters, body) {\n const requestParams = _getRequestParams(method, options, parameters, body);\n let result;\n try {\n result = await fetcher(url, Object.assign({}, requestParams));\n }\n catch (e) {\n console.error(e);\n // fetch failed, likely due to a network or CORS error\n throw new AuthRetryableFetchError(_getErrorMessage(e), 0);\n }\n if (!result.ok) {\n await handleError(result);\n }\n if (options === null || options === void 0 ? void 0 : options.noResolveJson) {\n return result;\n }\n try {\n return await result.json();\n }\n catch (e) {\n await handleError(e);\n }\n}\nexport function _sessionResponse(data) {\n var _a;\n let session = null;\n if (hasSession(data)) {\n session = Object.assign({}, data);\n if (!data.expires_at) {\n session.expires_at = expiresAt(data.expires_in);\n }\n }\n const user = (_a = data.user) !== null && _a !== void 0 ? _a : data;\n return { data: { session, user }, error: null };\n}\nexport function _sessionResponsePassword(data) {\n const response = _sessionResponse(data);\n if (!response.error &&\n data.weak_password &&\n typeof data.weak_password === 'object' &&\n Array.isArray(data.weak_password.reasons) &&\n data.weak_password.reasons.length &&\n data.weak_password.message &&\n typeof data.weak_password.message === 'string' &&\n data.weak_password.reasons.reduce((a, i) => a && typeof i === 'string', true)) {\n response.data.weak_password = data.weak_password;\n }\n return response;\n}\nexport function _userResponse(data) {\n var _a;\n const user = (_a = data.user) !== null && _a !== void 0 ? _a : data;\n return { data: { user }, error: null };\n}\nexport function _ssoResponse(data) {\n return { data, error: null };\n}\nexport function _generateLinkResponse(data) {\n const { action_link, email_otp, hashed_token, redirect_to, verification_type } = data, rest = __rest(data, [\"action_link\", \"email_otp\", \"hashed_token\", \"redirect_to\", \"verification_type\"]);\n const properties = {\n action_link,\n email_otp,\n hashed_token,\n redirect_to,\n verification_type,\n };\n const user = Object.assign({}, rest);\n return {\n data: {\n properties,\n user,\n },\n error: null,\n };\n}\nexport function _noResolveJsonResponse(data) {\n return data;\n}\n/**\n * hasSession checks if the response object contains a valid session\n * @param data A response object\n * @returns true if a session is in the response\n */\nfunction hasSession(data) {\n return data.access_token && data.refresh_token && data.expires_in;\n}\n//# sourceMappingURL=fetch.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { _generateLinkResponse, _noResolveJsonResponse, _request, _userResponse, } from './lib/fetch';\nimport { resolveFetch } from './lib/helpers';\nimport { isAuthError } from './lib/errors';\nexport default class GoTrueAdminApi {\n constructor({ url = '', headers = {}, fetch, }) {\n this.url = url;\n this.headers = headers;\n this.fetch = resolveFetch(fetch);\n this.mfa = {\n listFactors: this._listFactors.bind(this),\n deleteFactor: this._deleteFactor.bind(this),\n };\n }\n /**\n * Removes a logged-in session.\n * @param jwt A valid, logged-in JWT.\n * @param scope The logout sope.\n */\n async signOut(jwt, scope = 'global') {\n try {\n await _request(this.fetch, 'POST', `${this.url}/logout?scope=${scope}`, {\n headers: this.headers,\n jwt,\n noResolveJson: true,\n });\n return { data: null, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * Sends an invite link to an email address.\n * @param email The email address of the user.\n * @param options Additional options to be included when inviting.\n */\n async inviteUserByEmail(email, options = {}) {\n try {\n return await _request(this.fetch, 'POST', `${this.url}/invite`, {\n body: { email, data: options.data },\n headers: this.headers,\n redirectTo: options.redirectTo,\n xform: _userResponse,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Generates email links and OTPs to be sent via a custom email provider.\n * @param email The user's email.\n * @param options.password User password. For signup only.\n * @param options.data Optional user metadata. For signup only.\n * @param options.redirectTo The redirect url which should be appended to the generated link\n */\n async generateLink(params) {\n try {\n const { options } = params, rest = __rest(params, [\"options\"]);\n const body = Object.assign(Object.assign({}, rest), options);\n if ('newEmail' in rest) {\n // replace newEmail with new_email in request body\n body.new_email = rest === null || rest === void 0 ? void 0 : rest.newEmail;\n delete body['newEmail'];\n }\n return await _request(this.fetch, 'POST', `${this.url}/admin/generate_link`, {\n body: body,\n headers: this.headers,\n xform: _generateLinkResponse,\n redirectTo: options === null || options === void 0 ? void 0 : options.redirectTo,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return {\n data: {\n properties: null,\n user: null,\n },\n error,\n };\n }\n throw error;\n }\n }\n // User Admin API\n /**\n * Creates a new user.\n * This function should only be called on a server. Never expose your `service_role` key in the browser.\n */\n async createUser(attributes) {\n try {\n return await _request(this.fetch, 'POST', `${this.url}/admin/users`, {\n body: attributes,\n headers: this.headers,\n xform: _userResponse,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Get a list of users.\n *\n * This function should only be called on a server. Never expose your `service_role` key in the browser.\n * @param params An object which supports `page` and `perPage` as numbers, to alter the paginated results.\n */\n async listUsers(params) {\n var _a, _b, _c, _d, _e, _f, _g;\n try {\n const pagination = { nextPage: null, lastPage: 0, total: 0 };\n const response = await _request(this.fetch, 'GET', `${this.url}/admin/users`, {\n headers: this.headers,\n noResolveJson: true,\n query: {\n page: (_b = (_a = params === null || params === void 0 ? void 0 : params.page) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : '',\n per_page: (_d = (_c = params === null || params === void 0 ? void 0 : params.perPage) === null || _c === void 0 ? void 0 : _c.toString()) !== null && _d !== void 0 ? _d : '',\n },\n xform: _noResolveJsonResponse,\n });\n if (response.error)\n throw response.error;\n const users = await response.json();\n const total = (_e = response.headers.get('x-total-count')) !== null && _e !== void 0 ? _e : 0;\n const links = (_g = (_f = response.headers.get('link')) === null || _f === void 0 ? void 0 : _f.split(',')) !== null && _g !== void 0 ? _g : [];\n if (links.length > 0) {\n links.forEach((link) => {\n const page = parseInt(link.split(';')[0].split('=')[1].substring(0, 1));\n const rel = JSON.parse(link.split(';')[1].split('=')[1]);\n pagination[`${rel}Page`] = page;\n });\n pagination.total = parseInt(total);\n }\n return { data: Object.assign(Object.assign({}, users), pagination), error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { users: [] }, error };\n }\n throw error;\n }\n }\n /**\n * Get user by id.\n *\n * @param uid The user's unique identifier\n *\n * This function should only be called on a server. Never expose your `service_role` key in the browser.\n */\n async getUserById(uid) {\n try {\n return await _request(this.fetch, 'GET', `${this.url}/admin/users/${uid}`, {\n headers: this.headers,\n xform: _userResponse,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Updates the user data.\n *\n * @param attributes The data you want to update.\n *\n * This function should only be called on a server. Never expose your `service_role` key in the browser.\n */\n async updateUserById(uid, attributes) {\n try {\n return await _request(this.fetch, 'PUT', `${this.url}/admin/users/${uid}`, {\n body: attributes,\n headers: this.headers,\n xform: _userResponse,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Delete a user. Requires a `service_role` key.\n *\n * @param id The user id you want to remove.\n * @param shouldSoftDelete If true, then the user will be soft-deleted (setting `deleted_at` to the current timestamp and disabling their account while preserving their data) from the auth schema.\n * Defaults to false for backward compatibility.\n *\n * This function should only be called on a server. Never expose your `service_role` key in the browser.\n */\n async deleteUser(id, shouldSoftDelete = false) {\n try {\n return await _request(this.fetch, 'DELETE', `${this.url}/admin/users/${id}`, {\n headers: this.headers,\n body: {\n should_soft_delete: shouldSoftDelete,\n },\n xform: _userResponse,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n async _listFactors(params) {\n try {\n const { data, error } = await _request(this.fetch, 'GET', `${this.url}/admin/users/${params.userId}/factors`, {\n headers: this.headers,\n xform: (factors) => {\n return { data: { factors }, error: null };\n },\n });\n return { data, error };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n async _deleteFactor(params) {\n try {\n const data = await _request(this.fetch, 'DELETE', `${this.url}/admin/users/${params.userId}/factors/${params.id}`, {\n headers: this.headers,\n });\n return { data, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n}\n//# sourceMappingURL=GoTrueAdminApi.js.map","import { supportsLocalStorage } from './helpers';\n/**\n * Provides safe access to the globalThis.localStorage property.\n */\nexport const localStorageAdapter = {\n getItem: (key) => {\n if (!supportsLocalStorage()) {\n return null;\n }\n return globalThis.localStorage.getItem(key);\n },\n setItem: (key, value) => {\n if (!supportsLocalStorage()) {\n return;\n }\n globalThis.localStorage.setItem(key, value);\n },\n removeItem: (key) => {\n if (!supportsLocalStorage()) {\n return;\n }\n globalThis.localStorage.removeItem(key);\n },\n};\n/**\n * Returns a localStorage-like object that stores the key-value pairs in\n * memory.\n */\nexport function memoryLocalStorageAdapter(store = {}) {\n return {\n getItem: (key) => {\n return store[key] || null;\n },\n setItem: (key, value) => {\n store[key] = value;\n },\n removeItem: (key) => {\n delete store[key];\n },\n };\n}\n//# sourceMappingURL=local-storage.js.map","/**\n * https://mathiasbynens.be/notes/globalthis\n */\nexport function polyfillGlobalThis() {\n if (typeof globalThis === 'object')\n return;\n try {\n Object.defineProperty(Object.prototype, '__magic__', {\n get: function () {\n return this;\n },\n configurable: true,\n });\n // @ts-expect-error 'Allow access to magic'\n __magic__.globalThis = __magic__;\n // @ts-expect-error 'Allow access to magic'\n delete Object.prototype.__magic__;\n }\n catch (e) {\n if (typeof self !== 'undefined') {\n // @ts-expect-error 'Allow access to globals'\n self.globalThis = self;\n }\n }\n}\n//# sourceMappingURL=polyfills.js.map","import { supportsLocalStorage } from './helpers';\n/**\n * @experimental\n */\nexport const internals = {\n /**\n * @experimental\n */\n debug: !!(globalThis &&\n supportsLocalStorage() &&\n globalThis.localStorage &&\n globalThis.localStorage.getItem('supabase.gotrue-js.locks.debug') === 'true'),\n};\n/**\n * An error thrown when a lock cannot be acquired after some amount of time.\n *\n * Use the {@link #isAcquireTimeout} property instead of checking with `instanceof`.\n */\nexport class LockAcquireTimeoutError extends Error {\n constructor(message) {\n super(message);\n this.isAcquireTimeout = true;\n }\n}\nexport class NavigatorLockAcquireTimeoutError extends LockAcquireTimeoutError {\n}\n/**\n * Implements a global exclusive lock using the Navigator LockManager API. It\n * is available on all browsers released after 2022-03-15 with Safari being the\n * last one to release support. If the API is not available, this function will\n * throw. Make sure you check availablility before configuring {@link\n * GoTrueClient}.\n *\n * You can turn on debugging by setting the `supabase.gotrue-js.locks.debug`\n * local storage item to `true`.\n *\n * Internals:\n *\n * Since the LockManager API does not preserve stack traces for the async\n * function passed in the `request` method, a trick is used where acquiring the\n * lock releases a previously started promise to run the operation in the `fn`\n * function. The lock waits for that promise to finish (with or without error),\n * while the function will finally wait for the result anyway.\n *\n * @param name Name of the lock to be acquired.\n * @param acquireTimeout If negative, no timeout. If 0 an error is thrown if\n * the lock can't be acquired without waiting. If positive, the lock acquire\n * will time out after so many milliseconds. An error is\n * a timeout if it has `isAcquireTimeout` set to true.\n * @param fn The operation to run once the lock is acquired.\n */\nexport async function navigatorLock(name, acquireTimeout, fn) {\n if (internals.debug) {\n console.log('@supabase/gotrue-js: navigatorLock: acquire lock', name, acquireTimeout);\n }\n const abortController = new globalThis.AbortController();\n if (acquireTimeout > 0) {\n setTimeout(() => {\n abortController.abort();\n if (internals.debug) {\n console.log('@supabase/gotrue-js: navigatorLock acquire timed out', name);\n }\n }, acquireTimeout);\n }\n // MDN article: https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request\n return await globalThis.navigator.locks.request(name, acquireTimeout === 0\n ? {\n mode: 'exclusive',\n ifAvailable: true,\n }\n : {\n mode: 'exclusive',\n signal: abortController.signal,\n }, async (lock) => {\n if (lock) {\n if (internals.debug) {\n console.log('@supabase/gotrue-js: navigatorLock: acquired', name, lock.name);\n }\n try {\n return await fn();\n }\n finally {\n if (internals.debug) {\n console.log('@supabase/gotrue-js: navigatorLock: released', name, lock.name);\n }\n }\n }\n else {\n if (acquireTimeout === 0) {\n if (internals.debug) {\n console.log('@supabase/gotrue-js: navigatorLock: not immediately available', name);\n }\n throw new NavigatorLockAcquireTimeoutError(`Acquiring an exclusive Navigator LockManager lock \"${name}\" immediately failed`);\n }\n else {\n if (internals.debug) {\n try {\n const result = await globalThis.navigator.locks.query();\n console.log('@supabase/gotrue-js: Navigator LockManager state', JSON.stringify(result, null, ' '));\n }\n catch (e) {\n console.warn('@supabase/gotrue-js: Error when querying Navigator LockManager state', e);\n }\n }\n // Browser is not following the Navigator LockManager spec, it\n // returned a null lock when we didn't use ifAvailable. So we can\n // pretend the lock is acquired in the name of backward compatibility\n // and user experience and just run the function.\n console.warn('@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request');\n return await fn();\n }\n }\n });\n}\n//# sourceMappingURL=locks.js.map","import GoTrueAdminApi from './GoTrueAdminApi';\nimport { DEFAULT_HEADERS, EXPIRY_MARGIN, GOTRUE_URL, STORAGE_KEY } from './lib/constants';\nimport { AuthImplicitGrantRedirectError, AuthPKCEGrantCodeExchangeError, AuthInvalidCredentialsError, AuthSessionMissingError, AuthInvalidTokenResponseError, AuthUnknownError, isAuthApiError, isAuthError, isAuthRetryableFetchError, } from './lib/errors';\nimport { _request, _sessionResponse, _sessionResponsePassword, _userResponse, _ssoResponse, } from './lib/fetch';\nimport { decodeJWTPayload, Deferred, getItemAsync, isBrowser, removeItemAsync, resolveFetch, setItemAsync, uuid, retryable, sleep, supportsLocalStorage, parseParametersFromURL, getCodeChallengeAndMethod, } from './lib/helpers';\nimport { localStorageAdapter, memoryLocalStorageAdapter } from './lib/local-storage';\nimport { polyfillGlobalThis } from './lib/polyfills';\nimport { version } from './lib/version';\nimport { LockAcquireTimeoutError, navigatorLock } from './lib/locks';\npolyfillGlobalThis(); // Make \"globalThis\" available\nconst DEFAULT_OPTIONS = {\n url: GOTRUE_URL,\n storageKey: STORAGE_KEY,\n autoRefreshToken: true,\n persistSession: true,\n detectSessionInUrl: true,\n headers: DEFAULT_HEADERS,\n flowType: 'implicit',\n debug: false,\n hasCustomAuthorizationHeader: false,\n};\n/** Current session will be checked for refresh at this interval. */\nconst AUTO_REFRESH_TICK_DURATION = 30 * 1000;\n/**\n * A token refresh will be attempted this many ticks before the current session expires. */\nconst AUTO_REFRESH_TICK_THRESHOLD = 3;\nasync function lockNoOp(name, acquireTimeout, fn) {\n return await fn();\n}\nexport default class GoTrueClient {\n /**\n * Create a new client for use in the browser.\n */\n constructor(options) {\n var _a, _b;\n this.memoryStorage = null;\n this.stateChangeEmitters = new Map();\n this.autoRefreshTicker = null;\n this.visibilityChangedCallback = null;\n this.refreshingDeferred = null;\n /**\n * Keeps track of the async client initialization.\n * When null or not yet resolved the auth state is `unknown`\n * Once resolved the the auth state is known and it's save to call any further client methods.\n * Keep extra care to never reject or throw uncaught errors\n */\n this.initializePromise = null;\n this.detectSessionInUrl = true;\n this.hasCustomAuthorizationHeader = false;\n this.suppressGetSessionWarning = false;\n this.lockAcquired = false;\n this.pendingInLock = [];\n /**\n * Used to broadcast state change events to other tabs listening.\n */\n this.broadcastChannel = null;\n this.logger = console.log;\n this.instanceID = GoTrueClient.nextInstanceID;\n GoTrueClient.nextInstanceID += 1;\n if (this.instanceID > 0 && isBrowser()) {\n console.warn('Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.');\n }\n const settings = Object.assign(Object.assign({}, DEFAULT_OPTIONS), options);\n this.logDebugMessages = !!settings.debug;\n if (typeof settings.debug === 'function') {\n this.logger = settings.debug;\n }\n this.persistSession = settings.persistSession;\n this.storageKey = settings.storageKey;\n this.autoRefreshToken = settings.autoRefreshToken;\n this.admin = new GoTrueAdminApi({\n url: settings.url,\n headers: settings.headers,\n fetch: settings.fetch,\n });\n this.url = settings.url;\n this.headers = settings.headers;\n this.fetch = resolveFetch(settings.fetch);\n this.lock = settings.lock || lockNoOp;\n this.detectSessionInUrl = settings.detectSessionInUrl;\n this.flowType = settings.flowType;\n this.hasCustomAuthorizationHeader = settings.hasCustomAuthorizationHeader;\n if (settings.lock) {\n this.lock = settings.lock;\n }\n else if (isBrowser() && ((_a = globalThis === null || globalThis === void 0 ? void 0 : globalThis.navigator) === null || _a === void 0 ? void 0 : _a.locks)) {\n this.lock = navigatorLock;\n }\n else {\n this.lock = lockNoOp;\n }\n this.mfa = {\n verify: this._verify.bind(this),\n enroll: this._enroll.bind(this),\n unenroll: this._unenroll.bind(this),\n challenge: this._challenge.bind(this),\n listFactors: this._listFactors.bind(this),\n challengeAndVerify: this._challengeAndVerify.bind(this),\n getAuthenticatorAssuranceLevel: this._getAuthenticatorAssuranceLevel.bind(this),\n };\n if (this.persistSession) {\n if (settings.storage) {\n this.storage = settings.storage;\n }\n else {\n if (supportsLocalStorage()) {\n this.storage = localStorageAdapter;\n }\n else {\n this.memoryStorage = {};\n this.storage = memoryLocalStorageAdapter(this.memoryStorage);\n }\n }\n }\n else {\n this.memoryStorage = {};\n this.storage = memoryLocalStorageAdapter(this.memoryStorage);\n }\n if (isBrowser() && globalThis.BroadcastChannel && this.persistSession && this.storageKey) {\n try {\n this.broadcastChannel = new globalThis.BroadcastChannel(this.storageKey);\n }\n catch (e) {\n console.error('Failed to create a new BroadcastChannel, multi-tab state changes will not be available', e);\n }\n (_b = this.broadcastChannel) === null || _b === void 0 ? void 0 : _b.addEventListener('message', async (event) => {\n this._debug('received broadcast notification from other tab or client', event);\n await this._notifyAllSubscribers(event.data.event, event.data.session, false); // broadcast = false so we don't get an endless loop of messages\n });\n }\n this.initialize();\n }\n _debug(...args) {\n if (this.logDebugMessages) {\n this.logger(`GoTrueClient@${this.instanceID} (${version}) ${new Date().toISOString()}`, ...args);\n }\n return this;\n }\n /**\n * Initializes the client session either from the url or from storage.\n * This method is automatically called when instantiating the client, but should also be called\n * manually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc).\n */\n async initialize() {\n if (this.initializePromise) {\n return await this.initializePromise;\n }\n this.initializePromise = (async () => {\n return await this._acquireLock(-1, async () => {\n return await this._initialize();\n });\n })();\n return await this.initializePromise;\n }\n /**\n * IMPORTANT:\n * 1. Never throw in this method, as it is called from the constructor\n * 2. Never return a session from this method as it would be cached over\n * the whole lifetime of the client\n */\n async _initialize() {\n try {\n const isPKCEFlow = isBrowser() ? await this._isPKCEFlow() : false;\n this._debug('#_initialize()', 'begin', 'is PKCE flow', isPKCEFlow);\n if (isPKCEFlow || (this.detectSessionInUrl && this._isImplicitGrantFlow())) {\n const { data, error } = await this._getSessionFromURL(isPKCEFlow);\n if (error) {\n this._debug('#_initialize()', 'error detecting session from URL', error);\n // hacky workaround to keep the existing session if there's an error returned from identity linking\n // TODO: once error codes are ready, we should match against it instead of the message\n if ((error === null || error === void 0 ? void 0 : error.message) === 'Identity is already linked' ||\n (error === null || error === void 0 ? void 0 : error.message) === 'Identity is already linked to another user') {\n return { error };\n }\n // failed login attempt via url,\n // remove old session as in verifyOtp, signUp and signInWith*\n await this._removeSession();\n return { error };\n }\n const { session, redirectType } = data;\n this._debug('#_initialize()', 'detected session in URL', session, 'redirect type', redirectType);\n await this._saveSession(session);\n setTimeout(async () => {\n if (redirectType === 'recovery') {\n await this._notifyAllSubscribers('PASSWORD_RECOVERY', session);\n }\n else {\n await this._notifyAllSubscribers('SIGNED_IN', session);\n }\n }, 0);\n return { error: null };\n }\n // no login attempt via callback url try to recover session from storage\n await this._recoverAndRefresh();\n return { error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { error };\n }\n return {\n error: new AuthUnknownError('Unexpected error during initialization', error),\n };\n }\n finally {\n await this._handleVisibilityChange();\n this._debug('#_initialize()', 'end');\n }\n }\n /**\n * Creates a new anonymous user.\n *\n * @returns A session where the is_anonymous claim in the access token JWT set to true\n */\n async signInAnonymously(credentials) {\n var _a, _b, _c;\n try {\n await this._removeSession();\n const res = await _request(this.fetch, 'POST', `${this.url}/signup`, {\n headers: this.headers,\n body: {\n data: (_b = (_a = credentials === null || credentials === void 0 ? void 0 : credentials.options) === null || _a === void 0 ? void 0 : _a.data) !== null && _b !== void 0 ? _b : {},\n gotrue_meta_security: { captcha_token: (_c = credentials === null || credentials === void 0 ? void 0 : credentials.options) === null || _c === void 0 ? void 0 : _c.captchaToken },\n },\n xform: _sessionResponse,\n });\n const { data, error } = res;\n if (error || !data) {\n return { data: { user: null, session: null }, error: error };\n }\n const session = data.session;\n const user = data.user;\n if (data.session) {\n await this._saveSession(data.session);\n await this._notifyAllSubscribers('SIGNED_IN', session);\n }\n return { data: { user, session }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Creates a new user.\n *\n * Be aware that if a user account exists in the system you may get back an\n * error message that attempts to hide this information from the user.\n * This method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled.\n *\n * @returns A logged-in session if the server has \"autoconfirm\" ON\n * @returns A user if the server has \"autoconfirm\" OFF\n */\n async signUp(credentials) {\n var _a, _b, _c;\n try {\n await this._removeSession();\n let res;\n if ('email' in credentials) {\n const { email, password, options } = credentials;\n let codeChallenge = null;\n let codeChallengeMethod = null;\n if (this.flowType === 'pkce') {\n ;\n [codeChallenge, codeChallengeMethod] = await getCodeChallengeAndMethod(this.storage, this.storageKey);\n }\n res = await _request(this.fetch, 'POST', `${this.url}/signup`, {\n headers: this.headers,\n redirectTo: options === null || options === void 0 ? void 0 : options.emailRedirectTo,\n body: {\n email,\n password,\n data: (_a = options === null || options === void 0 ? void 0 : options.data) !== null && _a !== void 0 ? _a : {},\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n code_challenge: codeChallenge,\n code_challenge_method: codeChallengeMethod,\n },\n xform: _sessionResponse,\n });\n }\n else if ('phone' in credentials) {\n const { phone, password, options } = credentials;\n res = await _request(this.fetch, 'POST', `${this.url}/signup`, {\n headers: this.headers,\n body: {\n phone,\n password,\n data: (_b = options === null || options === void 0 ? void 0 : options.data) !== null && _b !== void 0 ? _b : {},\n channel: (_c = options === null || options === void 0 ? void 0 : options.channel) !== null && _c !== void 0 ? _c : 'sms',\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n },\n xform: _sessionResponse,\n });\n }\n else {\n throw new AuthInvalidCredentialsError('You must provide either an email or phone number and a password');\n }\n const { data, error } = res;\n if (error || !data) {\n return { data: { user: null, session: null }, error: error };\n }\n const session = data.session;\n const user = data.user;\n if (data.session) {\n await this._saveSession(data.session);\n await this._notifyAllSubscribers('SIGNED_IN', session);\n }\n return { data: { user, session }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Log in an existing user with an email and password or phone and password.\n *\n * Be aware that you may get back an error message that will not distinguish\n * between the cases where the account does not exist or that the\n * email/phone and password combination is wrong or that the account can only\n * be accessed via social login.\n */\n async signInWithPassword(credentials) {\n try {\n await this._removeSession();\n let res;\n if ('email' in credentials) {\n const { email, password, options } = credentials;\n res = await _request(this.fetch, 'POST', `${this.url}/token?grant_type=password`, {\n headers: this.headers,\n body: {\n email,\n password,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n },\n xform: _sessionResponsePassword,\n });\n }\n else if ('phone' in credentials) {\n const { phone, password, options } = credentials;\n res = await _request(this.fetch, 'POST', `${this.url}/token?grant_type=password`, {\n headers: this.headers,\n body: {\n phone,\n password,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n },\n xform: _sessionResponsePassword,\n });\n }\n else {\n throw new AuthInvalidCredentialsError('You must provide either an email or phone number and a password');\n }\n const { data, error } = res;\n if (error) {\n return { data: { user: null, session: null }, error };\n }\n else if (!data || !data.session || !data.user) {\n return { data: { user: null, session: null }, error: new AuthInvalidTokenResponseError() };\n }\n if (data.session) {\n await this._saveSession(data.session);\n await this._notifyAllSubscribers('SIGNED_IN', data.session);\n }\n return {\n data: Object.assign({ user: data.user, session: data.session }, (data.weak_password ? { weakPassword: data.weak_password } : null)),\n error,\n };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Log in an existing user via a third-party provider.\n * This method supports the PKCE flow.\n */\n async signInWithOAuth(credentials) {\n var _a, _b, _c, _d;\n await this._removeSession();\n return await this._handleProviderSignIn(credentials.provider, {\n redirectTo: (_a = credentials.options) === null || _a === void 0 ? void 0 : _a.redirectTo,\n scopes: (_b = credentials.options) === null || _b === void 0 ? void 0 : _b.scopes,\n queryParams: (_c = credentials.options) === null || _c === void 0 ? void 0 : _c.queryParams,\n skipBrowserRedirect: (_d = credentials.options) === null || _d === void 0 ? void 0 : _d.skipBrowserRedirect,\n });\n }\n /**\n * Log in an existing user by exchanging an Auth Code issued during the PKCE flow.\n */\n async exchangeCodeForSession(authCode) {\n await this.initializePromise;\n return this._acquireLock(-1, async () => {\n return this._exchangeCodeForSession(authCode);\n });\n }\n async _exchangeCodeForSession(authCode) {\n const storageItem = await getItemAsync(this.storage, `${this.storageKey}-code-verifier`);\n const [codeVerifier, redirectType] = (storageItem !== null && storageItem !== void 0 ? storageItem : '').split('/');\n const { data, error } = await _request(this.fetch, 'POST', `${this.url}/token?grant_type=pkce`, {\n headers: this.headers,\n body: {\n auth_code: authCode,\n code_verifier: codeVerifier,\n },\n xform: _sessionResponse,\n });\n await removeItemAsync(this.storage, `${this.storageKey}-code-verifier`);\n if (error) {\n return { data: { user: null, session: null, redirectType: null }, error };\n }\n else if (!data || !data.session || !data.user) {\n return {\n data: { user: null, session: null, redirectType: null },\n error: new AuthInvalidTokenResponseError(),\n };\n }\n if (data.session) {\n await this._saveSession(data.session);\n await this._notifyAllSubscribers('SIGNED_IN', data.session);\n }\n return { data: Object.assign(Object.assign({}, data), { redirectType: redirectType !== null && redirectType !== void 0 ? redirectType : null }), error };\n }\n /**\n * Allows signing in with an OIDC ID token. The authentication provider used\n * should be enabled and configured.\n */\n async signInWithIdToken(credentials) {\n await this._removeSession();\n try {\n const { options, provider, token, access_token, nonce } = credentials;\n const res = await _request(this.fetch, 'POST', `${this.url}/token?grant_type=id_token`, {\n headers: this.headers,\n body: {\n provider,\n id_token: token,\n access_token,\n nonce,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n },\n xform: _sessionResponse,\n });\n const { data, error } = res;\n if (error) {\n return { data: { user: null, session: null }, error };\n }\n else if (!data || !data.session || !data.user) {\n return {\n data: { user: null, session: null },\n error: new AuthInvalidTokenResponseError(),\n };\n }\n if (data.session) {\n await this._saveSession(data.session);\n await this._notifyAllSubscribers('SIGNED_IN', data.session);\n }\n return { data, error };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Log in a user using magiclink or a one-time password (OTP).\n *\n * If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\n * If the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\n * If you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n *\n * Be aware that you may get back an error message that will not distinguish\n * between the cases where the account does not exist or, that the account\n * can only be accessed via social login.\n *\n * Do note that you will need to configure a Whatsapp sender on Twilio\n * if you are using phone sign in with the 'whatsapp' channel. The whatsapp\n * channel is not supported on other providers\n * at this time.\n * This method supports PKCE when an email is passed.\n */\n async signInWithOtp(credentials) {\n var _a, _b, _c, _d, _e;\n try {\n await this._removeSession();\n if ('email' in credentials) {\n const { email, options } = credentials;\n let codeChallenge = null;\n let codeChallengeMethod = null;\n if (this.flowType === 'pkce') {\n ;\n [codeChallenge, codeChallengeMethod] = await getCodeChallengeAndMethod(this.storage, this.storageKey);\n }\n const { error } = await _request(this.fetch, 'POST', `${this.url}/otp`, {\n headers: this.headers,\n body: {\n email,\n data: (_a = options === null || options === void 0 ? void 0 : options.data) !== null && _a !== void 0 ? _a : {},\n create_user: (_b = options === null || options === void 0 ? void 0 : options.shouldCreateUser) !== null && _b !== void 0 ? _b : true,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n code_challenge: codeChallenge,\n code_challenge_method: codeChallengeMethod,\n },\n redirectTo: options === null || options === void 0 ? void 0 : options.emailRedirectTo,\n });\n return { data: { user: null, session: null }, error };\n }\n if ('phone' in credentials) {\n const { phone, options } = credentials;\n const { data, error } = await _request(this.fetch, 'POST', `${this.url}/otp`, {\n headers: this.headers,\n body: {\n phone,\n data: (_c = options === null || options === void 0 ? void 0 : options.data) !== null && _c !== void 0 ? _c : {},\n create_user: (_d = options === null || options === void 0 ? void 0 : options.shouldCreateUser) !== null && _d !== void 0 ? _d : true,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n channel: (_e = options === null || options === void 0 ? void 0 : options.channel) !== null && _e !== void 0 ? _e : 'sms',\n },\n });\n return { data: { user: null, session: null, messageId: data === null || data === void 0 ? void 0 : data.message_id }, error };\n }\n throw new AuthInvalidCredentialsError('You must provide either an email or phone number.');\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Log in a user given a User supplied OTP or TokenHash received through mobile or email.\n */\n async verifyOtp(params) {\n var _a, _b;\n try {\n if (params.type !== 'email_change' && params.type !== 'phone_change') {\n // we don't want to remove the authenticated session if the user is performing an email_change or phone_change verification\n await this._removeSession();\n }\n let redirectTo = undefined;\n let captchaToken = undefined;\n if ('options' in params) {\n redirectTo = (_a = params.options) === null || _a === void 0 ? void 0 : _a.redirectTo;\n captchaToken = (_b = params.options) === null || _b === void 0 ? void 0 : _b.captchaToken;\n }\n const { data, error } = await _request(this.fetch, 'POST', `${this.url}/verify`, {\n headers: this.headers,\n body: Object.assign(Object.assign({}, params), { gotrue_meta_security: { captcha_token: captchaToken } }),\n redirectTo,\n xform: _sessionResponse,\n });\n if (error) {\n throw error;\n }\n if (!data) {\n throw new Error('An error occurred on token verification.');\n }\n const session = data.session;\n const user = data.user;\n if (session === null || session === void 0 ? void 0 : session.access_token) {\n await this._saveSession(session);\n await this._notifyAllSubscribers(params.type == 'recovery' ? 'PASSWORD_RECOVERY' : 'SIGNED_IN', session);\n }\n return { data: { user, session }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Attempts a single-sign on using an enterprise Identity Provider. A\n * successful SSO attempt will redirect the current page to the identity\n * provider authorization page. The redirect URL is implementation and SSO\n * protocol specific.\n *\n * You can use it by providing a SSO domain. Typically you can extract this\n * domain by asking users for their email address. If this domain is\n * registered on the Auth instance the redirect will use that organization's\n * currently active SSO Identity Provider for the login.\n *\n * If you have built an organization-specific login page, you can use the\n * organization's SSO Identity Provider UUID directly instead.\n */\n async signInWithSSO(params) {\n var _a, _b, _c;\n try {\n await this._removeSession();\n let codeChallenge = null;\n let codeChallengeMethod = null;\n if (this.flowType === 'pkce') {\n ;\n [codeChallenge, codeChallengeMethod] = await getCodeChallengeAndMethod(this.storage, this.storageKey);\n }\n return await _request(this.fetch, 'POST', `${this.url}/sso`, {\n body: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ('providerId' in params ? { provider_id: params.providerId } : null)), ('domain' in params ? { domain: params.domain } : null)), { redirect_to: (_b = (_a = params.options) === null || _a === void 0 ? void 0 : _a.redirectTo) !== null && _b !== void 0 ? _b : undefined }), (((_c = params === null || params === void 0 ? void 0 : params.options) === null || _c === void 0 ? void 0 : _c.captchaToken)\n ? { gotrue_meta_security: { captcha_token: params.options.captchaToken } }\n : null)), { skip_http_redirect: true, code_challenge: codeChallenge, code_challenge_method: codeChallengeMethod }),\n headers: this.headers,\n xform: _ssoResponse,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * Sends a reauthentication OTP to the user's email or phone number.\n * Requires the user to be signed-in.\n */\n async reauthenticate() {\n await this.initializePromise;\n return await this._acquireLock(-1, async () => {\n return await this._reauthenticate();\n });\n }\n async _reauthenticate() {\n try {\n return await this._useSession(async (result) => {\n const { data: { session }, error: sessionError, } = result;\n if (sessionError)\n throw sessionError;\n if (!session)\n throw new AuthSessionMissingError();\n const { error } = await _request(this.fetch, 'GET', `${this.url}/reauthenticate`, {\n headers: this.headers,\n jwt: session.access_token,\n });\n return { data: { user: null, session: null }, error };\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP.\n */\n async resend(credentials) {\n try {\n if (credentials.type != 'email_change' && credentials.type != 'phone_change') {\n await this._removeSession();\n }\n const endpoint = `${this.url}/resend`;\n if ('email' in credentials) {\n const { email, type, options } = credentials;\n const { error } = await _request(this.fetch, 'POST', endpoint, {\n headers: this.headers,\n body: {\n email,\n type,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n },\n redirectTo: options === null || options === void 0 ? void 0 : options.emailRedirectTo,\n });\n return { data: { user: null, session: null }, error };\n }\n else if ('phone' in credentials) {\n const { phone, type, options } = credentials;\n const { data, error } = await _request(this.fetch, 'POST', endpoint, {\n headers: this.headers,\n body: {\n phone,\n type,\n gotrue_meta_security: { captcha_token: options === null || options === void 0 ? void 0 : options.captchaToken },\n },\n });\n return { data: { user: null, session: null, messageId: data === null || data === void 0 ? void 0 : data.message_id }, error };\n }\n throw new AuthInvalidCredentialsError('You must provide either an email or phone number and a type');\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Returns the session, refreshing it if necessary.\n *\n * The session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.\n *\n * **IMPORTANT:** This method loads values directly from the storage attached\n * to the client. If that storage is based on request cookies for example,\n * the values in it may not be authentic and therefore it's strongly advised\n * against using this method and its results in such circumstances. A warning\n * will be emitted if this is detected. Use {@link #getUser()} instead.\n */\n async getSession() {\n await this.initializePromise;\n const result = await this._acquireLock(-1, async () => {\n return this._useSession(async (result) => {\n return result;\n });\n });\n return result;\n }\n /**\n * Acquires a global lock based on the storage key.\n */\n async _acquireLock(acquireTimeout, fn) {\n this._debug('#_acquireLock', 'begin', acquireTimeout);\n try {\n if (this.lockAcquired) {\n const last = this.pendingInLock.length\n ? this.pendingInLock[this.pendingInLock.length - 1]\n : Promise.resolve();\n const result = (async () => {\n await last;\n return await fn();\n })();\n this.pendingInLock.push((async () => {\n try {\n await result;\n }\n catch (e) {\n // we just care if it finished\n }\n })());\n return result;\n }\n return await this.lock(`lock:${this.storageKey}`, acquireTimeout, async () => {\n this._debug('#_acquireLock', 'lock acquired for storage key', this.storageKey);\n try {\n this.lockAcquired = true;\n const result = fn();\n this.pendingInLock.push((async () => {\n try {\n await result;\n }\n catch (e) {\n // we just care if it finished\n }\n })());\n await result;\n // keep draining the queue until there's nothing to wait on\n while (this.pendingInLock.length) {\n const waitOn = [...this.pendingInLock];\n await Promise.all(waitOn);\n this.pendingInLock.splice(0, waitOn.length);\n }\n return await result;\n }\n finally {\n this._debug('#_acquireLock', 'lock released for storage key', this.storageKey);\n this.lockAcquired = false;\n }\n });\n }\n finally {\n this._debug('#_acquireLock', 'end');\n }\n }\n /**\n * Use instead of {@link #getSession} inside the library. It is\n * semantically usually what you want, as getting a session involves some\n * processing afterwards that requires only one client operating on the\n * session at once across multiple tabs or processes.\n */\n async _useSession(fn) {\n this._debug('#_useSession', 'begin');\n try {\n // the use of __loadSession here is the only correct use of the function!\n const result = await this.__loadSession();\n return await fn(result);\n }\n finally {\n this._debug('#_useSession', 'end');\n }\n }\n /**\n * NEVER USE DIRECTLY!\n *\n * Always use {@link #_useSession}.\n */\n async __loadSession() {\n this._debug('#__loadSession()', 'begin');\n if (!this.lockAcquired) {\n this._debug('#__loadSession()', 'used outside of an acquired lock!', new Error().stack);\n }\n try {\n let currentSession = null;\n const maybeSession = await getItemAsync(this.storage, this.storageKey);\n this._debug('#getSession()', 'session from storage', maybeSession);\n if (maybeSession !== null) {\n if (this._isValidSession(maybeSession)) {\n currentSession = maybeSession;\n }\n else {\n this._debug('#getSession()', 'session from storage is not valid');\n await this._removeSession();\n }\n }\n if (!currentSession) {\n return { data: { session: null }, error: null };\n }\n const hasExpired = currentSession.expires_at\n ? currentSession.expires_at <= Date.now() / 1000\n : false;\n this._debug('#__loadSession()', `session has${hasExpired ? '' : ' not'} expired`, 'expires_at', currentSession.expires_at);\n if (!hasExpired) {\n if (this.storage.isServer) {\n const suppressWarning = this.suppressGetSessionWarning;\n const proxySession = new Proxy(currentSession, {\n get(target, prop, receiver) {\n if (!suppressWarning && prop === 'user') {\n // only show warning when the user object is being accessed from the server\n console.warn('Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and many not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server.');\n }\n return Reflect.get(target, prop, receiver);\n },\n });\n currentSession = proxySession;\n }\n return { data: { session: currentSession }, error: null };\n }\n const { session, error } = await this._callRefreshToken(currentSession.refresh_token);\n if (error) {\n return { data: { session: null }, error };\n }\n return { data: { session }, error: null };\n }\n finally {\n this._debug('#__loadSession()', 'end');\n }\n }\n /**\n * Gets the current user details if there is an existing session. This method\n * performs a network request to the Supabase Auth server, so the returned\n * value is authentic and can be used to base authorization rules on.\n *\n * @param jwt Takes in an optional access token JWT. If no JWT is provided, the JWT from the current session is used.\n */\n async getUser(jwt) {\n if (jwt) {\n return await this._getUser(jwt);\n }\n await this.initializePromise;\n const result = await this._acquireLock(-1, async () => {\n return await this._getUser();\n });\n return result;\n }\n async _getUser(jwt) {\n try {\n if (jwt) {\n return await _request(this.fetch, 'GET', `${this.url}/user`, {\n headers: this.headers,\n jwt: jwt,\n xform: _userResponse,\n });\n }\n return await this._useSession(async (result) => {\n var _a, _b, _c;\n const { data, error } = result;\n if (error) {\n throw error;\n }\n // returns an error if there is no access_token or custom authorization header\n if (!((_a = data.session) === null || _a === void 0 ? void 0 : _a.access_token) && !this.hasCustomAuthorizationHeader) {\n return { data: { user: null }, error: new AuthSessionMissingError() };\n }\n return await _request(this.fetch, 'GET', `${this.url}/user`, {\n headers: this.headers,\n jwt: (_c = (_b = data.session) === null || _b === void 0 ? void 0 : _b.access_token) !== null && _c !== void 0 ? _c : undefined,\n xform: _userResponse,\n });\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Updates user data for a logged in user.\n */\n async updateUser(attributes, options = {}) {\n await this.initializePromise;\n return await this._acquireLock(-1, async () => {\n return await this._updateUser(attributes, options);\n });\n }\n async _updateUser(attributes, options = {}) {\n try {\n return await this._useSession(async (result) => {\n const { data: sessionData, error: sessionError } = result;\n if (sessionError) {\n throw sessionError;\n }\n if (!sessionData.session) {\n throw new AuthSessionMissingError();\n }\n const session = sessionData.session;\n let codeChallenge = null;\n let codeChallengeMethod = null;\n if (this.flowType === 'pkce' && attributes.email != null) {\n ;\n [codeChallenge, codeChallengeMethod] = await getCodeChallengeAndMethod(this.storage, this.storageKey);\n }\n const { data, error: userError } = await _request(this.fetch, 'PUT', `${this.url}/user`, {\n headers: this.headers,\n redirectTo: options === null || options === void 0 ? void 0 : options.emailRedirectTo,\n body: Object.assign(Object.assign({}, attributes), { code_challenge: codeChallenge, code_challenge_method: codeChallengeMethod }),\n jwt: session.access_token,\n xform: _userResponse,\n });\n if (userError)\n throw userError;\n session.user = data.user;\n await this._saveSession(session);\n await this._notifyAllSubscribers('USER_UPDATED', session);\n return { data: { user: session.user }, error: null };\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Decodes a JWT (without performing any validation).\n */\n _decodeJWT(jwt) {\n return decodeJWTPayload(jwt);\n }\n /**\n * Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\n * If the refresh token or access token in the current session is invalid, an error will be thrown.\n * @param currentSession The current session that minimally contains an access token and refresh token.\n */\n async setSession(currentSession) {\n await this.initializePromise;\n return await this._acquireLock(-1, async () => {\n return await this._setSession(currentSession);\n });\n }\n async _setSession(currentSession) {\n try {\n if (!currentSession.access_token || !currentSession.refresh_token) {\n throw new AuthSessionMissingError();\n }\n const timeNow = Date.now() / 1000;\n let expiresAt = timeNow;\n let hasExpired = true;\n let session = null;\n const payload = decodeJWTPayload(currentSession.access_token);\n if (payload.exp) {\n expiresAt = payload.exp;\n hasExpired = expiresAt <= timeNow;\n }\n if (hasExpired) {\n const { session: refreshedSession, error } = await this._callRefreshToken(currentSession.refresh_token);\n if (error) {\n return { data: { user: null, session: null }, error: error };\n }\n if (!refreshedSession) {\n return { data: { user: null, session: null }, error: null };\n }\n session = refreshedSession;\n }\n else {\n const { data, error } = await this._getUser(currentSession.access_token);\n if (error) {\n throw error;\n }\n session = {\n access_token: currentSession.access_token,\n refresh_token: currentSession.refresh_token,\n user: data.user,\n token_type: 'bearer',\n expires_in: expiresAt - timeNow,\n expires_at: expiresAt,\n };\n await this._saveSession(session);\n await this._notifyAllSubscribers('SIGNED_IN', session);\n }\n return { data: { user: session.user, session }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { session: null, user: null }, error };\n }\n throw error;\n }\n }\n /**\n * Returns a new session, regardless of expiry status.\n * Takes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\n * If the current session's refresh token is invalid, an error will be thrown.\n * @param currentSession The current session. If passed in, it must contain a refresh token.\n */\n async refreshSession(currentSession) {\n await this.initializePromise;\n return await this._acquireLock(-1, async () => {\n return await this._refreshSession(currentSession);\n });\n }\n async _refreshSession(currentSession) {\n try {\n return await this._useSession(async (result) => {\n var _a;\n if (!currentSession) {\n const { data, error } = result;\n if (error) {\n throw error;\n }\n currentSession = (_a = data.session) !== null && _a !== void 0 ? _a : undefined;\n }\n if (!(currentSession === null || currentSession === void 0 ? void 0 : currentSession.refresh_token)) {\n throw new AuthSessionMissingError();\n }\n const { session, error } = await this._callRefreshToken(currentSession.refresh_token);\n if (error) {\n return { data: { user: null, session: null }, error: error };\n }\n if (!session) {\n return { data: { user: null, session: null }, error: null };\n }\n return { data: { user: session.user, session }, error: null };\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { user: null, session: null }, error };\n }\n throw error;\n }\n }\n /**\n * Gets the session data from a URL string\n */\n async _getSessionFromURL(isPKCEFlow) {\n try {\n if (!isBrowser())\n throw new AuthImplicitGrantRedirectError('No browser detected.');\n if (this.flowType === 'implicit' && !this._isImplicitGrantFlow()) {\n throw new AuthImplicitGrantRedirectError('Not a valid implicit grant flow url.');\n }\n else if (this.flowType == 'pkce' && !isPKCEFlow) {\n throw new AuthPKCEGrantCodeExchangeError('Not a valid PKCE flow url.');\n }\n const params = parseParametersFromURL(window.location.href);\n if (isPKCEFlow) {\n if (!params.code)\n throw new AuthPKCEGrantCodeExchangeError('No code detected.');\n const { data, error } = await this._exchangeCodeForSession(params.code);\n if (error)\n throw error;\n const url = new URL(window.location.href);\n url.searchParams.delete('code');\n window.history.replaceState(window.history.state, '', url.toString());\n return { data: { session: data.session, redirectType: null }, error: null };\n }\n if (params.error || params.error_description || params.error_code) {\n throw new AuthImplicitGrantRedirectError(params.error_description || 'Error in URL with unspecified error_description', {\n error: params.error || 'unspecified_error',\n code: params.error_code || 'unspecified_code',\n });\n }\n const { provider_token, provider_refresh_token, access_token, refresh_token, expires_in, expires_at, token_type, } = params;\n if (!access_token || !expires_in || !refresh_token || !token_type) {\n throw new AuthImplicitGrantRedirectError('No session defined in URL');\n }\n const timeNow = Math.round(Date.now() / 1000);\n const expiresIn = parseInt(expires_in);\n let expiresAt = timeNow + expiresIn;\n if (expires_at) {\n expiresAt = parseInt(expires_at);\n }\n const actuallyExpiresIn = expiresAt - timeNow;\n if (actuallyExpiresIn * 1000 <= AUTO_REFRESH_TICK_DURATION) {\n console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${actuallyExpiresIn}s, should have been closer to ${expiresIn}s`);\n }\n const issuedAt = expiresAt - expiresIn;\n if (timeNow - issuedAt >= 120) {\n console.warn('@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale', issuedAt, expiresAt, timeNow);\n }\n else if (timeNow - issuedAt < 0) {\n console.warn('@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew', issuedAt, expiresAt, timeNow);\n }\n const { data, error } = await this._getUser(access_token);\n if (error)\n throw error;\n const session = {\n provider_token,\n provider_refresh_token,\n access_token,\n expires_in: expiresIn,\n expires_at: expiresAt,\n refresh_token,\n token_type,\n user: data.user,\n };\n // Remove tokens from URL\n window.location.hash = '';\n this._debug('#_getSessionFromURL()', 'clearing window.location.hash');\n return { data: { session, redirectType: params.type }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { session: null, redirectType: null }, error };\n }\n throw error;\n }\n }\n /**\n * Checks if the current URL contains parameters given by an implicit oauth grant flow (https://www.rfc-editor.org/rfc/rfc6749.html#section-4.2)\n */\n _isImplicitGrantFlow() {\n const params = parseParametersFromURL(window.location.href);\n return !!(isBrowser() && (params.access_token || params.error_description));\n }\n /**\n * Checks if the current URL and backing storage contain parameters given by a PKCE flow\n */\n async _isPKCEFlow() {\n const params = parseParametersFromURL(window.location.href);\n const currentStorageContent = await getItemAsync(this.storage, `${this.storageKey}-code-verifier`);\n return !!(params.code && currentStorageContent);\n }\n /**\n * Inside a browser context, `signOut()` will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.\n *\n * For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\n * There is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n *\n * If using `others` scope, no `SIGNED_OUT` event is fired!\n */\n async signOut(options = { scope: 'global' }) {\n await this.initializePromise;\n return await this._acquireLock(-1, async () => {\n return await this._signOut(options);\n });\n }\n async _signOut({ scope } = { scope: 'global' }) {\n return await this._useSession(async (result) => {\n var _a;\n const { data, error: sessionError } = result;\n if (sessionError) {\n return { error: sessionError };\n }\n const accessToken = (_a = data.session) === null || _a === void 0 ? void 0 : _a.access_token;\n if (accessToken) {\n const { error } = await this.admin.signOut(accessToken, scope);\n if (error) {\n // ignore 404s since user might not exist anymore\n // ignore 401s since an invalid or expired JWT should sign out the current session\n if (!(isAuthApiError(error) &&\n (error.status === 404 || error.status === 401 || error.status === 403))) {\n return { error };\n }\n }\n }\n if (scope !== 'others') {\n await this._removeSession();\n await removeItemAsync(this.storage, `${this.storageKey}-code-verifier`);\n await this._notifyAllSubscribers('SIGNED_OUT', null);\n }\n return { error: null };\n });\n }\n /**\n * Receive a notification every time an auth event happens.\n * @param callback A callback function to be invoked when an auth event happens.\n */\n onAuthStateChange(callback) {\n const id = uuid();\n const subscription = {\n id,\n callback,\n unsubscribe: () => {\n this._debug('#unsubscribe()', 'state change callback with id removed', id);\n this.stateChangeEmitters.delete(id);\n },\n };\n this._debug('#onAuthStateChange()', 'registered callback with id', id);\n this.stateChangeEmitters.set(id, subscription);\n (async () => {\n await this.initializePromise;\n await this._acquireLock(-1, async () => {\n this._emitInitialSession(id);\n });\n })();\n return { data: { subscription } };\n }\n async _emitInitialSession(id) {\n return await this._useSession(async (result) => {\n var _a, _b;\n try {\n const { data: { session }, error, } = result;\n if (error)\n throw error;\n await ((_a = this.stateChangeEmitters.get(id)) === null || _a === void 0 ? void 0 : _a.callback('INITIAL_SESSION', session));\n this._debug('INITIAL_SESSION', 'callback id', id, 'session', session);\n }\n catch (err) {\n await ((_b = this.stateChangeEmitters.get(id)) === null || _b === void 0 ? void 0 : _b.callback('INITIAL_SESSION', null));\n this._debug('INITIAL_SESSION', 'callback id', id, 'error', err);\n console.error(err);\n }\n });\n }\n /**\n * Sends a password reset request to an email address. This method supports the PKCE flow.\n *\n * @param email The email address of the user.\n * @param options.redirectTo The URL to send the user to after they click the password reset link.\n * @param options.captchaToken Verification token received when the user completes the captcha on the site.\n */\n async resetPasswordForEmail(email, options = {}) {\n let codeChallenge = null;\n let codeChallengeMethod = null;\n if (this.flowType === 'pkce') {\n ;\n [codeChallenge, codeChallengeMethod] = await getCodeChallengeAndMethod(this.storage, this.storageKey, true // isPasswordRecovery\n );\n }\n try {\n return await _request(this.fetch, 'POST', `${this.url}/recover`, {\n body: {\n email,\n code_challenge: codeChallenge,\n code_challenge_method: codeChallengeMethod,\n gotrue_meta_security: { captcha_token: options.captchaToken },\n },\n headers: this.headers,\n redirectTo: options.redirectTo,\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * Gets all the identities linked to a user.\n */\n async getUserIdentities() {\n var _a;\n try {\n const { data, error } = await this.getUser();\n if (error)\n throw error;\n return { data: { identities: (_a = data.user.identities) !== null && _a !== void 0 ? _a : [] }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * Links an oauth identity to an existing user.\n * This method supports the PKCE flow.\n */\n async linkIdentity(credentials) {\n var _a;\n try {\n const { data, error } = await this._useSession(async (result) => {\n var _a, _b, _c, _d, _e;\n const { data, error } = result;\n if (error)\n throw error;\n const url = await this._getUrlForProvider(`${this.url}/user/identities/authorize`, credentials.provider, {\n redirectTo: (_a = credentials.options) === null || _a === void 0 ? void 0 : _a.redirectTo,\n scopes: (_b = credentials.options) === null || _b === void 0 ? void 0 : _b.scopes,\n queryParams: (_c = credentials.options) === null || _c === void 0 ? void 0 : _c.queryParams,\n skipBrowserRedirect: true,\n });\n return await _request(this.fetch, 'GET', url, {\n headers: this.headers,\n jwt: (_e = (_d = data.session) === null || _d === void 0 ? void 0 : _d.access_token) !== null && _e !== void 0 ? _e : undefined,\n });\n });\n if (error)\n throw error;\n if (isBrowser() && !((_a = credentials.options) === null || _a === void 0 ? void 0 : _a.skipBrowserRedirect)) {\n window.location.assign(data === null || data === void 0 ? void 0 : data.url);\n }\n return { data: { provider: credentials.provider, url: data === null || data === void 0 ? void 0 : data.url }, error: null };\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: { provider: credentials.provider, url: null }, error };\n }\n throw error;\n }\n }\n /**\n * Unlinks an identity from a user by deleting it. The user will no longer be able to sign in with that identity once it's unlinked.\n */\n async unlinkIdentity(identity) {\n try {\n return await this._useSession(async (result) => {\n var _a, _b;\n const { data, error } = result;\n if (error) {\n throw error;\n }\n return await _request(this.fetch, 'DELETE', `${this.url}/user/identities/${identity.identity_id}`, {\n headers: this.headers,\n jwt: (_b = (_a = data.session) === null || _a === void 0 ? void 0 : _a.access_token) !== null && _b !== void 0 ? _b : undefined,\n });\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * Generates a new JWT.\n * @param refreshToken A valid refresh token that was returned on login.\n */\n async _refreshAccessToken(refreshToken) {\n const debugName = `#_refreshAccessToken(${refreshToken.substring(0, 5)}...)`;\n this._debug(debugName, 'begin');\n try {\n const startedAt = Date.now();\n // will attempt to refresh the token with exponential backoff\n return await retryable(async (attempt) => {\n if (attempt > 0) {\n await sleep(200 * Math.pow(2, attempt - 1)); // 200, 400, 800, ...\n }\n this._debug(debugName, 'refreshing attempt', attempt);\n return await _request(this.fetch, 'POST', `${this.url}/token?grant_type=refresh_token`, {\n body: { refresh_token: refreshToken },\n headers: this.headers,\n xform: _sessionResponse,\n });\n }, (attempt, error) => {\n const nextBackOffInterval = 200 * Math.pow(2, attempt);\n return (error &&\n isAuthRetryableFetchError(error) &&\n // retryable only if the request can be sent before the backoff overflows the tick duration\n Date.now() + nextBackOffInterval - startedAt < AUTO_REFRESH_TICK_DURATION);\n });\n }\n catch (error) {\n this._debug(debugName, 'error', error);\n if (isAuthError(error)) {\n return { data: { session: null, user: null }, error };\n }\n throw error;\n }\n finally {\n this._debug(debugName, 'end');\n }\n }\n _isValidSession(maybeSession) {\n const isValidSession = typeof maybeSession === 'object' &&\n maybeSession !== null &&\n 'access_token' in maybeSession &&\n 'refresh_token' in maybeSession &&\n 'expires_at' in maybeSession;\n return isValidSession;\n }\n async _handleProviderSignIn(provider, options) {\n const url = await this._getUrlForProvider(`${this.url}/authorize`, provider, {\n redirectTo: options.redirectTo,\n scopes: options.scopes,\n queryParams: options.queryParams,\n });\n this._debug('#_handleProviderSignIn()', 'provider', provider, 'options', options, 'url', url);\n // try to open on the browser\n if (isBrowser() && !options.skipBrowserRedirect) {\n window.location.assign(url);\n }\n return { data: { provider, url }, error: null };\n }\n /**\n * Recovers the session from LocalStorage and refreshes\n * Note: this method is async to accommodate for AsyncStorage e.g. in React native.\n */\n async _recoverAndRefresh() {\n var _a;\n const debugName = '#_recoverAndRefresh()';\n this._debug(debugName, 'begin');\n try {\n const currentSession = await getItemAsync(this.storage, this.storageKey);\n this._debug(debugName, 'session from storage', currentSession);\n if (!this._isValidSession(currentSession)) {\n this._debug(debugName, 'session is not valid');\n if (currentSession !== null) {\n await this._removeSession();\n }\n return;\n }\n const timeNow = Math.round(Date.now() / 1000);\n const expiresWithMargin = ((_a = currentSession.expires_at) !== null && _a !== void 0 ? _a : Infinity) < timeNow + EXPIRY_MARGIN;\n this._debug(debugName, `session has${expiresWithMargin ? '' : ' not'} expired with margin of ${EXPIRY_MARGIN}s`);\n if (expiresWithMargin) {\n if (this.autoRefreshToken && currentSession.refresh_token) {\n const { error } = await this._callRefreshToken(currentSession.refresh_token);\n if (error) {\n console.error(error);\n if (!isAuthRetryableFetchError(error)) {\n this._debug(debugName, 'refresh failed with a non-retryable error, removing the session', error);\n await this._removeSession();\n }\n }\n }\n }\n else {\n // no need to persist currentSession again, as we just loaded it from\n // local storage; persisting it again may overwrite a value saved by\n // another client with access to the same local storage\n await this._notifyAllSubscribers('SIGNED_IN', currentSession);\n }\n }\n catch (err) {\n this._debug(debugName, 'error', err);\n console.error(err);\n return;\n }\n finally {\n this._debug(debugName, 'end');\n }\n }\n async _callRefreshToken(refreshToken) {\n var _a, _b;\n if (!refreshToken) {\n throw new AuthSessionMissingError();\n }\n // refreshing is already in progress\n if (this.refreshingDeferred) {\n return this.refreshingDeferred.promise;\n }\n const debugName = `#_callRefreshToken(${refreshToken.substring(0, 5)}...)`;\n this._debug(debugName, 'begin');\n try {\n this.refreshingDeferred = new Deferred();\n const { data, error } = await this._refreshAccessToken(refreshToken);\n if (error)\n throw error;\n if (!data.session)\n throw new AuthSessionMissingError();\n await this._saveSession(data.session);\n await this._notifyAllSubscribers('TOKEN_REFRESHED', data.session);\n const result = { session: data.session, error: null };\n this.refreshingDeferred.resolve(result);\n return result;\n }\n catch (error) {\n this._debug(debugName, 'error', error);\n if (isAuthError(error)) {\n const result = { session: null, error };\n if (!isAuthRetryableFetchError(error)) {\n await this._removeSession();\n await this._notifyAllSubscribers('SIGNED_OUT', null);\n }\n (_a = this.refreshingDeferred) === null || _a === void 0 ? void 0 : _a.resolve(result);\n return result;\n }\n (_b = this.refreshingDeferred) === null || _b === void 0 ? void 0 : _b.reject(error);\n throw error;\n }\n finally {\n this.refreshingDeferred = null;\n this._debug(debugName, 'end');\n }\n }\n async _notifyAllSubscribers(event, session, broadcast = true) {\n const debugName = `#_notifyAllSubscribers(${event})`;\n this._debug(debugName, 'begin', session, `broadcast = ${broadcast}`);\n try {\n if (this.broadcastChannel && broadcast) {\n this.broadcastChannel.postMessage({ event, session });\n }\n const errors = [];\n const promises = Array.from(this.stateChangeEmitters.values()).map(async (x) => {\n try {\n await x.callback(event, session);\n }\n catch (e) {\n errors.push(e);\n }\n });\n await Promise.all(promises);\n if (errors.length > 0) {\n for (let i = 0; i < errors.length; i += 1) {\n console.error(errors[i]);\n }\n throw errors[0];\n }\n }\n finally {\n this._debug(debugName, 'end');\n }\n }\n /**\n * set currentSession and currentUser\n * process to _startAutoRefreshToken if possible\n */\n async _saveSession(session) {\n this._debug('#_saveSession()', session);\n // _saveSession is always called whenever a new session has been acquired\n // so we can safely suppress the warning returned by future getSession calls\n this.suppressGetSessionWarning = true;\n await setItemAsync(this.storage, this.storageKey, session);\n }\n async _removeSession() {\n this._debug('#_removeSession()');\n await removeItemAsync(this.storage, this.storageKey);\n }\n /**\n * Removes any registered visibilitychange callback.\n *\n * {@see #startAutoRefresh}\n * {@see #stopAutoRefresh}\n */\n _removeVisibilityChangedCallback() {\n this._debug('#_removeVisibilityChangedCallback()');\n const callback = this.visibilityChangedCallback;\n this.visibilityChangedCallback = null;\n try {\n if (callback && isBrowser() && (window === null || window === void 0 ? void 0 : window.removeEventListener)) {\n window.removeEventListener('visibilitychange', callback);\n }\n }\n catch (e) {\n console.error('removing visibilitychange callback failed', e);\n }\n }\n /**\n * This is the private implementation of {@link #startAutoRefresh}. Use this\n * within the library.\n */\n async _startAutoRefresh() {\n await this._stopAutoRefresh();\n this._debug('#_startAutoRefresh()');\n const ticker = setInterval(() => this._autoRefreshTokenTick(), AUTO_REFRESH_TICK_DURATION);\n this.autoRefreshTicker = ticker;\n if (ticker && typeof ticker === 'object' && typeof ticker.unref === 'function') {\n // ticker is a NodeJS Timeout object that has an `unref` method\n // https://nodejs.org/api/timers.html#timeoutunref\n // When auto refresh is used in NodeJS (like for testing) the\n // `setInterval` is preventing the process from being marked as\n // finished and tests run endlessly. This can be prevented by calling\n // `unref()` on the returned object.\n ticker.unref();\n // @ts-ignore\n }\n else if (typeof Deno !== 'undefined' && typeof Deno.unrefTimer === 'function') {\n // similar like for NodeJS, but with the Deno API\n // https://deno.land/api@latest?unstable&s=Deno.unrefTimer\n // @ts-ignore\n Deno.unrefTimer(ticker);\n }\n // run the tick immediately, but in the next pass of the event loop so that\n // #_initialize can be allowed to complete without recursively waiting on\n // itself\n setTimeout(async () => {\n await this.initializePromise;\n await this._autoRefreshTokenTick();\n }, 0);\n }\n /**\n * This is the private implementation of {@link #stopAutoRefresh}. Use this\n * within the library.\n */\n async _stopAutoRefresh() {\n this._debug('#_stopAutoRefresh()');\n const ticker = this.autoRefreshTicker;\n this.autoRefreshTicker = null;\n if (ticker) {\n clearInterval(ticker);\n }\n }\n /**\n * Starts an auto-refresh process in the background. The session is checked\n * every few seconds. Close to the time of expiration a process is started to\n * refresh the session. If refreshing fails it will be retried for as long as\n * necessary.\n *\n * If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\n * to call this function, it will be called for you.\n *\n * On browsers the refresh process works only when the tab/window is in the\n * foreground to conserve resources as well as prevent race conditions and\n * flooding auth with requests. If you call this method any managed\n * visibility change callback will be removed and you must manage visibility\n * changes on your own.\n *\n * On non-browser platforms the refresh process works *continuously* in the\n * background, which may not be desirable. You should hook into your\n * platform's foreground indication mechanism and call these methods\n * appropriately to conserve resources.\n *\n * {@see #stopAutoRefresh}\n */\n async startAutoRefresh() {\n this._removeVisibilityChangedCallback();\n await this._startAutoRefresh();\n }\n /**\n * Stops an active auto refresh process running in the background (if any).\n *\n * If you call this method any managed visibility change callback will be\n * removed and you must manage visibility changes on your own.\n *\n * See {@link #startAutoRefresh} for more details.\n */\n async stopAutoRefresh() {\n this._removeVisibilityChangedCallback();\n await this._stopAutoRefresh();\n }\n /**\n * Runs the auto refresh token tick.\n */\n async _autoRefreshTokenTick() {\n this._debug('#_autoRefreshTokenTick()', 'begin');\n try {\n await this._acquireLock(0, async () => {\n try {\n const now = Date.now();\n try {\n return await this._useSession(async (result) => {\n const { data: { session }, } = result;\n if (!session || !session.refresh_token || !session.expires_at) {\n this._debug('#_autoRefreshTokenTick()', 'no session');\n return;\n }\n // session will expire in this many ticks (or has already expired if <= 0)\n const expiresInTicks = Math.floor((session.expires_at * 1000 - now) / AUTO_REFRESH_TICK_DURATION);\n this._debug('#_autoRefreshTokenTick()', `access token expires in ${expiresInTicks} ticks, a tick lasts ${AUTO_REFRESH_TICK_DURATION}ms, refresh threshold is ${AUTO_REFRESH_TICK_THRESHOLD} ticks`);\n if (expiresInTicks <= AUTO_REFRESH_TICK_THRESHOLD) {\n await this._callRefreshToken(session.refresh_token);\n }\n });\n }\n catch (e) {\n console.error('Auto refresh tick failed with error. This is likely a transient error.', e);\n }\n }\n finally {\n this._debug('#_autoRefreshTokenTick()', 'end');\n }\n });\n }\n catch (e) {\n if (e.isAcquireTimeout || e instanceof LockAcquireTimeoutError) {\n this._debug('auto refresh token tick lock not available');\n }\n else {\n throw e;\n }\n }\n }\n /**\n * Registers callbacks on the browser / platform, which in-turn run\n * algorithms when the browser window/tab are in foreground. On non-browser\n * platforms it assumes always foreground.\n */\n async _handleVisibilityChange() {\n this._debug('#_handleVisibilityChange()');\n if (!isBrowser() || !(window === null || window === void 0 ? void 0 : window.addEventListener)) {\n if (this.autoRefreshToken) {\n // in non-browser environments the refresh token ticker runs always\n this.startAutoRefresh();\n }\n return false;\n }\n try {\n this.visibilityChangedCallback = async () => await this._onVisibilityChanged(false);\n window === null || window === void 0 ? void 0 : window.addEventListener('visibilitychange', this.visibilityChangedCallback);\n // now immediately call the visbility changed callback to setup with the\n // current visbility state\n await this._onVisibilityChanged(true); // initial call\n }\n catch (error) {\n console.error('_handleVisibilityChange', error);\n }\n }\n /**\n * Callback registered with `window.addEventListener('visibilitychange')`.\n */\n async _onVisibilityChanged(calledFromInitialize) {\n const methodName = `#_onVisibilityChanged(${calledFromInitialize})`;\n this._debug(methodName, 'visibilityState', document.visibilityState);\n if (document.visibilityState === 'visible') {\n if (this.autoRefreshToken) {\n // in browser environments the refresh token ticker runs only on focused tabs\n // which prevents race conditions\n this._startAutoRefresh();\n }\n if (!calledFromInitialize) {\n // called when the visibility has changed, i.e. the browser\n // transitioned from hidden -> visible so we need to see if the session\n // should be recovered immediately... but to do that we need to acquire\n // the lock first asynchronously\n await this.initializePromise;\n await this._acquireLock(-1, async () => {\n if (document.visibilityState !== 'visible') {\n this._debug(methodName, 'acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting');\n // visibility has changed while waiting for the lock, abort\n return;\n }\n // recover the session\n await this._recoverAndRefresh();\n });\n }\n }\n else if (document.visibilityState === 'hidden') {\n if (this.autoRefreshToken) {\n this._stopAutoRefresh();\n }\n }\n }\n /**\n * Generates the relevant login URL for a third-party provider.\n * @param options.redirectTo A URL or mobile address to send the user to after they are confirmed.\n * @param options.scopes A space-separated list of scopes granted to the OAuth application.\n * @param options.queryParams An object of key-value pairs containing query parameters granted to the OAuth application.\n */\n async _getUrlForProvider(url, provider, options) {\n const urlParams = [`provider=${encodeURIComponent(provider)}`];\n if (options === null || options === void 0 ? void 0 : options.redirectTo) {\n urlParams.push(`redirect_to=${encodeURIComponent(options.redirectTo)}`);\n }\n if (options === null || options === void 0 ? void 0 : options.scopes) {\n urlParams.push(`scopes=${encodeURIComponent(options.scopes)}`);\n }\n if (this.flowType === 'pkce') {\n const [codeChallenge, codeChallengeMethod] = await getCodeChallengeAndMethod(this.storage, this.storageKey);\n const flowParams = new URLSearchParams({\n code_challenge: `${encodeURIComponent(codeChallenge)}`,\n code_challenge_method: `${encodeURIComponent(codeChallengeMethod)}`,\n });\n urlParams.push(flowParams.toString());\n }\n if (options === null || options === void 0 ? void 0 : options.queryParams) {\n const query = new URLSearchParams(options.queryParams);\n urlParams.push(query.toString());\n }\n if (options === null || options === void 0 ? void 0 : options.skipBrowserRedirect) {\n urlParams.push(`skip_http_redirect=${options.skipBrowserRedirect}`);\n }\n return `${url}?${urlParams.join('&')}`;\n }\n async _unenroll(params) {\n try {\n return await this._useSession(async (result) => {\n var _a;\n const { data: sessionData, error: sessionError } = result;\n if (sessionError) {\n return { data: null, error: sessionError };\n }\n return await _request(this.fetch, 'DELETE', `${this.url}/factors/${params.factorId}`, {\n headers: this.headers,\n jwt: (_a = sessionData === null || sessionData === void 0 ? void 0 : sessionData.session) === null || _a === void 0 ? void 0 : _a.access_token,\n });\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * {@see GoTrueMFAApi#enroll}\n */\n async _enroll(params) {\n try {\n return await this._useSession(async (result) => {\n var _a, _b;\n const { data: sessionData, error: sessionError } = result;\n if (sessionError) {\n return { data: null, error: sessionError };\n }\n const { data, error } = await _request(this.fetch, 'POST', `${this.url}/factors`, {\n body: {\n friendly_name: params.friendlyName,\n factor_type: params.factorType,\n issuer: params.issuer,\n },\n headers: this.headers,\n jwt: (_a = sessionData === null || sessionData === void 0 ? void 0 : sessionData.session) === null || _a === void 0 ? void 0 : _a.access_token,\n });\n if (error) {\n return { data: null, error };\n }\n if ((_b = data === null || data === void 0 ? void 0 : data.totp) === null || _b === void 0 ? void 0 : _b.qr_code) {\n data.totp.qr_code = `data:image/svg+xml;utf-8,${data.totp.qr_code}`;\n }\n return { data, error: null };\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n }\n /**\n * {@see GoTrueMFAApi#verify}\n */\n async _verify(params) {\n return this._acquireLock(-1, async () => {\n try {\n return await this._useSession(async (result) => {\n var _a;\n const { data: sessionData, error: sessionError } = result;\n if (sessionError) {\n return { data: null, error: sessionError };\n }\n const { data, error } = await _request(this.fetch, 'POST', `${this.url}/factors/${params.factorId}/verify`, {\n body: { code: params.code, challenge_id: params.challengeId },\n headers: this.headers,\n jwt: (_a = sessionData === null || sessionData === void 0 ? void 0 : sessionData.session) === null || _a === void 0 ? void 0 : _a.access_token,\n });\n if (error) {\n return { data: null, error };\n }\n await this._saveSession(Object.assign({ expires_at: Math.round(Date.now() / 1000) + data.expires_in }, data));\n await this._notifyAllSubscribers('MFA_CHALLENGE_VERIFIED', data);\n return { data, error };\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * {@see GoTrueMFAApi#challenge}\n */\n async _challenge(params) {\n return this._acquireLock(-1, async () => {\n try {\n return await this._useSession(async (result) => {\n var _a;\n const { data: sessionData, error: sessionError } = result;\n if (sessionError) {\n return { data: null, error: sessionError };\n }\n return await _request(this.fetch, 'POST', `${this.url}/factors/${params.factorId}/challenge`, {\n headers: this.headers,\n jwt: (_a = sessionData === null || sessionData === void 0 ? void 0 : sessionData.session) === null || _a === void 0 ? void 0 : _a.access_token,\n });\n });\n }\n catch (error) {\n if (isAuthError(error)) {\n return { data: null, error };\n }\n throw error;\n }\n });\n }\n /**\n * {@see GoTrueMFAApi#challengeAndVerify}\n */\n async _challengeAndVerify(params) {\n // both _challenge and _verify independently acquire the lock, so no need\n // to acquire it here\n const { data: challengeData, error: challengeError } = await this._challenge({\n factorId: params.factorId,\n });\n if (challengeError) {\n return { data: null, error: challengeError };\n }\n return await this._verify({\n factorId: params.factorId,\n challengeId: challengeData.id,\n code: params.code,\n });\n }\n /**\n * {@see GoTrueMFAApi#listFactors}\n */\n async _listFactors() {\n // use #getUser instead of #_getUser as the former acquires a lock\n const { data: { user }, error: userError, } = await this.getUser();\n if (userError) {\n return { data: null, error: userError };\n }\n const factors = (user === null || user === void 0 ? void 0 : user.factors) || [];\n const totp = factors.filter((factor) => factor.factor_type === 'totp' && factor.status === 'verified');\n return {\n data: {\n all: factors,\n totp,\n },\n error: null,\n };\n }\n /**\n * {@see GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n */\n async _getAuthenticatorAssuranceLevel() {\n return this._acquireLock(-1, async () => {\n return await this._useSession(async (result) => {\n var _a, _b;\n const { data: { session }, error: sessionError, } = result;\n if (sessionError) {\n return { data: null, error: sessionError };\n }\n if (!session) {\n return {\n data: { currentLevel: null, nextLevel: null, currentAuthenticationMethods: [] },\n error: null,\n };\n }\n const payload = this._decodeJWT(session.access_token);\n let currentLevel = null;\n if (payload.aal) {\n currentLevel = payload.aal;\n }\n let nextLevel = currentLevel;\n const verifiedFactors = (_b = (_a = session.user.factors) === null || _a === void 0 ? void 0 : _a.filter((factor) => factor.status === 'verified')) !== null && _b !== void 0 ? _b : [];\n if (verifiedFactors.length > 0) {\n nextLevel = 'aal2';\n }\n const currentAuthenticationMethods = payload.amr || [];\n return { data: { currentLevel, nextLevel, currentAuthenticationMethods }, error: null };\n });\n });\n }\n}\nGoTrueClient.nextInstanceID = 0;\n//# sourceMappingURL=GoTrueClient.js.map","import GoTrueAdminApi from './GoTrueAdminApi';\nconst AuthAdminApi = GoTrueAdminApi;\nexport default AuthAdminApi;\n//# sourceMappingURL=AuthAdminApi.js.map","import GoTrueClient from './GoTrueClient';\nconst AuthClient = GoTrueClient;\nexport default AuthClient;\n//# sourceMappingURL=AuthClient.js.map","import GoTrueAdminApi from './GoTrueAdminApi';\nimport GoTrueClient from './GoTrueClient';\nimport AuthAdminApi from './AuthAdminApi';\nimport AuthClient from './AuthClient';\nexport { GoTrueAdminApi, GoTrueClient, AuthAdminApi, AuthClient };\nexport * from './lib/types';\nexport * from './lib/errors';\nexport { navigatorLock, NavigatorLockAcquireTimeoutError, internals as lockInternals, } from './lib/locks';\n//# sourceMappingURL=index.js.map","import { AuthClient } from '@supabase/auth-js';\nexport class SupabaseAuthClient extends AuthClient {\n constructor(options) {\n super(options);\n }\n}\n//# sourceMappingURL=SupabaseAuthClient.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { FunctionsClient } from '@supabase/functions-js';\nimport { PostgrestClient, } from '@supabase/postgrest-js';\nimport { RealtimeClient, } from '@supabase/realtime-js';\nimport { StorageClient as SupabaseStorageClient } from '@supabase/storage-js';\nimport { DEFAULT_GLOBAL_OPTIONS, DEFAULT_DB_OPTIONS, DEFAULT_AUTH_OPTIONS, DEFAULT_REALTIME_OPTIONS, } from './lib/constants';\nimport { fetchWithAuth } from './lib/fetch';\nimport { stripTrailingSlash, applySettingDefaults } from './lib/helpers';\nimport { SupabaseAuthClient } from './lib/SupabaseAuthClient';\n/**\n * Supabase Client.\n *\n * An isomorphic Javascript client for interacting with Postgres.\n */\nexport default class SupabaseClient {\n /**\n * Create a new client for use in the browser.\n * @param supabaseUrl The unique Supabase URL which is supplied when you create a new project in your project dashboard.\n * @param supabaseKey The unique Supabase Key which is supplied when you create a new project in your project dashboard.\n * @param options.db.schema You can switch in between schemas. The schema needs to be on the list of exposed schemas inside Supabase.\n * @param options.auth.autoRefreshToken Set to \"true\" if you want to automatically refresh the token before expiring.\n * @param options.auth.persistSession Set to \"true\" if you want to automatically save the user session into local storage.\n * @param options.auth.detectSessionInUrl Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user.\n * @param options.realtime Options passed along to realtime-js constructor.\n * @param options.global.fetch A custom fetch implementation.\n * @param options.global.headers Any additional headers to send with each network request.\n */\n constructor(supabaseUrl, supabaseKey, options) {\n var _a, _b, _c;\n this.supabaseUrl = supabaseUrl;\n this.supabaseKey = supabaseKey;\n if (!supabaseUrl)\n throw new Error('supabaseUrl is required.');\n if (!supabaseKey)\n throw new Error('supabaseKey is required.');\n const _supabaseUrl = stripTrailingSlash(supabaseUrl);\n this.realtimeUrl = `${_supabaseUrl}/realtime/v1`.replace(/^http/i, 'ws');\n this.authUrl = `${_supabaseUrl}/auth/v1`;\n this.storageUrl = `${_supabaseUrl}/storage/v1`;\n this.functionsUrl = `${_supabaseUrl}/functions/v1`;\n // default storage key uses the supabase project ref as a namespace\n const defaultStorageKey = `sb-${new URL(this.authUrl).hostname.split('.')[0]}-auth-token`;\n const DEFAULTS = {\n db: DEFAULT_DB_OPTIONS,\n realtime: DEFAULT_REALTIME_OPTIONS,\n auth: Object.assign(Object.assign({}, DEFAULT_AUTH_OPTIONS), { storageKey: defaultStorageKey }),\n global: DEFAULT_GLOBAL_OPTIONS,\n };\n const settings = applySettingDefaults(options !== null && options !== void 0 ? options : {}, DEFAULTS);\n this.storageKey = (_a = settings.auth.storageKey) !== null && _a !== void 0 ? _a : '';\n this.headers = (_b = settings.global.headers) !== null && _b !== void 0 ? _b : {};\n this.auth = this._initSupabaseAuthClient((_c = settings.auth) !== null && _c !== void 0 ? _c : {}, this.headers, settings.global.fetch);\n this.fetch = fetchWithAuth(supabaseKey, this._getAccessToken.bind(this), settings.global.fetch);\n this.realtime = this._initRealtimeClient(Object.assign({ headers: this.headers }, settings.realtime));\n this.rest = new PostgrestClient(`${_supabaseUrl}/rest/v1`, {\n headers: this.headers,\n schema: settings.db.schema,\n fetch: this.fetch,\n });\n this._listenForAuthEvents();\n }\n /**\n * Supabase Functions allows you to deploy and invoke edge functions.\n */\n get functions() {\n return new FunctionsClient(this.functionsUrl, {\n headers: this.headers,\n customFetch: this.fetch,\n });\n }\n /**\n * Supabase Storage allows you to manage user-generated content, such as photos or videos.\n */\n get storage() {\n return new SupabaseStorageClient(this.storageUrl, this.headers, this.fetch);\n }\n /**\n * Perform a query on a table or a view.\n *\n * @param relation - The table or view name to query\n */\n from(relation) {\n return this.rest.from(relation);\n }\n // NOTE: signatures must be kept in sync with PostgrestClient.schema\n /**\n * Select a schema to query or perform an function (rpc) call.\n *\n * The schema needs to be on the list of exposed schemas inside Supabase.\n *\n * @param schema - The schema to query\n */\n schema(schema) {\n return this.rest.schema(schema);\n }\n // NOTE: signatures must be kept in sync with PostgrestClient.rpc\n /**\n * Perform a function call.\n *\n * @param fn - The function name to call\n * @param args - The arguments to pass to the function call\n * @param options - Named parameters\n * @param options.head - When set to `true`, `data` will not be returned.\n * Useful if you only need the count.\n * @param options.get - When set to `true`, the function will be called with\n * read-only access mode.\n * @param options.count - Count algorithm to use to count rows returned by the\n * function. Only applicable for [set-returning\n * functions](https://www.postgresql.org/docs/current/functions-srf.html).\n *\n * `\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\n * hood.\n *\n * `\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\n * statistics under the hood.\n *\n * `\"estimated\"`: Uses exact count for low numbers and planned count for high\n * numbers.\n */\n rpc(fn, args = {}, options = {}) {\n return this.rest.rpc(fn, args, options);\n }\n /**\n * Creates a Realtime channel with Broadcast, Presence, and Postgres Changes.\n *\n * @param {string} name - The name of the Realtime channel.\n * @param {Object} opts - The options to pass to the Realtime channel.\n *\n */\n channel(name, opts = { config: {} }) {\n return this.realtime.channel(name, opts);\n }\n /**\n * Returns all Realtime channels.\n */\n getChannels() {\n return this.realtime.getChannels();\n }\n /**\n * Unsubscribes and removes Realtime channel from Realtime client.\n *\n * @param {RealtimeChannel} channel - The name of the Realtime channel.\n *\n */\n removeChannel(channel) {\n return this.realtime.removeChannel(channel);\n }\n /**\n * Unsubscribes and removes all Realtime channels from Realtime client.\n */\n removeAllChannels() {\n return this.realtime.removeAllChannels();\n }\n _getAccessToken() {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n const { data } = yield this.auth.getSession();\n return (_b = (_a = data.session) === null || _a === void 0 ? void 0 : _a.access_token) !== null && _b !== void 0 ? _b : null;\n });\n }\n _initSupabaseAuthClient({ autoRefreshToken, persistSession, detectSessionInUrl, storage, storageKey, flowType, debug, }, headers, fetch) {\n var _a;\n const authHeaders = {\n Authorization: `Bearer ${this.supabaseKey}`,\n apikey: `${this.supabaseKey}`,\n };\n return new SupabaseAuthClient({\n url: this.authUrl,\n headers: Object.assign(Object.assign({}, authHeaders), headers),\n storageKey: storageKey,\n autoRefreshToken,\n persistSession,\n detectSessionInUrl,\n storage,\n flowType,\n debug,\n fetch,\n // auth checks if there is a custom authorizaiton header using this flag\n // so it knows whether to return an error when getUser is called with no session\n hasCustomAuthorizationHeader: (_a = 'Authorization' in this.headers) !== null && _a !== void 0 ? _a : false,\n });\n }\n _initRealtimeClient(options) {\n return new RealtimeClient(this.realtimeUrl, Object.assign(Object.assign({}, options), { params: Object.assign({ apikey: this.supabaseKey }, options === null || options === void 0 ? void 0 : options.params) }));\n }\n _listenForAuthEvents() {\n let data = this.auth.onAuthStateChange((event, session) => {\n this._handleTokenChanged(event, 'CLIENT', session === null || session === void 0 ? void 0 : session.access_token);\n });\n return data;\n }\n _handleTokenChanged(event, source, token) {\n if ((event === 'TOKEN_REFRESHED' || event === 'SIGNED_IN') &&\n this.changedAccessToken !== token) {\n // Token has changed\n this.realtime.setAuth(token !== null && token !== void 0 ? token : null);\n this.changedAccessToken = token;\n }\n else if (event === 'SIGNED_OUT') {\n // Token is removed\n this.realtime.setAuth(this.supabaseKey);\n if (source == 'STORAGE')\n this.auth.signOut();\n this.changedAccessToken = undefined;\n }\n }\n}\n//# sourceMappingURL=SupabaseClient.js.map","import SupabaseClient from './SupabaseClient';\nexport * from '@supabase/auth-js';\nexport { FunctionsHttpError, FunctionsFetchError, FunctionsRelayError, FunctionsError, FunctionRegion, } from '@supabase/functions-js';\nexport * from '@supabase/realtime-js';\nexport { default as SupabaseClient } from './SupabaseClient';\n/**\n * Creates a new Supabase Client.\n */\nexport const createClient = (supabaseUrl, supabaseKey, options) => {\n return new SupabaseClient(supabaseUrl, supabaseKey, options);\n};\n//# sourceMappingURL=index.js.map","var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJS = (cb, mod) => function __require() {\n return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\n\n// ../../node_modules/.pnpm/cookie@0.5.0/node_modules/cookie/index.js\nvar require_cookie = __commonJS({\n \"../../node_modules/.pnpm/cookie@0.5.0/node_modules/cookie/index.js\"(exports) {\n \"use strict\";\n exports.parse = parse3;\n exports.serialize = serialize3;\n var __toString = Object.prototype.toString;\n var fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n function parse3(str, options) {\n if (typeof str !== \"string\") {\n throw new TypeError(\"argument str must be a string\");\n }\n var obj = {};\n var opt = options || {};\n var dec = opt.decode || decode;\n var index = 0;\n while (index < str.length) {\n var eqIdx = str.indexOf(\"=\", index);\n if (eqIdx === -1) {\n break;\n }\n var endIdx = str.indexOf(\";\", index);\n if (endIdx === -1) {\n endIdx = str.length;\n } else if (endIdx < eqIdx) {\n index = str.lastIndexOf(\";\", eqIdx - 1) + 1;\n continue;\n }\n var key = str.slice(index, eqIdx).trim();\n if (void 0 === obj[key]) {\n var val = str.slice(eqIdx + 1, endIdx).trim();\n if (val.charCodeAt(0) === 34) {\n val = val.slice(1, -1);\n }\n obj[key] = tryDecode(val, dec);\n }\n index = endIdx + 1;\n }\n return obj;\n }\n function serialize3(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n if (typeof enc !== \"function\") {\n throw new TypeError(\"option encode is invalid\");\n }\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError(\"argument name is invalid\");\n }\n var value = enc(val);\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError(\"argument val is invalid\");\n }\n var str = name + \"=\" + value;\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError(\"option maxAge is invalid\");\n }\n str += \"; Max-Age=\" + Math.floor(maxAge);\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError(\"option domain is invalid\");\n }\n str += \"; Domain=\" + opt.domain;\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError(\"option path is invalid\");\n }\n str += \"; Path=\" + opt.path;\n }\n if (opt.expires) {\n var expires = opt.expires;\n if (!isDate(expires) || isNaN(expires.valueOf())) {\n throw new TypeError(\"option expires is invalid\");\n }\n str += \"; Expires=\" + expires.toUTCString();\n }\n if (opt.httpOnly) {\n str += \"; HttpOnly\";\n }\n if (opt.secure) {\n str += \"; Secure\";\n }\n if (opt.priority) {\n var priority = typeof opt.priority === \"string\" ? opt.priority.toLowerCase() : opt.priority;\n switch (priority) {\n case \"low\":\n str += \"; Priority=Low\";\n break;\n case \"medium\":\n str += \"; Priority=Medium\";\n break;\n case \"high\":\n str += \"; Priority=High\";\n break;\n default:\n throw new TypeError(\"option priority is invalid\");\n }\n }\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === \"string\" ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += \"; SameSite=Strict\";\n break;\n case \"lax\":\n str += \"; SameSite=Lax\";\n break;\n case \"strict\":\n str += \"; SameSite=Strict\";\n break;\n case \"none\":\n str += \"; SameSite=None\";\n break;\n default:\n throw new TypeError(\"option sameSite is invalid\");\n }\n }\n return str;\n }\n function decode(str) {\n return str.indexOf(\"%\") !== -1 ? decodeURIComponent(str) : str;\n }\n function encode(val) {\n return encodeURIComponent(val);\n }\n function isDate(val) {\n return __toString.call(val) === \"[object Date]\" || val instanceof Date;\n }\n function tryDecode(str, decode2) {\n try {\n return decode2(str);\n } catch (e) {\n return str;\n }\n }\n }\n});\n\n// src/browserCookieStorage.ts\nvar import_cookie2 = __toESM(require_cookie());\n\n// src/utils/cookies.ts\nvar import_cookie = __toESM(require_cookie());\nimport { base64url } from \"jose\";\nfunction parseSupabaseCookie(str) {\n if (!str) {\n return null;\n }\n try {\n const session = JSON.parse(str);\n if (!session) {\n return null;\n }\n if (session.constructor.name === \"Object\") {\n return session;\n }\n if (session.constructor.name !== \"Array\") {\n throw new Error(`Unexpected format: ${session.constructor.name}`);\n }\n const [_header, payloadStr, _signature] = session[0].split(\".\");\n const payload = base64url.decode(payloadStr);\n const decoder = new TextDecoder();\n const { exp, sub, ...user } = JSON.parse(decoder.decode(payload));\n return {\n expires_at: exp,\n expires_in: exp - Math.round(Date.now() / 1e3),\n token_type: \"bearer\",\n access_token: session[0],\n refresh_token: session[1],\n provider_token: session[2],\n provider_refresh_token: session[3],\n user: {\n id: sub,\n factors: session[4],\n ...user\n }\n };\n } catch (err) {\n console.warn(\"Failed to parse cookie string:\", err);\n return null;\n }\n}\nfunction stringifySupabaseSession(session) {\n var _a;\n return JSON.stringify([\n session.access_token,\n session.refresh_token,\n session.provider_token,\n session.provider_refresh_token,\n ((_a = session.user) == null ? void 0 : _a.factors) ?? null\n ]);\n}\n\n// src/utils/helpers.ts\nfunction isBrowser() {\n return typeof window !== \"undefined\" && typeof window.document !== \"undefined\";\n}\n\n// src/utils/constants.ts\nvar DEFAULT_COOKIE_OPTIONS = {\n path: \"/\",\n maxAge: 60 * 60 * 24 * 365 * 1e3\n};\n\n// src/cookieAuthStorageAdapter.ts\nvar CookieAuthStorageAdapter = class {\n constructor(cookieOptions) {\n this.cookieOptions = {\n ...DEFAULT_COOKIE_OPTIONS,\n ...cookieOptions\n };\n }\n getItem(key) {\n const value = this.getCookie(key);\n if (!value)\n return null;\n if (key.endsWith(\"-code-verifier\")) {\n return value;\n }\n return JSON.stringify(parseSupabaseCookie(value));\n }\n setItem(key, value) {\n if (key.endsWith(\"-code-verifier\")) {\n this.setCookie(key, value);\n return;\n }\n let session = JSON.parse(value);\n const sessionStr = stringifySupabaseSession(session);\n this.setCookie(key, sessionStr);\n }\n removeItem(key) {\n this.deleteCookie(key);\n }\n};\n\n// src/browserCookieStorage.ts\nvar BrowserCookieAuthStorageAdapter = class extends CookieAuthStorageAdapter {\n constructor(cookieOptions) {\n super(cookieOptions);\n }\n getCookie(name) {\n if (!isBrowser())\n return null;\n const cookies = (0, import_cookie2.parse)(document.cookie);\n return cookies[name];\n }\n setCookie(name, value) {\n if (!isBrowser())\n return null;\n document.cookie = (0, import_cookie2.serialize)(name, value, {\n ...this.cookieOptions,\n httpOnly: false\n });\n }\n deleteCookie(name) {\n if (!isBrowser())\n return null;\n document.cookie = (0, import_cookie2.serialize)(name, \"\", {\n ...this.cookieOptions,\n maxAge: 0,\n httpOnly: false\n });\n }\n};\n\n// src/createClient.ts\nimport { createClient } from \"@supabase/supabase-js\";\nfunction createSupabaseClient(supabaseUrl, supabaseKey, options) {\n var _a;\n const bowser = isBrowser();\n return createClient(supabaseUrl, supabaseKey, {\n ...options,\n auth: {\n flowType: \"pkce\",\n autoRefreshToken: bowser,\n detectSessionInUrl: bowser,\n persistSession: true,\n storage: options.auth.storage,\n ...((_a = options.auth) == null ? void 0 : _a.storageKey) ? {\n storageKey: options.auth.storageKey\n } : {}\n }\n });\n}\nvar export_parseCookies = import_cookie.parse;\nvar export_serializeCookie = import_cookie.serialize;\nexport {\n BrowserCookieAuthStorageAdapter,\n CookieAuthStorageAdapter,\n DEFAULT_COOKIE_OPTIONS,\n createSupabaseClient,\n isBrowser,\n export_parseCookies as parseCookies,\n parseSupabaseCookie,\n export_serializeCookie as serializeCookie,\n stringifySupabaseSession\n};\n/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n//# sourceMappingURL=index.mjs.map"],"names":["module","exports","require","api","BaseServerSpan","LoadComponentsSpan","NextServerSpan","NextNodeServerSpan","StartServerSpan","RenderSpan","AppRenderSpan","RouterSpan","constants_NodeSpan","AppRouteRouteHandlersSpan","ResolveMetadataSpan","MiddlewareSpan","registerInstrumentation","register","globalThis","_ENTRIES","middleware_instrumentation","err","message","registerInstrumentationPromise","ensureInstrumentationRegistered","getUnsupportedModuleErrorMessage","process","__webpack_require__","g","env","Object","defineProperty","value","moduleName","proxy","Proxy","get","_obj","prop","construct","apply","_target","_this","args","enumerable","configurable","PageSignatureError","Error","constructor","page","RemovedPageError","RemovedUAError","toNodeOutgoingHttpHeaders","headers","nodeHeaders","cookies","key","entries","toLowerCase","push","splitCookiesString","cookiesString","start","ch","lastComma","nextStart","cookiesSeparatorFound","cookiesStrings","pos","skipWhitespace","length","test","charAt","substring","validateURL","url","String","URL","error","cause","responseSymbol","Symbol","passThroughSymbol","waitUntilSymbol","FetchEvent","_request","respondWith","response","Promise","resolve","passThroughOnException","waitUntil","promise","NextFetchEvent","params","request","sourcePage","removeTrailingSlash","route","replace","parsePath","path","hashIndex","indexOf","queryIndex","hasQuery","pathname","query","undefined","hash","slice","addPathPrefix","prefix","startsWith","addPathSuffix","suffix","pathHasPrefix","normalizeLocalePath","locales","detectedLocale","pathnameParts","split","some","locale","splice","join","REGEX_LOCALHOST_HOSTNAME","parseURL","base","Internal","NextURL","input","baseOrOpts","opts","options","basePath","analyze","_this_Internal_options_nextConfig_i18n","_this_Internal_options_nextConfig","_this_Internal_domainLocale","_this_Internal_options_nextConfig_i18n1","_this_Internal_options_nextConfig1","info","getNextPathnameInfo","result","i18n","trailingSlash","nextConfig","endsWith","removePathPrefix","withoutPrefix","pathnameNoDataPrefix","paths","buildId","parseData","i18nProvider","hostname","getHostname","parsed","host","Array","isArray","toString","domainLocale","detectDomainLocale","domainItems","item","domainHostname","domain","defaultLocale","domains","formatPathname","addLocale","ignorePrefix","lower","forceLocale","formatSearch","search","includes","searchParams","port","protocol","href","origin","password","username","toJSON","for","clone","INTERNALS","NextRequest","Request","init","nextUrl","_edge_runtime_cookies","RequestCookies","geo","ip","bodyUsed","cache","credentials","destination","fromEntries","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","ua","response_INTERNALS","REDIRECTS","Set","handleMiddlewareField","_init_request","Headers","keys","set","NextResponse","Response","body","ResponseCookies","ok","redirected","status","statusText","type","json","has","initObj","rewrite","next","relativizeURL","baseURL","relative","FLIGHT_PARAMETERS","COMPILER_NAMES","client","server","edgeServer","INTERNAL_QUERY_NAMES","EDGE_EXTENDED_INTERNAL_QUERY_NAMES","NEXT_QUERY_PARAM_PREFIX","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","middleware","instrument","edgeAsset","appPagesBrowser","appMetadataRoute","appRouteHandler","GROUP","serverOnly","clientOnly","nonClientServerTarget","app","ReflectAdapter","target","receiver","Reflect","bind","deleteProperty","ReadonlyHeadersError","callable","HeadersAdapter","lowercased","original","find","o","seal","merge","from","append","name","existing","delete","forEach","callbackfn","thisArg","call","values","iterator","sharedAsyncLocalStorageNotAvailableError","FakeAsyncLocalStorage","disable","getStore","run","exit","enterWith","maybeGlobalAsyncLocalStorage","AsyncLocalStorage","createAsyncLocalStorage","staticGenerationAsyncStorage","ReadonlyRequestCookiesError","RequestCookiesAdapter","SYMBOL_MODIFY_COOKIE_VALUES","MutableRequestCookiesAdapter","wrap","onUpdateCookies","responseCookies","cookie","getAll","modifiedValues","modifiedCookies","updateResponseCookies","staticGenerationAsyncStore","pathWasRevalidated","allCookies","filter","c","serializedCookies","tempCookies","add","NodeSpan","NextVanillaSpanAllowlist","LogSpanAllowList","context","propagation","trace","SpanStatusCode","SpanKind","ROOT_CONTEXT","isPromise","p","then","closeSpanWithError","span","bubble","setAttribute","recordException","setStatus","code","ERROR","end","rootSpanAttributesStore","Map","rootSpanIdKey","createContextKey","lastSpanId","getSpanId","NextTracerImpl","getTracerInstance","getTracer","getContext","getActiveScopeSpan","getSpan","active","withPropagatedContext","carrier","fn","getter","activeContext","getSpanContext","remoteContext","extract","with","_trace_getSpanContext","fnOrOptions","fnOrEmpty","spanName","NEXT_OTEL_VERBOSE","hideSpan","spanContext","parentSpan","isRootSpan","isRemote","spanId","attributes","setValue","startActiveSpan","startTime","performance","now","onCleanup","NEXT_OTEL_PERFORMANCE_PREFIX","measure","pop","match","res","catch","finally","tracer","optionsObj","arguments","lastArgId","cb","scopeBoundCb","_span","done","startSpan","setSpan","getRootSpanAttributes","getValue","tracer_getTracer","COOKIE_NAME_PRERENDER_BYPASS","DraftModeProvider","previewProps","req","mutableCookies","_cookies_get","isOnDemandRevalidate","checkIsOnDemandRevalidate","previewModeId","revalidateOnlyGenerated","cookieValue","isEnabled","Boolean","_previewModeId","_mutableCookies","enable","httpOnly","sameSite","secure","expires","Date","RequestAsyncStorageWrapper","storage","renderOpts","callback","defaultOnUpdateCookies","setHeader","store","getHeaders","cleaned","param","getCookies","getMutableCookies","draftMode","reactLoadableManifest","assetPrefix","requestAsyncStorage","NextRequestHint","headersGetter","propagator","testApisIntercepted","adapter","cookiesFromResponse","ensureTestApisIntercepted","NEXT_PRIVATE_TEST_PROXY","interceptTestApis","wrapRequestHandler","isEdgeRendering","self","__BUILD_MANIFEST","prerenderManifest","__PRERENDER_MANIFEST","JSON","parse","requestUrl","normalizedKey","val","isDataReq","requestHeaders","fromNodeOutgoingHttpHeaders","v","flightHeaders","stripInternalSearchParams","isEdge","isStringUrl","instance","__incrementalCache","IncrementalCache","appDir","fetchCache","minimalMode","fetchCacheKeyPrefix","dev","requestProtocol","getPrerenderManifest","version","routes","dynamicRoutes","notFoundRoutes","preview","event","execute","request_async_storage_instance_requestAsyncStorage","previewModeEncryptionKey","previewModeSigningKey","handler","rewriteUrl","relativizedRewrite","redirectURL","finalResponse","middlewareOverrideHeaders","overwrittenHeaders","all","fetchMetrics","supabase","createMiddlewareClient","auth","getSession","URLPattern","mod","middleware_namespaceObject","default","nHandler","__defProp","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","src_exports","__export","createBrowserSupabaseClient","createClientComponentClient","createMiddlewareSupabaseClient","createPagesBrowserClient","createPagesServerClient","createRouteHandlerClient","createServerActionClient","createServerComponentClient","createServerSupabaseClient","__copyProps","to","except","desc","import_auth_helpers_shared","supabaseUrl","supabaseKey","cookieOptions","isSingleton","createNewClient","_a","createSupabaseClient","global","storageKey","BrowserCookieAuthStorageAdapter","_supabase","window","import_auth_helpers_shared2","import_set_cookie_parser","NextServerAuthStorageAdapter","CookieAuthStorageAdapter","getCookie","setCookie","getHeader","map","parseCookies","_setCookie","deleteCookie","maxAge","setCookies","cookieStr","serializeCookie","import_auth_helpers_shared3","import_set_cookie_parser2","NextMiddlewareAuthStorageAdapter","newSessionStr","import_auth_helpers_shared4","NextServerComponentAuthStorageAdapter","nextCookies","import_auth_helpers_shared5","NextRouteHandlerAuthStorageAdapter","console","warn","globalObject","getGlobal","fetch","__WEBPACK_DEFAULT_EXPORT__","__importDefault","__esModule","node_fetch_1","PostgrestError_1","PostgrestBuilder","builder","shouldThrowOnError","schema","isMaybeSingle","throwOnError","onfulfilled","onrejected","_fetch","stringify","_b","_c","data","count","text","countHeader","contentRange","parseInt","details","hint","_d","fetchError","stack","PostgrestQueryBuilder_1","PostgrestFilterBuilder_1","constants_1","PostgrestClient","assign","DEFAULT_HEADERS","schemaName","relation","rpc","head","_","allowEmpty","PostgrestError","PostgrestTransformBuilder_1","PostgrestFilterBuilder","eq","column","neq","gt","gte","lt","lte","like","pattern","likeAllOf","patterns","likeAnyOf","ilike","ilikeAllOf","ilikeAnyOf","is","in","cleanedValues","s","contains","containedBy","rangeGt","range","rangeGte","rangeLt","rangeLte","rangeAdjacent","overlaps","textSearch","config","typePart","configPart","not","operator","or","filters","foreignTable","referencedTable","PostgrestQueryBuilder","select","columns","quoted","cleanedColumns","insert","defaultToNull","prefersHeaders","reduce","acc","x","concat","uniqueColumns","upsert","onConflict","ignoreDuplicates","update","unshift","PostgrestBuilder_1","PostgrestTransformBuilder","order","ascending","nullsFirst","existingOrder","limit","keyOffset","keyLimit","abortSignal","single","maybeSingle","csv","geojson","explain","verbose","settings","buffers","wal","format","forMediatype","rollback","trim","returns","version_1","PostgrestClient_1","stringifyCookie","attrs","toUTCString","partitioned","priority","stringified","encodeURIComponent","parseCookie","pair","splitAt","decodeURIComponent","parseSetCookie","string","httponly","maxage","samesite","value2","compact","t","newT","Number","SAME_SITE","PRIORITY","_parsed","_headers","header","size","n","names","clear","responseHeaders","getSetCookie","cookieString","normalizeCookie","bag","serialized","e","r","ContextAPI","a","i","NoopContextManager","getInstance","_instance","setGlobalContextManager","registerGlobal","DiagAPI","_getContextManager","unregisterGlobal","_logProxy","setLogger","logLevel","DiagLogLevel","INFO","u","l","createLogLevelDiagLogger","suppressOverrideMessage","createComponentLogger","DiagComponentLogger","debug","MetricsAPI","setGlobalMeterProvider","getMeterProvider","NOOP_METER_PROVIDER","getMeter","PropagationAPI","NoopTextMapPropagator","createBaggage","getBaggage","getActiveBaggage","setBaggage","deleteBaggage","setGlobalPropagator","inject","defaultTextMapSetter","_getGlobalPropagator","defaultTextMapGetter","fields","TraceAPI","_proxyTracerProvider","ProxyTracerProvider","wrapSpanContext","isSpanContextValid","deleteSpan","getActiveSpan","setSpanContext","setGlobalTracerProvider","setDelegate","getTracerProvider","deleteValue","BaggageImpl","_entries","getEntry","getAllEntries","setEntry","removeEntry","removeEntries","baggageEntryMetadataSymbol","baggageEntryMetadataFromString","__TYPE__","BaseContext","_currentContext","diag","_namespace","namespace","logProxy","DiagConsoleLogger","_consoleFunc","log","_filterFunc","NONE","ALL","WARN","DEBUG","VERBOSE","VERSION","_globalThis","isCompatible","_makeCompatibilityCheck","major","minor","patch","prerelease","_reject","metrics","ValueType","createNoopMeter","NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC","NOOP_OBSERVABLE_GAUGE_METRIC","NOOP_OBSERVABLE_COUNTER_METRIC","NOOP_UP_DOWN_COUNTER_METRIC","NOOP_HISTOGRAM_METRIC","NOOP_COUNTER_METRIC","NOOP_METER","NoopObservableUpDownCounterMetric","NoopObservableGaugeMetric","NoopObservableCounterMetric","NoopObservableMetric","NoopHistogramMetric","NoopUpDownCounterMetric","NoopCounterMetric","NoopMetric","NoopMeter","createHistogram","createCounter","createUpDownCounter","createObservableGauge","createObservableCounter","createObservableUpDownCounter","addBatchObservableCallback","removeBatchObservableCallback","record","addCallback","removeCallback","NoopMeterProvider","__createBinding","create","__exportStar","NonRecordingSpan","INVALID_SPAN_CONTEXT","_spanContext","setAttributes","addEvent","updateName","isRecording","NoopTracer","root","NoopTracerProvider","ProxyTracer","_provider","_getTracer","_delegate","getDelegateTracer","getDelegate","SamplingDecision","TraceStateImpl","_internalState","_parse","_clone","unset","serialize","_keys","reverse","validateKey","validateValue","createTraceState","INVALID_TRACEID","INVALID_SPANID","traceId","traceFlags","TraceFlags","isValidSpanId","isValidTraceId","__nccwpck_require__","ab","__dirname","d","f","b","O","P","N","S","C","decode","substr","tryDecode","encode","isNaN","isFinite","Math","floor","__WEBPACK_AMD_DEFINE_RESULT__","w","m","h","k","y","T","z","A","U","j","R","M","B","V","D","I","F","G","H","L","Z","extend","enumerize","toUpperCase","lowerize","rgxMapper","exec","strMapper","X","ME","XP","Vista","RT","K","browser","cpu","device","engine","E","os","UAParser","getResult","navigator","userAgent","userAgentData","getBrowser","brave","isBrave","getCPU","getDevice","mobile","standalone","maxTouchPoints","getEngine","getOS","platform","getUA","setUA","BROWSER","CPU","DEVICE","ENGINE","OS","amdO","Q","jQuery","Zepto","Y","_export","getTestReqInfo","withRequest","testStorage","_nodeasync_hooks","extractTestInfoFromRequest","reader","proxyPortHeader","proxyPort","testData","testReqInfo","handleFetch","interceptFetch","_context","buildProxyRequest","getTestStack","Buffer","arrayBuffer","originalFetch","testInfo","proxyRequest","resp","internal","proxyResponse","buildResponse","_init_next","defaultParseOptions","decodeValues","silent","isNonEmptyString","str","parseString","setCookieValue","nameValuePairStr","nameValueArr","parts","shift","part","sides","trimLeft","sch","TextEncoder","decoder","TextDecoder","decodeBase64","binary","atob","encoded","bytes","Uint8Array","charCodeAt","base64url_decode","resolveFetch","customFetch","FunctionsError","FunctionsFetchError","FunctionsRelayError","FunctionsHttpError","FunctionRegion","FunctionsClient","region","Any","setAuth","token","Authorization","invoke","functionName","_arguments","generator","functionArgs","Blob","ArrayBuffer","FormData","isRelayError","responseType","blob","formData","reject","fulfilled","step","rejected","adopt","SOCKET_STATES","CHANNEL_STATES","constants_CHANNEL_STATES","CHANNEL_EVENTS","TRANSPORTS","CONNECTION_STATE","Serializer","HEADER_LENGTH","rawPayload","_binaryDecode","buffer","view","DataView","_decodeBroadcast","topicSize","getUint8","eventSize","offset","topic","ref","payload","byteLength","Timer","timerCalc","timer","tries","reset","clearTimeout","scheduleTimeout","setTimeout","PostgresTypes","convertChangeData","skipTypes","rec_key","convertColumn","columnName","colType","convertCell","noop","toArray","bool","toBoolean","float4","float8","int2","int4","int8","numeric","oid","toNumber","jsonb","toJson","timestamp","toTimestampString","abstime","date","daterange","int4range","int8range","money","reltime","time","timestamptz","timetz","tsrange","tstzrange","parsedValue","parseFloat","lastIdx","closeBrace","openBrace","arr","valTrim","httpEndpointURL","socketUrl","Push","channel","timeout","sent","timeoutTimer","receivedResp","recHooks","refEvent","resend","_cancelRefEvent","send","_hasReceived","startTimeout","socket","join_ref","_joinRef","updatePayload","receive","_makeRef","_replyEventName","_on","_cancelTimeout","_matchReceive","trigger","_trigger","destroy","_off","REALTIME_PRESENCE_LISTEN_EVENTS","RealtimePresence","state","pendingDiffs","joinRef","caller","onJoin","onLeave","onSync","events","diff","syncState","newState","syncDiff","inPendingSyncState","currentPresences","newPresences","leftPresences","currentState","cloneDeep","transformedState","transformState","joins","leaves","presences","newPresenceRefs","presence_ref","curPresenceRefs","joinedPresences","joinedPresenceRefs","curPresences","presenceRefsToRemove","obj","func","metas","presence","REALTIME_POSTGRES_CHANGES_LISTEN_EVENT","REALTIME_LISTEN_TYPES","REALTIME_SUBSCRIBE_STATES","RealtimeChannel","bindings","closed","joinedOnce","pushBuffer","subTopic","broadcast","ack","private","joinPush","rejoinTimer","_rejoinUntilConnected","reconnectAfterMs","joined","pushEvent","_onClose","_remove","_onError","_isLeaving","_isClosed","reason","errored","_isJoining","reply","broadcastEndpointURL","endPoint","subscribe","isConnected","connect","isPrivate","accessTokenPayload","postgres_changes","accessToken","access_token","updateJoinPayload","_rejoin","serverPostgresFilters","clientPostgresBindings","bindingsLen","newPostgresBindings","clientPostgresBinding","table","serverPostgresFilter","id","unsubscribe","presenceState","track","untrack","on","_canPush","_push","endpoint_payload","apikey","apiKey","messages","_fetchWithTimeout","cancel","leaving","onClose","close","leavePush","leave","controller","AbortController","abort","_onMessage","_event","_ref","_isMember","typeLower","toLocaleLowerCase","handledPayload","_e","_f","bindId","bindEvent","ids","postgresChanges","commit_timestamp","errors","eventType","new","old","_getPayloadRecords","_isJoined","joining","binding","isEqual","obj1","obj2","_leaveOpenTopic","records","old_record","RealtimeClient_noop","NATIVE_WEBSOCKET_AVAILABLE","WebSocket","RealtimeClient","channels","httpEndpoint","heartbeatIntervalMs","heartbeatTimer","pendingHeartbeatRef","logger","conn","sendBuffer","serializer","stateChangeCallbacks","open","_resolveFetch","websocket","transport","reconnectTimer","disconnect","_endPointURL","setupConnection","WSWebSocketDummy","WS","onclose","clearInterval","getChannels","removeChannel","removeAllChannels","values_1","kind","msg","connectionState","readyState","connecting","Connecting","Open","closing","Closing","Closed","chan","newRef","dupChannel","binaryType","onopen","_onConnOpen","onerror","_onConnError","onmessage","_onConnMessage","_onConnClose","_appendParams","vsn","rawMessage","_flushSendBuffer","setInterval","_sendHeartbeat","_triggerChanError","URLSearchParams","address","_protocols","StorageError","__isStorageError","isStorageError","StorageApiError","StorageUnknownError","originalError","helpers_resolveFetch","resolveResponse","helpers_awaiter","fetch_awaiter","_getErrorMessage","error_description","handleError","_getRequestParams","parameters","_handleRequest","fetcher","noResolveJson","post","remove","StorageFileApi_awaiter","DEFAULT_SEARCH_OPTIONS","sortBy","DEFAULT_FILE_OPTIONS","cacheControl","contentType","StorageFileApi","bucketId","uploadOrUpdate","fileBody","fileOptions","cleanPath","_removeEmptyFolders","_path","_getFinalPath","duplex","Id","fullPath","Key","upload","uploadToSignedUrl","createSignedUploadUrl","signedUrl","move","fromPath","toPath","sourceKey","destinationKey","destinationBucket","copy","createSignedUrl","expiresIn","transform","downloadQueryParam","download","encodeURI","signedURL","createSignedUrls","datum","wantsTransformation","transformationQuery","transformOptsToQueryString","queryString","getPublicUrl","_queryString","publicUrl","prefixes","list","width","height","resize","quality","constants_DEFAULT_HEADERS","StorageBucketApi_awaiter","StorageBucketApi","listBuckets","getBucket","createBucket","public","file_size_limit","fileSizeLimit","allowed_mime_types","allowedMimeTypes","updateBucket","put","emptyBucket","deleteBucket","StorageClient","JS_ENV","Deno","document","product","DEFAULT_GLOBAL_OPTIONS","DEFAULT_DB_OPTIONS","DEFAULT_AUTH_OPTIONS","autoRefreshToken","persistSession","detectSessionInUrl","flowType","DEFAULT_REALTIME_OPTIONS","fetch_resolveFetch","resolveHeadersConstructor","fetchWithAuth","getAccessToken","HeadersConstructor","lib_fetch_awaiter","module_lib_version_version","module_lib_constants_DEFAULT_HEADERS","API_VERSION_HEADER_NAME","API_VERSIONS","helpers_isBrowser","localStorageWriteTests","tested","writable","supportsLocalStorage","localStorage","randomKey","random","setItem","removeItem","parseParametersFromURL","hashSearchParams","lib_helpers_resolveFetch","looksLikeFetchResponse","maybeResponse","setItemAsync","getItemAsync","getItem","removeItemAsync","Deferred","promiseConstructor","rej","decodeJWTPayload","base64UrlRegex","decodeBase64URL","chr1","chr2","chr3","enc1","enc2","enc3","enc4","base64","fromCharCode","sleep","accept","dec2hex","dec","sha256","randomString","encodedData","encoder","crypto","subtle","digest","generatePKCEChallenge","verifier","btoa","getCodeChallengeAndMethod","isPasswordRecovery","codeVerifier","generatePKCEVerifier","array","Uint32Array","charSet","charSetLen","getRandomValues","storedCodeVerifier","codeChallenge","codeChallengeMethod","API_VERSION_REGEX","AuthError","__isAuthError","isAuthError","AuthApiError","AuthUnknownError","CustomAuthError","AuthSessionMissingError","AuthInvalidTokenResponseError","AuthInvalidCredentialsError","AuthImplicitGrantRedirectError","AuthPKCEGrantCodeExchangeError","AuthRetryableFetchError","isAuthRetryableFetchError","AuthWeakPasswordError","reasons","__rest","getOwnPropertySymbols","propertyIsEnumerable","fetch_getErrorMessage","NETWORK_ERROR_CODES","fetch_handleError","errorCode","responseAPIVersion","parseResponseAPIVersion","apiVersion","getTime","error_code","weak_password","fetch_getRequestParams","jwt","qs","redirectTo","fetch_handleRequest","xform","requestParams","_sessionResponse","session","refresh_token","expires_in","expires_at","timeNow","round","user","_sessionResponsePassword","_userResponse","_ssoResponse","_generateLinkResponse","action_link","email_otp","hashed_token","redirect_to","verification_type","properties","_noResolveJsonResponse","GoTrueAdminApi_rest","GoTrueAdminApi_GoTrueAdminApi","mfa","listFactors","_listFactors","deleteFactor","_deleteFactor","signOut","scope","inviteUserByEmail","email","generateLink","rest","new_email","newEmail","createUser","listUsers","_g","pagination","nextPage","lastPage","total","per_page","perPage","users","links","link","rel","getUserById","uid","updateUserById","deleteUser","shouldSoftDelete","should_soft_delete","userId","factors","localStorageAdapter","memoryLocalStorageAdapter","internals","LockAcquireTimeoutError","isAcquireTimeout","NavigatorLockAcquireTimeoutError","navigatorLock","acquireTimeout","abortController","locks","ifAvailable","lock","polyfillGlobalThis","__magic__","DEFAULT_OPTIONS","hasCustomAuthorizationHeader","lockNoOp","GoTrueClient","memoryStorage","stateChangeEmitters","autoRefreshTicker","visibilityChangedCallback","refreshingDeferred","initializePromise","suppressGetSessionWarning","lockAcquired","pendingInLock","broadcastChannel","instanceID","nextInstanceID","logDebugMessages","admin","verify","_verify","enroll","_enroll","unenroll","_unenroll","challenge","_challenge","challengeAndVerify","_challengeAndVerify","getAuthenticatorAssuranceLevel","_getAuthenticatorAssuranceLevel","BroadcastChannel","addEventListener","_debug","_notifyAllSubscribers","initialize","toISOString","_acquireLock","_initialize","isPKCEFlow","_isPKCEFlow","_isImplicitGrantFlow","_getSessionFromURL","_removeSession","redirectType","_saveSession","_recoverAndRefresh","_handleVisibilityChange","signInAnonymously","gotrue_meta_security","captcha_token","captchaToken","signUp","emailRedirectTo","code_challenge","code_challenge_method","phone","signInWithPassword","weakPassword","signInWithOAuth","_handleProviderSignIn","provider","scopes","queryParams","skipBrowserRedirect","exchangeCodeForSession","authCode","_exchangeCodeForSession","storageItem","auth_code","code_verifier","signInWithIdToken","nonce","id_token","signInWithOtp","create_user","shouldCreateUser","messageId","message_id","verifyOtp","signInWithSSO","provider_id","providerId","skip_http_redirect","reauthenticate","_reauthenticate","_useSession","sessionError","endpoint","last","waitOn","__loadSession","currentSession","maybeSession","_isValidSession","hasExpired","isServer","suppressWarning","_callRefreshToken","getUser","_getUser","updateUser","_updateUser","sessionData","userError","_decodeJWT","setSession","_setSession","expiresAt","exp","refreshedSession","token_type","refreshSession","_refreshSession","location","history","replaceState","provider_token","provider_refresh_token","actuallyExpiresIn","issuedAt","currentStorageContent","_signOut","isAuthApiError","onAuthStateChange","subscription","_emitInitialSession","resetPasswordForEmail","getUserIdentities","identities","linkIdentity","_getUrlForProvider","unlinkIdentity","identity","identity_id","_refreshAccessToken","refreshToken","debugName","isRetryable","startedAt","attempt","pow","Infinity","expiresWithMargin","postMessage","promises","_removeVisibilityChangedCallback","removeEventListener","_startAutoRefresh","_stopAutoRefresh","ticker","_autoRefreshTokenTick","unref","unrefTimer","startAutoRefresh","stopAutoRefresh","expiresInTicks","_onVisibilityChanged","calledFromInitialize","methodName","visibilityState","urlParams","flowParams","factorId","friendly_name","friendlyName","factor_type","factorType","issuer","totp","qr_code","challenge_id","challengeId","challengeData","challengeError","factor","currentLevel","nextLevel","currentAuthenticationMethods","aal","verifiedFactors","amr","module_AuthClient","SupabaseAuthClient","SupabaseClient","_supabaseUrl","realtimeUrl","authUrl","storageUrl","functionsUrl","defaultStorageKey","applySettingDefaults","defaults","db","dbOptions","authOptions","realtime","realtimeOptions","globalOptions","_initSupabaseAuthClient","_getAccessToken","_initRealtimeClient","_listenForAuthEvents","functions","authHeaders","_handleTokenChanged","source","changedAccessToken","createClient","__create","__getProtoOf","getPrototypeOf","__toESM","isNodeMode","require_cookie","opt","index","eqIdx","endIdx","lastIndexOf","decode2","enc","fieldContentRegExp","__toString","valueOf","import_cookie2","import_cookie","parseSupabaseCookie","_header","payloadStr","_signature","sub","stringifySupabaseSession","dist_isBrowser","DEFAULT_COOKIE_OPTIONS","sessionStr","bowser","export_parseCookies","export_serializeCookie"],"sourceRoot":""} \ No newline at end of file diff --git a/server/next-font-manifest.js b/server/next-font-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..8267a5082ade0f7f80b9fe375f819ea4e8db14b1 --- /dev/null +++ b/server/next-font-manifest.js @@ -0,0 +1 @@ +self.__NEXT_FONT_MANIFEST='{"pages":{},"app":{},"appUsingSizeAdjust":false,"pagesUsingSizeAdjust":false}'; \ No newline at end of file diff --git a/server/next-font-manifest.json b/server/next-font-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..25f78e72b334089404d8a0d1203a7443cd0f3f69 --- /dev/null +++ b/server/next-font-manifest.json @@ -0,0 +1 @@ +{"pages":{},"app":{},"appUsingSizeAdjust":false,"pagesUsingSizeAdjust":false} \ No newline at end of file diff --git a/server/pages-manifest.json b/server/pages-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..f7c2e8945bf7fbbd2bac53828737f75c5d705d4f --- /dev/null +++ b/server/pages-manifest.json @@ -0,0 +1 @@ +{"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/404":"pages/404.html"} \ No newline at end of file diff --git a/server/pages/404.html b/server/pages/404.html new file mode 100644 index 0000000000000000000000000000000000000000..410e50a2dd6a74a49582086aaf02c87217ad4869 --- /dev/null +++ b/server/pages/404.html @@ -0,0 +1 @@ +404: This page could not be found.UnBabelerChat web app

404

This page could not be found.

\ No newline at end of file diff --git a/server/pages/500.html b/server/pages/500.html new file mode 100644 index 0000000000000000000000000000000000000000..e602ac1a928e4b90bd7c2a4d76066e70f4874767 --- /dev/null +++ b/server/pages/500.html @@ -0,0 +1 @@ +500: Internal Server Error

500

Internal Server Error.

\ No newline at end of file diff --git a/server/pages/_app.js b/server/pages/_app.js new file mode 100644 index 0000000000000000000000000000000000000000..e01665692840fa23ecc85ae972f75743d58ccc95 --- /dev/null +++ b/server/pages/_app.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=888,e.ids=[888],e.modules={48141:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(50167),o=r(20997),i=n._(r(16689)),u=r(45782);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,u.loadGetInitialProps)(t,r)}}class a extends i.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}a.origGetInitialProps=s,a.getInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45782:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return P},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return a},getLocationOrigin:function(){return u},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return l},stringifyError:function(){return x}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;io.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=u();return e.substring(t.length)}function a(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function l(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n)throw Error('"'+a(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class P extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},16689:e=>{e.exports=require("react")},20997:e=>{e.exports=require("react/jsx-runtime")},50167:(e,t)=>{t._=t._interop_require_default=function(e){return e&&e.__esModule?e:{default:e}}}};var t=require("../webpack-runtime.js");t.C(e);var r=t(t.s=48141);module.exports=r})(); \ No newline at end of file diff --git a/server/pages/_app.js.nft.json b/server/pages/_app.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..f4a2132bf9042b919c6d30067c562f039b76f84f --- /dev/null +++ b/server/pages/_app.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/next/dist/pages/_app.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/package.json","../../../package.json","../../package.json","../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/pages/_document.js b/server/pages/_document.js new file mode 100644 index 0000000000000000000000000000000000000000..c1786f08caaf30e013f00f29f86c4900bcd1331c --- /dev/null +++ b/server/pages/_document.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=660,e.ids=[660],e.modules={62785:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},16689:e=>{e.exports=require("react")},20997:e=>{e.exports=require("react/jsx-runtime")},71017:e=>{e.exports=require("path")}};var r=require("../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[682],()=>s(61682));module.exports=t})(); \ No newline at end of file diff --git a/server/pages/_document.js.nft.json b/server/pages/_document.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..0f53100d3d3ab35c26793f23c3b76d9aee432924 --- /dev/null +++ b/server/pages/_document.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/client-only/index.js","../../../node_modules/client-only/package.json","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../../../node_modules/next/dist/compiled/node-html-parser/index.js","../../../node_modules/next/dist/compiled/node-html-parser/package.json","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/pages/_document.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/package.json","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../../../node_modules/react-dom/package.json","../../../node_modules/react-dom/server.browser.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/package.json","../../../node_modules/styled-jsx/dist/index/index.js","../../../node_modules/styled-jsx/index.js","../../../node_modules/styled-jsx/package.json","../../../package.json","../../package.json","../chunks/682.js","../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/pages/_error.js b/server/pages/_error.js new file mode 100644 index 0000000000000000000000000000000000000000..6461f34172b64f1edb209ff5c25e07f7546ac5b0 --- /dev/null +++ b/server/pages/_error.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=820,e.ids=[820,660],e.modules={1323:(e,t)=>{Object.defineProperty(t,"l",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},46051:(e,t,r)=>{r.r(t),r.d(t,{config:()=>h,default:()=>p,getServerSideProps:()=>g,getStaticPaths:()=>f,getStaticProps:()=>c,reportWebVitals:()=>y,routeModule:()=>v,unstable_getServerProps:()=>P,unstable_getServerSideProps:()=>x,unstable_getStaticParams:()=>_,unstable_getStaticPaths:()=>m,unstable_getStaticProps:()=>b});var n=r(87093),o=r(35244),l=r(1323),a=r(61682),i=r.n(a),u=r(48141),d=r.n(u),s=r(18529);let p=(0,l.l)(s,"default"),c=(0,l.l)(s,"getStaticProps"),f=(0,l.l)(s,"getStaticPaths"),g=(0,l.l)(s,"getServerSideProps"),h=(0,l.l)(s,"config"),y=(0,l.l)(s,"reportWebVitals"),b=(0,l.l)(s,"unstable_getStaticProps"),m=(0,l.l)(s,"unstable_getStaticPaths"),_=(0,l.l)(s,"unstable_getStaticParams"),P=(0,l.l)(s,"unstable_getServerProps"),x=(0,l.l)(s,"unstable_getServerSideProps"),v=new n.PagesRouteModule({definition:{kind:o.x.PAGES,page:"/_error",pathname:"/_error",bundlePath:"",filename:""},components:{App:d(),Document:i()},userland:s})},48141:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(50167),o=r(20997),l=n._(r(16689)),a=r(45782);async function i(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,a.loadGetInitialProps)(t,r)}}class u extends l.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}u.origGetInitialProps=i,u.getInitialProps=i,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18529:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(50167),o=r(20997),l=n._(r(16689)),a=n._(r(50494)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function u(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let d={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class s extends l.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:d.error,children:[(0,o.jsx)(a.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:d.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:d.h1,children:e}):null,(0,o.jsx)("div",{style:d.wrap,children:(0,o.jsxs)("h2",{style:d.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}s.displayName="ErrorPage",s.getInitialProps=u,s.origGetInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98579:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},50494:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return h},defaultHead:function(){return p}});let n=r(50167),o=r(28760),l=r(20997),a=o._(r(16689)),i=n._(r(3657)),u=r(98039),d=r(41988),s=r(98579);function p(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(79784);let f=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:r}=t;return e.reduce(c,[]).reverse().concat(p(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let l=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,r=(0,a.useContext)(u.AmpStateContext),n=(0,a.useContext)(d.HeadManagerContext);return(0,l.jsx)(i.default,{reduceComponentsToState:g,headManager:n,inAmpMode:(0,s.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3657:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(16689),o=()=>{},l=()=>{};function a(e){var t;let{headManager:r,reduceComponentsToState:a}=e;function i(){if(r&&r.mountedInstances){let t=n.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(a(t,e))}}return null==r||null==(t=r.mountedInstances)||t.add(e.children),i(),o(()=>{var t;return null==r||null==(t=r.mountedInstances)||t.add(e.children),()=>{var t;null==r||null==(t=r.mountedInstances)||t.delete(e.children)}}),o(()=>(r&&(r._pendingUpdate=i),()=>{r&&(r._pendingUpdate=i)})),l(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}},79784:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},35244:(e,t)=>{var r;Object.defineProperty(t,"x",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE"}(r||(r={}))},98039:(e,t,r)=>{e.exports=r(87093).vendored.contexts.AmpContext},41988:(e,t,r)=>{e.exports=r(87093).vendored.contexts.HeadManagerContext},62785:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},16689:e=>{e.exports=require("react")},20997:e=>{e.exports=require("react/jsx-runtime")},71017:e=>{e.exports=require("path")},28760:(e,t)=>{function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}t._=t._interop_require_wildcard=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=l?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[682],()=>r(46051));module.exports=n})(); \ No newline at end of file diff --git a/server/pages/_error.js.nft.json b/server/pages/_error.js.nft.json new file mode 100644 index 0000000000000000000000000000000000000000..abe34ef88b62ac484872016d2fcae8cd291573ba --- /dev/null +++ b/server/pages/_error.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/client-only/index.js","../../../node_modules/client-only/package.json","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../../../node_modules/next/dist/compiled/node-html-parser/index.js","../../../node_modules/next/dist/compiled/node-html-parser/package.json","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/package.json","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../../../node_modules/react-dom/package.json","../../../node_modules/react-dom/server.browser.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/package.json","../../../node_modules/styled-jsx/dist/index/index.js","../../../node_modules/styled-jsx/index.js","../../../node_modules/styled-jsx/package.json","../../package.json","../chunks/682.js","../webpack-runtime.js"]} \ No newline at end of file diff --git a/server/server-reference-manifest.js b/server/server-reference-manifest.js new file mode 100644 index 0000000000000000000000000000000000000000..3d02cf19e8f015cb0449c2dada0b3213b83b70ea --- /dev/null +++ b/server/server-reference-manifest.js @@ -0,0 +1 @@ +self.__RSC_SERVER_MANIFEST="{\"node\":{},\"edge\":{},\"encryptionKey\":\"YGHKpobzGaURByWM2Acu3r+uaGylufmLozHw3WpUz6w=\"}" \ No newline at end of file diff --git a/server/server-reference-manifest.json b/server/server-reference-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..0d27ace48ed2e53374d0c3722459c259e6ca7436 --- /dev/null +++ b/server/server-reference-manifest.json @@ -0,0 +1 @@ +{"node":{},"edge":{},"encryptionKey":"YGHKpobzGaURByWM2Acu3r+uaGylufmLozHw3WpUz6w="} \ No newline at end of file diff --git a/server/webpack-runtime.js b/server/webpack-runtime.js new file mode 100644 index 0000000000000000000000000000000000000000..698495842d03c74c84021a07396c9831b7fe86a4 --- /dev/null +++ b/server/webpack-runtime.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var n=r[o]={id:o,loaded:!1,exports:{}},l=!0;try{e[o].call(n.exports,n,n.exports,t),l=!1}finally{l&&delete r[o]}return n.loaded=!0,n.exports}t.m=e,t.amdO={},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,a){if(1&a&&(o=this(o)),8&a||"object"==typeof o&&o&&(4&a&&o.__esModule||16&a&&"function"==typeof o.then))return o;var n=Object.create(null);t.r(n);var l={};e=e||[null,r({}),r([]),r(r)];for(var d=2&a&&o;"object"==typeof d&&!~e.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach(e=>l[e]=()=>o[e]);return l.default=()=>o,t.d(n,l),n}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".js",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.X=(e,r,o)=>{var a=r;o||(r=e,o=()=>t(t.s=a)),r.map(t.e,t);var n=o();return void 0===n?e:n},(()=>{var e={658:1},r=r=>{var o=r.modules,a=r.ids,n=r.runtime;for(var l in o)t.o(o,l)&&(t.m[l]=o[l]);n&&n(t);for(var d=0;d{e[o]||(658!=o?r(require("./chunks/"+t.u(o))):e[o]=1)},module.exports=t,t.C=r})()})(); \ No newline at end of file diff --git a/static/YqlqDnQDm-iyhuuwlKaBS/_buildManifest.js b/static/YqlqDnQDm-iyhuuwlKaBS/_buildManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..fc86f486ad3666ceeb2f3d8977ce0d84ae44f3d3 --- /dev/null +++ b/static/YqlqDnQDm-iyhuuwlKaBS/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-6ae619510b1539d6.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/YqlqDnQDm-iyhuuwlKaBS/_ssgManifest.js b/static/YqlqDnQDm-iyhuuwlKaBS/_ssgManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..5b3ff592fd46c8736892a12864fdf3fed8775202 --- /dev/null +++ b/static/YqlqDnQDm-iyhuuwlKaBS/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/static/chunks/140.b7c295f762558d27.js b/static/chunks/140.b7c295f762558d27.js new file mode 100644 index 0000000000000000000000000000000000000000..89f6afa817fa6809700680ff1cf367abf498c923 --- /dev/null +++ b/static/chunks/140.b7c295f762558d27.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[140],{5140:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return n.Z}});var n=a(19958)},9713:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(52749)),r=n(a(20209)),o=n(a(17693)),s=n(a(67689)),l=n(a(14261)),u=n(a(15622)),c=n(a(2265)),d=n(a(41448)),f=function(e){function t(e){(0,i.default)(this,t),a=(0,o.default)(this,(0,s.default)(t).call(this,e));var a,n=e.categories.filter(function(e){return e.first})[0];return a.state={selected:n.name},a.handleClick=a.handleClick.bind((0,l.default)(a)),a}return(0,u.default)(t,e),(0,r.default)(t,[{key:"handleClick",value:function(e){var t=e.currentTarget.getAttribute("data-index"),a=this.props,n=a.categories;(0,a.onAnchorClick)(n[t],t)}},{key:"render",value:function(){var e=this,t=this.props,a=t.categories,n=t.color,i=t.i18n,r=t.icons,o=this.state.selected;return c.default.createElement("nav",{className:"emoji-mart-anchors","aria-label":i.categorieslabel},a.map(function(t,a){var s=t.id,l=t.name,u=t.anchor,d=l==o;if(!1===u)return null;var f=s.startsWith("custom-")?"custom":s;return c.default.createElement("button",{key:s,"aria-label":i.categories[f],title:i.categories[f],"data-index":a,type:"button",onClick:e.handleClick,className:"emoji-mart-anchor ".concat(d?"emoji-mart-anchor-selected":""),style:{color:d?n:null}},c.default.createElement("div",{className:"emoji-mart-anchor-icon"},r.categories[f]()),c.default.createElement("span",{className:"emoji-mart-anchor-bar",style:{backgroundColor:n}}))}))}}]),t}(c.default.PureComponent);t.default=f,f.propTypes={categories:d.default.array,onAnchorClick:d.default.func,icons:d.default.object},f.defaultProps={categories:[],onAnchorClick:function(){},icons:{}}},21186:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(81949)),r=n(a(52749)),o=n(a(20209)),s=n(a(17693)),l=n(a(67689)),u=n(a(14261)),c=n(a(15622)),d=n(a(2265)),f=n(a(41448)),h=n(a(61819)),m=a(93706),p=n(a(48956)),v=n(a(43674));function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var y=function(e){function t(e){var a;return(0,r.default)(this,t),(a=(0,s.default)(this,(0,l.default)(t).call(this,e))).data=e.data,a.setContainerRef=a.setContainerRef.bind((0,u.default)(a)),a.setLabelRef=a.setLabelRef.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.margin=0,this.minMargin=0,this.memoizeSize()}},{key:"shouldComponentUpdate",value:function(e,t){var a=this.props,n=a.name,i=a.perLine,r=a.native,o=a.hasStickyPosition,s=a.emojis,l=a.emojiProps,u=l.skin,c=l.size,d=l.set,f=e.perLine,h=e.native,m=e.hasStickyPosition,p=e.emojis,v=e.emojiProps,g=v.skin,y=v.size,k=v.set,j=!1;return"Recent"==n&&i!=f&&(j=!0),"Search"==n&&(j=s!=p),(u!=g||c!=y||r!=h||d!=k||o!=m)&&(j=!0),j}},{key:"memoizeSize",value:function(){if(!this.container){this.top=0,this.maxMargin=0;return}var e=this.container.parentElement,t=this.container.getBoundingClientRect(),a=t.top,n=t.height,i=e.getBoundingClientRect().top,r=this.label.getBoundingClientRect().height;this.top=a-i+e.scrollTop,0==n?this.maxMargin=0:this.maxMargin=n-r}},{key:"handleScroll",value:function(e){var t=e-this.top;if((t=(t=tthis.maxMargin?this.maxMargin:t)!=this.margin)return this.props.hasStickyPosition||(this.label.style.top="".concat(t,"px")),this.margin=t,!0}},{key:"getEmojis",value:function(){var e=this,t=this.props,a=t.name,n=t.emojis,i=t.recent,r=t.perLine;if("Recent"==a){var o=this.props.custom,s=i||h.default.get(r);if(s.length&&(n=s.map(function(e){return o.filter(function(t){return t.id===e})[0]||e}).filter(function(t){return!!(0,m.getData)(t,null,null,e.data)})),0===n.length&&s.length>0)return null}return n&&(n=n.slice(0)),n}},{key:"updateDisplay",value:function(e){this.getEmojis()&&this.container&&(this.container.style.display=e)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setLabelRef",value:function(e){this.label=e}},{key:"render",value:function(){var e=this,t=this.props,a=t.id,n=t.name,r=t.hasStickyPosition,o=t.emojiProps,s=t.i18n,l=t.notFound,u=t.notFoundEmoji,c=this.getEmojis(),f={},h={},m={};c||(m={display:"none"}),r||(f={height:28},h={position:"absolute"});var y=s.categories[a]||n;return d.default.createElement("section",{ref:this.setContainerRef,className:"emoji-mart-category","aria-label":y,style:m},d.default.createElement("div",{style:f,"data-name":n,className:"emoji-mart-category-label"},d.default.createElement("span",{style:h,ref:this.setLabelRef,"aria-hidden":!0},y)),d.default.createElement("ul",{className:"emoji-mart-category-list"},c&&c.map(function(t){return d.default.createElement("li",{key:t.short_names&&t.short_names.join("_")||t},(0,p.default)(function(e){for(var t=1;t").concat(v||"","")):o.default.createElement(O.name,(0,i.default)({onClick:function(e){return g(e,t)},onMouseEnter:function(e){return y(e,t)},onMouseLeave:function(e){return k(e,t)},"aria-label":E,title:C,className:b},O.props),o.default.createElement("span",{style:f},v))};b.propTypes=h({},c.EmojiPropTypes,{data:s.default.object.isRequired}),b.defaultProps=d.EmojiDefaultProps,t.default=b},43674:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(81949)),r=n(a(52749)),o=n(a(20209)),s=n(a(17693)),l=n(a(67689)),u=n(a(15622)),c=n(a(2265)),d=n(a(41448)),f=n(a(48956));function h(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var m=function(e){function t(){return(0,r.default)(this,t),(0,s.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"render",value:function(){var e=this.props,t=e.data,a=e.emojiProps,n=e.i18n,r=e.notFound,o=e.notFoundEmoji;return r&&r()||c.default.createElement("div",{className:"emoji-mart-no-results"},(0,f.default)(function(e){for(var t=1;t0){var i={},r=0;e.custom.forEach(function(e){!i[e.customCategory]&&(i[e.customCategory]={id:e.customCategory?"custom-".concat(e.customCategory):"custom",name:e.customCategory||"Custom",emojis:[],anchor:0===r},r++);var t=i[e.customCategory],n=S({},e,{id:e.short_names[0],custom:!0});t.emojis.push(n),a.CUSTOM.push(n)}),n=n.concat(Object.keys(i).map(function(e){return i[e]}))}a.hideRecent=!0,void 0!=e.include&&n.sort(function(t,a){return e.include.indexOf(t.id)>e.include.indexOf(a.id)?1:-1});for(var s=0;s-1,h=!!e.exclude&&!!e.exclude.length&&e.exclude.indexOf(d.id)>-1;if(f&&!h){if(e.emojisToShowFilter){for(var p=[],v=d.emojis,k=0;k-1,E=!!e.exclude&&!!e.exclude.length&&e.exclude.indexOf(a.RECENT_CATEGORY.id)>-1;return w&&!E&&(a.hideRecent=!1,a.categories.unshift(a.RECENT_CATEGORY)),a.categories[0]&&(a.categories[0].first=!0),a.categories.unshift(a.SEARCH_CATEGORY),a.setAnchorsRef=a.setAnchorsRef.bind((0,c.default)(a)),a.handleAnchorClick=a.handleAnchorClick.bind((0,c.default)(a)),a.setSearchRef=a.setSearchRef.bind((0,c.default)(a)),a.handleSearch=a.handleSearch.bind((0,c.default)(a)),a.setScrollRef=a.setScrollRef.bind((0,c.default)(a)),a.handleScroll=a.handleScroll.bind((0,c.default)(a)),a.handleScrollPaint=a.handleScrollPaint.bind((0,c.default)(a)),a.handleEmojiOver=a.handleEmojiOver.bind((0,c.default)(a)),a.handleEmojiLeave=a.handleEmojiLeave.bind((0,c.default)(a)),a.handleEmojiClick=a.handleEmojiClick.bind((0,c.default)(a)),a.handleEmojiSelect=a.handleEmojiSelect.bind((0,c.default)(a)),a.setPreviewRef=a.setPreviewRef.bind((0,c.default)(a)),a.handleSkinChange=a.handleSkinChange.bind((0,c.default)(a)),a.handleKeyDown=a.handleKeyDown.bind((0,c.default)(a)),a.handleDarkMatchMediaChange=a.handleDarkMatchMediaChange.bind((0,c.default)(a)),a}return(0,d.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.state.firstRender&&(this.testStickyPosition(),this.firstRenderTimeout=setTimeout(function(){e.setState({firstRender:!1})},60))}},{key:"componentDidUpdate",value:function(){this.updateCategoriesSize(),this.handleScroll()}},{key:"componentWillUnmount",value:function(){this.SEARCH_CATEGORY.emojis=null,clearTimeout(this.leaveTimeout),clearTimeout(this.firstRenderTimeout),this.darkMatchMedia&&this.darkMatchMedia.removeListener(this.handleDarkMatchMediaChange)}},{key:"testStickyPosition",value:function(){var e=document.createElement("div");["","-webkit-","-ms-","-moz-","-o-"].forEach(function(t){return e.style.position="".concat(t,"sticky")}),this.hasStickyPosition=!!e.style.position.length}},{key:"getPreferredTheme",value:function(){return"auto"!=this.props.theme?this.props.theme:this.state.theme?this.state.theme:"function"!=typeof matchMedia?C.PickerDefaultProps.theme:(this.darkMatchMedia||(this.darkMatchMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMatchMedia.addListener(this.handleDarkMatchMediaChange)),this.darkMatchMedia.media.match(/^not/))?C.PickerDefaultProps.theme:this.darkMatchMedia.matches?"dark":"light"}},{key:"handleDarkMatchMediaChange",value:function(){this.setState({theme:this.darkMatchMedia.matches?"dark":"light"})}},{key:"handleEmojiOver",value:function(e){var t=this.preview;if(t){var a=this.CUSTOM.filter(function(t){return t.id===e.id})[0];for(var n in a)a.hasOwnProperty(n)&&(e[n]=a[n]);t.setState({emoji:e}),clearTimeout(this.leaveTimeout)}}},{key:"handleEmojiLeave",value:function(e){var t=this.preview;t&&(this.leaveTimeout=setTimeout(function(){t.setState({emoji:null})},16))}},{key:"handleEmojiClick",value:function(e,t){this.props.onClick(e,t),this.handleEmojiSelect(e)}},{key:"handleEmojiSelect",value:function(e){var t=this;this.props.onSelect(e),this.hideRecent||this.props.recent||v.default.add(e);var a=this.categoryRefs["category-1"];if(a){var n=a.maxMargin;this.props.enableFrequentEmojiSort&&a.forceUpdate(),requestAnimationFrame(function(){t.scroll&&(a.memoizeSize(),n!=a.maxMargin&&(t.updateCategoriesSize(),t.handleScrollPaint(),t.SEARCH_CATEGORY.emojis&&a.updateDisplay("none")))})}}},{key:"handleScroll",value:function(){this.waitingForPaint||(this.waitingForPaint=!0,requestAnimationFrame(this.handleScrollPaint))}},{key:"handleScrollPaint",value:function(){if(this.waitingForPaint=!1,this.scroll){var e=null;if(this.SEARCH_CATEGORY.emojis)e=this.SEARCH_CATEGORY;else{for(var t=this.scroll.scrollTop,a=t>(this.scrollTop||0),n=0,i=0,r=this.categories.length;i0&&(n=l.top),u&&!e&&(e=s)}}t=this.scrollHeight&&(e=this.categories[this.categories.length-1])}if(e){var c=this.anchors,d=e.name;c.state.selected!=d&&c.setState({selected:d})}this.scrollTop=t}}},{key:"handleSearch",value:function(e){this.SEARCH_CATEGORY.emojis=e;for(var t=0,a=this.categories.length;t=0||(v.push(e.toLowerCase()),y.push(e))}),c.default.createElement("div",{className:"emoji-mart-preview"},c.default.createElement("div",{className:"emoji-mart-preview-emoji","aria-hidden":"true"},(0,h.default)(g({key:e.id,emoji:e,data:this.data},a))),c.default.createElement("div",{className:"emoji-mart-preview-data","aria-hidden":"true"},c.default.createElement("div",{className:"emoji-mart-preview-name"},e.name),c.default.createElement("div",{className:"emoji-mart-preview-shortnames"},u.short_names.map(function(e){return c.default.createElement("span",{key:e,className:"emoji-mart-preview-shortname"},":",e,":")})),c.default.createElement("div",{className:"emoji-mart-preview-emoticons"},y.map(function(e){return c.default.createElement("span",{key:e,className:"emoji-mart-preview-emoticon"},e)}))))}}]),t}(c.default.PureComponent);t.default=y,y.propTypes={showSkinTones:d.default.bool,title:d.default.string.isRequired,emoji:d.default.string.isRequired,emojiProps:d.default.object.isRequired,skinsProps:d.default.object.isRequired},y.defaultProps={showSkinTones:!0,onChange:function(){}}},574:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(52749)),r=n(a(20209)),o=n(a(17693)),s=n(a(67689)),l=n(a(14261)),u=n(a(15622)),c=n(a(2265)),d=n(a(41448)),f=a(70200),h=n(a(64771)),m=a(93706),p=0,v=function(e){function t(e){var a;return(0,i.default)(this,t),(a=(0,o.default)(this,(0,s.default)(t).call(this,e))).state={icon:f.search.search,isSearching:!1,id:++p},a.data=e.data,a.emojiIndex=new h.default(a.data),a.setRef=a.setRef.bind((0,l.default)(a)),a.clear=a.clear.bind((0,l.default)(a)),a.handleKeyUp=a.handleKeyUp.bind((0,l.default)(a)),a.handleChange=(0,m.throttleIdleTask)(a.handleChange.bind((0,l.default)(a))),a}return(0,u.default)(t,e),(0,r.default)(t,[{key:"componentDidMount",value:function(){this.input&&this.input.value&&this.search(this.input.value)}},{key:"search",value:function(e){""==e?this.setState({icon:f.search.search,isSearching:!1}):this.setState({icon:f.search.delete,isSearching:!0}),this.props.onSearch(this.emojiIndex.search(e,{emojisToShowFilter:this.props.emojisToShowFilter,maxResults:this.props.maxResults,include:this.props.include,exclude:this.props.exclude,custom:this.props.custom}))}},{key:"clear",value:function(){""!=this.input.value&&(this.input.value="",this.input.focus(),this.search(""))}},{key:"handleChange",value:function(){this.input&&this.search(this.input.value)}},{key:"handleKeyUp",value:function(e){13===e.keyCode&&this.clear()}},{key:"setRef",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.i18n,a=e.autoFocus,n=this.state,i=n.icon,r=n.isSearching,o=n.id,s="emoji-mart-search-".concat(o);return c.default.createElement("section",{className:"emoji-mart-search","aria-label":t.search},c.default.createElement("input",{id:s,ref:this.setRef,type:"search",onChange:this.handleChange,placeholder:t.search,autoFocus:a}),c.default.createElement("label",{className:"emoji-mart-sr-only",htmlFor:s},t.search),c.default.createElement("button",{className:"emoji-mart-search-icon",onClick:this.clear,onKeyUp:this.handleKeyUp,"aria-label":t.clear,disabled:!r},i()))}}]),t}(c.default.PureComponent);t.default=v,v.propTypes={onSearch:d.default.func,maxResults:d.default.number,emojisToShowFilter:d.default.func,autoFocus:d.default.bool},v.defaultProps={onSearch:function(){},maxResults:75,emojisToShowFilter:null,autoFocus:!1}},24935:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(95380)),r=n(a(52749)),o=n(a(20209)),s=n(a(17693)),l=n(a(67689)),u=n(a(14261)),c=n(a(15622)),d=n(a(2265)),f=n(a(41448)),h=function(e){function t(e){var a;return(0,r.default)(this,t),(a=(0,s.default)(this,(0,l.default)(t).call(this,e))).handleClick=a.handleClick.bind((0,u.default)(a)),a.handleKeyDown=a.handleKeyDown.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,o.default)(t,[{key:"handleKeyDown",value:function(e){(13===e.keyCode||32===e.keyCode)&&(e.preventDefault(),this.handleClick(e))}},{key:"render",value:function(){for(var e=this.props,t=e.skin,a=e.i18n,n=this.state.opened,r=[],o=1;o<=6;o++){var s=o===t,l=n||s;r.push(d.default.createElement("span",(0,i.default)({key:"skin-tone-".concat(o),className:"emoji-mart-skin-swatch".concat(s?" selected":""),"aria-label":a.skintones[o],"aria-hidden":!l},n?{role:"menuitem"}:{}),d.default.createElement("span",(0,i.default)({onClick:this.handleClick,onKeyDown:this.handleKeyDown,role:"button"},s?{"aria-haspopup":!0,"aria-expanded":!!n}:{},n?{"aria-pressed":!!s}:{},{tabIndex:l?"0":"","aria-label":a.skintones[o],title:a.skintones[o],"data-skin":o,className:"emoji-mart-skin emoji-mart-skin-tone-".concat(o)}))))}return d.default.createElement("section",{className:"emoji-mart-skin-swatches".concat(n?" opened":""),"aria-label":a.skintext},d.default.createElement("div",n?{role:"menubar"}:{},r))}}]),t}(n(a(29151)).default);t.default=h,h.propTypes={onChange:f.default.func,skin:f.default.number.isRequired,i18n:f.default.object},h.defaultProps={onChange:function(){}}},61711:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(52749)),r=n(a(20209)),o=n(a(17693)),s=n(a(67689)),l=n(a(14261)),u=n(a(15622)),c=n(a(2265)),d=n(a(41448)),f=n(a(48956)),h=function(e){function t(e){var a;return(0,i.default)(this,t),(a=(0,o.default)(this,(0,s.default)(t).call(this,e))).handleClick=a.handleClick.bind((0,l.default)(a)),a}return(0,u.default)(t,e),(0,r.default)(t,[{key:"render",value:function(){for(var e=this.props,t=e.skin,a=e.emojiProps,n=e.data,i=e.skinEmoji,r=e.i18n,o=this.state.opened,s=[],l=1;l<=6;l++){var u=l===t;s.push(c.default.createElement("span",{key:"skin-tone-".concat(l),className:"emoji-mart-skin-swatch custom".concat(u?" selected":"")},c.default.createElement("span",{onClick:this.handleClick,"data-skin":l,className:"emoji-mart-skin-tone-".concat(l)},(0,f.default)({emoji:i,data:n,skin:l,backgroundImageFn:a.backgroundImageFn,native:a.native,set:a.set,sheetSize:a.sheetSize,size:23}))))}return c.default.createElement("div",{className:"emoji-mart-skin-swatches custom".concat(o?" opened":"")},c.default.createElement("div",{className:"emoji-mart-skin-text".concat(o?" opened":"")},r.skintext),s)}}]),t}(n(a(29151)).default);t.default=h,h.propTypes={onChange:d.default.func,skin:d.default.number.isRequired,emojiProps:d.default.object.isRequired,skinTone:d.default.number,skinEmoji:d.default.string.isRequired,i18n:d.default.object},h.defaultProps={onChange:function(){},skinTone:null}},29151:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(52749)),r=n(a(20209)),o=n(a(17693)),s=n(a(67689)),l=n(a(15622)),u=n(a(2265)),c=n(a(41448)),d=function(e){function t(e){var a;return(0,i.default)(this,t),(a=(0,o.default)(this,(0,s.default)(t).call(this,e))).state={opened:!1},a}return(0,l.default)(t,e),(0,r.default)(t,[{key:"handleClick",value:function(e){var t=parseInt(e.currentTarget.getAttribute("data-skin")),a=this.props.onChange;this.state.opened?(this.setState({opened:!1}),t!=this.props.skin&&a(t)):this.setState({opened:!0})}},{key:"render",value:function(){return null}}]),t}(u.default.PureComponent);t.default=d,d.propTypes={onChange:c.default.func,skin:c.default.number.isRequired},d.defaultProps={onChange:function(){}}},70200:function(e,t,a){"use strict";var n=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.search=t.categories=void 0;var i=n(a(2265));t.categories={activity:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"}))},custom:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("g",{transform:"translate(2.000000, 1.000000)"},i.default.createElement("rect",{id:"Rectangle",x:"8",y:"0",width:"3",height:"21",rx:"1.5"}),i.default.createElement("rect",{id:"Rectangle",transform:"translate(9.843, 10.549) rotate(60) translate(-9.843, -10.549) ",x:"8.343",y:"0.049",width:"3",height:"21",rx:"1.5"}),i.default.createElement("rect",{id:"Rectangle",transform:"translate(9.843, 10.549) rotate(-60) translate(-9.843, -10.549) ",x:"8.343",y:"0.049",width:"3",height:"21",rx:"1.5"})))},flags:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"}))},foods:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"}))},nature:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),i.default.createElement("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"}))},objects:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),i.default.createElement("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"}))},people:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),i.default.createElement("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"}))},places:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),i.default.createElement("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"}))},recent:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),i.default.createElement("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}))},symbols:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},i.default.createElement("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"}))}},t.search={search:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 20 20",opacity:"0.5"},i.default.createElement("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"}))},delete:function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 20 20",opacity:"0.5"},i.default.createElement("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"}))}}},61819:function(e,t,a){"use strict";var n,i,r=a(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(a(73817)),s=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"],l={};function u(){i=!0,n=o.default.get("frequently")}t.default={add:function(e){i||u();var t=e.id;n||(n=l),n[t]||(n[t]=0),n[t]+=1,o.default.set("last",t),o.default.set("frequently",n)},get:function(e){if(i||u(),!n){l={};for(var t=[],a=0;a1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)})},4897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let r=n(22707),o=n(18157);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,r.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75684:function(e,t){"use strict";function n(e){var t,n;t=self.__next_s,n=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[n,r]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(r)for(let e in r)"children"!==e&&o.setAttribute(e,r[e]);n?(o.src=n,o.onload=()=>e(),o.onerror=t):r&&(o.innerHTML=r.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return n}}),window.next={version:"14.2.5",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let r=n(95751);async function o(e,t){let n=(0,r.getServerActionDispatcher)();if(!n)throw Error("Invariant: missing action dispatcher.");return new Promise((r,o)=>{n({actionId:e,actionArgs:t,resolve:r,reject:o})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10353:function(e,t,n){"use strict";let r,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let u=n(99920),l=n(41452),a=n(57437);n(57108);let i=u._(n(34040)),c=l._(n(2265)),s=n(6671),f=n(36590),d=u._(n(16124)),p=n(74590),h=n(42128),y=n(21427);n(63243);let _=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),n=0;n{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let v=document,b=new TextEncoder,g=!1,m=!1,R=null;function P(e){if(0===e[0])r=[];else if(1===e[0]){if(!r)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(b.encode(e[1])):r.push(e[1])}else 2===e[0]&&(R=e[1])}let j=function(){o&&!m&&(o.close(),m=!0,r=void 0),g=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",j,!1):j();let O=self.__next_f=self.__next_f||[];O.forEach(P),O.push=P;let S=new ReadableStream({start(e){r&&(r.forEach(t=>{e.enqueue(b.encode(t))}),g&&!m&&(e.close(),m=!0,r=void 0)),o=e}}),E=(0,s.createFromReadableStream)(S,{callServer:p.callServer});function w(){return(0,c.use)(E)}let T=c.default.StrictMode;function M(e){let{children:t}=e;return t}function C(){let e=(0,y.createMutableActionQueue)(),t=(0,a.jsx)(T,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(y.ActionQueueContext.Provider,{value:e,children:(0,a.jsx)(M,{children:(0,a.jsx)(w,{})})})})}),n=window.__next_root_layout_missing_tags,r=!!(null==n?void 0:n.length),o={onRecoverableError:d.default};"__next_error__"===document.documentElement.id||r?i.default.createRoot(v,o).render(t):c.default.startTransition(()=>i.default.hydrateRoot(v,t,{...o,formState:R}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11028:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(65820),(0,n(75684).appBootstrap)(()=>{let{hydrate:e}=n(10353);n(95751),n(39275),e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(29492);{let e=n.u;n.u=function(){for(var t=arguments.length,n=Array(t),r=0;r(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,r.useState)(""),c=(0,r.useRef)();return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),n?(0,o.createPortal)(a,n):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77325:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION:function(){return r},FLIGHT_PARAMETERS:function(){return i},NEXT_DID_POSTPONE_HEADER:function(){return s},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_RSC_UNION_QUERY:function(){return c},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return a},RSC_HEADER:function(){return n}});let n="RSC",r="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Url",a="text/x-component",i=[[n],[o],[u]],c="_rsc",s="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95751:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createEmptyCacheNode:function(){return x},default:function(){return I},getServerActionDispatcher:function(){return E},urlToUrlWithoutFlightMarker:function(){return T}});let r=n(41452),o=n(57437),u=r._(n(2265)),l=n(44467),a=n(51507),i=n(53174),c=n(68056),s=n(42114),f=n(76130),d=n(50322),p=n(74092),h=n(4897),y=n(41012),_=n(36585),v=n(30315),b=n(91108),g=n(77325),m=n(97599),R=n(49404),P=n(8e4),j="undefined"==typeof window,O=j?null:new Map,S=null;function E(){return S}let w={};function T(e){let t=new URL(e,location.origin);return t.searchParams.delete(g.NEXT_RSC_UNION_QUERY),t}function M(e){return e.origin!==window.location.origin}function C(e){let{appRouterState:t,sync:n}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:o}=t,u={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==o?(r.pendingPush=!1,window.history.pushState(u,"",o)):window.history.replaceState(u,"",o),n(t)},[t,n]),null}function x(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null}}function A(e){null==e&&(e={});let t=window.history.state,n=null==t?void 0:t.__NA;n&&(e.__NA=n);let r=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function N(e){let{headCacheNode:t}=e,n=null!==t?t.head:null,r=null!==t?t.prefetchHead:null,o=null!==r?r:n;return(0,u.useDeferredValue)(n,o)}function D(e){let t,{buildId:n,initialHead:r,initialTree:i,initialCanonicalUrl:f,initialSeedData:g,couldBeIntercepted:E,assetPrefix:T,missingSlots:x}=e,D=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:n,initialSeedData:g,initialCanonicalUrl:f,initialTree:i,initialParallelRoutes:O,location:j?null:window.location,initialHead:r,couldBeIntercepted:E}),[n,g,f,i,r,E]),[I,U,k]=(0,s.useReducerWithReduxDevtools)(D);(0,u.useEffect)(()=>{O=null},[]);let{canonicalUrl:F}=(0,s.useUnwrapState)(I),{searchParams:L,pathname:H}=(0,u.useMemo)(()=>{let e=new URL(F,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,R.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[F]),$=(0,u.useCallback)(e=>{let{previousTree:t,serverResponse:n}=e;(0,u.startTransition)(()=>{U({type:a.ACTION_SERVER_PATCH,previousTree:t,serverResponse:n})})},[U]),G=(0,u.useCallback)((e,t,n)=>{let r=new URL((0,h.addBasePath)(e),location.href);return U({type:a.ACTION_NAVIGATE,url:r,isExternalUrl:M(r),locationSearch:location.search,shouldScroll:null==n||n,navigateType:t})},[U]);S=(0,u.useCallback)(e=>{(0,u.startTransition)(()=>{U({...e,type:a.ACTION_SERVER_ACTION})})},[U]);let z=(0,u.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let n;if(!(0,p.isBot)(window.navigator.userAgent)){try{n=new URL((0,h.addBasePath)(e),window.location.href)}catch(t){throw Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL.")}M(n)||(0,u.startTransition)(()=>{var e;U({type:a.ACTION_PREFETCH,url:n,kind:null!=(e=null==t?void 0:t.kind)?e:a.PrefetchKind.FULL})})}},replace:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var n;G(e,"replace",null==(n=t.scroll)||n)})},push:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var n;G(e,"push",null==(n=t.scroll)||n)})},refresh:()=>{(0,u.startTransition)(()=>{U({type:a.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[U,G]);(0,u.useEffect)(()=>{window.next&&(window.next.router=z)},[z]),(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(w.pendingMpaPath=void 0,U({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[U]);let{pushRef:B}=(0,s.useUnwrapState)(I);if(B.mpaNavigation){if(w.pendingMpaPath!==F){let e=window.location;B.pendingPush?e.assign(F):e.replace(F),w.pendingMpaPath=F}(0,u.use)(b.unresolvedThenable)}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{var t;let n=window.location.href,r=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,u.startTransition)(()=>{U({type:a.ACTION_RESTORE,url:new URL(null!=e?e:n,n),tree:r})})};window.history.pushState=function(t,r,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=A(t),o&&n(o)),e(t,r,o)},window.history.replaceState=function(e,r,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=A(e),o&&n(o)),t(e,r,o)};let r=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,u.startTransition)(()=>{U({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[U]);let{cache:K,tree:W,nextUrl:V,focusAndScrollRef:Y}=(0,s.useUnwrapState)(I),X=(0,u.useMemo)(()=>(0,v.findHeadInCache)(K,W[1]),[K,W]),q=(0,u.useMemo)(()=>(function e(t,n){for(let r of(void 0===n&&(n={}),Object.values(t[1]))){let t=r[0],o=Array.isArray(t),u=o?t[1]:t;!u||u.startsWith(P.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?n[t[0]]=t[1].split("/"):o&&(n[t[0]]=t[1]),n=e(r,n))}return n})(W),[W]);if(null!==X){let[e,n]=X;t=(0,o.jsx)(N,{headCacheNode:e},n)}else t=null;let J=(0,o.jsxs)(_.RedirectBoundary,{children:[t,K.rsc,(0,o.jsx)(y.AppRouterAnnouncer,{tree:W})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(C,{appRouterState:(0,s.useUnwrapState)(I),sync:k}),(0,o.jsx)(c.PathParamsContext.Provider,{value:q,children:(0,o.jsx)(c.PathnameContext.Provider,{value:H,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:L,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:{buildId:n,changeByServerResponse:$,tree:W,focusAndScrollRef:Y,nextUrl:V},children:(0,o.jsx)(l.AppRouterContext.Provider,{value:z,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:{childNodes:K.parallelRoutes,tree:W,url:F,loading:K.loading},children:J})})})})})})]})}function I(e){let{globalErrorComponent:t,...n}=e;return(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(D,{...n})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return u}});let r=n(55592),o=n(44936);function u(e){let t=o.staticGenerationAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new r.BailoutToCSRError(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return u}});let r=n(57437),o=n(8897);function u(e){let{Component:t,props:n}=e;return n.searchParams=(0,o.createDynamicallyTrackedSearchParams)(n.searchParams||{}),(0,r.jsx)(t,{...n})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return f},GlobalError:function(){return d},default:function(){return p}});let r=n(99920),o=n(57437),u=r._(n(2265)),l=n(71169),a=n(42128),i=n(44936),c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function s(e){let{error:t}=e,n=i.staticGenerationAsyncStorage.getStore();if((null==n?void 0:n.isRevalidate)||(null==n?void 0:n.isStaticGeneration))throw console.error(t),t;return null}class f extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function d(e){let{error:t}=e,n=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(s,{error:t}),(0,o.jsx)("div",{style:c.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:c.text,children:"Application error: a "+(n?"server":"client")+"-side exception has occurred (see the "+(n?"server logs":"browser console")+" for more information)."}),n?(0,o.jsx)("p",{style:c.text,children:"Digest: "+n}):null]})})]})]})}let p=d;function h(e){let{errorComponent:t,errorStyles:n,errorScripts:r,children:u}=e,a=(0,l.usePathname)();return t?(0,o.jsx)(f,{pathname:a,errorComponent:t,errorStyles:n,errorScripts:r,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57910:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DynamicServerError:function(){return r},isDynamicServerError:function(){return o}});let n="DYNAMIC_SERVER_USAGE";class r extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let r=n(52496),o=n(67909);function u(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,r.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39275:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let r=n(99920),o=n(41452),u=n(57437),l=o._(n(2265)),a=r._(n(54887)),i=n(44467),c=n(41283),s=n(91108),f=n(76130),d=n(16237),p=n(86180),h=n(36585),y=n(16585),_=n(44640),v=n(81784),b=n(35914),g=["bottom","height","left","right","top","width","x","y"];function m(e,t){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=t}class R extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var n;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,n)=>(0,d.matchSegment)(t,e[n]))))return;let r=null,o=e.hashFragment;if(o&&(r="top"===o?document.body:null!=(n=document.getElementById(o))?n:document.getElementsByName(o)[0]),r||(r="undefined"==typeof window?null:a.default.findDOMNode(this)),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return g.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!m(r,t)&&(e.scrollTop=0,m(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function P(e){let{segmentPath:t,children:n}=e,r=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!r)throw Error("invariant global layout router not mounted");return(0,u.jsx)(R,{segmentPath:t,focusAndScrollRef:r.focusAndScrollRef,children:n})}function j(e){let{parallelRouterKey:t,url:n,childNodes:r,segmentPath:o,tree:a,cacheKey:f}=e,p=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:_}=p,v=r.get(f);if(void 0===v){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};v=e,r.set(f,e)}let g=null!==v.prefetchRsc?v.prefetchRsc:v.rsc,m=(0,l.useDeferredValue)(v.rsc,g),R="object"==typeof m&&null!==m&&"function"==typeof m.then?(0,l.use)(m):m;if(!R){let e=v.lazyData;if(null===e){let t=function e(t,n){if(t){let[r,o]=t,u=2===t.length;if((0,d.matchSegment)(n[0],r)&&n[1].hasOwnProperty(o)){if(u){let t=e(void 0,n[1][o]);return[n[0],{...n[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[n[0],{...n[1],[o]:e(t.slice(2),n[1][o])}]}}return n}(["",...o],_),r=(0,b.hasInterceptionRouteInCurrentTree)(_);v.lazyData=e=(0,c.fetchServerResponse)(new URL(n,location.origin),t,r?p.nextUrl:null,h),v.lazyDataResolved=!1}let t=(0,l.use)(e);v.lazyDataResolved||(setTimeout(()=>{(0,l.startTransition)(()=>{y({previousTree:_,serverResponse:t})})}),v.lazyDataResolved=!0),(0,l.use)(s.unresolvedThenable)}return(0,u.jsx)(i.LayoutRouterContext.Provider,{value:{tree:a[1][t],childNodes:v.parallelRoutes,url:n,loading:v.loading},children:R})}function O(e){let{children:t,hasLoading:n,loading:r,loadingStyles:o,loadingScripts:a}=e;return n?(0,u.jsx)(l.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[o,a,r]}),children:t}):(0,u.jsx)(u.Fragment,{children:t})}function S(e){let{parallelRouterKey:t,segmentPath:n,error:r,errorStyles:o,errorScripts:a,templateStyles:c,templateScripts:s,template:d,notFound:p,notFoundStyles:b,styles:g}=e,m=(0,l.useContext)(i.LayoutRouterContext);if(!m)throw Error("invariant expected layout router to be mounted");let{childNodes:R,tree:S,url:E,loading:w}=m,T=R.get(t);T||(T=new Map,R.set(t,T));let M=S[1][t][0],C=(0,_.getSegmentValue)(M),x=[M];return(0,u.jsxs)(u.Fragment,{children:[g,x.map(e=>{let l=(0,_.getSegmentValue)(e),g=(0,v.createRouterCacheKey)(e);return(0,u.jsxs)(i.TemplateContext.Provider,{value:(0,u.jsx)(P,{segmentPath:n,children:(0,u.jsx)(f.ErrorBoundary,{errorComponent:r,errorStyles:o,errorScripts:a,children:(0,u.jsx)(O,{hasLoading:!!w,loading:null==w?void 0:w[0],loadingStyles:null==w?void 0:w[1],loadingScripts:null==w?void 0:w[2],children:(0,u.jsx)(y.NotFoundBoundary,{notFound:p,notFoundStyles:b,children:(0,u.jsx)(h.RedirectBoundary,{children:(0,u.jsx)(j,{parallelRouterKey:t,url:E,tree:S,childNodes:T,segmentPath:n,cacheKey:g,isActive:C===l})})})})})}),children:[c,s,d]},(0,v.createRouterCacheKey)(e,!0))})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{canSegmentBeOverridden:function(){return u},matchSegment:function(){return o}});let r=n(24286),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],u=(e,t)=>{var n;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(n=(0,r.getSegmentParam)(e))?void 0:n.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},useParams:function(){return p},usePathname:function(){return f},useRouter:function(){return d},useSearchParams:function(){return s},useSelectedLayoutSegment:function(){return y},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let r=n(2265),o=n(44467),u=n(68056),l=n(44640),a=n(8e4),i=n(52152),c=n(8005);function s(){let e=(0,r.useContext)(u.SearchParamsContext),t=(0,r.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e]);if("undefined"==typeof window){let{bailoutToClientRendering:e}=n(24804);e("useSearchParams()")}return t}function f(){return(0,r.useContext)(u.PathnameContext)}function d(){let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,r.useContext)(u.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,r.useContext)(o.LayoutRouterContext);return t?function e(t,n,r,o){let u;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)u=t[1][n];else{var i;let e=t[1];u=null!=(i=e.children)?i:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,l.getSegmentValue)(c);return!s||s.startsWith(a.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,n,!1,o))}(t.tree,e):null}function y(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===a.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return l},RedirectType:function(){return r.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(67909),o=n(52496);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return s}});let r=n(41452),o=n(57437),u=r._(n(2265)),l=n(71169),a=n(52496);n(72301);let i=n(44467);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function s(e){let{notFound:t,notFoundStyles:n,asNotFound:r,children:a}=e,s=(0,l.usePathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(c,{pathname:s,notFound:t,notFoundStyles:n,asNotFound:r,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52496:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43858:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let r=n(93449),o=n(57614);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,n;let o=new Promise((e,r)=>{t=e,n=r}),u=async()=>{try{r._(this,l)[l]++;let n=await e();t(n)}catch(e){n(e)}finally{r._(this,l)[l]--,r._(this,i)[i]()}};return r._(this,a)[a].push({promiseFn:o,task:u}),r._(this,i)[i](),o}bump(e){let t=r._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=r._(this,a)[a].splice(t,1)[0];r._(this,a)[a].unshift(e),r._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),r._(this,u)[u]=e,r._(this,l)[l]=0,r._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(r._(this,l)[l]0){var t;null==(t=r._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectBoundary:function(){return s},RedirectErrorBoundary:function(){return c}});let r=n(41452),o=n(57437),u=r._(n(2265)),l=n(71169),a=n(67909);function i(e){let{redirect:t,reset:n,redirectType:r}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{r===a.RedirectType.push?o.push(t,{}):o.replace(t,{}),n()})},[t,r,n,o]),null}class c extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function s(e){let{children:t}=e,n=(0,l.useRouter)();return(0,o.jsx)(c,{router:n,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84785:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67909:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return y},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return d},permanentRedirect:function(){return f},redirect:function(){return s}});let u=n(58512),l=n(99440),a=n(84785),i="NEXT_REDIRECT";function c(e,t,n){void 0===n&&(n=a.RedirectStatusCode.TemporaryRedirect);let r=Error(i);r.digest=i+";"+t+";"+e+";"+n+";";let o=u.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function s(e,t){void 0===t&&(t="replace");let n=l.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let n=l.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,o]=e.digest.split(";",4),u=Number(o);return t===i&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(u)&&u in a.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(41452),o=n(57437),u=r._(n(2265)),l=n(44467);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58512:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(70038);function o(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let r=n(13821),o=n(41133);function u(e,t,n,u){let[l,a,i]=n.slice(-3);if(null===a)return!1;if(3===n.length){let n=a[2],o=a[3];t.loading=o,t.rsc=n,t.prefetchRsc=null,(0,r.fillLazyItemsTillLeafWithHead)(t,e,l,a,i,u)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,o.fillCacheWithNewSubTreeData)(t,e,n,u);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,n,r,a){let i;let[c,s,f,d,p]=n;if(1===t.length){let e=l(n,r,t);return(0,u.addRefreshMarkerToActiveParallelSegments)(e,a),e}let[h,y]=t;if(!(0,o.matchSegment)(h,c))return null;if(2===t.length)i=l(s[y],r,t);else if(null===(i=e(t.slice(2),s[y],r,a)))return null;let _=[t[0],{...s,[y]:i},f,d];return p&&(_[4]=!0),(0,u.addRefreshMarkerToActiveParallelSegments)(_,a),_}}});let r=n(8e4),o=n(16237),u=n(74922);function l(e,t,n){let[u,a]=e,[i,c]=t;if(i===r.DEFAULT_SEGMENT_KEY&&u!==r.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(u,i)){let t={};for(let e in a)void 0!==c[e]?t[e]=l(a[e],c[e],n):t[e]=a[e];for(let e in c)t[e]||(t[e]=c[e]);let r=[u,t];return e[2]&&(r[2]=e[2]),e[3]&&(r[3]=e[3]),e[4]&&(r[4]=e[4]),r}return t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let u=o.length<=2,[l,a]=o,i=(0,r.createRouterCacheKey)(a),c=n.parallelRoutes.get(l),s=t.parallelRoutes.get(l);s&&s!==c||(s=new Map(c),t.parallelRoutes.set(l,s));let f=null==c?void 0:c.get(i),d=s.get(i);if(u){d&&d.lazyData&&d!==f||s.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}if(!d||!f){d||s.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}return d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved,loading:d.loading},s.set(i,d)),e(d,f,o.slice(2))}}});let r=n(81784);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96626:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{computeChangedPath:function(){return s},extractPathFromFlightRouterState:function(){return c}});let r=n(82269),o=n(8e4),u=n(16237),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let n=Array.isArray(e[0])?e[0][1]:e[0];if(n===o.DEFAULT_SEGMENT_KEY||r.INTERCEPTION_ROUTE_MARKERS.some(e=>n.startsWith(e)))return;if(n.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[a(n)],l=null!=(t=e[1])?t:{},s=l.children?c(l.children):void 0;if(void 0!==s)u.push(s);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let n=c(t);void 0!==n&&u.push(n)}return i(u)}function s(e,t){let n=function e(t,n){let[o,l]=t,[i,s]=n,f=a(o),d=a(i);if(r.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(n))?p:""}for(let t in l)if(s[t]){let n=e(l[t],s[t]);if(null!==n)return a(i)+"/"+n}return null}(e,t);return null==n||"/"===n?n:i(n.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53174:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let r=n(53174),o=n(13821),u=n(96626),l=n(86004),a=n(51507),i=n(74922);function c(e){var t;let{buildId:n,initialTree:c,initialSeedData:s,initialCanonicalUrl:f,initialParallelRoutes:d,location:p,initialHead:h,couldBeIntercepted:y}=e,_=!p,v={lazyData:null,rsc:s[2],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:_?new Map:d,lazyDataResolved:!1,loading:s[3]},b=p?(0,r.createHrefFromUrl)(p):f;(0,i.addRefreshMarkerToActiveParallelSegments)(c,b);let g=new Map;(null===d||0===d.size)&&(0,o.fillLazyItemsTillLeafWithHead)(v,void 0,c,s,h);let m={buildId:n,tree:c,cache:v,prefetchCache:g,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:b,nextUrl:null!=(t=(0,u.extractPathFromFlightRouterState)(c)||(null==p?void 0:p.pathname))?t:null};if(p){let e=new URL(""+p.pathname+p.search,p.origin),t=[["",c,null,null]];(0,l.createPrefetchCacheEntryForInitialLoad)({url:e,kind:a.PrefetchKind.AUTO,data:[t,void 0,!1,y],tree:m.tree,prefetchCache:m.prefetchCache,nextUrl:m.nextUrl})}return m}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let r=n(8e4);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(r.PAGE_SEGMENT_KEY)?r.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let r=n(77325),o=n(95751),u=n(74590),l=n(51507),a=n(54736),{createFromFetch:i}=n(6671);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0,!1,!1]}async function s(e,t,n,s,f){let d={[r.RSC_HEADER]:"1",[r.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[r.NEXT_ROUTER_PREFETCH_HEADER]="1"),n&&(d[r.NEXT_URL]=n);let p=(0,a.hexHash)([d[r.NEXT_ROUTER_PREFETCH_HEADER]||"0",d[r.NEXT_ROUTER_STATE_TREE],d[r.NEXT_URL]].join(","));try{var h;let t=new URL(e);t.searchParams.set(r.NEXT_RSC_UNION_QUERY,p);let n=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(n.url),a=n.redirected?l:void 0,f=n.headers.get("content-type")||"",y=!!n.headers.get(r.NEXT_DID_POSTPONE_HEADER),_=!!(null==(h=n.headers.get("vary"))?void 0:h.includes(r.NEXT_URL));if(f!==r.RSC_CONTENT_TYPE_HEADER||!n.ok)return e.hash&&(l.hash=e.hash),c(l.toString());let[v,b]=await i(Promise.resolve(n),{callServer:u.callServer});if(s!==v)return c(n.url);return[b,a,y,_]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0,!1,!1]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,n,l,a){let i=l.length<=5,[c,s]=l,f=(0,u.createRouterCacheKey)(s),d=n.parallelRoutes.get(c);if(!d)return;let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),y=p.get(f);if(i){if(!y||!y.lazyData||y===h){let e=l[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,head:null,prefetchHead:null,loading:e[3],parallelRoutes:h?new Map(h.parallelRoutes):new Map,lazyDataResolved:!1},h&&(0,r.invalidateCacheByRouterState)(y,h,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,h,l[2],e,l[4],a),p.set(f,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,head:y.head,prefetchHead:y.prefetchHead,parallelRoutes:new Map(y.parallelRoutes),lazyDataResolved:!1,loading:y.loading},p.set(f,y)),e(y,h,l.slice(2),a))}}});let r=n(74213),o=n(13821),u=n(81784);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,n,u,l,a,i){if(0===Object.keys(u[1]).length){t.head=a;return}for(let c in u[1]){let s;let f=u[1][c],d=f[0],p=(0,r.createRouterCacheKey)(d),h=null!==l&&void 0!==l[1][c]?l[1][c]:null;if(n){let r=n.parallelRoutes.get(c);if(r){let n;let u=(null==i?void 0:i.kind)==="auto"&&i.status===o.PrefetchCacheEntryStatus.reusable,l=new Map(r),s=l.get(p);n=null!==h?{lazyData:null,rsc:h[2],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==s?void 0:s.parallelRoutes),lazyDataResolved:!1}:u&&s?{lazyData:s.lazyData,rsc:s.rsc,prefetchRsc:s.prefetchRsc,head:s.head,prefetchHead:s.prefetchHead,parallelRoutes:new Map(s.parallelRoutes),lazyDataResolved:s.lazyDataResolved,loading:s.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==s?void 0:s.parallelRoutes),lazyDataResolved:!1,loading:null},l.set(p,n),e(n,s,f,h||null,a,i),t.parallelRoutes.set(c,l);continue}}if(null!==h){let e=h[2],t=h[3];s={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:t}}else s={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};let y=t.parallelRoutes.get(c);y?y.set(p,s):t.parallelRoutes.set(c,new Map([[p,s]])),e(s,void 0,f,h,a,i)}}}});let r=n(81784),o=n(51507);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return u}});let r=n(96626);function o(e){return void 0!==e}function u(e,t){var n,u,l;let a=null==(u=t.shouldScroll)||u,i=e.nextUrl;if(o(t.patchedTree)){let n=(0,r.computeChangedPath)(e.tree,t.patchedTree);n?i=n:i||(i=e.canonicalUrl)}return{buildId:e.buildId,canonicalUrl:o(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:o(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:o(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:o(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!a&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:!!t.hashFragment&&e.canonicalUrl.split("#",1)[0]===(null==(n=t.canonicalUrl)?void 0:n.split("#",1)[0]),hashFragment:a?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:a?null!=(l=null==t?void 0:t.scrollableSegments)?l:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:o(t.patchedTree)?t.patchedTree:e.tree,nextUrl:i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let r=n(51294);function o(e,t,n){return(0,r.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let u=o.length<=2,[l,a]=o,i=(0,r.createRouterCacheKey)(a),c=n.parallelRoutes.get(l);if(!c)return;let s=t.parallelRoutes.get(l);if(s&&s!==c||(s=new Map(c),t.parallelRoutes.set(l,s)),u){s.delete(i);return}let f=c.get(i),d=s.get(i);d&&f&&(d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved},s.set(i,d)),e(d,f,o.slice(2)))}}});let r=n(81784);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74213:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let r=n(81784);function o(e,t,n){for(let o in n[1]){let u=n[1][o][0],l=(0,r.createRouterCacheKey)(u),a=t.parallelRoutes.get(o);if(a){let t=new Map(a);t.delete(l),e.parallelRoutes.set(o,t)}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10139:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,n){let r=t[0],o=n[0];if(Array.isArray(r)&&Array.isArray(o)){if(r[0]!==o[0]||r[2]!==o[2])return!0}else if(r!==o)return!0;if(t[4])return!n[4];if(n[4])return!0;let u=Object.values(t[1])[0],l=Object.values(n[1])[0];return!u||!l||e(u,l)}}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{abortTask:function(){return c},listenForDynamicRequest:function(){return a},updateCacheNodeOnNavigation:function(){return function e(t,n,a,c,s){let f=n[1],d=a[1],p=c[1],h=t.parallelRoutes,y=new Map(h),_={},v=null;for(let t in d){let n;let a=d[t],c=f[t],b=h.get(t),g=p[t],m=a[0],R=(0,u.createRouterCacheKey)(m),P=void 0!==c?c[0]:void 0,j=void 0!==b?b.get(R):void 0;if(null!==(n=m===r.PAGE_SEGMENT_KEY?l(a,void 0!==g?g:null,s):m===r.DEFAULT_SEGMENT_KEY?void 0!==c?{route:c,node:null,children:null}:l(a,void 0!==g?g:null,s):void 0!==P&&(0,o.matchSegment)(m,P)&&void 0!==j&&void 0!==c?null!=g?e(j,c,a,g,s):function(e){let t=i(e,null,null);return{route:e,node:t,children:null}}(a):l(a,void 0!==g?g:null,s))){null===v&&(v=new Map),v.set(t,n);let e=n.node;if(null!==e){let n=new Map(b);n.set(R,e),y.set(t,n)}_[t]=n.route}else _[t]=a}if(null===v)return null;let b={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:y,lazyDataResolved:!1};return{route:function(e,t){let n=[e[0],t];return 2 in e&&(n[2]=e[2]),3 in e&&(n[3]=e[3]),4 in e&&(n[4]=e[4]),n}(a,_),node:b,children:v}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,n){let r=n[1],o=t.parallelRoutes,l=new Map(o);for(let t in r){let n=r[t],a=n[0],i=(0,u.createRouterCacheKey)(a),c=o.get(t);if(void 0!==c){let r=c.get(i);if(void 0!==r){let o=e(r,n),u=new Map(c);u.set(i,o),l.set(t,u)}}}let a=t.rsc,i=d(a)&&"pending"===a.status;return{lazyData:null,rsc:a,head:t.head,prefetchHead:i?t.prefetchHead:null,prefetchRsc:i?t.prefetchRsc:null,loading:i?t.loading:null,parallelRoutes:l,lazyDataResolved:!1}}}});let r=n(8e4),o=n(16237),u=n(81784);function l(e,t,n){let r=i(e,t,n);return{route:e,node:r,children:null}}function a(e,t){t.then(t=>{for(let n of t[0]){let t=n.slice(0,-3),r=n[n.length-3],l=n[n.length-2],a=n[n.length-1];"string"!=typeof t&&function(e,t,n,r,l){let a=e;for(let e=0;e{c(e,t)})}function i(e,t,n){let r=e[1],o=null!==t?t[1]:null,l=new Map;for(let e in r){let t=r[e],a=null!==o?o[e]:null,c=t[0],s=(0,u.createRouterCacheKey)(c),f=i(t,void 0===a?null:a,n),d=new Map;d.set(s,f),l.set(e,d)}let a=0===l.size,c=null!==t?t[2]:null,s=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:l,prefetchRsc:void 0!==c?c:null,prefetchHead:a?n:null,loading:void 0!==s?s:null,rsc:p(),head:a?p():null,lazyDataResolved:!1}}function c(e,t){let n=e.node;if(null===n)return;let r=e.children;if(null===r)s(e.route,n,t);else for(let e of r.values())c(e,t);e.node=null}function s(e,t,n){let r=e[1],o=t.parallelRoutes;for(let e in r){let t=r[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&s(t,c,n)}let l=t.rsc;d(l)&&(null===n?l.resolve(null):l.reject(n));let a=t.head;d(a)&&a.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.status="pending",n.resolve=t=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,e(t))},n.reject=e=>{"pending"===n.status&&(n.status="rejected",n.reason=e,t(e))},n.tag=f,n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86004:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createPrefetchCacheEntryForInitialLoad:function(){return c},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return f}});let r=n(53174),o=n(41283),u=n(51507),l=n(59218);function a(e,t){let n=(0,r.createHrefFromUrl)(e,!1);return t?t+"%"+n:n}function i(e){let t,{url:n,nextUrl:r,tree:o,buildId:l,prefetchCache:i,kind:c}=e,f=a(n,r),d=i.get(f);if(d)t=d;else{let e=a(n),r=i.get(e);r&&(t=r)}return t?(t.status=h(t),t.kind!==u.PrefetchKind.FULL&&c===u.PrefetchKind.FULL)?s({tree:o,url:n,buildId:l,nextUrl:r,prefetchCache:i,kind:null!=c?c:u.PrefetchKind.TEMPORARY}):(c&&t.kind===u.PrefetchKind.TEMPORARY&&(t.kind=c),t):s({tree:o,url:n,buildId:l,nextUrl:r,prefetchCache:i,kind:c||u.PrefetchKind.TEMPORARY})}function c(e){let{nextUrl:t,tree:n,prefetchCache:r,url:o,kind:l,data:i}=e,[,,,c]=i,s=c?a(o,t):a(o),f={treeAtTimeOfPrefetch:n,data:Promise.resolve(i),kind:l,prefetchTime:Date.now(),lastUsedTime:Date.now(),key:s,status:u.PrefetchCacheEntryStatus.fresh};return r.set(s,f),f}function s(e){let{url:t,kind:n,tree:r,nextUrl:i,buildId:c,prefetchCache:s}=e,f=a(t),d=l.prefetchQueue.enqueue(()=>(0,o.fetchServerResponse)(t,r,i,c,n).then(e=>{let[,,,n]=e;return n&&function(e){let{url:t,nextUrl:n,prefetchCache:r}=e,o=a(t),u=r.get(o);if(!u)return;let l=a(t,n);r.set(l,u),r.delete(o)}({url:t,nextUrl:i,prefetchCache:s}),e})),p={treeAtTimeOfPrefetch:r,data:d,kind:n,prefetchTime:Date.now(),lastUsedTime:null,key:f,status:u.PrefetchCacheEntryStatus.fresh};return s.set(f,p),p}function f(e){for(let[t,n]of e)h(n)===u.PrefetchCacheEntryStatus.expired&&e.delete(t)}let d=1e3*Number("30"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:n,lastUsedTime:r}=e;return Date.now()<(null!=r?r:n)+d?r?u.PrefetchCacheEntryStatus.reusable:u.PrefetchCacheEntryStatus.fresh:"auto"===t&&Date.now(){let[n,f]=t,h=!1;if(S.lastUsedTime||(S.lastUsedTime=Date.now(),h=!0),"string"==typeof n)return _(e,R,n,O);if(document.getElementById("__next-page-redirect"))return _(e,R,j,O);let b=e.tree,g=e.cache,w=[];for(let t of n){let n=t.slice(0,-4),r=t.slice(-3)[0],c=["",...n],f=(0,u.applyRouterStatePatchToTree)(c,b,r,j);if(null===f&&(f=(0,u.applyRouterStatePatchToTree)(c,E,r,j)),null!==f){if((0,a.isNavigatingToNewRootLayout)(b,f))return _(e,R,j,O);let u=(0,d.createEmptyCacheNode)(),m=!1;for(let e of(S.status!==i.PrefetchCacheEntryStatus.stale||h?m=(0,s.applyFlightData)(g,u,t,S):(m=function(e,t,n,r){let o=!1;for(let u of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),v(r).map(e=>[...n,...e])))(0,y.clearCacheNodeDataForSegmentPath)(e,t,u),o=!0;return o}(u,g,n,r),S.lastUsedTime=Date.now()),(0,l.shouldHardNavigate)(c,b)?(u.rsc=g.rsc,u.prefetchRsc=g.prefetchRsc,(0,o.invalidateCacheBelowFlightSegmentPath)(u,g,n),R.cache=u):m&&(R.cache=u,g=u),b=f,v(r))){let t=[...n,...e];t[t.length-1]!==p.DEFAULT_SEGMENT_KEY&&w.push(t)}}}return R.patchedTree=b,R.canonicalUrl=f?(0,r.createHrefFromUrl)(f):j,R.pendingPush=O,R.scrollableSegments=w,R.hashFragment=P,R.shouldScroll=m,(0,c.handleMutable)(e,R)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{prefetchQueue:function(){return l},prefetchReducer:function(){return a}});let r=n(77325),o=n(43858),u=n(86004),l=new o.PromiseQueue(5);function a(e,t){(0,u.prunePrefetchCache)(e.prefetchCache);let{url:n}=t;return n.searchParams.delete(r.NEXT_RSC_UNION_QUERY),(0,u.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let r=n(41283),o=n(53174),u=n(69684),l=n(10139),a=n(51294),i=n(36416),c=n(13821),s=n(95751),f=n(40774),d=n(35914),p=n(74922);function h(e,t){let{origin:n}=t,h={},y=e.canonicalUrl,_=e.tree;h.preserveCustomHistoryState=!1;let v=(0,s.createEmptyCacheNode)(),b=(0,d.hasInterceptionRouteInCurrentTree)(e.tree);return v.lazyData=(0,r.fetchServerResponse)(new URL(y,n),[_[0],_[1],_[2],"refetch"],b?e.nextUrl:null,e.buildId),v.lazyData.then(async n=>{let[r,s]=n;if("string"==typeof r)return(0,a.handleExternalUrl)(e,h,r,e.pushRef.pendingPush);for(let n of(v.lazyData=null,r)){if(3!==n.length)return console.log("REFRESH FAILED"),e;let[r]=n,i=(0,u.applyRouterStatePatchToTree)([""],_,r,e.canonicalUrl);if(null===i)return(0,f.handleSegmentMismatch)(e,t,r);if((0,l.isNavigatingToNewRootLayout)(_,i))return(0,a.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let d=s?(0,o.createHrefFromUrl)(s):void 0;s&&(h.canonicalUrl=d);let[g,m]=n.slice(-2);if(null!==g){let e=g[2];v.rsc=e,v.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(v,void 0,r,g,m),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:i,updatedCache:v,includeNextUrl:b,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=v,h.patchedTree=i,h.canonicalUrl=y,_=i}return(0,i.handleMutable)(e,h)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let r=n(53174),o=n(96626);function u(e,t){var n;let{url:u,tree:l}=t,a=(0,r.createHrefFromUrl)(u),i=l||e.tree,c=e.cache;return{buildId:e.buildId,canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:c,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(n=(0,o.extractPathFromFlightRouterState)(i))?n:u.pathname}}n(93060),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return g}});let r=n(74590),o=n(77325),u=n(4897),l=n(53174),a=n(51294),i=n(69684),c=n(10139),s=n(36416),f=n(13821),d=n(95751),p=n(35914),h=n(40774),y=n(74922),{createFromFetch:_,encodeReply:v}=n(6671);async function b(e,t,n){let l,{actionId:a,actionArgs:i}=n,c=await v(i),s=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:a,[o.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...t?{[o.NEXT_URL]:t}:{}},body:c}),f=s.headers.get("x-action-redirect");try{let e=JSON.parse(s.headers.get("x-action-revalidated")||"[[],0,0]");l={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){l={paths:[],tag:!1,cookie:!1}}let d=f?new URL((0,u.addBasePath)(f),new URL(e.canonicalUrl,window.location.href)):void 0;if(s.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await _(Promise.resolve(s),{callServer:r.callServer});if(f){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:d,revalidatedParts:l}}let[t,[,n]]=null!=e?e:[];return{actionResult:t,actionFlightData:n,redirectLocation:d,revalidatedParts:l}}return{redirectLocation:d,revalidatedParts:l}}function g(e,t){let{resolve:n,reject:r}=t,o={},u=e.canonicalUrl,_=e.tree;o.preserveCustomHistoryState=!1;let v=e.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return o.inFlightServerAction=b(e,v,t),o.inFlightServerAction.then(async r=>{let{actionResult:p,actionFlightData:b,redirectLocation:g}=r;if(g&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!b)return(n(p),g)?(0,a.handleExternalUrl)(e,o,g.href,e.pushRef.pendingPush):e;if("string"==typeof b)return(0,a.handleExternalUrl)(e,o,b,e.pushRef.pendingPush);if(o.inFlightServerAction=null,g){let e=(0,l.createHrefFromUrl)(g,!1);o.canonicalUrl=e}for(let n of b){if(3!==n.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[r]=n,s=(0,i.applyRouterStatePatchToTree)([""],_,r,g?(0,l.createHrefFromUrl)(g):e.canonicalUrl);if(null===s)return(0,h.handleSegmentMismatch)(e,t,r);if((0,c.isNavigatingToNewRootLayout)(_,s))return(0,a.handleExternalUrl)(e,o,u,e.pushRef.pendingPush);let[p,b]=n.slice(-2),m=null!==p?p[2]:null;if(null!==m){let t=(0,d.createEmptyCacheNode)();t.rsc=m,t.prefetchRsc=null,(0,f.fillLazyItemsTillLeafWithHead)(t,void 0,r,p,b),await (0,y.refreshInactiveParallelSegments)({state:e,updatedTree:s,updatedCache:t,includeNextUrl:!!v,canonicalUrl:o.canonicalUrl||e.canonicalUrl}),o.cache=t,o.prefetchCache=new Map}o.patchedTree=s,_=s}return n(p),(0,s.handleMutable)(e,o)},t=>(r(t),e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let r=n(53174),o=n(69684),u=n(10139),l=n(51294),a=n(39607),i=n(36416),c=n(95751),s=n(40774);function f(e,t){let{serverResponse:n}=t,[f,d]=n,p={};if(p.preserveCustomHistoryState=!1,"string"==typeof f)return(0,l.handleExternalUrl)(e,p,f,e.pushRef.pendingPush);let h=e.tree,y=e.cache;for(let n of f){let i=n.slice(0,-4),[f]=n.slice(-3,-2),_=(0,o.applyRouterStatePatchToTree)(["",...i],h,f,e.canonicalUrl);if(null===_)return(0,s.handleSegmentMismatch)(e,t,f);if((0,u.isNavigatingToNewRootLayout)(h,_))return(0,l.handleExternalUrl)(e,p,e.canonicalUrl,e.pushRef.pendingPush);let v=d?(0,r.createHrefFromUrl)(d):void 0;v&&(p.canonicalUrl=v);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(y,b,n),p.patchedTree=_,p.cache=b,y=b,h=_}return(0,i.handleMutable)(e,p)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74922:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,n){let[r,o,,l]=t;for(let a in r.includes(u.PAGE_SEGMENT_KEY)&&"refresh"!==l&&(t[2]=n,t[3]="refresh"),o)e(o[a],n)}},refreshInactiveParallelSegments:function(){return l}});let r=n(39607),o=n(41283),u=n(8e4);async function l(e){let t=new Set;await a({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function a(e){let{state:t,updatedTree:n,updatedCache:u,includeNextUrl:l,fetchedSegments:i,rootTree:c=n,canonicalUrl:s}=e,[,f,d,p]=n,h=[];if(d&&d!==s&&"refresh"===p&&!i.has(d)){i.add(d);let e=(0,o.fetchServerResponse)(new URL(d,location.origin),[c[0],c[1],c[2],"refetch"],l?t.nextUrl:null,t.buildId).then(e=>{let t=e[0];if("string"!=typeof t)for(let e of t)(0,r.applyFlightData)(u,u,e)});h.push(e)}for(let e in f){let n=a({state:t,updatedTree:f[e],updatedCache:u,includeNextUrl:l,fetchedSegments:i,rootTree:c,canonicalUrl:s});h.push(n)}await Promise.all(h)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51507:function(e,t){"use strict";var n,r,o,u;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return s},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let l="refresh",a="navigate",i="restore",c="server-patch",s="prefetch",f="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(u=r||(r={})).fresh="fresh",u.reusable="reusable",u.expired="expired",u.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80643:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let r=n(51507),o=n(51294),u=n(98289),l=n(6131),a=n(75239),i=n(59218),c=n(51129),s=n(64549),f="undefined"==typeof window?function(e,t){return e}:function(e,t){switch(t.type){case r.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case r.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case r.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case r.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case r.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case r.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case r.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54740:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,n){let[o,u]=n,[l,a]=t;return(0,r.matchSegment)(l,o)?!(t.length<=2)&&e(t.slice(2),u[a]):!!Array.isArray(l)}}});let r=n(16237);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createDynamicallyTrackedSearchParams:function(){return a},createUntrackedSearchParams:function(){return l}});let r=n(44936),o=n(62441),u=n(67991);function l(e){let t=r.staticGenerationAsyncStorage.getStore();return t&&t.forceStatic?{}:e}function a(e){let t=r.staticGenerationAsyncStorage.getStore();return t?t.forceStatic?{}:t.isStaticGeneration||t.dynamicShouldError?new Proxy({},{get:(e,n,r)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),u.ReflectAdapter.get(e,n,r)),has:(e,n)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),Reflect.has(e,n)),ownKeys:e=>((0,o.trackDynamicDataAccessed)(t,"searchParams"),Reflect.ownKeys(e))}):e:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44936:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r.staticGenerationAsyncStorage}});let r=n(77685);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85108:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{StaticGenBailoutError:function(){return r},isStaticGenBailoutError:function(){return o}});let n="NEXT_STATIC_GEN_BAILOUT";class r extends Error{constructor(...e){super(...e),this.code=n}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91108:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{useReducerWithReduxDevtools:function(){return i},useUnwrapState:function(){return a}});let r=n(41452)._(n(2265)),o=n(51507),u=n(21427);function l(e){if(e instanceof Map){let t={};for(let[n,r]of e.entries()){if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r._bundlerConfig){t[n]="FlightData";continue}}t[n]=l(r)}return t}if("object"==typeof e&&null!==e){let t={};for(let n in e){let r=e[n];if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r.hasOwnProperty("_bundlerConfig")){t[n]="FlightData";continue}}t[n]=l(r)}return t}return Array.isArray(e)?e.map(l):e}function a(e){return(0,o.isThenable)(e)?(0,r.use)(e):e}let i="undefined"!=typeof window?function(e){let[t,n]=r.default.useState(e),o=(0,r.useContext)(u.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let a=(0,r.useRef)(),i=(0,r.useRef)();return(0,r.useEffect)(()=>{if(!a.current&&!1!==i.current){if(void 0===i.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){i.current=!1;return}return a.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),a.current&&(a.current.init(l(e)),o&&(o.devToolsInstance=a.current)),()=>{a.current=void 0}}},[e,o]),[t,(0,r.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,n)},[o,e]),(0,r.useCallback)(e=>{a.current&&a.current.send({type:"RENDER_SYNC"},l(e))},[])]}:function(e){return[e,()=>{},()=>{}]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let r=n(55121);function o(e){return(0,r.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let r=n(67741),o=n(31465),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:n,hash:u}=(0,o.parsePath)(e);return""+(0,r.removeTrailingSlash)(t)+n+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(55592);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,r.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97599:function(e,t,n){"use strict";function r(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return r}}),n(49404),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99176:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0>>1,o=e[r];if(0>>1;ru(i,n))cu(s,i)?(e[r]=s,e[c]=n,r=c):(e[r]=i,e[a]=n,r=a);else if(cu(s,n))e[r]=s,e[c]=n,r=c;else break}}return t}function u(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function R(e){for(var t=r(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,n(s,t);else break;t=r(f)}}function P(e){if(v=!1,R(e),!_){if(null!==r(s))_=!0,x();else{var t=r(f);null!==t&&A(P,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var j=!1,O=-1,S=5,E=-1;function w(){return!(t.unstable_now()-Ee&&w());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,R(e),n=!0;break t}p===r(s)&&o(s),R(e)}else o(s);p=r(s)}if(null!==p)n=!0;else{var c=r(f);null!==c&&A(P,c.startTime-e),n=!1}}break e}finally{p=null,h=u,y=!1}n=void 0}}finally{n?l():j=!1}}}if("function"==typeof m)l=function(){m(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,C=M.port2;M.port1.onmessage=T,l=function(){C.postMessage(null)}}else l=function(){b(T,0)};function x(){j||(j=!0,l())}function A(e,n){O=b(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||y||(_=!0,x())},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=u,n(f,e),null===r(s)&&e===r(f)&&(v?(g(O),O=-1):v=!0,A(P,u-l))):(e.sortIndex=a,n(s,e),_||y||(_=!0,x())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},85689:function(e,t,n){"use strict";e.exports=n(99176)},11358:function(e,t){"use strict";function n(e){return new URL(e,"http://n").pathname}function r(e){return/https?:\/\//.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getPathname:function(){return n},isFullStringUrl:function(){return r}})},62441:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Postpone:function(){return d},createPostponedAbortSignal:function(){return b},createPrerenderState:function(){return c},formatDynamicAPIAccesses:function(){return _},markCurrentScopeAsDynamic:function(){return s},trackDynamicDataAccessed:function(){return f},trackDynamicFetch:function(){return p},usedDynamicAPIs:function(){return y}});let o=(r=n(2265))&&r.__esModule?r:{default:r},u=n(57910),l=n(85108),a=n(11358),i="function"==typeof o.default.unstable_postpone;function c(e){return{isDebugSkeleton:e,dynamicAccesses:[]}}function s(e,t){let n=(0,a.getPathname)(e.urlPathname);if(!e.isUnstableCacheCallback){if(e.dynamicShouldError)throw new l.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new u.DynamicServerError(`Route ${n} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}}function f(e,t){let n=(0,a.getPathname)(e.urlPathname);if(e.isUnstableCacheCallback)throw Error(`Route ${n} used "${t}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${t}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(e.dynamicShouldError)throw new l.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new u.DynamicServerError(`Route ${n} couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}function d({reason:e,prerenderState:t,pathname:n}){h(t,e,n)}function p(e,t){e.prerenderState&&h(e.prerenderState,t,e.urlPathname)}function h(e,t,n){v();let r=`Route ${n} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;e.dynamicAccesses.push({stack:e.isDebugSkeleton?Error().stack:void 0,expression:t}),o.default.unstable_postpone(r)}function y(e){return e.dynamicAccesses.length>0}function _(e){return e.dynamicAccesses.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: +${t}`))}function v(){if(!i)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function b(e){v();let t=new AbortController;try{o.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}},24286:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let r=n(82269);function o(e){let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?"catchall-intercepted":"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?"dynamic-intercepted":"dynamic",param:e.slice(1,-1)}:null}},63243:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return n}}),(r=n||(n={})).ADDED_PAGE="addedPage",r.REMOVED_PAGE="removedPage",r.RELOAD_PAGE="reloadPage",r.SERVER_COMPONENT_CHANGES="serverComponentChanges",r.MIDDLEWARE_CHANGES="middlewareChanges",r.CLIENT_CHANGES="clientChanges",r.SERVER_ONLY_CHANGES="serverOnlyChanges",r.SYNC="sync",r.BUILT="built",r.BUILDING="building",r.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",r.TURBOPACK_MESSAGE="turbopack-message",r.SERVER_ERROR="serverError",r.TURBOPACK_CONNECTED="turbopack-connected"},82269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return l},isInterceptionRouteAppPath:function(){return u}});let r=n(3330),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,n,u;for(let r of e.split("/"))if(n=o.find(e=>r.startsWith(e))){[t,u]=e.split(n,2);break}if(!t||!n||!u)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":u="/"===t?`/${u}`:t+"/"+u;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);u=l.slice(0,-2).concat(u).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:u}}},67991:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,n){let r=Reflect.get(e,t,n);return"function"==typeof r?r.bind(e):r}static set(e,t,n,r){return Reflect.set(e,t,n,r)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},44467:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return u},MissingSlotContext:function(){return i},TemplateContext:function(){return a}});let r=n(99920)._(n(2265)),o=r.default.createContext(null),u=r.default.createContext(null),l=r.default.createContext(null),a=r.default.createContext(null),i=r.default.createContext(new Set)},54736:function(e,t){"use strict";function n(e){let t=5381;for(let n=0;n>>0}function r(e){return n(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{djb2Hash:function(){return n},hexHash:function(){return r}})},36590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=n(99920)._(n(2265)).default.createContext({})},68056:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PathParamsContext:function(){return l},PathnameContext:function(){return u},SearchParamsContext:function(){return o}});let r=n(2265),o=(0,r.createContext)(null),u=(0,r.createContext)(null),l=(0,r.createContext)(null)},55592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{BailoutToCSRError:function(){return r},isBailoutToCSRError:function(){return o}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class r extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}},78558:function(e,t){"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},21427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ActionQueueContext:function(){return a},createMutableActionQueue:function(){return s}});let r=n(41452),o=n(51507),u=n(80643),l=r._(n(2265)),a=l.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?c({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},t)))}async function c(e){let{actionQueue:t,action:n,setState:r}=e,u=t.state;if(!u)throw Error("Invariant: Router state not initialized");t.pending=n;let l=n.payload,a=t.action(u,l);function c(e){n.discarded||(t.state=e,t.devToolsInstance&&t.devToolsInstance.send(l,e),i(t,r),n.resolve(e))}(0,o.isThenable)(a)?a.then(c,e=>{i(t,r),n.reject(e)}):c(a)}function s(){let e={state:null,dispatch:(t,n)=>(function(e,t,n){let r={resolve:n,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{r={resolve:e,reject:t}});(0,l.startTransition)(()=>{n(e)})}let u={payload:t,next:null,resolve:r.resolve,reject:r.reject};null===e.pending?(e.last=u,c({actionQueue:e,action:u,setState:n})):t.type===o.ACTION_NAVIGATE||t.type===o.ACTION_RESTORE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:u,setState:n})):(null!==e.last&&(e.last.next=u),e.last=u)})(e,t,n),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,u.reducer)(e,t)},pending:null,last:null};return e}},22707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let r=n(31465);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:o,hash:u}=(0,r.parsePath)(e);return""+t+n+o+u}},3330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let r=n(78558),o=n(8e4);function u(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce((e,t,n,r)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&n===r.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},86180:function(e,t){"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let n=document.documentElement,r=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},74092:function(e,t){"use strict";function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},31465:function(e,t){"use strict";function n(e){let t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return n}})},55121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let r=n(31465);function o(e,t){if("string"!=typeof e)return!1;let{pathname:n}=(0,r.parsePath)(e);return n===t||n.startsWith(t+"/")}},67741:function(e,t){"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},8e4:function(e,t){"use strict";function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return r},isGroupSegment:function(){return n}});let r="__PAGE__",o="__DEFAULT__"},8005:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let r=n(41452)._(n(2265)),o=r.default.createContext(null);function u(e){let t=(0,r.useContext)(o);t&&t(e)}},72301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},8293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(66713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66713:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let o=globalThis.AsyncLocalStorage;function u(){return o?new o:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(66713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77685:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(66713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34040:function(e,t,n){"use strict";var r=n(54887);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},54887:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(84417)},97950:function(e,t,n){"use strict";var r=n(54887),o={stream:!0},u=new Map;function l(e){var t=n(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function a(){}var i=new Map,c=n.u;n.u=function(e){var t=i.get(e);return void 0!==t?t:c(e)};var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,f=Symbol.for("react.element"),d=Symbol.for("react.lazy"),p=Symbol.iterator,h=Array.isArray,y=Object.getPrototypeOf,_=Object.prototype,v=new WeakMap;function b(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function g(e){switch(e.status){case"resolved_model":E(e);break;case"resolved_module":w(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function m(e,t){for(var n=0;nh?(_=h,h=3,p++):(_=0,h=3);continue;case 2:44===(m=d[p++])?h=4:v=v<<4|(96d.length&&(m=-1)}var O=d.byteOffset+p;if(-11?t-1:0),r=1;ri?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let P=i.default.forwardRef(function(e,t){let n,r;let{href:u,as:y,children:P,prefetch:v=null,passHref:R,replace:O,shallow:j,scroll:E,locale:S,onClick:w,onMouseEnter:x,onTouchStart:M,legacyBehavior:N=!1,...C}=e;n=P,N&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let k=i.default.useContext(f.RouterContext),I=i.default.useContext(d.AppRouterContext),T=null!=k?k:I,L=!k,U=!1!==v,A=null===v?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:W,as:D}=i.default.useMemo(()=>{if(!k){let e=_(u);return{href:e,as:y?_(y):e}}let[e,t]=(0,a.resolveHref)(k,u,!0);return{href:e,as:y?(0,a.resolveHref)(k,y):t||e}},[k,u,y]),z=i.default.useRef(W),K=i.default.useRef(D);N&&(r=i.default.Children.only(n));let q=N?r&&"object"==typeof r&&r.ref:t,[F,$,B]=(0,p.useIntersection)({rootMargin:"200px"}),Y=i.default.useCallback(e=>{(K.current!==D||z.current!==W)&&(B(),K.current=D,z.current=W),F(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[D,q,W,B,F]);i.default.useEffect(()=>{T&&$&&U&&b(T,W,D,{locale:S},{kind:A},L)},[D,W,$,S,U,null==k?void 0:k.locale,T,L,A]);let Q={ref:Y,onClick(e){N||"function"!=typeof w||w(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),T&&!e.defaultPrevented&&function(e,t,n,r,o,a,u,s,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,l.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==u||u;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?i.default.startTransition(d):d()}(e,T,W,D,O,j,E,S,L)},onMouseEnter(e){N||"function"!=typeof x||x(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),T&&(U||!L)&&b(T,W,D,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:A},L)},onTouchStart:function(e){N||"function"!=typeof M||M(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),T&&(U||!L)&&b(T,W,D,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:A},L)}};if((0,s.isAbsoluteUrl)(D))Q.href=D;else if(!N||R||"a"===r.type&&!("href"in r.props)){let e=void 0!==S?S:null==k?void 0:k.locale,t=(null==k?void 0:k.isLocaleDomain)&&(0,h.getDomainLocale)(D,e,null==k?void 0:k.locales,null==k?void 0:k.domainLocales);Q.href=t||(0,m.addBasePath)((0,c.addLocale)(D,e,null==k?void 0:k.defaultLocale))}return N?i.default.cloneElement(r,Q):(0,o.jsx)("a",{...C,...Q,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49189:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98016:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let r=n(18323),o=n(41142),i=n(45519),a=n(43461),l=n(18157),u=n(18029),s=n(59195),c=n(80020);function f(e,t,n){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:a,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,n);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(n,l)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[a,t||a]:a}catch(e){return n?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53106:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let r=n(2265),o=n(49189),i="function"==typeof IntersectionObserver,a=new Map,l=[];function u(e){let{rootRef:t,rootMargin:n,disabled:u}=e,s=u||!i,[c,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(s||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[s,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81943:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},60291:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(99920)._(n(2265)).default.createContext(null)},41142:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return l},urlObjectKeys:function(){return a}});let r=n(41452)._(n(18323)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",a=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:n&&(s=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(r.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==s?(s="//"+(s||""),a&&"/"!==a[0]&&(a="/"+a)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+i+s+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return i(e)}},59195:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let r=n(49089),o=n(28083)},80020:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=n(41533),o=n(63169);function i(e,t,n){let i="",a=(0,o.getRouteRegex)(e),l=a.groups,u=(t!==e?(0,r.getRouteMatcher)(a)(t):"")||n;i=e;let s=Object.keys(l);return s.every(e=>{let t=u[e]||"",{repeat:n,optional:r}=l[e],o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in u)&&(i=i.replace(o,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:s,result:i}}},28083:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let r=n(82269),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},18029:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(43461),o=n(49404);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},45519:function(e,t){function n(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},18323:function(e,t){function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,r(e))):t.set(n,r(o))}),t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},41533:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=n(43461);function o(e){let{re:t,groups:n}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach(e=>{let t=n[e],r=o[t.pos];void 0!==r&&(a[e]=~r.indexOf("/")?r.split("/").map(e=>i(e)):t.repeat?[i(r)]:i(r))}),a}}},63169:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getNamedMiddlewareRegex:function(){return d},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return u}});let r=n(82269),o=n(81943),i=n(67741);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function l(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={},l=1;return{parameterizedRoute:t.map(e=>{let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:r,repeat:u}=a(i[1]);return n[e]={pos:l++,repeat:u,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:r}=a(i[1]);return n[e]={pos:l++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function u(e){let{parameterizedRoute:t,groups:n}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function s(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:r,routeKeys:i,keyPrefix:l}=e,{key:u,optional:s,repeat:c}=a(r),f=u.replace(/\W/g,"");l&&(f=""+l+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=n()),l?i[f]=""+l+u:i[f]=u;let p=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let n;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:a.map(e=>{let n=r.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&i){let[n]=e.split(i[0]);return s({getSafeRouteKey:l,interceptionMarker:n,segment:i[1],routeKeys:u,keyPrefix:t?"nxtI":void 0})}return i?s({getSafeRouteKey:l,segment:i[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function f(e,t){let n=c(e,t);return{...u(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function d(e,t){let{parameterizedRoute:n}=l(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},49089:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),a=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),a=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function i(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},43461:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return u},getLocationOrigin:function(){return a},getURL:function(){return l},isAbsoluteUrl:function(){return i},isResSent:function(){return s},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return _}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;io.test(e);function a(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&s(n))return r;if(!r)throw Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}}}]); \ No newline at end of file diff --git a/static/chunks/375.09bdbc2183e34089.js b/static/chunks/375.09bdbc2183e34089.js new file mode 100644 index 0000000000000000000000000000000000000000..c9e4a7496d69365d1e3bdfca9958012b53445e0d --- /dev/null +++ b/static/chunks/375.09bdbc2183e34089.js @@ -0,0 +1,17 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[375],{73128:function(n,r,T){"use strict";let e=T(87503),t=T(21556),E=T(15473),A=T(49249),i=T(21720),a=T(36602),D=T(19327),o=T(69379);function S(n,r){return new e(n,r).document}S.XmlCdata=t,S.XmlComment=E,S.XmlDocument=A,S.XmlElement=i,S.XmlNode=a,S.XmlProcessingInstruction=D,S.XmlText=o,n.exports=S},87503:function(n,r,T){"use strict";let e=T(69068),t=T(38073),E=T(21556),A=T(15473),i=T(49249),a=T(21720),D=T(19327),o=T(69379);class S{constructor(n,r={}){var T;for(this.document=new i,this.currentNode=this.document,this.options=r,this.scanner=new e(("\uFEFF"===(T=n)[0]&&(T=T.slice(1)),T.replace(/\r\n?/g,"\n"))),this.consumeProlog(),this.consumeElement()||this.error("Root element is missing or invalid");this.consumeMisc(););this.scanner.isEnd||this.error("Extra content at the end of the document")}addNode(n){n.parent=this.currentNode,this.currentNode.children.push(n)}addText(n){let{children:r}=this.currentNode;if(r.length>0){let T=r[r.length-1];if(T instanceof o){T.text+=n;return}}this.addNode(new o(n))}consumeAttributeValue(){let n,{scanner:r}=this,T=r.peek();if('"'!==T&&"'"!==T)return!1;r.advance();let e=!1,t="",E='"'===T?/[^"&<]+/y:/[^'&<]+/y;n:for(;!r.isEnd;)switch((n=r.consumeMatch(E))&&(this.validateChars(n),t+=n.replace(/[\t\r\n]/g," ")),r.peek()){case T:e=!0;break n;case"&":t+=this.consumeReference();continue;case"<":this.error("Unescaped `<` is not allowed in an attribute value");break;case"":this.error("Unclosed attribute")}return e||this.error("Unclosed attribute"),r.advance(),t}consumeCdataSection(){let{scanner:n}=this;if(!n.consumeStringFast("");return this.validateChars(r),n.consumeStringFast("]]>")||this.error("Unclosed CDATA section"),this.options.preserveCdata?this.addNode(new E(r)):this.addText(r),!0}consumeCharData(){let{scanner:n}=this,r=n.consumeUntilMatch(/<|&|]]>/g);return!!r&&(this.validateChars(r),"]"===n.peek()&&"]]>"===n.peek(3)&&this.error("Element content may not contain the CDATA section close delimiter `]]>`"),this.addText(r),!0)}consumeComment(){let{scanner:n}=this;if(!n.consumeStringFast("")||("--"===n.peek(2)?this.error("The string `--` isn't allowed inside a comment"):this.error("Unclosed comment")),this.options.preserveComments&&this.addNode(new A(r.trim())),!0}consumeContentReference(){let n=this.consumeReference();return!!n&&(this.addText(n),!0)}consumeDoctypeDeclaration(){let{scanner:n}=this;return!!(n.consumeStringFast("]+/y),!!n.consumeMatch(/\[[\s\S]+?\][\x20\t\r\n]*>/y)||(n.consumeStringFast(">")||this.error("Unclosed doctype declaration"),!0))}consumeElement(){let{scanner:n}=this,r=n.charIndex;if("<"!==n.peek())return!1;n.advance();let T=this.consumeName();if(!T)return n.reset(r),!1;let e=Object.create(null);for(;this.consumeWhitespace();){let n=this.consumeName();if(!n)continue;let r=this.consumeEqual()&&this.consumeAttributeValue();!1===r&&this.error("Attribute value expected"),n in e&&this.error(`Duplicate attribute: ${n}`),"xml:space"===n&&"default"!==r&&"preserve"!==r&&this.error('Value of the `xml:space` attribute must be "default" or "preserve"'),e[n]=r}if(this.options.sortAttributes){let n=Object.keys(e).sort(),r=Object.create(null);for(let T=0;T"),E=new a(T,e);if(E.parent=this.currentNode,!t){let r;for(n.consumeStringFast(">")||this.error(`Unclosed start tag for element \`${T}\``),this.currentNode=E,this.consumeCharData();this.consumeElement()||this.consumeContentReference()||this.consumeCdataSection()||this.consumeProcessingInstruction()||this.consumeComment();)this.consumeCharData();let e=n.charIndex;n.consumeStringFast("")||this.error(`Unclosed end tag for element ${T}`),this.currentNode=E.parent}return this.addNode(E),!0}consumeEqual(){return this.consumeWhitespace(),!!this.scanner.consumeStringFast("=")&&(this.consumeWhitespace(),!0)}consumeMisc(){return this.consumeComment()||this.consumeProcessingInstruction()||this.consumeWhitespace()}consumeName(){return t.isNameStartChar(this.scanner.peek())?this.scanner.consumeMatchFn(t.isNameChar):""}consumeProcessingInstruction(){let{scanner:n}=this,r=n.charIndex;if(!n.consumeStringFast(""))return this.addNode(new D(T)),!0;this.error("Whitespace is required after a processing instruction name")}let e=n.consumeUntilString("?>");return this.validateChars(e),n.consumeStringFast("?>")||this.error("Unterminated processing instruction"),this.addNode(new D(T,e)),!0}consumeProlog(){let{scanner:n}=this,r=n.charIndex;for(this.consumeXmlDeclaration();this.consumeMisc(););if(this.consumeDoctypeDeclaration())for(;this.consumeMisc(););return r")||this.error("Invalid or unclosed XML declaration"),!0}error(n){let{charIndex:r,string:T}=this.scanner,e=1,t="",E=1;for(let n=0;n50&&(e<40?t=t.slice(0,50):(i=e-20,t=t.slice(i,e+30)));let a=Error(`${n} (line ${E}, column ${e}) + ${t} +`+" ".repeat(e-i+1)+"^\n");throw Object.assign(a,{column:e,excerpt:t,line:E,pos:r}),a}validateChars(n){let r=0;for(let T of n)t.isNotXmlChar(T)&&(this.scanner.reset(-([...n].length-r)),this.error("Invalid character")),r+=1}}n.exports=S},69068:function(n){"use strict";class r{constructor(n){this.chars=[...n],this.charCount=this.chars.length,this.charIndex=0,this.charsToBytes=Array(this.charCount),this.multiByteMode=!1,this.string=n;let{chars:r,charCount:T,charsToBytes:e}=this;if(T===n.length)for(let n=0;n=this.charCount}_charLength(n){let{length:r}=n;return r<2||!this.multiByteMode?r:n.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length}advance(n=1){this.charIndex=Math.min(this.charCount,this.charIndex+n)}consume(n=1){let r=this.peek(n);return this.advance(n),r}consumeMatch(n){if(!n.sticky)throw Error('`regex` must have a sticky flag ("y")');n.lastIndex=this.charsToBytes[this.charIndex];let r=n.exec(this.string);if(null===r)return"";let T=r[0];return this.advance(this._charLength(T)),T}consumeMatchFn(n){let r=this.charIndex;for(;!this.isEnd&&n(this.peek());)this.advance();return this.charIndex>r?this.string.slice(this.charsToBytes[r],this.charsToBytes[this.charIndex]):""}consumeString(n){if(this.consumeStringFast(n))return n;if(!this.multiByteMode)return"";let{length:r}=n,T=this._charLength(n);return T!==r&&n===this.peek(T)?(this.advance(T),n):""}consumeStringFast(n){if(this.peek()===n[0]){let{length:r}=n;if(1===r)return this.advance(),n;if(this.peek(r)===n)return this.advance(r),n}return""}consumeUntilMatch(n){if(!n.global)throw Error('`regex` must have a global flag ("g")');let r=this.charsToBytes[this.charIndex];n.lastIndex=r;let T=n.exec(this.string);if(null===T||T.index===r)return"";let e=this.string.slice(r,T.index);return this.advance(this._charLength(e)),e}consumeUntilString(n){let{charIndex:r,charsToBytes:T,string:e}=this,t=T[r],E=e.indexOf(n,t);if(E<=0)return"";let A=e.slice(t,E);return this.advance(this._charLength(A)),A}peek(n=1){if(this.charIndex>=this.charCount)return"";if(1===n)return this.chars[this.charIndex];let{charsToBytes:r,charIndex:T}=this;return this.string.slice(r[T],r[T+n])}reset(n=0){this.charIndex=n>=0?Math.min(this.charCount,n):Math.max(0,this.charIndex+n)}}n.exports=r},21556:function(n,r,T){"use strict";let e=T(36602),t=T(69379);class E extends t{get type(){return e.TYPE_CDATA}}n.exports=E},15473:function(n,r,T){"use strict";let e=T(36602);class t extends e{constructor(n=""){super(),this.content=n}get type(){return e.TYPE_COMMENT}toJSON(){return Object.assign(e.prototype.toJSON.call(this),{content:this.content})}}n.exports=t},49249:function(n,r,T){"use strict";let e=T(21720),t=T(36602);class E extends t{constructor(n=[]){super(),this.children=n}get document(){return this}get root(){return this.children.find(n=>n instanceof e)||null}get text(){return this.children.map(n=>"text"in n?n.text:"").join("")}get type(){return t.TYPE_DOCUMENT}toJSON(){return Object.assign(t.prototype.toJSON.call(this),{children:this.children.map(n=>n.toJSON())})}}n.exports=E},21720:function(n,r,T){"use strict";let e=T(36602);class t extends e{constructor(n,r=Object.create(null),T=[]){super(),this.name=n,this.attributes=r,this.children=T}get isEmpty(){return 0===this.children.length}get preserveWhitespace(){let n=this;for(;n instanceof t;){if("xml:space"in n.attributes)return"preserve"===n.attributes["xml:space"];n=n.parent}return!1}get text(){return this.children.map(n=>"text"in n?n.text:"").join("")}get type(){return e.TYPE_ELEMENT}toJSON(){return Object.assign(e.prototype.toJSON.call(this),{name:this.name,attributes:this.attributes,children:this.children.map(n=>n.toJSON())})}}n.exports=t},36602:function(n){"use strict";class r{constructor(){this.parent=null}get document(){return this.parent?this.parent.document:null}get isRootNode(){return!!this.parent&&this.parent===this.document}get preserveWhitespace(){return!!(this.parent&&this.parent.preserveWhitespace)}get type(){return""}toJSON(){let n={type:this.type};return this.isRootNode&&(n.isRootNode=!0),this.preserveWhitespace&&(n.preserveWhitespace=!0),n}}r.TYPE_CDATA="cdata",r.TYPE_COMMENT="comment",r.TYPE_DOCUMENT="document",r.TYPE_ELEMENT="element",r.TYPE_PROCESSING_INSTRUCTION="pi",r.TYPE_TEXT="text",n.exports=r},19327:function(n,r,T){"use strict";let e=T(36602);class t extends e{constructor(n,r=""){super(),this.name=n,this.content=r}get type(){return e.TYPE_PROCESSING_INSTRUCTION}toJSON(){return Object.assign(e.prototype.toJSON.call(this),{name:this.name,content:this.content})}}n.exports=t},69379:function(n,r,T){"use strict";let e=T(36602);class t extends e{constructor(n=""){super(),this.text=n}get type(){return e.TYPE_TEXT}toJSON(){return Object.assign(e.prototype.toJSON.call(this),{text:this.text})}}n.exports=t},38073:function(n,r){"use strict";let T=Object.freeze(Object.assign(Object.create(null),{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}));function e(n){if(t(n))return!0;let r=A(n);return 45===r||46===r||r>=48&&r<=57||183===r||r>=768&&r<=879||r>=8255&&r<=8256}function t(n){let r=A(n);return 58===r||95===r||r>=65&&r<=90||r>=97&&r<=122||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=767||r>=880&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}function E(n){let r=A(n);return 9===r||10===r||13===r||r>=32&&r<=55295||r>=57344&&r<=65533||r>=65536&&r<=1114111}function A(n){return n.codePointAt(0)||-1}r.predefinedEntities=T,r.isNameChar=e,r.isNameStartChar=t,r.isNotXmlChar=function(n){return!E(n)},r.isReferenceChar=function(n){return"#"===n||e(n)},r.isWhitespace=function(n){let r=A(n);return 32===r||9===r||10===r||13===r},r.isXmlChar=E},97701:function(n){var r;r=function(){return function(n,r,T){r.prototype.isBetween=function(n,r,e,t){var E=T(n),A=T(r),i="("===(t=t||"()")[0],a=")"===t[1];return(i?this.isAfter(E,e):!this.isBefore(E,e))&&(a?this.isBefore(A,e):!this.isAfter(A,e))||(i?this.isBefore(E,e):!this.isAfter(E,e))&&(a?this.isAfter(A,e):!this.isBefore(A,e))}}},n.exports=r()},39032:function(n,r,T){"use strict";let e=T(5682),t=T(36244);class E{constructor(n){this.maxIterations=null!=n.maxIterations?n.maxIterations:1e3,this.skipInvalidDates=null!=n.skipInvalidDates&&n.skipInvalidDates,this.jCalData=e.parse(n.ics),this.component=new e.Component(this.jCalData),this.events=this.component.getAllSubcomponents("vevent").map(n=>new e.Event(n)),this.skipInvalidDates&&(this.events=this.events.filter(n=>{try{return n.startDate.toJSDate(),n.endDate.toJSDate(),!0}catch(n){return!1}}))}between(n,r){function T(T,e){return(!n||e>=n.getTime())&&(!r||T<=r.getTime())}function e(n){let r=n.startDate.toJSDate().getTime(),T=n.endDate.toJSDate().getTime();return n.endDate.isDate&&T>r&&(T-=1),{startTime:r,endTime:T}}let t=[];this.events.forEach(n=>{n.isRecurrenceException()&&t.push(n)});let E={events:[],occurrences:[]};return this.events.filter(n=>!n.isRecurrenceException()).forEach(n=>{let A=[];if(n.component.getAllProperties("exdate").forEach(n=>{let r=n.getFirstValue();A.push(r.toJSDate().getTime())}),n.isRecurring()){let i;let a=n.iterator(),D=0;do if(D+=1,i=a.next()){let a=n.getOccurrenceDetails(i),{startTime:D,endTime:o}=e(a),S=-1!==A.indexOf(D),F=t.find(r=>r.uid===n.uid&&r.recurrenceId.toJSDate().getTime()===a.startDate.toJSDate().getTime());if(r&&D>r.getTime())break;T(D,o)&&(F?E.events.push(F):S||E.occurrences.push(a))}while(i&&(!this.maxIterations||D{let r=t[n],T=`BEGIN:VTIMEZONE\r +TZID:${n}\r +${r}\r +END:VTIMEZONE`,E=e.parse(`BEGIN:VCALENDAR +PRODID:-//tzurl.org//NONSGML Olson 2012h//EN +VERSION:2.0 +${T} +END:VCALENDAR`),A=new e.Component(E).getFirstSubcomponent("vtimezone");e.TimezoneService.register(n,new e.Timezone(A))}),n.exports=E},90962:function(n,r,T){var e=T(51527);n.exports=function(){return function(n){return e(n,"list",function(n,r){var T,e,t=0;for(T=0,e=r.length;T=0;--E){var A=this.tryEntries[E],i=A.completion;if("root"===A.tryLoc)return t("end");if(A.tryLoc<=this.prev){var a=e.call(A,"catchLoc"),D=e.call(A,"finallyLoc");if(a&&D){if(this.prev=0;--T){var t=this.tryEntries[T];if(t.tryLoc<=this.prev&&e.call(t,"finallyLoc")&&this.prev=0;--r){var T=this.tryEntries[r];if(T.finallyLoc===n)return this.complete(T.completion,T.afterLoc),m(T),s}},catch:function(n){for(var r=this.tryEntries.length-1;r>=0;--r){var T=this.tryEntries[r];if(T.tryLoc===n){var e=T.completion;if("throw"===e.type){var t=e.arg;m(T)}return t}}throw Error("illegal catch attempt")},delegateYield:function(n,T,e){return this.delegate={iterator:p(n),resultName:T,nextLoc:e},"next"===this.method&&(this.arg=r),s}},n}(n.exports);try{regeneratorRuntime=r}catch(n){Function("r","regeneratorRuntime = r")(r)}}(e={exports:{}},e.exports),e.exports),M=function(){function n(n,r,T){this.name=n,this.node=r,this.attributes=this.node.attributes||{},this.children=T}var r=n.prototype;return r.getText=function(){return"text"===this.node.type?this.node.text:this.node.children&&this.node.children.length?this.node.children[0].text:""},r.initialState=function(){var n,r=this.attributes,T=r.name,e=r.value;return T?((n={})[T]=e,n):{}},n}(),d=function(n){var r=n.className,T=n.children;return E.createElement("div",{className:"mml-card "+(void 0===r?"":r)},T)},m=function(n){var r=n.name;return E.createElement("i",{className:"mml-icon material-icons"},r)},h=function(n){var r=n.text,T=n.icon,e=void 0===T?"":T,t=n.className;return E.createElement("div",{className:"mml-card-header "+(void 0===t?"":t)},e&&E.createElement(m,{name:e}),E.createElement("span",{className:"mml-card-header__text"},r))},p=function(n){var r=n.className,T=n.children;return E.createElement("div",{className:"mml-card-body "+(void 0===r?"":r)},T)},B=function(n){var r=n.children,T=n.variant;return E.createElement("div",{className:"mml-btnlist "+("floating"===(void 0===T?"":T)?" mml-btnlist--floating":"mml-btnlist--grounded")},r)},I=function(n){var r=n.path;return E.createElement("i",{className:"mml-icon"},E.createElement("svg",{className:"mml-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},E.createElement("path",{d:r})))},L=E.createElement(I,{path:"M21.35 11.1h-9.17v2.73h6.5c-.33 3.8-3.5 5.44-6.5 5.44C8.36 19.27 5 16.25 5 12c0-4.1 3.2-7.27 7.2-7.27 3.1 0 4.9 1.97 4.9 1.97L19 4.72S16.56 2 12.1 2C6.42 2 2.03 6.8 2.03 12c0 5.05 4.13 10 10.22 10 5.35 0 9.25-3.67 9.25-9.1 0-1.15-.15-1.8-.15-1.8h0z"}),G=E.createElement(I,{path:"M3 12V6.75l6-1.32v6.48L3 12m17-9v8.75l-10 .15V5.2L20 3M3 13l6 .1v6.8l-6-1.15V13m17 .25V22l-10-1.9v-7l10 .15z"}),g=E.createElement(I,{path:"M18.7 19.5c-.83 1.24-1.7 2.45-3.05 2.47-1.34.03-1.77-.8-3.3-.8-1.53 0-2 .77-3.27.82-1.3.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.4c.87-1.52 2.43-2.48 4.12-2.5 1.28-.02 2.5.87 3.3.87.78 0 2.26-1.07 3.8-.9.65.03 2.47.26 3.64 1.98-.1.06-2.17 1.28-2.15 3.8.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.2-.7.85-1.83 1.5-2.95 1.42-.15-1.15.4-2.35 1.05-3.1z"});function v(){var n="undefined"!=typeof navigator?navigator.userAgent:"";return!!n&&(!!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(n)||"undefined"!=typeof navigator&&navigator.maxTouchPoints>1&&-1!==n.indexOf("Macintosh")&&-1!==n.indexOf("Safari"))}var H="undefined"!=typeof window&&window.navigator.msSaveOrOpenBlob&&window.Blob,y=[{id:"google",label:"Google",Icon:L},{id:"apple",label:"Apple Calendar",Icon:g},{id:"outlook",label:"Outlook",Icon:G},{id:"outlookcom",label:"Outlook.com",Icon:G}];function x(n,r){return D()(n).format("outlookcom"===r?"YYYY-MM-DDTHH:mm:ss":"YYYYMMDDTHHmmss")+"Z"}function b(n){return void 0===n&&(n={}),Object.keys(n).reduce(function(r,T){var e=n[T];return e&&(r+="&"+T+"="+encodeURIComponent(e)),r},"")}var U=function(n){var r=n.title,T=n.start,e=n.end,t=n.className,A=n.location,i=n.description,a={start:T,end:e,title:r,location:void 0===A?"":A,description:void 0===i?"":i};function D(n){n.preventDefault();var r=n.currentTarget.getAttribute("href");if(!v()&&(r.startsWith("data")||r.startsWith("BEGIN"))){var T="download.ics",e=new Blob([r],{type:"text/calendar;charset=utf-8"});if(H)window.navigator.msSaveOrOpenBlob(e,T);else{var t=document.createElement("a");t.href=window.URL.createObjectURL(e),t.setAttribute("download",T),document.body.appendChild(t),t.click(),document.body.removeChild(t)}}else window.open(r,"_blank")}return E.createElement(d,{className:"mml-add-to-calendar "+(void 0===t?"":t)},E.createElement(h,{icon:"date_range",text:"Add to My Calendar"}),E.createElement(p,null,E.createElement(B,null,y.map(function(n){var r=n.id,T=n.label,e=n.Icon;return E.createElement("a",{key:r,className:"mml-btn "+(e?"mml-btn--with-icon":""),onClick:D,href:function(n,r){var T=n.start,e=n.end,t=n.title,E=n.location,A=n.description,i=x(T,r),a=x(e,r);if("google"===r)return"https://calendar.google.com/calendar/render?action=TEMPLATE&dates="+i+"/"+a+b({location:E,text:t,details:A});if("outlookcom"===r)return"https://outlook.live.com/owa/?rru=addevent"+b({startdt:i,enddt:a,subject:t,location:E,body:A,allday:"false"})+"&path=/calendar/view/Month";var D=["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT","URL:"+("undefined"!=typeof window?window.location.href:""),"DTSTART:"+i,"DTEND:"+a,"SUMMARY:"+t,"DESCRIPTION:"+A,"LOCATION:"+E,"END:VEVENT","END:VCALENDAR"].join("\n");return!H&&v()&&(D=encodeURI("data:text/calendar;charset=utf8,"+D)),D}(a,r),target:"_blank",rel:"nofollow noreferrer noopener"},e," ",T)}))))},k=function(n){var r=n.className,T=void 0===r?"":r,e=n.text,t=n.name,A=n.value,i=n.url,a=void 0===i?"":i,D=n.variant,S=n.icon;return(S?T+=e?" mml-btn--with-icon":" mml-btn--icon":T+=" mml-btn--text",T+="floating"===D?" mml-btn--floating":" mml-btn--grounded",a)?E.createElement("a",{className:"mml-btn "+T,href:(0,o.Nm)(a),target:"_blank",rel:"nofollow noreferrer noopener"},S&&E.createElement(m,{name:S}),e):E.createElement("button",{className:"mml-btn "+T,type:"submit",name:t,value:A,onClick:function(n){var r,T,e=document.createElement("input");e.type="hidden",e.name=t||"",e.value=A||"",null==(r=n.currentTarget)||null==(T=r.closest("form"))||T.appendChild(e)}},S&&E.createElement(m,{name:S}),e)},C=function(n){var r=n.children,T=n.slideWidth,e=void 0===T?"120px":T,t=n.className;return E.createElement("div",{className:"mml-carousel "+(void 0===t?"":t)},E.createElement("div",{className:"mml-carousel__track"},E.createElement("div",{className:"mml-carousel__slides"},E.Children.map(r,function(n){return(0,E.cloneElement)(n,{className:"mml-carousel__slide",slideWidth:e})}))))},w=function(n){var r=n.children,T=n.slideWidth,e=n.width,t=n.className,A=(void 0===e?"":e)||T;return E.createElement("div",{className:"mml-carousel-item "+(void 0===t?"":t),style:{flex:"0 0 "+A,minWidth:A}},r)},Q=function(n){var r=n.children,T=n.width,e=n.offset,t=void 0===e?0:e,A=n.align,i="mml-col-"+(void 0===T?12:T);return t&&(i=i+" mml-offset-"+t),i=i+" mml-align-"+(void 0===A?"left":A),E.createElement("div",{className:i},r)},P=function(n){var r=n.error,T=void 0===r?"":r;return T?E.createElement("span",{className:"mml-error"},T):null},_=function(n){var r=n.src,T=n.alt,e=n.title,t=n.className;return E.createElement("img",{className:("mml-image "+(void 0===t?"":t)).trim(),src:r,alt:void 0===T?"":T,title:void 0===e?"":e})},j=function(n){var r=n.name,T=n.label,e=n.value,t=n.type,A=n.placeholder,i=(0,E.useState)(void 0===e?"":e),a=i[0],D=i[1],o="mml-"+r;return E.createElement(E.Fragment,null,T&&E.createElement("label",{className:"mml-card-header",htmlFor:o},E.createElement("span",{className:"mml-card-header__text"},T)),E.createElement("input",{id:o,className:"mml-input",name:r,value:a,type:void 0===t?"text":t,placeholder:void 0===A?"":A,onChange:function(n){return D(n.target.value)}}))},z=function(n){var r=n.size,T=n.thickness,e=void 0===T?3.6:T,t=n.color;return e="string"==typeof e?parseFloat(e):e,r="string"==typeof r&&/^\d+$/.test(r)||"number"==typeof r?r+"px":r,E.createElement("span",{className:"mml-progress",role:"progressbar",style:{width:r,height:r,color:t}},E.createElement("svg",{className:"mml-progress__svg",viewBox:"22 22 44 44"},E.createElement("circle",{className:"mml-progress__circle",cx:44,cy:44,r:(44-e)/2,fill:"none",strokeWidth:e})))},q=function(n){var r=n.className,T=n.loading,e=n.text,t=n.size,A=n.thickness,i=n.color;return void 0!==T&&T?E.createElement("div",{className:"mml-loading "+(void 0===r?"":r)},E.createElement(z,Object.assign({},{size:t,thickness:A,color:i})),e&&E.createElement("div",{className:"mml-loading__text"},e)):null},K=function(n,r,T){return(void 0===T&&(T="..."),n.length>r)?""+n.substring(0,r-T.length)+T:n},W=function(n){var r=n.match(/\[([^[]+)\](\(.*\))/gm),T=/\[([^[]+)\]\((.*)\)/;return r?r.map(function(n){var r=T.exec(n);return r&&r[2]}):[]},V={link:function(n){return n.href&&(n.href.startsWith("http")||n.href.startsWith("mailto:"))?E.createElement("a",{href:n.href,target:"_blank",rel:"nofollow noreferrer noopener"},n.children):n.children}},$=["html","root","text","break","paragraph","emphasis","strong","link","list","listItem","code","inlineCode","blockquote"],J=function(n){var r=n.text;if(!r)return null;var T=r,e=W(T);return(0,R.find)(T).forEach(function(n){var r=n.type,t=n.href,E=n.value;if(!((e&&e.filter(function(n){return(null==n?void 0:n.indexOf(t))!==-1})).length>0)){var A="email"===r?E:K(E.replace(/(http(s?):\/\/)?(www\.)?/,""),20);T=T.replace(E,"["+A+"]("+encodeURI(t)+")")}}),E.createElement("div",{className:"mml-md"},E.createElement(F(),{allowedTypes:$,renderers:V,source:T,escapeHtml:!0,unwrapDisallowed:!0,transformLinkUri:function(n){return n.startsWith("app://")?n:F().uriTransformer(n)}}))},X=function(n){var r=n.name,T=n.value,e=(0,E.useState)(parseInt(""+T,10)||0),t=e[0],A=e[1];return E.createElement("div",{className:"mml-number"},E.createElement("input",{name:r,value:t,type:"hidden"}),E.createElement("span",{className:"mml-btn mml-btn--floating mml-btn--icon mml-number__dec",onClick:function(){return A(t-1)}},E.createElement(m,{name:"remove"})),E.createElement("span",{className:"mml-number__count"},t),E.createElement("span",{className:"mml-btn mml-btn--floating mml-btn--icon mml-number__inc",onClick:function(){return A(t+1)}},E.createElement(m,{name:"add"})))},nn=function(n){var r=n.children;return E.createElement("div",{className:"mml-row"},r)},nr=function(n){var r=n.onChange,T=n.icalFilter,e=n.getItemData,t=n.itemClassName,A=n.interval,i=n.format,a=n.value,D=(0,E.useCallback)(function(n,r){return Array(n).fill(!0).map(function(n,T){return e({interval:A,format:i,value:a,idx:r+T})}).filter(function(n){return!T||T&&T(n.value)})},[A,i,a,T,e]),o=(0,E.useState)(D(80,-40)),S=o[0],F=o[1],R=(0,E.useState)(1e4),s=R[0],N=R[1],u=(0,E.useRef)(40),O=(0,E.useState)(null),l=O[0],Z=O[1],f=(0,E.useCallback)(function(n){r(n.value);var T=u.current||0,e=T-40-40,t=e-n.idx+3;t>=0&&(e-=t,u.current-=T-t,F(function(n){return[].concat(D(t,e),n)})),Z(n.idx)},[F,D,u,r]),Y=(0,E.useCallback)(function(n){F(function(r){return[].concat(r,D(40,n))})},[F,D]),M=(0,E.useCallback)(function(){var n=u.current||0,r=n-40-40;return u&&(u.current-=40),F(function(n){return[].concat(D(40,r),n)}),N(n-40),!1},[F,D,u]);return(0,E.useEffect)(function(){if(a){for(var n=null,r=0;r=0?D()(e).add(24*T*r,"hour"):D()(e).subtract(-(24*T*r*1),"hour");return{idx:r,value:E,displayValue:D()(E).format(t),isSelected:function(n){return D()(E).isSame(1===T?D()(n):D()(n).add(T,"day"),"date")}}},ne=function(n){return E.createElement("div",{className:"mml-datepicker__select mml-datepicker__date"},E.createElement(nr,Object.assign({},n,{itemClassName:"mml-datepicker__item--day",getItemData:nT})))};D().extend(O());var nt=function(n){var r=n.idx,T=n.interval,e=n.value,t=n.format,E=r>=0?D()(e).add(r*T,"minute"):D()(e).subtract(-1*r*T,"minute");return{idx:r,value:E,displayValue:D()(E).format(t),isSelected:function(n){return D()(E).isBetween(n,D()(n).add(T-1,"minute"),"minute","[]")}}},nE=function(n){return E.createElement("div",{className:"mml-datepicker__select mml-datepicker__time"},E.createElement(nr,Object.assign({},n,{itemClassName:"mml-datepicker__item--time",getItemData:nt})))},nA=function(n){var r=n.name,T=n.selected,e=n.dateInterval,t=n.timeInterval,A=n.dateFormat,i=n.timeFormat,a=n.fullDay,D=n.icalFilter,o=(0,E.useState)(T),S=o[0],F=o[1];return E.createElement("div",{className:"mml-datepicker mml-datepicker--"+(a?"single":"double")},E.createElement("input",{name:r,value:S.toISOString(),type:"hidden"}),E.createElement(ne,{icalFilter:D,format:A,value:S,onChange:function(n){F(function(r){return r.set("date",n.get("date")).set("month",n.get("month")).set("year",n.get("year"))})},interval:e}),!a&&E.createElement(nE,{icalFilter:D,format:i,value:S,onChange:function(n){F(function(r){return r.set("minute",n.get("minute")).set("hour",n.get("hour"))})},interval:t}))},ni=(t=Z(Y.mark(function n(r,T){var e,t,E;return Y.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch(r,{method:"GET",redirect:"follow",credentials:"same-origin"});case 2:return e=n.sent,n.next=5,e.text();case 5:if(t=n.sent,e.ok){n.next=8;break}throw Error(t);case 8:return E=new(N())({ics:t,maxIterations:10}),n.abrupt("return",function(){return function(n){return!n||!E.between(n.toDate(),n.add(T,"minute").toDate()).events.length}});case 10:case"end":return n.stop()}},n)})),function(n,r){return t.apply(this,arguments)}),na=function(n){var r=n.name,T=n.selected,e=n.icalAvailability,t=n.duration,A=void 0===t?30:t,i=n.dateInterval,a=n.timeInterval,o=n.dateFormat,S=n.timeFormat,F=n.fullDay,R=(0,E.useState)(!1),s=R[0],N=R[1],c=(0,E.useState)(""),u=c[0],O=c[1],l=(0,E.useState)(function(){return function(){return!0}}),Z=l[0],f=l[1];return(0,E.useEffect)(function(){e&&(N(!0),ni(e,A).then(f).catch(function(n){console.warn("loading ical failed",{icalAvailability:e,err:n}),O("iCal availability could not be loaded")}).finally(function(){return N(!1)}))},[e,A]),E.createElement(d,{className:"mml-scheduler"},E.createElement(h,{icon:"date_range",text:"Scheduler"}),E.createElement(p,null,u&&!s&&E.createElement(P,{error:"Failed, error: "+u}),!u&&s&&E.createElement(q,{loading:!0,text:"Loading availability"}),!u&&!s&&E.createElement(nA,{name:r,selected:T?D()(T):D()().startOf("hour"),dateInterval:void 0===i?1:i,timeInterval:void 0===a?30:a,dateFormat:void 0===o?"ddd MMM DD":o,timeFormat:void 0===S?"hh:mm A":S,fullDay:void 0!==F&&F,icalFilter:Z})))},nD=function(n){var r=n.success;return r?E.createElement("div",{className:"mml-success"},r):null},no=function(n){var r=n.text,T=n.className;return E.createElement("div",{className:("mml-text "+(void 0===T?"":T)).trim()},r)},nS={button:function(n){return E.createElement(k,Object.assign({},n.attributes,{key:n.key,text:n.getText(),name:n.attributes.name,value:n.attributes.value}))},button_list:function(n,r){return E.createElement(B,Object.assign({},n.attributes,{key:n.key}),r)},input:function(n){return E.createElement(j,Object.assign({},n.attributes,{key:n.key,name:n.attributes.name,value:n.attributes.value}))},add_to_calendar:function(n){return E.createElement(U,Object.assign({},n.attributes,{key:n.key,title:n.attributes.title,start:n.attributes.start,end:n.attributes.end}))},col:function(n,r){return E.createElement(Q,Object.assign({},n.attributes,{key:n.key}),r)},row:function(n,r){return E.createElement(nn,Object.assign({},n.attributes,{key:n.key}),r)},icon:function(n){return E.createElement(m,Object.assign({},n.attributes,{key:n.key,name:n.attributes.name}))},image:function(n){return E.createElement(_,Object.assign({},n.attributes,{key:n.key,src:n.attributes.src}))},md:function(n){return E.createElement(J,Object.assign({},n.attributes,{key:n.key,text:n.getText()}))},text:function(n){return E.createElement(no,Object.assign({},n.attributes,{key:n.key,text:n.getText()}))},scheduler:function(n){return E.createElement(na,Object.assign({},n.attributes,{key:n.key,name:n.attributes.name,dateInterval:parseInt(n.attributes.dateInterval,10)||1,timeInterval:parseInt(n.attributes.timeInterval,10)||30,duration:parseInt(n.attributes.duration,10)||30,selected:n.attributes.selected,fullDay:"true"===n.attributes.fullDay,icalAvailability:n.attributes.icalAvailability}))},carousel:function(n,r){return E.createElement(C,Object.assign({slideWidth:n.attributes.slideWidth},n.attributes,{key:n.key}),r)},item:function(n,r){return E.createElement(w,Object.assign({},n.attributes,{key:n.key}),r)},number:function(n){return E.createElement(X,Object.assign({},n.attributes,{key:n.key,name:n.attributes.name,value:n.attributes.value}))}},nF=function(){function n(n,r,T){this.converters=f({},nS,T),this.node=n,this.children=r,this.reactElements=this.toReact(),this.name=n.attributes.name,this.type=n.attributes.type}return n.prototype.toReact=function(n){var r=this;void 0===n&&(n=this);var T=[];return(n.children||[]).forEach(function(n,e){var t=r.converters[n.name];if(!t||!Object.hasOwnProperty.call(r.converters,n.name))throw Error("Converter not found for tag "+n.name+", Available converters are "+Object.keys(r.converters));var E=r.toReact(n);n.key="tag-"+n.name+"-position-"+e,T.push(t(n,E))}),T},n}();function nR(n){var r=n.trim();return r.startsWith(""+n+"
"),r=r.replace(/&(?!amp;|lt;|gt;)/g,"&"),i()(r)}function ns(n,r){if(!n||!n.children||!n.children.length)throw Error("bad input");var T=n.children[0];if("mml"!==T.name)throw Error("missing mml tag");return new nF(T,function n(r){return r.reduce(function(r,T){T.children&&(e=n(T.children));var e,t=T.name;if("text"===T.type){if(!T.text.trim().length)return r;t="text"}return r.push(new M(t,T,e)),r},[])}(T.children),r)}function nN(n,r){return ns(nR(n),r)}var nc=function(n){var r,T=n.source,e=n.onSubmit,t=n.converters,A=n.theme,i=n.className,a=n.Loading,D=void 0===a?q:a,o=n.Error,S=void 0===o?P:o,F=n.Success,R=void 0===F?nD:F,s=(0,E.useState)(""),N=s[0],c=s[1],u=(0,E.useState)({loading:!1,error:"",success:""}),O=u[0],l=u[1],f=(0,E.useMemo)(function(){try{return nN(T,t)}catch(n){return console.warn("mml parsing error: ",T,n),c("This chat message has invalid formatting and can't be shown"),null}},[T,t]),M=(0,E.useCallback)((r=Z(Y.mark(function n(r){var T;return Y.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(r.preventDefault(),T={},null!=f&&f.name&&(T.mml_name=f.name),new FormData(r.currentTarget).forEach(function(n,r){T[r]=n}),e){n.next=6;break}return n.abrupt("return",console.warn("Forgot to pass onSubmit prop to ? payload:",T));case 6:return n.prev=6,l({loading:!0,error:"",success:""}),n.next=10,e(T);case 10:l({loading:!1,error:"",success:"submitted"}),n.next=16;break;case 13:n.prev=13,n.t0=n.catch(6),l({loading:!1,error:"Failed to send the request. Please try again.",success:""});case 16:case"end":return n.stop()}},n,null,[[6,13]])})),function(n){return r.apply(this,arguments)}),[e,f]);return E.createElement("div",{className:"mml-container "+(void 0===A?"":A)+" "+(void 0===i?"":i),"data-testid":"mml-container"},N?E.createElement("div",{className:"mml-wrap"},S&&E.createElement(S,{error:N})):E.createElement("form",{onSubmit:M,className:"mml-wrap","data-testid":"mml-form"},null!=f&&f.type?E.createElement("div",{className:"mml-card"},null==f?void 0:f.reactElements):null==f?void 0:f.reactElements,O.loading&&D&&E.createElement(D,{loading:O.loading}),O.success&&R&&E.createElement(R,{success:O.success}),O.error&&S&&E.createElement(S,{error:O.error})))}},37994:function(n){"use strict";n.exports=function(n){if(n)throw n}},8919:function(n){"use strict";n.exports=n=>{if("[object Object]"!==Object.prototype.toString.call(n))return!1;let r=Object.getPrototypeOf(n);return null===r||r===Object.prototype}},19476:function(n,r,T){n.exports=T(11717)},11717:function(n,r,T){"use strict";r.find=void 0;var e=T(95365),t=(A(T(55570)),A(T(30415))),E=A(T(49066));function A(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var T in n)Object.prototype.hasOwnProperty.call(n,T)&&(r[T]=n[T]);return r.default=n,r}Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),r.find=function(n){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,T=E.run(t.run(n)),e=[],A=0;A=0&&F++,T++,o++;if(F<0)for(var R=T-o;R0&&(e.push(new t.TEXT(E)),E=[]),T-=F,o-=F;var s=S.emit();e.push(new s(n.slice(T-o,T)))}}return E.length>0&&e.push(new t.TEXT(E)),e},r.start=a},30415:function(n,r,T){"use strict";r.__esModule=!0,r.start=r.run=r.TOKENS=r.State=void 0;var e=T(76662),t=T(62428),E=function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var T in n)Object.prototype.hasOwnProperty.call(n,T)&&(r[T]=n[T]);return r.default=n,r}(t),A="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),i="0123456789".split(""),a="0123456789abcdefghijklmnopqrstuvwxyz".split(""),D=[" ","\f","\r"," ","\v","\xa0"," ","᠎"],o=[],S=function(n){return new e.CharacterState(n)},F=S(),R=S(t.NUM),s=S(t.DOMAIN),N=S(),c=S(t.WS);F.on("@",S(t.AT)).on(".",S(t.DOT)).on("+",S(t.PLUS)).on("#",S(t.POUND)).on("?",S(t.QUERY)).on("/",S(t.SLASH)).on("_",S(t.UNDERSCORE)).on(":",S(t.COLON)).on("{",S(t.OPENBRACE)).on("[",S(t.OPENBRACKET)).on("<",S(t.OPENANGLEBRACKET)).on("(",S(t.OPENPAREN)).on("}",S(t.CLOSEBRACE)).on("]",S(t.CLOSEBRACKET)).on(">",S(t.CLOSEANGLEBRACKET)).on(")",S(t.CLOSEPAREN)).on("&",S(t.AMPERSAND)).on([",",";","!",'"',"'"],S(t.PUNCTUATION)),F.on("\n",S(t.NL)).on(D,c),c.on(D,c);for(var u=0;u=0&&D++,i++,t++;if(!(D<0)){t-=D,i-=D;var o=a.emit();e.push(new o(n.substr(t-i,i)))}}return e},r.start=F},76662:function(n,r,T){"use strict";r.__esModule=!0,r.stateify=r.TokenState=r.CharacterState=void 0;var e=T(95365);function t(){return function(n){this.j=[],this.T=n||null}}var E=t();E.prototype={defaultTransition:!1,on:function(n,r){if(n instanceof Array){for(var T=0;T1&&void 0!==arguments[1]?arguments[1]:null,T=this.next(new n(""));return T===this.defaultTransition?(T=new this.constructor(r),this.on(n,T)):r&&(T.T=r),T},test:function(n,r){return n instanceof r}});r.CharacterState=A,r.TokenState=i,r.stateify=function(n,r,T,e){for(var t=0,E=n.length,i=r,a=[],D=void 0;t=E)return[];for(;t0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(n)}}};var i=(0,t.inherits)(A,(0,e.createTokenClass)(),{type:"email",isLink:!0}),a=(0,t.inherits)(A,(0,e.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),D=(0,t.inherits)(A,(0,e.createTokenClass)(),{type:"text"}),o=(0,t.inherits)(A,(0,e.createTokenClass)(),{type:"nl"}),S=(0,t.inherits)(A,(0,e.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",T=!1,e=!1,t=this.v,A=[],i=0;t[i]instanceof E.PROTOCOL;)T=!0,A.push(t[i].toString().toLowerCase()),i++;for(;t[i]instanceof E.SLASH;)e=!0,A.push(t[i].toString()),i++;for(;(n=t[i])instanceof E.DOMAIN||n instanceof E.TLD;)A.push(t[i].toString().toLowerCase()),i++;for(;i"),g=A(")"),v=A("&");r.Base=E,r.DOMAIN=i,r.AT=a,r.COLON=D,r.DOT=o,r.PUNCTUATION=S,r.LOCALHOST=F,r.NL=R,r.NUM=s,r.PLUS=N,r.POUND=c,r.QUERY=l,r.PROTOCOL=u,r.MAILTO=O,r.SLASH=Z,r.UNDERSCORE=f,r.SYM=Y,r.TLD=M,r.WS=d,r.OPENBRACE=m,r.OPENBRACKET=h,r.OPENANGLEBRACKET=p,r.OPENPAREN=B,r.CLOSEBRACE=I,r.CLOSEBRACKET=L,r.CLOSEANGLEBRACKET=G,r.CLOSEPAREN=g,r.AMPERSAND=v},95365:function(n,r){"use strict";r.__esModule=!0,r.inherits=function(n,r){var T=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=Object.create(n.prototype);for(var t in T)e[t]=T[t];return e.constructor=r,r.prototype=e,r}},55570:function(n,r){"use strict";r.__esModule=!0;var T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e={defaultProtocol:"http",events:null,format:E,formatHref:E,nl2br:!1,tagName:"a",target:function(n,r){return"url"===r?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function t(n){n=n||{},this.defaultProtocol=n.hasOwnProperty("defaultProtocol")?n.defaultProtocol:e.defaultProtocol,this.events=n.hasOwnProperty("events")?n.events:e.events,this.format=n.hasOwnProperty("format")?n.format:e.format,this.formatHref=n.hasOwnProperty("formatHref")?n.formatHref:e.formatHref,this.nl2br=n.hasOwnProperty("nl2br")?n.nl2br:e.nl2br,this.tagName=n.hasOwnProperty("tagName")?n.tagName:e.tagName,this.target=n.hasOwnProperty("target")?n.target:e.target,this.validate=n.hasOwnProperty("validate")?n.validate:e.validate,this.ignoreTags=[],this.attributes=n.attributes||n.linkAttributes||e.attributes,this.className=n.hasOwnProperty("className")?n.className:n.linkClass||e.className;for(var r=n.hasOwnProperty("ignoreTags")?n.ignoreTags:e.ignoreTags,T=0;T-1&&(l.call(this,n),Z.call(this,n))},link:c(function(){var n=this.stack[this.stack.length-1];T.inReference?(n.type+="Reference",n.referenceType=T.referenceType||"shortcut",delete n.url,delete n.title):(delete n.identifier,delete n.label,delete n.referenceType),T.referenceType=void 0}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(n){var r=this.resume();this.stack[this.stack.length-1].label=r,this.stack[this.stack.length-1].identifier=A(this.sliceSerialize(n)).toLowerCase(),T.referenceType="full"},resourceDestinationString:function(){var n=this.resume();this.stack[this.stack.length-1].url=n},resourceTitleString:function(){var n=this.resume();this.stack[this.stack.length-1].title=n},resource:function(){T.inReference=void 0},setextHeading:c(function(){T.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(n){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(n).charCodeAt(0)?1:2},setextHeadingText:function(){T.setextHeadingSlurpLineEnding=!0},strong:c(),thematicBreak:c()}},(n||{}).mdastExtensions||[]),T={};return function(n){for(var T,e,A={type:"root",children:[]},i=[],S=[],R=-1,c={stack:[A],tokenStack:i,config:r,enter:N,exit:u,buffer:s,resume:O,setData:a,getData:D};++R-1?void 0:4)}},i={tokenize:function(n,r,T){return t(n,n.lazy(this.parser.constructs.flow,r,T),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};r.tokenize=function(n){var r,T,t,a=this,D=[],o=0,S={tokenize:function(n,e){var t=0;return r={},o;function o(e){return tr;)a.containerState=D[E][1],D[E][0].exit.call(a,n);D.length=r}}},31965:function(n,r,T){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=T(36481),t=T(71620),E=T(74719);r.tokenize=function(n){var r=this,T=n.attempt(E,function(e){if(null===e){n.consume(e);return}return n.enter("lineEndingBlank"),n.consume(e),n.exit("lineEndingBlank"),r.currentConstruct=void 0,T},n.attempt(this.parser.constructs.flowInitial,A,t(n,n.attempt(this.parser.constructs.flow,A,n.attempt(e,A)),"linePrefix")));return T;function A(e){if(null===e){n.consume(e);return}return n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),r.currentConstruct=void 0,T}}},53045:function(n,r,T){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=T(95820),t=T(57207),E=a("text"),A=a("string"),i={resolveAll:D()};function a(n){return{tokenize:function(r){var T=this,e=this.parser.constructs[n],t=r.attempt(e,E,A);return E;function E(n){return a(n)?t(n):A(n)}function A(n){if(null===n){r.consume(n);return}return r.enter("data"),r.consume(n),i}function i(n){return a(n)?(r.exit("data"),t(n)):(r.consume(n),i)}function a(n){var r=e[n],t=-1;if(null===n)return!0;if(r){for(;++t1&&n[N][1].end.offset-n[N][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:A(a(n[T][1].end),-F),end:a(n[T][1].end)},S={type:F>1?"strongSequence":"emphasisSequence",start:a(n[N][1].start),end:A(a(n[N][1].start),F)},D={type:F>1?"strongText":"emphasisText",start:a(n[T][1].end),end:a(n[N][1].start)},E={type:F>1?"strong":"emphasis",start:a(o.start),end:a(S.end)},n[T][1].end=a(o.start),n[N][1].start=a(S.end),R=[],n[T][1].end.offset-n[T][1].start.offset&&(R=e(R,[["enter",n[T][1],r],["exit",n[T][1],r]])),R=e(R,[["enter",E,r],["enter",o,r],["exit",o,r],["enter",D,r]]),R=e(R,i(r.parser.constructs.insideSpan.null,n.slice(T+1,N),r)),R=e(R,[["exit",D,r],["enter",S,r],["exit",S,r],["exit",E,r]]),n[N][1].end.offset-n[N][1].start.offset?(s=2,R=e(R,[["enter",n[N][1],r],["exit",n[N][1],r]])):s=0,t(n,T-1,N-T+3,R),N=T+R.length-s-2;break}}for(N=-1;++N-1?void 0:4)}},exit:function(n){n.exit("blockQuote")}};n.exports=E},35169:function(n,r,T){"use strict";var e=T(12579);n.exports={name:"characterEscape",tokenize:function(n,r,T){return function(r){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(r),n.exit("escapeMarker"),t};function t(t){return e(t)?(n.enter("characterEscapeValue"),n.consume(t),n.exit("characterEscapeValue"),n.exit("characterEscape"),r):T(t)}}}},76256:function(n,r,T){"use strict";var e=T(80851),t=T(9922),E=T(94378),A=T(85745),i=e&&"object"==typeof e&&"default"in e?e:{default:e};n.exports={name:"characterReference",tokenize:function(n,r,T){var e,a,D=this,o=0;return function(r){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(r),n.exit("characterReferenceMarker"),S};function S(r){return 35===r?(n.enter("characterReferenceMarkerNumeric"),n.consume(r),n.exit("characterReferenceMarkerNumeric"),F):(n.enter("characterReferenceValue"),e=31,a=t,R(r))}function F(r){return 88===r||120===r?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(r),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),e=6,a=A,R):(n.enter("characterReferenceValue"),e=7,a=E,R(r))}function R(E){var A;return 59===E&&o?(A=n.exit("characterReferenceValue"),a!==t||i.default(D.sliceSerialize(A)))?(n.enter("characterReferenceMarker"),n.consume(E),n.exit("characterReferenceMarker"),n.exit("characterReference"),r):T(E):a(E)&&o++-1?void 0:4);function E(t){return null===t||e(t)?(n.exit("codeFencedFence"),r(t)):T(t)}},partial:!0},o=E(this.events,"linePrefix"),S=0;return function(r){return n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),i=r,function r(e){return e===i?(n.consume(e),S++,r):(n.exit("codeFencedFenceSequence"),S<3?T(e):A(n,F,"whitespace")(e))}(r)};function F(r){return null===r||e(r)?s(r):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),function r(e){return null===e||t(e)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),A(n,R,"whitespace")(e)):96===e&&e===i?T(e):(n.consume(e),r)}(r))}function R(r){return null===r||e(r)?s(r):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),function r(t){return null===t||e(t)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),s(t)):96===t&&t===i?T(t):(n.consume(t),r)}(r))}function s(T){return n.exit("codeFencedFence"),a.interrupt?r(T):function r(T){return null===T?N(T):e(T)?(n.enter("lineEnding"),n.consume(T),n.exit("lineEnding"),n.attempt(D,N,o?A(n,r,"linePrefix",o+1):r)):(n.enter("codeFlowValue"),function T(t){return null===t||e(t)?(n.exit("codeFlowValue"),r(t)):(n.consume(t),T)}(T))}(T)}function N(T){return n.exit("codeFenced"),r(T)}},concrete:!0}},6840:function(n,r,T){"use strict";var e=T(97446),t=T(47419),E=T(22525),A=T(71620),i={tokenize:function(n,r,T){var t=this;return A(n,function i(a){return e(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),A(n,i,"linePrefix",5)):4>E(t.events,"linePrefix")?T(a):r(a)},"linePrefix",5)},partial:!0};n.exports={name:"codeIndented",tokenize:function(n,r,T){return n.attempt(i,function T(t){return null===t?r(t):e(t)?n.attempt(i,T,r)(t):(n.enter("codeFlowValue"),function r(t){return null===t||e(t)?(n.exit("codeFlowValue"),T(t)):(n.consume(t),r)}(t))},T)},resolve:function(n,r){var T={type:"codeIndented",start:n[0][1].start,end:n[n.length-1][1].end};return t(n,0,0,[["enter",T,r]]),t(n,n.length,0,[["exit",T,r]]),n}}},78030:function(n,r,T){"use strict";var e=T(97446);n.exports={name:"codeText",tokenize:function(n,r,T){var t,E,A=0;return function(r){return n.enter("codeText"),n.enter("codeTextSequence"),function r(T){return 96===T?(n.consume(T),A++,r):(n.exit("codeTextSequence"),i(T))}(r)};function i(D){return null===D?T(D):96===D?(E=n.enter("codeTextSequence"),t=0,function T(e){return 96===e?(n.consume(e),t++,T):t===A?(n.exit("codeTextSequence"),n.exit("codeText"),r(e)):(E.type="codeTextData",a(e))}(D)):32===D?(n.enter("space"),n.consume(D),n.exit("space"),i):e(D)?(n.enter("lineEnding"),n.consume(D),n.exit("lineEnding"),i):(n.enter("codeTextData"),a(D))}function a(r){return null===r||32===r||96===r||e(r)?(n.exit("codeTextData"),i(r)):(n.consume(r),a)}},resolve:function(n){var r,T,e=n.length-4,t=3;if(("lineEnding"===n[3][1].type||"space"===n[t][1].type)&&("lineEnding"===n[e][1].type||"space"===n[e][1].type)){for(r=t;++r-1||4>t(E.events,"linePrefix")?n.interrupt(E.parser.constructs.flow,T,r)(A):r(A)}},partial:!0};n.exports={tokenize:function(n,r){var T;return function(r){return n.enter("content"),T=n.enter("chunkContent",{contentType:"content"}),t(r)};function t(r){return null===r?E(r):e(r)?n.check(i,A,E)(r):(n.consume(r),t)}function E(T){return n.exit("chunkContent"),n.exit("content"),r(T)}function A(r){return n.consume(r),n.exit("chunkContent"),T=T.next=n.enter("chunkContent",{contentType:"content",previous:T}),t}},resolve:function(n){return E(n),n},interruptible:!0,lazy:!0}},60338:function(n,r,T){"use strict";var e=T(97446),t=T(94306),E=T(43157),A=T(33914),i=T(28755),a=T(71620),D=T(65548),o=T(49605),S={tokenize:function(n,r,T){return function(r){return t(r)?D(n,E)(r):T(r)};function E(r){return 34===r||39===r||40===r?o(n,a(n,A,"whitespace"),T,"definitionTitle","definitionTitleMarker","definitionTitleString")(r):T(r)}function A(n){return null===n||e(n)?r(n):T(n)}},partial:!0};n.exports={name:"definition",tokenize:function(n,r,T){var t,o=this;return function(r){return n.enter("definition"),i.call(o,n,F,T,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function F(r){return(t=E(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),58===r)?(n.enter("definitionMarker"),n.consume(r),n.exit("definitionMarker"),D(n,A(n,n.attempt(S,a(n,R,"whitespace"),a(n,R,"whitespace")),T,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):T(r)}function R(E){return null===E||e(E)?(n.exit("definition"),0>o.parser.defined.indexOf(t)&&o.parser.defined.push(t),r(E)):T(E)}}}},33914:function(n,r,T){"use strict";var e=T(79931),t=T(94306),E=T(97446);n.exports=function(n,r,T,A,i,a,D,o,S){var F=S||1/0,R=0;return function(r){return 60===r?(n.enter(A),n.enter(i),n.enter(a),n.consume(r),n.exit(a),s):e(r)||41===r?T(r):(n.enter(A),n.enter(D),n.enter(o),n.enter("chunkString",{contentType:"string"}),u(r))};function s(T){return 62===T?(n.enter(a),n.consume(T),n.exit(a),n.exit(i),n.exit(A),r):(n.enter(o),n.enter("chunkString",{contentType:"string"}),N(T))}function N(r){return 62===r?(n.exit("chunkString"),n.exit(o),s(r)):null===r||60===r||E(r)?T(r):(n.consume(r),92===r?c:N)}function c(r){return 60===r||62===r||92===r?(n.consume(r),N):N(r)}function u(E){return 40===E?++R>F?T(E):(n.consume(E),u):41===E?R--?(n.consume(E),u):(n.exit("chunkString"),n.exit(o),n.exit(D),n.exit(A),r(E)):null===E||t(E)?R?T(E):(n.exit("chunkString"),n.exit(o),n.exit(D),n.exit(A),r(E)):e(E)?T(E):(n.consume(E),92===E?O:u)}function O(r){return 40===r||41===r||92===r?(n.consume(r),u):u(r)}}},28755:function(n,r,T){"use strict";var e=T(97446),t=T(38703);n.exports=function(n,r,T,E,A,i){var a,D=this,o=0;return function(r){return n.enter(E),n.enter(A),n.consume(r),n.exit(A),n.enter(i),S};function S(t){return null===t||91===t||93===t&&!a||94===t&&!o&&"_hiddenFootnoteSupport"in D.parser.constructs||o>999?T(t):93===t?(n.exit(i),n.enter(A),n.consume(t),n.exit(A),n.exit(E),r):e(t)?(n.enter("lineEnding"),n.consume(t),n.exit("lineEnding"),S):(n.enter("chunkString",{contentType:"string"}),F(t))}function F(r){return null===r||91===r||93===r||e(r)||o++>999?(n.exit("chunkString"),S(r)):(n.consume(r),a=a||!t(r),92===r?R:F)}function R(r){return 91===r||92===r||93===r?(n.consume(r),o++,F):F(r)}}},71620:function(n,r,T){"use strict";var e=T(38703);n.exports=function(n,r,T,t){var E=t?t-1:1/0,A=0;return function(t){return e(t)?(n.enter(T),function t(i){return e(i)&&A++E&&"whitespace"===n[t][1].type&&(t-=2),"atxHeadingSequence"===n[t][1].type&&(E===t-1||t-4>E&&"whitespace"===n[t-2][1].type)&&(t-=E+1===t?2:4),t>E&&(T={type:"atxHeadingText",start:n[E][1].start,end:n[t][1].end},e={type:"chunkText",start:n[E][1].start,end:n[t][1].end,contentType:"text"},A(n,E,t-E+1,[["enter",T,r],["enter",e,r],["exit",e,r],["exit",T,r]])),n}}},30194:function(n,r,T){"use strict";var e=T(68771),t=T(9922),E=T(97446),A=T(94306),i=T(38703),a=T(70999),D=T(58996),o=T(32601),S=T(74719),F={tokenize:function(n,r,T){return function(e){return n.exit("htmlFlowData"),n.enter("lineEndingBlank"),n.consume(e),n.exit("lineEndingBlank"),n.attempt(S,r,T)}},partial:!0};n.exports={name:"htmlFlow",tokenize:function(n,r,T){var S,R,s,N,c,u=this;return function(r){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(r),O};function O(t){return 33===t?(n.consume(t),l):47===t?(n.consume(t),Y):63===t?(n.consume(t),S=3,u.interrupt?r:k):e(t)?(n.consume(t),s=a(t),R=!0,M):T(t)}function l(t){return 45===t?(n.consume(t),S=2,Z):91===t?(n.consume(t),S=5,s="CDATA[",N=0,f):e(t)?(n.consume(t),S=4,u.interrupt?r:k):T(t)}function Z(e){return 45===e?(n.consume(e),u.interrupt?r:k):T(e)}function f(e){return e===s.charCodeAt(N++)?(n.consume(e),N===s.length?u.interrupt?r:v:f):T(e)}function Y(r){return e(r)?(n.consume(r),s=a(r),M):T(r)}function M(e){return null===e||47===e||62===e||A(e)?47!==e&&R&&o.indexOf(s.toLowerCase())>-1?(S=1,u.interrupt?r(e):v(e)):D.indexOf(s.toLowerCase())>-1?(S=6,47===e)?(n.consume(e),d):u.interrupt?r(e):v(e):(S=7,u.interrupt?T(e):R?m(e):function r(T){return i(T)?(n.consume(T),r):G(T)}(e)):45===e||t(e)?(n.consume(e),s+=a(e),M):T(e)}function d(e){return 62===e?(n.consume(e),u.interrupt?r:v):T(e)}function m(r){return 47===r?(n.consume(r),G):58===r||95===r||e(r)?(n.consume(r),h):i(r)?(n.consume(r),m):G(r)}function h(r){return 45===r||46===r||58===r||95===r||t(r)?(n.consume(r),h):p(r)}function p(r){return 61===r?(n.consume(r),B):i(r)?(n.consume(r),p):m(r)}function B(r){return null===r||60===r||61===r||62===r||96===r?T(r):34===r||39===r?(n.consume(r),c=r,I):i(r)?(n.consume(r),B):(c=void 0,function r(T){return null===T||34===T||39===T||60===T||61===T||62===T||96===T||A(T)?p(T):(n.consume(T),r)}(r))}function I(r){return r===c?(n.consume(r),L):null===r||E(r)?T(r):(n.consume(r),I)}function L(n){return 47===n||62===n||i(n)?m(n):T(n)}function G(r){return 62===r?(n.consume(r),g):T(r)}function g(r){return i(r)?(n.consume(r),g):null===r||E(r)?v(r):T(r)}function v(r){return 45===r&&2===S?(n.consume(r),y):60===r&&1===S?(n.consume(r),x):62===r&&4===S?(n.consume(r),C):63===r&&3===S?(n.consume(r),k):93===r&&5===S?(n.consume(r),U):E(r)&&(6===S||7===S)?n.check(F,C,H)(r):null===r||E(r)?H(r):(n.consume(r),v)}function H(r){return n.exit("htmlFlowData"),function r(T){return null===T?w(T):E(T)?(n.enter("lineEnding"),n.consume(T),n.exit("lineEnding"),r):(n.enter("htmlFlowData"),v(T))}(r)}function y(r){return 45===r?(n.consume(r),k):v(r)}function x(r){return 47===r?(n.consume(r),s="",b):v(r)}function b(r){return 62===r&&o.indexOf(s.toLowerCase())>-1?(n.consume(r),C):e(r)&&s.length<8?(n.consume(r),s+=a(r),b):v(r)}function U(r){return 93===r?(n.consume(r),k):v(r)}function k(r){return 62===r?(n.consume(r),C):v(r)}function C(r){return null===r||E(r)?(n.exit("htmlFlowData"),w(r)):(n.consume(r),C)}function w(T){return n.exit("htmlFlow"),r(T)}},resolveTo:function(n){for(var r=n.length;r--&&("enter"!==n[r][0]||"htmlFlow"!==n[r][1].type););return r>1&&"linePrefix"===n[r-2][1].type&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n},concrete:!0}},94744:function(n,r,T){"use strict";var e=T(68771),t=T(9922),E=T(97446),A=T(94306),i=T(38703),a=T(71620);n.exports={name:"htmlText",tokenize:function(n,r,T){var D,o,S,F,R=this;return function(r){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(r),s};function s(r){return 33===r?(n.consume(r),N):47===r?(n.consume(r),B):63===r?(n.consume(r),h):e(r)?(n.consume(r),L):T(r)}function N(r){return 45===r?(n.consume(r),c):91===r?(n.consume(r),o="CDATA[",S=0,f):e(r)?(n.consume(r),m):T(r)}function c(r){return 45===r?(n.consume(r),u):T(r)}function u(r){return null===r||62===r?T(r):45===r?(n.consume(r),O):l(r)}function O(n){return null===n||62===n?T(n):l(n)}function l(r){return null===r?T(r):45===r?(n.consume(r),Z):E(r)?(F=l,b(r)):(n.consume(r),l)}function Z(r){return 45===r?(n.consume(r),k):l(r)}function f(r){return r===o.charCodeAt(S++)?(n.consume(r),S===o.length?Y:f):T(r)}function Y(r){return null===r?T(r):93===r?(n.consume(r),M):E(r)?(F=Y,b(r)):(n.consume(r),Y)}function M(r){return 93===r?(n.consume(r),d):Y(r)}function d(r){return 62===r?k(r):93===r?(n.consume(r),d):Y(r)}function m(r){return null===r||62===r?k(r):E(r)?(F=m,b(r)):(n.consume(r),m)}function h(r){return null===r?T(r):63===r?(n.consume(r),p):E(r)?(F=h,b(r)):(n.consume(r),h)}function p(n){return 62===n?k(n):h(n)}function B(r){return e(r)?(n.consume(r),I):T(r)}function I(r){return 45===r||t(r)?(n.consume(r),I):function r(T){return E(T)?(F=r,b(T)):i(T)?(n.consume(T),r):k(T)}(r)}function L(r){return 45===r||t(r)?(n.consume(r),L):47===r||62===r||A(r)?G(r):T(r)}function G(r){return 47===r?(n.consume(r),k):58===r||95===r||e(r)?(n.consume(r),g):E(r)?(F=G,b(r)):i(r)?(n.consume(r),G):k(r)}function g(r){return 45===r||46===r||58===r||95===r||t(r)?(n.consume(r),g):function r(T){return 61===T?(n.consume(T),v):E(T)?(F=r,b(T)):i(T)?(n.consume(T),r):G(T)}(r)}function v(r){return null===r||60===r||61===r||62===r||96===r?T(r):34===r||39===r?(n.consume(r),D=r,H):E(r)?(F=v,b(r)):i(r)?(n.consume(r),v):(n.consume(r),D=void 0,x)}function H(r){return r===D?(n.consume(r),y):null===r?T(r):E(r)?(F=H,b(r)):(n.consume(r),H)}function y(n){return 62===n||47===n||A(n)?G(n):T(n)}function x(r){return null===r||34===r||39===r||60===r||61===r||96===r?T(r):62===r||A(r)?G(r):(n.consume(r),x)}function b(r){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),a(n,U,"linePrefix",R.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function U(r){return n.enter("htmlTextData"),F(r)}function k(e){return 62===e?(n.consume(e),n.exit("htmlTextData"),n.exit("htmlText"),r):T(e)}}}},24439:function(n,r,T){"use strict";var e=T(94306),t=T(56402),E=T(47419),A=T(43157),i=T(9664),a=T(57207),D=T(33914),o=T(28755),S=T(49605),F=T(65548),R={tokenize:function(n,r,T){return function(r){return n.enter("resource"),n.enter("resourceMarker"),n.consume(r),n.exit("resourceMarker"),F(n,t)};function t(r){return 41===r?i(r):D(n,E,T,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(r)}function E(r){return e(r)?F(n,A)(r):i(r)}function A(r){return 34===r||39===r||40===r?S(n,F(n,i),T,"resourceTitle","resourceTitleMarker","resourceTitleString")(r):i(r)}function i(e){return 41===e?(n.enter("resourceMarker"),n.consume(e),n.exit("resourceMarker"),n.exit("resource"),r):T(e)}}},s={tokenize:function(n,r,T){var e=this;return function(r){return o.call(e,n,t,T,"reference","referenceMarker","referenceString")(r)};function t(n){return 0>e.parser.defined.indexOf(A(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)))?T(n):r(n)}}},N={tokenize:function(n,r,T){return function(r){return n.enter("reference"),n.enter("referenceMarker"),n.consume(r),n.exit("referenceMarker"),e};function e(e){return 93===e?(n.enter("referenceMarker"),n.consume(e),n.exit("referenceMarker"),n.exit("reference"),r):T(e)}}};n.exports={name:"labelEnd",tokenize:function(n,r,T){for(var e,t,E=this,i=E.events.length;i--;)if(("labelImage"===E.events[i][1].type||"labelLink"===E.events[i][1].type)&&!E.events[i][1]._balanced){e=E.events[i][1];break}return function(r){return e?e._inactive?D(r):(t=E.parser.defined.indexOf(A(E.sliceSerialize({start:e.end,end:E.now()})))>-1,n.enter("labelEnd"),n.enter("labelMarker"),n.consume(r),n.exit("labelMarker"),n.exit("labelEnd"),a):T(r)};function a(T){return 40===T?n.attempt(R,r,t?r:D)(T):91===T?n.attempt(s,r,t?n.attempt(N,r,D):D)(T):t?r(T):D(T)}function D(n){return e._balanced=!0,T(n)}},resolveTo:function(n,r){for(var T,e,A,D,o,S,F,R=n.length,s=0;R--;)if(D=n[R][1],o){if("link"===D.type||"labelLink"===D.type&&D._inactive)break;"enter"===n[R][0]&&"labelLink"===D.type&&(D._inactive=!0)}else if(S){if("enter"===n[R][0]&&("labelImage"===D.type||"labelLink"===D.type)&&!D._balanced&&(o=R,"labelLink"!==D.type)){s=2;break}}else"labelEnd"===D.type&&(S=R);return T={type:"labelLink"===n[o][1].type?"link":"image",start:a(n[o][1].start),end:a(n[n.length-1][1].end)},e={type:"label",start:a(n[o][1].start),end:a(n[S][1].end)},A={type:"labelText",start:a(n[o+s+2][1].end),end:a(n[S-2][1].start)},F=t(F=[["enter",T,r],["enter",e,r]],n.slice(o+1,o+s+3)),F=t(F,[["enter",A,r]]),F=t(F,i(r.parser.constructs.insideSpan.null,n.slice(o+s+4,S-3),r)),F=t(F,[["exit",A,r],n[S-2],n[S-1],["exit",e,r]]),F=t(F,n.slice(S+1)),F=t(F,[["exit",T,r]]),E(n,o,n.length,F),n},resolveAll:function(n){for(var r,T=-1;++T-1?void 0:4)(t)}}},exit:function(n){n.exit(this.containerState.type)}},S={tokenize:function(n,r,T){var e=this;return i(n,function(n){return t(n)||!E(e.events,"listItemPrefixWhitespace")?T(n):r(n)},"listItemPrefixWhitespace",e.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},F={tokenize:function(n,r,T){var e=this;return i(n,function(n){return E(e.events,"listItemIndent")===e.containerState.size?r(n):T(n)},"listItemIndent",e.containerState.size+1)},partial:!0};n.exports=o},74719:function(n,r,T){"use strict";var e=T(97446),t=T(71620);n.exports={tokenize:function(n,r,T){return t(n,function(n){return null===n||e(n)?r(n):T(n)},"linePrefix")},partial:!0}},47937:function(n,r,T){"use strict";var e=T(97446),t=T(57207),E=T(71620);n.exports={name:"setextUnderline",tokenize:function(n,r,T){for(var t,A,i=this,a=i.events.length;a--;)if("lineEnding"!==i.events[a][1].type&&"linePrefix"!==i.events[a][1].type&&"content"!==i.events[a][1].type){A="paragraph"===i.events[a][1].type;break}return function(r){return!i.lazy&&(i.interrupt||A)?(n.enter("setextHeadingLine"),n.enter("setextHeadingLineSequence"),t=r,function r(T){return T===t?(n.consume(T),r):(n.exit("setextHeadingLineSequence"),E(n,D,"lineSuffix")(T))}(r)):T(r)};function D(t){return null===t||e(t)?(n.exit("setextHeadingLine"),r(t)):T(t)}},resolveTo:function(n,r){for(var T,e,E,A,i=n.length;i--;)if("enter"===n[i][0]){if("content"===n[i][1].type){T=i;break}"paragraph"===n[i][1].type&&(e=i)}else"content"===n[i][1].type&&n.splice(i,1),E||"definition"!==n[i][1].type||(E=i);return A={type:"setextHeading",start:t(n[e][1].start),end:t(n[n.length-1][1].end)},n[e][1].type="setextHeadingText",E?(n.splice(e,0,["enter",A,r]),n.splice(E+1,0,["exit",n[T][1],r]),n[T][1].end=t(n[E][1].end)):n[T][1]=A,n.push(["exit",A,r]),n}}},39627:function(n,r,T){"use strict";var e=T(97446),t=T(38703),E=T(71620);n.exports={name:"thematicBreak",tokenize:function(n,r,T){var A,i=0;return function(a){return n.enter("thematicBreak"),A=a,function a(D){return D===A?(n.enter("thematicBreakSequence"),function r(T){return T===A?(n.consume(T),i++,r):(n.exit("thematicBreakSequence"),a(T))}(D)):t(D)?E(n,a,"whitespace")(D):i<3||null!==D&&!e(D)?T(D):(n.exit("thematicBreak"),r(D))}(a)}}}},56402:function(n,r,T){"use strict";var e=T(47419);n.exports=function(n,r){return n.length?(e(n,n.length,0,r),n):r}},47419:function(n,r,T){"use strict";var e=T(66121);n.exports=function(n,r,T,t){var E,A=n.length,i=0;if(r=r<0?-r>A?0:A+r:r>A?A:r,T=T>0?T:0,t.length<1e4)(E=Array.from(t)).unshift(r,T),e.apply(n,E);else for(T&&e.apply(n,[r,T]);i-1)?N():n.tokenize.call(r?e({},O,r):O,u,s,N)(T)}}function s(r){return n(D,o),t}function N(n){return(o.restore(),++as.indexOf(n)&&s.push(n),n.resolve&&A(O.events,r,O.events.length-r,n.resolve(O.events.slice(r),O)),n.resolveTo&&(O.events=n.resolveTo(O.events,O))}function m(){F.line in R&&F.column<2&&(F.column=R[F.line],F.offset+=R[F.line]-1)}}},75352:function(n){"use strict";n.exports=function(n){return null==n?[]:"length"in n?n:[n]}},21649:function(n){"use strict";n.exports=function(n,r){return n.column+=r,n.offset+=r,n._bufferIndex+=r,n}},43157:function(n){"use strict";n.exports=function(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},22525:function(n,r,T){"use strict";var e=T(74485);n.exports=function(n,r){var T=n[n.length-1];return T&&T[1].type===r?e(T[2].sliceStream(T[1])):0}},6811:function(n,r,T){"use strict";var e=T(70999);n.exports=function(n){return function(r){return n.test(e(r))}}},9664:function(n){"use strict";n.exports=function(n,r,T){for(var e,t=[],E=-1;++Et.indexOf(e)&&(r=e(r,T),t.push(e));return r}},318:function(n,r,T){"use strict";var e=T(70999);n.exports=function(n,r){var T=parseInt(n,r);return T<9||11===T||T>13&&T<32||T>126&&T<160||T>55295&&T<57344||T>64975&&T<65008||(65535&T)==65535||(65535&T)==65534||T>1114111?"�":e(T)}},93786:function(n,r,T){"use strict";var e=T(70999);n.exports=function(n){for(var r,T,t,E=-1,A=[];++E-1&&(T[0]=T[0].slice(t)),A>0&&T.push(n[E].slice(0,A))),T}},90590:function(n,r,T){"use strict";var e=T(95820),t=T(47419),E=T(57207);n.exports=function(n){for(var r,T,A,i,a,D,o,S={},F=-1;++F1:r}n.exports=function n(r,T){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},D=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=T.renderers[r.type];r.position||(r.position={start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}});var S=r.position.start,F=[r.type,S.line,S.column,D].join("-");if(!E.isValidElementType(o))throw Error("Renderer for type `".concat(r.type,"` not defined or is not renderable"));var R=function(r,T,E,a,D,o){var S,F,R={key:T},s="string"==typeof a||a===e.Fragment;E.sourcePos&&r.position&&(R["data-sourcepos"]=[(S=r.position).start.line,":",S.start.column,"-",S.end.line,":",S.end.column].map(String).join("")),E.rawSourcePos&&!s&&(R.sourcePosition=r.position),E.includeNodeIndex&&D.node&&D.node.children&&!s&&(R.index=D.node.children.indexOf(r),R.parentChildCount=D.node.children.length);var N=null!==r.identifier&&void 0!==r.identifier?E.definitions[r.identifier.toUpperCase()]||{}:null;switch(r.type){case"root":A(R,{className:E.className});break;case"text":R.nodeKey=T,R.children=r.value;break;case"heading":R.level=r.depth;break;case"list":R.start=r.start,R.ordered=r.ordered,R.spread=r.spread,R.depth=r.depth;break;case"listItem":R.checked=r.checked,R.spread=r.spread,R.ordered=r.ordered,R.index=r.index,R.children=((D&&D.node?function(n){for(var r=n.children,T=n.spread,e=-1;!T&&++e1&&void 0!==arguments[1]?arguments[1]:{};return e(n,"definition",function(n){var T=n.identifier.toUpperCase();T in r||(r[T]={href:n.url,title:n.title})}),r}},5407:function(n,r,T){"use strict";var e=T(702),t=[].splice;function E(n,r){return function(n){return e(n,T),n};function T(T,e,E){if(E&&!n(T,e,E)){var A=[e,1];return"unwrap"===r&&T.children&&(A=A.concat(T.children)),t.apply(E.children,A),e}}}r.ofType=function(n,r){return E(function(r,T,e){return!n.includes(r.type)},r)},r.ifNotMatch=E},11474:function(n,r,T){"use strict";var e=T(702),t="virtualHtml",E=/^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\s*\/?>$/i,A=/^<(\/?)([a-z]+)\s*>$/;n.exports=function(n){var r,T;return e(n,"html",function(n,e,i){T!==i&&(r=[],T=i);var a,D,o,S,F=!!(a=n.value.match(E))&&a[1];if(F)return i.children.splice(e,1,{type:t,tag:F,position:n.position}),!0;var R=!!(D=n.value.match(A))&&{tag:D[2],opening:!D[1],node:n};if(!R)return!0;var s=function(n,r){for(var T=n.length;T--;)if(n[T].tag===r)return n.splice(T,1)[0];return!1}(r,R.tag);return s?i.children.splice(e,0,(o=i.children.indexOf(R.node),S=i.children.indexOf(s.node),{type:t,children:i.children.splice(o,S-o+1).slice(1,-1),tag:R.tag,position:{start:R.node.position.start,end:s.node.position.end,indent:[]}})):R.opening||r.push(R),!0},!0),n}},4614:function(n,r,T){"use strict";var e=T(44924),t=T(98344),E=T(54898),A=T(41448),i=T(90962),a=T(11474),D=T(5407),o=T(56300),S=T(3320),F=T(43184),R=T(81640),s=T(7561),N=T(61765),c=Object.keys(s),u=function(n){var r,T,A,R,u,O=n.source||n.children||"";if(n.allowedTypes&&n.disallowedTypes)throw Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");var l=e(s,n.renderers),Z=t().use(E).use(n.plugins||[]),f=Z.runSync(Z.parse(O)),Y=e(n,{renderers:l,definitions:F(f)});return(r=[S,i()],T=n.disallowedTypes,n.allowedTypes&&(T=c.filter(function(r){return"root"!==r&&-1===n.allowedTypes.indexOf(r)})),A=n.unwrapDisallowed?"unwrap":"remove",T&&T.length>0&&r.push(D.ofType(T,A)),n.allowNode&&r.push(D.ifNotMatch(n.allowNode,A)),R=(n.allowDangerousHtml||!1===n.escapeHtml)&&!n.skipHtml,u=(n.astPlugins||[]).some(function(n){return n.identity===N.HtmlParser}),R&&!u&&r.push(a),n.astPlugins&&(r=r.concat(n.astPlugins)),r.push(o),r).forEach(function(n){f=n(f,Y)}),f};u.defaultProps={transformLinkUri:R},u.propTypes={className:A.string,source:A.string,children:A.string,sourcePos:A.bool,rawSourcePos:A.bool,escapeHtml:A.bool,allowDangerousHtml:A.bool,skipHtml:A.bool,allowNode:A.func,allowedTypes:A.arrayOf(A.oneOf(c)),disallowedTypes:A.arrayOf(A.oneOf(c)),transformLinkUri:A.oneOfType([A.func,A.bool]),linkTarget:A.oneOfType([A.func,A.string]),transformImageUri:A.func,astPlugins:A.arrayOf(A.func),unwrapDisallowed:A.bool,renderers:A.object,plugins:A.array},u.types=c,u.renderers=s,u.uriTransformer=R,n.exports=u},7561:function(n,r,T){"use strict";var e=T(44924),t=T(2265),E=parseInt((t.version||"16").slice(0,2),10)>=16,A=t.createElement;function i(n,r){return A(n,a(r),r.children)}function a(n){var r=n["data-sourcepos"];return r?{"data-sourcepos":r}:{}}n.exports={break:"br",paragraph:"p",emphasis:"em",strong:"strong",thematicBreak:"hr",blockquote:"blockquote",delete:"del",link:"a",image:"img",linkReference:"a",imageReference:"img",table:i.bind(null,"table"),tableHead:i.bind(null,"thead"),tableBody:i.bind(null,"tbody"),tableRow:i.bind(null,"tr"),tableCell:function(n){var r=n.align?{textAlign:n.align}:void 0,T=a(n);return A(n.isHeader?"th":"td",r?e({style:r},T):T,n.children)},root:function(n){var r=n.className;return A(!r&&t.Fragment||"div",r?{className:r}:null,n.children)},text:function(n){var r=n.children||"";return E?r:A("span",null,r)},list:function(n){var r=a(n);return null!==n.start&&1!==n.start&&void 0!==n.start&&(r.start=n.start.toString()),A(n.ordered?"ol":"ul",r,n.children)},listItem:function(n){var r=null;return null!==n.checked&&void 0!==n.checked&&(r=A("input",{type:"checkbox",checked:n.checked,readOnly:!0})),A("li",a(n),r,n.children)},definition:function(){return null},heading:function(n){return A("h".concat(n.level),a(n),n.children)},inlineCode:function(n){return A("code",a(n),n.children)},code:function(n){var r=n.language&&"language-".concat(n.language),T=A("code",r?{className:r}:null,n.value);return A("pre",a(n),T)},html:function(n){if(n.skipHtml)return null;var r=n.allowDangerousHtml||!1===n.escapeHtml,T=n.isBlock?"div":"span";return r?A(T,{dangerouslySetInnerHTML:{__html:n.value}}):A(t.Fragment||T,null,n.value)},virtualHtml:function(n){return A(n.tag,a(n),n.children)},parsedHtml:function(n){return n["data-sourcepos"]?t.cloneElement(n.element,{"data-sourcepos":n["data-sourcepos"]}):n.element}}},61765:function(n,r){"use strict";var T="__RMD_HTML_PARSER__";r.HtmlParser="undefined"==typeof Symbol?T:Symbol(T)},81640:function(n){"use strict";var r=["http","https","mailto","tel"];n.exports=function(n){var T=(n||"").trim(),e=T.charAt(0);if("#"===e||"/"===e)return T;var t=T.indexOf(":");if(-1===t)return T;for(var E=r.length,A=-1;++AA||-1!==(A=T.indexOf("#"))&&t>A?T:"javascript:void(0)"}},3320:function(n,r,T){"use strict";var e=T(702);function t(n){var r=n.children;n.children=[{type:"tableHead",align:n.align,children:[r[0]],position:r[0].position}],r.length>1&&n.children.push({type:"tableBody",align:n.align,children:r.slice(1),position:{start:r[1].position.start,end:r[r.length-1].position.end}})}n.exports=function(n){return e(n,"table",t),n}},54898:function(n,r,T){"use strict";n.exports=function(n){var r=this;this.Parser=function(T){return e(T,Object.assign({},r.data("settings"),n,{extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]}))}};var e=T(68949)},78501:function(n,r,T){"use strict";var e=T(91277);n.exports=E,E.wrap=e;var t=[].slice;function E(){var n=[],r={};return r.run=function(){var r=-1,T=t.call(arguments,0,-1),E=arguments[arguments.length-1];if("function"!=typeof E)throw Error("Expected function as last argument, not "+E);(function A(i){var a=n[++r],D=t.call(arguments,0),o=D.slice(1),S=T.length,F=-1;if(i){E(i);return}for(;++FA.length;i&&A.push(t);try{T=n.apply(null,A)}catch(n){if(i&&e)throw n;return t(n)}i||(T&&"function"==typeof T.then?T.then(E,t):T instanceof Error?t(T):E(T))};function t(){e||(e=!0,T.apply(null,arguments))}function E(n){t(null,n)}}},98344:function(n,r,T){"use strict";var e=T(37994),t=T(55247),E=T(6726),A=T(8919),i=T(78501),a=T(32855);n.exports=(function n(){var r,T=[],t=i(),O={},l=-1;return Z.data=function(n,T){return"string"==typeof n?2==arguments.length?(N("data",r),O[n]=T,Z):o.call(O,n)&&O[n]||null:n?(N("data",r),O=n,Z):O},Z.freeze=f,Z.attachers=T,Z.use=function(n){var e;if(N("use",r),null==n);else if("function"==typeof n)a.apply(null,arguments);else if("object"==typeof n)"length"in n?i(n):t(n);else throw Error("Expected usable value, not `"+n+"`");return e&&(O.settings=E(O.settings||{},e)),Z;function t(n){i(n.plugins),n.settings&&(e=E(e||{},n.settings))}function i(n){var r=-1;if(null==n);else if("object"==typeof n&&"length"in n)for(;++r":""))+")"),R;function R(){var t,S,F,R=o.concat(e),s=[];if((!r||a(e,D,o[o.length-1]||null))&&!1===(s=null!==(t=T(e,o))&&"object"==typeof t&&"length"in t?t:"number"==typeof t?[!0,t]:[t])[0])return s;if(e.children&&s[0]!==E)for(F=(A?e.children.length:-1)+i;F>-1&&Fi.indexOf(r)&&(this[r]=n[r])}function D(n,r){if(n&&n.indexOf(e.sep)>-1)throw Error("`"+r+"` cannot be a path: did not expect `"+e.sep+"`")}function o(n,r){if(!n)throw Error("`"+r+"` cannot be empty")}function S(n,r){if(!n)throw Error("Setting `"+r+"` requires `path` to be set too")}a.prototype.toString=function(n){return(this.contents||"").toString(n)},Object.defineProperty(a.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(n){o(n,"path"),this.path!==n&&this.history.push(n)}}),Object.defineProperty(a.prototype,"dirname",{get:function(){return"string"==typeof this.path?e.dirname(this.path):void 0},set:function(n){S(this.path,"dirname"),this.path=e.join(n||"",this.basename)}}),Object.defineProperty(a.prototype,"basename",{get:function(){return"string"==typeof this.path?e.basename(this.path):void 0},set:function(n){o(n,"basename"),D(n,"basename"),this.path=e.join(this.dirname||"",n)}}),Object.defineProperty(a.prototype,"extname",{get:function(){return"string"==typeof this.path?e.extname(this.path):void 0},set:function(n){if(D(n,"extname"),S(this.path,"extname"),n){if(46!==n.charCodeAt(0))throw Error("`extname` must start with `.`");if(n.indexOf(".",1)>-1)throw Error("`extname` cannot contain multiple dots")}this.path=e.join(this.dirname,this.stem+(n||""))}}),Object.defineProperty(a.prototype,"stem",{get:function(){return"string"==typeof this.path?e.basename(this.path,this.extname):void 0},set:function(n){o(n,"stem"),D(n,"stem"),this.path=e.join(this.dirname||"",n+(this.extname||""))}})},99235:function(n,r,T){"use strict";var e=T(45209),t=T(70579);n.exports=t,t.prototype.message=function(n,r,T){var t=new e(n,r,T);return this.path&&(t.name=this.path+":"+t.name,t.file=this.path),t.fatal=!1,this.messages.push(t),t},t.prototype.info=function(){var n=this.message.apply(this,arguments);return n.fatal=null,n},t.prototype.fail=function(){var n=this.message.apply(this,arguments);throw n.fatal=!0,n}},47631:function(n,r){"use strict";function T(n){if("string"!=typeof n)throw TypeError("Path must be a string. Received "+JSON.stringify(n))}r.basename=function(n,r){var e,t,E,A,i=0,a=-1;if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');if(T(n),e=n.length,void 0===r||!r.length||r.length>n.length){for(;e--;)if(47===n.charCodeAt(e)){if(E){i=e+1;break}}else a<0&&(E=!0,a=e+1);return a<0?"":n.slice(i,a)}if(r===n)return"";for(t=-1,A=r.length-1;e--;)if(47===n.charCodeAt(e)){if(E){i=e+1;break}}else t<0&&(E=!0,t=e+1),A>-1&&(n.charCodeAt(e)===r.charCodeAt(A--)?A<0&&(a=e):(A=-1,a=t));return i===a?a=t:a<0&&(a=n.length),n.slice(i,a)},r.dirname=function(n){var r,e,t;if(T(n),!n.length)return".";for(r=-1,t=n.length;--t;)if(47===n.charCodeAt(t)){if(e){r=t;break}}else e||(e=!0);return r<0?47===n.charCodeAt(0)?"/":".":1===r&&47===n.charCodeAt(0)?"//":n.slice(0,r)},r.extname=function(n){var r,e,t,E=-1,A=0,i=-1,a=0;for(T(n),t=n.length;t--;){if(47===(e=n.charCodeAt(t))){if(r){A=t+1;break}continue}i<0&&(r=!0,i=t+1),46===e?E<0?E=t:1!==a&&(a=1):E>-1&&(a=-1)}return E<0||i<0||0===a||1===a&&E===i-1&&E===A+1?"":n.slice(E,i)},r.join=function(){for(var n,r,e,t,E=-1;++E2){if((e=t.lastIndexOf("/"))!==t.length-1){e<0?(t="",E=0):E=(t=t.slice(0,e)).length-1-t.lastIndexOf("/"),A=a,i=0;continue}}else if(t.length){t="",E=0,A=a,i=0;continue}}r&&(t=t.length?t+"/..":"..",E=2)}else t.length?t+="/"+n.slice(A+1,a):t=n.slice(A+1,a),E=a-A-1;A=a,i=0}else 46===T&&i>-1?i++:i=-1}return t}(n,!r)).length||r||(e="."),e.length&&47===n.charCodeAt(n.length-1)&&(e+="/"),r?"/"+e:e)},r.sep="/"},61397:function(n,r){"use strict";r.cwd=function(){return"/"}},80851:function(n){"use strict";var r;n.exports=function(n){var T,e="&"+n+";";return(r=r||document.createElement("i")).innerHTML=e,(59!==(T=r.textContent).charCodeAt(T.length-1)||"semi"===n)&&T!==e&&T}},74332:function(n,r){"use strict";/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var T="function"==typeof Symbol&&Symbol.for,e=T?Symbol.for("react.element"):60103,t=T?Symbol.for("react.portal"):60106,E=T?Symbol.for("react.fragment"):60107,A=T?Symbol.for("react.strict_mode"):60108,i=T?Symbol.for("react.profiler"):60114,a=T?Symbol.for("react.provider"):60109,D=T?Symbol.for("react.context"):60110,o=T?Symbol.for("react.async_mode"):60111,S=T?Symbol.for("react.concurrent_mode"):60111,F=T?Symbol.for("react.forward_ref"):60112,R=T?Symbol.for("react.suspense"):60113,s=T?Symbol.for("react.suspense_list"):60120,N=T?Symbol.for("react.memo"):60115,c=T?Symbol.for("react.lazy"):60116,u=T?Symbol.for("react.block"):60121,O=T?Symbol.for("react.fundamental"):60117,l=T?Symbol.for("react.responder"):60118,Z=T?Symbol.for("react.scope"):60119;function f(n){if("object"==typeof n&&null!==n){var r=n.$$typeof;switch(r){case e:switch(n=n.type){case o:case S:case E:case i:case A:case R:return n;default:switch(n=n&&n.$$typeof){case D:case F:case c:case N:case a:return n;default:return r}}case t:return r}}}function Y(n){return f(n)===S}r.AsyncMode=o,r.ConcurrentMode=S,r.ContextConsumer=D,r.ContextProvider=a,r.Element=e,r.ForwardRef=F,r.Fragment=E,r.Lazy=c,r.Memo=N,r.Portal=t,r.Profiler=i,r.StrictMode=A,r.Suspense=R,r.isAsyncMode=function(n){return Y(n)||f(n)===o},r.isConcurrentMode=Y,r.isContextConsumer=function(n){return f(n)===D},r.isContextProvider=function(n){return f(n)===a},r.isElement=function(n){return"object"==typeof n&&null!==n&&n.$$typeof===e},r.isForwardRef=function(n){return f(n)===F},r.isFragment=function(n){return f(n)===E},r.isLazy=function(n){return f(n)===c},r.isMemo=function(n){return f(n)===N},r.isPortal=function(n){return f(n)===t},r.isProfiler=function(n){return f(n)===i},r.isStrictMode=function(n){return f(n)===A},r.isSuspense=function(n){return f(n)===R},r.isValidElementType=function(n){return"string"==typeof n||"function"==typeof n||n===E||n===S||n===i||n===A||n===R||n===s||"object"==typeof n&&null!==n&&(n.$$typeof===c||n.$$typeof===N||n.$$typeof===a||n.$$typeof===D||n.$$typeof===F||n.$$typeof===O||n.$$typeof===l||n.$$typeof===Z||n.$$typeof===u)},r.typeOf=f},12659:function(n,r,T){"use strict";n.exports=T(74332)},44924:function(n){n.exports=function(){for(var n={},T=0;T=8;)((r=o>>>(c-=8)&255)||ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){throw e}),f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){o=!0,i=e}),f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}(Array.isArray(e)?e:[e]);try{for(r.s();!(t=r.n()).done;){var s=t.value,i=Object.entries(s);i.length>1&&console.warn("client._buildSort() - multiple fields in a single sort object detected. Object's field order is not guaranteed");for(var a=0;a2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"created_at",s=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=s||n,a=e;n&&(a=a.filter(function(e){return!(e.id&&t.id===e.id)}));var o=a.length;if(0===o&&i)return a.concat(t);if(0===o)return(0,p.Z)(a);var c=t[r].getTime(),u=a[o-1][r].getTime()-1&&o.splice(c,1)}a.own_votes=o;var u=Y(Y({},i),{},{poll:a});r.addMessageSorted(u,!1,!1)}}),(0,m.Z)(this,"updatePoll",function(e,t){var n,s=r.findMessage(t);if(s){var i=Y(Y({},e),{},{own_votes:(0,p.Z)((null===(n=s.poll)||void 0===n?void 0:n.own_votes)||[])}),a=Y(Y({},s),{},{poll:i});r.addMessageSorted(a,!1,!1)}}),(0,m.Z)(this,"updateUserMessages",function(e){var t=function(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"latest";return this.addMessagesSorted([e],t,!1,n,r)}},{key:"formatMessage",value:function(e){return Y(Y({},e),{},{__html:e.html,pinned_at:e.pinned_at?new Date(e.pinned_at):null,created_at:e.created_at?new Date(e.created_at):new Date,updated_at:e.updated_at?new Date(e.updated_at):new Date,status:e.status||"received"})}},{key:"addMessagesSorted",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"current",i=this.findTargetMessageSet(e,r,s),a=i.messagesToAdd,o=i.targetMessageSetIndex,c=0;cthis.last_message_at.getTime()&&(this.last_message_at=new Date(h.created_at.getTime())));var d=h.parent_id;if((!d||h.show_in_channel)&&-1!==o&&(this.messageSets[o].messages=this._addToMessageList(this.messageSets[o].messages,h,t,"created_at",r)),d&&!n){var p=this.threads[d]||[];this.threads[d]=this._addToMessageList(p,h,t,"created_at",r)}}return{messageSet:this.messageSets[o]}}},{key:"addPinnedMessages",value:function(e){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"created_at",s=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return $(e,t,n,r,s)}},{key:"removeMessage",value:function(e){var t=!1;if(e.parent_id&&this.threads[e.parent_id]){var n=this.removeMessageFromArray(this.threads[e.parent_id],e),r=n.removed,s=n.result;this.threads[e.parent_id]=s,t=r}else{var i,a=null!==(i=e.messageSetIndex)&&void 0!==i?i:this.findMessageSetIndex(e);if(-1!==a){var o=this.removeMessageFromArray(this.messageSets[a].messages,e),c=o.removed,u=o.result;this.messageSets[a].messages=u,t=c}}return t}},{key:"filterErrorMessages",value:function(){var e=this.latestMessages.filter(function(e){return"error"!==e.type});this.latestMessages=e}},{key:"clean",value:function(){for(var e=new Date,t=0,n=Object.entries(this.typing);t7e3&&(delete this.typing[s],this._channel.getClient().dispatchEvent({cid:this._channel.cid,type:"typing.stop",user:{id:s}}))}}},{key:"clearMessages",value:function(){this.initMessages(),this.pinnedMessages=[]}},{key:"initMessages",value:function(){this.messageSets=[{messages:[],isLatest:!0,isCurrent:!0}]}},{key:"loadMessageIntoState",value:(e=(0,f.Z)(b().mark(function e(t,n){var r,s,i,a,o,c,u=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=u.length>2&&void 0!==u[2]?u[2]:25,a=!1,o=!1,c=n||t,"latest"!==t){e.next=10;break}if(this.messages!==this.latestMessages){e.next=7;break}return e.abrupt("return");case 7:i=this.messageSets.findIndex(function(e){return e.isLatest}),e.next=11;break;case 10:i=this.findMessageSetIndex({id:c});case 11:if(-1!==i&&(this.switchToMessageSet(i),a=!0),o=!n||!!(null!==(r=this.threads[n])&&void 0!==r&&r.find(function(e){return e.id===t})),!(a&&o)){e.next=15;break}return e.abrupt("return");case 15:if(a){e.next=18;break}return e.next=18,this._channel.query({messages:{id_around:c,limit:s}},"new");case 18:if(!(!o&&n)){e.next=21;break}return e.next=21,this._channel.getReplies(n,{id_around:t,limit:s});case 21:-1!==(i=this.findMessageSetIndex({id:c}))&&this.switchToMessageSet(i);case 23:case"end":return e.stop()}},e,this)})),function(t,n){return e.apply(this,arguments)})},{key:"findMessage",value:function(e,t){if(t){var n=this.threads[t];if(!n)return;return n.find(function(t){return t.id===e})}var r=this.findMessageSetIndex({id:e});if(-1!==r)return this.messageSets[r].messages.find(function(t){return t.id===e})}},{key:"switchToMessageSet",value:function(e){var t=this.messageSets.find(function(e){return e.isCurrent});t&&(t.isCurrent=!1,this.messageSets[e].isCurrent=!0)}},{key:"areMessageSetsOverlap",value:function(e,t){return e.some(function(e){return t.find(function(t){return e.id===t.id})})}},{key:"findMessageSetIndex",value:function(e){return this.messageSets.findIndex(function(t){return!!t.messages.find(function(t){return t.id===e.id})})}},{key:"findTargetMessageSet",value:function(e){var t,n=this,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"current",i=e;if(r){var a=this.messageSets.map(function(e,t){return t}).filter(function(t){return n.areMessageSetsOverlap(n.messageSets[t].messages,e)});switch(s){case"new":a.length>0?t=a[0]:e.some(function(e){return!e.parent_id})&&(this.messageSets.push({messages:[],isCurrent:!1,isLatest:!1}),t=this.messageSets.length-1);break;case"current":t=this.messageSets.findIndex(function(e){return e.isCurrent});break;case"latest":t=this.messageSets.findIndex(function(e){return e.isLatest});break;default:t=-1}var o=a.splice(0,1)[0],c=(0,p.Z)(a);if(void 0!==o&&o!==t&&c.push(t),c.length>0){var u=this.messageSets[o],l=this.messageSets.filter(function(e,t){return -1!==c.indexOf(t)});l.forEach(function(e){u.isLatest=u.isLatest||e.isLatest,u.isCurrent=u.isCurrent||e.isCurrent,i=[].concat((0,p.Z)(i),(0,p.Z)(e.messages))}),l.forEach(function(e){return n.messageSets.splice(n.messageSets.indexOf(e),1)}),t=this.messageSets.findIndex(function(t){return n.areMessageSetsOverlap(t.messages,e)})}}else t=this.findMessageSetIndex(e[0]);return{targetMessageSetIndex:t,messagesToAdd:i}}}]),t}();function et(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return en(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return en(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==s[1]?s[1]:{}).offset&&n.next)){e.next=3;break}throw Error("Cannot specify offset with next");case 3:if(r=es(es({filter_conditions:{cid:this.cid}},n),{},{sort:n.sort?N(n.sort):void 0}),"string"!=typeof t){e.next=8;break}r.query=t,e.next=13;break;case 8:if("object"!==(0,h.Z)(t)){e.next=12;break}r.message_filter_conditions=t,e.next=13;break;case 12:throw Error("Invalid type ".concat((0,h.Z)(t)," for query parameter"));case 13:return e.next=15,this.getClient().wsPromise;case 15:return e.next=17,this.getClient().get(this.getClient().baseURL+"/search",{payload:r});case 17:return e.abrupt("return",e.sent);case 18:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"queryMembers",value:(r=(0,f.Z)(b().mark(function e(t){var n,r,s,i,a,o,c=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:[],s=c.length>2&&void 0!==c[2]?c[2]:{},a=this.type,this.id?i=this.id:null!==(n=this.data)&&void 0!==n&&n.members&&Array.isArray(this.data.members)&&(o=this.data.members),e.next=6,this.getClient().get(this.getClient().baseURL+"/members",{payload:es({type:a,id:i,members:o,sort:N(r),filter_conditions:t},s)});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"sendReaction",value:(s=(0,f.Z)(b().mark(function e(t,n,r){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Message id is missing");case 2:if(!(!n||0===Object.keys(n).length)){e.next=4;break}throw Error("Reaction object is missing");case 4:return e.next=6,this.getClient().post(this.getClient().baseURL+"/messages/".concat(t,"/reaction"),es({reaction:n},r));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e,t,n){return s.apply(this,arguments)})},{key:"deleteReaction",value:function(e,t,n){if(this._checkInitialized(),!t||!e)throw Error("Deleting a reaction requires specifying both the message and reaction type");var r=this.getClient().baseURL+"/messages/".concat(e,"/reaction/").concat(t);return n?this.getClient().delete(r,{user_id:n}):this.getClient().delete(r,{})}},{key:"update",value:(i=(0,f.Z)(b().mark(function e(){var t,n,r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1?s[1]:void 0,r=s.length>2?s[2]:void 0,["config","cid","created_by","id","member_count","type","created_at","updated_at","last_message_at","own_capabilities"].forEach(function(e){delete t[e]}),e.next=7,this._update(es({message:n,data:t},r));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"updatePartial",value:(a=(0,f.Z)(b().mark(function e(t){var n,r,s,i;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().patch(this._channelURL(),t);case 2:return s=e.sent,i=(0,p.Z)(s.channel.own_capabilities||[]).sort().join()!==(0,p.Z)(Array.isArray(null===(n=this.data)||void 0===n?void 0:n.own_capabilities)?null===(r=this.data)||void 0===r?void 0:r.own_capabilities:[]).sort().join(),this.data=s.channel,i&&this.getClient().dispatchEvent({type:"capabilities.changed",cid:this.cid,own_capabilities:s.channel.own_capabilities}),e.abrupt("return",s);case 7:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"enableSlowMode",value:(o=(0,f.Z)(b().mark(function e(t){var n;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),{cooldown:t});case 2:return n=e.sent,this.data=n.channel,e.abrupt("return",n);case 5:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)})},{key:"disableSlowMode",value:(c=(0,f.Z)(b().mark(function e(){var t;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),{cooldown:0});case 2:return t=e.sent,this.data=t.channel,e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)})),function(){return c.apply(this,arguments)})},{key:"delete",value:(u=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().delete(this._channelURL(),es({},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return u.apply(this,arguments)})},{key:"truncate",value:(l=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().post(this._channelURL()+"/truncate",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return l.apply(this,arguments)})},{key:"acceptInvite",value:(d=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this._update(es({accept_invite:!0},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"rejectInvite",value:(y=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this._update(es({reject_invite:!0},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return y.apply(this,arguments)})},{key:"addMembers",value:(w=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(es({add_members:t,message:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return w.apply(this,arguments)})},{key:"addModerators",value:(k=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(es({add_moderators:t,message:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return k.apply(this,arguments)})},{key:"assignRoles",value:(_=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(es({assign_roles:t,message:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return _.apply(this,arguments)})},{key:"inviteMembers",value:(x=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(es({invites:t,message:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return x.apply(this,arguments)})},{key:"removeMembers",value:(Z=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(es({remove_members:t,message:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return Z.apply(this,arguments)})},{key:"demoteModerators",value:(C=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this._update(es({demote_moderators:t,message:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return C.apply(this,arguments)})},{key:"_update",value:(S=(0,f.Z)(b().mark(function e(t){var n;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL(),t);case 2:return n=e.sent,this.data=n.channel,e.abrupt("return",n);case 5:case"end":return e.stop()}},e,this)})),function(e){return S.apply(this,arguments)})},{key:"mute",value:(U=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().post(this.getClient().baseURL+"/moderation/mute/channel",es({channel_cid:this.cid},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return U.apply(this,arguments)})},{key:"unmute",value:(R=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.getClient().post(this.getClient().baseURL+"/moderation/unmute/channel",es({channel_cid:this.cid},t));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return R.apply(this,arguments)})},{key:"muteStatus",value:function(){return this._checkInitialized(),this.getClient()._muteStatus(this.cid)}},{key:"sendAction",value:function(e,t){if(this._checkInitialized(),!e)throw Error("Message id is missing");return this.getClient().post(this.getClient().baseURL+"/messages/".concat(e,"/action"),{message_id:e,form_data:t,id:this.id,type:this.type})}},{key:"keystroke",value:(O=(0,f.Z)(b().mark(function e(t,n){var r,s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isTypingIndicatorsEnabled()){e.next=2;break}return e.abrupt("return");case 2:if(r=new Date,s=this.lastTypingEvent&&r.getTime()-this.lastTypingEvent.getTime(),this.lastKeyStroke=r,this.isTyping=!0,!(null===s||s>2e3)){e.next=10;break}return this.lastTypingEvent=new Date,e.next=10,this.sendEvent(es({type:"typing.start",parent_id:t},n||{}));case 10:case"end":return e.stop()}},e,this)})),function(e,t){return O.apply(this,arguments)})},{key:"stopTyping",value:(I=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isTypingIndicatorsEnabled()){e.next=2;break}return e.abrupt("return");case 2:return this.lastTypingEvent=null,this.isTyping=!1,e.next=6,this.sendEvent(es({type:"typing.stop",parent_id:t},n||{}));case 6:case"end":return e.stop()}},e,this)})),function(e,t){return I.apply(this,arguments)})},{key:"_isTypingIndicatorsEnabled",value:function(){var e,t,n,r,s;return null!==(e=this.getConfig())&&void 0!==e&&!!e.typing_events&&(null===(t=null===(n=this.getClient().user)||void 0===n?void 0:null===(r=n.privacy_settings)||void 0===r?void 0:null===(s=r.typing_indicators)||void 0===s?void 0:s.enabled)||void 0===t||t)}},{key:"lastMessage",value:function(){var e=this.state.latestMessages.length-5;e<0&&(e=0);var t=this.state.latestMessages.length+1,n=this.state.latestMessages.slice(e,t);return n.sort(function(e,t){return t.created_at.getTime()-e.created_at.getTime()}),n[0]}},{key:"markRead",value:(M=(0,f.Z)(b().mark(function e(){var t,n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.length>0&&void 0!==r[0]?r[0]:{},this._checkInitialized(),!(!(null!==(t=this.getConfig())&&void 0!==t&&t.read_events)&&!this.getClient()._isUsingServerAuth())){e.next=4;break}return e.abrupt("return",Promise.resolve(null));case 4:return e.next=6,this.getClient().post(this._channelURL()+"/read",es({},n));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(){return M.apply(this,arguments)})},{key:"markUnread",value:(E=(0,f.Z)(b().mark(function e(t){var n;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._checkInitialized(),!(!(null!==(n=this.getConfig())&&void 0!==n&&n.read_events)&&!this.getClient()._isUsingServerAuth())){e.next=3;break}return e.abrupt("return",Promise.resolve(null));case 3:return e.next=5,this.getClient().post(this._channelURL()+"/unread",es({},t));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"clean",value:function(){this.lastKeyStroke&&new Date().getTime()-this.lastKeyStroke.getTime()>1e3&&this.isTyping&&j(this.stopTyping(),"stop typing event"),this.state.clean()}},{key:"watch",value:(L=(0,f.Z)(b().mark(function e(t){var n,r,s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={state:!0,watch:!0,presence:!1},e.next=3,this.getClient().wsPromise;case 3:return this.getClient()._hasConnectionID()||(n.watch=!1),r=es(es({},n),t),e.next=7,this.query(r,"latest");case 7:return s=e.sent,this.initialized=!0,this.data=s.channel,this._client.logger("info","channel:watch() - started watching channel ".concat(this.cid),{tags:["channel"],channel:this}),e.abrupt("return",s);case 12:case"end":return e.stop()}},e,this)})),function(e){return L.apply(this,arguments)})},{key:"stopWatching",value:(P=(0,f.Z)(b().mark(function e(){var t;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL()+"/stop-watching",{});case 2:return t=e.sent,this._client.logger("info","channel:watch() - stopped watching channel ".concat(this.cid),{tags:["channel"],channel:this}),e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)})),function(){return P.apply(this,arguments)})},{key:"getReplies",value:(T=(0,f.Z)(b().mark(function e(t,n,r){var s,i;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=r?N(r):void 0,e.next=3,this.getClient().get(this.getClient().baseURL+"/messages/".concat(t,"/replies"),es({sort:s},n));case 3:return(i=e.sent).messages&&this.state.addMessagesSorted(i.messages),e.abrupt("return",i);case 6:case"end":return e.stop()}},e,this)})),function(e,t,n){return T.apply(this,arguments)})},{key:"getPinnedMessages",value:(D=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:[],e.next=3,this.getClient().get(this.getClient().baseURL+"/channels/".concat(this.type,"/").concat(this.id,"/pinned_messages"),{payload:es(es({},t),{},{sort:N(n)})});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return D.apply(this,arguments)})},{key:"getReactions",value:function(e,t){return this.getClient().get(this.getClient().baseURL+"/messages/".concat(e,"/reactions"),es({},t))}},{key:"getMessagesById",value:function(e){return this.getClient().get(this._channelURL()+"/messages",{ids:e.join(",")})}},{key:"lastRead",value:function(){var e=this.getClient().userID;if(e)return this.state.read[e]?this.state.read[e].last_read:null}},{key:"_countMessageAsUnread",value:function(e){var t,n,r,s;return!(e.shadowed||e.silent||e.parent_id&&!e.show_in_channel||(null===(t=e.user)||void 0===t?void 0:t.id)===this.getClient().userID||null!==(n=e.user)&&void 0!==n&&n.id&&this.getClient().userMuteStatus(e.user.id)||"system"===e.type||Array.isArray(null===(r=this.data)||void 0===r?void 0:r.own_capabilities)&&!(null!==(s=this.data)&&void 0!==s&&s.own_capabilities.includes("read-events")))&&!this.muteStatus().muted}},{key:"countUnread",value:function(e){if(!e)return this.state.unreadCount;for(var t=0,n=0;ne&&this._countMessageAsUnread(r)&&t++}return t}},{key:"countUnreadMentions",value:function(){for(var e=this.lastRead(),t=this.getClient().userID,n=0,r=0;re)&&null!==(s=i.mentioned_users)&&void 0!==s&&s.some(function(e){return e.id===t})&&n++}return n}},{key:"query",value:(A=(0,f.Z)(b().mark(function e(t){var n,r,s,i,a,o,c,u,l,h=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=h.length>1&&void 0!==h[1]?h[1]:"current",e.next=3,this.getClient().wsPromise;case 3:return i="".concat(this.getClient().baseURL,"/channels/").concat(this.type),this.id&&(i+="/".concat(this.id)),e.next=7,this.getClient().post(i+"/query",es({data:this._data,state:!0},t));case 7:return a=e.sent,this.id||(this.id=a.channel.id,this.cid=a.channel.cid,o=a.members.map(function(e){var t;return e.user_id||(null===(t=e.user)||void 0===t?void 0:t.id)}).sort().join(","),(c="".concat(this.type,":!members-").concat(o))in this.getClient().activeChannels&&delete this.getClient().activeChannels[c],this.cid in this.getClient().activeChannels||(this.getClient().activeChannels[this.cid]=this)),this.getClient()._addChannelConfig(a.channel),u=this._initializeState(a,s).messageSet,l=(0,p.Z)(a.channel.own_capabilities||[]).sort().join()!==(0,p.Z)(Array.isArray(null===(n=this.data)||void 0===n?void 0:n.own_capabilities)?null===(r=this.data)||void 0===r?void 0:r.own_capabilities:[]).sort().join(),this.data=a.channel,this.offlineMode=!1,l&&this.getClient().dispatchEvent({type:"capabilities.changed",cid:this.cid,own_capabilities:a.channel.own_capabilities}),this.getClient().dispatchEvent({type:"channels.queried",queriedChannels:{channels:[a],isLatestMessageSet:u.isLatest}}),e.abrupt("return",a);case 17:case"end":return e.stop()}},e,this)})),function(e){return A.apply(this,arguments)})},{key:"banUser",value:(F=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().banUser(t,es(es({},n),{},{type:this.type,id:this.id}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return F.apply(this,arguments)})},{key:"hide",value:(q=(0,f.Z)(b().mark(function e(){var t,n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:null,n=r.length>1&&void 0!==r[1]&&r[1],this._checkInitialized(),e.next=5,this.getClient().post("".concat(this._channelURL(),"/hide"),{user_id:t,clear_history:n});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return q.apply(this,arguments)})},{key:"show",value:(W=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:null,this._checkInitialized(),e.next=4,this.getClient().post("".concat(this._channelURL(),"/show"),{user_id:t});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return W.apply(this,arguments)})},{key:"unbanUser",value:(B=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().unbanUser(t,{type:this.type,id:this.id});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return B.apply(this,arguments)})},{key:"shadowBan",value:(z=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().shadowBan(t,es(es({},n),{},{type:this.type,id:this.id}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return z.apply(this,arguments)})},{key:"removeShadowBan",value:(H=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkInitialized(),e.next=3,this.getClient().removeShadowBan(t,{type:this.type,id:this.id});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return H.apply(this,arguments)})},{key:"createCall",value:(V=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().post(this._channelURL()+"/call",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return V.apply(this,arguments)})},{key:"vote",value:(J=(0,f.Z)(b().mark(function e(t,n,r){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().castPollVote(t,n,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return J.apply(this,arguments)})},{key:"removeVote",value:(K=(0,f.Z)(b().mark(function e(t,n,r){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getClient().removePollVote(t,n,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return K.apply(this,arguments)})},{key:"on",value:function(e,t){var n=this,r=t?e:"all",s=t||e;return r in this.listeners||(this.listeners[r]=[]),this._client.logger("info","Attaching listener for ".concat(r," event on channel ").concat(this.cid),{tags:["event","channel"],channel:this}),this.listeners[r].push(s),{unsubscribe:function(){n._client.logger("info","Removing listener for ".concat(r," event from channel ").concat(n.cid),{tags:["event","channel"],channel:n}),n.listeners[r]=n.listeners[r].filter(function(e){return e!==s})}}}},{key:"off",value:function(e,t){var n=t?e:"all",r=t||e;n in this.listeners||(this.listeners[n]=[]),this._client.logger("info","Removing listener for ".concat(n," event from channel ").concat(this.cid),{tags:["event","channel"],channel:this}),this.listeners[n]=this.listeners[n].filter(function(e){return e!==r})}},{key:"_handleChannelEvent",value:function(e){this._client.logger("info","channel:_handleChannelEvent - Received event of type { ".concat(e.type," } on ").concat(this.cid),{tags:["event","channel"],channel:this});var t,n,r,s,i,a,o,c,u=this.state;switch(e.type){case"typing.start":null!==(f=e.user)&&void 0!==f&&f.id&&(u.typing[e.user.id]=e);break;case"typing.stop":null!==(v=e.user)&&void 0!==v&&v.id&&delete u.typing[e.user.id];break;case"message.read":null!==(g=e.user)&&void 0!==g&&g.id&&e.created_at&&(u.read[e.user.id]={last_read:new Date(e.created_at),last_read_message_id:e.last_read_message_id,user:e.user,unread_messages:0},(null===(S=e.user)||void 0===S?void 0:S.id)===(null===(U=this.getClient().user)||void 0===U?void 0:U.id)&&(u.unreadCount=0));break;case"user.watching.start":case"user.updated":null!==(m=e.user)&&void 0!==m&&m.id&&(u.watchers[e.user.id]=e.user);break;case"user.watching.stop":null!==(y=e.user)&&void 0!==y&&y.id&&delete u.watchers[e.user.id];break;case"message.deleted":e.message&&(this._extendEventWithOwnReactions(e),e.hard_delete?u.removeMessage(e.message):u.addMessageSorted(e.message,!1,!1),u.removeQuotedMessageReferences(e.message),e.message.pinned&&u.removePinnedMessage(e.message));break;case"message.new":if(e.message){var l,h,d,p,f,v,g,m,y,b,w,k,_,x,Z,C,S,U,R,O,I,M=(null===(R=e.user)||void 0===R?void 0:R.id)===(null===(O=this.getClient().user)||void 0===O?void 0:O.id),E=e.message.parent_id&&!e.message.show_in_channel;if((this.state.isUpToDate||E)&&u.addMessageSorted(e.message,M),e.message.pinned&&u.addPinnedMessage(e.message),M||E)break;if(null!==(I=e.user)&&void 0!==I&&I.id)for(var L in u.read)L===e.user.id?u.read[e.user.id]={last_read:new Date(e.created_at),user:e.user,unread_messages:0}:u.read[L].unread_messages+=1;this._countMessageAsUnread(e.message)&&(u.unreadCount=u.unreadCount+1)}break;case"message.updated":case"message.undeleted":e.message&&(this._extendEventWithOwnReactions(e),u.addMessageSorted(e.message,!1,!1),u._updateQuotedMessageReferences({message:e.message}),e.message.pinned?u.addPinnedMessage(e.message):u.removePinnedMessage(e.message));break;case"channel.truncated":if(null!==(b=e.channel)&&void 0!==b&&b.truncated_at){var P=+new Date(e.channel.truncated_at);u.messageSets.forEach(function(e,t){e.messages.forEach(function(e){var n=e.created_at,r=e.id;P>+n&&u.removeMessage({id:r,messageSetIndex:t})})}),u.pinnedMessages.forEach(function(e){var t=e.id;P>+e.created_at&&u.removePinnedMessage({id:t})})}else u.clearMessages();u.unreadCount=0,e.message&&(u.addMessageSorted(e.message),e.message.pinned&&u.addPinnedMessage(e.message));break;case"member.added":case"member.updated":null!==(w=e.member)&&void 0!==w&&w.user_id&&(u.members[e.member.user_id]=e.member);break;case"member.removed":null!==(k=e.user)&&void 0!==k&&k.id&&delete u.members[e.user.id];break;case"notification.mark_unread":if(!((null===(T=e.user)||void 0===T?void 0:T.id)===(null===(D=this.getClient().user)||void 0===D?void 0:D.id)&&e.user))break;var T,D,A,j=null!==(A=e.unread_messages)&&void 0!==A?A:0;u.read[e.user.id]={first_unread_message_id:e.first_unread_message_id,last_read:new Date(e.last_read_at),last_read_message_id:e.last_read_message_id,user:e.user,unread_messages:j},u.unreadCount=j;break;case"channel.updated":e.channel&&((null===(t=e.channel)||void 0===t?void 0:t.frozen)!==void 0&&e.channel.frozen!==(null===(n=this.data)||void 0===n?void 0:n.frozen)&&this.query({state:!1,messages:{limit:0},watchers:{limit:0}}),this.data=es(es({},e.channel),{},{hidden:null!==(r=null===(s=e.channel)||void 0===s?void 0:s.hidden)&&void 0!==r?r:null===(i=this.data)||void 0===i?void 0:i.hidden,own_capabilities:null!==(a=null===(o=e.channel)||void 0===o?void 0:o.own_capabilities)&&void 0!==a?a:null===(c=this.data)||void 0===c?void 0:c.own_capabilities}));break;case"poll.updated":e.poll&&u.updatePoll(e.poll,(null===(l=e.message)||void 0===l?void 0:l.id)||"");break;case"poll.vote_casted":e.poll_vote&&e.poll&&u.addPollVote(e.poll_vote,e.poll,(null===(h=e.message)||void 0===h?void 0:h.id)||"");break;case"poll.vote_changed":e.poll_vote&&e.poll&&u.updatePollVote(e.poll_vote,e.poll,(null===(d=e.message)||void 0===d?void 0:d.id)||"");break;case"poll.vote_removed":e.poll_vote&&e.poll&&u.removePollVote(e.poll_vote,e.poll,(null===(p=e.message)||void 0===p?void 0:p.id)||"");break;case"poll.closed":e.message&&u.addMessageSorted(e.message,!1,!1);break;case"reaction.new":e.message&&e.reaction&&(e.message=u.addReaction(e.reaction,e.message));break;case"reaction.deleted":e.reaction&&(e.message=u.removeReaction(e.reaction,e.message));break;case"reaction.updated":e.reaction&&(e.message=u.addReaction(e.reaction,e.message,!0));break;case"channel.hidden":this.data=es(es({},this.data),{},{hidden:!0}),e.clear_history&&u.clearMessages();break;case"channel.visible":this.data=es(es({},this.data),{},{hidden:!1});break;case"user.banned":if(!(null!==(_=e.user)&&void 0!==_&&_.id))break;u.members[e.user.id]=es(es({},u.members[e.user.id]||{}),{},{shadow_banned:!!e.shadow,banned:!e.shadow,user:es(es({},(null===(x=u.members[e.user.id])||void 0===x?void 0:x.user)||{}),e.user)});break;case"user.unbanned":if(!(null!==(Z=e.user)&&void 0!==Z&&Z.id))break;u.members[e.user.id]=es(es({},u.members[e.user.id]||{}),{},{shadow_banned:!1,banned:!1,user:es(es({},(null===(C=u.members[e.user.id])||void 0===C?void 0:C.user)||{}),e.user)})}void 0!==e.watcher_count&&(this.state.watcher_count=e.watcher_count)}},{key:"_checkInitialized",value:function(){if(!this.initialized&&!this.offlineMode&&!this.getClient()._isUsingServerAuth())throw Error("Channel ".concat(this.cid," hasn't been initialized yet. Make sure to call .watch() and wait for it to resolve"))}},{key:"_initializeState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"latest",n=this.getClient(),r=n.state,s=n.user,i=n.userID;if(e.members){var a,o=et(e.members);try{for(o.s();!(a=o.n()).done;){var c=a.value;c.user&&r.updateUserReference(c.user,this.cid)}}catch(e){o.e(e)}finally{o.f()}}this.state.membership=e.membership||{};var u=e.messages||[];this.state.messages||this.state.initMessages();var l=this.state.addMessagesSorted(u,!1,!0,!0,t).messageSet;if(this.state.pinnedMessages||(this.state.pinnedMessages=[]),this.state.addPinnedMessages(e.pinned_messages||[]),e.pending_messages&&(this.state.pending_messages=e.pending_messages),void 0!==e.watcher_count&&(this.state.watcher_count=e.watcher_count),e.watchers){var h,d=et(e.watchers);try{for(d.s();!(h=d.n()).done;){var p=h.value;p&&(r.updateUserReference(p,this.cid),this.state.watchers[p.id]=p)}}catch(e){d.e(e)}finally{d.f()}}if(null!=i){var f=this.state.last_message_at||new Date;s&&(this.state.read[s.id]={user:s,last_read:f,unread_messages:0})}if(e.read){var v,g=et(e.read);try{for(g.s();!(v=g.n()).done;){var m,y=v.value;this.state.read[y.user.id]={last_read:new Date(y.last_read),last_read_message_id:y.last_read_message_id,unread_messages:null!==(m=y.unread_messages)&&void 0!==m?m:0,user:y.user},y.user.id===(null==s?void 0:s.id)&&(this.state.unreadCount=this.state.read[y.user.id].unread_messages)}}catch(e){g.e(e)}finally{g.f()}}return e.members&&(this.state.members=e.members.reduce(function(e,t){return t.user&&(e[t.user.id]=t),e},{})),{messageSet:l}}},{key:"_extendEventWithOwnReactions",value:function(e){if(e.message){var t=this.state.findMessage(e.message.id,e.message.parent_id);t&&(e.message.own_reactions=t.own_reactions)}}},{key:"_disconnect",value:function(){this._client.logger("info","channel:disconnect() - Disconnecting the channel ".concat(this.cid),{tags:["connection","channel"],channel:this}),this.disconnected=!0,this.state.setIsUpToDate(!1)}}]),Q}();function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.updateUser(r)}}catch(e){n.e(e)}finally{n.f()}}},{key:"updateUser",value:function(e){null!=e&&(this.users[e.id]=e)}},{key:"updateUserReference",value:function(e,t){null!=e&&(this.updateUser(e),this.userChannelReferences[e.id]||(this.userChannelReferences[e.id]={}),this.userChannelReferences[e.id][t]=!0)}},{key:"deleteAllChannelReference",value:function(e){for(var t in this.userChannelReferences)delete this.userChannelReferences[t][e]}}]),e}();function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eu(e){for(var t=1;t1)||void 0===arguments[1]||arguments[1];void 0!==e.code&&(n=e.code,r="unknown",s=e.reason),void 0!==e.error&&(n=e.error.code,r=e.error.StatusCode,s=e.error.message),t._log("_errorFromWSEvent() - WS failed with code ".concat(n),{event:e},"warn");var a=Error("WS failed with code ".concat(n," and reason - ").concat(s));return a.code=n,a.StatusCode=r,a.isWSFailure=i,a}),(0,m.Z)(this,"_setupConnectionPromise",function(){t.isResolved=!1,t.connectionOpen=new Promise(function(e,n){t.resolvePromise=e,t.rejectPromise=n})}),(0,m.Z)(this,"scheduleNextPing",function(){t.healthCheckTimeoutRef&&clearTimeout(t.healthCheckTimeoutRef),t.healthCheckTimeoutRef=setTimeout(function(){var e,n=[{type:"health.check",client_id:t.client.clientID}];try{null===(e=t.ws)||void 0===e||e.send(JSON.stringify(n))}catch(e){}},t.pingInterval)}),(0,m.Z)(this,"scheduleConnectionCheck",function(){t.connectionCheckTimeoutRef&&clearTimeout(t.connectionCheckTimeoutRef),t.connectionCheckTimeoutRef=setTimeout(function(){var e=new Date;t.lastEvent&&e.getTime()-t.lastEvent.getTime()>t.connectionCheckTimeout&&(t._log("scheduleConnectionCheck - going to reconnect"),t._setHealth(!1),t._reconnect())},t.connectionCheckTimeout)}),this.client=n,this.consecutiveFailures=0,this.totalFailures=0,this.isConnecting=!1,this.isDisconnected=!1,this.isResolved=!1,this.isHealthy=!1,this.wsID=1,this.lastEvent=null,this.pingInterval=25e3,this.connectionCheckTimeout=this.pingInterval+1e4,J(this.onlineStatusChanged)}return(0,g.Z)(s,[{key:"_log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(n,"connection:"+e,function(e){for(var t=1;t0&&void 0!==r[0]?r[0]:15e3,!this.isConnecting){e.next=3;break}throw Error("You've called connect twice, can only attempt 1 connection at the time");case 3:return this.isDisconnected=!1,e.prev=4,e.next=7,this._connect();case 7:n=e.sent,this.consecutiveFailures=0,this._log("connect() - Established ws connection with healthcheck: ".concat(n)),e.next=23;break;case 12:if(e.prev=12,e.t0=e.catch(4),this.isHealthy=!1,this.consecutiveFailures+=1,!(e.t0.code===W.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())){e.next=21;break}this._log("connect() - WS failure due to expired token, so going to try to reload token and reconnect"),this._reconnect({refreshToken:!0}),e.next=23;break;case 21:if(e.t0.isWSFailure){e.next=23;break}throw Error(JSON.stringify({code:e.t0.code,StatusCode:e.t0.StatusCode,message:e.t0.message,isWSFailure:e.t0.isWSFailure}));case 23:return e.next=25,this._waitForHealthy(t);case 25:return e.abrupt("return",e.sent);case 26:case"end":return e.stop()}},e,this,[[4,12]])})),function(){return e.apply(this,arguments)})},{key:"_waitForHealthy",value:(t=(0,f.Z)(b().mark(function e(){var t,n=this,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:15e3,e.abrupt("return",Promise.race([(0,f.Z)(b().mark(function e(){var r,s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=50,s=0;case 2:if(!(s<=t)){e.next=18;break}return e.prev=3,e.next=6,n.connectionOpen;case 6:return e.abrupt("return",e.sent);case 9:if(e.prev=9,e.t0=e.catch(3),s!==t){e.next=13;break}throw Error(JSON.stringify({code:e.t0.code,StatusCode:e.t0.StatusCode,message:e.t0.message,isWSFailure:e.t0.isWSFailure}));case 13:return e.next=15,F(r);case 15:s+=r,e.next=2;break;case 18:case"end":return e.stop()}},e,null,[[3,9]])}))(),(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F(t);case 2:throw n.isConnecting=!1,Error(JSON.stringify({code:"",StatusCode:"",message:"initial WS connection could not be established",isWSFailure:!0}));case 4:case"end":return e.stop()}},e)}))()]));case 2:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)})},{key:"disconnect",value:function(e){var t,n=this;this._log("disconnect() - Closing the websocket connection for wsID ".concat(this.wsID)),this.wsID+=1,this.isConnecting=!1,this.isDisconnected=!0,this.healthCheckTimeoutRef&&clearInterval(this.healthCheckTimeoutRef),this.connectionCheckTimeoutRef&&clearInterval(this.connectionCheckTimeoutRef),K(this.onlineStatusChanged),this.isHealthy=!1,this.ws&&this.ws.removeAllListeners&&this.ws.removeAllListeners();var r=this.ws;return r&&r.close&&r.readyState===r.OPEN?(t=new Promise(function(t){var s=function(e){n._log("disconnect() - resolving isClosedPromise ".concat(e?"with":"without"," close frame"),{event:e}),t()};r.onclose=s,setTimeout(s,null!=e?e:1e3)}),this._log("disconnect() - Manually closed connection by calling client.disconnect()"),r.close(W.WS_CLOSED_SUCCESS,"Manually closed connection by calling client.disconnect()")):(this._log("disconnect() - ws connection doesn't exist or it is already closed."),t=Promise.resolve()),delete this.ws,t}},{key:"_connect",value:(n=(0,f.Z)(b().mark(function e(){var t,n,r,s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this.isConnecting||this.isDisconnected&&this.client.options.enableWSFallback)){e.next=2;break}return e.abrupt("return");case 2:return this.isConnecting=!0,this.requestID=H(),this.client.insightMetrics.connectionStartTimestamp=new Date().getTime(),t=!1,e.prev=6,this._log("_connect() - waiting for token"),e.next=10,this.client.tokenManager.tokenReady();case 10:t=!0,e.next=15;break;case 13:e.prev=13,e.t0=e.catch(6);case 15:if(e.prev=15,t){e.next=20;break}return this._log("_connect() - tokenProvider failed before, so going to retry"),e.next=20,this.client.tokenManager.loadToken();case 20:return this._setupConnectionPromise(),n=this._buildUrl(),this._log("_connect() - Connecting to ".concat(n),{wsURL:n,requestID:this.requestID}),this.ws=new(C())(n),this.ws.onopen=this.onopen.bind(this,this.wsID),this.ws.onclose=this.onclose.bind(this,this.wsID),this.ws.onerror=this.onerror.bind(this,this.wsID),this.ws.onmessage=this.onmessage.bind(this,this.wsID),e.next=30,this.connectionOpen;case 30:if(r=e.sent,this.isConnecting=!1,!r){e.next=36;break}return this.connectionID=r.connection_id,this.client.insightMetrics.wsConsecutiveFailures>0&&this.client.options.enableInsights&&(eh("ws_success_after_failure",ed(this)),this.client.insightMetrics.wsConsecutiveFailures=0),e.abrupt("return",r);case 36:e.next=44;break;case 38:throw e.prev=38,e.t1=e.catch(15),this.isConnecting=!1,this._log("_connect() - Error - ",e.t1),this.client.options.enableInsights&&(this.client.insightMetrics.wsConsecutiveFailures++,this.client.insightMetrics.wsTotalFailures++,s=eu(eu({},function(e){var t={};if(!e)return t;try{Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})}catch(e){return{error:"failed to serialize the error"}}return t}(e.t1)),ed(this)),null==eh||eh("ws_fatal",s)),e.t1;case 44:case"end":return e.stop()}},e,this,[[6,13],[15,38]])})),function(){return n.apply(this,arguments)})},{key:"_reconnect",value:(r=(0,f.Z)(b().mark(function e(){var t,n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&void 0!==r[0]?r[0]:{},this._log("_reconnect() - Initiating the reconnect"),!(this.isConnecting||this.isHealthy)){e.next=5;break}return this._log("_reconnect() - Abort (1) since already connecting or healthy"),e.abrupt("return");case 5:return(n=t.interval)||(n=B(this.consecutiveFailures)),e.next=9,F(n);case 9:if(!(this.isConnecting||this.isHealthy)){e.next=12;break}return this._log("_reconnect() - Abort (2) since already connecting or healthy"),e.abrupt("return");case 12:if(!(this.isDisconnected&&this.client.options.enableWSFallback)){e.next=15;break}return this._log("_reconnect() - Abort (3) since disconnect() is called"),e.abrupt("return");case 15:if(this._log("_reconnect() - Destroying current WS connection"),this._destroyCurrentWSConnection(),!t.refreshToken){e.next=20;break}return e.next=20,this.client.tokenManager.loadToken();case 20:return e.prev=20,e.next=23,this._connect();case 23:return this._log("_reconnect() - Waiting for recoverCallBack"),e.next=26,this.client.recoverState();case 26:this._log("_reconnect() - Finished recoverCallBack"),this.consecutiveFailures=0,e.next=38;break;case 30:if(e.prev=30,e.t0=e.catch(20),this.isHealthy=!1,this.consecutiveFailures+=1,!(e.t0.code===W.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())){e.next=37;break}return this._log("_reconnect() - WS failure due to expired token, so going to try to reload token and reconnect"),e.abrupt("return",this._reconnect({refreshToken:!0}));case 37:e.t0.isWSFailure&&(this._log("_reconnect() - WS failure, so going to try to reconnect"),this._reconnect());case 38:this._log("_reconnect() - == END ==");case 39:case"end":return e.stop()}},e,this,[[20,30]])})),function(){return r.apply(this,arguments)})},{key:"_destroyCurrentWSConnection",value:function(){this.wsID+=1;try{var e,t;this===null||void 0===this||null===(e=this.ws)||void 0===e||e.removeAllListeners(),this===null||void 0===this||null===(t=this.ws)||void 0===t||t.close()}catch(e){}}}]),s}();function ev(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(arguments.length>3&&void 0!==arguments[3]&&arguments[3],"string"!=typeof t)throw TypeError("userId should be a string");throw!function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=(0,l.Z)({algorithm:"HS256",noTimestamp:!0},t);return null.sign({server:!0},e,n)}var ey=function e(t){var n,r=this;(0,v.Z)(this,e),(0,m.Z)(this,"loadTokenPromise",void 0),(0,m.Z)(this,"type",void 0),(0,m.Z)(this,"secret",void 0),(0,m.Z)(this,"token",void 0),(0,m.Z)(this,"tokenProvider",void 0),(0,m.Z)(this,"user",void 0),(0,m.Z)(this,"setTokenOrProvider",(n=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.validateToken(t,n),r.user=n,q(t)&&(r.tokenProvider=t,r.type="provider"),"string"==typeof t&&(r.token=t,r.type="static"),!t&&r.user&&r.secret&&(r.token=eg(r.secret,n.id,{},{}),r.type="static"),e.next=7,r.loadToken();case 7:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)})),(0,m.Z)(this,"reset",function(){r.token=void 0,r.user=void 0,r.loadTokenPromise=null}),(0,m.Z)(this,"validateToken",function(e,t){if(!t||!t.anon||e){if(!r.secret&&!e)throw Error("User token can not be empty");if(e&&"string"!=typeof e&&!q(e))throw Error("user token should either be a string or a function");if("string"==typeof e){if(t.anon&&""===e)return;var n,s=3!==(n=e.split(".")).length?"":JSON.parse(P(n[1])).user_id;if(null!=e&&(null==s||""===s||s!==t.id))throw Error("userToken does not have a user_id or is not matching with user.id")}}}),(0,m.Z)(this,"tokenReady",function(){return r.loadTokenPromise}),(0,m.Z)(this,"loadToken",function(){var e;return r.loadTokenPromise=new Promise((e=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("static"!==r.type){e.next=2;break}return e.abrupt("return",t(r.token));case 2:if(!(r.tokenProvider&&"string"!=typeof r.tokenProvider)){e.next=13;break}return e.prev=3,e.next=6,r.tokenProvider();case 6:r.token=e.sent,e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(3),e.abrupt("return",n(Error("Call to tokenProvider failed with message: ".concat(e.t0))));case 12:t(r.token);case 13:case"end":return e.stop()}},e,null,[[3,9]])})),function(t,n){return e.apply(this,arguments)})),r.loadTokenPromise}),(0,m.Z)(this,"getToken",function(){if(r.token||r.user&&r.user.anon&&!r.token)return r.token;if(r.secret)return em(r.secret);throw Error("Both secret and user tokens are not set. Either client.connectUser wasn't called or client.disconnect was called")}),(0,m.Z)(this,"isStatic",function(){return"static"===r.type}),this.loadTokenPromise=null,t&&(this.secret=t),this.type="static",this.secret&&(this.token=em(this.secret))},eb={"-1":{name:"InternalSystemError",retryable:!0},2:{name:"AccessKeyError",retryable:!1},3:{name:"AuthenticationFailedError",retryable:!0},4:{name:"InputError",retryable:!1},6:{name:"DuplicateUsernameError",retryable:!1},9:{name:"RateLimitError",retryable:!0},16:{name:"DoesNotExistError",retryable:!1},17:{name:"NotAllowedError",retryable:!1},18:{name:"EventNotSupportedError",retryable:!1},19:{name:"ChannelFeatureNotSupportedError",retryable:!1},20:{name:"MessageTooLongError",retryable:!1},21:{name:"MultipleNestingLevelError",retryable:!1},22:{name:"PayloadTooBigError",retryable:!1},23:{name:"RequestTimeoutError",retryable:!0},24:{name:"MaxHeaderSizeExceededError",retryable:!1},40:{name:"AuthErrorTokenExpired",retryable:!1},41:{name:"AuthErrorTokenNotValidYet",retryable:!1},42:{name:"AuthErrorTokenUsedBeforeIssuedAt",retryable:!1},43:{name:"AuthErrorTokenSignatureInvalid",retryable:!1},44:{name:"CustomCommandEndpointMissingError",retryable:!1},45:{name:"CustomCommandEndpointCallError",retryable:!0},46:{name:"ConnectionIDNotFoundError",retryable:!1},60:{name:"CoolDownError",retryable:!0},69:{name:"ErrWrongRegion",retryable:!1},70:{name:"ErrQueryChannelPermissions",retryable:!1},71:{name:"ErrTooManyConnections",retryable:!0},99:{name:"AppSuspendedError",retryable:!1}};function ew(e){if(!e.code)return!1;var t=eb["".concat(e.code)];return!!t&&t.retryable}function ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e_(e){for(var t=1;t0&&void 0!==s[0]&&s[0],r.state!==o.Connecting){e.next=4;break}return r._log("connect() - connecting already in progress",{reconnect:t},"warn"),e.abrupt("return");case 4:if(r.state!==o.Connected){e.next=7;break}return r._log("connect() - already connected and polling",{reconnect:t},"warn"),e.abrupt("return");case 7:return r._setState(o.Connecting),r.connectionID=void 0,e.prev=9,e.next=12,r._req({json:r.client._buildWSPayload()},{timeout:8e3},t);case 12:return n=e.sent.event,r._setState(o.Connected),r.connectionID=n.connection_id,r.client.dispatchEvent(n),r._poll(),t&&r.client.recoverState(),e.abrupt("return",n);case 22:throw e.prev=22,e.t0=e.catch(9),r._setState(o.Closed),e.t0;case 26:case"end":return e.stop()}},e,null,[[9,22]])}))),(0,m.Z)(this,"isHealthy",function(){return!!r.connectionID&&r.state===o.Connected}),(0,m.Z)(this,"disconnect",(0,f.Z)(b().mark(function e(){var t,n,s,i=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>0&&void 0!==i[0]?i[0]:2e3,K(r._onlineStatusChanged),r._setState(o.Disconnected),null===(t=r.cancelToken)||void 0===t||t.cancel("disconnect() is called"),r.cancelToken=void 0,s=r.connectionID,r.connectionID=void 0,e.prev=7,e.next=10,r._req({close:!0,connection_id:s},{timeout:n},!1);case 10:r._log("disconnect() - Closed connectionID"),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),r._log("disconnect() - Failed",{err:e.t0},"error");case 16:case"end":return e.stop()}},e,null,[[7,13]])}))),this.client=s,this.state=o.Init,this.consecutiveFailures=0,J(this._onlineStatusChanged)}return(0,g.Z)(e,[{key:"_log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(n,"WSConnectionFallback:"+e,e_({tags:["connection_fallback","connection"]},t))}},{key:"_setState",value:function(e){this._log("_setState() - ".concat(e)),this.state===o.Connecting&&e===o.Connected&&this.client.dispatchEvent({type:"connection.changed",online:!0}),(e===o.Closed||e===o.Disconnected)&&this.client.dispatchEvent({type:"connection.changed",online:!1}),this.state=e}}]),e}(),eZ=function(){var e,t,n,r,s,i;function a(e,t,n){(0,v.Z)(this,a),(0,m.Z)(this,"id",void 0),(0,m.Z)(this,"data",void 0),(0,m.Z)(this,"client",void 0),this.client=e,this.id=t,this.data=n}return(0,g.Z)(a,[{key:"create",value:(e=(0,f.Z)(b().mark(function e(){var t,n,r,s,i,a,o,c,u,l;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u={id:this.id,message_template:null===(t=this.data)||void 0===t?void 0:t.message_template,segment_ids:null===(n=this.data)||void 0===n?void 0:n.segment_ids,sender_id:null===(r=this.data)||void 0===r?void 0:r.sender_id,channel_template:null===(s=this.data)||void 0===s?void 0:s.channel_template,create_channels:null===(i=this.data)||void 0===i?void 0:i.create_channels,description:null===(a=this.data)||void 0===a?void 0:a.description,name:null===(o=this.data)||void 0===o?void 0:o.name,user_ids:null===(c=this.data)||void 0===c?void 0:c.user_ids},e.next=3,this.client.createCampaign(u);case 3:return l=e.sent,this.id=l.campaign.id,this.data=l.campaign,e.abrupt("return",l);case 7:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"verifyCampaignId",value:function(){if(!this.id)throw Error("Campaign id is missing. Either create the campaign using campaign.create() or set the id during instantiation - const campaign = client.campaign(id)")}},{key:"start",value:(t=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.next=3,this.client.startCampaign(this.id,t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"update",value:(n=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.updateCampaign(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"delete",value:(r=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.next=3,this.client.deleteCampaign(this.id);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})},{key:"stop",value:(s=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.stopCampaign(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return s.apply(this,arguments)})},{key:"get",value:(i=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifyCampaignId(),e.abrupt("return",this.client.getCampaign(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})}]),a}(),eC=function(){var e,t,n,r,s,i,a,o;function c(e,t,n,r){(0,v.Z)(this,c),(0,m.Z)(this,"type",void 0),(0,m.Z)(this,"id",void 0),(0,m.Z)(this,"client",void 0),(0,m.Z)(this,"data",void 0),this.client=e,this.type=t,this.id=n,this.data=r}return(0,g.Z)(c,[{key:"create",value:(e=(0,f.Z)(b().mark(function e(){var t,n,r,s,i,a;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={name:null===(t=this.data)||void 0===t?void 0:t.name,filter:null===(n=this.data)||void 0===n?void 0:n.filter,description:null===(r=this.data)||void 0===r?void 0:r.description,all_sender_channels:null===(s=this.data)||void 0===s?void 0:s.all_sender_channels,all_users:null===(i=this.data)||void 0===i?void 0:i.all_users},e.abrupt("return",this.client.createSegment(this.type,this.id,a));case 2:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"verifySegmentId",value:function(){if(!this.id)throw Error("Segment id is missing. Either create the segment using segment.create() or set the id during instantiation - const segment = client.segment(id)")}},{key:"get",value:(t=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.getSegment(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"update",value:(n=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.updateSegment(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"addTargets",value:(r=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.addSegmentTargets(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"removeTargets",value:(s=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.removeSegmentTargets(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"delete",value:(i=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.deleteSegment(this.id));case 2:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"targetExists",value:(a=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.verifySegmentId(),e.abrupt("return",this.client.segmentTargetExists(this.id,t));case 2:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"queryTargets",value:(o=(0,f.Z)(b().mark(function e(){var t,n,r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],r=s.length>2&&void 0!==s[2]?s[2]:{},this.verifySegmentId(),e.abrupt("return",this.client.querySegmentTargets(this.id,t,n,r));case 5:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})}]),c}(),eS=function(e){(0,U.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,O.Z)(r);return e=t?Reflect.construct(n,arguments,(0,O.Z)(this).constructor):n.apply(this,arguments),(0,R.Z)(this,e)});function r(){var e;(0,v.Z)(this,r);for(var t=arguments.length,s=Array(t),i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}(u);try{for(p.s();!(h=p.n()).done;){var f=h.value;this.read[f.user.id]=eO(eO({},f),{},{last_read:new Date(f.last_read)})}}catch(e){p.e(e)}finally{p.f()}}this.data=l}return(0,g.Z)(e,[{key:"getClient",value:function(){return this._client}},{key:"addReply",value:function(e){if(e.parent_id!==this.message.id)throw Error("Message does not belong to this thread");this.latestReplies=$(this.latestReplies,X(e),!0)}},{key:"updateReply",value:function(e){this.latestReplies=this.latestReplies.map(function(t){return t.id===e.id?X(e):t})}},{key:"updateMessageOrReplyIfExists",value:function(e){if((e.parent_id||e.id===this.message.id)&&(!e.parent_id||e.parent_id===this.message.id)){if(e.parent_id&&e.parent_id===this.message.id){this.updateReply(e);return}e.parent_id||e.id!==this.message.id||(this.message=X(e))}}},{key:"addReaction",value:function(e,t,n){var r=this;t&&(this.latestReplies=this.latestReplies.map(function(s){return s.id===t.id?X(r._channel.state.addReaction(e,t,n)):s}))}},{key:"removeReaction",value:function(e,t){var n=this;t&&(this.latestReplies=this.latestReplies.map(function(r){return r.id===t.id?X(n._channel.state.removeReaction(e,t)):r}))}}]),e}(),eE=["created_at","updated_at","last_active","online"],eL=["params","headers"];function eP(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return eT(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eT(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}function eT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3&&void 0!==u[3]?u[3]:{},e.next=3,c.tokenManager.tokenReady();case 3:i=c._enrichAxiosOptions(s),e.prev=4,c._logApiRequest(t,n,r,i),e.t0=t,e.next="get"===e.t0?9:"delete"===e.t0?13:"post"===e.t0?17:"postForm"===e.t0?21:"put"===e.t0?25:"patch"===e.t0?29:"options"===e.t0?33:37;break;case 9:return e.next=11,c.axiosInstance.get(n,i);case 11:case 15:case 19:case 23:case 27:case 31:case 35:return a=e.sent,e.abrupt("break",38);case 13:return e.next=15,c.axiosInstance.delete(n,i);case 17:return e.next=19,c.axiosInstance.post(n,r,i);case 21:return e.next=23,c.axiosInstance.postForm(n,r,i);case 25:return e.next=27,c.axiosInstance.put(n,r,i);case 29:return e.next=31,c.axiosInstance.patch(n,r,i);case 33:return e.next=35,c.axiosInstance.options(n,i);case 37:throw Error("Invalid request type");case 38:return c._logApiResponse(t,n,a),c.consecutiveFailures=0,e.abrupt("return",c.handleResponse(a));case 43:if(e.prev=43,e.t1=e.catch(4),e.t1.client_request_id=null===(o=i.headers)||void 0===o?void 0:o["x-client-request-id"],c._logApiError(t,n,e.t1),c.consecutiveFailures+=1,!e.t1.response){e.next=60;break}if(!(e.t1.response.data.code===W.TOKEN_EXPIRED&&!c.tokenManager.isStatic())){e.next=57;break}if(!(c.consecutiveFailures>1)){e.next=53;break}return e.next=53,F(B(c.consecutiveFailures));case 53:return c.tokenManager.loadToken(),e.next=56,c.doAxiosRequest(t,n,r,s);case 56:return e.abrupt("return",e.sent);case 57:return e.abrupt("return",c.handleResponse(e.t1.response));case 60:throw e.t1;case 61:case"end":return e.stop()}},e,null,[[4,43]])})),function(e,t,n){return a.apply(this,arguments)})),(0,m.Z)(this,"dispatchEvent",function(e){e.received_at||(e.received_at=new Date);var t=c._handleClientEvent(e),n=e.cid,r=n?c.activeChannels[n]:void 0;r&&r._handleChannelEvent(e),c._callClientListeners(e),r&&r._callChannelListeners(e),t.forEach(function(e){return e()})}),(0,m.Z)(this,"handleEvent",function(e){var t=JSON.parse(e.data);c.dispatchEvent(t)}),(0,m.Z)(this,"_updateMemberWatcherReferences",function(e){var t=c.state.userChannelReferences[e.id]||{};for(var n in t){var r=c.activeChannels[n];null!=r&&r.state&&(r.state.members[e.id]&&(r.state.members[e.id].user=e),r.state.watchers[e.id]&&(r.state.watchers[e.id]=e),r.state.read[e.id]&&(r.state.read[e.id].user=e))}}),(0,m.Z)(this,"_updateUserReferences",this._updateMemberWatcherReferences),(0,m.Z)(this,"_updateUserMessageReferences",function(e){var t=c.state.userChannelReferences[e.id]||{};for(var n in t){var r=c.activeChannels[n];if(r){var s=r.state;null==s||s.updateUserMessages(e)}}}),(0,m.Z)(this,"_deleteUserMessageReference",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=c.state.userChannelReferences[e.id]||{};for(var r in n){var s=c.activeChannels[r].state;null==s||s.deleteUserMessages(e,t)}}),(0,m.Z)(this,"_handleUserEvent",function(e){if(e.user){if("user.presence.changed"===e.type||"user.updated"===e.type){if(e.user.id===c.userID){var t=eA({},c.user||{}),n=eA({},c._user||{});for(var r in c.user)r in e.user||({channel_mutes:!0,devices:!0,mutes:!0,total_unread_count:!0,unread_channels:!0,unread_count:!0,unread_threads:!0,invisible:!0,privacy_settings:!0,roles:!0})[r]||(delete t[r],delete n[r]);for(var s in e.user)n&&s in n&&(n[s]=e.user[s]);c._user=eA({},n),c.user=eA(eA({},t),e.user)}c.state.updateUser(e.user),c._updateMemberWatcherReferences(e.user)}"user.updated"===e.type&&c._updateUserMessageReferences(e.user),"user.deleted"===e.type&&e.user.deleted_at&&(e.mark_messages_deleted||e.hard_delete)&&c._deleteUserMessageReference(e.user,e.hard_delete)}}),(0,m.Z)(this,"_callClientListeners",function(e){var t=[];c.listeners.all&&t.push.apply(t,(0,p.Z)(c.listeners.all)),c.listeners[e.type]&&t.push.apply(t,(0,p.Z)(c.listeners[e.type]));for(var n=0;n0&&(s.data=n,s._data=n),s}var i=new ei(c,e,t,n);return c.activeChannels[i.cid]=i,i}),(0,m.Z)(this,"updateUsers",this.upsertUsers),(0,m.Z)(this,"updateUser",this.upsertUser),(0,m.Z)(this,"_unblockMessage",this.unblockMessage),(0,m.Z)(this,"markAllRead",this.markChannelsRead),(0,m.Z)(this,"_isUsingServerAuth",function(){return!!c.secret}),(0,m.Z)(this,"_buildWSPayload",function(e){return JSON.stringify({user_id:c.userID,user_details:c._user,device:c.options.device,client_request_id:e})}),this.key=e,this.listeners={},this.state=new eo,this.mutedChannels=[],this.mutedUsers=[],t&&ej(t)&&(this.secret=t);var u=n||(t&&!ej(t)?t:{});this.browser=void 0!==u.browser?u.browser:"undefined"!=typeof window,this.node=!this.browser,this.options=eA({timeout:3e3,withCredentials:!1,warmUp:!1,recoverStateOnReconnect:!0},u),this.node&&!this.options.httpsAgent&&(this.options.httpsAgent=new null.Agent({keepAlive:!0,keepAliveMsecs:3e3})),this.axiosInstance=w.default.create(this.options),this.setBaseURL(this.options.baseURL||"https://chat.stream-io-api.com"),void 0!==E&&E.env.STREAM_LOCAL_TEST_RUN&&this.setBaseURL("http://localhost:3030"),void 0!==E&&E.env.STREAM_LOCAL_TEST_HOST&&this.setBaseURL("http://"+E.env.STREAM_LOCAL_TEST_HOST),this.wsConnection=null,this.wsPromise=null,this.setUserPromise=null,this.activeChannels={},this.configs={},this.anonymous=!1,this.persistUserOnConnectionFailure=null===(o=this.options)||void 0===o?void 0:o.persistUserOnConnectionFailure,this.tokenManager=new ey(this.secret),this.consecutiveFailures=0,this.insightMetrics=new el,this.defaultWSTimeoutWithFallback=6e3,this.defaultWSTimeout=15e3,this.axiosInstance.defaults.paramsSerializer=Q,this.logger=q(u.logger)?u.logger:function(){return null},this.recoverStateOnReconnect=this.options.recoverStateOnReconnect}return(0,g.Z)(tO,[{key:"devToken",value:function(e){var t;return["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",(t=JSON.stringify({user_id:e}),(0,u.JQ)(new Uint8Array(function(e,t){var n=[];if(L(e)&&t&&L(e)){for(var r=0,s=e.length;r1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/check_push",eA(eA(eA(eA(eA(eA(eA({user_id:t},n.messageID?{message_id:n.messageID}:{}),n.apnTemplate?{apn_template:n.apnTemplate}:{}),n.firebaseTemplate?{firebase_template:n.firebaseTemplate}:{}),n.firebaseDataTemplate?{firebase_data_template:n.firebaseDataTemplate}:{}),n.skipDevices?{skip_devices:!0}:{}),n.pushProviderName?{push_provider_name:n.pushProviderName}:{}),n.pushProviderType?{push_provider_type:n.pushProviderType}:{}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return i.apply(this,arguments)})},{key:"testSQSSettings",value:(a=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post(this.baseURL+"/check_sqs",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"testSNSSettings",value:(o=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post(this.baseURL+"/check_sns",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(){return o.apply(this,arguments)})},{key:"setGuestUser",value:(c=(0,f.Z)(b().mark(function e(t){var n,r,s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.anonymous=!0,e.prev=1,e.next=4,this.post(this.baseURL+"/guest",{user:t});case 4:n=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),this.anonymous=!1,e.t0;case 11:return this.anonymous=!1,(r=n.user).created_at,r.updated_at,r.last_active,r.online,s=(0,d.Z)(r,eE),e.next=15,this.connectUser(s,n.access_token);case 15:return e.abrupt("return",e.sent);case 16:case"end":return e.stop()}},e,this,[[1,7]])})),function(e){return c.apply(this,arguments)})},{key:"createToken",value:function(e,t,n){if(null==this.secret)throw Error("tokens can only be created server-side using the API Secret");var r={};return t&&(r.exp=t),n&&(r.iat=n),eg(this.secret,e,r,{})}},{key:"on",value:function(e,t){var n=this,r=t?e:"all",s=t||e;return r in this.listeners||(this.listeners[r]=[]),this.logger("info","Attaching listener for ".concat(r," event"),{tags:["event","client"]}),this.listeners[r].push(s),{unsubscribe:function(){n.logger("info","Removing listener for ".concat(r," event"),{tags:["event","client"]}),n.listeners[r]=n.listeners[r].filter(function(e){return e!==s})}}}},{key:"off",value:function(e,t){var n=t?e:"all",r=t||e;n in this.listeners||(this.listeners[n]=[]),this.logger("info","Removing listener for ".concat(n," event"),{tags:["event","client"]}),this.listeners[n]=this.listeners[n].filter(function(e){return e!==r})}},{key:"_logApiRequest",value:function(e,t,n,r){this.logger("info","client: ".concat(e," - Request - ").concat(t),{tags:["api","api_request","client"],url:t,payload:n,config:r})}},{key:"_logApiResponse",value:function(e,t,n){this.logger("info","client:".concat(e," - Response - url: ").concat(t," > status ").concat(n.status),{tags:["api","api_response","client"],url:t,response:n})}},{key:"_logApiError",value:function(e,t,n){this.logger("error","client:".concat(e," - Error - url: ").concat(t),{tags:["api","api_response","client"],url:t,error:n})}},{key:"get",value:function(e,t){return this.doAxiosRequest("get",e,null,{params:t})}},{key:"put",value:function(e,t){return this.doAxiosRequest("put",e,t)}},{key:"post",value:function(e,t){return this.doAxiosRequest("post",e,t)}},{key:"patch",value:function(e,t){return this.doAxiosRequest("patch",e,t)}},{key:"delete",value:function(e,t){return this.doAxiosRequest("delete",e,null,{params:t})}},{key:"sendFile",value:function(e,t,n,r,s){var i,a,o,c,u=(i=t,a=n,o=r||"multipart/form-data",c=new(x()),null!==i&&"object"===(0,h.Z)(i)&&(i.readable||"function"==typeof i._read)||null!=i&&null!=i.constructor&&"function"==typeof i.constructor.isBuffer&&i.constructor.isBuffer(i)||"undefined"!=typeof window&&"File"in window&&i instanceof File||"undefined"!=typeof window&&"Blob"in window&&i instanceof Blob?a?c.append("file",i,a):c.append("file",i):c.append("file",{uri:i,name:a||i.split("/").reverse()[0],contentType:o||void 0,type:o||void 0}),c);return null!=s&&u.append("user",JSON.stringify(s)),this.doAxiosRequest("postForm",e,u,{headers:u.getHeaders?u.getHeaders():{},config:{timeout:0,maxContentLength:1/0,maxBodyLength:1/0}})}},{key:"errorFromResponse",value:function(e){var t;return t=new eS("StreamChat error HTTP code: ".concat(e.status)),e.data&&e.data.code&&((t=Error("StreamChat error code ".concat(e.data.code,": ").concat(e.data.message))).code=e.data.code),t.response=e,t.status=e.status,t}},{key:"handleResponse",value:function(e){var t=e.data;if(!e.status||e.status<200||300<=e.status)throw this.errorFromResponse(e);return t}},{key:"_handleClientEvent",value:function(e){var t,n,r,s=this,i=[];return this.logger("info","client:_handleClientEvent - Received event of type { ".concat(e.type," }"),{tags:["event","client"],event:e}),("user.presence.changed"===e.type||"user.updated"===e.type||"user.deleted"===e.type)&&this._handleUserEvent(e),"health.check"===e.type&&e.me&&(this.user=e.me,this.state.updateUser(e.me),this.mutedChannels=e.me.channel_mutes,this.mutedUsers=e.me.mutes),e.channel&&"notification.message_new"===e.type&&this._addChannelConfig(e.channel),"notification.channel_mutes_updated"===e.type&&null!==(n=e.me)&&void 0!==n&&n.channel_mutes&&(this.mutedChannels=e.me.channel_mutes),"notification.mutes_updated"===e.type&&null!==(r=e.me)&&void 0!==r&&r.mutes&&(this.mutedUsers=e.me.mutes),"notification.mark_read"===e.type&&0===e.unread_channels&&Object.keys(this.activeChannels).forEach(function(e){return s.activeChannels[e].state.unreadCount=0}),("channel.deleted"===e.type||"notification.channel_deleted"===e.type)&&e.cid&&(this.state.deleteAllChannelReference(e.cid),null===(t=this.activeChannels[e.cid])||void 0===t||t._disconnect(),i.push(function(){e.cid&&delete s.activeChannels[e.cid]})),i}},{key:"_muteStatus",value:function(e){for(var t,n=0;nnew Date().getTime(),createdAt:s.created_at?new Date(s.created_at):new Date,expiresAt:s.expires?new Date(s.expires):null};break}}return t||{muted:!1,createdAt:null,expiresAt:null}}},{key:"connect",value:(y=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!this.userID||!this._user)){e.next=2;break}throw Error("Call connectUser or connectAnonymousUser before starting the connection");case 2:if(this.wsBaseURL){e.next=4;break}throw Error("Websocket base url not set");case 4:if(this.clientID){e.next=6;break}throw Error("clientID is not set");case 6:if(!this.wsConnection&&(this.options.warmUp||this.options.enableInsights)&&this._sayHi(),this.options.wsConnection&&this.node?(this.options.wsConnection.setClient(this),this.wsConnection=this.options.wsConnection):this.wsConnection=new ef({client:this}),e.prev=8,!this.wsFallback){e.next=13;break}return e.next=12,this.wsFallback.connect();case 12:case 15:case 28:return e.abrupt("return",e.sent);case 13:return e.next=15,this.wsConnection.connect(this.options.enableWSFallback?this.defaultWSTimeoutWithFallback:this.defaultWSTimeout);case 18:if(e.prev=18,e.t0=e.catch(8),!(this.options.enableWSFallback&&function(e){if("boolean"==typeof e.isWSFailure)return e.isWSFailure;try{return JSON.parse(e.message).isWSFailure}catch(e){return!1}}(e.t0)&&function(){var e="undefined"!=typeof navigator?navigator:"undefined"!=typeof window&&window.navigator?window.navigator:void 0;return e?"boolean"!=typeof e.onLine||e.onLine:(console.warn("isOnline failed to access window.navigator and assume browser is online"),!0)}())){e.next=29;break}return this.logger("info","client:connect() - WS failed, fallback to longpoll",{tags:["connection","client"]}),this.dispatchEvent({type:"transport.changed",mode:"longpoll"}),this.wsConnection._destroyCurrentWSConnection(),this.wsConnection.disconnect().then(),this.wsFallback=new ex({client:this}),e.next=28,this.wsFallback.connect();case 29:throw e.t0;case 30:case"end":return e.stop()}},e,this,[[8,18]])})),function(){return y.apply(this,arguments)})},{key:"_sayHi",value:function(){var e=this,t=H();this.doAxiosRequest("get",this.baseURL+"/hi",null,{headers:{"x-client-request-id":t}}).catch(function(n){e.options.enableInsights&&eh("http_hi_failed",{api_key:e.key,err:n,client_request_id:t})})}},{key:"queryUsers",value:(k=(0,f.Z)(b().mark(function e(t){var n,r,s,i,a=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:[],r=a.length>2&&void 0!==a[2]?a[2]:{},s={presence:!1},e.next=5,this.wsPromise;case 5:return this._hasConnectionID()||(s.presence=!1),e.next=8,this.get(this.baseURL+"/users",{payload:eA(eA({filter_conditions:t,sort:N(n)},s),r)});case 8:return i=e.sent,this.state.updateUsers(i.users),e.abrupt("return",i);case 11:case"end":return e.stop()}},e,this)})),function(e){return k.apply(this,arguments)})},{key:"queryBannedUsers",value:(_=(0,f.Z)(b().mark(function e(){var t,n,r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=5,this.get(this.baseURL+"/query_banned_users",{payload:eA({filter_conditions:t,sort:N(n)},r)});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return _.apply(this,arguments)})},{key:"queryMessageFlags",value:(Z=(0,f.Z)(b().mark(function e(){var t,n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=4,this.get(this.baseURL+"/moderation/flags/message",{payload:eA({filter_conditions:t},n)});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return Z.apply(this,arguments)})},{key:"queryChannels",value:(C=(0,f.Z)(b().mark(function e(t){var n,r,s,i,a,o,c=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:[],r=c.length>2&&void 0!==c[2]?c[2]:{},s=c.length>3&&void 0!==c[3]?c[3]:{},i={state:!0,watch:!0,presence:!1},e.next=6,this.wsPromise;case 6:return this._hasConnectionID()||(i.watch=!1),a=eA(eA({filter_conditions:t,sort:N(n)},i),r),e.next=10,this.post(this.baseURL+"/channels",a);case 10:return o=e.sent,this.dispatchEvent({type:"channels.queried",queriedChannels:{channels:o.channels,isLatestMessageSet:!0}}),e.abrupt("return",this.hydrateActiveChannels(o.channels,s));case 13:case"end":return e.stop()}},e,this)})),function(e){return C.apply(this,arguments)})},{key:"queryReactions",value:(S=(0,f.Z)(b().mark(function e(t,n){var r,s,i,a=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>2&&void 0!==a[2]?a[2]:[],s=a.length>3&&void 0!==a[3]?a[3]:{},e.next=4,this.wsPromise;case 4:return i=eA({filter:n,sort:N(r)},s),e.next=7,this.post(this.baseURL+"/messages/"+t+"/reactions",i);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(e,t){return S.apply(this,arguments)})},{key:"hydrateActiveChannels",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipInitialization,s=n.offlineMode,i=void 0!==s&&s,a=eP(t);try{for(a.s();!(e=a.n()).done;){var o=e.value;this._addChannelConfig(o.channel)}}catch(e){a.e(e)}finally{a.f()}var c,u=[],l=eP(t);try{for(l.s();!(c=l.n()).done;){var h=c.value,d=this.channel(h.channel.type,h.channel.id);d.data=h.channel,d.offlineMode=i,d.initialized=!i,void 0===r?d._initializeState(h,"latest"):r.includes(h.channel.id)||(d.state.clearMessages(),d._initializeState(h,"latest")),u.push(d)}}catch(e){l.e(e)}finally{l.f()}return u}},{key:"search",value:(U=(0,f.Z)(b().mark(function e(t,n){var r,s,i=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((r=i.length>2&&void 0!==i[2]?i[2]:{}).offset&&r.next)){e.next=3;break}throw Error("Cannot specify offset with next");case 3:if(s=eA(eA({filter_conditions:t},r),{},{sort:r.sort?N(r.sort):void 0}),"string"!=typeof n){e.next=8;break}s.query=n,e.next=13;break;case 8:if("object"!==(0,h.Z)(n)){e.next=12;break}s.message_filter_conditions=n,e.next=13;break;case 12:throw Error("Invalid type ".concat((0,h.Z)(n)," for query parameter"));case 13:return e.next=15,this.wsPromise;case 15:return e.next=17,this.get(this.baseURL+"/search",{payload:s});case 17:return e.abrupt("return",e.sent);case 18:case"end":return e.stop()}},e,this)})),function(e,t){return U.apply(this,arguments)})},{key:"setLocalDevice",value:function(e){var t,n,r;if(null!==(t=this.wsConnection)&&void 0!==t&&t.isConnecting&&this.wsPromise||(null!==(n=this.wsConnection)&&void 0!==n&&n.isHealthy||null!==(r=this.wsFallback)&&void 0!==r&&r.isHealthy())&&this._hasConnectionID())throw Error("you can only set device before opening a websocket connection");this.options.device=e}},{key:"addDevice",value:(R=(0,f.Z)(b().mark(function e(t,n,r,s){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/devices",eA(eA({id:t,push_provider:n},null!=r?{user_id:r}:{}),null!=s?{push_provider_name:s}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return R.apply(this,arguments)})},{key:"getDevices",value:(O=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/devices",t?{user_id:t}:{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return O.apply(this,arguments)})},{key:"getUnreadCount",value:(I=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/unread",t?{user_id:t}:{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return I.apply(this,arguments)})},{key:"getUnreadCountBatch",value:(P=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/unread_batch",{user_ids:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return P.apply(this,arguments)})},{key:"removeDevice",value:(T=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/devices",eA({id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return T.apply(this,arguments)})},{key:"getRateLimits",value:(D=(0,f.Z)(b().mark(function e(t){var n,r,s,i,a,o;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=(n=t||{}).serverSide,s=n.web,i=n.android,a=n.ios,o=n.endpoints,e.abrupt("return",this.get(this.baseURL+"/rate_limits",{server_side:r,web:s,android:i,ios:a,endpoints:o?o.join(","):void 0}));case 2:case"end":return e.stop()}},e,this)})),function(e){return D.apply(this,arguments)})},{key:"_addChannelConfig",value:function(e){var t=e.cid,n=e.config;this.configs[t]=n}},{key:"channel",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.userID&&!this._isUsingServerAuth())throw Error("Call connectUser or connectAnonymousUser before creating a channel");if(~e.indexOf(":"))throw Error("Invalid channel group ".concat(e,", can't contain the : character"));return t&&"object"===(0,h.Z)(t)?this.getChannelByMembers(e,t):!t&&"object"===(0,h.Z)(r)&&null!==(n=r.members)&&void 0!==n&&n.length?this.getChannelByMembers(e,r):t?this.getChannelById(e,t,r):new ei(this,e,void 0,r)}},{key:"partialUpdateUser",value:(A=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.partialUpdateUsers([t]);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return A.apply(this,arguments)})},{key:"upsertUsers",value:(j=(0,f.Z)(b().mark(function e(t){var n,r,s,i;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={},r=eP(t),e.prev=2,r.s();case 4:if((s=r.n()).done){e.next=11;break}if((i=s.value).id){e.next=8;break}throw Error("User ID is required when updating a user");case 8:n[i.id]=i;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),r.e(e.t0);case 16:return e.prev=16,r.f(),e.finish(16);case 19:return e.next=21,this.post(this.baseURL+"/users",{users:n});case 21:return e.abrupt("return",e.sent);case 22:case"end":return e.stop()}},e,this,[[2,13,16,19]])})),function(e){return j.apply(this,arguments)})},{key:"upsertUser",value:function(e){return this.upsertUsers([e])}},{key:"partialUpdateUsers",value:(z=(0,f.Z)(b().mark(function e(t){var n,r;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=eP(t),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=9;break}if(r.value.id){e.next=7;break}throw Error("User ID is required when updating a user");case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:return e.next=19,this.patch(this.baseURL+"/users",{users:t});case 19:return e.abrupt("return",e.sent);case 20:case"end":return e.stop()}},e,this,[[1,11,14,17]])})),function(e){return z.apply(this,arguments)})},{key:"deleteUser",value:(V=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/users/".concat(t),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return V.apply(this,arguments)})},{key:"restoreUsers",value:(J=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/restore",{user_ids:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return J.apply(this,arguments)})},{key:"reactivateUser",value:(K=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/".concat(t,"/reactivate"),eA({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return K.apply(this,arguments)})},{key:"reactivateUsers",value:(X=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/reactivate",eA({user_ids:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return X.apply(this,arguments)})},{key:"deactivateUser",value:($=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/".concat(t,"/deactivate"),eA({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return $.apply(this,arguments)})},{key:"deactivateUsers",value:(G=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/deactivate",eA({user_ids:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return G.apply(this,arguments)})},{key:"exportUser",value:(Y=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/users/".concat(t,"/export"),eA({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return Y.apply(this,arguments)})},{key:"banUser",value:(ee=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/moderation/ban",eA({target_user_id:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ee.apply(this,arguments)})},{key:"unbanUser",value:(et=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/moderation/ban",eA({target_user_id:t},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return et.apply(this,arguments)})},{key:"shadowBan",value:(en=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.banUser(t,eA({shadow:!0},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return en.apply(this,arguments)})},{key:"removeShadowBan",value:(er=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.unbanUser(t,eA({shadow:!0},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return er.apply(this,arguments)})},{key:"blockUser",value:(es=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/block",eA({blocked_user_id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return es.apply(this,arguments)})},{key:"getBlockedUsers",value:(ea=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/users/block",eA({},t?{user_id:t}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return ea.apply(this,arguments)})},{key:"unBlockUser",value:(ec=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/users/unblock",eA({blocked_user_id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ec.apply(this,arguments)})},{key:"muteUser",value:(eu=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this.post(this.baseURL+"/moderation/mute",eA(eA({target_id:t},n?{user_id:n}:{}),r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return eu.apply(this,arguments)})},{key:"unmuteUser",value:(ed=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/moderation/unmute",eA({target_id:t},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ed.apply(this,arguments)})},{key:"userMuteStatus",value:function(e){if(!this.user||!this.wsPromise)throw Error("Make sure to await connectUser() first.");for(var t=0;t1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/moderation/flag",eA({target_message_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return ep.apply(this,arguments)})},{key:"flagUser",value:(ev=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/moderation/flag",eA({target_user_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return ev.apply(this,arguments)})},{key:"unflagMessage",value:(em=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unflag",eA({target_message_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return em.apply(this,arguments)})},{key:"unflagUser",value:(eb=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unflag",eA({target_user_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eb.apply(this,arguments)})},{key:"getCallToken",value:(ew=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/calls/".concat(t),eA({},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return ew.apply(this,arguments)})},{key:"_queryFlags",value:(ek=(0,f.Z)(b().mark(function e(){var t,n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=4,this.post(this.baseURL+"/moderation/flags",eA({filter_conditions:t},n));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return ek.apply(this,arguments)})},{key:"_queryFlagReports",value:(e_=(0,f.Z)(b().mark(function e(){var t,n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=4,this.post(this.baseURL+"/moderation/reports",eA({filter_conditions:t},n));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(){return e_.apply(this,arguments)})},{key:"_reviewFlagReport",value:(eU=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this.patch(this.baseURL+"/moderation/reports/".concat(t),eA({review_result:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return eU.apply(this,arguments)})},{key:"unblockMessage",value:(eR=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/moderation/unblock_message",eA({target_message_id:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return eR.apply(this,arguments)})},{key:"markChannelsRead",value:(eO=(0,f.Z)(b().mark(function e(){var t,n=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post(this.baseURL+"/channels/read",eA({},t));case 3:case"end":return e.stop()}},e,this)})),function(){return eO.apply(this,arguments)})},{key:"createCommand",value:function(e){return this.post(this.baseURL+"/commands",e)}},{key:"getCommand",value:function(e){return this.get(this.baseURL+"/commands/".concat(e))}},{key:"updateCommand",value:function(e,t){return this.put(this.baseURL+"/commands/".concat(e),t)}},{key:"deleteCommand",value:function(e){return this.delete(this.baseURL+"/commands/".concat(e))}},{key:"listCommands",value:function(){return this.get(this.baseURL+"/commands")}},{key:"createChannelType",value:function(e){var t=(0,l.Z)({},{commands:["all"]},e);return this.post(this.baseURL+"/channeltypes",t)}},{key:"getChannelType",value:function(e){return this.get(this.baseURL+"/channeltypes/".concat(e))}},{key:"updateChannelType",value:function(e,t){return this.put(this.baseURL+"/channeltypes/".concat(e),t)}},{key:"deleteChannelType",value:function(e){return this.delete(this.baseURL+"/channeltypes/".concat(e))}},{key:"listChannelTypes",value:function(){return this.get(this.baseURL+"/channeltypes")}},{key:"translateMessage",value:(eI=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/translate"),{language:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eI.apply(this,arguments)})},{key:"_normalizeExpiration",value:function(e){var t=null;if("number"==typeof e){var n=new Date;n.setSeconds(n.getSeconds()+e),t=n.toISOString()}else ej(e)?t=e:e instanceof Date&&(t=e.toISOString());return t}},{key:"_validateAndGetMessageId",value:function(e,t){var n;if("string"==typeof e)n=e;else{if(!e.id)throw Error(t);n=e.id}return n}},{key:"pinMessage",value:function(e,t,n,r){var s=this._validateAndGetMessageId(e,"Please specify the message id when calling unpinMessage");return this.partialUpdateMessage(s,{set:{pinned:!0,pin_expires:this._normalizeExpiration(t),pinned_at:this._normalizeExpiration(r)}},n)}},{key:"unpinMessage",value:function(e,t){var n=this._validateAndGetMessageId(e,"Please specify the message id when calling unpinMessage");return this.partialUpdateMessage(n,{set:{pinned:!1}},t)}},{key:"updateMessage",value:(eT=(0,f.Z)(b().mark(function e(t,n,r){var s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.id){e.next=2;break}throw Error("Please specify the message id when calling updateMessage");case 2:return s=(0,l.Z)({},t),delete s.id,["command","created_at","html","latest_reactions","own_reactions","quoted_message","reaction_counts","reply_count","type","updated_at","user","__html"].forEach(function(e){null!=s[e]&&delete s[e]}),null!=n&&(ej(n)?s.user_id=n:s.user={id:n.id}),Array.isArray(s.mentioned_users)&&!ej(s.mentioned_users[0])&&(s.mentioned_users=s.mentioned_users.map(function(e){return e.id})),e.next=10,this.post(this.baseURL+"/messages/".concat(t.id),eA({message:s},r));case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}},e,this)})),function(e,t,n){return eT.apply(this,arguments)})},{key:"partialUpdateMessage",value:(eD=(0,f.Z)(b().mark(function e(t,n,r,s){var i;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Please specify the message id when calling partialUpdateMessage");case 2:return i=r,null!=r&&ej(r)&&(i={id:r}),e.next=6,this.put(this.baseURL+"/messages/".concat(t),eA(eA(eA({},n),s),{},{user:i}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return eD.apply(this,arguments)})},{key:"deleteMessage",value:(eF=(0,f.Z)(b().mark(function e(t,n){var r;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={},n&&(r={hard:!0}),e.next=4,this.delete(this.baseURL+"/messages/".concat(t),r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return eF.apply(this,arguments)})},{key:"undeleteMessage",value:(eq=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/undelete"),{undeleted_by:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eq.apply(this,arguments)})},{key:"getMessage",value:(eW=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/messages/".concat(encodeURIComponent(t)),eA({},n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eW.apply(this,arguments)})},{key:"queryThreads",value:(eN=(0,f.Z)(b().mark(function e(t){var n,r,s=this;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=eA({limit:10,participant_limit:10,reply_limit:3,watch:!0},t),e.next=3,this.post(this.baseURL+"/threads",n);case 3:return r=e.sent,e.abrupt("return",{threads:r.threads.map(function(e){return new eM(s,e)}),next:r.next});case 5:case"end":return e.stop()}},e,this)})),function(e){return eN.apply(this,arguments)})},{key:"getThread",value:(eB=(0,f.Z)(b().mark(function e(t){var n,r,s,i=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.length>1&&void 0!==i[1]?i[1]:{},t){e.next=3;break}throw Error("Please specify the message id when calling partialUpdateThread");case 3:return r=eA({participant_limit:100,reply_limit:3,watch:!0},n),e.next=6,this.get(this.baseURL+"/threads/".concat(t),r);case 6:return s=e.sent,e.abrupt("return",new eM(this,s.thread));case 8:case"end":return e.stop()}},e,this)})),function(e){return eB.apply(this,arguments)})},{key:"partialUpdateThread",value:(ez=(0,f.Z)(b().mark(function e(t,n){var r,s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error("Please specify the message id when calling partialUpdateThread");case 2:r=["created_at","id","last_message_at","type","updated_at","user","reply_count","participants","channel"],e.t0=b().keys(eA(eA({},n.set),n.unset));case 4:if((e.t1=e.t0()).done){e.next=10;break}if(s=e.t1.value,!r.includes(s)){e.next=8;break}throw Error("You cannot set ".concat(s," field on Thread object. ").concat(s," is reserved for server-side use. Please omit ").concat(s," from your set object."));case 8:e.next=4;break;case 10:return e.next=12,this.patch(this.baseURL+"/threads/".concat(t),n);case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}},e,this)})),function(e,t){return ez.apply(this,arguments)})},{key:"getUserAgent",value:function(){return this.userAgent||"stream-chat-javascript-client-".concat(this.node?"node":"browser","-","8.37.0")}},{key:"setUserAgent",value:function(e){this.userAgent=e}},{key:"_enrichAxiosOptions",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{params:{},headers:{},config:{}},n=this._getToken(),r=null;null!==this.nextRequestAbortController&&(r=this.nextRequestAbortController.signal,this.nextRequestAbortController=null),null!==(e=t.headers)&&void 0!==e&&e["x-client-request-id"]||(t.headers=eA(eA({},t.headers),{},{"x-client-request-id":H()}));var s=this.options.axiosRequestConfig||{},i=s.params,a=s.headers,o=(0,d.Z)(s,eL);return eA(eA(eA({params:eA(eA({user_id:this.userID,connection_id:this._getConnectionID(),api_key:this.key},t.params),i||{}),headers:eA(eA(eA({},n?{Authorization:n}:void 0),{},{"stream-auth-type":this.getAuthType(),"X-Stream-Client":this.getUserAgent()},t.headers),a||{})},r?{signal:r}:{}),t.config),o||{})}},{key:"_getToken",value:function(){return!this.tokenManager||this.anonymous?null:this.tokenManager.getToken()}},{key:"_startCleaning",value:function(){var e=this;null==this.cleaningIntervalRef&&(this.cleaningIntervalRef=setInterval(function(){for(var t=0,n=Object.values(e.activeChannels);t2&&void 0!==arguments[2]?arguments[2]:{};return this.post("".concat(this.baseURL,"/sync"),eA({channel_cids:e,last_sync_at:t},n))}},{key:"sendUserCustomEvent",value:(eH=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post("".concat(this.baseURL,"/users/").concat(t,"/event"),{event:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eH.apply(this,arguments)})},{key:"createBlockList",value:function(e){return this.post("".concat(this.baseURL,"/blocklists"),e)}},{key:"listBlockLists",value:function(){return this.get("".concat(this.baseURL,"/blocklists"))}},{key:"getBlockList",value:function(e){return this.get("".concat(this.baseURL,"/blocklists/").concat(e))}},{key:"updateBlockList",value:function(e,t){return this.put("".concat(this.baseURL,"/blocklists/").concat(e),t)}},{key:"deleteBlockList",value:function(e){return this.delete("".concat(this.baseURL,"/blocklists/").concat(e))}},{key:"exportChannels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=eA({channels:e},t);return this.post("".concat(this.baseURL,"/export_channels"),n)}},{key:"exportUsers",value:function(e){return this.post("".concat(this.baseURL,"/export/users"),e)}},{key:"exportChannel",value:function(e,t){return this.exportChannels([e],t)}},{key:"getExportChannelStatus",value:function(e){return this.get("".concat(this.baseURL,"/export_channels/").concat(e))}},{key:"campaign",value:function(e,t){return e&&"object"===(0,h.Z)(e)?new eZ(this,null,e):new eZ(this,e,t)}},{key:"segment",value:function(e,t,n){return"string"==typeof t?new eC(this,e,t,n):new eC(this,e,null,t)}},{key:"validateServerSideAuth",value:function(){if(!this.secret)throw Error("Campaigns is a server-side only feature. Please initialize the client with a secret to use this feature.")}},{key:"createSegment",value:(eV=(0,f.Z)(b().mark(function e(t,n,r){var s;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),s=eA({id:n,type:t},r),e.abrupt("return",this.post(this.baseURL+"/segments",s));case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return eV.apply(this,arguments)})},{key:"createUserSegment",value:(eJ=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.createSegment("user",t,n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eJ.apply(this,arguments)})},{key:"createChannelSegment",value:(eK=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.createSegment("channel",t,n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eK.apply(this,arguments)})},{key:"getSegment",value:(eQ=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/segments/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return eQ.apply(this,arguments)})},{key:"updateSegment",value:(eX=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.put(this.baseURL+"/segments/".concat(t),n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return eX.apply(this,arguments)})},{key:"addSegmentTargets",value:(e$=(0,f.Z)(b().mark(function e(t,n){var r;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),r={target_ids:n},e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/addtargets"),r));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e$.apply(this,arguments)})},{key:"querySegmentTargets",value:(eG=(0,f.Z)(b().mark(function e(t){var n,r,s,i=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},r=i.length>2&&void 0!==i[2]?i[2]:[],s=i.length>3&&void 0!==i[3]?i[3]:{},this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/targets/query"),eA({filter:n||{},sort:r||[]},s)));case 5:case"end":return e.stop()}},e,this)})),function(e){return eG.apply(this,arguments)})},{key:"removeSegmentTargets",value:(eY=(0,f.Z)(b().mark(function e(t,n){var r;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),r={target_ids:n},e.abrupt("return",this.post(this.baseURL+"/segments/".concat(t,"/deletetargets"),r));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return eY.apply(this,arguments)})},{key:"querySegments",value:(e0=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/segments/query",eA({filter:t,sort:n},r)));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return e0.apply(this,arguments)})},{key:"deleteSegment",value:(e1=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.delete(this.baseURL+"/segments/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return e1.apply(this,arguments)})},{key:"segmentTargetExists",value:(e2=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/segments/".concat(t,"/target/").concat(n)));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return e2.apply(this,arguments)})},{key:"createCampaign",value:(e3=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns",eA({},t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return e3.apply(this,arguments)})},{key:"getCampaign",value:(e4=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.get(this.baseURL+"/campaigns/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return e4.apply(this,arguments)})},{key:"startCampaign",value:(e5=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns/".concat(t,"/start"),{scheduled_for:null==n?void 0:n.scheduledFor,stop_at:null==n?void 0:n.stopAt}));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return e5.apply(this,arguments)})},{key:"queryCampaigns",value:(e6=(0,f.Z)(b().mark(function e(t,n,r){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.next=3,this.post(this.baseURL+"/campaigns/query",eA({filter:t,sort:n},r||{}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t,n){return e6.apply(this,arguments)})},{key:"updateCampaign",value:(e8=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.put(this.baseURL+"/campaigns/".concat(t),n));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return e8.apply(this,arguments)})},{key:"deleteCampaign",value:(e7=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.delete(this.baseURL+"/campaigns/".concat(t)));case 2:case"end":return e.stop()}},e,this)})),function(e){return e7.apply(this,arguments)})},{key:"stopCampaign",value:(e9=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateServerSideAuth(),e.abrupt("return",this.post(this.baseURL+"/campaigns/".concat(t,"/stop")));case 2:case"end":return e.stop()}},e,this)})),function(e){return e9.apply(this,arguments)})},{key:"enrichURL",value:(te=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.get(this.baseURL+"/og",{url:t}));case 1:case"end":return e.stop()}},e,this)})),function(e){return te.apply(this,arguments)})},{key:"getTask",value:(tt=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.get("".concat(this.baseURL,"/tasks/").concat(t)));case 1:case"end":return e.stop()}},e,this)})),function(e){return tt.apply(this,arguments)})},{key:"deleteChannels",value:(tn=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.post(this.baseURL+"/channels/delete",eA({cids:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return tn.apply(this,arguments)})},{key:"deleteUsers",value:(tr=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==(n=r.length>1&&void 0!==r[1]?r[1]:{}).user&&!["soft","hard","pruning"].includes(n.user))){e.next=3;break}throw Error("Invalid delete user options. user must be one of [soft hard pruning]");case 3:if(!(void 0!==n.conversations&&!["soft","hard"].includes(n.conversations))){e.next=5;break}throw Error("Invalid delete user options. conversations must be one of [soft hard]");case 5:if(!(void 0!==n.messages&&!["soft","hard","pruning"].includes(n.messages))){e.next=7;break}throw Error("Invalid delete user options. messages must be one of [soft hard pruning]");case 7:return e.next=9,this.post(this.baseURL+"/users/delete",eA({user_ids:t},n));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}},e,this)})),function(e){return tr.apply(this,arguments)})},{key:"_createImportURL",value:(ts=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/import_urls",{filename:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return ts.apply(this,arguments)})},{key:"_createImport",value:(ti=(0,f.Z)(b().mark(function e(t){var n,r=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{mode:"upsert"},e.next=3,this.post(this.baseURL+"/imports",eA({path:t},n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return ti.apply(this,arguments)})},{key:"_getImport",value:(ta=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/imports/".concat(t));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return ta.apply(this,arguments)})},{key:"_listImports",value:(to=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/imports",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return to.apply(this,arguments)})},{key:"upsertPushProvider",value:(tc=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/push_providers",{push_provider:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return tc.apply(this,arguments)})},{key:"deletePushProvider",value:(tu=(0,f.Z)(b().mark(function e(t){var n,r;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,r=t.name,e.next=3,this.delete(this.baseURL+"/push_providers/".concat(n,"/").concat(r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return tu.apply(this,arguments)})},{key:"listPushProviders",value:(tl=(0,f.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/push_providers");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(){return tl.apply(this,arguments)})},{key:"createAbortControllerForNextRequest",value:function(){return this.nextRequestAbortController=new AbortController}},{key:"commitMessage",value:(th=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/messages/".concat(t,"/commit"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return th.apply(this,arguments)})},{key:"createPoll",value:(td=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/polls",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return td.apply(this,arguments)})},{key:"getPoll",value:(tp=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/polls/".concat(t),eA({},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return tp.apply(this,arguments)})},{key:"updatePoll",value:(tf=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.put(this.baseURL+"/polls",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return tf.apply(this,arguments)})},{key:"partialUpdatePoll",value:(tv=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.patch(this.baseURL+"/polls/".concat(t),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return tv.apply(this,arguments)})},{key:"deletePoll",value:(tg=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/polls/".concat(t),eA({},n?{user_id:n}:{}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return tg.apply(this,arguments)})},{key:"closePoll",value:(tm=(0,f.Z)(b().mark(function e(t){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.partialUpdatePoll(t,{set:{is_closed:!0}}));case 1:case"end":return e.stop()}},e,this)})),function(e){return tm.apply(this,arguments)})},{key:"createPollOption",value:(ty=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.post(this.baseURL+"/polls/".concat(t,"/options"),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return ty.apply(this,arguments)})},{key:"getPollOption",value:(tb=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get(this.baseURL+"/polls/".concat(t,"/options/").concat(n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return tb.apply(this,arguments)})},{key:"updatePollOption",value:(tw=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.put(this.baseURL+"/polls/".concat(t,"/options"),n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return tw.apply(this,arguments)})},{key:"deletePollOption",value:(tk=(0,f.Z)(b().mark(function e(t,n){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/polls/".concat(t,"/options/").concat(n));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return tk.apply(this,arguments)})},{key:"castPollVote",value:(t_=(0,f.Z)(b().mark(function e(t,n,r){var s,i=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=i.length>3&&void 0!==i[3]?i[3]:{},e.next=3,this.post(this.baseURL+"/messages/".concat(t,"/polls/").concat(n,"/vote"),eA({vote:r},s));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t,n){return t_.apply(this,arguments)})},{key:"addPollAnswer",value:(tx=(0,f.Z)(b().mark(function e(t,n,r){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.castPollVote(t,n,{answer_text:r}));case 1:case"end":return e.stop()}},e,this)})),function(e,t,n){return tx.apply(this,arguments)})},{key:"removePollVote",value:(tZ=(0,f.Z)(b().mark(function e(t,n,r){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.delete(this.baseURL+"/messages/".concat(t,"/polls/").concat(n,"/vote/").concat(r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return tZ.apply(this,arguments)})},{key:"queryPolls",value:(tC=(0,f.Z)(b().mark(function e(){var t,n,r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=5,this.post(this.baseURL+"/polls/query",eA({filter:t,sort:N(n)},r));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return tC.apply(this,arguments)})},{key:"queryPollVotes",value:(tS=(0,f.Z)(b().mark(function e(t){var n,r,s,i=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:{},r=i.length>2&&void 0!==i[2]?i[2]:[],s=i.length>3&&void 0!==i[3]?i[3]:{},e.next=5,this.post(this.baseURL+"/polls/".concat(t,"/votes"),eA({filter:n,sort:N(r)},s));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(e){return tS.apply(this,arguments)})},{key:"queryMessageHistory",value:(tU=(0,f.Z)(b().mark(function e(){var t,n,r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:[],r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=5,this.post(this.baseURL+"/messages/history",eA({filter:t,sort:N(n)},r));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e,this)})),function(){return tU.apply(this,arguments)})},{key:"updateFlags",value:(tR=(0,f.Z)(b().mark(function e(t,n){var r,s=arguments;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=3,this.post(this.baseURL+"/automod/v1/moderation/update_flags",eA({message_ids:t,reviewed_by:n},r));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return tR.apply(this,arguments)})}],[{key:"getInstance",value:function(e,t,n){return tO._instance||("string"==typeof t?tO._instance=new tO(e,t,n):tO._instance=new tO(e,t)),tO._instance}}]),tO}();(0,m.Z)(eF,"_instance",void 0);var eq="Allow",eW=["*"],eN=["*"],eB=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eW,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:eN,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:eq;(0,v.Z)(this,e),(0,m.Z)(this,"name",void 0),(0,m.Z)(this,"action",void 0),(0,m.Z)(this,"owner",void 0),(0,m.Z)(this,"priority",void 0),(0,m.Z)(this,"resources",void 0),(0,m.Z)(this,"roles",void 0),this.name=t,this.action=a,this.owner=i,this.priority=n,this.resources=r,this.roles=s};new eB("Allow all",999,eW,eN,!1,eq),new eB("Deny all",1,eW,eN,!1,"Deny")}}]); \ No newline at end of file diff --git a/static/chunks/609137f5-4bd446340650f68b.js b/static/chunks/609137f5-4bd446340650f68b.js new file mode 100644 index 0000000000000000000000000000000000000000..38eb5a9463b9bb925439853250a10d9032798a38 --- /dev/null +++ b/static/chunks/609137f5-4bd446340650f68b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[575],{58605:function(a){a.exports=JSON.parse('{"compressed":true,"categories":[{"id":"people","name":"Smileys & People","emojis":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","shushing_face","thinking_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","smirk","unamused","face_with_rolling_eyes","grimacing","lying_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","exploding_head","face_with_cowboy_hat","partying_face","sunglasses","nerd_face","face_with_monocle","confused","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","ok_hand","pinching_hand","v","crossed_fingers","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","tooth","bone","eyes","eye","tongue","lips","baby","child","boy","girl","adult","man","bearded_person","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","curly_haired_woman","white_haired_woman","bald_woman","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","man-frowning","woman-frowning","man-pouting","woman-pouting","man-gesturing-no","woman-gesturing-no","man-gesturing-ok","woman-gesturing-ok","man-tipping-hand","woman-tipping-hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","man-bowing","woman-bowing","man-facepalming","woman-facepalming","man-shrugging","woman-shrugging","male-doctor","female-doctor","male-student","female-student","male-teacher","female-teacher","male-judge","female-judge","male-farmer","female-farmer","male-cook","female-cook","male-mechanic","female-mechanic","male-factory-worker","female-factory-worker","male-office-worker","female-office-worker","male-scientist","female-scientist","male-technologist","female-technologist","male-singer","female-singer","male-artist","female-artist","male-pilot","female-pilot","male-astronaut","female-astronaut","male-firefighter","female-firefighter","male-police-officer","female-police-officer","male-guard","female-guard","male-construction-worker","female-construction-worker","prince","princess","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","man_in_tuxedo","bride_with_veil","pregnant_woman","breast-feeding","angel","santa","mrs_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","man-getting-massage","woman-getting-massage","man-getting-haircut","woman-getting-haircut","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","man_with_probing_cane","woman_with_probing_cane","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","man-with-bunny-ears-partying","woman-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","man-surfing","woman-surfing","man-rowing-boat","woman-rowing-boat","man-swimming","woman-swimming","man-biking","woman-biking","man-mountain-biking","woman-mountain-biking","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","man-playing-water-polo","woman-playing-water-polo","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","couple","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","footprints","kiss","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","brown_heart","black_heart","white_heart","100","anger","boom","dizzy","sweat_drops","dash","hole","bomb","speech_balloon","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{"id":"nature","name":"Animals & Nature","emojis":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","lion_face","tiger","tiger2","leopard","horse","racehorse","unicorn_face","zebra_face","deer","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","hedgehog","bat","bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","flamingo","peacock","parrot","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","fish","tropical_fish","blowfish","shark","octopus","shell","snail","butterfly","bug","ant","bee","beetle","cricket","spider","spider_web","scorpion","mosquito","microbe","bouquet","cherry_blossom","white_flower","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","seedling","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves"]},{"id":"foods","name":"Food & Drink","emojis":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","kiwifruit","tomato","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","cucumber","leafy_green","broccoli","garlic","onion","mushroom","peanuts","chestnut","bread","croissant","baguette_bread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","cup_with_straw","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","amphora"]},{"id":"activity","name":"Activities","emojis":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","8ball","crystal_ball","nazar_amulet","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","yarn"]},{"id":"places","name":"Travel & Places","emojis":["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","busstop","motorway","railway_track","oil_drum","fuelpump","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"id":"objects","name":"Objects","emojis":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","purse","handbag","pouch","shopping_bags","school_satchel","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","crown","womans_hat","tophat","mortar_board","billed_cap","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","iphone","calling","phone","telephone_receiver","pager","fax","battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","currency_exchange","heavy_dollar_sign","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","gun","bow_and_arrow","shield","wrench","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","toolbox","magnet","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","stethoscope","door","bed","couch_and_lamp","chair","toilet","shower","bathtub","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","soap","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","funeral_urn","moyai"]},{"id":"symbols","name":"Symbols","emojis":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","vibration_mode","mobile_phone_off","female_sign","male_sign","medical_symbol","infinity","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","heavy_multiplication_x","x","negative_squared_cross_mark","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","tm","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"id":"flags","name":"Flags","emojis":["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","triangular_flag_on_post","us","waving_black_flag","waving_white_flag"]}],"emojis":{"100":{"a":"Hundred Points Symbol","b":"1F4AF","j":["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],"k":[26,5],"o":2},"1234":{"a":"Input Symbol for Numbers","b":"1F522","j":["numbers","blue-square"],"k":[28,5],"o":2},"grinning":{"a":"Grinning Face","b":"1F600","j":["face","smile","happy","joy",":D","grin"],"k":[30,35],"m":":D","o":2},"monkey_face":{"a":"Monkey Face","b":"1F435","j":["animal","nature","circus"],"k":[12,25],"l":[":o)"],"o":2},"grapes":{"a":"Grapes","b":"1F347","j":["fruit","food","wine"],"k":[6,31],"o":2},"eyeglasses":{"a":"Eyeglasses","b":"1F453","j":["fashion","accessories","eyesight","nerdy","dork","geek"],"k":[14,7],"o":2},"checkered_flag":{"a":"Chequered Flag","b":"1F3C1","j":["contest","finishline","race","gokart"],"k":[8,39],"o":2},"jack_o_lantern":{"a":"Jack-O-Lantern","b":"1F383","j":["halloween","light","pumpkin","creepy","fall"],"k":[7,34],"o":2},"wave":{"a":"Waving Hand Sign","b":"1F44B","j":["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],"k":[13,26],"o":2},"earth_africa":{"a":"Earth Globe Europe-Africa","b":"1F30D","j":["globe","world","international"],"k":[5,32],"o":2},"atm":{"a":"Automated Teller Machine","b":"1F3E7","j":["money","sales","cash","blue-square","payment","bank"],"k":[11,1],"o":2},"melon":{"a":"Melon","b":"1F348","j":["fruit","nature","food"],"k":[6,32],"o":2},"triangular_flag_on_post":{"a":"Triangular Flag on Post","b":"1F6A9","j":["mark","milestone","place"],"k":[35,0],"o":2},"put_litter_in_its_place":{"a":"Put Litter in Its Place Symbol","b":"1F6AE","j":["blue-square","sign","human","info"],"k":[35,5],"o":2},"christmas_tree":{"a":"Christmas Tree","b":"1F384","j":["festival","vacation","december","xmas","celebration"],"k":[7,35],"o":2},"monkey":{"a":"Monkey","b":"1F412","j":["animal","nature","banana","circus"],"k":[11,46],"o":2},"earth_americas":{"a":"Earth Globe Americas","b":"1F30E","j":["globe","world","USA","international"],"k":[5,33],"o":2},"dark_sunglasses":{"a":"Dark Sunglasses","b":"1F576-FE0F","c":"1F576","j":["face","cool","accessories"],"k":[29,33],"o":2},"raised_back_of_hand":{"a":"Raised Back of Hand","b":"1F91A","j":["fingers","raised","backhand"],"k":[37,43],"o":4},"smiley":{"a":"Smiling Face with Open Mouth","b":"1F603","j":["face","happy","joy","haha",":D",":)","smile","funny"],"k":[30,38],"l":["=)","=-)"],"m":":)","o":2},"earth_asia":{"a":"Earth Globe Asia-Australia","b":"1F30F","j":["globe","world","east","international"],"k":[5,34],"o":2},"crossed_flags":{"a":"Crossed Flags","b":"1F38C","j":["japanese","nation","country","border"],"k":[7,48],"o":2},"watermelon":{"a":"Watermelon","b":"1F349","j":["fruit","food","picnic","summer"],"k":[6,33],"o":2},"goggles":{"a":"Goggles","b":"1F97D","k":[42,15],"o":11},"raised_hand_with_fingers_splayed":{"a":"Raised Hand with Fingers Splayed","b":"1F590-FE0F","c":"1F590","j":["hand","fingers","palm"],"k":[29,48],"o":2},"smile":{"a":"Smiling Face with Open Mouth and Smiling Eyes","b":"1F604","j":["face","happy","joy","funny","haha","laugh","like",":D",":)"],"k":[30,39],"l":["C:","c:",":D",":-D"],"m":":)","o":2},"potable_water":{"a":"Potable Water Symbol","b":"1F6B0","j":["blue-square","liquid","restroom","cleaning","faucet"],"k":[35,7],"o":2},"fireworks":{"a":"Fireworks","b":"1F386","j":["photo","festival","carnival","congratulations"],"k":[7,42],"o":2},"gorilla":{"a":"Gorilla","b":"1F98D","j":["animal","nature","circus"],"k":[42,31],"o":4},"lab_coat":{"a":"Lab Coat","b":"1F97C","k":[42,14],"o":11},"tangerine":{"a":"Tangerine","b":"1F34A","j":["food","fruit","nature","orange"],"k":[6,34],"o":2},"wheelchair":{"a":"Wheelchair Symbol","b":"267F","j":["blue-square","disabled","a11y","accessibility"],"k":[53,40],"o":2},"waving_black_flag":{"a":"Waving Black Flag","b":"1F3F4","k":[11,17],"o":2},"orangutan":{"a":"Orangutan","b":"1F9A7","k":[42,55],"o":12},"sparkler":{"a":"Firework Sparkler","b":"1F387","j":["stars","night","shine"],"k":[7,43],"o":2},"globe_with_meridians":{"a":"Globe with Meridians","b":"1F310","j":["earth","international","world","internet","interweb","i18n"],"k":[5,35],"o":2},"grin":{"a":"Grinning Face with Smiling Eyes","b":"1F601","j":["face","happy","smile","joy","kawaii"],"k":[30,36],"o":2},"hand":{"a":"Raised Hand","b":"270B","k":[54,49],"n":["raised_hand"],"o":2},"firecracker":{"a":"Firecracker","b":"1F9E8","k":[51,27],"o":11},"lemon":{"a":"Lemon","b":"1F34B","j":["fruit","nature"],"k":[6,35],"o":2},"dog":{"a":"Dog Face","b":"1F436","j":["animal","friend","nature","woof","puppy","pet","faithful"],"k":[12,26],"o":2},"mens":{"a":"Mens Symbol","b":"1F6B9","j":["toilet","restroom","wc","blue-square","gender","male"],"k":[36,10],"o":2},"spock-hand":{"a":"Raised Hand with Part Between Middle and Ring Fingers","b":"1F596","k":[30,3],"o":2},"world_map":{"a":"World Map","b":"1F5FA-FE0F","c":"1F5FA","j":["location","direction"],"k":[30,29],"o":2},"laughing":{"a":"Smiling Face with Open Mouth and Tightly-Closed Eyes","b":"1F606","j":["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],"k":[30,41],"l":[":>",":->"],"n":["satisfied"],"o":2},"waving_white_flag":{"a":"Waving White Flag","b":"1F3F3-FE0F","c":"1F3F3","k":[11,12],"o":2},"safety_vest":{"a":"Safety Vest","b":"1F9BA","k":[43,54],"o":12},"sweat_smile":{"a":"Smiling Face with Open Mouth and Cold Sweat","b":"1F605","j":["face","hot","happy","laugh","sweat","smile","relief"],"k":[30,40],"o":2},"sparkles":{"a":"Sparkles","b":"2728","j":["stars","shine","shiny","cool","awesome","good","magic"],"k":[55,16],"o":2},"banana":{"a":"Banana","b":"1F34C","j":["fruit","food","monkey"],"k":[6,36],"o":2},"rainbow-flag":{"a":"Rainbow Flag","b":"1F3F3-FE0F-200D-1F308","c":"1F3F3-200D-1F308","k":[11,11],"o":4},"ok_hand":{"a":"Ok Hand Sign","b":"1F44C","j":["fingers","limbs","perfect","ok","okay"],"k":[13,32],"o":2},"japan":{"a":"Silhouette of Japan","b":"1F5FE","j":["nation","country","japanese","asia"],"k":[30,33],"o":2},"dog2":{"a":"Dog","b":"1F415","j":["animal","nature","friend","doge","pet","faithful"],"k":[11,50],"o":2},"womens":{"a":"Womens Symbol","b":"1F6BA","j":["purple-square","woman","female","toilet","loo","restroom","gender"],"k":[36,11],"o":2},"necktie":{"a":"Necktie","b":"1F454","j":["shirt","suitup","formal","fashion","cloth","business"],"k":[14,8],"o":2},"pirate_flag":{"a":"Pirate Flag","b":"1F3F4-200D-2620-FE0F","c":"1F3F4-200D-2620","k":[11,13],"o":11},"guide_dog":{"a":"Guide Dog","b":"1F9AE","k":[43,2],"o":12},"restroom":{"a":"Restroom","b":"1F6BB","j":["blue-square","toilet","refresh","wc","gender"],"k":[36,12],"o":2},"compass":{"a":"Compass","b":"1F9ED","k":[51,32],"o":11},"rolling_on_the_floor_laughing":{"a":"Rolling on the Floor Laughing","b":"1F923","k":[38,20],"o":4},"balloon":{"a":"Balloon","b":"1F388","j":["party","celebration","birthday","circus"],"k":[7,44],"o":2},"pinching_hand":{"a":"Pinching Hand","b":"1F90F","k":[37,17],"o":12},"pineapple":{"a":"Pineapple","b":"1F34D","j":["fruit","nature","food"],"k":[6,37],"o":2},"shirt":{"a":"T-Shirt","b":"1F455","k":[14,9],"n":["tshirt"],"o":2},"service_dog":{"a":"Service Dog","b":"1F415-200D-1F9BA","k":[11,49],"o":12},"baby_symbol":{"a":"Baby Symbol","b":"1F6BC","j":["orange-square","child"],"k":[36,13],"o":2},"joy":{"a":"Face with Tears of Joy","b":"1F602","j":["face","cry","tears","weep","happy","happytears","haha"],"k":[30,37],"o":2},"tada":{"a":"Party Popper","b":"1F389","j":["party","congratulations","birthday","magic","circus","celebration"],"k":[7,45],"o":2},"mango":{"a":"Mango","b":"1F96D","k":[42,3],"o":11},"v":{"a":"Victory Hand","b":"270C-FE0F","c":"270C","j":["fingers","ohyeah","hand","peace","victory","two"],"k":[54,55],"o":2},"snow_capped_mountain":{"a":"Snow Capped Mountain","b":"1F3D4-FE0F","c":"1F3D4","k":[10,39],"o":2},"flag-ac":{"a":"Ascension Island Flag","b":"1F1E6-1F1E8","k":[0,31],"o":2},"jeans":{"a":"Jeans","b":"1F456","j":["fashion","shopping"],"k":[14,10],"o":2},"poodle":{"a":"Poodle","b":"1F429","j":["dog","animal","101","nature","pet"],"k":[12,13],"o":2},"crossed_fingers":{"a":"Hand with Index and Middle Fingers Crossed","b":"1F91E","j":["good","lucky"],"k":[38,5],"n":["hand_with_index_and_middle_fingers_crossed"],"o":4},"flag-ad":{"a":"Andorra Flag","b":"1F1E6-1F1E9","k":[0,32],"o":2},"slightly_smiling_face":{"a":"Slightly Smiling Face","b":"1F642","j":["face","smile"],"k":[31,44],"l":[":)","(:",":-)"],"o":2},"apple":{"a":"Red Apple","b":"1F34E","j":["fruit","mac","school"],"k":[6,38],"o":2},"wc":{"a":"Water Closet","b":"1F6BE","j":["toilet","restroom","blue-square"],"k":[36,15],"o":2},"scarf":{"a":"Scarf","b":"1F9E3","k":[51,22],"o":5},"mountain":{"a":"Mountain","b":"26F0-FE0F","c":"26F0","j":["photo","nature","environment"],"k":[54,11],"o":2},"confetti_ball":{"a":"Confetti Ball","b":"1F38A","j":["festival","party","birthday","circus"],"k":[7,46],"o":2},"i_love_you_hand_sign":{"a":"I Love You Hand Sign","b":"1F91F","k":[38,11],"o":5},"wolf":{"a":"Wolf Face","b":"1F43A","j":["animal","nature","wild"],"k":[12,30],"o":2},"gloves":{"a":"Gloves","b":"1F9E4","k":[51,23],"o":5},"flag-ae":{"a":"United Arab Emirates Flag","b":"1F1E6-1F1EA","k":[0,33],"o":2},"upside_down_face":{"a":"Upside-Down Face","b":"1F643","j":["face","flipped","silly","smile"],"k":[31,45],"o":2},"green_apple":{"a":"Green Apple","b":"1F34F","j":["fruit","nature"],"k":[6,39],"o":2},"passport_control":{"a":"Passport Control","b":"1F6C2","j":["custom","blue-square"],"k":[36,24],"o":2},"volcano":{"a":"Volcano","b":"1F30B","j":["photo","nature","disaster"],"k":[5,30],"o":2},"tanabata_tree":{"a":"Tanabata Tree","b":"1F38B","j":["plant","nature","branch","summer"],"k":[7,47],"o":2},"customs":{"a":"Customs","b":"1F6C3","j":["passport","border","blue-square"],"k":[36,25],"o":2},"coat":{"a":"Coat","b":"1F9E5","k":[51,24],"o":5},"wink":{"a":"Winking Face","b":"1F609","j":["face","happy","mischievous","secret",";)","smile","eye"],"k":[30,44],"l":[";)",";-)"],"m":";)","o":2},"bamboo":{"a":"Pine Decoration","b":"1F38D","j":["plant","nature","vegetable","panda","pine_decoration"],"k":[7,49],"o":2},"flag-af":{"a":"Afghanistan Flag","b":"1F1E6-1F1EB","k":[0,34],"o":2},"fox_face":{"a":"Fox Face","b":"1F98A","j":["animal","nature","face"],"k":[42,28],"o":4},"pear":{"a":"Pear","b":"1F350","j":["fruit","nature","food"],"k":[6,40],"o":2},"mount_fuji":{"a":"Mount Fuji","b":"1F5FB","j":["photo","mountain","nature","japanese"],"k":[30,30],"o":2},"the_horns":{"a":"Sign of the Horns","b":"1F918","k":[37,31],"n":["sign_of_the_horns"],"o":2},"call_me_hand":{"a":"Call Me Hand","b":"1F919","j":["hands","gesture"],"k":[37,37],"o":4},"flag-ag":{"a":"Antigua & Barbuda Flag","b":"1F1E6-1F1EC","k":[0,35],"o":2},"raccoon":{"a":"Raccoon","b":"1F99D","k":[42,47],"o":11},"dolls":{"a":"Japanese Dolls","b":"1F38E","j":["japanese","toy","kimono"],"k":[7,50],"o":2},"blush":{"a":"Smiling Face with Smiling Eyes","b":"1F60A","j":["face","smile","happy","flushed","crush","embarrassed","shy","joy"],"k":[30,45],"m":":)","o":2},"peach":{"a":"Peach","b":"1F351","j":["fruit","nature","food"],"k":[6,41],"o":2},"baggage_claim":{"a":"Baggage Claim","b":"1F6C4","j":["blue-square","airport","transport"],"k":[36,26],"o":2},"socks":{"a":"Socks","b":"1F9E6","k":[51,25],"o":5},"camping":{"a":"Camping","b":"1F3D5-FE0F","c":"1F3D5","j":["photo","outdoors","tent"],"k":[10,40],"o":2},"dress":{"a":"Dress","b":"1F457","j":["clothes","fashion","shopping"],"k":[14,11],"o":2},"beach_with_umbrella":{"a":"Beach with Umbrella","b":"1F3D6-FE0F","c":"1F3D6","k":[10,41],"o":2},"cherries":{"a":"Cherries","b":"1F352","j":["food","fruit"],"k":[6,42],"o":2},"cat":{"a":"Cat Face","b":"1F431","j":["animal","meow","nature","pet","kitten"],"k":[12,21],"o":2},"point_left":{"a":"White Left Pointing Backhand Index","b":"1F448","j":["direction","fingers","hand","left"],"k":[13,8],"o":2},"left_luggage":{"a":"Left Luggage","b":"1F6C5","j":["blue-square","travel"],"k":[36,27],"o":2},"flag-ai":{"a":"Anguilla Flag","b":"1F1E6-1F1EE","k":[0,36],"o":2},"innocent":{"a":"Smiling Face with Halo","b":"1F607","j":["face","angel","heaven","halo"],"k":[30,42],"o":2},"flags":{"a":"Carp Streamer","b":"1F38F","j":["fish","japanese","koinobori","carp","banner"],"k":[7,51],"o":2},"warning":{"a":"Warning Sign","b":"26A0-FE0F","c":"26A0","j":["exclamation","wip","alert","error","problem","issue"],"k":[53,50],"o":2},"strawberry":{"a":"Strawberry","b":"1F353","j":["fruit","food","nature"],"k":[6,43],"o":2},"point_right":{"a":"White Right Pointing Backhand Index","b":"1F449","j":["fingers","hand","direction","right"],"k":[13,14],"o":2},"desert":{"a":"Desert","b":"1F3DC-FE0F","c":"1F3DC","j":["photo","warm","saharah"],"k":[10,47],"o":2},"kimono":{"a":"Kimono","b":"1F458","j":["dress","fashion","women","female","japanese"],"k":[14,12],"o":2},"flag-al":{"a":"Albania Flag","b":"1F1E6-1F1F1","k":[0,37],"o":2},"wind_chime":{"a":"Wind Chime","b":"1F390","j":["nature","ding","spring","bell"],"k":[7,52],"o":2},"smiling_face_with_3_hearts":{"a":"Smiling Face with Smiling Eyes and Three Hearts","b":"1F970","k":[42,6],"o":11},"cat2":{"a":"Cat","b":"1F408","j":["animal","meow","pet","cats"],"k":[11,36],"o":2},"rice_scene":{"a":"Moon Viewing Ceremony","b":"1F391","j":["photo","japan","asia","tsukimi"],"k":[7,53],"o":2},"heart_eyes":{"a":"Smiling Face with Heart-Shaped Eyes","b":"1F60D","j":["face","love","like","affection","valentines","infatuation","crush","heart"],"k":[30,48],"o":2},"sari":{"a":"Sari","b":"1F97B","k":[42,13],"o":12},"flag-am":{"a":"Armenia Flag","b":"1F1E6-1F1F2","k":[0,38],"o":2},"lion_face":{"a":"Lion Face","b":"1F981","k":[42,19],"o":2},"desert_island":{"a":"Desert Island","b":"1F3DD-FE0F","c":"1F3DD","j":["photo","tropical","mojito"],"k":[10,48],"o":2},"point_up_2":{"a":"White Up Pointing Backhand Index","b":"1F446","j":["fingers","hand","direction","up"],"k":[12,53],"o":2},"kiwifruit":{"a":"Kiwifruit","b":"1F95D","k":[41,44],"o":4},"children_crossing":{"a":"Children Crossing","b":"1F6B8","j":["school","warning","danger","sign","driving","yellow-diamond"],"k":[36,9],"o":2},"national_park":{"a":"National Park","b":"1F3DE-FE0F","c":"1F3DE","j":["photo","environment","nature"],"k":[10,49],"o":2},"no_entry":{"a":"No Entry","b":"26D4","j":["limit","security","privacy","bad","denied","stop","circle"],"k":[54,8],"o":2},"one-piece_swimsuit":{"a":"One-Piece Swimsuit","b":"1FA71","k":[51,52],"o":12},"tiger":{"a":"Tiger Face","b":"1F42F","j":["animal","cat","danger","wild","nature","roar"],"k":[12,19],"o":2},"red_envelope":{"a":"Red Gift Envelope","b":"1F9E7","k":[51,26],"o":11},"star-struck":{"a":"Grinning Face with Star Eyes","b":"1F929","k":[38,43],"n":["grinning_face_with_star_eyes"],"o":5},"middle_finger":{"a":"Reversed Hand with Middle Finger Extended","b":"1F595","k":[29,54],"n":["reversed_hand_with_middle_finger_extended"],"o":2},"flag-ao":{"a":"Angola Flag","b":"1F1E6-1F1F4","k":[0,39],"o":2},"tomato":{"a":"Tomato","b":"1F345","j":["fruit","vegetable","nature","food"],"k":[6,29],"o":2},"coconut":{"a":"Coconut","b":"1F965","k":[41,52],"o":5},"ribbon":{"a":"Ribbon","b":"1F380","j":["decoration","pink","girl","bowtie"],"k":[7,31],"o":2},"no_entry_sign":{"a":"No Entry Sign","b":"1F6AB","j":["forbid","stop","limit","denied","disallow","circle"],"k":[35,2],"o":2},"point_down":{"a":"White Down Pointing Backhand Index","b":"1F447","j":["fingers","hand","direction","down"],"k":[13,2],"o":2},"flag-aq":{"a":"Antarctica Flag","b":"1F1E6-1F1F6","k":[0,40],"o":2},"briefs":{"a":"Briefs","b":"1FA72","k":[51,53],"o":12},"kissing_heart":{"a":"Face Throwing a Kiss","b":"1F618","j":["face","love","like","affection","valentines","infatuation","kiss"],"k":[31,2],"l":[":*",":-*"],"o":2},"tiger2":{"a":"Tiger","b":"1F405","j":["animal","nature","roar"],"k":[11,33],"o":2},"stadium":{"a":"Stadium","b":"1F3DF-FE0F","c":"1F3DF","j":["photo","place","sports","concert","venue"],"k":[10,50],"o":2},"leopard":{"a":"Leopard","b":"1F406","j":["animal","nature"],"k":[11,34],"o":2},"no_bicycles":{"a":"No Bicycles","b":"1F6B3","j":["cyclist","prohibited","circle"],"k":[35,10],"o":2},"kissing":{"a":"Kissing Face","b":"1F617","j":["love","like","face","3","valentines","infatuation","kiss"],"k":[31,1],"o":2},"flag-ar":{"a":"Argentina Flag","b":"1F1E6-1F1F7","k":[0,41],"o":2},"avocado":{"a":"Avocado","b":"1F951","j":["fruit","food"],"k":[41,32],"o":4},"point_up":{"a":"White Up Pointing Index","b":"261D-FE0F","c":"261D","j":["hand","fingers","direction","up"],"k":[53,2],"o":2},"gift":{"a":"Wrapped Present","b":"1F381","j":["present","birthday","christmas","xmas"],"k":[7,32],"o":2},"classical_building":{"a":"Classical Building","b":"1F3DB-FE0F","c":"1F3DB","j":["art","culture","history"],"k":[10,46],"o":2},"shorts":{"a":"Shorts","b":"1FA73","k":[51,54],"o":12},"+1":{"a":"Thumbs Up Sign","b":"1F44D","j":["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],"k":[13,38],"n":["thumbsup"],"o":2},"horse":{"a":"Horse Face","b":"1F434","j":["animal","brown","nature"],"k":[12,24],"o":2},"bikini":{"a":"Bikini","b":"1F459","j":["swimming","female","woman","girl","fashion","beach","summer"],"k":[14,13],"o":2},"no_smoking":{"a":"No Smoking Symbol","b":"1F6AD","j":["cigarette","blue-square","smell","smoke"],"k":[35,4],"o":2},"eggplant":{"a":"Aubergine","b":"1F346","j":["vegetable","nature","food","aubergine"],"k":[6,30],"o":2},"flag-as":{"a":"American Samoa Flag","b":"1F1E6-1F1F8","k":[0,42],"o":2},"reminder_ribbon":{"a":"Reminder Ribbon","b":"1F397-FE0F","c":"1F397","j":["sports","cause","support","awareness"],"k":[8,0],"o":2},"building_construction":{"a":"Building Construction","b":"1F3D7-FE0F","c":"1F3D7","j":["wip","working","progress"],"k":[10,42],"o":2},"relaxed":{"a":"White Smiling Face","b":"263A-FE0F","c":"263A","j":["face","blush","massage","happiness"],"k":[53,17],"o":2},"kissing_closed_eyes":{"a":"Kissing Face with Closed Eyes","b":"1F61A","j":["face","love","like","affection","valentines","infatuation","kiss"],"k":[31,4],"o":2},"-1":{"a":"Thumbs Down Sign","b":"1F44E","j":["thumbsdown","no","dislike","hand"],"k":[13,44],"n":["thumbsdown"],"o":2},"admission_tickets":{"a":"Admission Tickets","b":"1F39F-FE0F","c":"1F39F","k":[8,5],"o":2},"flag-at":{"a":"Austria Flag","b":"1F1E6-1F1F9","k":[0,43],"o":2},"womans_clothes":{"a":"Womans Clothes","b":"1F45A","j":["fashion","shopping_bags","female"],"k":[14,14],"o":2},"do_not_litter":{"a":"Do Not Litter Symbol","b":"1F6AF","j":["trash","bin","garbage","circle"],"k":[35,6],"o":2},"potato":{"a":"Potato","b":"1F954","j":["food","tuber","vegatable","starch"],"k":[41,35],"o":4},"racehorse":{"a":"Horse","b":"1F40E","j":["animal","gamble","luck"],"k":[11,42],"o":2},"bricks":{"a":"Brick","b":"1F9F1","k":[51,36],"o":11},"fist":{"a":"Raised Fist","b":"270A","j":["fingers","hand","grasp"],"k":[54,43],"o":2},"house_buildings":{"a":"House Buildings","b":"1F3D8-FE0F","c":"1F3D8","k":[10,43],"o":2},"carrot":{"a":"Carrot","b":"1F955","j":["vegetable","food","orange"],"k":[41,36],"o":4},"ticket":{"a":"Ticket","b":"1F3AB","j":["event","concert","pass"],"k":[8,17],"o":2},"flag-au":{"a":"Australia Flag","b":"1F1E6-1F1FA","k":[0,44],"o":2},"non-potable_water":{"a":"Non-Potable Water Symbol","b":"1F6B1","j":["drink","faucet","tap","circle"],"k":[35,8],"o":2},"purse":{"a":"Purse","b":"1F45B","j":["fashion","accessories","money","sales","shopping"],"k":[14,15],"o":2},"unicorn_face":{"a":"Unicorn Face","b":"1F984","k":[42,22],"o":2},"kissing_smiling_eyes":{"a":"Kissing Face with Smiling Eyes","b":"1F619","j":["face","affection","valentines","infatuation","kiss"],"k":[31,3],"o":2},"facepunch":{"a":"Fisted Hand Sign","b":"1F44A","j":["angry","violence","fist","hit","attack","hand"],"k":[13,20],"n":["punch"],"o":2},"medal":{"a":"Medal","b":"1F396-FE0F","c":"1F396","k":[7,56],"o":2},"zebra_face":{"a":"Zebra Face","b":"1F993","k":[42,37],"o":5},"handbag":{"a":"Handbag","b":"1F45C","j":["fashion","accessory","accessories","shopping"],"k":[14,16],"o":2},"derelict_house_building":{"a":"Derelict House Building","b":"1F3DA-FE0F","c":"1F3DA","k":[10,45],"o":2},"yum":{"a":"Face Savouring Delicious Food","b":"1F60B","j":["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],"k":[30,46],"o":2},"corn":{"a":"Ear of Maize","b":"1F33D","j":["food","vegetable","plant"],"k":[6,21],"o":2},"flag-aw":{"a":"Aruba Flag","b":"1F1E6-1F1FC","k":[0,45],"o":2},"no_pedestrians":{"a":"No Pedestrians","b":"1F6B7","j":["rules","crossing","walking","circle"],"k":[36,8],"o":2},"house":{"a":"House Building","b":"1F3E0","j":["building","home"],"k":[10,51],"o":2},"hot_pepper":{"a":"Hot Pepper","b":"1F336-FE0F","c":"1F336","j":["food","spicy","chilli","chili"],"k":[6,14],"o":2},"flag-ax":{"a":"\xc5land Islands Flag","b":"1F1E6-1F1FD","k":[0,46],"o":2},"trophy":{"a":"Trophy","b":"1F3C6","j":["win","award","contest","place","ftw","ceremony"],"k":[9,26],"o":2},"deer":{"a":"Deer","b":"1F98C","j":["animal","nature","horns","venison"],"k":[42,30],"o":4},"left-facing_fist":{"a":"Left-Facing Fist","b":"1F91B","k":[37,49],"o":4},"stuck_out_tongue":{"a":"Face with Stuck-out Tongue","b":"1F61B","j":["face","prank","childish","playful","mischievous","smile","tongue"],"k":[31,5],"l":[":p",":-p",":P",":-P",":b",":-b"],"m":":p","o":2},"pouch":{"a":"Pouch","b":"1F45D","j":["bag","accessories","shopping"],"k":[14,17],"o":2},"no_mobile_phones":{"a":"No Mobile Phones","b":"1F4F5","j":["iphone","mute","circle"],"k":[27,18],"o":2},"stuck_out_tongue_winking_eye":{"a":"Face with Stuck-out Tongue and Winking Eye","b":"1F61C","j":["face","prank","childish","playful","mischievous","smile","wink","tongue"],"k":[31,6],"l":[";p",";-p",";b",";-b",";P",";-P"],"m":";p","o":2},"sports_medal":{"a":"Sports Medal","b":"1F3C5","k":[9,25],"o":2},"cucumber":{"a":"Cucumber","b":"1F952","j":["fruit","food","pickle"],"k":[41,33],"o":4},"cow":{"a":"Cow Face","b":"1F42E","j":["beef","ox","animal","nature","moo","milk"],"k":[12,18],"o":2},"underage":{"a":"No One Under Eighteen Symbol","b":"1F51E","j":["18","drink","pub","night","minor","circle"],"k":[28,1],"o":2},"flag-az":{"a":"Azerbaijan Flag","b":"1F1E6-1F1FF","k":[0,47],"o":2},"shopping_bags":{"a":"Shopping Bags","b":"1F6CD-FE0F","c":"1F6CD","k":[36,35],"o":2},"right-facing_fist":{"a":"Right-Facing Fist","b":"1F91C","k":[37,55],"o":4},"house_with_garden":{"a":"House with Garden","b":"1F3E1","j":["home","plant","nature"],"k":[10,52],"o":2},"clap":{"a":"Clapping Hands Sign","b":"1F44F","j":["hands","praise","applause","congrats","yay"],"k":[13,50],"o":2},"leafy_green":{"a":"Leafy Green","b":"1F96C","k":[42,2],"o":11},"office":{"a":"Office Building","b":"1F3E2","j":["building","bureau","work"],"k":[10,53],"o":2},"flag-ba":{"a":"Bosnia & Herzegovina Flag","b":"1F1E7-1F1E6","k":[0,48],"o":2},"zany_face":{"a":"Grinning Face with One Large and One Small Eye","b":"1F92A","k":[38,44],"n":["grinning_face_with_one_large_and_one_small_eye"],"o":5},"first_place_medal":{"a":"First Place Medal","b":"1F947","k":[41,22],"o":4},"ox":{"a":"Ox","b":"1F402","j":["animal","cow","beef"],"k":[11,30],"o":2},"school_satchel":{"a":"School Satchel","b":"1F392","j":["student","education","bag","backpack"],"k":[7,54],"o":2},"radioactive_sign":{"a":"Radioactive Sign","b":"2622-FE0F","c":"2622","k":[53,9],"o":2},"second_place_medal":{"a":"Second Place Medal","b":"1F948","k":[41,23],"o":4},"stuck_out_tongue_closed_eyes":{"a":"Face with Stuck-out Tongue and Tightly-Closed Eyes","b":"1F61D","j":["face","prank","playful","mischievous","smile","tongue"],"k":[31,7],"o":2},"broccoli":{"a":"Broccoli","b":"1F966","k":[41,53],"o":5},"biohazard_sign":{"a":"Biohazard Sign","b":"2623-FE0F","c":"2623","k":[53,10],"o":2},"mans_shoe":{"a":"Mans Shoe","b":"1F45E","j":["fashion","male"],"k":[14,18],"n":["shoe"],"o":2},"raised_hands":{"a":"Person Raising Both Hands in Celebration","b":"1F64C","j":["gesture","hooray","yea","celebration","hands"],"k":[33,8],"o":2},"post_office":{"a":"Japanese Post Office","b":"1F3E3","j":["building","envelope","communication"],"k":[10,54],"o":2},"flag-bb":{"a":"Barbados Flag","b":"1F1E7-1F1E7","k":[0,49],"o":2},"water_buffalo":{"a":"Water Buffalo","b":"1F403","j":["animal","nature","ox","cow"],"k":[11,31],"o":2},"third_place_medal":{"a":"Third Place Medal","b":"1F949","k":[41,24],"o":4},"european_post_office":{"a":"European Post Office","b":"1F3E4","j":["building","email"],"k":[10,55],"o":2},"athletic_shoe":{"a":"Athletic Shoe","b":"1F45F","j":["shoes","sports","sneakers"],"k":[14,19],"o":2},"arrow_up":{"a":"Upwards Black Arrow","b":"2B06-FE0F","c":"2B06","j":["blue-square","continue","top","direction"],"k":[55,38],"o":2},"cow2":{"a":"Cow","b":"1F404","j":["beef","ox","animal","nature","moo","milk"],"k":[11,32],"o":2},"open_hands":{"a":"Open Hands Sign","b":"1F450","j":["fingers","butterfly","hands","open"],"k":[13,56],"o":2},"garlic":{"a":"Garlic","b":"1F9C4","k":[44,12],"o":12},"money_mouth_face":{"a":"Money-Mouth Face","b":"1F911","j":["face","rich","dollar","money"],"k":[37,24],"o":2},"flag-bd":{"a":"Bangladesh Flag","b":"1F1E7-1F1E9","k":[0,50],"o":2},"soccer":{"a":"Soccer Ball","b":"26BD","j":["sports","football"],"k":[53,56],"o":2},"hugging_face":{"a":"Hugging Face","b":"1F917","k":[37,30],"o":2},"onion":{"a":"Onion","b":"1F9C5","k":[44,13],"o":12},"arrow_upper_right":{"a":"North East Arrow","b":"2197-FE0F","c":"2197","j":["blue-square","point","direction","diagonal","northeast"],"k":[52,17],"o":2},"palms_up_together":{"a":"Palms Up Together","b":"1F932","k":[39,5],"o":5},"pig":{"a":"Pig Face","b":"1F437","j":["animal","oink","nature"],"k":[12,27],"o":2},"hospital":{"a":"Hospital","b":"1F3E5","j":["building","health","surgery","doctor"],"k":[10,56],"o":2},"hiking_boot":{"a":"Hiking Boot","b":"1F97E","k":[42,16],"o":11},"flag-be":{"a":"Belgium Flag","b":"1F1E7-1F1EA","k":[0,51],"o":2},"flag-bf":{"a":"Burkina Faso Flag","b":"1F1E7-1F1EB","k":[0,52],"o":2},"mushroom":{"a":"Mushroom","b":"1F344","j":["plant","vegetable"],"k":[6,28],"o":2},"pig2":{"a":"Pig","b":"1F416","j":["animal","nature"],"k":[11,51],"o":2},"baseball":{"a":"Baseball","b":"26BE","j":["sports","balls"],"k":[54,0],"o":2},"face_with_hand_over_mouth":{"a":"Smiling Face with Smiling Eyes and Hand Covering Mouth","b":"1F92D","k":[38,47],"n":["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],"o":5},"handshake":{"a":"Handshake","b":"1F91D","j":["agreement","shake"],"k":[38,4],"o":4},"womans_flat_shoe":{"a":"Flat Shoe","b":"1F97F","k":[42,17],"o":11},"bank":{"a":"Bank","b":"1F3E6","j":["building","money","sales","cash","business","enterprise"],"k":[11,0],"o":2},"arrow_right":{"a":"Black Rightwards Arrow","b":"27A1-FE0F","c":"27A1","j":["blue-square","next"],"k":[55,32],"o":2},"peanuts":{"a":"Peanuts","b":"1F95C","j":["food","nut"],"k":[41,43],"o":4},"shushing_face":{"a":"Face with Finger Covering Closed Lips","b":"1F92B","k":[38,45],"n":["face_with_finger_covering_closed_lips"],"o":5},"pray":{"a":"Person with Folded Hands","b":"1F64F","j":["please","hope","wish","namaste","highfive"],"k":[33,50],"o":2},"softball":{"a":"Softball","b":"1F94E","k":[41,29],"o":11},"high_heel":{"a":"High-Heeled Shoe","b":"1F460","j":["fashion","shoes","female","pumps","stiletto"],"k":[14,20],"o":2},"flag-bg":{"a":"Bulgaria Flag","b":"1F1E7-1F1EC","k":[0,53],"o":2},"arrow_lower_right":{"a":"South East Arrow","b":"2198-FE0F","c":"2198","j":["blue-square","direction","diagonal","southeast"],"k":[52,18],"o":2},"hotel":{"a":"Hotel","b":"1F3E8","j":["building","accomodation","checkin"],"k":[11,2],"o":2},"boar":{"a":"Boar","b":"1F417","j":["animal","nature"],"k":[11,52],"o":2},"sandal":{"a":"Womans Sandal","b":"1F461","j":["shoes","fashion","flip flops"],"k":[14,21],"o":2},"flag-bh":{"a":"Bahrain Flag","b":"1F1E7-1F1ED","k":[0,54],"o":2},"arrow_down":{"a":"Downwards Black Arrow","b":"2B07-FE0F","c":"2B07","j":["blue-square","direction","bottom"],"k":[55,39],"o":2},"thinking_face":{"a":"Thinking Face","b":"1F914","k":[37,27],"o":2},"writing_hand":{"a":"Writing Hand","b":"270D-FE0F","c":"270D","j":["lower_left_ballpoint_pen","stationery","write","compose"],"k":[55,4],"o":2},"chestnut":{"a":"Chestnut","b":"1F330","j":["food","squirrel"],"k":[6,8],"o":2},"basketball":{"a":"Basketball and Hoop","b":"1F3C0","j":["sports","balls","NBA"],"k":[8,38],"o":2},"pig_nose":{"a":"Pig Nose","b":"1F43D","j":["animal","oink"],"k":[12,33],"o":2},"love_hotel":{"a":"Love Hotel","b":"1F3E9","j":["like","affection","dating"],"k":[11,3],"o":2},"nail_care":{"a":"Nail Polish","b":"1F485","j":["beauty","manicure","finger","fashion","nail"],"k":[24,33],"o":2},"volleyball":{"a":"Volleyball","b":"1F3D0","j":["sports","balls"],"k":[10,35],"o":2},"flag-bi":{"a":"Burundi Flag","b":"1F1E7-1F1EE","k":[0,55],"o":2},"arrow_lower_left":{"a":"South West Arrow","b":"2199-FE0F","c":"2199","j":["blue-square","direction","diagonal","southwest"],"k":[52,19],"o":2},"ram":{"a":"Ram","b":"1F40F","j":["animal","sheep","nature"],"k":[11,43],"o":2},"ballet_shoes":{"a":"Ballet Shoes","b":"1FA70","k":[51,51],"o":12},"zipper_mouth_face":{"a":"Zipper-Mouth Face","b":"1F910","j":["face","sealed","zipper","secret"],"k":[37,23],"o":2},"bread":{"a":"Bread","b":"1F35E","j":["food","wheat","breakfast","toast"],"k":[6,54],"o":2},"convenience_store":{"a":"Convenience Store","b":"1F3EA","j":["building","shopping","groceries"],"k":[11,4],"o":2},"boot":{"a":"Womans Boots","b":"1F462","j":["shoes","fashion"],"k":[14,22],"o":2},"sheep":{"a":"Sheep","b":"1F411","j":["animal","nature","wool","shipit"],"k":[11,45],"o":2},"face_with_raised_eyebrow":{"a":"Face with One Eyebrow Raised","b":"1F928","k":[38,42],"n":["face_with_one_eyebrow_raised"],"o":5},"flag-bj":{"a":"Benin Flag","b":"1F1E7-1F1EF","k":[0,56],"o":2},"arrow_left":{"a":"Leftwards Black Arrow","b":"2B05-FE0F","c":"2B05","j":["blue-square","previous","back"],"k":[55,37],"o":2},"selfie":{"a":"Selfie","b":"1F933","j":["camera","phone"],"k":[39,11],"o":4},"croissant":{"a":"Croissant","b":"1F950","j":["food","bread","french"],"k":[41,31],"o":4},"school":{"a":"School","b":"1F3EB","j":["building","student","education","learn","teach"],"k":[11,5],"o":2},"football":{"a":"American Football","b":"1F3C8","j":["sports","balls","NFL"],"k":[9,33],"o":2},"goat":{"a":"Goat","b":"1F410","j":["animal","nature"],"k":[11,44],"o":2},"department_store":{"a":"Department Store","b":"1F3EC","j":["building","shopping","mall"],"k":[11,6],"o":2},"flag-bl":{"a":"St. Barth\xe9lemy Flag","b":"1F1E7-1F1F1","k":[1,0],"o":2},"crown":{"a":"Crown","b":"1F451","j":["king","kod","leader","royalty","lord"],"k":[14,5],"o":2},"arrow_upper_left":{"a":"North West Arrow","b":"2196-FE0F","c":"2196","j":["blue-square","point","direction","diagonal","northwest"],"k":[52,16],"o":2},"neutral_face":{"a":"Neutral Face","b":"1F610","j":["indifference","meh",":|","neutral"],"k":[30,51],"l":[":|",":-|"],"o":2},"rugby_football":{"a":"Rugby Football","b":"1F3C9","j":["sports","team"],"k":[9,34],"o":2},"muscle":{"a":"Flexed Biceps","b":"1F4AA","j":["arm","flex","hand","summer","strong","biceps"],"k":[25,52],"o":2},"baguette_bread":{"a":"Baguette Bread","b":"1F956","j":["food","bread","french"],"k":[41,37],"o":4},"expressionless":{"a":"Expressionless Face","b":"1F611","j":["face","indifferent","-_-","meh","deadpan"],"k":[30,52],"o":2},"womans_hat":{"a":"Womans Hat","b":"1F452","j":["fashion","accessories","female","lady","spring"],"k":[14,6],"o":2},"pretzel":{"a":"Pretzel","b":"1F968","k":[41,55],"o":5},"mechanical_arm":{"a":"Mechanical Arm","b":"1F9BE","k":[44,6],"o":12},"arrow_up_down":{"a":"Up Down Arrow","b":"2195-FE0F","c":"2195","j":["blue-square","direction","way","vertical"],"k":[52,15],"o":2},"dromedary_camel":{"a":"Dromedary Camel","b":"1F42A","j":["animal","hot","desert","hump"],"k":[12,14],"o":2},"tennis":{"a":"Tennis Racquet and Ball","b":"1F3BE","j":["sports","balls","green"],"k":[8,36],"o":2},"flag-bm":{"a":"Bermuda Flag","b":"1F1E7-1F1F2","k":[1,1],"o":2},"factory":{"a":"Factory","b":"1F3ED","j":["building","industry","pollution","smoke"],"k":[11,7],"o":2},"japanese_castle":{"a":"Japanese Castle","b":"1F3EF","j":["photo","building"],"k":[11,9],"o":2},"no_mouth":{"a":"Face Without Mouth","b":"1F636","j":["face","hellokitty"],"k":[31,32],"o":2},"mechanical_leg":{"a":"Mechanical Leg","b":"1F9BF","k":[44,7],"o":12},"bagel":{"a":"Bagel","b":"1F96F","k":[42,5],"o":11},"camel":{"a":"Bactrian Camel","b":"1F42B","j":["animal","nature","hot","desert","hump"],"k":[12,15],"o":2},"tophat":{"a":"Top Hat","b":"1F3A9","j":["magic","gentleman","classy","circus"],"k":[8,15],"o":2},"left_right_arrow":{"a":"Left Right Arrow","b":"2194-FE0F","c":"2194","j":["shape","direction","horizontal","sideways"],"k":[52,14],"o":2},"flag-bn":{"a":"Brunei Flag","b":"1F1E7-1F1F3","k":[1,2],"o":2},"flying_disc":{"a":"Flying Disc","b":"1F94F","k":[41,30],"o":11},"smirk":{"a":"Smirking Face","b":"1F60F","j":["face","smile","mean","prank","smug","sarcasm"],"k":[30,50],"o":2},"mortar_board":{"a":"Graduation Cap","b":"1F393","j":["school","college","degree","university","graduation","cap","hat","legal","learn","education"],"k":[7,55],"o":2},"european_castle":{"a":"European Castle","b":"1F3F0","j":["building","royalty","history"],"k":[11,10],"o":2},"leg":{"a":"Leg","b":"1F9B5","k":[43,5],"o":11},"pancakes":{"a":"Pancakes","b":"1F95E","j":["food","breakfast","flapjacks","hotcakes"],"k":[41,45],"o":4},"leftwards_arrow_with_hook":{"a":"Leftwards Arrow with Hook","b":"21A9-FE0F","c":"21A9","j":["back","return","blue-square","undo","enter"],"k":[52,20],"o":2},"flag-bo":{"a":"Bolivia Flag","b":"1F1E7-1F1F4","k":[1,3],"o":2},"bowling":{"a":"Bowling","b":"1F3B3","j":["sports","fun","play"],"k":[8,25],"o":2},"llama":{"a":"Llama","b":"1F999","k":[42,43],"o":11},"arrow_right_hook":{"a":"Rightwards Arrow with Hook","b":"21AA-FE0F","c":"21AA","j":["blue-square","return","rotate","direction"],"k":[52,21],"o":2},"wedding":{"a":"Wedding","b":"1F492","j":["love","like","affection","couple","marriage","bride","groom"],"k":[25,28],"o":2},"flag-bq":{"a":"Caribbean Netherlands Flag","b":"1F1E7-1F1F6","k":[1,4],"o":2},"foot":{"a":"Foot","b":"1F9B6","k":[43,11],"o":11},"giraffe_face":{"a":"Giraffe Face","b":"1F992","k":[42,36],"o":5},"unamused":{"a":"Unamused Face","b":"1F612","j":["indifference","bored","straight face","serious","sarcasm"],"k":[30,53],"m":":(","o":2},"billed_cap":{"a":"Billed Cap","b":"1F9E2","k":[51,21],"o":5},"waffle":{"a":"Waffle","b":"1F9C7","k":[44,15],"o":12},"cricket_bat_and_ball":{"a":"Cricket Bat and Ball","b":"1F3CF","k":[10,34],"o":2},"helmet_with_white_cross":{"a":"Helmet with White Cross","b":"26D1-FE0F","c":"26D1","k":[54,6],"o":2},"ear":{"a":"Ear","b":"1F442","j":["face","hear","sound","listen"],"k":[12,39],"o":2},"elephant":{"a":"Elephant","b":"1F418","j":["animal","nature","nose","th","circus"],"k":[11,53],"o":2},"cheese_wedge":{"a":"Cheese Wedge","b":"1F9C0","k":[44,8],"o":2},"tokyo_tower":{"a":"Tokyo Tower","b":"1F5FC","j":["photo","japanese"],"k":[30,31],"o":2},"arrow_heading_up":{"a":"Arrow Pointing Rightwards Then Curving Upwards","b":"2934-FE0F","c":"2934","j":["blue-square","direction","top"],"k":[55,35],"o":2},"field_hockey_stick_and_ball":{"a":"Field Hockey Stick and Ball","b":"1F3D1","k":[10,36],"o":2},"flag-br":{"a":"Brazil Flag","b":"1F1E7-1F1F7","k":[1,5],"o":2},"face_with_rolling_eyes":{"a":"Face with Rolling Eyes","b":"1F644","k":[31,46],"o":2},"ear_with_hearing_aid":{"a":"Ear with Hearing Aid","b":"1F9BB","k":[43,55],"o":12},"arrow_heading_down":{"a":"Arrow Pointing Rightwards Then Curving Downwards","b":"2935-FE0F","c":"2935","j":["blue-square","direction","bottom"],"k":[55,36],"o":2},"ice_hockey_stick_and_puck":{"a":"Ice Hockey Stick and Puck","b":"1F3D2","k":[10,37],"o":2},"meat_on_bone":{"a":"Meat on Bone","b":"1F356","j":["good","food","drumstick"],"k":[6,46],"o":2},"prayer_beads":{"a":"Prayer Beads","b":"1F4FF","j":["dhikr","religious"],"k":[27,27],"o":2},"statue_of_liberty":{"a":"Statue of Liberty","b":"1F5FD","j":["american","newyork"],"k":[30,32],"o":2},"grimacing":{"a":"Grimacing Face","b":"1F62C","j":["face","grimace","teeth"],"k":[31,22],"o":2},"flag-bs":{"a":"Bahamas Flag","b":"1F1E7-1F1F8","k":[1,6],"o":2},"rhinoceros":{"a":"Rhinoceros","b":"1F98F","j":["animal","nature","horn"],"k":[42,33],"o":4},"lacrosse":{"a":"Lacrosse Stick and Ball","b":"1F94D","k":[41,28],"o":11},"poultry_leg":{"a":"Poultry Leg","b":"1F357","j":["food","meat","drumstick","bird","chicken","turkey"],"k":[6,47],"o":2},"hippopotamus":{"a":"Hippopotamus","b":"1F99B","k":[42,45],"o":11},"nose":{"a":"Nose","b":"1F443","j":["smell","sniff"],"k":[12,45],"o":2},"arrows_clockwise":{"a":"Clockwise Downwards and Upwards Open Circle Arrows","b":"1F503","j":["sync","cycle","round","repeat"],"k":[27,31],"o":2},"flag-bt":{"a":"Bhutan Flag","b":"1F1E7-1F1F9","k":[1,7],"o":2},"church":{"a":"Church","b":"26EA","j":["building","religion","christ"],"k":[54,10],"o":2},"lipstick":{"a":"Lipstick","b":"1F484","j":["female","girl","fashion","woman"],"k":[24,32],"o":2},"lying_face":{"a":"Lying Face","b":"1F925","j":["face","lie","pinocchio"],"k":[38,22],"o":4},"arrows_counterclockwise":{"a":"Anticlockwise Downwards and Upwards Open Circle Arrows","b":"1F504","j":["blue-square","sync","cycle"],"k":[27,32],"o":2},"flag-bv":{"a":"Bouvet Island Flag","b":"1F1E7-1F1FB","k":[1,8],"o":2},"cut_of_meat":{"a":"Cut of Meat","b":"1F969","k":[41,56],"o":5},"mosque":{"a":"Mosque","b":"1F54C","j":["islam","worship","minaret"],"k":[28,36],"o":2},"ring":{"a":"Ring","b":"1F48D","j":["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],"k":[25,23],"o":2},"brain":{"a":"Brain","b":"1F9E0","k":[51,19],"o":5},"table_tennis_paddle_and_ball":{"a":"Table Tennis Paddle and Ball","b":"1F3D3","k":[10,38],"o":2},"relieved":{"a":"Relieved Face","b":"1F60C","j":["face","relaxed","phew","massage","happiness"],"k":[30,47],"o":2},"mouse":{"a":"Mouse Face","b":"1F42D","j":["animal","nature","cheese_wedge","rodent"],"k":[12,17],"o":2},"hindu_temple":{"a":"Hindu Temple","b":"1F6D5","k":[36,41],"o":12},"back":{"a":"Back with Leftwards Arrow Above","b":"1F519","j":["arrow","words","return"],"k":[27,53],"o":2},"gem":{"a":"Gem Stone","b":"1F48E","j":["blue","ruby","diamond","jewelry"],"k":[25,24],"o":2},"pensive":{"a":"Pensive Face","b":"1F614","j":["face","sad","depressed","upset"],"k":[30,55],"o":2},"flag-bw":{"a":"Botswana Flag","b":"1F1E7-1F1FC","k":[1,9],"o":2},"mouse2":{"a":"Mouse","b":"1F401","j":["animal","nature","rodent"],"k":[11,29],"o":2},"bacon":{"a":"Bacon","b":"1F953","j":["food","breakfast","pork","pig","meat"],"k":[41,34],"o":4},"tooth":{"a":"Tooth","b":"1F9B7","k":[43,17],"o":11},"badminton_racquet_and_shuttlecock":{"a":"Badminton Racquet and Shuttlecock","b":"1F3F8","k":[11,20],"o":2},"rat":{"a":"Rat","b":"1F400","j":["animal","mouse","rodent"],"k":[11,28],"o":2},"synagogue":{"a":"Synagogue","b":"1F54D","j":["judaism","worship","temple","jewish"],"k":[28,37],"o":2},"end":{"a":"End with Leftwards Arrow Above","b":"1F51A","j":["words","arrow"],"k":[27,54],"o":2},"bone":{"a":"Bone","b":"1F9B4","k":[43,4],"o":11},"boxing_glove":{"a":"Boxing Glove","b":"1F94A","j":["sports","fighting"],"k":[41,25],"o":4},"mute":{"a":"Speaker with Cancellation Stroke","b":"1F507","j":["sound","volume","silence","quiet"],"k":[27,35],"o":2},"hamburger":{"a":"Hamburger","b":"1F354","j":["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],"k":[6,44],"o":2},"flag-by":{"a":"Belarus Flag","b":"1F1E7-1F1FE","k":[1,10],"o":2},"sleepy":{"a":"Sleepy Face","b":"1F62A","j":["face","tired","rest","nap"],"k":[31,20],"o":2},"on":{"a":"On with Exclamation Mark with Left Right Arrow Above","b":"1F51B","j":["arrow","words"],"k":[27,55],"o":2},"martial_arts_uniform":{"a":"Martial Arts Uniform","b":"1F94B","j":["judo","karate","taekwondo"],"k":[41,26],"o":4},"speaker":{"a":"Speaker","b":"1F508","j":["sound","volume","silence","broadcast"],"k":[27,36],"o":2},"drooling_face":{"a":"Drooling Face","b":"1F924","j":["face"],"k":[38,21],"o":4},"eyes":{"a":"Eyes","b":"1F440","j":["look","watch","stalk","peek","see"],"k":[12,36],"o":2},"flag-bz":{"a":"Belize Flag","b":"1F1E7-1F1FF","k":[1,11],"o":2},"hamster":{"a":"Hamster Face","b":"1F439","j":["animal","nature"],"k":[12,29],"o":2},"shinto_shrine":{"a":"Shinto Shrine","b":"26E9-FE0F","c":"26E9","j":["temple","japan","kyoto"],"k":[54,9],"o":2},"fries":{"a":"French Fries","b":"1F35F","j":["chips","snack","fast food"],"k":[6,55],"o":2},"goal_net":{"a":"Goal Net","b":"1F945","j":["sports"],"k":[41,21],"o":4},"kaaba":{"a":"Kaaba","b":"1F54B","j":["mecca","mosque","islam"],"k":[28,35],"o":2},"soon":{"a":"Soon with Rightwards Arrow Above","b":"1F51C","j":["arrow","words"],"k":[27,56],"o":2},"flag-ca":{"a":"Canada Flag","b":"1F1E8-1F1E6","k":[1,12],"o":2},"rabbit":{"a":"Rabbit Face","b":"1F430","j":["animal","nature","pet","spring","magic","bunny"],"k":[12,20],"o":2},"eye":{"a":"Eye","b":"1F441-FE0F","c":"1F441","j":["face","look","see","watch","stare"],"k":[12,38],"o":2},"sleeping":{"a":"Sleeping Face","b":"1F634","j":["face","tired","sleepy","night","zzz"],"k":[31,30],"o":2},"pizza":{"a":"Slice of Pizza","b":"1F355","j":["food","party"],"k":[6,45],"o":2},"sound":{"a":"Speaker with One Sound Wave","b":"1F509","j":["volume","speaker","broadcast"],"k":[27,37],"o":2},"rabbit2":{"a":"Rabbit","b":"1F407","j":["animal","nature","pet","magic","spring"],"k":[11,35],"o":2},"fountain":{"a":"Fountain","b":"26F2","j":["photo","summer","water","fresh"],"k":[54,13],"o":2},"golf":{"a":"Flag in Hole","b":"26F3","j":["sports","business","flag","hole","summer"],"k":[54,14],"o":2},"top":{"a":"Top with Upwards Arrow Above","b":"1F51D","j":["words","blue-square"],"k":[28,0],"o":2},"mask":{"a":"Face with Medical Mask","b":"1F637","j":["face","sick","ill","disease"],"k":[31,33],"o":2},"flag-cc":{"a":"Cocos (keeling) Islands Flag","b":"1F1E8-1F1E8","k":[1,13],"o":2},"hotdog":{"a":"Hot Dog","b":"1F32D","j":["food","frankfurter"],"k":[6,5],"o":2},"loud_sound":{"a":"Speaker with Three Sound Waves","b":"1F50A","j":["volume","noise","noisy","speaker","broadcast"],"k":[27,38],"o":2},"tongue":{"a":"Tongue","b":"1F445","j":["mouth","playful"],"k":[12,52],"o":2},"place_of_worship":{"a":"Place of Worship","b":"1F6D0","j":["religion","church","temple","prayer"],"k":[36,38],"o":2},"ice_skate":{"a":"Ice Skate","b":"26F8-FE0F","c":"26F8","j":["sports"],"k":[54,18],"o":2},"sandwich":{"a":"Sandwich","b":"1F96A","k":[42,0],"o":5},"chipmunk":{"a":"Chipmunk","b":"1F43F-FE0F","c":"1F43F","j":["animal","nature","rodent","squirrel"],"k":[12,35],"o":2},"loudspeaker":{"a":"Public Address Loudspeaker","b":"1F4E2","j":["volume","sound"],"k":[26,56],"o":2},"lips":{"a":"Mouth","b":"1F444","j":["mouth","kiss"],"k":[12,51],"o":2},"flag-cd":{"a":"Congo - Kinshasa Flag","b":"1F1E8-1F1E9","k":[1,14],"o":2},"tent":{"a":"Tent","b":"26FA","j":["photo","camping","outdoors"],"k":[54,37],"o":2},"face_with_thermometer":{"a":"Face with Thermometer","b":"1F912","j":["sick","temperature","thermometer","cold","fever"],"k":[37,25],"o":2},"taco":{"a":"Taco","b":"1F32E","j":["food","mexican"],"k":[6,6],"o":2},"foggy":{"a":"Foggy","b":"1F301","j":["photo","mountain"],"k":[5,20],"o":2},"flag-cf":{"a":"Central African Republic Flag","b":"1F1E8-1F1EB","k":[1,15],"o":2},"baby":{"a":"Baby","b":"1F476","j":["child","boy","girl","toddler"],"k":[23,4],"o":2},"atom_symbol":{"a":"Atom Symbol","b":"269B-FE0F","c":"269B","j":["science","physics","chemistry"],"k":[53,48],"o":2},"fishing_pole_and_fish":{"a":"Fishing Pole and Fish","b":"1F3A3","j":["food","hobby","summer"],"k":[8,9],"o":2},"hedgehog":{"a":"Hedgehog","b":"1F994","k":[42,38],"o":5},"face_with_head_bandage":{"a":"Face with Head-Bandage","b":"1F915","j":["injured","clumsy","bandage","hurt"],"k":[37,28],"o":2},"mega":{"a":"Cheering Megaphone","b":"1F4E3","j":["sound","speaker","volume"],"k":[27,0],"o":2},"nauseated_face":{"a":"Nauseated Face","b":"1F922","j":["face","vomit","gross","green","sick","throw up","ill"],"k":[38,19],"o":4},"child":{"a":"Child","b":"1F9D2","k":[48,16],"o":5},"flag-cg":{"a":"Congo - Brazzaville Flag","b":"1F1E8-1F1EC","k":[1,16],"o":2},"bat":{"a":"Bat","b":"1F987","j":["animal","nature","blind","vampire"],"k":[42,25],"o":4},"diving_mask":{"a":"Diving Mask","b":"1F93F","k":[41,15],"o":12},"burrito":{"a":"Burrito","b":"1F32F","j":["food","mexican"],"k":[6,7],"o":2},"postal_horn":{"a":"Postal Horn","b":"1F4EF","j":["instrument","music"],"k":[27,12],"o":2},"night_with_stars":{"a":"Night with Stars","b":"1F303","j":["evening","city","downtown"],"k":[5,22],"o":2},"om_symbol":{"a":"Om Symbol","b":"1F549-FE0F","c":"1F549","k":[28,33],"o":2},"star_of_david":{"a":"Star of David","b":"2721-FE0F","c":"2721","j":["judaism"],"k":[55,15],"o":2},"boy":{"a":"Boy","b":"1F466","j":["man","male","guy","teenager"],"k":[14,26],"o":2},"bell":{"a":"Bell","b":"1F514","j":["sound","notification","christmas","xmas","chime"],"k":[27,48],"o":2},"flag-ch":{"a":"Switzerland Flag","b":"1F1E8-1F1ED","k":[1,17],"o":2},"running_shirt_with_sash":{"a":"Running Shirt with Sash","b":"1F3BD","j":["play","pageant"],"k":[8,35],"o":2},"stuffed_flatbread":{"a":"Stuffed Flatbread","b":"1F959","j":["food","flatbread","stuffed","gyro"],"k":[41,40],"o":4},"bear":{"a":"Bear Face","b":"1F43B","j":["animal","nature","wild"],"k":[12,31],"o":2},"cityscape":{"a":"Cityscape","b":"1F3D9-FE0F","c":"1F3D9","j":["photo","night life","urban"],"k":[10,44],"o":2},"face_vomiting":{"a":"Face with Open Mouth Vomiting","b":"1F92E","k":[38,48],"n":["face_with_open_mouth_vomiting"],"o":5},"wheel_of_dharma":{"a":"Wheel of Dharma","b":"2638-FE0F","c":"2638","j":["hinduism","buddhism","sikhism","jainism"],"k":[53,15],"o":2},"ski":{"a":"Ski and Ski Boot","b":"1F3BF","j":["sports","winter","cold","snow"],"k":[8,37],"o":2},"girl":{"a":"Girl","b":"1F467","j":["female","woman","teenager"],"k":[14,32],"o":2},"falafel":{"a":"Falafel","b":"1F9C6","k":[44,14],"o":12},"sneezing_face":{"a":"Sneezing Face","b":"1F927","j":["face","gesundheit","sneeze","sick","allergy"],"k":[38,41],"o":4},"no_bell":{"a":"Bell with Cancellation Stroke","b":"1F515","j":["sound","volume","mute","quiet","silent"],"k":[27,49],"o":2},"koala":{"a":"Koala","b":"1F428","j":["animal","nature"],"k":[12,12],"o":2},"sunrise_over_mountains":{"a":"Sunrise over Mountains","b":"1F304","j":["view","vacation","photo"],"k":[5,23],"o":2},"flag-ci":{"a":"C\xf4te D’ivoire Flag","b":"1F1E8-1F1EE","k":[1,18],"o":2},"sunrise":{"a":"Sunrise","b":"1F305","j":["morning","view","vacation","photo"],"k":[5,24],"o":2},"yin_yang":{"a":"Yin Yang","b":"262F-FE0F","c":"262F","j":["balance"],"k":[53,14],"o":2},"adult":{"a":"Adult","b":"1F9D1","k":[48,10],"o":5},"hot_face":{"a":"Overheated Face","b":"1F975","k":[42,10],"o":11},"musical_score":{"a":"Musical Score","b":"1F3BC","j":["treble","clef","compose"],"k":[8,34],"o":2},"sled":{"a":"Sled","b":"1F6F7","k":[36,56],"o":5},"egg":{"a":"Egg","b":"1F95A","j":["food","chicken","breakfast"],"k":[41,41],"o":4},"panda_face":{"a":"Panda Face","b":"1F43C","j":["animal","nature","panda"],"k":[12,32],"o":2},"flag-ck":{"a":"Cook Islands Flag","b":"1F1E8-1F1F0","k":[1,19],"o":2},"flag-cl":{"a":"Chile Flag","b":"1F1E8-1F1F1","k":[1,20],"o":2},"sloth":{"a":"Sloth","b":"1F9A5","k":[42,53],"o":12},"latin_cross":{"a":"Latin Cross","b":"271D-FE0F","c":"271D","j":["christianity"],"k":[55,14],"o":2},"curling_stone":{"a":"Curling Stone","b":"1F94C","k":[41,27],"o":5},"cold_face":{"a":"Freezing Face","b":"1F976","k":[42,11],"o":11},"fried_egg":{"a":"Cooking","b":"1F373","j":["food","breakfast","kitchen","egg"],"k":[7,18],"n":["cooking"],"o":2},"city_sunset":{"a":"Cityscape at Dusk","b":"1F306","j":["photo","evening","sky","buildings"],"k":[5,25],"o":2},"musical_note":{"a":"Musical Note","b":"1F3B5","j":["score","tone","sound"],"k":[8,27],"o":2},"flag-cm":{"a":"Cameroon Flag","b":"1F1E8-1F1F2","k":[1,21],"o":2},"notes":{"a":"Multiple Musical Notes","b":"1F3B6","j":["music","score"],"k":[8,28],"o":2},"woozy_face":{"a":"Face with Uneven Eyes and Wavy Mouth","b":"1F974","k":[42,9],"o":11},"dart":{"a":"Direct Hit","b":"1F3AF","j":["game","play","bar"],"k":[8,21],"o":2},"orthodox_cross":{"a":"Orthodox Cross","b":"2626-FE0F","c":"2626","j":["suppedaneum","religion"],"k":[53,11],"o":2},"shallow_pan_of_food":{"a":"Shallow Pan of Food","b":"1F958","j":["food","cooking","casserole","paella"],"k":[41,39],"o":4},"otter":{"a":"Otter","b":"1F9A6","k":[42,54],"o":12},"man":{"a":"Man","b":"1F468","j":["mustache","father","dad","guy","classy","sir","moustache"],"k":[17,22],"o":2},"city_sunrise":{"a":"Sunset over Buildings","b":"1F307","j":["photo","good morning","dawn"],"k":[5,26],"o":2},"bearded_person":{"a":"Bearded Person","b":"1F9D4","k":[48,28],"o":5},"skunk":{"a":"Skunk","b":"1F9A8","k":[42,56],"o":12},"stew":{"a":"Pot of Food","b":"1F372","j":["food","meat","soup"],"k":[7,17],"o":2},"cn":{"a":"China Flag","b":"1F1E8-1F1F3","j":["china","chinese","prc","flag","country","nation","banner"],"k":[1,22],"n":["flag-cn"],"o":2},"studio_microphone":{"a":"Studio Microphone","b":"1F399-FE0F","c":"1F399","j":["sing","recording","artist","talkshow"],"k":[8,1],"o":2},"star_and_crescent":{"a":"Star and Crescent","b":"262A-FE0F","c":"262A","j":["islam"],"k":[53,12],"o":2},"yo-yo":{"a":"Yo-Yo","b":"1FA80","k":[52,1],"o":12},"bridge_at_night":{"a":"Bridge at Night","b":"1F309","j":["photo","sanfrancisco"],"k":[5,28],"o":2},"dizzy_face":{"a":"Dizzy Face","b":"1F635","j":["spent","unconscious","xox","dizzy"],"k":[31,31],"o":2},"red_haired_man":{"a":"Red Haired Man","b":"1F468-200D-1F9B0","k":[16,23],"o":11},"kite":{"a":"Kite","b":"1FA81","k":[52,2],"o":12},"bowl_with_spoon":{"a":"Bowl with Spoon","b":"1F963","k":[41,50],"o":5},"flag-co":{"a":"Colombia Flag","b":"1F1E8-1F1F4","k":[1,23],"o":2},"peace_symbol":{"a":"Peace Symbol","b":"262E-FE0F","c":"262E","j":["hippie"],"k":[53,13],"o":2},"kangaroo":{"a":"Kangaroo","b":"1F998","k":[42,42],"o":11},"hotsprings":{"a":"Hot Springs","b":"2668-FE0F","c":"2668","j":["bath","warm","relax"],"k":[53,37],"o":2},"exploding_head":{"a":"Shocked Face with Exploding Head","b":"1F92F","k":[38,49],"n":["shocked_face_with_exploding_head"],"o":5},"level_slider":{"a":"Level Slider","b":"1F39A-FE0F","c":"1F39A","j":["scale"],"k":[8,2],"o":2},"badger":{"a":"Badger","b":"1F9A1","k":[42,51],"o":11},"8ball":{"a":"Billiards","b":"1F3B1","j":["pool","hobby","game","luck","magic"],"k":[8,23],"o":2},"curly_haired_man":{"a":"Curly Haired Man","b":"1F468-200D-1F9B1","k":[16,29],"o":11},"flag-cp":{"a":"Clipperton Island Flag","b":"1F1E8-1F1F5","k":[1,24],"o":2},"carousel_horse":{"a":"Carousel Horse","b":"1F3A0","j":["photo","carnival"],"k":[8,6],"o":2},"face_with_cowboy_hat":{"a":"Face with Cowboy Hat","b":"1F920","k":[38,17],"o":4},"menorah_with_nine_branches":{"a":"Menorah with Nine Branches","b":"1F54E","k":[28,38],"o":2},"green_salad":{"a":"Green Salad","b":"1F957","j":["food","healthy","lettuce"],"k":[41,38],"o":4},"control_knobs":{"a":"Control Knobs","b":"1F39B-FE0F","c":"1F39B","j":["dial"],"k":[8,3],"o":2},"popcorn":{"a":"Popcorn","b":"1F37F","j":["food","movie theater","films","snack"],"k":[7,30],"o":2},"six_pointed_star":{"a":"Six Pointed Star with Middle Dot","b":"1F52F","j":["purple-square","religion","jewish","hexagram"],"k":[28,18],"o":2},"feet":{"a":"Paw Prints","b":"1F43E","k":[12,34],"n":["paw_prints"],"o":2},"ferris_wheel":{"a":"Ferris Wheel","b":"1F3A1","j":["photo","carnival","londoneye"],"k":[8,7],"o":2},"microphone":{"a":"Microphone","b":"1F3A4","j":["sound","music","PA","sing","talkshow"],"k":[8,10],"o":2},"crystal_ball":{"a":"Crystal Ball","b":"1F52E","j":["disco","party","magic","circus","fortune_teller"],"k":[28,17],"o":2},"partying_face":{"a":"Face with Party Horn and Party Hat","b":"1F973","k":[42,8],"o":11},"flag-cr":{"a":"Costa Rica Flag","b":"1F1E8-1F1F7","k":[1,25],"o":2},"white_haired_man":{"a":"White Haired Man","b":"1F468-200D-1F9B3","k":[16,41],"o":11},"headphones":{"a":"Headphone","b":"1F3A7","j":["music","score","gadgets"],"k":[8,13],"o":2},"bald_man":{"a":"Bald Man","b":"1F468-200D-1F9B2","k":[16,35],"o":11},"sunglasses":{"a":"Smiling Face with Sunglasses","b":"1F60E","j":["face","cool","smile","summer","beach","sunglass"],"k":[30,49],"l":["8)"],"o":2},"butter":{"a":"Butter","b":"1F9C8","k":[44,16],"o":12},"roller_coaster":{"a":"Roller Coaster","b":"1F3A2","j":["carnival","playground","photo","fun"],"k":[8,8],"o":2},"turkey":{"a":"Turkey","b":"1F983","j":["animal","bird"],"k":[42,21],"o":2},"nazar_amulet":{"a":"Nazar Amulet","b":"1F9FF","k":[51,50],"o":11},"flag-cu":{"a":"Cuba Flag","b":"1F1E8-1F1FA","k":[1,26],"o":2},"aries":{"a":"Aries","b":"2648","j":["sign","purple-square","zodiac","astrology"],"k":[53,20],"o":2},"flag-cv":{"a":"Cape Verde Flag","b":"1F1E8-1F1FB","k":[1,27],"o":2},"barber":{"a":"Barber Pole","b":"1F488","j":["hair","salon","style"],"k":[25,18],"o":2},"taurus":{"a":"Taurus","b":"2649","j":["purple-square","sign","zodiac","astrology"],"k":[53,21],"o":2},"salt":{"a":"Salt Shaker","b":"1F9C2","k":[44,10],"o":11},"woman":{"a":"Woman","b":"1F469","j":["female","girls","lady"],"k":[20,9],"o":2},"video_game":{"a":"Video Game","b":"1F3AE","j":["play","console","PS4","controller"],"k":[8,20],"o":2},"chicken":{"a":"Chicken","b":"1F414","j":["animal","cluck","nature","bird"],"k":[11,48],"o":2},"radio":{"a":"Radio","b":"1F4FB","j":["communication","music","podcast","program"],"k":[27,24],"o":2},"nerd_face":{"a":"Nerd Face","b":"1F913","j":["face","nerdy","geek","dork"],"k":[37,26],"o":2},"red_haired_woman":{"a":"Red Haired Woman","b":"1F469-200D-1F9B0","k":[19,8],"o":11},"circus_tent":{"a":"Circus Tent","b":"1F3AA","j":["festival","carnival","party"],"k":[8,16],"o":2},"face_with_monocle":{"a":"Face with Monocle","b":"1F9D0","k":[45,16],"o":5},"canned_food":{"a":"Canned Food","b":"1F96B","k":[42,1],"o":5},"flag-cw":{"a":"Cura\xe7ao Flag","b":"1F1E8-1F1FC","k":[1,28],"o":2},"gemini":{"a":"Gemini","b":"264A","j":["sign","zodiac","purple-square","astrology"],"k":[53,22],"o":2},"saxophone":{"a":"Saxophone","b":"1F3B7","j":["music","instrument","jazz","blues"],"k":[8,29],"o":2},"rooster":{"a":"Rooster","b":"1F413","j":["animal","nature","chicken"],"k":[11,47],"o":2},"joystick":{"a":"Joystick","b":"1F579-FE0F","c":"1F579","j":["game","play"],"k":[29,36],"o":2},"guitar":{"a":"Guitar","b":"1F3B8","j":["music","instrument"],"k":[8,30],"o":2},"slot_machine":{"a":"Slot Machine","b":"1F3B0","j":["bet","gamble","vegas","fruit machine","luck","casino"],"k":[8,22],"o":2},"bento":{"a":"Bento Box","b":"1F371","j":["food","japanese","box"],"k":[7,16],"o":2},"steam_locomotive":{"a":"Steam Locomotive","b":"1F682","j":["transportation","vehicle","train"],"k":[34,1],"o":2},"confused":{"a":"Confused Face","b":"1F615","j":["face","indifference","huh","weird","hmmm",":/"],"k":[30,56],"l":[":\\\\",":-\\\\",":/",":-/"],"o":2},"flag-cx":{"a":"Christmas Island Flag","b":"1F1E8-1F1FD","k":[1,29],"o":2},"hatching_chick":{"a":"Hatching Chick","b":"1F423","j":["animal","chicken","egg","born","baby","bird"],"k":[12,7],"o":2},"cancer":{"a":"Cancer","b":"264B","j":["sign","zodiac","purple-square","astrology"],"k":[53,23],"o":2},"flag-cy":{"a":"Cyprus Flag","b":"1F1E8-1F1FE","k":[1,30],"o":2},"worried":{"a":"Worried Face","b":"1F61F","j":["face","concern","nervous",":("],"k":[31,9],"o":2},"railway_car":{"a":"Railway Car","b":"1F683","j":["transportation","vehicle"],"k":[34,2],"o":2},"leo":{"a":"Leo","b":"264C","j":["sign","purple-square","zodiac","astrology"],"k":[53,24],"o":2},"curly_haired_woman":{"a":"Curly Haired Woman","b":"1F469-200D-1F9B1","k":[19,14],"o":11},"baby_chick":{"a":"Baby Chick","b":"1F424","j":["animal","chicken","bird"],"k":[12,8],"o":2},"musical_keyboard":{"a":"Musical Keyboard","b":"1F3B9","j":["piano","instrument","compose"],"k":[8,31],"o":2},"game_die":{"a":"Game Die","b":"1F3B2","j":["dice","random","tabletop","play","luck"],"k":[8,24],"o":2},"rice_cracker":{"a":"Rice Cracker","b":"1F358","j":["food","japanese"],"k":[6,48],"o":2},"virgo":{"a":"Virgo","b":"264D","j":["sign","zodiac","purple-square","astrology"],"k":[53,25],"o":2},"flag-cz":{"a":"Czechia Flag","b":"1F1E8-1F1FF","k":[1,31],"o":2},"rice_ball":{"a":"Rice Ball","b":"1F359","j":["food","japanese"],"k":[6,49],"o":2},"hatched_chick":{"a":"Front-Facing Baby Chick","b":"1F425","j":["animal","chicken","baby","bird"],"k":[12,9],"o":2},"jigsaw":{"a":"Jigsaw Puzzle Piece","b":"1F9E9","k":[51,28],"o":11},"trumpet":{"a":"Trumpet","b":"1F3BA","j":["music","brass"],"k":[8,32],"o":2},"slightly_frowning_face":{"a":"Slightly Frowning Face","b":"1F641","j":["face","frowning","disappointed","sad","upset"],"k":[31,43],"o":2},"bullettrain_side":{"a":"High-Speed Train","b":"1F684","j":["transportation","vehicle"],"k":[34,3],"o":2},"libra":{"a":"Libra","b":"264E","j":["sign","purple-square","zodiac","astrology"],"k":[53,26],"o":2},"de":{"a":"Germany Flag","b":"1F1E9-1F1EA","j":["german","nation","flag","country","banner"],"k":[1,32],"n":["flag-de"],"o":2},"rice":{"a":"Cooked Rice","b":"1F35A","j":["food","china","asian"],"k":[6,50],"o":2},"violin":{"a":"Violin","b":"1F3BB","j":["music","instrument","orchestra","symphony"],"k":[8,33],"o":2},"white_haired_woman":{"a":"White Haired Woman","b":"1F469-200D-1F9B3","k":[19,26],"o":11},"bird":{"a":"Bird","b":"1F426","j":["animal","nature","fly","tweet","spring"],"k":[12,10],"o":2},"white_frowning_face":{"a":"White Frowning Face","b":"2639-FE0F","c":"2639","k":[53,16],"o":2},"bullettrain_front":{"a":"High-Speed Train with Bullet Nose","b":"1F685","j":["transportation","vehicle","speed","fast","public","travel"],"k":[34,4],"o":2},"teddy_bear":{"a":"Teddy Bear","b":"1F9F8","k":[51,43],"o":11},"spades":{"a":"Black Spade Suit","b":"2660-FE0F","c":"2660","j":["poker","cards","suits","magic"],"k":[53,33],"o":2},"banjo":{"a":"Banjo","b":"1FA95","k":[52,9],"o":12},"train2":{"a":"Train","b":"1F686","j":["transportation","vehicle"],"k":[34,5],"o":2},"scorpius":{"a":"Scorpius","b":"264F","j":["sign","zodiac","purple-square","astrology","scorpio"],"k":[53,27],"o":2},"curry":{"a":"Curry and Rice","b":"1F35B","j":["food","spicy","hot","indian"],"k":[6,51],"o":2},"open_mouth":{"a":"Face with Open Mouth","b":"1F62E","j":["face","surprise","impressed","wow","whoa",":O"],"k":[31,24],"l":[":o",":-o",":O",":-O"],"o":2},"flag-dg":{"a":"Diego Garcia Flag","b":"1F1E9-1F1EC","k":[1,33],"o":2},"penguin":{"a":"Penguin","b":"1F427","j":["animal","nature"],"k":[12,11],"o":2},"hearts":{"a":"Black Heart Suit","b":"2665-FE0F","c":"2665","j":["poker","cards","magic","suits"],"k":[53,35],"o":2},"ramen":{"a":"Steaming Bowl","b":"1F35C","j":["food","japanese","noodle","chopsticks"],"k":[6,52],"o":2},"sagittarius":{"a":"Sagittarius","b":"2650","j":["sign","zodiac","purple-square","astrology"],"k":[53,28],"o":2},"bald_woman":{"a":"Bald Woman","b":"1F469-200D-1F9B2","k":[19,20],"o":11},"dove_of_peace":{"a":"Dove of Peace","b":"1F54A-FE0F","c":"1F54A","k":[28,34],"o":2},"hushed":{"a":"Hushed Face","b":"1F62F","j":["face","woo","shh"],"k":[31,25],"o":2},"metro":{"a":"Metro","b":"1F687","j":["transportation","blue-square","mrt","underground","tube"],"k":[34,6],"o":2},"flag-dj":{"a":"Djibouti Flag","b":"1F1E9-1F1EF","k":[1,34],"o":2},"drum_with_drumsticks":{"a":"Drum with Drumsticks","b":"1F941","k":[41,17],"o":4},"spaghetti":{"a":"Spaghetti","b":"1F35D","j":["food","italian","noodle"],"k":[6,53],"o":2},"eagle":{"a":"Eagle","b":"1F985","j":["animal","nature","bird"],"k":[42,23],"o":4},"astonished":{"a":"Astonished Face","b":"1F632","j":["face","xox","surprised","poisoned"],"k":[31,28],"o":2},"capricorn":{"a":"Capricorn","b":"2651","j":["sign","zodiac","purple-square","astrology"],"k":[53,29],"o":2},"light_rail":{"a":"Light Rail","b":"1F688","j":["transportation","vehicle"],"k":[34,7],"o":2},"flag-dk":{"a":"Denmark Flag","b":"1F1E9-1F1F0","k":[1,35],"o":2},"iphone":{"a":"Mobile Phone","b":"1F4F1","j":["technology","apple","gadgets","dial"],"k":[27,14],"o":2},"diamonds":{"a":"Black Diamond Suit","b":"2666-FE0F","c":"2666","j":["poker","cards","magic","suits"],"k":[53,36],"o":2},"clubs":{"a":"Black Club Suit","b":"2663-FE0F","c":"2663","j":["poker","cards","magic","suits"],"k":[53,34],"o":2},"aquarius":{"a":"Aquarius","b":"2652","j":["sign","purple-square","zodiac","astrology"],"k":[53,30],"o":2},"sweet_potato":{"a":"Roasted Sweet Potato","b":"1F360","j":["food","nature"],"k":[6,56],"o":2},"flag-dm":{"a":"Dominica Flag","b":"1F1E9-1F1F2","k":[1,36],"o":2},"duck":{"a":"Duck","b":"1F986","j":["animal","nature","bird","mallard"],"k":[42,24],"o":4},"calling":{"a":"Mobile Phone with Rightwards Arrow at Left","b":"1F4F2","j":["iphone","incoming"],"k":[27,15],"o":2},"station":{"a":"Station","b":"1F689","j":["transportation","vehicle","public"],"k":[34,8],"o":2},"blond-haired-woman":{"a":"Blond Haired Woman","b":"1F471-200D-2640-FE0F","c":"1F471-200D-2640","k":[22,7],"o":4},"flushed":{"a":"Flushed Face","b":"1F633","j":["face","blush","shy","flattered"],"k":[31,29],"o":2},"pisces":{"a":"Pisces","b":"2653","j":["purple-square","sign","zodiac","astrology"],"k":[53,31],"o":2},"chess_pawn":{"a":"Chess Pawn","b":"265F-FE0F","c":"265F","k":[53,32],"o":11},"blond-haired-man":{"obsoletes":"1F471","a":"Blond Haired Man","b":"1F471-200D-2642-FE0F","c":"1F471-200D-2642","k":[22,13],"o":4},"phone":{"a":"Black Telephone","b":"260E-FE0F","c":"260E","j":["technology","communication","dial","telephone"],"k":[52,54],"n":["telephone"],"o":2},"oden":{"a":"Oden","b":"1F362","j":["food","japanese"],"k":[7,1],"o":2},"flag-do":{"a":"Dominican Republic Flag","b":"1F1E9-1F1F4","k":[1,37],"o":2},"tram":{"a":"Tram","b":"1F68A","j":["transportation","vehicle"],"k":[34,9],"o":2},"swan":{"a":"Swan","b":"1F9A2","k":[42,52],"o":11},"pleading_face":{"a":"Face with Pleading Eyes","b":"1F97A","k":[42,12],"o":11},"flag-dz":{"a":"Algeria Flag","b":"1F1E9-1F1FF","k":[1,38],"o":2},"monorail":{"a":"Monorail","b":"1F69D","j":["transportation","vehicle"],"k":[34,28],"o":2},"owl":{"a":"Owl","b":"1F989","j":["animal","nature","bird","hoot"],"k":[42,27],"o":4},"sushi":{"a":"Sushi","b":"1F363","j":["food","fish","japanese","rice"],"k":[7,2],"o":2},"telephone_receiver":{"a":"Telephone Receiver","b":"1F4DE","j":["technology","communication","dial"],"k":[26,52],"o":2},"black_joker":{"a":"Playing Card Black Joker","b":"1F0CF","j":["poker","cards","game","play","magic"],"k":[0,15],"o":2},"ophiuchus":{"a":"Ophiuchus","b":"26CE","j":["sign","purple-square","constellation","astrology"],"k":[54,4],"o":2},"frowning":{"a":"Frowning Face with Open Mouth","b":"1F626","j":["face","aw","what"],"k":[31,16],"o":2},"older_adult":{"a":"Older Adult","b":"1F9D3","k":[48,22],"o":5},"flag-ea":{"a":"Ceuta & Melilla Flag","b":"1F1EA-1F1E6","k":[1,39],"o":2},"flamingo":{"a":"Flamingo","b":"1F9A9","k":[43,0],"o":12},"pager":{"a":"Pager","b":"1F4DF","j":["bbcall","oldschool","90s"],"k":[26,53],"o":2},"mountain_railway":{"a":"Mountain Railway","b":"1F69E","j":["transportation","vehicle"],"k":[34,29],"o":2},"mahjong":{"a":"Mahjong Tile Red Dragon","b":"1F004","j":["game","play","chinese","kanji"],"k":[0,14],"o":2},"older_man":{"a":"Older Man","b":"1F474","j":["human","male","men","old","elder","senior"],"k":[22,49],"o":2},"twisted_rightwards_arrows":{"a":"Twisted Rightwards Arrows","b":"1F500","j":["blue-square","shuffle","music","random"],"k":[27,28],"o":2},"fried_shrimp":{"a":"Fried Shrimp","b":"1F364","j":["food","animal","appetizer","summer"],"k":[7,3],"o":2},"anguished":{"a":"Anguished Face","b":"1F627","j":["face","stunned","nervous"],"k":[31,17],"l":["D:"],"o":2},"repeat":{"a":"Clockwise Rightwards and Leftwards Open Circle Arrows","b":"1F501","j":["loop","record"],"k":[27,29],"o":2},"fish_cake":{"a":"Fish Cake with Swirl Design","b":"1F365","j":["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],"k":[7,4],"o":2},"fax":{"a":"Fax Machine","b":"1F4E0","j":["communication","technology"],"k":[26,54],"o":2},"older_woman":{"a":"Older Woman","b":"1F475","j":["human","female","women","lady","old","elder","senior"],"k":[22,55],"o":2},"flag-ec":{"a":"Ecuador Flag","b":"1F1EA-1F1E8","k":[1,40],"o":2},"peacock":{"a":"Peacock","b":"1F99A","k":[42,44],"o":11},"fearful":{"a":"Fearful Face","b":"1F628","j":["face","scared","terrified","nervous","oops","huh"],"k":[31,18],"o":2},"train":{"a":"Tram Car","b":"1F68B","j":["transportation","vehicle","carriage","public","travel"],"k":[34,10],"o":2},"flower_playing_cards":{"a":"Flower Playing Cards","b":"1F3B4","j":["game","sunset","red"],"k":[8,26],"o":2},"repeat_one":{"a":"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay","b":"1F502","j":["blue-square","loop"],"k":[27,30],"o":2},"moon_cake":{"a":"Moon Cake","b":"1F96E","k":[42,4],"o":11},"performing_arts":{"a":"Performing Arts","b":"1F3AD","j":["acting","theater","drama"],"k":[8,19],"o":2},"cold_sweat":{"a":"Face with Open Mouth and Cold Sweat","b":"1F630","j":["face","nervous","sweat"],"k":[31,26],"o":2},"flag-ee":{"a":"Estonia Flag","b":"1F1EA-1F1EA","k":[1,41],"o":2},"battery":{"a":"Battery","b":"1F50B","j":["power","energy","sustain"],"k":[27,39],"o":2},"parrot":{"a":"Parrot","b":"1F99C","k":[42,46],"o":11},"bus":{"a":"Bus","b":"1F68C","j":["car","vehicle","transportation"],"k":[34,11],"o":2},"flag-eg":{"a":"Egypt Flag","b":"1F1EA-1F1EC","k":[1,42],"o":2},"arrow_forward":{"a":"Black Right-Pointing Triangle","b":"25B6-FE0F","c":"25B6","j":["blue-square","right","direction","play"],"k":[52,43],"o":2},"man-frowning":{"a":"Man Frowning","b":"1F64D-200D-2642-FE0F","c":"1F64D-200D-2642","k":[33,20],"o":4},"disappointed_relieved":{"a":"Disappointed but Relieved Face","b":"1F625","j":["face","phew","sweat","nervous"],"k":[31,15],"o":2},"electric_plug":{"a":"Electric Plug","b":"1F50C","j":["charger","power"],"k":[27,40],"o":2},"frame_with_picture":{"a":"Frame with Picture","b":"1F5BC-FE0F","c":"1F5BC","k":[30,14],"o":2},"oncoming_bus":{"a":"Oncoming Bus","b":"1F68D","j":["vehicle","transportation"],"k":[34,12],"o":2},"dango":{"a":"Dango","b":"1F361","j":["food","dessert","sweet","japanese","barbecue","meat"],"k":[7,0],"o":2},"frog":{"a":"Frog Face","b":"1F438","j":["animal","nature","croak","toad"],"k":[12,28],"o":2},"computer":{"a":"Personal Computer","b":"1F4BB","j":["technology","laptop","screen","display","monitor"],"k":[26,17],"o":2},"art":{"a":"Artist Palette","b":"1F3A8","j":["design","paint","draw","colors"],"k":[8,14],"o":2},"flag-eh":{"a":"Western Sahara Flag","b":"1F1EA-1F1ED","k":[1,43],"o":2},"fast_forward":{"a":"Black Right-Pointing Double Triangle","b":"23E9","j":["blue-square","play","speed","continue"],"k":[52,26],"o":2},"cry":{"a":"Crying Face","b":"1F622","j":["face","tears","sad","depressed","upset",":\'("],"k":[31,12],"l":[":\'("],"m":":\'(","o":2},"woman-frowning":{"obsoletes":"1F64D","a":"Woman Frowning","b":"1F64D-200D-2640-FE0F","c":"1F64D-200D-2640","k":[33,14],"o":4},"trolleybus":{"a":"Trolleybus","b":"1F68E","j":["bart","transportation","vehicle"],"k":[34,13],"o":2},"crocodile":{"a":"Crocodile","b":"1F40A","j":["animal","nature","reptile","lizard","alligator"],"k":[11,38],"o":2},"dumpling":{"a":"Dumpling","b":"1F95F","k":[41,46],"o":5},"black_right_pointing_double_triangle_with_vertical_bar":{"a":"Black Right Pointing Double Triangle with Vertical Bar","b":"23ED-FE0F","c":"23ED","k":[52,30],"o":2},"desktop_computer":{"a":"Desktop Computer","b":"1F5A5-FE0F","c":"1F5A5","j":["technology","computing","screen"],"k":[30,10],"o":2},"turtle":{"a":"Turtle","b":"1F422","j":["animal","slow","nature","tortoise"],"k":[12,6],"o":2},"sob":{"a":"Loudly Crying Face","b":"1F62D","j":["face","cry","tears","sad","upset","depressed"],"k":[31,23],"m":":\'(","o":2},"flag-er":{"a":"Eritrea Flag","b":"1F1EA-1F1F7","k":[1,44],"o":2},"thread":{"a":"Spool of Thread","b":"1F9F5","k":[51,40],"o":11},"minibus":{"a":"Minibus","b":"1F690","j":["vehicle","car","transportation"],"k":[34,15],"o":2},"fortune_cookie":{"a":"Fortune Cookie","b":"1F960","k":[41,47],"o":5},"yarn":{"a":"Ball of Yarn","b":"1F9F6","k":[51,41],"o":11},"takeout_box":{"a":"Takeout Box","b":"1F961","k":[41,48],"o":5},"man-pouting":{"a":"Man Pouting","b":"1F64E-200D-2642-FE0F","c":"1F64E-200D-2642","k":[33,38],"o":4},"printer":{"a":"Printer","b":"1F5A8-FE0F","c":"1F5A8","j":["paper","ink"],"k":[30,11],"o":2},"scream":{"a":"Face Screaming in Fear","b":"1F631","j":["face","munch","scared","omg"],"k":[31,27],"o":2},"es":{"a":"Spain Flag","b":"1F1EA-1F1F8","j":["spain","flag","nation","country","banner"],"k":[1,45],"n":["flag-es"],"o":2},"ambulance":{"a":"Ambulance","b":"1F691","j":["health","911","hospital"],"k":[34,16],"o":2},"black_right_pointing_triangle_with_double_vertical_bar":{"a":"Black Right Pointing Triangle with Double Vertical Bar","b":"23EF-FE0F","c":"23EF","k":[52,32],"o":2},"lizard":{"a":"Lizard","b":"1F98E","j":["animal","nature","reptile"],"k":[42,32],"o":4},"flag-et":{"a":"Ethiopia Flag","b":"1F1EA-1F1F9","k":[1,46],"o":2},"keyboard":{"a":"Keyboard","b":"2328-FE0F","c":"2328","j":["technology","computer","type","input","text"],"k":[52,24],"o":2},"crab":{"a":"Crab","b":"1F980","j":["animal","crustacean"],"k":[42,18],"o":2},"confounded":{"a":"Confounded Face","b":"1F616","j":["face","confused","sick","unwell","oops",":S"],"k":[31,0],"o":2},"snake":{"a":"Snake","b":"1F40D","j":["animal","evil","nature","hiss","python"],"k":[11,41],"o":2},"woman-pouting":{"obsoletes":"1F64E","a":"Woman Pouting","b":"1F64E-200D-2640-FE0F","c":"1F64E-200D-2640","k":[33,32],"o":4},"arrow_backward":{"a":"Black Left-Pointing Triangle","b":"25C0-FE0F","c":"25C0","j":["blue-square","left","direction"],"k":[52,44],"o":2},"fire_engine":{"a":"Fire Engine","b":"1F692","j":["transportation","cars","vehicle"],"k":[34,17],"o":2},"rewind":{"a":"Black Left-Pointing Double Triangle","b":"23EA","j":["play","blue-square"],"k":[52,27],"o":2},"three_button_mouse":{"a":"Three Button Mouse","b":"1F5B1-FE0F","c":"1F5B1","k":[30,12],"o":2},"police_car":{"a":"Police Car","b":"1F693","j":["vehicle","cars","transportation","law","legal","enforcement"],"k":[34,18],"o":2},"dragon_face":{"a":"Dragon Face","b":"1F432","j":["animal","myth","nature","chinese","green"],"k":[12,22],"o":2},"persevere":{"a":"Persevering Face","b":"1F623","j":["face","sick","no","upset","oops"],"k":[31,13],"o":2},"lobster":{"a":"Lobster","b":"1F99E","k":[42,48],"o":11},"flag-eu":{"a":"European Union Flag","b":"1F1EA-1F1FA","k":[1,47],"o":2},"disappointed":{"a":"Disappointed Face","b":"1F61E","j":["face","sad","upset","depressed",":("],"k":[31,8],"l":["):",":(",":-("],"m":":(","o":2},"shrimp":{"a":"Shrimp","b":"1F990","j":["animal","ocean","nature","seafood"],"k":[42,34],"o":4},"dragon":{"a":"Dragon","b":"1F409","j":["animal","myth","nature","chinese","green"],"k":[11,37],"o":2},"man-gesturing-no":{"a":"Man Gesturing No","b":"1F645-200D-2642-FE0F","c":"1F645-200D-2642","k":[31,53],"o":4},"flag-fi":{"a":"Finland Flag","b":"1F1EB-1F1EE","k":[1,48],"o":2},"trackball":{"a":"Trackball","b":"1F5B2-FE0F","c":"1F5B2","j":["technology","trackpad"],"k":[30,13],"o":2},"black_left_pointing_double_triangle_with_vertical_bar":{"a":"Black Left Pointing Double Triangle with Vertical Bar","b":"23EE-FE0F","c":"23EE","k":[52,31],"o":2},"oncoming_police_car":{"a":"Oncoming Police Car","b":"1F694","j":["vehicle","law","legal","enforcement","911"],"k":[34,19],"o":2},"minidisc":{"a":"Minidisc","b":"1F4BD","j":["technology","record","data","disk","90s"],"k":[26,19],"o":2},"sweat":{"a":"Face with Cold Sweat","b":"1F613","j":["face","hot","sad","tired","exercise"],"k":[30,54],"o":2},"squid":{"a":"Squid","b":"1F991","j":["animal","nature","ocean","sea"],"k":[42,35],"o":4},"sauropod":{"a":"Sauropod","b":"1F995","k":[42,39],"o":5},"arrow_up_small":{"a":"Up-Pointing Small Red Triangle","b":"1F53C","j":["blue-square","triangle","direction","point","forward","top"],"k":[28,31],"o":2},"flag-fj":{"a":"Fiji Flag","b":"1F1EB-1F1EF","k":[1,49],"o":2},"woman-gesturing-no":{"obsoletes":"1F645","a":"Woman Gesturing No","b":"1F645-200D-2640-FE0F","c":"1F645-200D-2640","k":[31,47],"o":4},"taxi":{"a":"Taxi","b":"1F695","j":["uber","vehicle","cars","transportation"],"k":[34,20],"o":2},"flag-fk":{"a":"Falkland Islands Flag","b":"1F1EB-1F1F0","k":[1,50],"o":2},"floppy_disk":{"a":"Floppy Disk","b":"1F4BE","j":["oldschool","technology","save","90s","80s"],"k":[26,20],"o":2},"t-rex":{"a":"T-Rex","b":"1F996","k":[42,40],"o":5},"oyster":{"a":"Oyster","b":"1F9AA","k":[43,1],"o":12},"arrow_double_up":{"a":"Black Up-Pointing Double Triangle","b":"23EB","j":["blue-square","direction","top"],"k":[52,28],"o":2},"oncoming_taxi":{"a":"Oncoming Taxi","b":"1F696","j":["vehicle","cars","uber"],"k":[34,21],"o":2},"weary":{"a":"Weary Face","b":"1F629","j":["face","tired","sleepy","sad","frustrated","upset"],"k":[31,19],"o":2},"man-gesturing-ok":{"a":"Man Gesturing Ok","b":"1F646-200D-2642-FE0F","c":"1F646-200D-2642","k":[32,14],"o":4},"arrow_down_small":{"a":"Down-Pointing Small Red Triangle","b":"1F53D","j":["blue-square","direction","bottom"],"k":[28,32],"o":2},"tired_face":{"a":"Tired Face","b":"1F62B","j":["sick","whine","upset","frustrated"],"k":[31,21],"o":2},"car":{"a":"Automobile","b":"1F697","k":[34,22],"n":["red_car"],"o":2},"icecream":{"a":"Soft Ice Cream","b":"1F366","j":["food","hot","dessert","summer"],"k":[7,5],"o":2},"cd":{"a":"Optical Disc","b":"1F4BF","j":["technology","dvd","disk","disc","90s"],"k":[26,21],"o":2},"whale":{"a":"Spouting Whale","b":"1F433","j":["animal","nature","sea","ocean"],"k":[12,23],"o":2},"flag-fm":{"a":"Micronesia Flag","b":"1F1EB-1F1F2","k":[1,51],"o":2},"oncoming_automobile":{"a":"Oncoming Automobile","b":"1F698","j":["car","vehicle","transportation"],"k":[34,23],"o":2},"arrow_double_down":{"a":"Black Down-Pointing Double Triangle","b":"23EC","j":["blue-square","direction","bottom"],"k":[52,29],"o":2},"woman-gesturing-ok":{"obsoletes":"1F646","a":"Woman Gesturing Ok","b":"1F646-200D-2640-FE0F","c":"1F646-200D-2640","k":[32,8],"o":4},"yawning_face":{"a":"Yawning Face","b":"1F971","k":[42,7],"o":12},"dvd":{"a":"Dvd","b":"1F4C0","j":["cd","disk","disc"],"k":[26,22],"o":2},"whale2":{"a":"Whale","b":"1F40B","j":["animal","nature","sea","ocean"],"k":[11,39],"o":2},"flag-fo":{"a":"Faroe Islands Flag","b":"1F1EB-1F1F4","k":[1,52],"o":2},"shaved_ice":{"a":"Shaved Ice","b":"1F367","j":["hot","dessert","summer"],"k":[7,6],"o":2},"double_vertical_bar":{"a":"Double Vertical Bar","b":"23F8-FE0F","c":"23F8","k":[52,37],"o":2},"dolphin":{"a":"Dolphin","b":"1F42C","j":["animal","nature","fish","sea","ocean","flipper","fins","beach"],"k":[12,16],"n":["flipper"],"o":2},"blue_car":{"a":"Recreational Vehicle","b":"1F699","j":["transportation","vehicle"],"k":[34,24],"o":2},"ice_cream":{"a":"Ice Cream","b":"1F368","j":["food","hot","dessert"],"k":[7,7],"o":2},"fr":{"a":"France Flag","b":"1F1EB-1F1F7","j":["banner","flag","nation","france","french","country"],"k":[1,53],"n":["flag-fr"],"o":2},"triumph":{"a":"Face with Look of Triumph","b":"1F624","j":["face","gas","phew","proud","pride"],"k":[31,14],"o":2},"abacus":{"a":"Abacus","b":"1F9EE","k":[51,33],"o":11},"man-tipping-hand":{"a":"Man Tipping Hand","b":"1F481-200D-2642-FE0F","c":"1F481-200D-2642","k":[23,53],"o":4},"doughnut":{"a":"Doughnut","b":"1F369","j":["food","dessert","snack","sweet","donut"],"k":[7,8],"o":2},"fish":{"a":"Fish","b":"1F41F","j":["animal","food","nature"],"k":[12,3],"o":2},"truck":{"a":"Delivery Truck","b":"1F69A","j":["cars","transportation"],"k":[34,25],"o":2},"movie_camera":{"a":"Movie Camera","b":"1F3A5","j":["film","record"],"k":[8,11],"o":2},"flag-ga":{"a":"Gabon Flag","b":"1F1EC-1F1E6","k":[1,54],"o":2},"rage":{"a":"Pouting Face","b":"1F621","j":["angry","mad","hate","despise"],"k":[31,11],"o":2},"black_square_for_stop":{"a":"Black Square for Stop","b":"23F9-FE0F","c":"23F9","k":[52,38],"o":2},"articulated_lorry":{"a":"Articulated Lorry","b":"1F69B","j":["vehicle","cars","transportation","express"],"k":[34,26],"o":2},"angry":{"a":"Angry Face","b":"1F620","j":["mad","face","annoyed","frustrated"],"k":[31,10],"l":[">:(",">:-("],"o":2},"cookie":{"a":"Cookie","b":"1F36A","j":["food","snack","oreo","chocolate","sweet","dessert"],"k":[7,9],"o":2},"gb":{"a":"United Kingdom Flag","b":"1F1EC-1F1E7","k":[1,55],"n":["uk","flag-gb"],"o":2},"tropical_fish":{"a":"Tropical Fish","b":"1F420","j":["animal","swim","ocean","beach","nemo"],"k":[12,4],"o":2},"woman-tipping-hand":{"obsoletes":"1F481","a":"Woman Tipping Hand","b":"1F481-200D-2640-FE0F","c":"1F481-200D-2640","k":[23,47],"o":4},"black_circle_for_record":{"a":"Black Circle for Record","b":"23FA-FE0F","c":"23FA","k":[52,39],"o":2},"film_frames":{"a":"Film Frames","b":"1F39E-FE0F","c":"1F39E","k":[8,4],"o":2},"film_projector":{"a":"Film Projector","b":"1F4FD-FE0F","c":"1F4FD","j":["video","tape","record","movie"],"k":[27,26],"o":2},"flag-gd":{"a":"Grenada Flag","b":"1F1EC-1F1E9","k":[1,56],"o":2},"blowfish":{"a":"Blowfish","b":"1F421","j":["animal","nature","food","sea","ocean"],"k":[12,5],"o":2},"face_with_symbols_on_mouth":{"a":"Serious Face with Symbols Covering Mouth","b":"1F92C","k":[38,46],"n":["serious_face_with_symbols_covering_mouth"],"o":5},"birthday":{"a":"Birthday Cake","b":"1F382","j":["food","dessert","cake"],"k":[7,33],"o":2},"eject":{"a":"Eject","b":"23CF-FE0F","c":"23CF","k":[52,25],"o":2},"tractor":{"a":"Tractor","b":"1F69C","j":["vehicle","car","farming","agriculture"],"k":[34,27],"o":2},"flag-ge":{"a":"Georgia Flag","b":"1F1EC-1F1EA","k":[2,0],"o":2},"smiling_imp":{"a":"Smiling Face with Horns","b":"1F608","j":["devil","horns"],"k":[30,43],"o":2},"racing_car":{"a":"Racing Car","b":"1F3CE-FE0F","c":"1F3CE","j":["sports","race","fast","formula","f1"],"k":[10,33],"o":2},"cinema":{"a":"Cinema","b":"1F3A6","j":["blue-square","record","film","movie","curtain","stage","theater"],"k":[8,12],"o":2},"clapper":{"a":"Clapper Board","b":"1F3AC","j":["movie","film","record"],"k":[8,18],"o":2},"shark":{"a":"Shark","b":"1F988","j":["animal","nature","fish","sea","ocean","jaws","fins","beach"],"k":[42,26],"o":4},"cake":{"a":"Shortcake","b":"1F370","j":["food","dessert"],"k":[7,15],"o":2},"man-raising-hand":{"a":"Man Raising Hand","b":"1F64B-200D-2642-FE0F","c":"1F64B-200D-2642","k":[32,53],"o":4},"octopus":{"a":"Octopus","b":"1F419","j":["animal","creature","ocean","sea","nature","beach"],"k":[11,54],"o":2},"woman-raising-hand":{"obsoletes":"1F64B","a":"Woman Raising Hand","b":"1F64B-200D-2640-FE0F","c":"1F64B-200D-2640","k":[32,47],"o":4},"flag-gf":{"a":"French Guiana Flag","b":"1F1EC-1F1EB","k":[2,1],"o":2},"tv":{"a":"Television","b":"1F4FA","j":["technology","program","oldschool","show","television"],"k":[27,23],"o":2},"imp":{"a":"Imp","b":"1F47F","j":["devil","angry","horns"],"k":[23,45],"o":2},"cupcake":{"a":"Cupcake","b":"1F9C1","k":[44,9],"o":11},"racing_motorcycle":{"a":"Racing Motorcycle","b":"1F3CD-FE0F","c":"1F3CD","k":[10,32],"o":2},"low_brightness":{"a":"Low Brightness Symbol","b":"1F505","j":["sun","afternoon","warm","summer"],"k":[27,33],"o":2},"shell":{"a":"Spiral Shell","b":"1F41A","j":["nature","sea","beach"],"k":[11,55],"o":2},"flag-gg":{"a":"Guernsey Flag","b":"1F1EC-1F1EC","k":[2,2],"o":2},"high_brightness":{"a":"High Brightness Symbol","b":"1F506","j":["sun","light"],"k":[27,34],"o":2},"deaf_person":{"a":"Deaf Person","b":"1F9CF","k":[45,10],"o":12},"skull":{"a":"Skull","b":"1F480","j":["dead","skeleton","creepy","death"],"k":[23,46],"o":2},"motor_scooter":{"a":"Motor Scooter","b":"1F6F5","j":["vehicle","vespa","sasha"],"k":[36,54],"o":4},"camera":{"a":"Camera","b":"1F4F7","j":["gadgets","photography"],"k":[27,20],"o":2},"pie":{"a":"Pie","b":"1F967","k":[41,54],"o":5},"flag-gh":{"a":"Ghana Flag","b":"1F1EC-1F1ED","k":[2,3],"o":2},"deaf_man":{"a":"Deaf Man","b":"1F9CF-200D-2642-FE0F","c":"1F9CF-200D-2642","k":[45,4],"o":12},"skull_and_crossbones":{"a":"Skull and Crossbones","b":"2620-FE0F","c":"2620","j":["poison","danger","deadly","scary","death","pirate","evil"],"k":[53,8],"o":2},"camera_with_flash":{"a":"Camera with Flash","b":"1F4F8","k":[27,21],"o":2},"signal_strength":{"a":"Antenna with Bars","b":"1F4F6","j":["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],"k":[27,19],"o":2},"chocolate_bar":{"a":"Chocolate Bar","b":"1F36B","j":["food","snack","dessert","sweet"],"k":[7,10],"o":2},"manual_wheelchair":{"a":"Manual Wheelchair","b":"1F9BD","k":[44,5],"o":12},"snail":{"a":"Snail","b":"1F40C","j":["slow","animal","shell"],"k":[11,40],"o":2},"motorized_wheelchair":{"a":"Motorized Wheelchair","b":"1F9BC","k":[44,4],"o":12},"flag-gi":{"a":"Gibraltar Flag","b":"1F1EC-1F1EE","k":[2,4],"o":2},"hankey":{"a":"Pile of Poo","b":"1F4A9","k":[25,51],"n":["poop","shit"],"o":2},"vibration_mode":{"a":"Vibration Mode","b":"1F4F3","j":["orange-square","phone"],"k":[27,16],"o":2},"deaf_woman":{"a":"Deaf Woman","b":"1F9CF-200D-2640-FE0F","c":"1F9CF-200D-2640","k":[44,55],"o":12},"butterfly":{"a":"Butterfly","b":"1F98B","j":["animal","insect","nature","caterpillar"],"k":[42,29],"o":4},"video_camera":{"a":"Video Camera","b":"1F4F9","j":["film","record"],"k":[27,22],"o":2},"candy":{"a":"Candy","b":"1F36C","j":["snack","dessert","sweet","lolly"],"k":[7,11],"o":2},"auto_rickshaw":{"a":"Auto Rickshaw","b":"1F6FA","k":[37,2],"o":12},"mobile_phone_off":{"a":"Mobile Phone off","b":"1F4F4","j":["mute","orange-square","silence","quiet"],"k":[27,17],"o":2},"clown_face":{"a":"Clown Face","b":"1F921","j":["face"],"k":[38,18],"o":4},"lollipop":{"a":"Lollipop","b":"1F36D","j":["food","snack","candy","sweet"],"k":[7,12],"o":2},"flag-gl":{"a":"Greenland Flag","b":"1F1EC-1F1F1","k":[2,5],"o":2},"vhs":{"a":"Videocassette","b":"1F4FC","j":["record","video","oldschool","90s","80s"],"k":[27,25],"o":2},"bug":{"a":"Bug","b":"1F41B","j":["animal","insect","nature","worm"],"k":[11,56],"o":2},"bike":{"a":"Bicycle","b":"1F6B2","j":["sports","bicycle","exercise","hipster"],"k":[35,9],"o":2},"man-bowing":{"obsoletes":"1F647","a":"Man Bowing","b":"1F647-200D-2642-FE0F","c":"1F647-200D-2642","k":[32,32],"o":4},"female_sign":{"a":"Female Sign","b":"2640-FE0F","c":"2640","k":[53,18],"o":4},"japanese_ogre":{"a":"Japanese Ogre","b":"1F479","j":["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],"k":[23,34],"o":2},"custard":{"a":"Custard","b":"1F36E","j":["dessert","food"],"k":[7,13],"o":2},"ant":{"a":"Ant","b":"1F41C","j":["animal","insect","nature","bug"],"k":[12,0],"o":2},"mag":{"a":"Left-Pointing Magnifying Glass","b":"1F50D","j":["search","zoom","find","detective"],"k":[27,41],"o":2},"flag-gm":{"a":"Gambia Flag","b":"1F1EC-1F1F2","k":[2,6],"o":2},"honey_pot":{"a":"Honey Pot","b":"1F36F","j":["bees","sweet","kitchen"],"k":[7,14],"o":2},"woman-bowing":{"a":"Woman Bowing","b":"1F647-200D-2640-FE0F","c":"1F647-200D-2640","k":[32,26],"o":4},"male_sign":{"a":"Male Sign","b":"2642-FE0F","c":"2642","k":[53,19],"o":4},"mag_right":{"a":"Right-Pointing Magnifying Glass","b":"1F50E","j":["search","zoom","find","detective"],"k":[27,42],"o":2},"japanese_goblin":{"a":"Japanese Goblin","b":"1F47A","j":["red","evil","mask","monster","scary","creepy","japanese","goblin"],"k":[23,35],"o":2},"scooter":{"a":"Scooter","b":"1F6F4","k":[36,53],"o":4},"bee":{"a":"Honeybee","b":"1F41D","k":[12,1],"n":["honeybee"],"o":2},"flag-gn":{"a":"Guinea Flag","b":"1F1EC-1F1F3","k":[2,7],"o":2},"candle":{"a":"Candle","b":"1F56F-FE0F","c":"1F56F","j":["fire","wax"],"k":[29,6],"o":2},"skateboard":{"a":"Skateboard","b":"1F6F9","k":[37,1],"o":11},"medical_symbol":{"a":"Medical Symbol","b":"2695-FE0F","c":"2695","k":[53,44],"n":["staff_of_aesculapius"],"o":4},"ghost":{"a":"Ghost","b":"1F47B","j":["halloween","spooky","scary"],"k":[23,36],"o":2},"beetle":{"a":"Lady Beetle","b":"1F41E","j":["animal","insect","nature","ladybug"],"k":[12,2],"o":2},"flag-gp":{"a":"Guadeloupe Flag","b":"1F1EC-1F1F5","k":[2,8],"o":2},"baby_bottle":{"a":"Baby Bottle","b":"1F37C","j":["food","container","milk"],"k":[7,27],"o":2},"infinity":{"a":"Infinity","b":"267E-FE0F","c":"267E","k":[53,39],"o":11},"glass_of_milk":{"a":"Glass of Milk","b":"1F95B","k":[41,42],"o":4},"man-facepalming":{"a":"Man Facepalming","b":"1F926-200D-2642-FE0F","c":"1F926-200D-2642","k":[38,29],"o":4},"cricket":{"a":"Cricket","b":"1F997","j":["sports"],"k":[42,41],"o":5},"busstop":{"a":"Bus Stop","b":"1F68F","j":["transportation","wait"],"k":[34,14],"o":2},"flag-gq":{"a":"Equatorial Guinea Flag","b":"1F1EC-1F1F6","k":[2,9],"o":2},"alien":{"a":"Extraterrestrial Alien","b":"1F47D","j":["UFO","paul","weird","outer_space"],"k":[23,43],"o":2},"bulb":{"a":"Electric Light Bulb","b":"1F4A1","j":["light","electricity","idea"],"k":[25,43],"o":2},"woman-facepalming":{"a":"Woman Facepalming","b":"1F926-200D-2640-FE0F","c":"1F926-200D-2640","k":[38,23],"o":4},"spider":{"a":"Spider","b":"1F577-FE0F","c":"1F577","j":["animal","arachnid"],"k":[29,34],"o":2},"space_invader":{"a":"Alien Monster","b":"1F47E","j":["game","arcade","play"],"k":[23,44],"o":2},"motorway":{"a":"Motorway","b":"1F6E3-FE0F","c":"1F6E3","j":["road","cupertino","interstate","highway"],"k":[36,45],"o":2},"flag-gr":{"a":"Greece Flag","b":"1F1EC-1F1F7","k":[2,10],"o":2},"recycle":{"a":"Black Universal Recycling Symbol","b":"267B-FE0F","c":"267B","j":["arrow","environment","garbage","trash"],"k":[53,38],"o":2},"coffee":{"a":"Hot Beverage","b":"2615","j":["beverage","caffeine","latte","espresso"],"k":[53,0],"o":2},"flashlight":{"a":"Electric Torch","b":"1F526","j":["dark","camping","sight","night"],"k":[28,9],"o":2},"spider_web":{"a":"Spider Web","b":"1F578-FE0F","c":"1F578","j":["animal","insect","arachnid","silk"],"k":[29,35],"o":2},"izakaya_lantern":{"a":"Izakaya Lantern","b":"1F3EE","j":["light","paper","halloween","spooky"],"k":[11,8],"n":["lantern"],"o":2},"flag-gs":{"a":"South Georgia & South Sandwich Islands Flag","b":"1F1EC-1F1F8","k":[2,11],"o":2},"fleur_de_lis":{"a":"Fleur De Lis","b":"269C-FE0F","c":"269C","j":["decorative","scout"],"k":[53,49],"o":2},"robot_face":{"a":"Robot Face","b":"1F916","k":[37,29],"o":2},"railway_track":{"a":"Railway Track","b":"1F6E4-FE0F","c":"1F6E4","j":["train","transportation"],"k":[36,46],"o":2},"tea":{"a":"Teacup Without Handle","b":"1F375","j":["drink","bowl","breakfast","green","british"],"k":[7,20],"o":2},"flag-gt":{"a":"Guatemala Flag","b":"1F1EC-1F1F9","k":[2,12],"o":2},"oil_drum":{"a":"Oil Drum","b":"1F6E2-FE0F","c":"1F6E2","j":["barrell"],"k":[36,44],"o":2},"diya_lamp":{"a":"Diya Lamp","b":"1FA94","k":[52,8],"o":12},"sake":{"a":"Sake Bottle and Cup","b":"1F376","j":["wine","drink","drunk","beverage","japanese","alcohol","booze"],"k":[7,21],"o":2},"trident":{"a":"Trident Emblem","b":"1F531","j":["weapon","spear"],"k":[28,20],"o":2},"man-shrugging":{"a":"Man Shrugging","b":"1F937-200D-2642-FE0F","c":"1F937-200D-2642","k":[39,41],"o":4},"smiley_cat":{"a":"Smiling Cat Face with Open Mouth","b":"1F63A","j":["animal","cats","happy","smile"],"k":[31,36],"o":2},"scorpion":{"a":"Scorpion","b":"1F982","j":["animal","arachnid"],"k":[42,20],"o":2},"woman-shrugging":{"a":"Woman Shrugging","b":"1F937-200D-2640-FE0F","c":"1F937-200D-2640","k":[39,35],"o":4},"notebook_with_decorative_cover":{"a":"Notebook with Decorative Cover","b":"1F4D4","j":["classroom","notes","record","paper","study"],"k":[26,42],"o":2},"fuelpump":{"a":"Fuel Pump","b":"26FD","j":["gas station","petroleum"],"k":[54,38],"o":2},"name_badge":{"a":"Name Badge","b":"1F4DB","j":["fire","forbid"],"k":[26,49],"o":2},"mosquito":{"a":"Mosquito","b":"1F99F","k":[42,49],"o":11},"flag-gu":{"a":"Guam Flag","b":"1F1EC-1F1FA","k":[2,13],"o":2},"smile_cat":{"a":"Grinning Cat Face with Smiling Eyes","b":"1F638","j":["animal","cats","smile"],"k":[31,34],"o":2},"champagne":{"a":"Bottle with Popping Cork","b":"1F37E","j":["drink","wine","bottle","celebration"],"k":[7,29],"o":2},"joy_cat":{"a":"Cat Face with Tears of Joy","b":"1F639","j":["animal","cats","haha","happy","tears"],"k":[31,35],"o":2},"closed_book":{"a":"Closed Book","b":"1F4D5","j":["read","library","knowledge","textbook","learn"],"k":[26,43],"o":2},"rotating_light":{"a":"Police Cars Revolving Light","b":"1F6A8","j":["police","ambulance","911","emergency","alert","error","pinged","law","legal"],"k":[34,56],"o":2},"microbe":{"a":"Microbe","b":"1F9A0","k":[42,50],"o":11},"flag-gw":{"a":"Guinea-Bissau Flag","b":"1F1EC-1F1FC","k":[2,14],"o":2},"wine_glass":{"a":"Wine Glass","b":"1F377","j":["drink","beverage","drunk","alcohol","booze"],"k":[7,22],"o":2},"beginner":{"a":"Japanese Symbol for Beginner","b":"1F530","j":["badge","shield"],"k":[28,19],"o":2},"bouquet":{"a":"Bouquet","b":"1F490","j":["flowers","nature","spring"],"k":[25,26],"o":2},"heart_eyes_cat":{"a":"Smiling Cat Face with Heart-Shaped Eyes","b":"1F63B","j":["animal","love","like","affection","cats","valentines","heart"],"k":[31,37],"o":2},"male-doctor":{"a":"Male Doctor","b":"1F468-200D-2695-FE0F","c":"1F468-200D-2695","k":[17,2],"o":4},"book":{"a":"Open Book","b":"1F4D6","k":[26,44],"n":["open_book"],"o":2},"traffic_light":{"a":"Horizontal Traffic Light","b":"1F6A5","j":["transportation","signal"],"k":[34,53],"o":2},"cocktail":{"a":"Cocktail Glass","b":"1F378","j":["drink","drunk","alcohol","beverage","booze","mojito"],"k":[7,23],"o":2},"o":{"a":"Heavy Large Circle","b":"2B55","j":["circle","round"],"k":[55,43],"o":2},"flag-gy":{"a":"Guyana Flag","b":"1F1EC-1F1FE","k":[2,15],"o":2},"female-doctor":{"a":"Female Doctor","b":"1F469-200D-2695-FE0F","c":"1F469-200D-2695","k":[19,44],"o":4},"smirk_cat":{"a":"Cat Face with Wry Smile","b":"1F63C","j":["animal","cats","smirk"],"k":[31,38],"o":2},"green_book":{"a":"Green Book","b":"1F4D7","j":["read","library","knowledge","study"],"k":[26,45],"o":2},"cherry_blossom":{"a":"Cherry Blossom","b":"1F338","j":["nature","plant","spring","flower"],"k":[6,16],"o":2},"flag-hk":{"a":"Hong Kong Sar China Flag","b":"1F1ED-1F1F0","k":[2,16],"o":2},"vertical_traffic_light":{"a":"Vertical Traffic Light","b":"1F6A6","j":["transportation","driving"],"k":[34,54],"o":2},"white_check_mark":{"a":"White Heavy Check Mark","b":"2705","j":["green-square","ok","agree","vote","election","answer","tick"],"k":[54,40],"o":2},"tropical_drink":{"a":"Tropical Drink","b":"1F379","j":["beverage","cocktail","summer","beach","alcohol","booze","mojito"],"k":[7,24],"o":2},"kissing_cat":{"a":"Kissing Cat Face with Closed Eyes","b":"1F63D","j":["animal","cats","kiss"],"k":[31,39],"o":2},"flag-hm":{"a":"Heard & Mcdonald Islands Flag","b":"1F1ED-1F1F2","k":[2,17],"o":2},"octagonal_sign":{"a":"Octagonal Sign","b":"1F6D1","k":[36,39],"o":4},"white_flower":{"a":"White Flower","b":"1F4AE","j":["japanese","spring"],"k":[26,4],"o":2},"ballot_box_with_check":{"a":"Ballot Box with Check","b":"2611-FE0F","c":"2611","j":["ok","agree","confirm","black-square","vote","election","yes","tick"],"k":[52,55],"o":2},"blue_book":{"a":"Blue Book","b":"1F4D8","j":["read","library","knowledge","learn","study"],"k":[26,46],"o":2},"beer":{"a":"Beer Mug","b":"1F37A","j":["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],"k":[7,25],"o":2},"construction":{"a":"Construction Sign","b":"1F6A7","j":["wip","progress","caution","warning"],"k":[34,55],"o":2},"rosette":{"a":"Rosette","b":"1F3F5-FE0F","c":"1F3F5","j":["flower","decoration","military"],"k":[11,18],"o":2},"heavy_check_mark":{"a":"Heavy Check Mark","b":"2714-FE0F","c":"2714","j":["ok","nike","answer","yes","tick"],"k":[55,12],"o":2},"scream_cat":{"a":"Weary Cat Face","b":"1F640","j":["animal","cats","munch","scared","scream"],"k":[31,42],"o":2},"orange_book":{"a":"Orange Book","b":"1F4D9","j":["read","library","knowledge","textbook","study"],"k":[26,47],"o":2},"beers":{"a":"Clinking Beer Mugs","b":"1F37B","j":["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],"k":[7,26],"o":2},"male-student":{"a":"Male Student","b":"1F468-200D-1F393","k":[14,50],"o":4},"flag-hn":{"a":"Honduras Flag","b":"1F1ED-1F1F3","k":[2,18],"o":2},"crying_cat_face":{"a":"Crying Cat Face","b":"1F63F","j":["animal","tears","weep","sad","cats","upset","cry"],"k":[31,41],"o":2},"anchor":{"a":"Anchor","b":"2693","j":["ship","ferry","sea","boat"],"k":[53,42],"o":2},"flag-hr":{"a":"Croatia Flag","b":"1F1ED-1F1F7","k":[2,19],"o":2},"heavy_multiplication_x":{"a":"Heavy Multiplication X","b":"2716-FE0F","c":"2716","j":["math","calculation"],"k":[55,13],"o":2},"female-student":{"a":"Female Student","b":"1F469-200D-1F393","k":[17,40],"o":4},"rose":{"a":"Rose","b":"1F339","j":["flowers","valentines","love","spring"],"k":[6,17],"o":2},"books":{"a":"Books","b":"1F4DA","j":["literature","library","study"],"k":[26,48],"o":2},"clinking_glasses":{"a":"Clinking Glasses","b":"1F942","j":["beverage","drink","party","alcohol","celebrate","cheers"],"k":[41,18],"o":4},"x":{"a":"Cross Mark","b":"274C","j":["no","delete","remove","cancel"],"k":[55,21],"o":2},"pouting_cat":{"a":"Pouting Cat Face","b":"1F63E","j":["animal","cats"],"k":[31,40],"o":2},"wilted_flower":{"a":"Wilted Flower","b":"1F940","j":["plant","nature","flower"],"k":[41,16],"o":4},"boat":{"a":"Sailboat","b":"26F5","k":[54,16],"n":["sailboat"],"o":2},"flag-ht":{"a":"Haiti Flag","b":"1F1ED-1F1F9","k":[2,20],"o":2},"tumbler_glass":{"a":"Tumbler Glass","b":"1F943","j":["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],"k":[41,19],"o":4},"notebook":{"a":"Notebook","b":"1F4D3","j":["stationery","record","notes","paper","study"],"k":[26,41],"o":2},"male-teacher":{"a":"Male Teacher","b":"1F468-200D-1F3EB","k":[15,11],"o":4},"ledger":{"a":"Ledger","b":"1F4D2","j":["notes","paper"],"k":[26,40],"o":2},"flag-hu":{"a":"Hungary Flag","b":"1F1ED-1F1FA","k":[2,21],"o":2},"cup_with_straw":{"a":"Cup with Straw","b":"1F964","k":[41,51],"o":5},"hibiscus":{"a":"Hibiscus","b":"1F33A","j":["plant","vegetable","flowers","beach"],"k":[6,18],"o":2},"see_no_evil":{"a":"See-No-Evil Monkey","b":"1F648","j":["monkey","animal","nature","haha"],"k":[32,44],"o":2},"canoe":{"a":"Canoe","b":"1F6F6","j":["boat","paddle","water","ship"],"k":[36,55],"o":4},"negative_squared_cross_mark":{"a":"Negative Squared Cross Mark","b":"274E","j":["x","green-square","no","deny"],"k":[55,22],"o":2},"flag-ic":{"a":"Canary Islands Flag","b":"1F1EE-1F1E8","k":[2,22],"o":2},"beverage_box":{"a":"Beverage Box","b":"1F9C3","k":[44,11],"o":12},"speedboat":{"a":"Speedboat","b":"1F6A4","j":["ship","transportation","vehicle","summer"],"k":[34,52],"o":2},"heavy_plus_sign":{"a":"Heavy Plus Sign","b":"2795","j":["math","calculation","addition","more","increase"],"k":[55,29],"o":2},"sunflower":{"a":"Sunflower","b":"1F33B","j":["nature","plant","fall"],"k":[6,19],"o":2},"page_with_curl":{"a":"Page with Curl","b":"1F4C3","j":["documents","office","paper"],"k":[26,25],"o":2},"female-teacher":{"a":"Female Teacher","b":"1F469-200D-1F3EB","k":[18,1],"o":4},"hear_no_evil":{"a":"Hear-No-Evil Monkey","b":"1F649","j":["animal","monkey","nature"],"k":[32,45],"o":2},"mate_drink":{"a":"Mate Drink","b":"1F9C9","k":[44,17],"o":12},"passenger_ship":{"a":"Passenger Ship","b":"1F6F3-FE0F","c":"1F6F3","j":["yacht","cruise","ferry"],"k":[36,52],"o":2},"scroll":{"a":"Scroll","b":"1F4DC","j":["documents","ancient","history","paper"],"k":[26,50],"o":2},"blossom":{"a":"Blossom","b":"1F33C","j":["nature","flowers","yellow"],"k":[6,20],"o":2},"flag-id":{"a":"Indonesia Flag","b":"1F1EE-1F1E9","k":[2,23],"o":2},"speak_no_evil":{"a":"Speak-No-Evil Monkey","b":"1F64A","j":["monkey","animal","nature","omg"],"k":[32,46],"o":2},"heavy_minus_sign":{"a":"Heavy Minus Sign","b":"2796","j":["math","calculation","subtract","less"],"k":[55,30],"o":2},"flag-ie":{"a":"Ireland Flag","b":"1F1EE-1F1EA","k":[2,24],"o":2},"ice_cube":{"a":"Ice Cube","b":"1F9CA","k":[44,18],"o":12},"page_facing_up":{"a":"Page Facing Up","b":"1F4C4","j":["documents","office","paper","information"],"k":[26,26],"o":2},"male-judge":{"a":"Male Judge","b":"1F468-200D-2696-FE0F","c":"1F468-200D-2696","k":[17,8],"o":4},"tulip":{"a":"Tulip","b":"1F337","j":["flowers","plant","nature","summer","spring"],"k":[6,15],"o":2},"ferry":{"a":"Ferry","b":"26F4-FE0F","c":"26F4","j":["boat","ship","yacht"],"k":[54,15],"o":2},"kiss":{"a":"Kiss Mark","b":"1F48B","j":["face","lips","love","like","affection","valentines"],"k":[25,21],"o":2},"heavy_division_sign":{"a":"Heavy Division Sign","b":"2797","j":["divide","math","calculation"],"k":[55,31],"o":2},"newspaper":{"a":"Newspaper","b":"1F4F0","j":["press","headline"],"k":[27,13],"o":2},"female-judge":{"a":"Female Judge","b":"1F469-200D-2696-FE0F","c":"1F469-200D-2696","k":[19,50],"o":4},"seedling":{"a":"Seedling","b":"1F331","j":["plant","nature","grass","lawn","spring"],"k":[6,9],"o":2},"love_letter":{"a":"Love Letter","b":"1F48C","j":["email","like","affection","envelope","valentines"],"k":[25,22],"o":2},"chopsticks":{"a":"Chopsticks","b":"1F962","k":[41,49],"o":5},"motor_boat":{"a":"Motor Boat","b":"1F6E5-FE0F","c":"1F6E5","j":["ship"],"k":[36,47],"o":2},"flag-il":{"a":"Israel Flag","b":"1F1EE-1F1F1","k":[2,25],"o":2},"curly_loop":{"a":"Curly Loop","b":"27B0","j":["scribble","draw","shape","squiggle"],"k":[55,33],"o":2},"flag-im":{"a":"Isle of Man Flag","b":"1F1EE-1F1F2","k":[2,26],"o":2},"evergreen_tree":{"a":"Evergreen Tree","b":"1F332","j":["plant","nature"],"k":[6,10],"o":2},"cupid":{"a":"Heart with Arrow","b":"1F498","j":["love","like","heart","affection","valentines"],"k":[25,34],"o":2},"loop":{"a":"Double Curly Loop","b":"27BF","j":["tape","cassette"],"k":[55,34],"o":2},"ship":{"a":"Ship","b":"1F6A2","j":["transportation","titanic","deploy"],"k":[34,33],"o":2},"rolled_up_newspaper":{"a":"Rolled Up Newspaper","b":"1F5DE-FE0F","c":"1F5DE","k":[30,23],"o":2},"knife_fork_plate":{"a":"Knife Fork Plate","b":"1F37D-FE0F","c":"1F37D","k":[7,28],"o":2},"fork_and_knife":{"a":"Fork and Knife","b":"1F374","j":["cutlery","kitchen"],"k":[7,19],"o":2},"male-farmer":{"a":"Male Farmer","b":"1F468-200D-1F33E","k":[14,38],"o":4},"bookmark_tabs":{"a":"Bookmark Tabs","b":"1F4D1","j":["favorite","save","order","tidy"],"k":[26,39],"o":2},"part_alternation_mark":{"a":"Part Alternation Mark","b":"303D-FE0F","c":"303D","j":["graph","presentation","stats","business","economics","bad"],"k":[55,45],"o":2},"flag-in":{"a":"India Flag","b":"1F1EE-1F1F3","k":[2,27],"o":2},"gift_heart":{"a":"Heart with Ribbon","b":"1F49D","j":["love","valentines"],"k":[25,39],"o":2},"airplane":{"a":"Airplane","b":"2708-FE0F","c":"2708","j":["vehicle","transportation","flight","fly"],"k":[54,41],"o":2},"deciduous_tree":{"a":"Deciduous Tree","b":"1F333","j":["plant","nature"],"k":[6,11],"o":2},"spoon":{"a":"Spoon","b":"1F944","j":["cutlery","kitchen","tableware"],"k":[41,20],"o":4},"flag-io":{"a":"British Indian Ocean Territory Flag","b":"1F1EE-1F1F4","k":[2,28],"o":2},"palm_tree":{"a":"Palm Tree","b":"1F334","j":["plant","vegetable","nature","summer","beach","mojito","tropical"],"k":[6,12],"o":2},"sparkling_heart":{"a":"Sparkling Heart","b":"1F496","j":["love","like","affection","valentines"],"k":[25,32],"o":2},"female-farmer":{"a":"Female Farmer","b":"1F469-200D-1F33E","k":[17,28],"o":4},"eight_spoked_asterisk":{"a":"Eight Spoked Asterisk","b":"2733-FE0F","c":"2733","j":["star","sparkle","green-square"],"k":[55,17],"o":2},"small_airplane":{"a":"Small Airplane","b":"1F6E9-FE0F","c":"1F6E9","j":["flight","transportation","fly","vehicle"],"k":[36,48],"o":2},"bookmark":{"a":"Bookmark","b":"1F516","j":["favorite","label","save"],"k":[27,50],"o":2},"eight_pointed_black_star":{"a":"Eight Pointed Black Star","b":"2734-FE0F","c":"2734","j":["orange-square","shape","polygon"],"k":[55,18],"o":2},"heartpulse":{"a":"Growing Heart","b":"1F497","j":["like","love","affection","valentines","pink"],"k":[25,33],"o":2},"label":{"a":"Label","b":"1F3F7-FE0F","c":"1F3F7","j":["sale","tag"],"k":[11,19],"o":2},"flag-iq":{"a":"Iraq Flag","b":"1F1EE-1F1F6","k":[2,29],"o":2},"hocho":{"a":"Hocho","b":"1F52A","j":["knife","blade","cutlery","kitchen","weapon"],"k":[28,13],"n":["knife"],"o":2},"cactus":{"a":"Cactus","b":"1F335","j":["vegetable","plant","nature"],"k":[6,13],"o":2},"airplane_departure":{"a":"Airplane Departure","b":"1F6EB","k":[36,49],"o":2},"airplane_arriving":{"a":"Airplane Arriving","b":"1F6EC","k":[36,50],"o":2},"ear_of_rice":{"a":"Ear of Rice","b":"1F33E","j":["nature","plant"],"k":[6,22],"o":2},"flag-ir":{"a":"Iran Flag","b":"1F1EE-1F1F7","k":[2,30],"o":2},"moneybag":{"a":"Money Bag","b":"1F4B0","j":["dollar","payment","coins","sale"],"k":[26,6],"o":2},"male-cook":{"a":"Male Cook","b":"1F468-200D-1F373","k":[14,44],"o":4},"heartbeat":{"a":"Beating Heart","b":"1F493","j":["love","like","affection","valentines","pink","heart"],"k":[25,29],"o":2},"sparkle":{"a":"Sparkle","b":"2747-FE0F","c":"2747","j":["stars","green-square","awesome","good","fireworks"],"k":[55,20],"o":2},"amphora":{"a":"Amphora","b":"1F3FA","j":["vase","jar"],"k":[11,22],"o":2},"yen":{"a":"Banknote with Yen Sign","b":"1F4B4","j":["money","sales","japanese","dollar","currency"],"k":[26,10],"o":2},"revolving_hearts":{"a":"Revolving Hearts","b":"1F49E","j":["love","like","affection","valentines"],"k":[25,40],"o":2},"bangbang":{"a":"Double Exclamation Mark","b":"203C-FE0F","c":"203C","j":["exclamation","surprise"],"k":[52,10],"o":2},"parachute":{"a":"Parachute","b":"1FA82","k":[52,3],"o":12},"herb":{"a":"Herb","b":"1F33F","j":["vegetable","plant","medicine","weed","grass","lawn"],"k":[6,23],"o":2},"flag-is":{"a":"Iceland Flag","b":"1F1EE-1F1F8","k":[2,31],"o":2},"female-cook":{"a":"Female Cook","b":"1F469-200D-1F373","k":[17,34],"o":4},"interrobang":{"a":"Exclamation Question Mark","b":"2049-FE0F","c":"2049","j":["wat","punctuation","surprise"],"k":[52,11],"o":2},"seat":{"a":"Seat","b":"1F4BA","j":["sit","airplane","transport","bus","flight","fly"],"k":[26,16],"o":2},"dollar":{"a":"Banknote with Dollar Sign","b":"1F4B5","j":["money","sales","bill","currency"],"k":[26,11],"o":2},"two_hearts":{"a":"Two Hearts","b":"1F495","j":["love","like","affection","valentines","heart"],"k":[25,31],"o":2},"it":{"a":"Italy Flag","b":"1F1EE-1F1F9","j":["italy","flag","nation","country","banner"],"k":[2,32],"n":["flag-it"],"o":2},"shamrock":{"a":"Shamrock","b":"2618-FE0F","c":"2618","j":["vegetable","plant","nature","irish","clover"],"k":[53,1],"o":2},"four_leaf_clover":{"a":"Four Leaf Clover","b":"1F340","j":["vegetable","plant","nature","lucky","irish"],"k":[6,24],"o":2},"euro":{"a":"Banknote with Euro Sign","b":"1F4B6","j":["money","sales","dollar","currency"],"k":[26,12],"o":2},"question":{"a":"Black Question Mark Ornament","b":"2753","j":["doubt","confused"],"k":[55,23],"o":2},"helicopter":{"a":"Helicopter","b":"1F681","j":["transportation","vehicle","fly"],"k":[34,0],"o":2},"heart_decoration":{"a":"Heart Decoration","b":"1F49F","j":["purple-square","love","like"],"k":[25,41],"o":2},"flag-je":{"a":"Jersey Flag","b":"1F1EF-1F1EA","k":[2,33],"o":2},"male-mechanic":{"a":"Male Mechanic","b":"1F468-200D-1F527","k":[15,50],"o":4},"suspension_railway":{"a":"Suspension Railway","b":"1F69F","j":["vehicle","transportation"],"k":[34,30],"o":2},"heavy_heart_exclamation_mark_ornament":{"a":"Heavy Heart Exclamation Mark Ornament","b":"2763-FE0F","c":"2763","k":[55,27],"o":2},"female-mechanic":{"a":"Female Mechanic","b":"1F469-200D-1F527","k":[18,35],"o":4},"flag-jm":{"a":"Jamaica Flag","b":"1F1EF-1F1F2","k":[2,34],"o":2},"grey_question":{"a":"White Question Mark Ornament","b":"2754","j":["doubts","gray","huh","confused"],"k":[55,24],"o":2},"maple_leaf":{"a":"Maple Leaf","b":"1F341","j":["nature","plant","vegetable","ca","fall"],"k":[6,25],"o":2},"pound":{"a":"Banknote with Pound Sign","b":"1F4B7","j":["british","sterling","money","sales","bills","uk","england","currency"],"k":[26,13],"o":2},"money_with_wings":{"a":"Money with Wings","b":"1F4B8","j":["dollar","bills","payment","sale"],"k":[26,14],"o":2},"flag-jo":{"a":"Jordan Flag","b":"1F1EF-1F1F4","k":[2,35],"o":2},"fallen_leaf":{"a":"Fallen Leaf","b":"1F342","j":["nature","plant","vegetable","leaves"],"k":[6,26],"o":2},"broken_heart":{"a":"Broken Heart","b":"1F494","j":["sad","sorry","break","heart","heartbreak"],"k":[25,30],"l":["").concat(g||"","")):u.default.createElement(S.name,(0,a.default)({onClick:function(e){return k(e,t)},onMouseEnter:function(e){return h(e,t)},onMouseLeave:function(e){return j(e,t)},"aria-label":P,title:w,className:y},S.props),u.default.createElement("span",{style:d},g))};y.propTypes=p({},c.EmojiPropTypes,{data:i.default.object.isRequired}),y.defaultProps=f.EmojiDefaultProps,t.default=y},60676:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmojiDefaultProps=t.PickerDefaultProps=void 0;var o={skin:1,set:"apple",sheetSize:64,sheetColumns:57,sheetRows:57,native:!1,forceSize:!1,tooltip:!1,useButton:!0,backgroundImageFn:function(e,t){return"https://unpkg.com/emoji-datasource-".concat(e,"@").concat("5.0.1","/img/").concat(e,"/sheets-256/").concat(t,".png")}};t.EmojiDefaultProps=o;var n={onClick:function(){},onSelect:function(){},onSkinChange:function(){},emojiSize:24,perLine:9,i18n:{},style:{},title:"Emoji Mart™",emoji:"department_store",color:"#ae65c5",set:o.set,theme:"light",skin:null,defaultSkin:o.skin,native:o.native,sheetSize:o.sheetSize,backgroundImageFn:o.backgroundImageFn,emojisToShowFilter:null,showPreview:!0,showSkinTones:!0,emojiTooltip:o.tooltip,useButton:o.useButton,autoFocus:!1,enableFrequentEmojiSort:!1,custom:[],skinEmoji:"",notFound:function(){},notFoundEmoji:"sleuth_or_spy",icons:{}};t.PickerDefaultProps=n},60426:function(e,t,o){"use strict";var n=o(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.PickerPropTypes=t.EmojiPropTypes=void 0;var a=n(o(41448)),r={data:a.default.object.isRequired,onOver:a.default.func,onLeave:a.default.func,onClick:a.default.func,fallback:a.default.func,backgroundImageFn:a.default.func,native:a.default.bool,forceSize:a.default.bool,tooltip:a.default.bool,useButton:a.default.bool,skin:a.default.oneOf([1,2,3,4,5,6]),sheetSize:a.default.oneOf([16,20,32,64]),sheetColumns:a.default.number,sheetRows:a.default.number,set:a.default.oneOf(["apple","google","twitter","facebook"]),size:a.default.number.isRequired,emoji:a.default.oneOfType([a.default.string,a.default.object]).isRequired};t.EmojiPropTypes=r;var u={onClick:a.default.func,onSelect:a.default.func,onSkinChange:a.default.func,perLine:a.default.number,emojiSize:a.default.number,i18n:a.default.object,style:a.default.object,title:a.default.string,emoji:a.default.string,color:a.default.string,set:r.set,skin:r.skin,native:a.default.bool,backgroundImageFn:r.backgroundImageFn,sheetSize:r.sheetSize,emojisToShowFilter:a.default.func,showPreview:a.default.bool,showSkinTones:a.default.bool,emojiTooltip:r.tooltip,useButton:r.useButton,theme:a.default.oneOf(["auto","light","dark"]),include:a.default.arrayOf(a.default.string),exclude:a.default.arrayOf(a.default.string),recent:a.default.arrayOf(a.default.string),autoFocus:a.default.bool,enableFrequentEmojiSort:a.default.bool,custom:a.default.arrayOf(a.default.shape({name:a.default.string.isRequired,short_names:a.default.arrayOf(a.default.string).isRequired,emoticons:a.default.arrayOf(a.default.string),keywords:a.default.arrayOf(a.default.string),imageUrl:a.default.string,spriteUrl:a.default.string,sheet_x:a.default.number,sheet_y:a.default.number,size:a.default.number,sheetColumns:a.default.number,sheetRows:a.default.number})),skinEmoji:a.default.string,notFound:a.default.func,notFoundEmoji:a.default.string,icons:a.default.object};t.PickerPropTypes=u},81949:function(e,t,o){var n=o(54048);e.exports=function(e,t,o){return(t=n(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},95380:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t-1)return l;var u=l.match(a);if(!u)return l;var c=u[0];return n.test(c)?t.Rq:l}},5279:function(e,t,n){"use strict";n.d(t,{xA:function(){return i}});var r=n(87950);function i(e,t,n,i,o){var a,s,l,u;if("unary"==e){let e=(e,n,r)=>t.unary(e,n,r);for(let t of(null!==(a=i.interceptors)&&void 0!==a?a:[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(n,o,i)}if("serverStreaming"==e){let e=(e,n,r)=>t.serverStreaming(e,n,r);for(let t of(null!==(s=i.interceptors)&&void 0!==s?s:[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(n,o,i)}if("clientStreaming"==e){let e=(e,n)=>t.clientStreaming(e,n);for(let t of(null!==(l=i.interceptors)&&void 0!==l?l:[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(n,i)}if("duplex"==e){let e=(e,n)=>t.duplex(e,n);for(let t of(null!==(u=i.interceptors)&&void 0!==u?u:[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(n,i)}(0,r.vE)(e)}},3406:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(14127);class i{constructor(e,t,n){this.typeName=e,this.methods=t.map(e=>{var t,n,i;return e.service=this,e.localName=null!==(t=e.localName)&&void 0!==t?t:(0,r.c)(e.name),e.serverStreaming=!!e.serverStreaming,e.clientStreaming=!!e.clientStreaming,e.options=null!==(n=e.options)&&void 0!==n?n:{},e.idempotency=null!==(i=e.idempotency)&&void 0!==i?i:void 0,e}),this.options=null!=n?n:{}}}},87950:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error(t)}function i(e,t){throw Error(null!=t?t:"Unexpected object: "+e)}function o(e){if("number"!=typeof e)throw Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>2147483647||e<-2147483648)throw Error("invalid int 32: "+e)}function a(e){if("number"!=typeof e)throw Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>4294967295||e<0)throw Error("invalid uint 32: "+e)}function s(e){if("number"!=typeof e)throw Error("invalid float 32: "+typeof e);if(Number.isFinite(e)&&(e>34028234663852886e22||e<-34028234663852886e22))throw Error("invalid float 32: "+e)}n.d(t,{E_:function(){return s},fp:function(){return a},hu:function(){return r},ug:function(){return o},vE:function(){return i}})},35614:function(e,t,n){"use strict";var r,i,o;function a(e,t){return Object.assign(Object.assign({},e),t)}n.d(t,{TA:function(){return a},TD:function(){return i},z:function(){return r}}),function(e){e.symbol=Symbol.for("protobuf-ts/unknown"),e.onRead=(n,r,i,o,a)=>{(t(r)?r[e.symbol]:r[e.symbol]=[]).push({no:i,wireType:o,data:a})},e.onWrite=(t,n,r)=>{for(let{no:t,wireType:i,data:o}of e.list(n))r.tag(t,i).raw(o)},e.list=(n,r)=>{if(t(n)){let t=n[e.symbol];return r?t.filter(e=>e.no==r):t}return[]},e.last=(t,n)=>e.list(t,n).slice(-1)[0];let t=t=>t&&Array.isArray(t[e.symbol])}(r||(r={})),(o=i||(i={}))[o.Varint=0]="Varint",o[o.Bit64=1]="Bit64",o[o.LengthDelimited=2]="LengthDelimited",o[o.StartGroup=3]="StartGroup",o[o.EndGroup=4]="EndGroup",o[o.Bit32=5]="Bit32"},90660:function(e,t,n){"use strict";function r(){let e=0,t=0;for(let n=0;n<28;n+=7){let r=this.buf[this.pos++];if(e|=(127&r)<>4,(128&n)==0)return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(127&r)<>>r,o=!(i>>>7==0&&0==t),a=(o?128|i:i)&255;if(n.push(a),!o)return}let r=e>>>28&15|(7&t)<<4,i=t>>3!=0;if(n.push((i?128|r:r)&255),i){for(let e=3;e<31;e+=7){let r=t>>>e,i=r>>>7!=0,o=(i?128|r:r)&255;if(n.push(o),!i)return}n.push(t>>>31&1)}}function o(e){let t="-"==e[0];t&&(e=e.slice(1));let n=0,r=0;function i(t,i){let o=Number(e.slice(t,i));r*=1e6,(n=1e6*n+o)>=4294967296&&(r+=n/4294967296|0,n%=4294967296)}return i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[t,n,r]}function a(e,t){if(t>>>0<=2097151)return""+(4294967296*t+(e>>>0));let n=(e>>>24|t<<8)>>>0&16777215,r=t>>16&65535,i=(16777215&e)+6777216*n+6710656*r,o=n+8147497*r,a=2*r;function s(e,t){let n=e?String(e):"";return t?"0000000".slice(n.length)+n:n}return i>=1e7&&(o+=Math.floor(i/1e7),i%=1e7),o>=1e7&&(a+=Math.floor(o/1e7),o%=1e7),s(a,0)+s(o,a)+s(i,1)}function s(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}}function l(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0}n.d(t,{IL:function(){return o},_y:function(){return i},fC:function(){return s},gn:function(){return a},jI:function(){return l},sg:function(){return r}})},43696:function(e,t,n){"use strict";n.d(t,{N3:function(){return s},P2:function(){return a},jl:function(){return o}});let r={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},i={ignoreUnknownFields:!1};function o(e){return e?Object.assign(Object.assign({},i),e):i}function a(e){return e?Object.assign(Object.assign({},r),e):r}function s(e,t){var n,r;let i=Object.assign(Object.assign({},e),t);return i.typeRegistry=[...null!==(n=null==e?void 0:e.typeRegistry)&&void 0!==n?n:[],...null!==(r=null==t?void 0:t.typeRegistry)&&void 0!==r?r:[]],i}},32701:function(e,t,n){"use strict";function r(e){let t=typeof e;if("object"==t){if(Array.isArray(e))return"array";if(null===e)return"null"}return t}function i(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}n.d(t,{Z:function(){return r},b:function(){return i}})},14127:function(e,t,n){"use strict";function r(e){let t=!1,n=[];for(let r=0;r!r.includes(e))||!n&&r.some(e=>!i.known.includes(e)))return!1;if(t<1)return!0;for(let r of i.oneofs){let i=e[r];if(!function(e){if("object"!=typeof e||null===e||!e.hasOwnProperty("oneofKind"))return!1;switch(typeof e.oneofKind){case"string":if(void 0===e[e.oneofKind])return!1;return 2==Object.keys(e).length;case"undefined":return 1==Object.keys(e).length;default:return!1}}(i))return!1;if(void 0===i.oneofKind)continue;let o=this.fields.find(e=>e.localName===i.oneofKind);if(!o||!this.field(i[i.oneofKind],o,n,t))return!1}for(let r of this.fields)if(void 0===r.oneof&&!this.field(e[r.localName],r,n,t))return!1;return!0}field(e,t,n,r){let i=t.repeat;switch(t.kind){case"scalar":if(void 0===e)return t.opt;if(i)return this.scalars(e,t.T,r,t.L);return this.scalar(e,t.T,t.L);case"enum":if(void 0===e)return t.opt;if(i)return this.scalars(e,a.INT32,r);return this.scalar(e,a.INT32);case"message":if(void 0===e)break;if(i)return this.messages(e,t.T(),n,r);return this.message(e,t.T(),n,r);case"map":if("object"!=typeof e||null===e)return!1;if(r<2)break;if(!this.mapKeys(e,t.K,r))return!1;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,r,t.V.L);case"enum":return this.scalars(Object.values(e),a.INT32,r);case"message":return this.messages(Object.values(e),t.V.T(),n,r)}}return!0}message(e,t,n,r){return n?t.isAssignable(e,r):t.is(e,r)}messages(e,t,n,r){if(!Array.isArray(e))return!1;if(r<2)return!0;if(n){for(let n=0;nparseInt(e)),t,n);case a.BOOL:return this.scalars(r.slice(0,n).map(e=>"true"==e||"false"!=e&&e),t,n);default:return this.scalars(r,t,n,s.STRING)}}}var h=n(32701);let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),m=[];for(let e=0;e>4,a=o,i=2;break;case 2:n[r++]=(15&a)<<4|(60&o)>>2,a=o,i=3;break;case 3:n[r++]=(3&a)<<6|o,i=0}}if(1==i)throw Error("invalid base64 string.");return n.subarray(0,r)}(e)}}catch(e){i=e.message}this.assert(!1,r+(i?" - "+i:""),e)}}class w{constructor(e){var t;this.fields=null!==(t=e.fields)&&void 0!==t?t:[]}write(e,t){let n={};for(let r of this.fields){if(!r.oneof){let i=this.field(r,e[r.localName],t);void 0!==i&&(n[t.useProtoFieldName?r.name:r.jsonName]=i);continue}let i=e[r.oneof];if(i.oneofKind!==r.localName)continue;let o="scalar"==r.kind||"enum"==r.kind?Object.assign(Object.assign({},t),{emitDefaultValues:!0}):t,a=this.field(r,i[r.localName],o);(0,v.hu)(void 0!==a),n[t.useProtoFieldName?r.name:r.jsonName]=a}return n}field(e,t,n){let r;if("map"==e.kind){(0,v.hu)("object"==typeof t&&null!==t);let i={};switch(e.V.kind){case"scalar":for(let[n,r]of Object.entries(t)){let t=this.scalar(e.V.T,r,e.name,!1,!0);(0,v.hu)(void 0!==t),i[n.toString()]=t}break;case"message":let o=e.V.T();for(let[r,a]of Object.entries(t)){let t=this.message(o,a,e.name,n);(0,v.hu)(void 0!==t),i[r.toString()]=t}break;case"enum":let a=e.V.T();for(let[r,o]of Object.entries(t)){(0,v.hu)(void 0===o||"number"==typeof o);let t=this.enum(a,o,e.name,!1,!0,n.enumAsInteger);(0,v.hu)(void 0!==t),i[r.toString()]=t}}(n.emitDefaultValues||Object.keys(i).length>0)&&(r=i)}else if(e.repeat){(0,v.hu)(Array.isArray(t));let i=[];switch(e.kind){case"scalar":for(let n=0;n0||n.emitDefaultValues)&&(r=i)}else switch(e.kind){case"scalar":r=this.scalar(e.T,t,e.name,e.opt,n.emitDefaultValues);break;case"enum":r=this.enum(e.T(),t,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":r=this.message(e.T(),t,e.name,n)}return r}enum(e,t,n,r,i,o){if("google.protobuf.NullValue"==e[0])return i||r?null:void 0;if(void 0===t){(0,v.hu)(r);return}if(0!==t||i||r)return((0,v.hu)("number"==typeof t),(0,v.hu)(Number.isInteger(t)),o||!e[1].hasOwnProperty(t))?t:e[2]?e[2]+e[1][t]:e[1][t]}message(e,t,n,r){return void 0===t?r.emitDefaultValues?null:void 0:e.internalJsonWrite(t,r)}scalar(e,t,n,r,i){if(void 0===t){(0,v.hu)(r);return}let o=i||r;switch(e){case a.INT32:case a.SFIXED32:case a.SINT32:if(0===t)return o?0:void 0;return(0,v.ug)(t),t;case a.FIXED32:case a.UINT32:if(0===t)return o?0:void 0;return(0,v.fp)(t),t;case a.FLOAT:(0,v.E_)(t);case a.DOUBLE:if(0===t)return o?0:void 0;if((0,v.hu)("number"==typeof t),Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case a.STRING:if(""===t)return o?"":void 0;return(0,v.hu)("string"==typeof t),t;case a.BOOL:if(!1===t)return!o&&void 0;return(0,v.hu)("boolean"==typeof t),t;case a.UINT64:case a.FIXED64:(0,v.hu)("number"==typeof t||"string"==typeof t||"bigint"==typeof t);let s=g.p2.from(t);if(s.isZero()&&!o)return;return s.toString();case a.INT64:case a.SFIXED64:case a.SINT64:(0,v.hu)("number"==typeof t||"string"==typeof t||"bigint"==typeof t);let l=g.MJ.from(t);if(l.isZero()&&!o)return;return l.toString();case a.BYTES:if((0,v.hu)(t instanceof Uint8Array),!t.byteLength)return o?"":void 0;return function(e){let t="",n=0,r,i=0;for(let o=0;o>2],i=(3&r)<<4,n=1;break;case 1:t+=p[i|r>>4],i=(15&r)<<2,n=2;break;case 2:t+=p[i|r>>6]+p[63&r],n=0}return n&&(t+=p[i]+"=",1==n&&(t+="=")),t}(t)}}}var _=n(35614);function x(e,t=s.STRING){switch(e){case a.BOOL:return!1;case a.UINT64:case a.FIXED64:return y(g.p2.ZERO,t);case a.INT64:case a.SFIXED64:case a.SINT64:return y(g.MJ.ZERO,t);case a.DOUBLE:case a.FLOAT:return 0;case a.BYTES:return new Uint8Array(0);case a.STRING:return"";default:return 0}}class D{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let t=null!==(e=this.info.fields)&&void 0!==e?e:[];this.fieldNoToField=new Map(t.map(e=>[e.no,e]))}}read(e,t,n,r){this.prepare();let i=void 0===r?e.len:e.pos+r;for(;e.pose.no-t.no)}}write(e,t,n){for(let r of(this.prepare(),this.fields)){let i,o,s=r.repeat,u=r.localName;if(r.oneof){let t=e[r.oneof];if(t.oneofKind!==u)continue;i=t[u],o=!0}else i=e[u],o=!1;switch(r.kind){case"scalar":case"enum":let c="enum"==r.kind?a.INT32:r.T;if(s){if((0,v.hu)(Array.isArray(i)),s==l.PACKED)this.packed(t,c,r.no,i);else for(let e of i)this.scalar(t,c,r.no,e,!0)}else void 0===i?(0,v.hu)(r.opt):this.scalar(t,c,r.no,i,o||r.opt);break;case"message":if(s)for(let e of((0,v.hu)(Array.isArray(i)),i))this.message(t,n,r.T(),r.no,e);else this.message(t,n,r.T(),r.no,i);break;case"map":for(let[e,o]of((0,v.hu)("object"==typeof i&&null!==i),Object.entries(i)))this.mapEntry(t,n,r,e,o)}}let r=n.writeUnknownFields;!1!==r&&(!0===r?_.z.onWrite:r)(this.info.typeName,e,t)}mapEntry(e,t,n,r,i){e.tag(n.no,_.TD.LengthDelimited),e.fork();let o=r;switch(n.K){case a.INT32:case a.FIXED32:case a.UINT32:case a.SFIXED32:case a.SINT32:o=Number.parseInt(r);break;case a.BOOL:(0,v.hu)("true"==r||"false"==r),o="true"==r}switch(this.scalar(e,n.K,1,o,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,i,!0);break;case"enum":this.scalar(e,a.INT32,2,i,!0);break;case"message":this.message(e,t,n.V.T(),2,i)}e.join()}message(e,t,n,r,i){void 0!==i&&(n.internalBinaryWrite(i,e.tag(r,_.TD.LengthDelimited).fork(),t),e.join())}scalar(e,t,n,r,i){let[o,a,s]=this.scalarInfo(t,r);(!s||i)&&(e.tag(n,o),e[a](r))}packed(e,t,n,r){if(!r.length)return;(0,v.hu)(t!==a.BYTES&&t!==a.STRING),e.tag(n,_.TD.LengthDelimited),e.fork();let[,i]=this.scalarInfo(t);for(let t=0;tnew j};class j{constructor(e){this.stack=[],this.textEncoder=null!=e?e:new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for((0,v.fp)(e);e>127;)this.buf.push(127&e|128),e>>>=7;return this.buf.push(e),this}int32(e){return(0,v.ug)(e),(0,P.fC)(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.textEncoder.encode(e);return this.uint32(t.byteLength),this.raw(t)}float(e){(0,v.E_)(e);let t=new Uint8Array(4);return new DataView(t.buffer).setFloat32(0,e,!0),this.raw(t)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){(0,v.fp)(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){(0,v.ug)(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return(0,v.ug)(e),e=(e<<1^e>>31)>>>0,(0,P.fC)(e,this.buf),this}sfixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=g.MJ.from(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=g.p2.from(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}int64(e){let t=g.MJ.from(e);return(0,P._y)(t.lo,t.hi,this.buf),this}sint64(e){let t=g.MJ.from(e),n=t.hi>>31,r=t.lo<<1^n,i=(t.hi<<1|t.lo>>>31)^n;return(0,P._y)(r,i,this.buf),this}uint64(e){let t=g.p2.from(e);return(0,P._y)(t.lo,t.hi,this.buf),this}}let L={readUnknownField:!0,readerFactory:e=>new F(e)};class F{constructor(e,t){this.varint64=P.sg,this.uint32=P.jI,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=null!=t?t:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),t=e>>>3,n=7&e;if(t<=0||n<0||n>5)throw Error("illegal tag: field no "+t+" wire type "+n);return[t,n]}skip(e){let t=this.pos;switch(e){case _.TD.Varint:for(;128&this.buf[this.pos++];);break;case _.TD.Bit64:this.pos+=4;case _.TD.Bit32:this.pos+=4;break;case _.TD.LengthDelimited:let n=this.uint32();this.pos+=n;break;case _.TD.StartGroup:let r;for(;(r=this.tag()[1])!==_.TD.EndGroup;)this.skip(r);break;default:throw Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let e=this.uint32();return e>>>1^-(1&e)}int64(){return new g.MJ(...this.varint64())}uint64(){return new g.p2(...this.varint64())}sint64(){let[e,t]=this.varint64(),n=-(1&e);return e=(e>>>1|(1&t)<<31)^n,t=t>>>1^n,new g.MJ(e,t)}bool(){let[e,t]=this.varint64();return 0!==e||0!==t}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new g.p2(this.sfixed32(),this.sfixed32())}sfixed64(){return new g.MJ(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}let A=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));class N{constructor(e,t,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=t.map(d),this.options=null!=n?n:{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},A),{[u.C]:{value:this}})),this.refTypeCheck=new f(this),this.refJsonReader=new b(this),this.refJsonWriter=new w(this),this.refBinReader=new D(this),this.refBinWriter=new E(this)}create(e){let t=function(e){let t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},u.C,{value:e});for(let n of e.fields){let e=n.localName;if(!n.opt){if(n.oneof)t[n.oneof]={oneofKind:void 0};else if(n.repeat)t[e]=[];else switch(n.kind){case"scalar":t[e]=x(n.T,n.L);break;case"enum":t[e]=0;break;case"map":t[e]={}}}}return t}(this);return void 0!==e&&(0,C.l)(this,t,e),t}clone(e){let t=this.create();return(0,C.l)(this,t,e),t}equals(e,t){return function(e,t,n){if(t===n)return!0;if(!t||!n)return!1;for(let r of e.fields){let e=r.localName,i=r.oneof?t[r.oneof][e]:t[e],o=r.oneof?n[r.oneof][e]:n[e];switch(r.kind){case"enum":case"scalar":let s="enum"==r.kind?a.INT32:r.T;if(!(r.repeat?M(s,i,o):T(s,i,o)))return!1;break;case"map":if(!("message"==r.V.kind?O(r.V.T(),S(i),S(o)):M("enum"==r.V.kind?a.INT32:r.V.T,S(i),S(o))))return!1;break;case"message":let l=r.T();if(!(r.repeat?O(l,i,o):l.equals(i,o)))return!1}}return!0}(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!1)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!0)}mergePartial(e,t){(0,C.l)(this,e,t)}fromBinary(e,t){let n=t?Object.assign(Object.assign({},L),t):L;return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,t){return this.internalJsonRead(e,(0,k.jl)(t))}fromJsonString(e,t){let n=JSON.parse(e);return this.fromJson(n,t)}toJson(e,t){return this.internalJsonWrite(e,(0,k.P2)(t))}toJsonString(e,t){var n;return JSON.stringify(this.toJson(e,t),null,null!==(n=null==t?void 0:t.prettySpaces)&&void 0!==n?n:0)}toBinary(e,t){let n=t?Object.assign(Object.assign({},R),t):R;return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,t,n){if(null!==e&&"object"==typeof e&&!Array.isArray(e)){let r=null!=n?n:this.create();return this.refJsonReader.read(e,r,t),r}throw Error(`Unable to parse message ${this.typeName} from JSON ${(0,h.Z)(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,n){return this.refBinWriter.write(e,t,n),t}internalBinaryRead(e,t,n,r){let i=null!=r?r:this.create();return this.refBinReader.read(e,i,n,t),i}}},94863:function(e,t,n){"use strict";let r;n.d(t,{MJ:function(){return u},p2:function(){return l}});var i=n(90660);function o(e){if(!e)throw Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}!function(){let e=new DataView(new ArrayBuffer(8));r=void 0!==globalThis.BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:void 0}();let a=/^-?[0-9]+$/;class s{constructor(e,t){this.lo=0|e,this.hi=0|t}isZero(){return 0==this.lo&&0==this.hi}toNumber(){let e=4294967296*this.hi+(this.lo>>>0);if(!Number.isSafeInteger(e))throw Error("cannot convert to safe number");return e}}class l extends s{static from(e){if(r)switch(typeof e){case"string":if("0"==e)return this.ZERO;if(""==e)throw Error("string is no integer");e=r.C(e);case"number":if(0===e)return this.ZERO;e=r.C(e);case"bigint":if(!e)return this.ZERO;if(er.UMAX)throw Error("ulong too large");return r.V.setBigUint64(0,e,!0),new l(r.V.getInt32(0,!0),r.V.getInt32(4,!0))}else switch(typeof e){case"string":if("0"==e)return this.ZERO;if(e=e.trim(),!a.test(e))throw Error("string is no integer");let[t,n,o]=(0,i.IL)(e);if(t)throw Error("signed value for ulong");return new l(n,o);case"number":if(0==e)return this.ZERO;if(!Number.isSafeInteger(e))throw Error("number is no integer");if(e<0)throw Error("signed value for ulong");return new l(e,e/4294967296)}throw Error("unknown value "+typeof e)}toString(){return r?this.toBigInt().toString():(0,i.gn)(this.lo,this.hi)}toBigInt(){return o(r),r.V.setInt32(0,this.lo,!0),r.V.setInt32(4,this.hi,!0),r.V.getBigUint64(0,!0)}}l.ZERO=new l(0,0);class u extends s{static from(e){if(r)switch(typeof e){case"string":if("0"==e)return this.ZERO;if(""==e)throw Error("string is no integer");e=r.C(e);case"number":if(0===e)return this.ZERO;e=r.C(e);case"bigint":if(!e)return this.ZERO;if(er.MAX)throw Error("signed long too large");return r.V.setBigInt64(0,e,!0),new u(r.V.getInt32(0,!0),r.V.getInt32(4,!0))}else switch(typeof e){case"string":if("0"==e)return this.ZERO;if(e=e.trim(),!a.test(e))throw Error("string is no integer");let[t,n,o]=(0,i.IL)(e);if(t){if(o>2147483648||2147483648==o&&0!=n)throw Error("signed long too small")}else if(o>=2147483648)throw Error("signed long too large");let s=new u(n,o);return t?s.negate():s;case"number":if(0==e)return this.ZERO;if(!Number.isSafeInteger(e))throw Error("number is no integer");return e>0?new u(e,e/4294967296):new u(-e,-e/4294967296).negate()}throw Error("unknown value "+typeof e)}isNegative(){return(2147483648&this.hi)!=0}negate(){let e=~this.hi,t=this.lo;return t?t=~t+1:e+=1,new u(t,e)}toString(){if(r)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+(0,i.gn)(e.lo,e.hi)}return(0,i.gn)(this.lo,this.hi)}toBigInt(){return o(r),r.V.setInt32(0,this.lo,!0),r.V.setInt32(4,this.hi,!0),r.V.getBigInt64(0,!0)}}u.ZERO=new u(0,0)},85424:function(e,t,n){"use strict";function r(e,t,n){let r,i;for(let o of e.fields){let e=o.localName;if(o.oneof){let a=n[o.oneof];if((null==a?void 0:a.oneofKind)==void 0)continue;if(r=a[e],(i=t[o.oneof]).oneofKind=a.oneofKind,void 0==r){delete i[e];continue}}else if(r=n[e],i=t,void 0==r)continue;switch(o.repeat&&(i[e].length=r.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let t=0;t{this._resolve=e,this._reject=t}),e&&this._promise.catch(e=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==a.PENDING)throw Error(`cannot resolve ${a[this.state].toLowerCase()}`);this._resolve(e),this._state=a.RESOLVED}reject(e){if(this.state!==a.PENDING)throw Error(`cannot reject ${a[this.state].toLowerCase()}`);this._reject(e),this._state=a.REJECTED}resolvePending(e){this._state===a.PENDING&&this.resolve(e)}rejectPending(e){this._state===a.PENDING&&this.reject(e)}}class h{constructor(e,t,n,r,i,o,a){this.method=e,this.requestHeaders=t,this.request=n,this.headers=r,this.response=i,this.status=o,this.trailers=a}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){let[e,t,n,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:n,trailers:r}},new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}}var p=n(14127);class m{constructor(e){this.defaultOptions=e}mergeOptions(e){return function(e,t){if(!t)return e;let n={};for(let r of(d(e,n),d(t,n),Object.keys(t))){let i=t[r];switch(r){case"jsonOptions":n.jsonOptions=(0,u.N3)(e.jsonOptions,n.jsonOptions);break;case"binaryOptions":n.binaryOptions=(0,c.TA)(e.binaryOptions,n.binaryOptions);break;case"meta":n.meta={},d(e.meta,n.meta),d(t.meta,n.meta);break;case"interceptors":n.interceptors=e.interceptors?e.interceptors.concat(i):i.concat()}}return n}(this.defaultOptions,e)}unary(e,t,n){var r,i,a;let u=this.makeUrl(e,n),c=null!==(r=n.fetchInit)&&void 0!==r?r:{},d=n.sendJson?e.I.toJsonString(t,n.jsonOptions):e.I.toBinary(t,n.binaryOptions),p=new f,m=new f,g=new f,v=new f;return globalThis.fetch(u,Object.assign(Object.assign({},c),{method:"POST",headers:function(e,t,n){if(n)for(let[t,r]of Object.entries(n))if("string"==typeof r)e.append(t,r);else for(let n of r)e.append(t,n);return e.set("Content-Type",t?"application/json":"application/protobuf"),e.set("Accept",t?"application/json":"application/protobuf, application/json"),e}(new globalThis.Headers,!!n.sendJson,n.meta),body:d,signal:null!==(i=n.abort)&&void 0!==i?i:null})).then(t=>{var r;let i,a;p.resolve((r=t.headers,a={},r.forEach((e,t)=>{"content-type"!==t.toLowerCase()&&"content-length"!==t.toLowerCase()&&(a.hasOwnProperty(t)?a[t].push(e):a[t]=e)}),a));try{i=t.type}catch(e){}switch(i){case"error":case"opaque":case"opaqueredirect":throw new l(`fetch response type ${t.type}`,o[o.unknown])}return t.ok?n.sendJson?t.json().then(t=>e.O.fromJson(t,n.jsonOptions),()=>{throw new l("unable to read response body as json",o[o.dataloss])}):t.arrayBuffer().then(t=>e.O.fromBinary(new Uint8Array(t),n.binaryOptions),()=>{throw new l("unable to read response body",o[o.dataloss])}):t.json().then(e=>{throw function(e){if(!(0,s.b)(e)||"string"!=typeof e.code||"string"!=typeof e.msg)return new l("cannot read twirp error response",o[o.internal]);let t={};if((0,s.b)(e.meta))for(let[n,r]of Object.entries(e.meta))"string"==typeof r&&(t[n]=r);return new l(e.msg,e.code,t)}(e)},()=>{throw new l("received HTTP "+t.status+", unable to read response body as json",o[o.internal])})},e=>{if(e instanceof Error&&"AbortError"===e.name)throw new l(e.message,o[o.cancelled]);throw new l(e instanceof Error?e.message:e)}).then(e=>{m.resolve(e),g.resolve({code:"OK",detail:""}),v.resolve({})}).catch(t=>{let n=t instanceof l?t:new l(t instanceof Error?t.message:t,o[o.internal]);n.methodName=e.name,n.serviceName=e.service.typeName,p.rejectPending(n),m.rejectPending(n),g.rejectPending(n),v.rejectPending(n)}),new h(e,null!==(a=n.meta)&&void 0!==a?a:{},t,p.promise,m.promise,g.promise,v.promise)}makeUrl(e,t){let n=t.baseUrl;n.endsWith("/")&&(n=n.substring(0,n.length-1));let r=e.name;return!0!==t.useProtoMethodName&&(r=(r=(0,p.c)(r)).substring(0,1).toUpperCase()+r.substring(1)),`${n}/${e.service.typeName}/${r}`}clientStreaming(e){let t=new l("Client streaming is not supported by Twirp",o[o.unimplemented]);throw t.methodName=e.name,t.serviceName=e.service.typeName,t}duplex(e){let t=new l("Duplex streaming is not supported by Twirp",o[o.unimplemented]);throw t.methodName=e.name,t.serviceName=e.service.typeName,t}serverStreaming(e){let t=new l("Server streaming is not supported by Twirp",o[o.unimplemented]);throw t.methodName=e.name,t.serviceName=e.service.typeName,t}}},94946:function(e,t,n){"use strict";let r,i,o,a;n.d(t,{Uq0:function(){return y.Uq},qOo:function(){return pI},ZXw:function(){return mp},KkN:function(){return pK},vNM:function(){return pz},FvN:function(){return pA},N_D:function(){return ms},c3T:function(){return p0},hbc:function(){return mu},GRk:function(){return y.GR},$GM:function(){return p$},fm4:function(){return pY},W7t:function(){return ec},dvl:function(){return eO},G1:function(){return eT},b12:function(){return e_}});var s,l,u,c,d,f,h,p,m,g,v,y=n(26347),b=n(57437),w=n(2265),_=n.t(w,2);let x={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class D{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||x,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),n=0;n{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{let[t,r]=e;for(let e=0;e{let[r,i]=t;for(let t=0;t{e=n,t=r});return n.resolve=e,n.reject=t,n}function S(e){return null==e?"":""+e}let T=/###/g;function M(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(T,"."):e}function i(){return!e||"string"==typeof e}let o="string"!=typeof t?t:t.split("."),a=0;for(;a":">",'"':""","'":"'","/":"/"};function L(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>j[e]):e}class F{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let A=[" ",",","?","!",";"],N=new F(20);function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let r=t.split(n),i=e;for(let e=0;e-1&&a0?e.replace("_","-"):e}class U extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],n&&(Array.isArray(n)?r.push(...n):"string"==typeof n&&o?r.push(...n.split(o)):r.push(n)));let s=P(this.data,r);return(!s&&!t&&!n&&e.indexOf(".")>-1&&(e=r[0],t=r[1],n=r.slice(2).join(".")),s||!a||"string"!=typeof n)?s:I(this.data&&this.data[e]&&this.data[e][t],n,o)}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),O(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let r in n)("string"==typeof n[r]||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=P(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?function e(t,n,r){for(let i in n)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(t[i]=n[i]):e(t[i],n[i],r):t[i]=n[i]);return t}(s,n,i):s={...s,...n},O(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var z={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))}),t}};let H={};class V extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,n){e.forEach(e=>{t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=E.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";let r=A.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let i=N.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o}(e,n,r);if(o&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};let o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){let e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}let c=this.resolve(e,t),d=c&&c.res,f=c&&c.usedKey||o,h=c&&c.exactUsedKey||o,p=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,v="string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d;if(g&&d&&v&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(p)&&!("string"==typeof m&&Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(c.res=e,c.usedParams=this.getUsedParamsDetails(t),c):e}if(i){let e=Array.isArray(d),n=e?[]:{},r=e?h:f;for(let e in d)if(Object.prototype.hasOwnProperty.call(d,e)){let o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}else if(g&&"string"==typeof m&&Array.isArray(d))(d=d.join(m))&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1,u=void 0!==t.count&&"string"!=typeof t.count,f=V.hasDefaultValue(t),h=u?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&u?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=u&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${h}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=g),this.isValidLookup(d)||(a=!0,d=o);let v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,y=f&&g!==d&&this.options.updateMissing;if(a||r||y){if(this.logger.log(y?"updateKey":"missingKey",l,s,o,y?g:d),i){let e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t{let i=f&&r!==d?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,y,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{let n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{r([e],o+n,t[`defaultValue${n}`]||g)})}):r(e,o,g))}d=this.extendTranslation(d,e,t,c,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(c.res=d,c.usedParams=this.getUsedParamsDetails(t),c):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let a;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let s=this.extractFromKey(e,a),l=s.key;n=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==a.count&&"string"!=typeof a.count,d=c&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,h=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);u.forEach(e=>{this.isValidLookup(t)||(o=e,!H[`${h[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(H[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(n=>{let o;if(this.isValidLookup(t))return;i=n;let s=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,a);else{let e;c&&(e=this.pluralResolver.getSuffix(n,a.count,a));let t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(s.push(l+e),a.ordinal&&0===e.indexOf(r)&&s.push(l+e.replace(r,this.options.pluralSeparator)),d&&s.push(l+t)),f){let n=`${l}${this.options.contextSeparator}${a.context}`;s.push(n),c&&(s.push(n+e),a.ordinal&&0===e.indexOf(r)&&s.push(n+e.replace(r,this.options.pluralSeparator)),d&&s.push(n+t))}}for(;o=s.pop();)this.isValidLookup(t)||(r=o,t=this.getResource(n,e,o,a))}))})}),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&"string"!=typeof e.replace,n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!t)for(let e of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}function q(e){return e.charAt(0).toUpperCase()+e.slice(1)}class W{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=E.create("languageUtils")}getScriptPartFromCode(e){if(!(e=B(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=B(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=q(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=q(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=q(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach(e=>{0>r.indexOf(e)&&i(this.formatLanguageCode(e))}),r}}let $=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Y={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},Z=["v1","v2","v3"],G=["v4"],J={zero:0,one:1,two:2,few:3,many:4,other:5};class K{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=E.create("pluralResolver"),(!this.options.compatibilityJSON||G.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){let e={};return $.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Y[t.fc]}})}),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(B("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>J[e]-J[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));let i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Z.includes(this.options.compatibilityJSON)}}function X(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=function(e,t,n){let r=P(e,n);return void 0!==r?r:P(t,n)}(e,t,n);return!o&&i&&"string"==typeof n&&void 0===(o=I(e,n,r))&&(o=I(t,n,r)),o}class Q{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=E.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:h,nestingSuffixEscaped:p,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:L,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?R(i):o||"{{",this.suffix=a?R(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?R(d):f||R("$t("),this.nestingSuffix=h?R(h):p||R(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;let s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}let u=e=>{if(0>e.indexOf(this.formatSeparator)){let i=X(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(X(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();let c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>l(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?l(this.escape(e)):l(e)}].forEach(t=>{for(a=0;i=t.regex.exec(e);){let n=i[1].trim();if(void 0===(o=u(n))){if("function"==typeof c){let t=c(e,i,r);o="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else if(d){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=S(o));let s=t.safeValue(o);if(e=e.replace(i[0],s),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n}[ ]*{`)),o=`{${r[1]}`;e=r[0];let a=(o=this.interpolate(o,i)).match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let s=[];(i=(i={...o}).replace&&"string"!=typeof i.replace?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),s=e,l=!0}if((r=t(a.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=S(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function ee(e){let t={};return function(n,r,i){let o=r+JSON.stringify(i),a=t[o];return a||(a=e(B(r),i),t[o]=a),a(n)}}class et{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=E.create("formatter"),this.options=e,this.formats={number:ee((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:ee((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:ee((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:ee((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:ee((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ee(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((e,t)=>{let{formatName:i,formatOptions:o}=function(e){let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}}(t);if(this.formats[i]){let t=e;try{let a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class en extends C{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=E.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let i={},o={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;let a={};this.queue.forEach(n=>{(function(e,t,n,r){let{obj:i,k:o}=M(e,t,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});return}this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&r{this.read.call(this,e,t,n,r+1,2*i,o)},i);return}o(a,s)},s=this.backend[n].bind(this.backend);if(2===s.length){try{let n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function er(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ei(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function eo(){}class ea extends C{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ei(e),this.services={},this.logger=E,this.modules={external:[]},!function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let r=er();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...r,...this.options,...ei(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?E.init(i(this.modules.logger),this.options):E.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=et);let n=new W(this.options);this.store=new U(this.options.resources,this.options);let o=this.services;o.logger=E,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new K(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new Q(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new en(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=eo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let o=k(),a=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=t,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=k();return e||(e=this.languages),t||(t=this.options.ns),n||(n=eo),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&z.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let r=k();this.emit("languageChanging",e);let i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{o(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;let i=function(e,t){let o,a;if("object"!=typeof t){for(var s=arguments.length,l=Array(s>2?s-2:0),u=2;u`${o.keyPrefix}${c}${e}`):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(a,o)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let o=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||2===n};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(n,e)&&(!r||o(i,e)))}loadNamespaces(e,t){let n=k();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=k();"string"==typeof e&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>0>r.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new W(er())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ea(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},i=new ea(r);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new U(this.store.data,r),i.services.resourceStore=i.store),i.translator=new V(i.services,r),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{let{call:t,children:n}=e;return(0,b.jsx)(el.Provider,{value:t,children:n})},ec=()=>(0,w.useContext)(el),ed="stream-video",ef=Object.entries({}).reduce((e,[t,n])=>(e[t]={[ed]:n},e),{}),eh=e=>e;class ep{constructor(e={}){this.t=eh,this.init=async()=>{try{this.t=await this.i18nInstance.init()}catch(e){console.error(`Failed to initialize translations: ${JSON.stringify(e)}`)}return this},this.changeLanguage=async(e,t)=>{if(!this._checkIsInitialized())return;let n="undefined"!=typeof window&&window.navigator?window.navigator.language:void 0;await this.i18nInstance.changeLanguage(e||n),t?.(this.currentLanguage)},this.registerTranslationsForLanguage=({lng:e,translations:t})=>{this._checkIsInitialized()&&this.i18nInstance.addResourceBundle(e,ed,t,!0,!0)},this._checkIsInitialized=()=>(this.i18nInstance.isInitialized||console.warn("I18n instance is not initialized. Call yourStreamI18nInstance.init()."),this.i18nInstance.isInitialized);let{debug:t=!1,currentLanguage:n="en",translationsOverrides:r}=e;this.i18nInstance=es.createInstance({debug:t,defaultNS:ed,fallbackLng:!1,interpolation:{escapeValue:!1},keySeparator:!1,lng:n,nsSeparator:!1,parseMissingKeyHandler:e=>e,resources:ef}),r&&this.i18nInstance.on("initialized",()=>{Object.entries(r).forEach(([e,t])=>{this.registerTranslationsForLanguage({lng:e,translations:t})})})}get currentLanguage(){return this._checkIsInitialized(),this.i18nInstance.language}get isInitialized(){return this.i18nInstance.isInitialized}}let em=(0,w.createContext)({t:eh}),eg=({children:e,...t})=>{let{i18n:n,t:r}=ev(t);return(0,b.jsx)(em.Provider,{value:{t:r,i18n:n},children:e})},ev=({i18nInstance:e,language:t,translationsOverrides:n})=>{let[r]=(0,w.useState)(()=>e||new ep({currentLanguage:t,translationsOverrides:n})),[i,o]=(0,w.useState)(()=>eh);return(0,w.useEffect)(()=>{let{isInitialized:e}=r;if(!e){r.init().then(e=>o(()=>e.i18nInstance.t));return}t&&r?.currentLanguage!==t&&r.changeLanguage(t).catch(e=>{console.log("Error while changing language",e)})},[r,e,t,n]),{i18n:r,t:i}},ey=()=>(0,w.useContext)(em),eb=(0,w.createContext)(void 0),ew=({children:e,client:t,i18nInstance:n,language:r,translationsOverrides:i})=>(0,b.jsx)(eb.Provider,{value:t,children:(0,b.jsx)(eg,{i18nInstance:n,language:r,translationsOverrides:i,children:e})}),e_=()=>(0,w.useContext)(eb),ex=e=>{let[t,n]=(0,w.useState)(()=>y.VJ.getCurrentValue(e));return(0,w.useEffect)(()=>{let t=e.subscribe(n);return()=>{t.unsubscribe()}},[e]),t},eD=()=>{let e=ec();return e?e.state:(console.warn('You are using useCallState() outside a Call context. Please wrap your component in and provide a "call" instance.'),new y.OX)};var eE=Object.freeze({__proto__:null,useAnonymousParticipantCount:()=>{let{anonymousParticipantCount$:e}=eD();return ex(e)},useCallBlockedUserIds:()=>{let{blockedUserIds$:e}=eD();return ex(e)},useCallCallingState:()=>{let{callingState$:e}=eD();return ex(e)},useCallCreatedAt:()=>{let{createdAt$:e}=eD();return ex(e)},useCallCreatedBy:()=>{let{createdBy$:e}=eD();return ex(e)},useCallCustomData:()=>{let{custom$:e}=eD();return ex(e)},useCallEgress:()=>{let{egress$:e}=eD();return ex(e)},useCallEndedAt:()=>{let{endedAt$:e}=eD();return ex(e)},useCallEndedBy:()=>{let{endedBy$:e}=eD();return ex(e)},useCallIngress:()=>{let{ingress$:e}=eD();return ex(e)},useCallMembers:()=>{let{members$:e}=eD();return ex(e)},useCallSession:()=>{let{session$:e}=eD();return ex(e)},useCallSettings:()=>{let{settings$:e}=eD();return ex(e)},useCallStartedAt:()=>{let{startedAt$:e}=eD();return ex(e)},useCallStartsAt:()=>{let{startsAt$:e}=eD();return ex(e)},useCallState:eD,useCallStatsReport:()=>{let{callStatsReport$:e}=eD();return ex(e)},useCallThumbnail:()=>{let{thumbnails$:e}=eD();return ex(e)},useCallUpdatedAt:()=>{let{updatedAt$:e}=eD();return ex(e)},useCameraState:()=>{let{camera:e}=ec();return{status:ex(e.state.status$),direction:ex(e.state.direction$)}},useDominantSpeaker:()=>{let{dominantSpeaker$:e}=eD();return ex(e)},useHasOngoingScreenShare:()=>{let{hasOngoingScreenShare$:e}=eD();return ex(e)},useIsCallBroadcastingInProgress:()=>{let{egress$:e}=eD(),t=ex(e);return!!t&&t.broadcasting},useIsCallLive:()=>{let{backstage$:e}=eD();return!ex(e)},useIsCallRecordingInProgress:()=>{let{recording$:e}=eD();return ex(e)},useIsCallTranscribingInProgress:()=>{let{transcribing$:e}=eD();return ex(e)},useLocalParticipant:()=>{let{localParticipant$:e}=eD();return ex(e)},useMicrophoneState:()=>{let{microphone:e}=ec();return{status:ex(e.state.status$),selectedDevice:ex(e.state.selectedDevice$)}},useParticipantCount:()=>{let{participantCount$:e}=eD();return ex(e)},useParticipants:({sortBy:e}={})=>{let{participants$:t}=eD(),n=ex(t);return(0,w.useMemo)(()=>e?[...n].sort(e):n,[n,e])},useRemoteParticipants:()=>{let{remoteParticipants$:e}=eD();return ex(e)},useScreenShareState:()=>{let{screenShare:e}=ec();return{status:ex(e.state.status$)}}});let eC=(...e)=>{let t=ek();return e.every(e=>t?.includes(e))},ek=()=>{let{ownCapabilities$:e}=eD();return ex(e)},eS=()=>{let e=e_();if(!e)throw Error("StreamVideoClient isn't initialized or this hook is called outside of context.");return e.readOnlyStateStore},eT=()=>{let{calls$:e}=eS();return ex(e)},eM=()=>{let{connectedUser$:e}=eS();return ex(e)},eO=()=>eE,eP=({canRequestOnly:e,hasPermissionsOnly:t,requiredGrants:n,requireAll:r=!0,children:i})=>{let o=ec(),a=ek(),s=n[r?"every":"some"](e=>a?.includes(e));if(t)return s?(0,b.jsx)(b.Fragment,{children:i}):null;let l=n.some(e=>!!o&&o.permissionsContext.canRequest(e));return e?l?(0,b.jsx)(b.Fragment,{children:i}):null:s||l?(0,b.jsx)(b.Fragment,{children:i}):null};var eR=n(44839),ej=n(65690);let eL=Math.min,eF=Math.max,eA=Math.round,eN=Math.floor,eI=e=>({x:e,y:e}),eB={left:"right",right:"left",bottom:"top",top:"bottom"},eU={start:"end",end:"start"};function ez(e,t){return"function"==typeof e?e(t):e}function eH(e){return e.split("-")[0]}function eV(e){return e.split("-")[1]}function eq(e){return"x"===e?"y":"x"}function eW(e){return"y"===e?"height":"width"}function e$(e){return["top","bottom"].includes(eH(e))?"y":"x"}function eY(e){return e.replace(/start|end/g,e=>eU[e])}function eZ(e){return e.replace(/left|right|bottom|top/g,e=>eB[e])}function eG(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function eJ(e,t,n){let r,{reference:i,floating:o}=e,a=e$(t),s=eq(e$(t)),l=eW(s),u=eH(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(eV(t)){case"start":r[s]-=h*(n&&c?-1:1);break;case"end":r[s]+=h*(n&&c?-1:1)}return r}let eK=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=eJ(u,r,l),f=r,h={},p=0;for(let n=0;n{try{return e.matches(t)}catch(e){return!1}})}function e9(e){let t=te(),n=tn(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function te(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function tt(e){return["html","body","#document"].includes(e0(e))}function tn(e){return e1(e).getComputedStyle(e)}function tr(e){return e4(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ti(e){if("html"===e0(e))return e;let t=e.assignedSlot||e.parentNode||e5(e)&&e.host||e2(e);return e5(t)?t.host:t}function to(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=ti(t);return tt(n)?t.ownerDocument?t.ownerDocument.body:t.body:e6(n)&&e8(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=e1(i);return o?t.concat(a,a.visualViewport||[],e8(i)?i:[],a.frameElement&&n?to(a.frameElement):[]):t.concat(i,to(i,[],n))}function ta(e){let t=tn(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=e6(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=eA(n)!==o||eA(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function ts(e){return e4(e)?e:e.contextElement}function tl(e){let t=ts(e);if(!e6(t))return eI(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ta(t),a=(o?eA(n.width):n.width)/r,s=(o?eA(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let tu=eI(0);function tc(e){let t=e1(e);return te()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:tu}function td(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=ts(e),s=eI(1);t&&(r?e4(r)&&(s=tl(r)):s=tl(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===e1(a))&&i)?tc(a):eI(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){let e=e1(a),t=r&&e4(r)?e1(r):r,n=e,i=n.frameElement;for(;i&&r&&t!==n;){let e=tl(i),t=i.getBoundingClientRect(),r=tn(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=o,c+=a,i=(n=e1(i)).frameElement}}return eG({width:d,height:f,x:u,y:c})}function tf(e){return td(e2(e)).left+tr(e).scrollLeft}function th(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=e1(e),r=e2(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=te();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=e2(e),n=tr(e),r=e.ownerDocument.body,i=eF(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=eF(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+tf(e),s=-n.scrollTop;return"rtl"===tn(r).direction&&(a+=eF(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(e2(e));else if(e4(t))r=function(e,t){let n=td(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=e6(e)?tl(e):eI(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=tc(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return eG(r)}function tp(e){return"static"===tn(e).position}function tm(e,t){return e6(e)&&"fixed"!==tn(e).position?t?t(e):e.offsetParent:null}function tg(e,t){let n=e1(e);if(e7(e))return n;if(!e6(e)){let t=ti(e);for(;t&&!tt(t);){if(e4(t)&&!tp(t))return t;t=ti(t)}return n}let r=tm(e,t);for(;r&&["table","td","th"].includes(e0(r))&&tp(r);)r=tm(r,t);return r&&tt(r)&&tp(r)&&!e9(r)?n:r||function(e){let t=ti(e);for(;e6(t)&&!tt(t)&&!e7(t);){if(e9(t))return t;t=ti(t)}return null}(e)||n}let tv=async function(e){let t=this.getOffsetParent||tg,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=e6(t),i=e2(t),o="fixed"===n,a=td(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=eI(0);if(r||!r&&!o){if(("body"!==e0(t)||e8(i))&&(s=tr(t)),r){let e=td(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=tf(i))}return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ty={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=e2(r),s=!!t&&e7(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=eI(1),c=eI(0),d=e6(r);if((d||!d&&!o)&&(("body"!==e0(r)||e8(a))&&(l=tr(r)),e6(r))){let e=td(r);u=tl(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}},getDocumentElement:e2,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?e7(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=to(e,[],!1).filter(e=>e4(e)&&"body"!==e0(e)),i=null,o="fixed"===tn(e).position,a=o?ti(e):e;for(;e4(a)&&!tt(a);){let t=tn(a),n=e9(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||e8(a)&&!n&&function e(t,n){let r=ti(t);return!(r===n||!e4(r)||tt(r))&&("fixed"===tn(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=ti(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce((e,n)=>{let r=th(t,n,i);return e.top=eF(r.top,e.top),e.right=eL(r.right,e.right),e.bottom=eL(r.bottom,e.bottom),e.left=eF(r.left,e.left),e},th(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tg,getElementRects:tv,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ta(e);return{width:t,height:n}},getScale:tl,isElement:e4,isRTL:function(e){return"rtl"===tn(e).direction}},tb=(e,t,n)=>{let r=new Map,i={platform:ty,...n},o={...i.platform,_c:r};return eK(e,t,{...i,platform:o})};var tw=n(54887),t_="undefined"!=typeof document?w.useLayoutEffect:w.useEffect;function tx(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!tx(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!tx(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function tD(e){let t=w.useRef(e);return t_(()=>{t.current=e}),t}var tE="undefined"!=typeof document?w.useLayoutEffect:w.useEffect;let tC=!1,tk=0,tS=()=>"floating-ui-"+tk++,tT=_["useId".toString()]||function(){let[e,t]=w.useState(()=>tC?tS():void 0);return tE(()=>{null==e&&t(tS())},[]),w.useEffect(()=>{tC||(tC=!0)},[]),e},tM=w.createContext(null),tO=()=>w.useContext(tM);function tP(e){return!!e&&e instanceof(((null==e?void 0:e.ownerDocument)||document).defaultView||window).Element}let tR=_["useInsertionEffect".toString()]||(e=>e());var tj=n(41448),tL=n.n(tj);let tF=tK(),tA=e=>tY(e,tF),tN=tK();tA.write=e=>tY(e,tN);let tI=tK();tA.onStart=e=>tY(e,tI);let tB=tK();tA.onFrame=e=>tY(e,tB);let tU=tK();tA.onFinish=e=>tY(e,tU);let tz=[];tA.setTimeout=(e,t)=>{let n=tA.now()+t,r=()=>{let e=tz.findIndex(e=>e.cancel==r);~e&&tz.splice(e,1),tW-=~e?1:0},i={time:n,handler:e,cancel:r};return tz.splice(tH(n),0,i),tW+=1,tZ(),i};let tH=e=>~(~tz.findIndex(t=>t.time>e)||~tz.length);tA.cancel=e=>{tI.delete(e),tB.delete(e),tF.delete(e),tN.delete(e),tU.delete(e)},tA.sync=e=>{t$=!0,tA.batchedUpdates(e),t$=!1},tA.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,tA.onStart(n)}return r.handler=e,r.cancel=()=>{tI.delete(n),t=null},r};let tV="undefined"!=typeof window?window.requestAnimationFrame:()=>{};tA.use=e=>tV=e,tA.now="undefined"!=typeof performance?()=>performance.now():Date.now,tA.batchedUpdates=e=>e(),tA.catch=console.error,tA.frameLoop="always",tA.advance=()=>{"demand"!==tA.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):tJ()};let tq=-1,tW=0,t$=!1;function tY(e,t){t$?(t.delete(e),e(0)):(t.add(e),tZ())}function tZ(){tq<0&&(tq=0,"demand"!==tA.frameLoop&&tV(tG))}function tG(){~tq&&(tV(tG),tA.batchedUpdates(tJ))}function tJ(){let e=tq,t=tH(tq=tA.now());t&&(tX(tz.splice(0,t),e=>e.handler()),tW-=t),tI.flush(),tF.flush(e?Math.min(64,tq-e):16.667),tB.flush(),tN.flush(),tU.flush(),tW||(tq=-1)}function tK(){let e=new Set,t=e;return{add(n){tW+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(tW-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,tW-=t.size,tX(t,t=>t(n)&&e.add(t)),tW+=e.size,t=e)}}}function tX(e,t){e.forEach(e=>{try{t(e)}catch(e){tA.catch(e)}})}function tQ(){}let t0=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),t1={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function t2(e,t){if(t1.arr(e)){if(!t1.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function t4(e,t,n){if(t1.arr(e)){for(let r=0;rt1.und(e)?[]:t1.arr(e)?e:[e];function t5(e,t){if(e.size){let n=Array.from(e);e.clear(),t3(n,t)}}let t8=(e,...t)=>t5(e,e=>e(...t)),t7=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),t9=null,ne=!1,nt=tQ;var nn=Object.freeze({__proto__:null,get createStringInterpolator(){return r},get to(){return i},get colors(){return t9},get skipAnimation(){return ne},get willAdvance(){return nt},assign:e=>{e.to&&(i=e.to),e.now&&(tA.now=e.now),void 0!==e.colors&&(t9=e.colors),null!=e.skipAnimation&&(ne=e.skipAnimation),e.createStringInterpolator&&(r=e.createStringInterpolator),e.requestAnimationFrame&&tA.use(e.requestAnimationFrame),e.batchedUpdates&&(tA.batchedUpdates=e.batchedUpdates),e.willAdvance&&(nt=e.willAdvance),e.frameLoop&&(tA.frameLoop=e.frameLoop)}});let nr=new Set,ni=[],no=[],na=0,ns={get idle(){return!nr.size&&!ni.length},start(e){na>e.priority?(nr.add(e),tA.onStart(nl)):(nu(e),tA(nd))},advance:nd,sort(e){if(na)tA.onFrame(()=>ns.sort(e));else{let t=ni.indexOf(e);~t&&(ni.splice(t,1),nc(e))}},clear(){ni=[],nr.clear()}};function nl(){nr.forEach(nu),nr.clear(),tA(nd)}function nu(e){ni.includes(e)||nc(e)}function nc(e){ni.splice(function(e,t){let n=e.findIndex(t);return n<0?e.length:n}(ni,t=>t.priority>e.priority),0,e)}function nd(e){let t=no;for(let n=0;n0}let nf="[-+]?\\d*\\.?\\d+",nh=nf+"%";function np(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let nm=RegExp("rgb"+np(nf,nf,nf)),ng=RegExp("rgba"+np(nf,nf,nf,nf)),nv=RegExp("hsl"+np(nf,nh,nh)),ny=RegExp("hsla"+np(nf,nh,nh,nf)),nb=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nw=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,n_=/^#([0-9a-fA-F]{6})$/,nx=/^#([0-9a-fA-F]{8})$/;function nD(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function nE(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;return Math.round(255*nD(i,r,e+1/3))<<24|Math.round(255*nD(i,r,e))<<16|Math.round(255*nD(i,r,e-1/3))<<8}function nC(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function nk(e){return(parseFloat(e)%360+360)%360/360}function nS(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function nT(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function nM(e){let t;let n="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=n_.exec(e))?parseInt(t[1]+"ff",16)>>>0:t9&&void 0!==t9[e]?t9[e]:(t=nm.exec(e))?(nC(t[1])<<24|nC(t[2])<<16|nC(t[3])<<8|255)>>>0:(t=ng.exec(e))?(nC(t[1])<<24|nC(t[2])<<16|nC(t[3])<<8|nS(t[4]))>>>0:(t=nb.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=nx.exec(e))?parseInt(t[1],16)>>>0:(t=nw.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=nv.exec(e))?(255|nE(nk(t[1]),nT(t[2]),nT(t[3])))>>>0:(t=ny.exec(e))?(nE(nk(t[1]),nT(t[2]),nT(t[3]))|nS(t[4]))>>>0:null;if(null===n)return e;let r=(4278190080&(n=n||0))>>>24,i=(16711680&n)>>>16,o=(65280&n)>>>8,a=(255&n)/255;return`rgba(${r}, ${i}, ${o}, ${a})`}let nO=(e,t,n)=>{if(t1.fun(e))return e;if(t1.arr(e))return nO({range:e,output:t,extrapolate:n});if(t1.str(e.output[0]))return r(e);let i=e.output,o=e.range||[0,1],a=e.extrapolateLeft||e.extrapolate||"extend",s=e.extrapolateRight||e.extrapolate||"extend",l=e.easing||(e=>e);return t=>{let n=function(e,t){for(var n=1;n=e);++n);return n-1}(t,o);return function(e,t,n,r,i,o,a,s,l){let u=l?l(e):e;if(un){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r,u)}(t,o[n],o[n+1],i[n],i[n+1],l,a,s,e.map)}};function nP(){return(nP=Object.assign||function(e){for(var t=1;t!!(e&&e[nR]),nF=e=>e&&e[nR]?e[nR]():e,nA=e=>e[nj]||null;function nN(e,t){let n=e[nj];n&&n.forEach(e=>{e.eventObserved?e.eventObserved(t):e(t)})}class nI{constructor(e){if(this[nR]=void 0,this[nj]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");nB(this,e)}}let nB=(e,t)=>nH(e,nR,t);function nU(e,t){if(e[nR]){let n=e[nj];n||nH(e,nj,n=new Set),!n.has(t)&&(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function nz(e,t){let n=e[nj];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[nj]=null,e.observerRemoved&&e.observerRemoved(r,t)}}let nH=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),nV=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,nq=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,nW=RegExp(`(${nV.source})(%|[a-z]+)`,"i"),n$=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,nY=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,nZ=e=>{let[t,n]=nG(e);if(!t||t7())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(e)return e}else if(n&&nY.test(n))return nZ(n);else if(n)return n;return e},nG=e=>{let t=nY.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},nJ=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,nK=e=>{o||(o=t9?RegExp(`(${Object.keys(t9).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>nF(e).replace(nY,nZ).replace(nq,nM).replace(o,nM)),n=t.map(e=>e.match(nV).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>nO(nP({},e,{output:t})));return e=>{var n;let i=!nW.test(t[0])&&(null==(n=t.find(e=>nW.test(e)))?void 0:n.replace(nV,"")),o=0;return t[0].replace(nV,()=>`${r[o++](e)}${i||""}`).replace(n$,nJ)}},nX="react-spring: ",nQ=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${nX}once requires a function parameter`);return(...n)=>{t||(e(...n),t=!0)}},n0=nQ(console.warn),n1=nQ(console.warn);function n2(e){return t1.str(e)&&("#"==e[0]||/\d/.test(e)||!t7()&&nY.test(e)||e in(t9||{}))}let n3="undefined"!=typeof window&&window.document&&window.document.createElement?w.useLayoutEffect:w.useEffect,n4=()=>{let e=(0,w.useRef)(!1);return n3(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function n6(){let e=(0,w.useState)()[1],t=n4();return()=>{t.current&&e(Math.random())}}let n5=e=>(0,w.useEffect)(e,n8),n8=[];function n7(e){let t=(0,w.useRef)();return(0,w.useEffect)(()=>{t.current=e}),t.current}let n9=Symbol.for("Animated:node"),re=e=>!!e&&e[n9]===e,rt=e=>e&&e[n9],rn=(e,t)=>t0(e,n9,t),rr=e=>e&&e[n9]&&e[n9].getPayload();class ri{constructor(){this.payload=void 0,rn(this,this)}getPayload(){return this.payload||[]}}class ro extends ri{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,t1.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ro(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return t1.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,t1.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class ra extends ro{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=nO({output:[e,e]})}static create(e){return new ra(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(t1.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=nO({output:[this.getValue(),e]})),this._value=0,super.reset()}}let rs={dependencies:null};class rl extends ri{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return t4(this.source,(n,r)=>{re(n)?t[r]=n.getValue(e):nL(n)?t[r]=nF(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&t3(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return t4(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){rs.dependencies&&nL(e)&&rs.dependencies.add(e);let t=rr(e);t&&t3(t,e=>this.add(e))}}class ru extends rl{constructor(e){super(e)}static create(e){return new ru(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(rc)),!0)}}function rc(e){return(n2(e)?ra:ro).create(e)}function rd(e){let t=rt(e);return t?t.constructor:t1.arr(e)?ru:n2(e)?ra:ro}function rf(){return(rf=Object.assign||function(e){for(var t=1;t{let n=!t1.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,w.forwardRef)((r,i)=>{let o=(0,w.useRef)(null),a=n&&(0,w.useCallback)(e=>{o.current=(i&&(t1.fun(i)?i(e):i.current=e),e)},[i]),[s,l]=function(e,t){let n=new Set;return rs.dependencies=n,e.style&&(e=rf({},e,{style:t.createAnimatedStyle(e.style)})),e=new rl(e),rs.dependencies=null,[e,n]}(r,t),u=n6(),c=()=>{let e=o.current;(!n||e)&&!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&u()},d=new rp(c,l),f=(0,w.useRef)();n3(()=>(f.current=d,t3(l,e=>nU(e,d)),()=>{f.current&&(t3(f.current.deps,e=>nz(e,f.current)),tA.cancel(f.current.update))})),(0,w.useEffect)(c,[]),n5(()=>()=>{let e=f.current;t3(e.deps,t=>nz(t,e))});let h=t.getComponentProps(s.getValue());return w.createElement(e,rf({},h,{ref:a}))})};class rp{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&tA.write(this.update)}}let rm=Symbol.for("AnimatedComponent"),rg=e=>t1.str(e)?e:e&&t1.str(e.displayName)?e.displayName:t1.fun(e)&&e.name||null;function rv(){return(rv=Object.assign||function(e){for(var t=1;t!0===e||!!(t&&e&&(t1.fun(e)?e(t):t6(e).includes(t))),rw=(e,t)=>t1.obj(e)?t&&e[t]:e,r_=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,rx=e=>e,rD=(e,t=rx)=>{let n=rE;e.default&&!0!==e.default&&(n=Object.keys(e=e.default));let r={};for(let i of n){let n=t(e[i],i);t1.und(n)||(r[i]=n)}return r},rE=["config","onProps","onStart","onChange","onPause","onResume","onRest"],rC={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function rk(e){let t=function(e){let t={},n=0;if(t4(e,(e,r)=>{!rC[r]&&(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return t4(e,(e,r)=>r in t||(n[r]=e)),n}return rv({},e)}function rS(e){return e=nF(e),t1.arr(e)?e.map(rS):n2(e)?nn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function rT(e){for(let t in e)return!0;return!1}function rM(e){return t1.fun(e)||t1.arr(e)&&t1.obj(e[0])}function rO(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function rP(e,t){if(t&&e.ref!==t){var n;null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t}}let rR={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},rj=rv({},rR.default,{mass:1,damping:1,easing:e=>e,clamp:!1});class rL{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,rj)}}function rF(e,t){if(t1.und(t.decay)){let n=!t1.und(t.tension)||!t1.und(t.friction);!n&&t1.und(t.frequency)&&t1.und(t.damping)&&t1.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}let rA=[];class rN{constructor(){this.changed=!1,this.values=rA,this.toValues=null,this.fromValues=rA,this.to=void 0,this.from=void 0,this.config=new rL,this.immediate=!1}}function rI(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((a,s)=>{var l;let u,c;let d=rb(null!=(l=n.cancel)?l:null==r?void 0:r.cancel,t);if(d)p();else{t1.und(n.pause)||(i.paused=rb(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=i.paused||rb(e,t)),u=ry(n.delay||0,t),e?(i.resumeQueue.add(h),o.pause()):(o.resume(),h())}function f(){i.resumeQueue.add(h),i.timeouts.delete(c),c.cancel(),u=c.time-tA.now()}function h(){u>0&&!nn.skipAnimation?(i.delayed=!0,c=tA.setTimeout(p,u),i.pauseQueue.add(f),i.timeouts.add(c)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(c),e<=(i.cancelId||0)&&(d=!0);try{o.start(rv({},n,{callId:e,cancel:d}),a)}catch(e){s(e)}}})}let rB=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?rH(e.get()):t.every(e=>e.noop)?rU(e.get()):rz(e.get(),t.every(e=>e.finished)),rU=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),rz=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),rH=e=>({value:e,cancelled:!0,finished:!1});function rV(e,t,n,r){let{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{let u,c,d;n.asyncId=i,n.asyncTo=e;let f=rD(t,(e,t)=>"onRest"===t?void 0:e),h=new Promise((e,t)=>(u=e,c=t)),p=e=>{let t=i<=(n.cancelId||0)&&rH(r)||i!==n.asyncId&&rz(r,!1);if(t)throw e.result=t,c(e),e},m=(e,t)=>{let o=new rW,a=new r$;return(async()=>{if(nn.skipAnimation)throw rq(n),a.result=rz(r,!1),c(a),a;p(o);let s=t1.obj(e)?rv({},e):rv({},t,{to:e});s.parentId=i,t4(f,(e,t)=>{t1.und(s[t])&&(s[t]=e)});let l=await r.start(s);return p(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()};if(nn.skipAnimation)return rq(n),rz(r,!1);try{let t;t=t1.arr(e)?(async e=>{for(let t of e)await m(t)})(e):Promise.resolve(e(m,r.stop.bind(r))),await Promise.all([t.then(u),h]),d=rz(r.get(),!0,!1)}catch(e){if(e instanceof rW)d=e.result;else if(e instanceof r$)d=e.result;else throw e}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return t1.fun(a)&&tA.batchedUpdates(()=>{a(d,r,r.item)}),d})():l}function rq(e,t){t5(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class rW extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class r$ extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}let rY=e=>e instanceof rG,rZ=1;class rG extends nI{constructor(...e){super(...e),this.id=rZ++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=rt(this);return e&&e.getValue()}to(...e){return nn.to(this,e)}interpolate(...e){return n0(`${nX}The "interpolate" function is deprecated in v9 (use "to" instead)`),nn.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){nN(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ns.sort(this),nN(this,{type:"priority",parent:this,priority:e})}}let rJ=Symbol.for("SpringPhase"),rK=e=>(1&e[rJ])>0,rX=e=>(2&e[rJ])>0,rQ=e=>(4&e[rJ])>0,r0=(e,t)=>t?e[rJ]|=3:e[rJ]&=-3,r1=(e,t)=>t?e[rJ]|=4:e[rJ]&=-5;class r2 extends rG{constructor(e,t){if(super(),this.key=void 0,this.animation=new rN,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!t1.und(e)||!t1.und(t)){let n=t1.obj(e)?rv({},e):rv({},t,{from:e});t1.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(rX(this)||this._state.asyncTo)||rQ(this)}get goal(){return nF(this.animation.to)}get velocity(){let e=rt(this);return e instanceof ro?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return rK(this)}get isAnimating(){return rX(this)}get isPaused(){return rQ(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{config:i,toValues:o}=r,a=rr(r.to);!a&&nL(r.to)&&(o=t6(nF(r.to))),r.values.forEach((s,l)=>{if(s.done)return;let u=s.constructor==ra?1:a?a[l].lastPosition:o[l],c=r.immediate,d=u;if(!c){let t;if(d=s.lastPosition,i.tension<=0){s.done=!0;return}let n=s.elapsedTime+=e,o=r.fromValues[l],a=null!=s.v0?s.v0:s.v0=t1.arr(i.velocity)?i.velocity[l]:i.velocity;if(t1.und(i.duration)){if(i.decay){let e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*n);d=o+a/(1-e)*(1-r),c=.1>Math.abs(s.lastPosition-d),t=a*r}else{t=null==s.lastVelocity?a:s.lastVelocity;let n=i.precision||(o==u?.005:Math.min(1,.001*Math.abs(u-o))),r=i.restVelocity||n/10,l=i.clamp?0:i.bounce,f=!t1.und(l),h=o==u?s.v0>0:or)&&(c=Math.abs(u-d)<=n));++e){f&&(d==u||d>u==h)&&(t=-t*l,d=u);let e=(-(1e-6*i.tension)*(d-u)+-(.001*i.friction)*t)/i.mass;t+=1*e,d+=1*t}}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,n=s.elapsedTime+=e)),r=(r=(i.progress||0)+n/this._memoizedDuration)>1?1:r<0?0:r,s.durationProgress=r),t=((d=o+i.easing(r)*(u-o))-s.lastPosition)/e,c=1==r}s.lastVelocity=t,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?s.done=!0:t=!1,s.setValue(d,i.round)&&(n=!0)});let s=rt(this),l=s.getValue();if(t){let e=nF(r.to);(l!==e||n)&&!i.decay?(s.setValue(e),this._onChange(e)):n&&i.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return tA.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(rX(this)){let{to:e,config:t}=this.animation;tA.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return t1.und(e)?(n=this.queue||[],this.queue=[]):n=[t1.obj(e)?e:rv({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>rB(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),rq(this._state,e&&this._lastCallId),tA.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;(null==(n=t1.obj(n)?n[t]:n)||rM(n))&&(n=void 0),null==(r=t1.obj(r)?r[t]:r)&&(r=void 0);let i={to:n,from:r};return rK(this)||(e.reverse&&([n,r]=[r,n]),r=nF(r),t1.und(r)?rt(this)||this._set(n):this._set(r)),i}_update(e,t){let n=rv({},e),{key:r,defaultProps:i}=this;n.default&&Object.assign(i,rD(n,(e,t)=>/^on/.test(t)?rw(e,r):e)),r7(this,n,"onProps"),r9(this,"onProps",n,this);let o=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return rI(++this._lastCallId,{key:r,props:n,defaultProps:i,state:a,actions:{pause:()=>{rQ(this)||(r1(this,!0),t8(a.pauseQueue),r9(this,"onPause",rz(this,r3(this,this.animation.to)),this))},resume:()=>{rQ(this)&&(r1(this,!1),rX(this)&&this._resume(),t8(a.resumeQueue),r9(this,"onResume",rz(this,r3(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(e=>{if(n.loop&&e.finished&&!(t&&e.noop)){let e=r4(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(rH(this));let r=!t1.und(e.to),i=!t1.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(rH(this));this._lastToId=t.callId}let{key:o,defaultProps:a,animation:s}=this,{to:l,from:u}=s,{to:c=l,from:d=u}=e;i&&!r&&(!t.default||t1.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);let f=!t2(d,u);f&&(s.from=d),d=nF(d);let h=!t2(c,l);h&&this._focus(c);let p=rM(t.to),{config:m}=s,{decay:g,velocity:v}=m;(r||i)&&(m.velocity=0),t.config&&!p&&function(e,t,n){for(let r in n&&(rF(n=rv({},n),t),t=rv({},n,t)),rF(e,t),Object.assign(e,t),rj)null==e[r]&&(e[r]=rj[r]);let{mass:r,frequency:i,damping:o}=e;t1.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*r,e.friction=4*Math.PI*o*r/i)}(m,ry(t.config,o),t.config!==a.config?ry(a.config,o):void 0);let y=rt(this);if(!y||t1.und(c))return n(rz(this,!0));let b=t1.und(t.reset)?i&&!t.default:!t1.und(d)&&rb(t.reset,o),w=b?d:this.get(),_=rS(c),x=t1.num(_)||t1.arr(_)||n2(_),D=!p&&(!x||rb(a.immediate||t.immediate,o));if(h){let e=rd(c);if(e!==y.constructor){if(D)y=this._set(_);else throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`)}}let E=y.constructor,C=nL(c),k=!1;if(!C){let e=b||!rK(this)&&f;(h||e)&&(C=!(k=t2(rS(w),_))),(t2(s.immediate,D)||D)&&t2(m.decay,g)&&t2(m.velocity,v)||(C=!0)}if(k&&rX(this)&&(s.changed&&!b?C=!0:C||this._stop(l)),!p&&((C||nL(l))&&(s.values=y.getPayload(),s.toValues=nL(c)?null:E==ra?[1]:t6(_)),s.immediate==D||(s.immediate=D,D||b||this._set(l)),C)){let{onRest:e}=s;t3(r8,e=>r7(this,t,e));let r=rz(this,r3(this,l));t8(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&tA.batchedUpdates(()=>{s.changed=!b,null==e||e(r,this),b?ry(a.onRest,r):null==s.onStart||s.onStart(r,this)})}b&&this._set(w),p?n(rV(t.to,t,this._state,this)):C?this._start():rX(this)&&!h?this._pendingCalls.add(n):n(rU(w))}_focus(e){let t=this.animation;e!==t.to&&(nA(this)&&this._detach(),t.to=e,nA(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;nL(t)&&(nU(t,this),rY(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;nL(e)&&nz(e,this)}_set(e,t=!0){let n=nF(e);if(!t1.und(n)){let e=rt(this);if(!e||!t2(n,e.getValue())){let r=rd(n);e&&e.constructor==r?e.setValue(n):rn(this,r.create(n)),e&&tA.batchedUpdates(()=>{this._onChange(n,t)})}}return rt(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,r9(this,"onStart",rz(this,r3(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ry(this.animation.onChange,e,this)),ry(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;rt(this).reset(nF(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),rX(this)||(r0(this,!0),rQ(this)||this._resume())}_resume(){nn.skipAnimation?this.finish():ns.start(this)}_stop(e,t){if(rX(this)){r0(this,!1);let n=this.animation;t3(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),nN(this,{type:"idle",parent:this});let r=t?rH(this.get()):rz(this.get(),r3(this,null!=e?e:n.to));t8(this._pendingCalls,r),n.changed&&(n.changed=!1,r9(this,"onRest",r,this))}}}function r3(e,t){let n=rS(t);return t2(rS(e.get()),n)}function r4(e,t=e.loop,n=e.to){let r=ry(t);if(r){let i=!0!==r&&rk(r),o=(i||e).reverse,a=!i||i.reset;return r6(rv({},e,{loop:t,default:!1,pause:void 0,to:!o||rM(n)?n:void 0,from:a?e.from:void 0,reset:a},i))}}function r6(e){let{to:t,from:n}=e=rk(e),r=new Set;return t1.obj(t)&&r5(t,r),t1.obj(n)&&r5(n,r),e.keys=r.size?Array.from(r):null,e}function r5(e,t){t4(e,(e,n)=>null!=e&&t.add(n))}let r8=["onStart","onRest","onChange","onPause","onResume"];function r7(e,t,n){e.animation[n]=t[n]!==r_(t,n)?rw(t[n],e.key):void 0}function r9(e,t,...n){var r,i,o,a;null==(r=(i=e.animation)[t])||r.call(i,...n),null==(o=(a=e.defaultProps)[t])||o.call(a,...n)}let ie=["onStart","onChange","onRest"],it=1;class ir{constructor(e,t){this.id=it++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(rv({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];t1.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(r6(e)),this}start(e){let{queue:t}=this;return(e?t=t6(e).map(r6):this.queue=[],this._flush)?this._flush(this,t):(ic(this,t),ii(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let n=this.springs;t3(t6(t),t=>n[t].stop(!!e))}else rq(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(t1.und(e))this.start({pause:!0});else{let t=this.springs;t3(t6(e),e=>t[e].pause())}return this}resume(e){if(t1.und(e))this.start({pause:!1});else{let t=this.springs;t3(t6(e),e=>t[e].resume())}return this}each(e){t4(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,t5(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&t5(t,([e,t])=>{t.value=a,e(t,this,this._item)}),o&&(this._started=!1,t5(n,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}tA.onFrame(this._onFrame)}}function ii(e,t){return Promise.all(t.map(t=>io(e,t))).then(t=>rB(e,t))}async function io(e,t,n){let{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,u=t1.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);let c=t1.arr(i)||t1.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):t3(ie,n=>{let r=t[n];if(t1.fun(r)){let i=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});let d=e._state;!d.paused===t.pause?(d.paused=t.pause,t8(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);let f=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),h=!0===t.cancel||!0===r_(t,"cancel");(c||h&&d.asyncId)&&f.push(rI(++e._lastAsyncId,{props:t,state:d,actions:{pause:tQ,resume:tQ,start(t,n){h?(rq(d,e._lastAsyncId),n(rH(e))):(t.onRest=s,n(rV(c,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});let p=rB(e,await Promise.all(f));if(a&&p.finished&&!(n&&p.noop)){let n=r4(t,a,i);if(n)return ic(e,[n]),io(e,n,!0)}return l&&tA.batchedUpdates(()=>l(p,e,e.item)),p}function ia(e,t){let n=rv({},e.springs);return t&&t3(t6(t),e=>{t1.und(e.keys)&&(e=r6(e)),t1.obj(e.to)||(e=rv({},e,{to:void 0})),iu(n,e,e=>il(e))}),is(e,n),n}function is(e,t){t4(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,nU(t,e))})}function il(e,t){let n=new r2;return n.key=e,t&&nU(n,t),n}function iu(e,t,n){t.keys&&t3(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function ic(e,t){t3(t,t=>{iu(e.springs,t,t=>il(t,e))})}let id=["children"],ih=e=>{let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,id),r=(0,w.useContext)(ip),i=n.pause||!!r.pause,o=n.immediate||!!r.immediate;n=function(e,t){let[n]=(0,w.useState)(()=>({inputs:t,result:e()})),r=(0,w.useRef)(),i=r.current,o=i;return o?t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}(()=>({pause:i,immediate:o}),[i,o]);let{Provider:a}=ip;return w.createElement(a,{value:n},t)},ip=(s={},Object.assign(ih,w.createContext(s)),ih.Provider._context=ih,ih.Consumer._context=ih,ih);ih.Provider=ip.Provider,ih.Consumer=ip.Consumer;let im=()=>{let e=[],t=function(t){n1(`${nX}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);let r=[];return t3(e,(e,i)=>{if(t1.und(t))r.push(e.start());else{let o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return t3(e,e=>e.pause(...arguments)),this},t.resume=function(){return t3(e,e=>e.resume(...arguments)),this},t.set=function(t){t3(e,e=>e.set(t))},t.start=function(t){let n=[];return t3(e,(e,r)=>{if(t1.und(t))n.push(e.start());else{let i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return t3(e,e=>e.stop(...arguments)),this},t.update=function(t){return t3(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return t1.fun(e)?e(n,t):e};return t._getProps=n,t};function ig(e,t){let n=t1.fun(e),[[r],i]=function(e,t,n){let r=t1.fun(t)&&t;r&&!n&&(n=[]);let i=(0,w.useMemo)(()=>r||3==arguments.length?im():void 0,[]),o=(0,w.useRef)(0),a=n6(),s=(0,w.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=ia(e,t);return!(o.current>0)||s.queue.length||Object.keys(n).some(t=>!e.springs[t])?new Promise(r=>{is(e,n),s.queue.push(()=>{r(ii(e,t))}),a()}):ii(e,t)}}),[]),l=(0,w.useRef)([...s.ctrls]),u=[],c=n7(e)||0;function d(e,n){for(let i=e;i{t3(l.current.slice(e,c),e=>{rO(e,i),e.stop(!0)}),l.current.length=e,d(c,e)},[e]),(0,w.useMemo)(()=>{d(0,Math.min(c,e))},n);let f=l.current.map((e,t)=>ia(e,u[t])),h=(0,w.useContext)(ih),p=n7(h),m=h!==p&&rT(h);n3(()=>{o.current++,s.ctrls=l.current;let{queue:e}=s;e.length&&(s.queue=[],t3(e,e=>e())),t3(l.current,(e,t)=>{null==i||i.add(e),m&&e.start({default:h});let n=u[t];n&&(rP(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),n5(()=>()=>{t3(s.ctrls,e=>e.stop(!0))});let g=f.map(e=>rv({},e));return i?[g,i]:g}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function iv(e,t,n){let r=t1.fun(t)&&t,{reset:i,sort:o,trail:s=0,expires:l=!0,exitBeforeEnter:u=!1,onDestroyed:c,ref:d,config:f}=r?r():t,h=(0,w.useMemo)(()=>r||3==arguments.length?im():void 0,[]),p=t6(e),m=[],g=(0,w.useRef)(null),v=i?null:g.current;n3(()=>{g.current=m}),n5(()=>(t3(g.current,e=>{var t;null==(t=e.ctrl.ref)||t.add(e.ctrl);let n=C.get(e);n&&e.ctrl.start(n.payload)}),()=>{t3(g.current,e=>{e.expired&&clearTimeout(e.expirationId),rO(e.ctrl,h),e.ctrl.stop(!0)})}));let y=function(e,{key:t,keys:n=t},r){if(null===n){let t=new Set;return e.map(e=>{let n=r&&r.find(n=>n.item===e&&n.phase!==a.LEAVE&&!t.has(n));return n?(t.add(n),n.key):iy++})}return t1.und(n)?e:t1.fun(n)?e.map(n):t6(n)}(p,r?r():t,v),b=i&&g.current||[];n3(()=>t3(b,({ctrl:e,item:t,key:n})=>{rO(e,h),ry(c,t,n)}));let _=[];if(v&&t3(v,(e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=_[t]=y.indexOf(e.key))&&(m[t]=e)}),t3(p,(e,t)=>{m[t]||(m[t]={key:y[t],item:e,phase:a.MOUNT,ctrl:new ir},m[t].ctrl.item=e)}),_.length){let e=-1,{leave:n}=r?r():t;t3(_,(t,r)=>{let i=v[r];~t?(e=m.indexOf(i),m[e]=rv({},i,{item:p[t]})):n&&m.splice(++e,0,i)})}t1.fun(o)&&m.sort((e,t)=>o(e.item,t.item));let x=-s,D=n6(),E=rD(t),C=new Map,k=(0,w.useRef)(new Map),S=(0,w.useRef)(!1);t3(m,(e,n)=>{let i,o;let c=e.key,h=e.phase,p=r?r():t,m=ry(p.delay||0,c);if(h==a.MOUNT)i=p.enter,o=a.ENTER;else{let e=0>y.indexOf(c);if(h!=a.LEAVE){if(e)i=p.leave,o=a.LEAVE;else{if(!(i=p.update))return;o=a.UPDATE}}else{if(e)return;i=p.enter,o=a.ENTER}}if(i=ry(i,e.item,n),!(i=t1.obj(i)?rk(i):{to:i}).config){let t=f||E.config;i.config=ry(t,e.item,n,o)}x+=s;let b=rv({},E,{delay:m+x,ref:d,immediate:p.immediate,reset:!1},i);if(o==a.ENTER&&t1.und(b.from)){let i=r?r():t,o=t1.und(i.initial)||v?i.from:i.initial;b.from=ry(o,e.item,n)}let{onResolve:w}=b;b.onResolve=e=>{ry(w,e);let t=g.current,n=t.find(e=>e.key===c);if(n){if(e.cancelled&&n.phase!=a.UPDATE)return;if(n.ctrl.idle){let e=t.every(e=>e.ctrl.idle);if(n.phase==a.LEAVE){let t=ry(l,n.item);if(!1!==t){let r=!0===t?0:t;if(n.expired=!0,!e&&r>0){r<=2147483647&&(n.expirationId=setTimeout(D,r));return}}}e&&t.some(e=>e.expired)&&(k.current.delete(n),u&&(S.current=!0),D())}}};let _=ia(e.ctrl,b);o===a.LEAVE&&u?k.current.set(e,{phase:o,springs:_,payload:b}):C.set(e,{phase:o,springs:_,payload:b})});let T=(0,w.useContext)(ih),M=n7(T),O=T!==M&&rT(T);n3(()=>{O&&t3(m,e=>{e.ctrl.start({default:T})})},[T]),t3(C,(e,t)=>{if(k.current.size){let e=m.findIndex(e=>e.key===t.key);m.splice(e,1)}}),n3(()=>{t3(k.current.size?k.current:C,({phase:e,payload:t},n)=>{let{ctrl:r}=n;n.phase=e,null==h||h.add(r),O&&e==a.ENTER&&r.start({default:T}),t&&(rP(r,t.ref),r.ref&&!S.current?r.update(t):(r.start(t),S.current&&(S.current=!1)))})},i?void 0:n);let P=e=>w.createElement(w.Fragment,null,m.map((t,n)=>{let{springs:r}=C.get(t)||t.ctrl,i=e(rv({},r),t.item,t,n);return i&&i.type?w.createElement(i.type,rv({},i.props,{key:t1.str(t.key)||t1.num(t.key)?t.key:t.ctrl.id,ref:i.ref})):i}));return h?[P,h]:P}(l=a||(a={})).MOUNT="mount",l.ENTER="enter",l.UPDATE="update",l.LEAVE="leave";let iy=1;class ib extends rG{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=nO(...t);let n=this._get();rn(this,rd(n).create(n))}advance(e){let t=this._get();t2(t,this.get())||(rt(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&i_(this._active)&&ix(this)}_get(){let e=t1.arr(this.source)?this.source.map(nF):t6(nF(this.source));return this.calc(...e)}_start(){this.idle&&!i_(this._active)&&(this.idle=!1,t3(rr(this),e=>{e.done=!1}),nn.skipAnimation?(tA.batchedUpdates(()=>this.advance()),ix(this)):ns.start(this))}_attach(){let e=1;t3(t6(this.source),t=>{nL(t)&&nU(t,this),rY(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){t3(t6(this.source),e=>{nL(e)&&nz(e,this)}),this._active.clear(),ix(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=t6(this.source).reduce((e,t)=>Math.max(e,(rY(t)?t.priority:0)+1),0))}}function iw(e){return!1!==e.idle}function i_(e){return!e.size||Array.from(e).every(iw)}function ix(e){e.idle||(e.idle=!0,t3(rr(e),e=>{e.done=!0}),nN(e,{type:"idle",parent:e}))}let iD=(e,...t)=>new ib(e,t);function iE(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}nn.assign({createStringInterpolator:nK,to:(e,t)=>new ib(e,t)}),ns.advance;let iC=["style","children","scrollTop","scrollLeft"],ik=/^--/,iS={},iT={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},iM=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),iO=["Webkit","Ms","Moz","O"];iT=Object.keys(iT).reduce((e,t)=>(iO.forEach(n=>e[iM(n,t)]=e[t]),e),iT);let iP=["x","y","z"],iR=/^(matrix|translate|scale|rotate|skew)/,ij=/^(translate)/,iL=/^(rotate|skew)/,iF=(e,t)=>t1.num(e)&&0!==e?e+t:e,iA=(e,t)=>t1.arr(e)?e.every(e=>iA(e,t)):t1.num(e)?e===t:parseFloat(e)===t;class iN extends rl{constructor(e){let{x:t,y:n,z:r}=e,i=iE(e,iP),o=[],a=[];(t||n||r)&&(o.push([t||0,n||0,r||0]),a.push(e=>[`translate3d(${e.map(e=>iF(e,"px")).join(",")})`,iA(e,0)])),t4(i,(e,t)=>{if("transform"===t)o.push([e||""]),a.push(e=>[e,""===e]);else if(iR.test(t)){if(delete i[t],t1.und(e))return;let n=ij.test(t)?"px":iL.test(t)?"deg":"";o.push(t6(e)),a.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${iF(i,n)})`,iA(i,0)]:e=>[`${t}(${e.map(e=>iF(e,n)).join(",")})`,iA(e,t.startsWith("scale")?1:0)])}}),o.length&&(i.transform=new iI(o,a)),super(i)}}class iI extends nI{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return t3(this.inputs,(n,r)=>{let i=nF(n[0]),[o,a]=this.transforms[r](t1.arr(i)?i:n.map(nF));e+=" "+o,t=t&&a}),t?"none":e}observerAdded(e){1==e&&t3(this.inputs,e=>t3(e,e=>nL(e)&&nU(e,this)))}observerRemoved(e){0==e&&t3(this.inputs,e=>t3(e,e=>nL(e)&&nz(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),nN(this,e)}}let iB=["scrollTop","scrollLeft"];nn.assign({batchedUpdates:tw.unstable_batchedUpdates,createStringInterpolator:nK,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});let iU=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new rl(e),getComponentProps:r=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{let t=rg(e)||"Anonymous";return(e=t1.str(e)?o[e]||(o[e]=rh(e,i)):e[rm]||(e[rm]=rh(e,i))).displayName=`Animated(${t})`,e};return t4(e,(t,n)=>{t1.arr(e)&&(n=rg(t)),o[n]=o(t)}),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:i,scrollTop:o,scrollLeft:a}=t,s=iE(t,iC),l=Object.values(s),u=Object.keys(s).map(t=>n||e.hasAttribute(t)?t:iS[t]||(iS[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==i&&(e.textContent=i),r)if(r.hasOwnProperty(t)){var c;let n=null==(c=r[t])||"boolean"==typeof c||""===c?"":"number"!=typeof c||0===c||ik.test(t)||iT.hasOwnProperty(t)&&iT[t]?(""+c).trim():c+"px";ik.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach((t,n)=>{e.setAttribute(t,l[n])}),void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a)},createAnimatedStyle:e=>new iN(e),getComponentProps:e=>iE(e,iB)}).animated;function iz(){return(iz=Object.assign||function(e){for(var t=1;t0&&d.height>0,g=Math.round(n[0]),v=Math.round(n[1]);m&&("top"===r?(g-=d.width/2,v-=d.height+14):"right"===r?(g+=14,v-=d.height/2):"bottom"===r?(g-=d.width/2,v+=14):"left"===r?(g-=d.width+14,v-=d.height/2):"center"===r&&(g-=d.width/2,v-=d.height/2),h={transform:iV(g,v)},f.current||(p=!0),f.current=[g,v]);var y=ig({to:h,config:l,immediate:!s||p}),_=iz({},iH,o.tooltip,{transform:null!=(t=y.transform)?t:iV(g,v)});return(0,b.jsx)(iU.div,{ref:c,style:_,children:i})});iq.displayName="TooltipWrapper";var iW=(0,w.memo)(function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return(0,b.jsx)("span",{style:iz({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})}),i$=(0,w.memo)(function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=e.color,s=e.renderContent,l=u8(),u=u3(i);if("function"==typeof s)t=s();else{var c=r;void 0!==u&&void 0!==c&&(c=u(c)),t=(0,b.jsxs)("div",{style:l.tooltip.basic,children:[void 0!==o&&o&&(0,b.jsx)(iW,{color:a,style:l.tooltip.chip}),void 0!==c?(0,b.jsxs)("span",{children:[n,": ",(0,b.jsx)("strong",{children:""+c})]}):n]})}return(0,b.jsx)("div",{style:l.tooltip.container,children:t})}),iY={width:"100%",borderCollapse:"collapse"},iZ=(0,w.memo)(function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=u8();return i.length?(t="function"==typeof o?o():(0,b.jsxs)("div",{children:[n&&n,(0,b.jsx)("table",{style:iz({},iY,a.tooltip.table),children:(0,b.jsx)("tbody",{children:i.map(function(e,t){return(0,b.jsx)("tr",{children:e.map(function(e,t){return(0,b.jsx)("td",{style:a.tooltip.tableCell,children:e},t)})},t)})})})]}),(0,b.jsx)("div",{style:a.tooltip.container,children:t})):null});iZ.displayName="TableTooltip";var iG=(0,w.memo)(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=u8(),a=uq(),s=a.animate,l=a.config,u=(0,w.useMemo)(function(){return iz({},o.crosshair.line,{pointerEvents:"none"})},[o.crosshair.line]),c=ig({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return(0,b.jsx)(iU.line,iz({},c,{fill:"none",style:u}))});iG.displayName="CrosshairLine";var iJ=(0,w.memo)(function(e){var t,n,r=e.width,i=e.height,o=e.type,a=e.x,s=e.y;return"cross"===o?(t={x0:a,x1:a,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:0,x1:a,y0:s,y1:s}):"top"===o?t={x0:a,x1:a,y0:0,y1:s}:"top-right"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:a,x1:r,y0:s,y1:s}):"right"===o?n={x0:a,x1:r,y0:s,y1:s}:"bottom-right"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:a,x1:r,y0:s,y1:s}):"bottom"===o?t={x0:a,x1:a,y0:s,y1:i}:"bottom-left"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:0,x1:a,y0:s,y1:s}):"left"===o?n={x0:0,x1:a,y0:s,y1:s}:"x"===o?t={x0:a,x1:a,y0:0,y1:i}:"y"===o&&(n={x0:0,x1:r,y0:s,y1:s}),(0,b.jsxs)(b.Fragment,{children:[t&&(0,b.jsx)(iG,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&(0,b.jsx)(iG,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});iJ.displayName="Crosshair";var iK=(0,w.createContext)({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),iX={isVisible:!1,position:[null,null],content:null,anchor:null},iQ=(0,w.createContext)(iX),i0=function(e){var t=(0,w.useState)(iX),n=t[0],r=t[1],i=(0,w.useCallback)(function(e,t,n){void 0===n&&(n="top"),r({isVisible:!0,position:[t[0],t[1]],anchor:n,content:e})},[r]),o=(0,w.useCallback)(function(t,n,i){void 0===i&&(i="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===o.width?1:a/o.width,l=(n.clientX-o.left)*s,u=(n.clientY-o.top)*s;"left"!==i&&"right"!==i||(i=ls&&(a=t.slice(s,a),u[l]?u[l]+=a:u[++l]=a),(i=i[0])===(o=o[0])?u[l]?u[l]+=o:u[++l]=o:(u[++l]=null,c.push({i:l,x:ot(i,o)})),s=or.lastIndex;return s>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?oP(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?oP(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ow.exec(e))?new oL(t[1],t[2],t[3],1):(t=o_.exec(e))?new oL(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ox.exec(e))?oP(t[1],t[2],t[3],t[4]):(t=oD.exec(e))?oP(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=oE.exec(e))?oI(t[1],t[2]/100,t[3]/100,1):(t=oC.exec(e))?oI(t[1],t[2]/100,t[3]/100,t[4]):ok.hasOwnProperty(e)?oO(ok[e]):"transparent"===e?new oL(NaN,NaN,NaN,0):null}function oO(e){return new oL(e>>16&255,e>>8&255,255&e,1)}function oP(e,t,n,r){return r<=0&&(e=t=n=NaN),new oL(e,t,n,r)}function oR(e){return(e instanceof om||(e=oM(e)),e)?new oL((e=e.rgb()).r,e.g,e.b,e.opacity):new oL}function oj(e,t,n,r){return 1==arguments.length?oR(e):new oL(e,t,n,null==r?1:r)}function oL(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function oF(){return"#"+oN(this.r)+oN(this.g)+oN(this.b)}function oA(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function oN(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function oI(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new oU(e,t,n,r)}function oB(e){if(e instanceof oU)return new oU(e.h,e.s,e.l,e.opacity);if(e instanceof om||(e=oM(e)),!e)return new oU;if(e instanceof oU)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+(n0&&l<1?0:a,new oU(a,s,l,e.opacity)}function oU(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function oz(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function oH(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}oh(om,oM,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:oS,formatHex:oS,formatHsl:function(){return oB(this).formatHsl()},formatRgb:oT,toString:oT}),oh(oL,oj,op(om,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new oL(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new oL(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:oF,formatHex:oF,formatRgb:oA,toString:oA})),oh(oU,function(e,t,n,r){return 1==arguments.length?oB(e):new oU(e,t,n,null==r?1:r)},op(om,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new oU(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new oU(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new oL(oz(e>=240?e-240:e+120,i,r),oz(e,i,r),oz(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var oV=e=>()=>e;function oq(e,t){return function(n){return e+n*t}}function oW(e,t){var n=t-e;return n?oq(e,n):oV(isNaN(e)?t:e)}var o$=function e(t){var n,r=1==(n=+(n=t))?oW:function(e,t){var r,i,o;return t-e?(r=e,i=t,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(e){return Math.pow(r+e*i,o)}):oV(isNaN(e)?t:e)};function i(e,t){var n=r((e=oj(e)).r,(t=oj(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=oW(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function oY(e){return function(t){var n,r,i=t.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=roZ(e[e.length-1]),oJ=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(of),oK=oG(oJ),oX=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(of),oQ=oG(oX),o0=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(of),o1=oG(o0),o2=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(of),o3=oG(o2),o4=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(of),o6=oG(o4),o5=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(of),o8=oG(o5),o7=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(of),o9=oG(o7),ae=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(of),at=oG(ae),an=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(of),ar=oG(an),ai=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(of),ao=oG(ai),aa=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(of),as=oG(aa),al=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(of),au=oG(al),ac=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(of),ad=oG(ac),af=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(of),ah=oG(af),ap=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(of),am=oG(ap),ag=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(of),av=oG(ag),ay=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(of),ab=oG(ay),aw=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(of),a_=oG(aw),ax=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(of),aD=oG(ax),aE=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(of),aC=oG(aE),ak=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(of),aS=oG(ak),aT=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(of),aM=oG(aT),aO=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(of),aP=oG(aO),aR=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(of),aj=oG(aR),aL=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(of),aF=oG(aL),aA=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(of),aN=oG(aA),aI=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(of),aB=oG(aI),aU=of("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),az=of("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),aH=of("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),aV=of("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),aq=of("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),aW=of("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),a$=of("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),aY=of("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),aZ=of("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function aG(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var aJ=aG(of("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),aK=aG(of("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),aX=aG(of("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),aQ=aG(of("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));let a0=Math.PI/180,a1=180/Math.PI;var a2=-1.78277*.29227-.1347134789;function a3(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof a4)return new a4(e.h,e.s,e.l,e.opacity);e instanceof oL||(e=oR(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(a2*r+-1.7884503806*t-3.5172982438*n)/(a2+-1.7884503806-3.5172982438),o=r-i,a=-((1.97294*(n-i)- -.29227*o)/.90649),s=Math.sqrt(a*a+o*o)/(1.97294*i*(1-i)),l=s?Math.atan2(a,o)*a1-120:NaN;return new a4(l<0?l+360:l,s,i,e.opacity)}(e):new a4(e,t,n,null==r?1:r)}function a4(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function a6(e){return function t(n){function r(t,r){var i=e((t=a3(t)).h,(r=a3(r)).h),o=oW(t.s,r.s),a=oW(t.l,r.l),s=oW(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}oh(a4,a3,op(om,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new a4(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new a4(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a0,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new oL(255*(t+n*(-.14861*r+1.78277*i)),255*(t+n*(-.29227*r+-.90649*i)),255*(t+1.97294*r*n),this.opacity)}})),a6(function(e,t){var n=t-e;return n?oq(e,n>180||n<-180?n-360*Math.round(n/360):n):oV(isNaN(e)?t:e)});var a5=a6(oW),a8=a5(a3(-100,.75,.35),a3(80,1.5,.8)),a7=a5(a3(260,.75,.35),a3(80,1.5,.8)),a9=a3(),se=a5(a3(300,.5,0),a3(-240,.5,1)),st=oj(),sn=Math.PI/3,sr=2*Math.PI/3,si=n(14380),so=n.n(si),sa=n(30601),ss=n.n(sa);function sl(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function su(e){this._context=e}function sc(){}function sd(e){this._context=e}function sf(e){this._context=e}function sh(e,t){this._basis=new su(e),this._beta=t}su.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:sl(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:sl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},sd.prototype={areaStart:sc,areaEnd:sc,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:sl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},sf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:sl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},sh.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*a),this._beta*t[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var sp=function e(t){function n(e){return 1===t?new su(e):new sh(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function sm(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function sg(e,t){this._context=e,this._k=(1-t)/6}sg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:sm(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:sm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sv=function e(t){function n(e){return new sg(e,t)}return n.tension=function(t){return e(+t)},n}(0);function sy(e,t){this._context=e,this._k=(1-t)/6}sy.prototype={areaStart:sc,areaEnd:sc,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:sm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sb=function e(t){function n(e){return new sy(e,t)}return n.tension=function(t){return e(+t)},n}(0);function sw(e,t){this._context=e,this._k=(1-t)/6}sw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:sm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var s_=function e(t){function n(e){return new sw(e,t)}return n.tension=function(t){return e(+t)},n}(0);function sx(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>1e-12){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*u+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function sD(e,t){this._context=e,this._alpha=t}sD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:sx(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sE=function e(t){function n(e){return t?new sD(e,t):new sg(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function sC(e,t){this._context=e,this._alpha=t}sC.prototype={areaStart:sc,areaEnd:sc,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:sx(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sk=function e(t){function n(e){return t?new sC(e,t):new sy(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function sS(e,t){this._context=e,this._alpha=t}sS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:sx(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sT=function e(t){function n(e){return t?new sS(e,t):new sw(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function sM(e){this._context=e}function sO(e){return new sM(e)}function sP(e){this._context=e}function sR(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function sj(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function sL(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function sF(e){this._context=e}function sA(e){this._context=new sN(e)}function sN(e){this._context=e}function sI(e){this._context=e}function sB(e){var t,n,r=e.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(t=0,o[r-1]=(e[r]+i[r-1])/2;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function sz(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function sH(e){return(e=sz(Math.abs(e)))?e[1]:NaN}var sV=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function sq(e){var t;if(!(t=sV.exec(e)))throw Error("invalid format: "+e);return new sW({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function sW(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function s$(e,t){var n=sz(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}sq.prototype=sW.prototype,sW.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var sY={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return s$(100*e,t)},r:s$,s:function(e,t){var n=sz(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(u=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+sz(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function sZ(e){return e}var sG=Array.prototype.map,sJ=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];d=(c=function(e){var t,n,r,i=void 0===e.grouping||void 0===e.thousands?sZ:(t=sG.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",s=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?sZ:(r=sG.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return r[+e]})}),c=void 0===e.percent?"%":e.percent+"",d=void 0===e.minus?"-":e.minus+"",f=void 0===e.nan?"NaN":e.nan+"";function h(e){var t=(e=sq(e)).fill,n=e.align,r=e.sign,h=e.symbol,p=e.zero,m=e.width,g=e.comma,v=e.precision,y=e.trim,b=e.type;"n"===b?(g=!0,b="g"):sY[b]||(void 0===v&&(v=12),y=!0,b="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var w="$"===h?o:"#"===h&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===h?a:/[%p]/.test(b)?c:"",x=sY[b],D=/[defgprs%]/.test(b);function E(e){var o,a,c,h=w,E=_;if("c"===b)E=x(e)+E,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?f:x(Math.abs(e),v),y&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==r&&(C=!1),h=(C?"("===r?r:d:"-"===r||"("===r?"":r)+h,E=("s"===b?sJ[8+u/3]:"")+E+(C&&"("===r?")":""),D){for(o=-1,a=e.length;++o(c=e.charCodeAt(o))||c>57){E=(46===c?s+e.slice(o+1):e.slice(o))+E,e=e.slice(0,o);break}}}g&&!p&&(e=i(e,1/0));var k=h.length+e.length+E.length,S=k>1)+h+e+E+S.slice(k);break;default:e=S+h+e+E}return l(e)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),E.toString=function(){return e+""},E}return{format:h,formatPrefix:function(e,t){var n=h(((e=sq(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(sH(t)/3))),i=Math.pow(10,-r),o=sJ[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})).format,f=c.formatPrefix;var sK=new Date,sX=new Date;function sQ(e,t,n,r){function i(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t0))return s;do s.push(a=new Date(+n)),t(n,o),e(n);while(a=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e){if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}})},n&&(i.count=function(t,r){return sK.setTime(+t),sX.setTime(+r),e(sK),e(sX),Math.floor(n(sK,sX))},i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}function s0(e){return sQ(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}var s1=s0(0),s2=s0(1),s3=s0(2),s4=s0(3),s6=s0(4),s5=s0(5),s8=s0(6);s1.range,s2.range,s3.range,s4.range,s6.range,s5.range,s8.range;var s7=sQ(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});function s9(e){return sQ(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5})}s7.range;var le=s9(0),lt=s9(1),ln=s9(2),lr=s9(3),li=s9(4),lo=s9(5),la=s9(6);le.range,lt.range,ln.range,lr.range,li.range,lo.range,la.range;var ls=sQ(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5},function(e){return e.getDate()-1});ls.range;var ll=sQ(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});ll.every=function(e){return isFinite(e=Math.floor(e))&&e>0?sQ(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},ll.range;var lu=sQ(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function lc(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ld(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function lf(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}lu.every=function(e){return isFinite(e=Math.floor(e))&&e>0?sQ(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},lu.range;var lh={"-":"",_:" ",0:"0"},lp=/^\s*\d+/,lm=/^%/,lg=/[\\^$*+?|[\]().{}]/g;function lv(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[e.toLowerCase(),t]))}function l_(e,t,n){var r=lp.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function lx(e,t,n){var r=lp.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function lD(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function lE(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function lC(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function lk(e,t,n){var r=lp.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function lS(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function lT(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function lM(e,t,n){var r=lp.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function lO(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function lP(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function lR(e,t,n){var r=lp.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function lj(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function lL(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function lF(e,t,n){var r=lp.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function lA(e,t,n){var r=lp.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function lN(e,t,n){var r=lp.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function lI(e,t,n){var r=lm.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function lB(e,t,n){var r=lp.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function lU(e,t,n){var r=lp.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function lz(e,t){return lv(e.getDate(),t,2)}function lH(e,t){return lv(e.getHours(),t,2)}function lV(e,t){return lv(e.getHours()%12||12,t,2)}function lq(e,t){return lv(1+ls.count(ll(e),e),t,3)}function lW(e,t){return lv(e.getMilliseconds(),t,3)}function l$(e,t){return lW(e,t)+"000"}function lY(e,t){return lv(e.getMonth()+1,t,2)}function lZ(e,t){return lv(e.getMinutes(),t,2)}function lG(e,t){return lv(e.getSeconds(),t,2)}function lJ(e){var t=e.getDay();return 0===t?7:t}function lK(e,t){return lv(le.count(ll(e)-1,e),t,2)}function lX(e){var t=e.getDay();return t>=4||0===t?li(e):li.ceil(e)}function lQ(e,t){return e=lX(e),lv(li.count(ll(e),e)+(4===ll(e).getDay()),t,2)}function l0(e){return e.getDay()}function l1(e,t){return lv(lt.count(ll(e)-1,e),t,2)}function l2(e,t){return lv(e.getFullYear()%100,t,2)}function l3(e,t){return lv((e=lX(e)).getFullYear()%100,t,2)}function l4(e,t){return lv(e.getFullYear()%1e4,t,4)}function l6(e,t){var n=e.getDay();return lv((e=n>=4||0===n?li(e):li.ceil(e)).getFullYear()%1e4,t,4)}function l5(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+lv(t/60|0,"0",2)+lv(t%60,"0",2)}function l8(e,t){return lv(e.getUTCDate(),t,2)}function l7(e,t){return lv(e.getUTCHours(),t,2)}function l9(e,t){return lv(e.getUTCHours()%12||12,t,2)}function ue(e,t){return lv(1+s7.count(lu(e),e),t,3)}function ut(e,t){return lv(e.getUTCMilliseconds(),t,3)}function un(e,t){return ut(e,t)+"000"}function ur(e,t){return lv(e.getUTCMonth()+1,t,2)}function ui(e,t){return lv(e.getUTCMinutes(),t,2)}function uo(e,t){return lv(e.getUTCSeconds(),t,2)}function ua(e){var t=e.getUTCDay();return 0===t?7:t}function us(e,t){return lv(s1.count(lu(e)-1,e),t,2)}function ul(e){var t=e.getUTCDay();return t>=4||0===t?s6(e):s6.ceil(e)}function uu(e,t){return e=ul(e),lv(s6.count(lu(e),e)+(4===lu(e).getUTCDay()),t,2)}function uc(e){return e.getUTCDay()}function ud(e,t){return lv(s2.count(lu(e)-1,e),t,2)}function uf(e,t){return lv(e.getUTCFullYear()%100,t,2)}function uh(e,t){return lv((e=ul(e)).getUTCFullYear()%100,t,2)}function up(e,t){return lv(e.getUTCFullYear()%1e4,t,4)}function um(e,t){var n=e.getUTCDay();return lv((e=n>=4||0===n?s6(e):s6.ceil(e)).getUTCFullYear()%1e4,t,4)}function ug(){return"+0000"}function uv(){return"%"}function uy(e){return+e}function ub(e){return Math.floor(+e/1e3)}p=(h=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,u=lb(i),c=lw(i),d=lb(o),f=lw(o),h=lb(a),p=lw(a),m=lb(s),g=lw(s),v=lb(l),y=lw(l),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:lz,e:lz,f:l$,g:l3,G:l6,H:lH,I:lV,j:lq,L:lW,m:lY,M:lZ,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:uy,s:ub,S:lG,u:lJ,U:lK,V:lQ,w:l0,W:l1,x:null,X:null,y:l2,Y:l4,Z:l5,"%":uv},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:l8,e:l8,f:un,g:uh,G:um,H:l7,I:l9,j:ue,L:ut,m:ur,M:ui,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:uy,s:ub,S:uo,u:ua,U:us,V:uu,w:uc,W:ud,x:null,X:null,y:uf,Y:up,Z:ug,"%":uv},_={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:lP,e:lP,f:lN,g:lS,G:lk,H:lj,I:lj,j:lR,L:lA,m:lO,M:lL,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:lM,Q:lB,s:lU,S:lF,u:lx,U:lD,V:lE,w:l_,W:lC,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:lS,Y:lk,Z:lT,"%":lI};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=ld(lf(o.y,0,1))).getUTCDay())>4||0===i?s2.ceil(r):s2(r),r=s7.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=lc(lf(o.y,0,1))).getDay())>4||0===i?lt.ceil(r):lt(r),r=ls.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?ld(lf(o.y,0,1)).getUTCDay():lc(lf(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ld(o)):lc(o)}}function E(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a=l)return -1;if(37===(i=t.charCodeAt(a++))){if(!(o=_[(i=t.charAt(a++))in lh?t.charAt(a++):i])||(r=o(e,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return b.x=x(n,b),b.X=x(r,b),b.c=x(t,b),w.x=x(n,w),w.X=x(r,w),w.c=x(t,w),{format:function(e){var t=x(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=D(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=D(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,m=h.parse,g=h.utcFormat,v=h.utcParse,Object.prototype.hasOwnProperty;var uw=n(12916),u_=n.n(uw),ux=n(32999),uD=n.n(ux),uE=n(37656),uC=n.n(uE);function uk(){return(uk=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var uM={fill:tL().string,fontSize:tL().number,fontFamily:tL().string},uO=tL().shape({domain:tL().shape({line:tL().shape({stroke:tL().string.isRequired,strokeWidth:tL().number.isRequired,strokeDasharray:tL().string}).isRequired}).isRequired,ticks:tL().shape({line:tL().shape({stroke:tL().string.isRequired,strokeWidth:tL().number.isRequired,strokeDasharray:tL().string}).isRequired,text:tL().shape(uk({},uM)).isRequired}).isRequired,legend:tL().shape({text:tL().shape(uk({},uM)).isRequired}).isRequired}),uP=tL().shape({line:tL().shape({stroke:tL().string.isRequired,strokeWidth:tL().number.isRequired,strokeDasharray:tL().string}).isRequired}),uR=tL().shape({hidden:tL().shape({symbol:tL().shape({fill:tL().string.isRequired,opacity:tL().number}).isRequired,text:tL().shape(uk({},uM,{opacity:tL().number})).isRequired}).isRequired,text:tL().shape(uk({},uM)).isRequired}),uj=tL().shape({text:tL().shape(uk({},uM)).isRequired}),uL=tL().shape({text:tL().shape(uk({},uM)).isRequired}),uF=tL().shape({text:tL().shape(uk({},uM)).isRequired}),uA=tL().shape({line:tL().shape({stroke:tL().string.isRequired,strokeWidth:tL().number.isRequired,strokeDasharray:tL().string}).isRequired}),uN=tL().shape({text:tL().shape(uk({},uM,{outlineWidth:tL().number.isRequired,outlineColor:tL().string.isRequired})).isRequired,link:tL().shape({stroke:tL().string.isRequired,strokeWidth:tL().number.isRequired,outlineWidth:tL().number.isRequired,outlineColor:tL().string.isRequired}).isRequired,outline:tL().shape({stroke:tL().string.isRequired,strokeWidth:tL().number.isRequired,outlineWidth:tL().number.isRequired,outlineColor:tL().string.isRequired}).isRequired,symbol:tL().shape({fill:tL().string.isRequired,outlineWidth:tL().number.isRequired,outlineColor:tL().string.isRequired}).isRequired}),uI=(tL().shape({background:tL().string.isRequired,fontFamily:tL().string.isRequired,fontSize:tL().number.isRequired,textColor:tL().string.isRequired,axis:uO.isRequired,grid:uP.isRequired,legends:uR.isRequired,labels:uj.isRequired,dots:uL.isRequired,markers:uF,crosshair:uA.isRequired,annotations:uN.isRequired}),{background:"transparent",fontFamily:"sans-serif",fontSize:11,textColor:"#333333",axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}}),uB=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],uU=function(e,t){var n=i5()({},e,t);return uB.forEach(function(e){void 0===i7()(n,e+".fontFamily")&&oe()(n,e+".fontFamily",n.fontFamily),void 0===i7()(n,e+".fontSize")&&oe()(n,e+".fontSize",n.fontSize),void 0===i7()(n,e+".fill")&&oe()(n,e+".fill",n.textColor)}),n},uz=(0,w.createContext)(),uH=function(e){var t=e.children,n=e.animate,r=e.stiffness,i=e.damping,o=e.config,a=(0,w.useMemo)(function(){return{animate:n,springConfig:{stiffness:r,damping:i},config:oa()(o)?rR[o]:o}},[n,r,i,o]);return(0,b.jsx)(uz.Provider,{value:a,children:t})},uV={animate:tL().bool,motionStiffness:tL().number,motionDamping:tL().number,motionConfig:tL().oneOfType([tL().oneOf(Object.keys(rR)),tL().shape({mass:tL().number,tension:tL().number,friction:tL().number,clamp:tL().bool,precision:tL().number,velocity:tL().number,duration:tL().number,easing:tL().func})])};uH.propTypes={children:tL().node.isRequired,animate:uV.animate,stiffness:uV.motionStiffness,damping:uV.motionDamping,config:uV.motionConfig},uH.defaultProps={animate:!0,stiffness:90,damping:15,config:"default"};var uq=function(){return(0,w.useContext)(uz)},uW=function(e){var t,n=uq(),r=n.animate,i=n.config,o=(t=(0,w.useRef)(),(0,w.useEffect)(function(){t.current=e},[e]),t.current),a=(0,w.useMemo)(function(){return oi(o,e)},[o,e]);return iD(ig({from:{value:0},to:{value:1},reset:!0,config:i,immediate:!r}).value,a)},u$=Object.keys({nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:ol()(oJ),PRGn:ol()(oX),PiYG:ol()(o0),PuOr:ol()(o2),RdBu:ol()(o4),RdGy:ol()(o5),RdYlBu:ol()(o7),RdYlGn:ol()(ae),spectral:ol()(an),blues:ol()(ai),greens:ol()(aa),greys:ol()(al),oranges:ol()(ac),purples:ol()(af),reds:ol()(ap),BuGn:ol()(ag),BuPu:ol()(ay),GnBu:ol()(aw),OrRd:ol()(ax),PuBuGn:ol()(aE),PuBu:ol()(ak),PuRd:ol()(aT),RdPu:ol()(aO),YlGnBu:ol()(aR),YlGn:ol()(aL),YlOrBr:ol()(aA),YlOrRd:ol()(aI)}),uY=(ol()(oJ),ol()(oX),ol()(o0),ol()(o2),ol()(o4),ol()(o5),ol()(o7),ol()(ae),ol()(an),ol()(ai),ol()(aa),ol()(al),ol()(ac),ol()(af),ol()(ap),ol()(ag),ol()(ay),ol()(aw),ol()(ax),ol()(aE),ol()(ak),ol()(aT),ol()(aO),ol()(aR),ol()(aL),ol()(aA),ol()(aI),tL().oneOfType([tL().oneOf(u$),tL().func,tL().arrayOf(tL().string)]),{basis:function(e){return new su(e)},basisClosed:function(e){return new sd(e)},basisOpen:function(e){return new sf(e)},bundle:sp,cardinal:sv,cardinalClosed:sb,cardinalOpen:s_,catmullRom:sE,catmullRomClosed:sk,catmullRomOpen:sT,linear:sO,linearClosed:function(e){return new sP(e)},monotoneX:function(e){return new sF(e)},monotoneY:function(e){return new sA(e)},natural:function(e){return new sI(e)},step:function(e){return new sU(e,.5)},stepAfter:function(e){return new sU(e,1)},stepBefore:function(e){return new sU(e,0)}}),uZ=Object.keys(uY),uG=(tL().oneOf(uZ),uZ.filter(function(e){return e.endsWith("Closed")}),ss()(uZ,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),ss()(uZ,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed")),uJ=tL().oneOf(uG),uK=function(e){if(!uY[e])throw TypeError("'"+e+"', is not a valid curve interpolator identifier.");return uY[e]},uX={defs:tL().arrayOf(tL().shape({id:tL().string.isRequired})).isRequired,fill:tL().arrayOf(tL().shape({id:tL().string.isRequired,match:tL().oneOfType([tL().oneOf(["*"]),tL().object,tL().func]).isRequired})).isRequired},uQ=(tL().oneOf(["ascending","descending","insideOut","none","reverse"]),tL().oneOf(["expand","diverging","none","silhouette","wiggle"]),tL().shape({top:tL().number,right:tL().number,bottom:tL().number,left:tL().number}).isRequired,tL().oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])),u0=(od(aZ),{top:0,right:0,bottom:0,left:0}),u1=function(e,t,n){return void 0===n&&(n={}),(0,w.useMemo)(function(){var r=uk({},u0,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},u2=function(){var e=(0,w.useRef)(null),t=(0,w.useState)({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=(0,w.useState)(function(){return"undefined"!=typeof window?new ResizeObserver(function(e){return r(e[0].contentRect)}):null})[0];return(0,w.useEffect)(function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}},[]),[e,n]},u3=function(e){return(0,w.useMemo)(function(){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?p(e.slice("5")):d(e):function(e){return""+e}},[e])},u4=(0,w.createContext)(),u6={},u5=function(e){var t,n=e.theme,r=e.children,i=(t=void 0===n?u6:n,(0,w.useMemo)(function(){return uU(uI,t)},[t]));return(0,b.jsx)(u4.Provider,{value:i,children:r})};u5.propTypes={children:tL().node.isRequired,theme:tL().object};var u8=function(){return(0,w.useContext)(u4)},u7=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?(0,w.cloneElement)(r,{},t):t};u7.propTypes={children:tL().node.isRequired,condition:tL().bool.isRequired,wrapper:tL().element.isRequired};var u9={position:"relative"},ce=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=e.isInteractive,o=e.animate,a=e.motionStiffness,s=e.motionDamping,l=e.motionConfig,u=(0,w.useRef)(null);return(0,b.jsx)(u5,{theme:n,children:(0,b.jsx)(uH,{animate:o,stiffness:a,damping:s,config:l,children:(0,b.jsx)(i4,{container:u,children:(0,b.jsxs)(u7,{condition:void 0===r||r,wrapper:(0,b.jsx)("div",{style:u9,ref:u}),children:[t,(void 0===i||i)&&(0,b.jsx)(i3,{})]})})})})};ce.propTypes={children:tL().element.isRequired,isInteractive:tL().bool,renderWrapper:tL().bool,theme:tL().object,animate:tL().bool,motionStiffness:tL().number,motionDamping:tL().number,motionConfig:tL().string},tL().func.isRequired,tL().bool,tL().bool,tL().object.isRequired,tL().bool.isRequired,tL().number,tL().number,tL().string;var ct=function(e){var t=e.children,n=u2(),r=n[0],i=n[1],o=i.width>0&&i.height>0;return(0,b.jsx)("div",{ref:r,style:{width:"100%",height:"100%"},children:o&&t({width:i.width,height:i.height})})};ct.propTypes={children:tL().func.isRequired};var cn=["id","colors"],cr=function(e){var t=e.id,n=e.colors,r=uT(e,cn);return(0,b.jsx)("linearGradient",uk({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(e){var t=e.offset,n=e.color,r=e.opacity;return(0,b.jsx)("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)})}))};cr.propTypes={id:tL().string.isRequired,colors:tL().arrayOf(tL().shape({offset:tL().number.isRequired,color:tL().string.isRequired,opacity:tL().number})).isRequired,gradientTransform:tL().string};var ci={linearGradient:cr},co=(0,w.memo)(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,a=e.stagger,s=i+o,l=i/2,u=o/2;return!0===a&&(s=2*i+2*o),(0,b.jsxs)("pattern",{id:t,width:s,height:s,patternUnits:"userSpaceOnUse",children:[(0,b.jsx)("rect",{width:s,height:s,fill:n}),(0,b.jsx)("circle",{cx:u+l,cy:u+l,r:l,fill:r}),a&&(0,b.jsx)("circle",{cx:1.5*o+i+l,cy:1.5*o+i+l,r:l,fill:r})]})});co.displayName="PatternDots",co.propTypes={id:tL().string.isRequired,color:tL().string.isRequired,background:tL().string.isRequired,size:tL().number.isRequired,padding:tL().number.isRequired,stagger:tL().bool.isRequired},co.defaultProps={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1};var ca=function(e){return e*Math.PI/180},cs={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},cl=(0,w.memo)(function(e){var t=e.id,n=e.spacing,r=e.rotation,i=e.background,o=e.color,a=e.lineWidth,s=Math.round(r)%360,l=Math.abs(n);s>180?s-=360:s>90?s-=180:s<-180?s+=360:s<-90&&(s+=180);var u,c=l,d=l;return 0===s?u="\n M 0 0 L "+c+" 0\n M 0 "+d+" L "+c+" "+d+"\n ":90===s?u="\n M 0 0 L 0 "+d+"\n M "+c+" 0 L "+c+" "+d+"\n ":(c=Math.abs(l/Math.sin(ca(s))),d=l/Math.sin(ca(90-s)),u=s>0?"\n M 0 "+-d+" L "+2*c+" "+d+"\n M "+-c+" "+-d+" L "+c+" "+d+"\n M "+-c+" 0 L "+c+" "+2*d+"\n ":"\n M "+-c+" "+d+" L "+c+" "+-d+"\n M "+-c+" "+2*d+" L "+2*c+" "+-d+"\n M 0 "+2*d+" L "+2*c+" 0\n "),(0,b.jsxs)("pattern",{id:t,width:c,height:d,patternUnits:"userSpaceOnUse",children:[(0,b.jsx)("rect",{width:c,height:d,fill:i,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),(0,b.jsx)("path",{d:u,strokeWidth:a,stroke:o,strokeLinecap:"square"})]})});cl.displayName="PatternLines",cl.propTypes={id:tL().string.isRequired,spacing:tL().number.isRequired,rotation:tL().number.isRequired,background:tL().string.isRequired,color:tL().string.isRequired,lineWidth:tL().number.isRequired},cl.defaultProps={spacing:5,rotation:0,color:"#000000",background:"#ffffff",lineWidth:2};var cu=(0,w.memo)(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,a=e.stagger,s=i+o,l=o/2;return!0===a&&(s=2*i+2*o),(0,b.jsxs)("pattern",{id:t,width:s,height:s,patternUnits:"userSpaceOnUse",children:[(0,b.jsx)("rect",{width:s,height:s,fill:n}),(0,b.jsx)("rect",{x:l,y:l,width:i,height:i,fill:r}),a&&(0,b.jsx)("rect",{x:1.5*o+i,y:1.5*o+i,width:i,height:i,fill:r})]})});cu.displayName="PatternSquares",cu.propTypes={id:tL().string.isRequired,color:tL().string.isRequired,background:tL().string.isRequired,size:tL().number.isRequired,padding:tL().number.isRequired,stagger:tL().bool.isRequired},cu.defaultProps={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1};var cc={patternDots:co,patternLines:cl,patternSquares:cu},cd=["type"],cf=uk({},ci,cc),ch=function(e){var t=e.defs;return!t||t.length<1?null:(0,b.jsx)("defs",{"aria-hidden":!0,children:t.map(function(e){var t=e.type,n=uT(e,cd);return cf[t]?(0,w.createElement)(cf[t],uk({key:n.id},n)):null})})};ch.propTypes={defs:tL().arrayOf(tL().shape({type:tL().oneOf(Object.keys(cf)).isRequired,id:tL().string.isRequired}))};var cp=(0,w.memo)(ch),cm=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,a=e.role,s=e.ariaLabel,l=e.ariaLabelledBy,u=e.ariaDescribedBy,c=e.isFocusable,d=u8();return(0,b.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":l,"aria-describedby":u,focusable:c,tabIndex:c?0:void 0,children:[(0,b.jsx)(cp,{defs:i}),(0,b.jsx)("rect",{width:t,height:n,fill:d.background}),(0,b.jsx)("g",{transform:"translate("+r.left+","+r.top+")",children:o})]})};cm.propTypes={width:tL().number.isRequired,height:tL().number.isRequired,margin:tL().shape({top:tL().number.isRequired,left:tL().number.isRequired}).isRequired,defs:tL().array,children:tL().oneOfType([tL().arrayOf(tL().node),tL().node]).isRequired,role:tL().string,isFocusable:tL().bool,ariaLabel:tL().string,ariaLabelledBy:tL().string,ariaDescribedBy:tL().string};var cg=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return(0,b.jsx)("circle",{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:"none"}})};cg.propTypes={size:tL().number.isRequired,color:tL().string.isRequired,borderWidth:tL().number.isRequired,borderColor:tL().string.isRequired};var cv=(0,w.memo)(cg),cy=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?cv:r,o=e.size,a=e.datum,s=e.color,l=e.borderWidth,u=e.borderColor,c=e.label,d=e.labelTextAnchor,f=e.labelYOffset,h=u8(),p=uq(),m=p.animate,g=ig({transform:"translate("+t+", "+n+")",config:p.config,immediate:!m});return(0,b.jsxs)(iU.g,{transform:g.transform,style:{pointerEvents:"none"},children:[(0,w.createElement)(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:u}),c&&(0,b.jsx)("text",{textAnchor:void 0===d?"middle":d,y:void 0===f?-12:f,style:h.dots.text,children:c})]})};cy.propTypes={x:tL().number.isRequired,y:tL().number.isRequired,datum:tL().object.isRequired,size:tL().number.isRequired,color:tL().string.isRequired,borderWidth:tL().number.isRequired,borderColor:tL().string.isRequired,symbol:tL().oneOfType([tL().func,tL().object]),label:tL().oneOfType([tL().string,tL().number]),labelTextAnchor:tL().oneOf(["start","middle","end"]),labelYOffset:tL().number};var cb=(0,w.memo)(cy),cw=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,l=e.legend,u=e.legendPosition,c=e.legendOffsetX,d=e.legendOffsetY,f=e.legendOrientation,h=u8(),p=0,m=0,g=0,v=0;"y"===r?(g=i(o),m=t):(p=i(o),v=n);var y=null;if(l){var w=function(e){var t=e.axis,n=e.width,r=e.height,i=e.position,o=e.offsetX,a=e.offsetY,s=e.orientation,l=0,u=0,c="start";if("x"===t)switch(i){case"top-left":l=-o,u=a,c="end";break;case"top":u=-a,c="horizontal"===s?"middle":"start";break;case"top-right":l=o,u=a,c="horizontal"===s?"start":"end";break;case"right":l=o,u=r/2,c="horizontal"===s?"start":"middle";break;case"bottom-right":l=o,u=r-a,c="start";break;case"bottom":u=r+a,c="horizontal"===s?"middle":"end";break;case"bottom-left":u=r-a,l=-o,c="horizontal"===s?"end":"start";break;case"left":l=-o,u=r/2,c="horizontal"===s?"end":"middle"}else switch(i){case"top-left":l=o,u=-a,c="start";break;case"top":l=n/2,u=-a,c="horizontal"===s?"middle":"start";break;case"top-right":l=n-o,u=-a,c="horizontal"===s?"end":"start";break;case"right":l=n+o,c="horizontal"===s?"start":"middle";break;case"bottom-right":l=n-o,u=a,c="end";break;case"bottom":l=n/2,u=a,c="horizontal"===s?"middle":"end";break;case"bottom-left":l=o,u=a,c="horizontal"===s?"start":"end";break;case"left":l=-o,c="horizontal"===s?"end":"middle"}return{x:l,y:u,rotation:"vertical"===s?-90:0,textAnchor:c}}({axis:r,width:t,height:n,position:u,offsetX:c,offsetY:d,orientation:f});y=(0,b.jsx)("text",{transform:"translate("+w.x+", "+w.y+") rotate("+w.rotation+")",textAnchor:w.textAnchor,dominantBaseline:"central",style:s,children:l})}return(0,b.jsxs)("g",{transform:"translate("+p+", "+g+")",children:[(0,b.jsx)("line",{x1:0,x2:m,y1:0,y2:v,stroke:h.markers.lineColor,strokeWidth:h.markers.lineStrokeWidth,style:a}),y]})};cw.propTypes={width:tL().number.isRequired,height:tL().number.isRequired,axis:tL().oneOf(["x","y"]).isRequired,scale:tL().func.isRequired,value:tL().oneOfType([tL().number,tL().string,tL().instanceOf(Date)]).isRequired,lineStyle:tL().object,textStyle:tL().object,legend:tL().string,legendPosition:tL().oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:tL().number.isRequired,legendOffsetY:tL().number.isRequired,legendOrientation:tL().oneOf(["horizontal","vertical"]).isRequired},cw.defaultProps={legendPosition:"top-right",legendOffsetX:14,legendOffsetY:14,legendOrientation:"horizontal"};var c_=(0,w.memo)(cw),cx=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map(function(e,t){return(0,b.jsx)(c_,uk({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)}):null};cx.propTypes={width:tL().number.isRequired,height:tL().number.isRequired,xScale:tL().func.isRequired,yScale:tL().func.isRequired,markers:tL().arrayOf(tL().shape({axis:tL().oneOf(["x","y"]).isRequired,value:tL().oneOfType([tL().number,tL().string,tL().instanceOf(Date)]).isRequired,lineStyle:tL().object,textStyle:tL().object}))};var cD=(0,w.memo)(cx),cE=["theme","renderWrapper","animate","motionStiffness","motionDamping","motionConfig"],cC=function(e){return function(t){function n(){return t.apply(this,arguments)||this}return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,uS(n,t),n.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionStiffness,a=t.motionDamping,s=t.motionConfig,l=uT(t,cE);return(0,b.jsx)(ce,{theme:n,renderWrapper:r,isInteractive:l.isInteractive,animate:i,motionStiffness:o,motionDamping:a,motionConfig:s,children:(0,b.jsx)(e,uk({},l))})},n}(w.Component)},ck=function(e,t){var n,r=so()(e)?e:function(t){return i7()(t,e)};return t&&(n=so()(t)?t:d(t)),n?function(e){return n(r(e))}:r},cS=function(e,t){var n=t.clientX,r=t.clientY,i=e.getBoundingClientRect(),o=e.getBBox(),a=o.width===i.width?1:o.width/i.width;return[(n-i.left)*a,(r-i.top)*a]},cT=Object.keys(ci),cM=Object.keys(cc),cO=function(e,t,n){if("*"===e)return!0;if(so()(e))return e(t);if(uD()(e)){var r=n?i7()(t,n):t;return u_()(uC()(r,Object.keys(e)),e)}return!1},cP=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,l=i.targetKey,u=void 0===l?"fill":l,c=[],d={};return e.length&&t.length&&(c=[].concat(e),t.forEach(function(t){for(var r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return a9.h=360*e-100,a9.s=1.5-1.5*t,a9.l=.8-.9*t,a9+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,st.r=255*(t=Math.sin(e))*t,st.g=255*(t=Math.sin(e+sn))*t,st.b=255*(t=Math.sin(e+sr))*t,st+""}})),function(e,t){if("function"==typeof e)return e;if(uD()(e)){if(void 0!==e.theme){if(void 0===t)throw Error("Unable to use color from theme as no theme was provided");var n=i7()(t,e.theme);if(void 0===n)throw Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(void 0!==e.from){var r=function(t){return i7()(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return cj(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cj(e,void 0):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(i=a()).done;)!function(){var e=i.value,t=e[0],n=e[1];if("brighter"===t)o.push(function(e){return e.brighter(n)});else if("darker"===t)o.push(function(e){return e.darker(n)});else{if("opacity"!==t)throw Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");o.push(function(e){return e.opacity=n,e})}}();return 0===o.length?r:function(e){return o.reduce(function(e,t){return t(e)},oj(r(e))).toString()}}return r}throw Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}}),cV=function(e,t){return(0,w.useMemo)(function(){return cH(e,t)},[e,t])},cq=tL().oneOfType([tL().func,tL().arrayOf(tL().string),tL().shape({scheme:tL().oneOf(cz).isRequired,size:tL().number}),tL().shape({datum:tL().string.isRequired}),tL().string]),cW=(tL().oneOfType([tL().string,tL().func,tL().shape({theme:tL().string.isRequired}),tL().shape({from:tL().string.isRequired,modifiers:tL().arrayOf(tL().array)})]),function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return i7()(e,t)};if(Array.isArray(e)){var r=od(e),i=function(e){return r(n(e))};return i.scale=r,i}if(uD()(e)){if(void 0!==e.datum)return function(t){return i7()(t,e.datum)};if(void 0!==e.scheme){if(o=e.scheme,cF.includes(o)){var o,a,s,l=od(cU[e.scheme]),u=function(e){return l(n(e))};return u.scale=l,u}if(a=e.scheme,cN.includes(a)){if(void 0!==e.size&&(e.size<3||e.size>11))throw Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var c=od(cU[e.scheme][e.size||11]),d=function(e){return c(n(e))};return d.scale=c,d}if(s=e.scheme,cB.includes(s)){if(void 0!==e.size&&(e.size<3||e.size>9))throw Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var f=od(cU[e.scheme][e.size||9]),h=function(e){return f(n(e))};return h.scale=f,h}}throw Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}}),c$=n(95492),cY=n.n(c$),cZ=n(90374),cG=n.n(cZ),cJ=n(60229),cK=n.n(cJ),cX=n(62878),cQ=n.n(cX),c0=Math.sqrt(50),c1=Math.sqrt(10),c2=Math.sqrt(2);function c3(e,t,n){var r,i,o,a,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t0){let n=Math.round(e/a),r=Math.round(t/a);for(n*at&&--r,o=Array(i=r-n+1);++st&&--r,o=Array(i=r-n+1);++s=0?(o>=c0?10:o>=c1?5:o>=c2?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=c0?10:o>=c1?5:o>=c2?2:1)}function c6(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=c0?i*=10:o>=c1?i*=5:o>=c2&&(i*=2),tt?1:e>=t?0:NaN}function c8(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;0>n(e[o],t)?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=(t,n)=>c5(e(t),n)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);let a=r(e,n,i,o-1);return a>i&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}let c7=c8(c5),c9=c7.right;function de(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function dt(e){return+e}c7.left,c8(function(e){return null===e?NaN:+e}).center;var dn=[0,1];function dr(e){return e}function di(e,t){var n;return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n})}function da(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return it&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?ds:da,i=o=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,l)))(e(u(t)))}return d.invert=function(n){return u(t((o||(o=r(s,a.map(e),ot)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,dt),c()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),c()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=de,c()},d.clamp=function(e){return arguments.length?(u=!!e||dr,c()):u!==dr},d.interpolate=function(e){return arguments.length?(l=e,c()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,c()}}function dc(e){var t=e.domain;return e.ticks=function(e){var n=t();return c3(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,o,a=c6(e,t,n);switch((r=sq(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(sH(s)/3)))-sH(Math.abs(a))))||(r.precision=o),f(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Math.max(0,sH(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=a)))-sH(i))+1)||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Math.max(0,-sH(Math.abs(a))))||(r.precision=o-("%"===r.type)*2)}return d(r)}(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,l=o[a],u=o[s],c=10;for(u0;){if((i=c4(l,u,n))===r)return o[a]=l,o[s]=u,t(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else if(i<0)l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i;else break;r=i}return e},e}function dd(){var e,t,n=od().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,u=0,c=.5;function d(){var n=r().length,d=a0))return s;do s.push(a=new Date(+n)),t(n,o),e(n);while(a=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e){if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}})},n&&(i.count=function(t,r){return df.setTime(+t),dh.setTime(+r),e(df),e(dh),Math.floor(n(df,dh))},i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var dm=dp(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});dm.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?dp(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):dm:null},dm.range;var dg=dp(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()});dg.range;var dv=dp(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()});dv.range;var dy=dp(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()});dy.range;var db=dp(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);function dw(e){return dp(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5})}db.range;var d_=dw(0),dx=dw(1),dD=dw(2),dE=dw(3),dC=dw(4),dk=dw(5),dS=dw(6);d_.range,dx.range,dD.range,dE.range,dC.range,dk.range,dS.range;var dT=dp(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});dT.range;var dM=dp(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});dM.every=function(e){return isFinite(e=Math.floor(e))&&e>0?dp(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},dM.range;var dO=dp(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()});dO.range;var dP=dp(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()});dP.range;var dR=dp(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});function dj(e){return dp(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}dR.range;var dL=dj(0),dF=dj(1),dA=dj(2),dN=dj(3),dI=dj(4),dB=dj(5),dU=dj(6);dL.range,dF.range,dA.range,dN.range,dI.range,dB.range,dU.range;var dz=dp(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});dz.range;var dH=dp(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function dV(e,t,n,r,i,o){let a=[[dg,1,1e3],[dg,5,5e3],[dg,15,15e3],[dg,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function s(t,n,r){let i=Math.abs(n-t)/r,o=c8(([,,e])=>e).right(a,i);if(o===a.length)return e.every(c6(t/31536e6,n/31536e6,r));if(0===o)return dm.every(Math.max(c6(t,n,r),1));let[s,l]=a[i/a[o-1][2]0?dp(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},dH.range;let[dq,dW]=dV(dH,dz,dL,dR,dP,dO),[d$,dY]=dV(dM,dT,d_,db,dy,dv);function dZ(e,t){e=e.slice();var n,r=0,i=e.length-1,o=e[r],a=e[i];return a0?e>1?sQ(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):d5:null},d5.range;var d8=sQ(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()});d8.range;var d7=sQ(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()});d7.range;var d9=sQ(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()});d9.range;var fe=sQ(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()});fe.range;var ft=sQ(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()});ft.range;var fn=sQ(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});fn.range;var fr=sQ(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});function fi(){return(fi=Object.assign||function(e){for(var t=1;t0){for(;f<=h;++f)for(c=1,u=n(f);cl)break;m.push(d)}}else for(;f<=h;++f)for(c=o-1,u=n(f);c>=1;--c)if(!((d=u*c)l)break;m.push(d)}2*m.length0?(g=d.align[m?"left":"right"],v=d.baseline.center):("after"===i&&l>0||"before"===i&&l<0)&&(g=d.align[m?"right":"left"],v=d.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=f(e))?t:0}},h.lineX=a*("after"===i?1:-1),p.textX=(a+s)*("after"===i?1:-1),g="after"===i?d.align.left:d.align.right),{ticks:c.map(function(e){return fO({key:e instanceof Date?""+e.valueOf():""+e,value:e},t(e),h,p)}),textAlign:g,textBaseline:v}},fR=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=p(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return d(e)},fj=function(e){var t=e.width,n=e.height,r=e.scale,i=e.axis,o=e.values,a=(Array.isArray(o)?o:void 0)||fM(r,o),s="bandwidth"in r?fk(r):r;return"x"===i?a.map(function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=s(e))?t:0,x2:null!=(r=s(e))?r:0,y1:0,y2:n}}):a.map(function(e){var n,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:t,y1:null!=(n=s(e))?n:0,y2:null!=(r=s(e))?r:0}})},fL=(0,w.memo)(function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,l=e.textAnchor,u=e.animatedProps,c=u8(),d=null!=(t=null==r?void 0:r(n))?t:n,f=(0,w.useMemo)(function(){var e={opacity:u.opacity};return a?{style:fO({},e,{cursor:"pointer"}),onClick:function(e){return a(e,d)}}:{style:e}},[u.opacity,a,d]);return(0,b.jsxs)(iU.g,fO({transform:u.transform},f,{children:[(0,b.jsx)("line",{x1:0,x2:i,y1:0,y2:o,style:c.axis.ticks.line}),(0,b.jsx)(iU.text,{dominantBaseline:s,textAnchor:l,transform:u.textTransform,style:c.axis.ticks.text,children:d})]}))}),fF=(0,w.memo)(function(e){var t=e.axis,n=e.scale,r=e.x,i=e.y,o=e.length,a=e.ticksPosition,s=e.tickValues,l=e.tickSize,u=e.tickPadding,c=e.tickRotation,d=void 0===c?0:c,f=e.format,h=e.renderTick,p=void 0===h?fL:h,m=e.legend,g=e.legendPosition,v=void 0===g?"end":g,y=e.legendOffset,_=void 0===y?0:y,x=e.onClick,D=e.ariaHidden,E=u8(),C=(0,w.useMemo)(function(){return fR(f,n)},[f,n]),k=fP({axis:t,scale:n,ticksPosition:a,tickValues:s,tickSize:void 0===l?5:l,tickPadding:void 0===u?5:u,tickRotation:d}),S=k.ticks,T=k.textAlign,M=k.textBaseline,O=null;if(void 0!==m){var P,R=0,j=0,L=0;"y"===t?(L=-90,R=_,"start"===v?(P="start",j=o):"middle"===v?(P="middle",j=o/2):"end"===v&&(P="end")):(j=_,"start"===v?P="start":"middle"===v?(P="middle",R=o/2):"end"===v&&(P="end",R=o)),O=(0,b.jsx)("text",{transform:"translate("+R+", "+j+") rotate("+L+")",textAnchor:P,style:fO({dominantBaseline:"central"},E.axis.legend.text),children:m})}var F=uq(),A=F.animate,N=F.config,I=ig({transform:"translate("+(void 0===r?0:r)+","+(void 0===i?0:i)+")",lineX2:"x"===t?o:0,lineY2:"x"===t?0:o,config:N,immediate:!A}),B=iv(S,{keys:function(e){return e.key},initial:function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+d+")"}},from:function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+d+")"}},enter:function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+d+")"}},update:function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+d+")"}},leave:{opacity:0},config:N,immediate:!A});return(0,b.jsxs)(iU.g,{transform:I.transform,"aria-hidden":D,children:[B(function(e,t,n,r){return w.createElement(p,fO({tickIndex:r,format:C,rotate:d,textBaseline:M,textAnchor:T,animatedProps:e},t,x?{onClick:x}:{}))}),(0,b.jsx)(iU.line,{style:E.axis.domain.line,x1:0,x2:I.lineX2,y1:0,y2:I.lineY2}),O]})}),fA={ticksPosition:tL().oneOf(["before","after"]),tickValues:tL().oneOfType([tL().number,tL().arrayOf(tL().oneOfType([tL().number,tL().string,tL().instanceOf(Date)])),tL().string]),tickSize:tL().number,tickPadding:tL().number,tickRotation:tL().number,format:tL().oneOfType([tL().func,tL().string]),renderTick:tL().func,legend:tL().node,legendPosition:tL().oneOf(["start","middle","end"]),legendOffset:tL().number,ariaHidden:tL().bool},fN=tL().shape(fA),fI=["top","right","bottom","left"],fB=(0,w.memo)(function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return(0,b.jsx)(b.Fragment,{children:fI.map(function(e){var a=o[e];if(!a)return null;var s="top"===e||"bottom"===e;return(0,b.jsx)(fF,fO({},a,{axis:s?"x":"y",x:"right"===e?r:0,y:"bottom"===e?i:0,scale:s?t:n,length:s?r:i,ticksPosition:"top"===e||"left"===e?"before":"after"}),e)})})}),fU=(0,w.memo)(function(e){var t=e.animatedProps,n=u8();return(0,b.jsx)(iU.line,fO({},t,n.grid.line))}),fz=(0,w.memo)(function(e){var t=e.lines,n=uq(),r=n.animate,i=iv(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return(0,b.jsx)("g",{children:i(function(e,t){return(0,w.createElement)(fU,fO({},t,{key:t.key,animatedProps:e}))})})}),fH=(0,w.memo)(function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,a=e.yValues,s=(0,w.useMemo)(function(){return!!r&&fj({width:t,height:n,scale:r,axis:"x",values:o})},[r,o,t,n]),l=(0,w.useMemo)(function(){return!!i&&fj({width:t,height:n,scale:i,axis:"y",values:a})},[n,t,i,a]);return(0,b.jsxs)(b.Fragment,{children:[s&&(0,b.jsx)(fz,{lines:s}),l&&(0,b.jsx)(fz,{lines:l})]})}),fV=function(e,t){var n,r=t.axis,i=t.scale,o=t.x,a=t.y,s=t.length,l=t.ticksPosition,u=t.tickValues,c=t.tickSize,d=t.tickPadding,f=t.tickRotation,h=void 0===f?0:f,p=t.format,m=t.legend,g=t.legendPosition,v=void 0===g?"end":g,y=t.legendOffset,b=void 0===y?0:y,w=t.theme,_=fP({axis:r,scale:i,ticksPosition:l,tickValues:u,tickSize:void 0===c?5:c,tickPadding:void 0===d?5:d,tickRotation:h,engine:"canvas"}),x=_.ticks,D=_.textAlign,E=_.textBaseline;e.save(),e.translate(void 0===o?0:o,void 0===a?0:a),e.textAlign=D,e.textBaseline=E,e.font=(w.axis.ticks.text.fontWeight?w.axis.ticks.text.fontWeight+" ":"")+w.axis.ticks.text.fontSize+"px "+w.axis.ticks.text.fontFamily,(null!=(n=w.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(w.axis.domain.line.strokeWidth),e.lineCap="square",w.axis.domain.line.stroke&&(e.strokeStyle=w.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===r?s:0,"x"===r?0:s),e.stroke());var C="function"==typeof p?p:function(e){return""+e};if(x.forEach(function(t){(null!=(n=w.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(w.axis.ticks.line.strokeWidth),e.lineCap="square",w.axis.ticks.line.stroke&&(e.strokeStyle=w.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var n,r=C(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(ca(h)),w.axis.ticks.text.fill&&(e.fillStyle=w.axis.ticks.text.fill),e.fillText(String(r),0,0),e.restore()}),void 0!==m){var k=0,S=0,T=0,M="center";"y"===r?(T=-90,k=b,"start"===v?(M="start",S=s):"middle"===v?(M="center",S=s/2):"end"===v&&(M="end")):(S=b,"start"===v?M="start":"middle"===v?(M="center",k=s/2):"end"===v&&(M="end",k=s)),e.translate(k,S),e.rotate(ca(T)),e.font=(w.axis.legend.text.fontWeight?w.axis.legend.text.fontWeight+" ":"")+w.axis.legend.text.fontSize+"px "+w.axis.legend.text.fontFamily,w.axis.legend.text.fill&&(e.fillStyle=w.axis.legend.text.fill),e.textAlign=M,e.textBaseline="middle",e.fillText(m,0,0)}e.restore()},fq=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.top,s=t.right,l=t.bottom,u=t.left,c=t.theme,d={top:a,right:s,bottom:l,left:u};fI.forEach(function(t){var a=d[t];if(!a)return null;var s="top"===t||"bottom"===t,l=s?n:r,u=fR(a.format,l);fV(e,fO({},a,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:l,format:u,length:s?i:o,ticksPosition:"top"===t||"left"===t?"before":"after",theme:c}))})},fW=function(e,t){fj({width:t.width,height:t.height,scale:t.scale,axis:t.axis,values:t.values}).forEach(function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()})};function f$(){return(f$=Object.assign||function(e){for(var t=1;t1e-6){if(Math.abs(c*s-l*u)>1e-6&&i){var f=n-o,h=r-a,p=s*s+l*l,m=Math.sqrt(p),g=Math.sqrt(d),v=i*Math.tan((f4-Math.acos((p+d-(f*f+h*h))/(2*m*g)))/2),y=v/g,b=v/m;Math.abs(y-1)>1e-6&&(this._+="L"+(e+y*u)+","+(t+y*c)),this._+="A"+i+","+i+",0,0,"+ +(c*f>u*h)+","+(this._x1=e+b*s)+","+(this._y1=t+b*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)}},arc:function(e,t,n,r,i,o){e=+e,t=+t,n=+n,o=!!o;var a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,u=t+s,c=1^o,d=o?r-i:i-r;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+u:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+l+","+u),n&&(d<0&&(d=d%f6+f6),d>f5?this._+="A"+n+","+n+",0,1,"+c+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=l)+","+(this._y1=u):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=f4)+","+c+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};let hr=new Uint32Array(512);class hi{static from(e,t=hc,n=hd){let r=e.length,i=new Float64Array(2*r);for(let o=0;o>1;if(t>0&&"number"!=typeof e[0])throw Error("Expected coords to contain numbers.");this.coords=e;let n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){let e,t,n;let{coords:r,_hullPrev:i,_hullNext:o,_hullTri:a,_hullHash:s}=this,l=r.length>>1,u=1/0,c=1/0,d=-1/0,f=-1/0;for(let e=0;ed&&(d=t),n>f&&(f=n),this._ids[e]=e}let h=(u+d)/2,p=(c+f)/2,m=1/0;for(let t=0;t0&&(t=n,m=i)}let y=r[2*t],b=r[2*t+1],w=1/0;for(let i=0;ir&&(e[t++]=i,r=this._dists[i])}this.hull=e.subarray(0,t),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(hs(g,v,y,b,_,x)){let e=t,r=y,i=b;t=n,y=_,b=x,n=e,_=r,x=i}let D=function(e,t,n,r,i,o){let a=n-e,s=r-t,l=i-e,u=o-t,c=a*a+s*s,d=l*l+u*u,f=.5/(a*u-s*l);return{x:e+(u*c-s*d)*f,y:t+(a*d-l*c)*f}}(g,v,y,b,_,x);this._cx=D.x,this._cy=D.y;for(let e=0;e0&&2220446049250313e-31>=Math.abs(f-u)&&2220446049250313e-31>=Math.abs(h-c)||(u=f,c=h,d===e||d===t||d===n))continue;let p=0;for(let e=0,t=this._hashKey(f,h);e0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){let{_triangles:t,_halfedges:n,coords:r}=this,i=0,o=0;for(;;){let a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=hr[--i];continue}let l=a-a%3,u=s+(e+1)%3,c=l+(a+2)%3,d=t[o],f=t[e],h=t[u],p=t[c];if(function(e,t,n,r,i,o,a,s){let l=e-a,u=t-s,c=n-a,d=r-s,f=i-a,h=o-s,p=c*c+d*d,m=f*f+h*h;return l*(d*m-p*h)-u*(c*m-p*f)+(l*l+u*u)*(c*h-d*f)<0}(r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[a]=d;let r=n[c];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===c){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[o]),this._link(o,c);let s=l+(a+1)%3;i=33306690738754716e-32*Math.abs(a+s)?a-s:0}function hs(e,t,n,r,i,o){return 0>(ha(i,o,e,t,n,r)||ha(e,t,n,r,i,o)||ha(n,r,i,o,e,t))}function hl(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){let r=e[i],o=t[r],a=i-1;for(;a>=n&&t[e[a]]>o;)e[a+1]=e[a--];e[a+1]=r}else{let i=n+r>>1,o=n+1,a=r;hu(e,i,o),t[e[n]]>t[e[r]]&&hu(e,n,r),t[e[o]]>t[e[r]]&&hu(e,o,r),t[e[n]]>t[e[o]]&&hu(e,n,o);let s=e[o],l=t[s];for(;;){do o++;while(t[e[o]]l);if(a=a-n?(hl(e,t,o,r),hl(e,t,n,a-1)):(hl(e,t,n,a-1),hl(e,t,o,r))}}function hu(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function hc(e){return e[0]}function hd(e){return e[1]}class hf{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){e=+e,t=+t;let r=e+(n=+n),i=t;if(n<0)throw Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>1e-6||Math.abs(this._y1-i)>1e-6)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class hh{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class hp{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t))||!((i=+i)>=(n=+n)))throw Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){let{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let t=0,r=0,o=n.length,a,s;tMath.abs(x))a=(c+p)/2,s=(d+m)/2;else{let e=1/x;a=c+(b*w-v*_)*e,s=d+(g*_-y*w)*e}}else a=(c+p)/2-1e8*b,s=(d+m)/2+1e8*y;i[r]=a,i[r+1]=s}let o=t[t.length-1],a,s=4*o,l,u=e[2*o],c,d=e[2*o+1];r.fill(0);for(let n=0;n1;)i-=2;for(let e=2;e4)for(let e=0;e0){if(t>=this.ymax)return null;(o=(this.ymax-t)/r)0){if(e>=this.xmax)return null;(o=(this.xmax-e)/n)this.xmax?2:0)|(tthis.ymax?8:0)}}let hm=2*Math.PI,hg=Math.pow;function hv(e){return e[0]}function hy(e){return e[1]}class hb{static from(e,t=hv,n=hy,r){return new hb("length"in e?function(e,t,n,r){let i=e.length,o=new Float64Array(2*i);for(let a=0;a2&&function(e){let{triangles:t,coords:n}=e;for(let e=0;e1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]);let e=this.collinear[0],i=this.collinear[this.collinear.length-1],o=[t[2*e],t[2*e+1],t[2*i],t[2*i+1]],a=1e-8*Math.hypot(o[3]-o[1],o[2]-o[0]);for(let e=0,i=t.length/2;e0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=o[0],this.triangles[1]=o[1],this.triangles[2]=o[1],s[o[0]]=1,2===o.length&&(s[o[1]]=0))}voronoi(e){return new hp(this,e)}*neighbors(e){let{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){let t=a.indexOf(e);t>0&&(yield a[t-1]),t=0&&r!==n&&r!==i;)n=r;return r}_step(e,t,n){let{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let u=e,c=hg(t-l[2*e],2)+hg(n-l[2*e+1],2),d=r[e],f=d;do{let r=s[f],d=hg(t-l[2*r],2)+hg(n-l[2*r+1],2);if(d=c;--d)s.point(g[d],v[d]);s.lineEnd(),s.areaEnd()}}m&&(g[u]=+e(f,u,l),v[u]=+n(f,u,l),s.point(t?+t(f,u,l):g[u],r?+r(f,u,l):v[u]))}if(h)return s=null,h+""||null}function u(){return hn().defined(i).curve(a).context(o)}return l.x=function(n){return arguments.length?(e="function"==typeof n?n:f9(+n),t=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:f9(+t),l):e},l.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:f9(+e),l):t},l.y=function(e){return arguments.length?(n="function"==typeof e?e:f9(+e),r=null,l):n},l.y0=function(e){return arguments.length?(n="function"==typeof e?e:f9(+e),l):n},l.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:f9(+e),l):r},l.lineX0=l.lineY0=function(){return u().x(e).y(n)},l.lineY1=function(){return u().x(e).y(r)},l.lineX1=function(){return u().x(t).y(n)},l.defined=function(e){return arguments.length?(i="function"==typeof e?e:f9(!!e),l):i},l.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),l):a},l.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),l):o},l})().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y1(function(e){return e.y}).curve(uK(t)).y0(n(r))},[t,n,r])},hU=function(e){var t=e.enableSlices,n=e.points,r=e.width,i=e.height;return(0,w.useMemo)(function(){if(!1===t)return[];if("x"===t){var e=new Map;return n.forEach(function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))}),Array.from(e.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,a=e[0],s=e[1],l=n[t-1],u=n[t+1];return{id:a,x0:o=l?a-(a-l[0])/2:a,x:a,y0:0,y:0,width:u?a-o+(u[0]-a)/2:r-o,height:i,points:s.reverse()}})}if("y"===t){var o=new Map;return n.forEach(function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))}),Array.from(o.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,a,s=e[0],l=e[1],u=n[t-1],c=n[t+1];return o=u?s-(s-u[0])/2:s,a=c?s-o+(c[0]-s)/2:i-o,{id:s,x0:0,x:0,y0:o,y:s,width:r,height:a,points:l.reverse()}})}},[t,n])},hz=function(e){var t,n,r,i,o,a,s=e.data,l=e.xScale,u=void 0===l?hA.xScale:l,c=e.xFormat,d=e.yScale,f=void 0===d?hA.yScale:d,h=e.yFormat,p=e.width,m=e.height,g=e.colors,v=void 0===g?hA.colors:g,y=e.curve,b=void 0===y?hA.curve:y,_=e.areaBaselineValue,x=void 0===_?hA.areaBaselineValue:_,D=e.pointColor,E=void 0===D?hA.pointColor:D,C=e.pointBorderColor,k=void 0===C?hA.pointBorderColor:C,S=e.enableSlices,T=void 0===S?hA.enableSlicesTooltip:S,M=u3(c),O=u3(h),P=(0,w.useMemo)(function(){return cW(v,"id")},[v,"id"]),R=u8(),j=cV(E,R),L=cV(k,R),F=(0,w.useState)([]),A=F[0],N=F[1],I=(0,w.useMemo)(function(){return fw(s.filter(function(e){return -1===A.indexOf(e.id)}),u,f,p,m)},[s,A,u,f,p,m]),B=I.xScale,U=I.yScale,z=I.series,H=(0,w.useMemo)(function(){var e=s.map(function(e){return{id:e.id,label:e.id,color:P(e)}}),t=e.map(function(e){return hS({},z.find(function(t){return t.id===e.id}),{color:e.color})}).filter(function(e){return!!e.id});return{legendData:e.map(function(e){return hS({},e,{hidden:!t.find(function(t){return t.id===e.id})})}).reverse(),series:t}},[s,z,P]),V=H.legendData,q=H.series,W=(0,w.useCallback)(function(e){N(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),$=(n=(t={series:q,getPointColor:j,getPointBorderColor:L,formatX:M,formatY:O}).series,r=t.getPointColor,i=t.getPointBorderColor,o=t.formatX,a=t.formatY,(0,w.useMemo)(function(){return n.reduce(function(e,t){return[].concat(e,t.data.filter(function(e){return null!==e.position.x&&null!==e.position.y}).map(function(n,s){var l={id:t.id+"."+s,index:e.length+s,serieId:t.id,serieColor:t.color,x:n.position.x,y:n.position.y};return l.color=r(t),l.borderColor=i(l),l.data=hS({},n.data,{xFormatted:o(n.data.x),yFormatted:a(n.data.y)}),l}))},[])},[n,r,i,o,a])),Y=hU({enableSlices:T,points:$,width:p,height:m});return{legendData:V,toggleSerie:W,lineGenerator:hI({curve:b}),areaGenerator:hB({curve:b,yScale:U,areaBaselineValue:x}),getColor:P,series:q,xScale:B,yScale:U,slices:Y,points:$}},hH=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=uq(),s=a.animate,l=a.config,u=uW(o),c=ig({color:r,config:l,immediate:!s});return(0,b.jsx)(iU.path,{d:u,fill:i||c.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})};hH.propTypes={areaBlendMode:uQ.isRequired,areaOpacity:tL().number.isRequired,color:tL().string,fill:tL().string,path:tL().string.isRequired};var hV=function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode,i=e.lines.slice(0).reverse();return(0,b.jsx)("g",{children:i.map(function(e){return(0,b.jsx)(hH,hS({path:t(e.data.map(function(e){return e.position}))},hS({areaOpacity:n,areaBlendMode:r},e)),e.id)})})};hV.propTypes={areaGenerator:tL().func.isRequired,areaOpacity:tL().number.isRequired,areaBlendMode:uQ.isRequired,lines:tL().arrayOf(tL().object).isRequired};var hq=(0,w.memo)(hV),hW=function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=uW((0,w.useMemo)(function(){return t(n)},[t,n]));return(0,b.jsx)(iU.path,{d:o,fill:"none",strokeWidth:i,stroke:r})};hW.propTypes={points:tL().arrayOf(tL().shape({x:tL().oneOfType([tL().string,tL().number]),y:tL().oneOfType([tL().string,tL().number])})),lineGenerator:tL().func.isRequired,color:tL().string.isRequired,thickness:tL().number.isRequired};var h$=(0,w.memo)(hW),hY=function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map(function(e){var t=e.id,i=e.data,o=e.color;return(0,b.jsx)(h$,{id:t,points:i.map(function(e){return e.position}),lineGenerator:n,color:o,thickness:r},t)})};hY.propTypes={lines:tL().arrayOf(tL().shape({id:tL().oneOfType([tL().string,tL().number]).isRequired,color:tL().string.isRequired,data:tL().arrayOf(tL().shape({data:tL().shape({x:tL().oneOfType([tL().string,tL().number,tL().instanceOf(Date)]),y:tL().oneOfType([tL().string,tL().number,tL().instanceOf(Date)])}).isRequired,position:tL().shape({x:tL().number,y:tL().number}).isRequired})).isRequired})).isRequired,lineWidth:tL().number.isRequired,lineGenerator:tL().func.isRequired};var hZ=(0,w.memo)(hY),hG=function(e){var t=e.slice,n=e.axis,r=e.debug,i=e.tooltip,o=e.isCurrent,a=e.setCurrent,s=i1(),l=s.showTooltipFromEvent,u=s.hideTooltip,c=(0,w.useCallback)(function(e){l((0,w.createElement)(i,{slice:t,axis:n}),e,"right"),a(t)},[l,i,t]),d=(0,w.useCallback)(function(e){l((0,w.createElement)(i,{slice:t,axis:n}),e,"right")},[l,i,t]),f=(0,w.useCallback)(function(){u(),a(null)},[u]);return(0,b.jsx)("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:r?1:0,strokeOpacity:.75,fill:"red",fillOpacity:o&&r?.35:0,onMouseEnter:c,onMouseMove:d,onMouseLeave:f})};hG.propTypes={slice:tL().object.isRequired,axis:tL().oneOf(["x","y"]).isRequired,debug:tL().bool.isRequired,height:tL().number.isRequired,tooltip:tL().oneOfType([tL().func,tL().object]),isCurrent:tL().bool.isRequired,setCurrent:tL().func.isRequired};var hJ=(0,w.memo)(hG),hK=function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,a=e.current,s=e.setCurrent;return t.map(function(e){return(0,b.jsx)(hJ,{slice:e,axis:n,debug:r,height:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id},e.id)})};hK.propTypes={slices:tL().arrayOf(tL().shape({id:tL().oneOfType([tL().number,tL().string,tL().instanceOf(Date)]).isRequired,x:tL().number.isRequired,y:tL().number.isRequired,points:tL().arrayOf(tL().object).isRequired})).isRequired,axis:tL().oneOf(["x","y"]).isRequired,debug:tL().bool.isRequired,height:tL().number.isRequired,tooltip:tL().oneOfType([tL().func,tL().object]).isRequired,current:tL().object,setCurrent:tL().func.isRequired};var hX=(0,w.memo)(hK),hQ=function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,l=u8(),u=ck(a),c=t.slice(0).reverse().map(function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?u(e.data):null}});return(0,b.jsx)("g",{children:c.map(function(e){return(0,b.jsx)(cb,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:s,theme:l},e.id)})})};hQ.propTypes={points:tL().arrayOf(tL().object),symbol:tL().func,size:tL().number.isRequired,color:tL().func.isRequired,borderWidth:tL().number.isRequired,borderColor:tL().func.isRequired,enableLabel:tL().bool.isRequired,label:tL().oneOfType([tL().string,tL().func]).isRequired,labelYOffset:tL().number};var h0=(0,w.memo)(hQ),h1=function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,l=e.onMouseLeave,u=e.onClick,c=e.tooltip,d=e.debug,f=i1(),h=f.showTooltipAt,p=f.hideTooltip,m=(0,w.useCallback)(function(e,t){h((0,w.createElement)(c,{point:e}),[e.x+i.left,e.y+i.top],"top"),o(e),a&&a(e,t)},[o,h,c,a,i]),g=(0,w.useCallback)(function(e,t){h((0,w.createElement)(c,{point:e}),[e.x+i.left,e.y+i.top],"top"),o(e),s&&s(e,t)},[o,h,c,s]),v=(0,w.useCallback)(function(e,t){p(),o(null),l&&l(e,t)},[p,o,l]),y=(0,w.useCallback)(function(e,t){u&&u(e,t)},[u]);return(0,b.jsx)(hE,{nodes:t,width:n,height:r,onMouseEnter:m,onMouseMove:g,onMouseLeave:v,onClick:y,debug:d})};h1.propTypes={points:tL().arrayOf(tL().object).isRequired,width:tL().number.isRequired,height:tL().number.isRequired,margin:tL().object.isRequired,setCurrent:tL().func.isRequired,onMouseEnter:tL().func,onMouseMove:tL().func,onMouseLeave:tL().func,onClick:tL().func,tooltip:tL().oneOfType([tL().func,tL().object]).isRequired,debug:tL().bool.isRequired};var h2=(0,w.memo)(h1),h3=function(e){var t=e.data,n=e.xScale,r=e.xFormat,i=e.yScale,o=e.yFormat,a=e.layers,s=e.curve,l=e.areaBaselineValue,u=e.colors,c=e.margin,d=e.width,f=e.height,h=e.axisTop,p=e.axisRight,m=e.axisBottom,g=e.axisLeft,v=e.enableGridX,y=e.enableGridY,_=e.gridXValues,x=e.gridYValues,D=e.lineWidth,E=e.enableArea,C=e.areaOpacity,k=e.areaBlendMode,S=e.enablePoints,T=e.pointSymbol,M=e.pointSize,O=e.pointColor,P=e.pointBorderWidth,R=e.pointBorderColor,j=e.enablePointLabel,L=e.pointLabel,F=e.pointLabelYOffset,A=e.defs,N=e.fill,I=e.markers,B=e.legends,U=e.isInteractive,z=e.useMesh,H=e.debugMesh,V=e.onMouseEnter,q=e.onMouseMove,W=e.onMouseLeave,$=e.onClick,Y=e.tooltip,Z=e.enableSlices,G=e.debugSlices,J=e.sliceTooltip,K=e.enableCrosshair,X=e.crosshairType,Q=e.role,ee=u1(d,f,c),et=ee.margin,en=ee.innerWidth,er=ee.innerHeight,ei=ee.outerWidth,eo=ee.outerHeight,ea=hz({data:t,xScale:n,xFormat:r,yScale:i,yFormat:o,width:en,height:er,colors:u,curve:s,areaBaselineValue:l,pointColor:O,pointBorderColor:R,enableSlices:Z}),es=ea.legendData,el=ea.toggleSerie,eu=ea.lineGenerator,ec=ea.areaGenerator,ed=ea.series,ef=ea.xScale,eh=ea.yScale,ep=ea.slices,em=ea.points,eg=u8(),ev=cV(O,eg),ey=cV(R,eg),eb=(0,w.useState)(null),ew=eb[0],e_=eb[1],ex=(0,w.useState)(null),eD=ex[0],eE=ex[1],eC={grid:(0,b.jsx)(fH,{theme:eg,width:en,height:er,xScale:v?ef:null,yScale:y?eh:null,xValues:_,yValues:x},"grid"),markers:(0,b.jsx)(cD,{markers:I,width:en,height:er,xScale:ef,yScale:eh,theme:eg},"markers"),axes:(0,b.jsx)(fB,{xScale:ef,yScale:eh,width:en,height:er,theme:eg,top:h,right:p,bottom:m,left:g},"axes"),areas:null,lines:(0,b.jsx)(hZ,{lines:ed,lineGenerator:eu,lineWidth:D},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:B.map(function(e,t){return(0,b.jsx)(f0,hS({},e,{containerWidth:en,containerHeight:er,data:e.data||es,theme:eg,toggleSerie:e.toggleSerie?el:void 0}),"legend."+t)})},ek=cP(A,ed,N);return E&&(eC.areas=(0,b.jsx)(hq,{areaGenerator:ec,areaOpacity:C,areaBlendMode:k,lines:ed},"areas")),U&&!1!==Z&&(eC.slices=(0,b.jsx)(hX,{slices:ep,axis:Z,debug:G,height:er,tooltip:J,current:eD,setCurrent:eE},"slices")),S&&(eC.points=(0,b.jsx)(h0,{points:em,symbol:T,size:M,color:ev,borderWidth:P,borderColor:ey,enableLabel:j,label:L,labelYOffset:F},"points")),U&&K&&(null!==ew&&(eC.crosshair=(0,b.jsx)(iJ,{width:en,height:er,x:ew.x,y:ew.y,type:X},"crosshair")),null!==eD&&(eC.crosshair=(0,b.jsx)(iJ,{width:en,height:er,x:eD.x,y:eD.y,type:Z},"crosshair"))),U&&z&&!1===Z&&(eC.mesh=(0,b.jsx)(h2,{points:em,width:en,height:er,margin:et,current:ew,setCurrent:e_,onMouseEnter:V,onMouseMove:q,onMouseLeave:W,onClick:$,tooltip:Y,debug:H},"mesh")),(0,b.jsx)(cm,{defs:ek,width:ei,height:eo,margin:et,role:Q,children:a.map(function(t,n){return"function"==typeof t?(0,b.jsx)(w.Fragment,{children:t(hS({},e,{innerWidth:en,innerHeight:er,series:ed,slices:ep,points:em,xScale:ef,yScale:eh,lineGenerator:eu,areaGenerator:ec,currentPoint:ew,setCurrentPoint:e_,currentSlice:eD,setCurrentSlice:eE}))},n):eC[t]})})};h3.propTypes=hj,h3.defaultProps=hA,cC(h3);var h4=function(e){var t=e.width,n=e.height,r=e.margin,i=e.pixelRatio,o=e.data,a=e.xScale,s=e.xFormat,l=e.yScale,u=e.yFormat,c=e.curve,d=e.layers,f=e.colors,h=e.lineWidth,p=e.enableArea,m=e.areaBaselineValue,g=e.areaOpacity,v=e.enablePoints,y=e.pointSize,_=e.pointColor,x=e.pointBorderWidth,D=e.pointBorderColor,E=e.enableGridX,C=e.gridXValues,k=e.enableGridY,S=e.gridYValues,T=e.axisTop,M=e.axisRight,O=e.axisBottom,P=e.axisLeft,R=e.legends,j=e.isInteractive,L=e.debugMesh,F=e.onMouseLeave,A=e.onClick,N=e.tooltip,I=e.canvasRef,B=(0,w.useRef)(null),U=u1(t,n,r),z=U.margin,H=U.innerWidth,V=U.innerHeight,q=U.outerWidth,W=U.outerHeight,$=u8(),Y=(0,w.useState)(null),Z=Y[0],G=Y[1],J=hz({data:o,xScale:a,xFormat:s,yScale:l,yFormat:u,width:H,height:V,colors:f,curve:c,areaBaselineValue:m,pointColor:_,pointBorderColor:D}),K=J.lineGenerator,X=J.areaGenerator,Q=J.series,ee=J.xScale,et=J.yScale,en=J.points,er=hD({points:en,width:H,height:V,debug:L}),ei=er.delaunay,eo=er.voronoi;(0,w.useEffect)(function(){I&&(I.current=B.current),B.current.width=q*i,B.current.height=W*i;var e=B.current.getContext("2d");e.scale(i,i),e.fillStyle=$.background,e.fillRect(0,0,q,W),e.translate(z.left,z.top),d.forEach(function(t){if("function"==typeof t&&t({ctx:e,innerWidth:H,innerHeight:V,series:Q,points:en,xScale:ee,yScale:et,lineWidth:h,lineGenerator:K,areaGenerator:X,currentPoint:Z,setCurrentPoint:G}),"grid"===t&&$.grid.line.strokeWidth>0&&(e.lineWidth=$.grid.line.strokeWidth,e.strokeStyle=$.grid.line.stroke,E&&fW(e,{width:H,height:V,scale:ee,axis:"x",values:C}),k&&fW(e,{width:H,height:V,scale:et,axis:"y",values:S})),"axes"===t&&fq(e,{xScale:ee,yScale:et,width:H,height:V,top:T,right:M,bottom:O,left:P,theme:$}),"areas"===t&&!0===p&&(e.save(),e.globalAlpha=g,X.context(e),Q.forEach(function(t){e.fillStyle=t.color,e.beginPath(),X(t.data.map(function(e){return e.position})),e.fill()}),e.restore()),"lines"===t&&(K.context(e),Q.forEach(function(t){e.strokeStyle=t.color,e.lineWidth=h,e.beginPath(),K(t.data.map(function(e){return e.position})),e.stroke()})),"points"===t&&!0===v&&y>0&&en.forEach(function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,y/2,0,2*Math.PI),e.fill(),x>0&&(e.strokeStyle=t.borderColor,e.lineWidth=x,e.stroke())}),"mesh"===t&&!0===L&&(hC(e,eo),Z&&hk(e,eo,Z.index)),"legends"===t){var n=Q.map(function(e){return{id:e.id,label:e.id,color:e.color}}).reverse();R.forEach(function(t){f2(e,hS({},t,{data:t.data||n,containerWidth:H,containerHeight:V,theme:$}))})}})},[B,q,W,d,$,K,Q,ee,et,E,C,k,S,T,M,O,P,R,en,v,y,Z]);var ea=(0,w.useCallback)(function(e){var t,n,r=cS(B.current,e),i=r[0],o=r[1];return(t=z.left,n=z.top,t<=i&&i<=t+H&&n<=o&&o<=n+V)?en[ei.find(i-z.left,o-z.top)]:null},[B,z,H,V,ei]),es=i1(),el=es.showTooltipFromEvent,eu=es.hideTooltip,ec=(0,w.useCallback)(function(e){var t=ea(e);G(t),t?el((0,w.createElement)(N,{point:t}),e):eu()},[ea,G,el,eu,N]),ed=(0,w.useCallback)(function(e){eu(),G(null),Z&&F&&F(Z,e)},[eu,G,F]),ef=(0,w.useCallback)(function(e){if(A){var t=ea(e);t&&A(t,e)}},[ea,A]);return(0,b.jsx)("canvas",{ref:B,width:q*i,height:W*i,style:{width:q,height:W,cursor:j?"auto":"normal"},onMouseEnter:j?ec:void 0,onMouseMove:j?ec:void 0,onMouseLeave:j?ed:void 0,onClick:j?ef:void 0})};h4.propTypes=hL,h4.defaultProps=hN;var h6=cC(h4),h5=(0,w.forwardRef)(function(e,t){return(0,b.jsx)(h6,hS({},e,{canvasRef:t}))});(0,w.forwardRef)(function(e,t){return(0,b.jsx)(ct,{children:function(n){var r=n.width,i=n.height;return(0,b.jsx)(h5,hS({width:r,height:i},e,{ref:t}))}})});let h8=({participant:e,trackType:t="audioTrack",...n})=>{let r=ec(),[i,o]=(0,w.useState)(null),{userId:a,sessionId:s}=e;return(0,w.useEffect)(()=>{if(!r||!i)return;let e=r.bindAudioElement(i,s,t);return()=>{e?.()}},[r,s,i,t]),(0,b.jsx)("audio",{autoPlay:!0,...n,ref:o,"data-user-id":a,"data-session-id":s,"data-track-type":t})},h7=e=>{let{participants:t,audioProps:n}=e;return(0,b.jsx)(b.Fragment,{children:t.map(e=>{if(e.isLocalParticipant)return null;let t=e.publishedTracks.includes(y.Jq.TrackType.AUDIO),r=e.publishedTracks.includes(y.Jq.TrackType.SCREEN_SHARE_AUDIO);return t&&e.audioStream?(0,w.createElement)(h8,{...n,trackType:"audioTrack",participant:e,key:e.sessionId}):r&&e.screenShareAudioStream?(0,w.createElement)(h8,{...n,trackType:"screenShareAudioTrack",participant:e,key:e.sessionId}):null})})},h9=e=>null!==e&&!(0,w.isValidElement)(e),pe=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(n,r)=>e.slice(t*r,t*r+t)),pt=(e,t)=>{if(e){if("function"==typeof e)return e(t);e.current=t}};(0,w.forwardRef)(({stream:e,...t},n)=>{let[r,i]=(0,w.useState)(null);return(0,w.useEffect)(()=>{if(r&&e&&e!==r.srcObject)return r.srcObject=e,(y.sy.isSafari()||y.sy.isFirefox())&&setTimeout(()=>{r.srcObject=e,r.play().catch(e=>{console.error("Failed to play stream",e)})},0),()=>{r.pause(),r.srcObject=null}},[e,r]),(0,b.jsx)("video",{autoPlay:!0,playsInline:!0,...t,ref:e=>{pt(n,e),i(e)}})});let pn=(0,w.forwardRef)(({participant:e,style:t},n)=>{let[r,i]=(0,w.useState)(!1),o=e.name||e.userId;return(0,b.jsxs)("div",{className:"str-video__video-placeholder",style:t,ref:n,children:[(!e.image||r)&&(o?(0,b.jsx)("div",{className:"str-video__video-placeholder__initials-fallback",children:(0,b.jsx)("div",{children:o[0]})}):(0,b.jsx)("div",{children:"Video is disabled"})),e.image&&!r&&(0,b.jsx)("img",{onError:()=>i(!0),alt:"video-placeholder",className:"str-video__video-placeholder__avatar",src:e.image})]})}),pr=({trackType:e,participant:t,className:n,VideoPlaceholder:r=pn,refs:i,...o})=>{let{sessionId:a,videoStream:s,screenShareStream:l,publishedTracks:u,viewportVisibilityState:c,isLocalParticipant:d,userId:f}=t,h=ec(),[p,m]=(0,w.useState)(null),[g,v]=(0,w.useState)(!0),[_,x]=(0,w.useState)(!0),D="videoTrack"===e?s:"screenShareTrack"===e?l:void 0;if((0,w.useLayoutEffect)(()=>{if(!h||!p||"none"===e)return;let t=h.bindVideoElement(p,a,e);return()=>{t?.()}},[h,e,a,p]),(0,w.useEffect)(()=>{if(!D||!p)return;let[e]=D.getVideoTracks();if(!e)return;let t=()=>{v(p.paused);let{width:t=0,height:n=0}=e.getSettings();x(t>=n)};return v(p.paused),p.addEventListener("play",t),p.addEventListener("pause",t),e.addEventListener("unmute",t),()=>{p.removeEventListener("play",t),p.removeEventListener("pause",t),e.removeEventListener("unmute",t),v(!0)}},[D,p]),!h)return null;let E="videoTrack"===e?u.includes(y.Jq.TrackType.VIDEO):"screenShareTrack"===e&&u.includes(y.Jq.TrackType.SCREEN_SHARE),C="none"===e||c?.[e]===y.Bl.INVISIBLE,k=!E||C,S=d&&"videoTrack"===e,T="screenShareTrack"===e;return(0,b.jsxs)(b.Fragment,{children:[!k&&(0,b.jsx)("video",{...o,className:(0,eR.Z)(n,"str-video__video",{"str-video__video--not-playing":g,"str-video__video--tall":!_,"str-video__video--mirror":S,"str-video__video--screen-share":T}),"data-user-id":f,"data-session-id":a,ref:e=>{m(e),i?.setVideoElement?.(e)}}),(k||g)&&(0,b.jsx)(r,{style:{position:"absolute"},participant:t,ref:i?.setVideoPlaceholderElement})]})},pi=e=>{let[t,n]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{let t;let r=e=>{let{state:t}=e.target;n("granted"===t)};return(async()=>{try{(t=await navigator.permissions.query({name:e})).addEventListener("change",r),n("granted"===t.state)}catch(e){n(!0)}})(),()=>{t?.removeEventListener("change",r)}},[e]),t},po=e=>{let[t,n]=(0,w.useState)([]);return(0,w.useEffect)(()=>{let t=e().subscribe(n);return()=>{t.unsubscribe()}},[e]),t},pa=()=>po(y._l),ps=()=>po(y.Ne),pl=(e,t,n,r)=>{(0,w.useEffect)(()=>{if(!e)return;let i=t.pipe().subscribe(e=>{e.find(e=>e.deviceId===r)||n()});return()=>{i.unsubscribe()}},[e,t,r,n])},pu=(e,t,n)=>pl(t,(0,y._l)(),e,n),pc=(e,t,n)=>pl(t,(0,y.Ne)(),e,n),pd=(e,t,n)=>pl(t,(0,y.HS)(),e,n),pf=({initialAudioMuted:e,audioDeviceId:t})=>{let n=ec(),{useCallState:r,useCallCallingState:i,useLocalParticipant:o}=eO(),a=r(),s=i(),l=o(),u=pi("microphone"),{localParticipant$:c}=a,d=l?.publishedTracks.includes(y.Jq.TrackType.AUDIO),f=(0,w.useCallback)(async()=>{if(n){if(!n.permissionsContext.hasPermission(y.PP.SEND_AUDIO))throw Error("No permission to publish audio");try{let e=await (0,y.NJ)({deviceId:t});await n.publishAudioStream(e)}catch(e){console.log("Failed to publish audio stream",e)}}},[t,n]),h=(0,w.useRef)(t);(0,w.useEffect)(()=>{s===y.Uq.JOINED&&t!==h.current&&(h.current=t,f().catch(e=>{console.error("Failed to publish audio stream",e)}))},[t,s,f]);let p=(0,w.useRef)(!1);return(0,w.useEffect)(()=>{s!==y.Uq.JOINED||p.current||e||(f().catch(e=>{console.error("Failed to publish audio stream",e)}),p.current=!0)},[s,e,f]),(0,w.useEffect)(()=>{if(!c||!u)return;let e=(0,y.IH)(c.pipe((0,ej.U)(e=>e?.audioDeviceId))).subscribe(async()=>{n&&(n.setAudioDevice(void 0),await n.stopPublish(y.Jq.TrackType.AUDIO))});return()=>{e.unsubscribe()}},[u,c,n]),(0,w.useEffect)(()=>{if(!l?.audioStream||!n||!d)return;let[e]=l.audioStream.getAudioTracks(),r=e.getSettings().deviceId,i=(0,y.dP)().subscribe(async()=>{if(!(n&&l.audioStream&&"default"===r))return;e.stop();let t=await (0,y.NJ)({deviceId:"default"});await n.publishAudioStream(t)}),o=async()=>{if(r===t){let e=await (0,y.NJ)({deviceId:t});await n.publishAudioStream(e)}};return e.addEventListener("ended",o),()=>{e.removeEventListener("ended",o),i.unsubscribe()}},[t,n,l?.audioStream,d]),f},ph=()=>(0,w.useMemo)(()=>"undefined"==typeof window?null:new URLSearchParams(window.location.search),[]),pp=()=>{let e=ph();return!!e?.get("debug")},pm=()=>{let e=ph();return e?.get("video_codec")},pg=({initialVideoMuted:e,videoDeviceId:t})=>{let n=ec(),{useCallState:r,useCallCallingState:i,useLocalParticipant:o,useCallSettings:a}=eO(),s=r(),l=i(),u=o(),c=pi("camera"),{localParticipant$:d}=s,f=pm(),h=u?.publishedTracks.includes(y.Jq.TrackType.VIDEO),p=a(),m=p?.video,g=m?.target_resolution,v=(0,w.useCallback)(async()=>{if(n){if(!n.permissionsContext.hasPermission(y.PP.SEND_VIDEO))throw Error("No permission to publish video");try{let e=await (0,y.aG)({deviceId:t,width:g?.width,height:g?.height,facingMode:pv(m?.camera_facing)});await n.publishVideoStream(e,{preferredCodec:f})}catch(e){console.log("Failed to publish video stream",e)}}},[n,f,g?.height,g?.width,t,m?.camera_facing]),b=(0,w.useRef)(t);(0,w.useEffect)(()=>{l===y.Uq.JOINED&&t!==b.current&&(b.current=t,v().catch(e=>{console.error("Failed to publish video stream",e)}))},[v,t,l]);let _=(0,w.useRef)(!1);return(0,w.useEffect)(()=>{l!==y.Uq.JOINED||_.current||e||(v().catch(e=>{console.error("Failed to publish video stream",e)}),_.current=!0)},[l,e,v]),(0,w.useEffect)(()=>{if(!d||!c)return;let e=(0,y.iE)(d.pipe((0,ej.U)(e=>e?.videoDeviceId))).subscribe(async()=>{n&&(n.setVideoDevice(void 0),await n.stopPublish(y.Jq.TrackType.VIDEO))});return()=>{e.unsubscribe()}},[c,d,n]),(0,w.useEffect)(()=>{if(!u?.videoStream||!n||!h)return;let[e]=u.videoStream.getVideoTracks(),r=e.getSettings().deviceId,i=(0,y.dg)().subscribe(async()=>{if(!(n&&u.videoStream&&"default"===r))return;e.stop();let t=await (0,y.aG)({deviceId:"default"});await n.publishVideoStream(t)}),o=async()=>{if(r===t){let e=await (0,y.aG)({deviceId:t});await n.publishVideoStream(e)}};return e.addEventListener("ended",o),()=>{e.removeEventListener("ended",o),i.unsubscribe()}},[t,n,u?.videoStream,h]),v},pv=e=>{switch(e){case y.F3.FRONT:return"user";case y.F3.BACK:return"environment";default:return}},py=({trackedElement:e,dynascaleManager:t,sessionId:n,trackType:r})=>{let i=ec(),o=t??i?.dynascaleManager;(0,w.useEffect)(()=>{if(!e||!o||!i||"none"===r)return;let t=o.trackElementVisibility(e,n,r);return()=>{t()}},[e,o,i,n,r])},pb=({imageSrc:e,name:t,style:n,className:r,...i})=>{let[o,a]=(0,w.useState)(!1);return(0,b.jsxs)(b.Fragment,{children:[(!e||o)&&t&&(0,b.jsx)(pw,{className:r,style:n,names:[t]}),e&&!o&&(0,b.jsx)("img",{onError:()=>a(!0),alt:"avatar",className:(0,eR.Z)("str-video__avatar",r),src:e,style:n,...i})]})},pw=({className:e,names:t,style:n})=>(0,b.jsx)("div",{className:(0,eR.Z)("str-video__avatar--initials-fallback",e),style:n,children:(0,b.jsxs)("div",{children:[t[0][0],t[1]?.[0]]})}),p_=({placement:e,strategy:t})=>{var n,r,i;let{refs:o,x:a,y:s,update:l,elements:{domReference:u,floating:c}}=function(e){void 0===e&&(e={});let{open:t=!1,onOpenChange:n,nodeId:r}=e,i=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,whileElementsMounted:o,open:a}=e,[s,l]=w.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,c]=w.useState(r);tx(u,r)||c(r);let d=w.useRef(null),f=w.useRef(null),h=w.useRef(s),p=tD(o),m=tD(i),[g,v]=w.useState(null),[y,b]=w.useState(null),_=w.useCallback(e=>{d.current!==e&&(d.current=e,v(e))},[]),x=w.useCallback(e=>{f.current!==e&&(f.current=e,b(e))},[]),D=w.useCallback(()=>{if(!d.current||!f.current)return;let e={placement:t,strategy:n,middleware:u};m.current&&(e.platform=m.current),tb(d.current,f.current,e).then(e=>{let t={...e,isPositioned:!0};E.current&&!tx(h.current,t)&&(h.current=t,tw.flushSync(()=>{l(t)}))})},[u,t,n,m]);t_(()=>{!1===a&&h.current.isPositioned&&(h.current.isPositioned=!1,l(e=>({...e,isPositioned:!1})))},[a]);let E=w.useRef(!1);t_(()=>(E.current=!0,()=>{E.current=!1}),[]),t_(()=>{if(g&&y){if(p.current)return p.current(g,y,D);D()}},[g,y,D,p]);let C=w.useMemo(()=>({reference:d,floating:f,setReference:_,setFloating:x}),[_,x]),k=w.useMemo(()=>({reference:g,floating:y}),[g,y]);return w.useMemo(()=>({...s,update:D,refs:C,elements:k,reference:_,floating:x}),[s,D,C,k,_,x])}(e),o=tO(),a=w.useRef(null),s=w.useRef({}),l=w.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],u=tT(),[c,d]=w.useState(null),f=w.useCallback(e=>{let t=tP(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;i.refs.setReference(t)},[i.refs]),h=w.useCallback(e=>{(tP(e)||null===e)&&(a.current=e,d(e)),(tP(i.refs.reference.current)||null===i.refs.reference.current||null!==e&&!tP(e))&&i.refs.setReference(e)},[i.refs]),p=w.useMemo(()=>({...i.refs,setReference:h,setPositionReference:f,domReference:a}),[i.refs,h,f]),m=w.useMemo(()=>({...i.elements,domReference:c}),[i.elements,c]),g=function(e){let t=w.useRef(()=>{});return tR(()=>{t.current=e}),w.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r({...i,refs:p,elements:m,dataRef:s,nodeId:r,floatingId:u,events:l,open:t,onOpenChange:g}),[i,r,u,l,t,g,p,m]);return tE(()=>{let e=null==o?void 0:o.nodesRef.current.find(e=>e.id===r);e&&(e.context=v)}),w.useMemo(()=>({...i,context:v,refs:p,elements:m,reference:h,positionReference:f}),[i,p,m,v,h,f])}({placement:e,strategy:t,middleware:[{name:"offset",options:10,async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:a}=e,s=await eQ(e,10);return o===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:o}}}},(void 0===n&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=ez(n,e),u={x:t,y:r},c=await eX(e,l),d=e$(eH(i)),f=eq(d),h=u[f],p=u[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+c[e],r=h-c[t];h=eF(n,eL(h,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=eF(n,eL(p,r))}let m=s.fn({...e,[f]:h,[d]:p});return{...m,data:{x:m.x-t,y:m.y-r}}}}),(void 0===r&&(r={}),{name:"flip",options:r,async fn(e){var t,n,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:f}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=ez(r,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let w=eH(s),_=e$(c),x=eH(c)===c,D=await (null==d.isRTL?void 0:d.isRTL(f.floating)),E=m||(x||!y?[eZ(c)]:function(e){let t=eZ(e);return[eY(e),t,eY(t)]}(c)),C="none"!==v;!m&&C&&E.push(...function(e,t,n,r){let i=eV(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(eH(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(eY)))),o}(c,y,v,D));let k=[c,...E],S=await eX(e,b),T=[],M=(null==(n=l.flip)?void 0:n.overflows)||[];if(h&&T.push(S[w]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=eV(e),i=eq(e$(e)),o=eW(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=eZ(a)),[a,eZ(a)]}(s,u,D);T.push(S[e[0]],S[e[1]])}if(M=[...M,{placement:s,overflows:T}],!T.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(o=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(g){case"bestFit":{let e=null==(a=M.filter(e=>{if(C){let t=e$(e.placement);return t===_||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}),{name:"size",options:i={padding:10,apply:({availableHeight:e,elements:t})=>{Object.assign(t.floating.style,{maxHeight:`${e}px`})}},async fn(e){let t,n;let{placement:r,rects:o,platform:a,elements:s}=e,{apply:l=()=>{},...u}=ez(i,e),c=await eX(e,u),d=eH(r),f=eV(r),h="y"===e$(r),{width:p,height:m}=o.floating;"top"===d||"bottom"===d?(t=d,n=f===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(n=d,t="end"===f?"top":"bottom");let g=m-c.top-c.bottom,v=p-c.left-c.right,y=eL(m-c[t],g),b=eL(p-c[n],v),w=!e.middlewareData.shift,_=y,x=b;if(h?x=f||w?eL(b,v):v:_=f||w?eL(y,g):g,w&&!f){let e=eF(c.left,0),t=eF(c.right,0),n=eF(c.top,0),r=eF(c.bottom,0);h?x=p-2*(0!==e||0!==t?e+t:eF(c.left,c.right)):_=m-2*(0!==n||0!==r?n+r:eF(c.top,c.bottom))}await l({...e,availableWidth:x,availableHeight:_});let D=await a.getDimensions(s.floating);return p!==D.width||m!==D.height?{reset:{rects:!0}}:{}}}]});return(0,w.useEffect)(()=>{if(!u||!c)return;let e=function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=ts(e),d=o||a?[...c?to(c):[],...to(t)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&l?function(e,t){let n,r=null,i=e2(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();let{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;let h=eN(c),p=eN(i.clientWidth-(u+d)),m={rootMargin:-h+"px "+-p+"px "+-eN(i.clientHeight-(c+f))+"px "+-eN(u)+"px",threshold:eF(0,eL(1,l))||1},g=!0;function v(e){let t=e[0].intersectionRatio;if(t!==l){if(!g)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{r=new IntersectionObserver(v,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(v,m)}r.observe(e)}(!0),o}(c,n):null,h=-1,p=null;s&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let m=u?td(e):null;return u&&function t(){let r=td(e);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}}(u,c,l);return()=>e()},[u,c,l]),{refs:o,x:a,y:s,domReference:u,floating:c,strategy:t}},px=e=>{let t=ec(),n=eC(e),[r,i]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{n&&i(!1)},[n]),{requestPermission:(0,w.useCallback)(async()=>{if(n)return!0;let o=!!t?.permissionsContext.canRequest(e);if(r||!o)return!1;i(!0);try{await t?.requestPermissions({permissions:[e]})}catch(e){throw i(!1),Error(`requestPermission failed: ${e}`)}return!1},[t,n,r,e]),hasPermission:n,canRequestPermission:!!t?.permissionsContext.canRequest(e),isAwaitingPermission:r}},pD=()=>{let{publishAudioStream:e,stopPublishingAudio:t}=ma(),{useLocalParticipant:n}=eO(),r=n(),{isAwaitingPermission:i,requestPermission:o}=px(y.PP.SEND_AUDIO),a=(0,w.useRef)(!1);return a.current=!r?.publishedTracks.includes(y.Jq.TrackType.AUDIO),{toggleAudioMuteState:(0,w.useCallback)(async()=>{if(a.current&&await o())return e();a.current||await t()},[e,o,t]),isAwaitingPermission:i}},pE=()=>{let{publishVideoStream:e,stopPublishingVideo:t}=ma(),{useLocalParticipant:n}=eO(),r=n(),{isAwaitingPermission:i,requestPermission:o}=px(y.PP.SEND_VIDEO),a=(0,w.useRef)(!1);return a.current=!r?.publishedTracks.includes(y.Jq.TrackType.VIDEO),{toggleVideoMuteState:(0,w.useCallback)(async()=>{if(a.current&&await o())return e();a.current||await t()},[e,o,t]),isAwaitingPermission:i}},pC=()=>{let{useLocalParticipant:e}=eO(),t=e(),n=ec(),r=(0,w.useRef)(!1),{isAwaitingPermission:i,requestPermission:o}=px(y.PP.SCREENSHARE),a=!!t?.publishedTracks.includes(y.Jq.TrackType.SCREEN_SHARE);return r.current=a,{toggleScreenShare:(0,w.useCallback)(async()=>{if(!r.current){if(!await o())return;let e=await (0,y.WW)().catch(e=>{console.log(`Can't share screen: ${e}`)});if(e)return n?.publishScreenShareStream(e)}await n?.stopPublish(y.Jq.TrackType.SCREEN_SHARE)},[n,o]),isAwaitingPermission:i,isScreenSharing:a}},pk=({ToggleButton:e,placement:t="top-start",strategy:n="absolute",children:r})=>{let[i,o]=(0,w.useState)(!1),{floating:a,domReference:s,refs:l,x:u,y:c}=p_({placement:t,strategy:n});return(0,w.useEffect)(()=>{let e=e=>{!a&&s?.contains(e.target)?o(!0):a&&!a?.contains(e.target)&&o(!1)},t=e=>{"escape"!==e.key.toLowerCase()||e.altKey||e.ctrlKey||o(!1)};return document?.addEventListener("click",e,{capture:!0}),document?.addEventListener("keydown",t),()=>{document?.removeEventListener("click",e,{capture:!0}),document?.removeEventListener("keydown",t)}},[a,s]),(0,b.jsxs)(b.Fragment,{children:[i&&(0,b.jsx)("div",{className:"str-video__menu-container",ref:l.setFloating,style:{position:n,top:c??0,left:u??0,overflowY:"auto"},children:r}),(0,b.jsx)(e,{menuShown:i,ref:l.setReference})]})},pS=({children:e})=>(0,b.jsx)("ul",{className:"str-video__generic-menu",children:e}),pT=({children:e,...t})=>(0,b.jsx)("li",{className:"str-video__generic-menu--item",children:(0,b.jsx)("button",{...t,children:e})}),pM=({icon:e})=>(0,b.jsx)("span",{className:(0,eR.W)("str-video__icon",e&&`str-video__icon--${e}`)}),pO=(0,w.forwardRef)((e,t)=>{let{icon:n,enabled:r,variant:i,onClick:o,className:a,...s}=e;return(0,b.jsx)("button",{className:(0,eR.Z)("str-video__call-controls__button",a,{[`str-video__call-controls__button--variant-${i}`]:i,"str-video__call-controls__button--enabled":r}),onClick:e=>{e.preventDefault(),o?.(e)},ref:t,...s,children:(0,b.jsx)(pM,{icon:n})})}),pP=(0,w.forwardRef)(({caption:e,children:t,active:n,Menu:r,menuPlacement:i},o)=>(0,b.jsxs)("div",{className:"str-video__composite-button",ref:o,children:[(0,b.jsxs)("div",{className:(0,eR.Z)("str-video__composite-button__button-group",{"str-video__composite-button__button-group--active":n}),children:[t,r&&(0,b.jsx)(pk,{placement:i,ToggleButton:pR,children:h9(r)?(0,b.jsx)(r,{}):r})]}),e&&(0,b.jsx)("div",{className:"str-video__composite-button__caption",children:e})]})),pR=(0,w.forwardRef)(({menuShown:e},t)=>{let{t:n}=ey();return(0,b.jsx)(pO,{className:"str-video__menu-toggle-button",icon:e?"caret-down":"caret-up",title:n("Toggle device menu"),ref:t})});(0,w.forwardRef)(({Button:e,className:t,copyValue:n,onClick:r,onError:i,onSuccess:o,...a},s)=>{let l=(0,w.useCallback)(async e=>{r&&r(e);let t="function"==typeof n?n():n;try{await navigator?.clipboard.writeText(t),o?.(e.target)}catch(t){i?.(e.target,t)}},[n,r,i,o]),u={...a,ref:s,className:(0,eR.Z)("str-video__copy-to-clipboard-button",t),onClick:l};return e?(0,b.jsx)(e,{...u}):(0,b.jsx)("button",{...u})});let pj=({disabled:e,onAccept:t,onClick:n})=>{let r=ec(),i=(0,w.useCallback)(async e=>{n?n(e):r&&(await r.join(),t?.())},[n,t,r]);return(0,b.jsx)(pO,{disabled:e,icon:"call-accept",variant:"success",onClick:i})},pL=e=>{let{isVisible:t,message:n,children:r,visibilityTimeout:i,resetIsVisible:o,placement:a="top",iconClassName:s="str-video__notification__icon"}=e,{refs:l,x:u,y:c,strategy:d}=p_({placement:a,strategy:"absolute"});return(0,w.useEffect)(()=>{if(!t||!i||!o)return;let e=setTimeout(()=>{o()},i);return()=>clearTimeout(e)},[t,o,i]),(0,b.jsxs)("div",{ref:l.setReference,children:[t&&(0,b.jsxs)("div",{className:"str-video__notification",ref:l.setFloating,style:{position:d,top:c??0,left:u??0,overflowY:"auto"},children:[s&&(0,b.jsx)("i",{className:s}),(0,b.jsx)("span",{className:"str-video__notification__message",children:n})]}),r]})},pF=e=>{let{permission:t,isAwaitingApproval:n,messageApproved:r,messageAwaitingApproval:i,messageRevoked:o,visibilityTimeout:a=3500,children:s}=e,l=eC(t),u=(0,w.useRef)(l),[c,d]=(0,w.useState)();(0,w.useEffect)(()=>{l&&!u.current?(d("granted"),u.current=!0):!l&&u.current&&(d("revoked"),u.current=!1)},[l]);let f=(0,w.useCallback)(()=>d(void 0),[]);return n?(0,b.jsx)(pL,{isVisible:n&&!l,message:i,children:s}):(0,b.jsx)(pL,{isVisible:!!c,visibilityTimeout:a,resetIsVisible:f,message:"granted"===c?r:o,children:s})},pA=({children:e,text:t})=>{let{useLocalParticipant:n}=eO(),r=n(),{getAudioStream:i}=ma(),{t:o}=ey(),a=t??o("You are muted. Unmute to speak."),s=!r?.publishedTracks.includes(y.Jq.TrackType.AUDIO),l=r?.audioDeviceId,[u,c]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{if(!s)return;let e=i({deviceId:l}).then(e=>(0,y.st)(e,({isSoundDetected:e})=>{c(t=>t||e)}));return e.catch(e=>{console.error("Error while creating sound detector",e)}),()=>{e.then(e=>e()).catch(e=>{console.error("Error while disposing sound detector",e)}),c(!1)}},[l,i,s]),(0,w.useEffect)(()=>{if(!u)return;let e=setTimeout(()=>{c(!1)},3500);return()=>{clearTimeout(e),c(!1)}},[u]),(0,b.jsx)(pL,{message:a,isVisible:u,children:e})},pN=e=>{let{label:t,value:n}=e;return(0,b.jsxs)("div",{className:"str-video__call-stats__card",children:[(0,b.jsx)("div",{className:"str-video__call-stats__card_label",children:t}),(0,b.jsx)("div",{className:"str-video__call-stats__card_value",children:n})]})};(0,w.forwardRef)(({menuShown:e},t)=>(0,b.jsx)(pP,{ref:t,active:e,caption:"Stats",children:(0,b.jsx)(pO,{icon:"stats",title:"Statistics"})}));let pI=({disabled:e,onClick:t,onLeave:n})=>{let r=ec(),i=(0,w.useCallback)(async e=>{t?t(e):r&&(await r.leave(),n?.())},[t,n,r]);return(0,b.jsx)(pO,{disabled:e,icon:"call-end",variant:"danger",onClick:i})},pB={":like:":"\uD83D\uDC4D",":raise-hand:":"✋",":fireworks:":"\uD83C\uDF89",":dislike:":"\uD83D\uDC4E",":heart:":"❤️",":smile:":"\uD83D\uDE00"},pU=({participant:{reaction:e,sessionId:t},hideAfterTimeoutInMs:n=5500,emojiReactionMap:r=pB})=>{let i=ec();if((0,w.useEffect)(()=>{if(!i||!e)return;let r=setTimeout(()=>{i.resetReaction(t)},n);return()=>{clearTimeout(r)}},[i,n,e,t]),!e)return null;let{emoji_code:o}=e;return(0,b.jsx)("div",{className:"str-video__reaction",children:(0,b.jsx)("span",{className:"str-video__reaction__emoji",children:o&&r[o]})})},pz=e=>{let t=ec(),{useHasOngoingScreenShare:n}=eO(),r=n(),{t:i}=ey(),{caption:o=i("Screen Share")}=e,{toggleScreenShare:a,isAwaitingPermission:s,isScreenSharing:l}=pC();return(0,b.jsx)(eP,{requiredGrants:[y.PP.SCREENSHARE],children:(0,b.jsx)(pF,{permission:y.PP.SCREENSHARE,isAwaitingApproval:s,messageApproved:i("You can now share your screen."),messageAwaitingApproval:i("Awaiting for an approval to share screen."),messageRevoked:i("You can no longer share your screen."),children:(0,b.jsx)(pP,{active:r,caption:o,children:(0,b.jsx)(pO,{icon:l?"screen-share-on":"screen-share-off",title:i("Share screen"),disabled:!l&&r||!t,onClick:a})})})})},pH=({disabled:e,id:t,label:n,onChange:r,name:i,selected:o,defaultChecked:a,value:s})=>(0,b.jsxs)("label",{className:(0,eR.Z)("str-video__device-settings__option",{"str-video__device-settings__option--selected":o,"str-video__device-settings__option--disabled":e}),htmlFor:t,children:[(0,b.jsx)("input",{type:"radio",name:i,onChange:r,value:s,id:t,checked:o,defaultChecked:a,disabled:e}),n]}),pV=e=>{let{devices:t=[],selectedDeviceId:n,title:r,onChange:i}=e,o=r.replace(" ","-").toLowerCase(),a=n;return t.length>0&&!t.find(e=>e.deviceId===a)&&(a=t[0].deviceId),(0,b.jsxs)("div",{className:"str-video__device-settings__device-kind",children:[(0,b.jsx)("div",{className:"str-video__device-settings__device-selector-title",children:r}),t.length?t.map(e=>(0,b.jsx)(pH,{id:`${o}--${e.deviceId}`,value:e.deviceId,label:e.label,onChange:e=>{i?.(e.target.value)},name:o,selected:e.deviceId===a||1===t.length},e.deviceId)):(0,b.jsx)(pH,{id:`${o}--default`,label:"Default",name:o,defaultChecked:!0,value:"default"})]})},pq=({title:e="Select a Mic"})=>{let{selectedAudioInputDeviceId:t,switchDevice:n}=ma(),r=ps();return(0,b.jsx)(pV,{devices:r,selectedDeviceId:t,onChange:e=>{n("audioinput",e)},title:e})},pW=({title:e})=>{let{selectedVideoDeviceId:t,switchDevice:n}=ma(),r=pa();return(0,b.jsx)(pV,{devices:r,selectedDeviceId:t,onChange:e=>{n("videoinput",e)},title:e||"Select a Camera"})};(0,w.forwardRef)(({menuShown:e},t)=>{let{t:n}=ey();return(0,b.jsx)(pO,{className:(0,eR.Z)("str-video__device-settings__button",{"str-video__device-settings__button--active":e}),title:n("Toggle device menu"),icon:"device-settings",ref:t})});let p$=e=>{let{useLocalParticipant:t}=eO(),n=t(),{t:r}=ey(),{caption:i=r("Mic"),Menu:o=pq}=e,a=!n?.publishedTracks.includes(y.Jq.TrackType.AUDIO),{toggleAudioMuteState:s,isAwaitingPermission:l}=pD();return(0,b.jsx)(eP,{requiredGrants:[y.PP.SEND_AUDIO],children:(0,b.jsx)(pF,{permission:y.PP.SEND_AUDIO,isAwaitingApproval:l,messageApproved:r("You can now speak."),messageAwaitingApproval:r("Awaiting for an approval to speak."),messageRevoked:r("You can no longer speak."),children:(0,b.jsx)(pP,{Menu:o,active:a,caption:i,children:(0,b.jsx)(pO,{icon:a?"mic-off":"mic",onClick:s})})})})},pY=e=>{let{useLocalParticipant:t}=eO(),n=t(),{t:r}=ey(),{caption:i=r("Video"),Menu:o=pW}=e,a=!n?.publishedTracks.includes(y.Jq.TrackType.VIDEO),{toggleVideoMuteState:s,isAwaitingPermission:l}=pE();return(0,b.jsx)(eP,{requiredGrants:[y.PP.SEND_VIDEO],children:(0,b.jsx)(pF,{permission:y.PP.SEND_VIDEO,isAwaitingApproval:l,messageApproved:r("You can now share your video."),messageAwaitingApproval:r("Awaiting for an approval to share your video."),messageRevoked:r("You can no longer share your video."),children:(0,b.jsx)(pP,{Menu:o,active:a,caption:i,children:(0,b.jsx)(pO,{icon:a?"camera-off":"camera",onClick:s})})})})};(0,w.forwardRef)((e,t)=>(0,b.jsx)(pO,{enabled:e.menuShown,icon:"ellipsis",ref:t}));let pZ=({participant:e,participantViewElement:t,videoElement:n})=>{let[r,i]=(0,w.useState)(!!document.fullscreenElement),[o,a]=(0,w.useState)(document.pictureInPictureElement),s=ec(),{t:l}=ey(),{pin:u,publishedTracks:c,sessionId:d,userId:f}=e,h=c.includes(y.Jq.TrackType.AUDIO),p=c.includes(y.Jq.TrackType.VIDEO),m=c.includes(y.Jq.TrackType.SCREEN_SHARE),g=c.includes(y.Jq.TrackType.SCREEN_SHARE_AUDIO),v=e=>()=>{s?.updateUserPermissions({user_id:f,grant_permissions:[e]})},_=e=>()=>{s?.updateUserPermissions({user_id:f,revoke_permissions:[e]})};return(0,w.useEffect)(()=>{if(!n)return;let e=()=>{a(document.pictureInPictureElement)};return n.addEventListener("enterpictureinpicture",e),n.addEventListener("leavepictureinpicture",e),()=>{n.removeEventListener("enterpictureinpicture",e),n.removeEventListener("leavepictureinpicture",e)}},[n]),(0,b.jsxs)(pS,{children:[(0,b.jsxs)(pT,{onClick:()=>{u?s?.unpin(d):s?.pin(d)},disabled:u&&!u.isLocalPin,children:[(0,b.jsx)(pM,{icon:"pin"}),l(u?"Unpin":"Pin")]}),(0,b.jsxs)(eP,{requiredGrants:[y.PP.PIN_FOR_EVERYONE],children:[(0,b.jsxs)(pT,{onClick:()=>{s?.pinForEveryone({user_id:f,session_id:d}).catch(e=>{console.error(`Failed to pin participant ${f}`,e)})},disabled:u&&!u.isLocalPin,children:[(0,b.jsx)(pM,{icon:"pin"}),l("Pin for everyone")]}),(0,b.jsxs)(pT,{onClick:()=>{s?.unpinForEveryone({user_id:f,session_id:d}).catch(e=>{console.error(`Failed to unpin participant ${f}`,e)})},disabled:!u||u.isLocalPin,children:[(0,b.jsx)(pM,{icon:"pin"}),l("Unpin for everyone")]})]}),(0,b.jsx)(eP,{requiredGrants:[y.PP.BLOCK_USERS],children:(0,b.jsxs)(pT,{onClick:()=>s?.blockUser(f),children:[(0,b.jsx)(pM,{icon:"not-allowed"}),l("Block")]})}),(0,b.jsxs)(eP,{requiredGrants:[y.PP.MUTE_USERS],children:[(0,b.jsxs)(pT,{disabled:!p,onClick:()=>s?.muteUser(f,"video"),children:[(0,b.jsx)(pM,{icon:"camera-off-outline"}),l("Turn off video")]}),(0,b.jsxs)(pT,{disabled:!m,onClick:()=>s?.muteUser(f,"screenshare"),children:[(0,b.jsx)(pM,{icon:"screen-share-off"}),l("Turn off screen share")]}),(0,b.jsxs)(pT,{disabled:!h,onClick:()=>s?.muteUser(f,"audio"),children:[(0,b.jsx)(pM,{icon:"no-audio"}),l("Mute audio")]}),(0,b.jsxs)(pT,{disabled:!g,onClick:()=>s?.muteUser(f,"screenshare_audio"),children:[(0,b.jsx)(pM,{icon:"no-audio"}),l("Mute screen share audio")]})]}),t&&(0,b.jsx)(pT,{onClick:()=>{if(!r)return t?.requestFullscreen().then(()=>i(!0)).catch(console.error);document.exitFullscreen().catch(console.error).finally(()=>i(!1))},children:l("{{ direction }} fullscreen",{direction:l(r?"Leave":"Enter")})}),n&&document.pictureInPictureEnabled&&(0,b.jsx)(pT,{onClick:()=>{if(n&&o!==n)return n.requestPictureInPicture().catch(console.error);document.exitPictureInPicture().catch(console.error)},children:l("{{ direction }} picture-in-picture",{direction:l(o===n?"Leave":"Enter")})}),(0,b.jsxs)(eP,{requiredGrants:[y.PP.UPDATE_CALL_PERMISSIONS],children:[(0,b.jsx)(pT,{onClick:v(y.PP.SEND_AUDIO),children:l("Allow audio")}),(0,b.jsx)(pT,{onClick:v(y.PP.SEND_VIDEO),children:l("Allow video")}),(0,b.jsx)(pT,{onClick:v(y.PP.SCREENSHARE),children:l("Allow screen sharing")}),(0,b.jsx)(pT,{onClick:_(y.PP.SEND_AUDIO),children:l("Disable audio")}),(0,b.jsx)(pT,{onClick:_(y.PP.SEND_VIDEO),children:l("Disable video")}),(0,b.jsx)(pT,{onClick:_(y.PP.SCREENSHARE),children:l("Disable screen sharing")})]})]})};(0,w.forwardRef)((e,t)=>(0,b.jsx)(pO,{enabled:e.menuShown,icon:"filter",ref:t})),(0,w.forwardRef)(({className:e,...t},n)=>(0,b.jsxs)("button",{...t,className:(0,eR.W)("str-video__invite-link-button",e),ref:n,children:[(0,b.jsx)("div",{className:"str-video__invite-participant-icon"}),(0,b.jsx)("div",{className:"str-video__invite-link-button__text",children:"Invite Link"})]})),(0,w.forwardRef)((e,t)=>(0,b.jsx)("button",{...e,className:(0,eR.Z)("str-video__call-recording-list-item__action-button","str-video__call-recording-list-item__action-button--copy-link"),ref:t,title:"Copy the recording link",children:(0,b.jsx)("span",{className:(0,eR.Z)("str-video__call-recording-list-item__action-button-icon","str-video__copy-button--icon")})}));let pG=()=>{let e=ec(),{useCallCallingState:t}=eO(),n=t();if(!e)return null;let r=n!==y.Uq.RINGING;return(0,b.jsx)("div",{className:"str-video__pending-call-controls",children:e.isCreatedByMe?(0,b.jsx)(pI,{disabled:r}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(pj,{disabled:r}),(0,b.jsx)(pI,{onClick:()=>e.leave({reject:!0}),disabled:r})]})})},pJ={[y.Uq.JOINING]:"Joining",[y.Uq.RINGING]:"Ringing",[y.Uq.MIGRATING]:"Migrating",[y.Uq.RECONNECTING]:"Re-connecting",[y.Uq.RECONNECTING_FAILED]:"Failed",[y.Uq.OFFLINE]:"No internet connection",[y.Uq.IDLE]:"",[y.Uq.UNKNOWN]:"",[y.Uq.JOINED]:"Joined",[y.Uq.LEFT]:"Left call"},pK=e=>{let{includeSelf:t=!1,totalMembersToShow:n=3}=e,r=ec(),{t:i}=ey(),{useCallCallingState:o,useCallMembers:a}=eO(),s=o(),l=a(),u=eM();if(!r)return null;let c=(l||[]).slice(0,n).map(({user:e})=>e).filter(e=>e.id!==u?.id||t);if(t&&!c.find(e=>e.id===u?.id)){let e=l.find(({user:e})=>e.id===u?.id);e&&c.splice(0,1,e.user)}let d=pJ[s];return(0,b.jsxs)("div",{className:"str-video__call-panel str-video__call-panel--ringing",children:[(0,b.jsx)("div",{className:"str-video__call-panel__members-list",children:c.map(e=>(0,b.jsxs)("div",{className:"str-video__call-panel__member-box",children:[(0,b.jsx)(pb,{name:e.name,imageSrc:e.image}),e.name&&(0,b.jsx)("div",{className:"str-video__member_details",children:(0,b.jsx)("span",{className:"str-video__member_name",children:e.name})})]},e.id))}),d&&(0,b.jsx)("div",{className:"str-video__call-panel__calling-state-label",children:i(d)}),[y.Uq.RINGING,y.Uq.JOINING].includes(s)&&(0,b.jsx)(pG,{})]})};(0,w.forwardRef)((e,t)=>{let{permissionRequests:n,handleUpdatePermission:r,...i}=e,{t:o}=ey();return(0,b.jsx)("div",{className:"str-video__permission-requests-list",ref:t,...i,children:n.map((e,t)=>{let{user:n,permissions:i}=e;return(0,b.jsx)(w.Fragment,{children:i.map(t=>(0,b.jsxs)("div",{className:"str-video__permission-request",children:[(0,b.jsx)("div",{className:"str-video__permission-request__message",children:pQ(n.name||n.id,t,o)}),(0,b.jsx)(pX,{className:"str-video__permission-request__button--allow",type:"button",onClick:r(e,"grant"),children:o("Allow")}),(0,b.jsx)(pX,{className:"str-video__permission-request__button--reject",type:"button",onClick:r(e,"revoke"),children:o("Revoke")}),(0,b.jsx)(pX,{className:"str-video__permission-request__button--reject",type:"button",onClick:r(e,"dismiss"),children:o("Dismiss")})]},t))},`${n.id}/${t}`)})})});let pX=e=>{let{className:t,...n}=e;return(0,b.jsx)("button",{className:(0,eR.Z)("str-video__permission-request__button",t),...n})},pQ=(e,t,n)=>{switch(t){case y.PP.SEND_AUDIO:return n("{{ userName }} is requesting to speak",{userName:e});case y.PP.SEND_VIDEO:return n("{{ userName }} is requesting to share their camera",{userName:e});case y.PP.SCREENSHARE:return n("{{ userName }} is requesting to present their screen",{userName:e});default:return n("{{ userName }} is requesting permission: {{ permission }}",{userName:e,permission:t})}},p0=({as:e="div",className:t,children:n,...r})=>(0,b.jsx)(e,{...r,className:(0,eR.Z)("str-video",t),children:n}),p1=e=>{let{call:t,participant:n}=e,[r,i]=(0,w.useState)(),[o,a]=(0,w.useState)(()=>({f:!0,h:!0,q:!0}));return(0,w.useEffect)(()=>t.on("changePublishQuality",e=>{if("changePublishQuality"!==e.eventPayload.oneofKind)return;let{videoSenders:t}=e.eventPayload.changePublishQuality,[n]=t.map(({layers:e})=>e.map(e=>({[e.name]:e.active})));a(e=>({...e,...n}))}),[t]),(0,b.jsxs)("select",{title:`Published tracks: ${JSON.stringify(o)}`,value:r,onChange:e=>{let r=e.target.value;i(r);let o=960,a=540;"h"===r?(o/=2,a/=2):"q"===r&&(o/=4,a/=4),t.updateSubscriptionsPartial("video",{[n.sessionId]:{dimension:{width:o,height:a}}})},children:[(0,b.jsx)("option",{value:"f",children:"High (f)"}),(0,b.jsx)("option",{value:"h",children:"Medium (h)"}),(0,b.jsx)("option",{value:"q",children:"Low (q)"})]})},p2=e=>{let{call:t,mediaStream:n,sessionId:r,userId:i}=e,{useCallStatsReport:o}=eO(),a=o();(0,w.useEffect)(()=>(t.startReportingStatsFor(r),()=>{t.stopReportingStatsFor(r)}),[t,r]);let s=a?.participants[r],l=s?.flatMap(e=>e.streams),u=(0,w.useRef)({f:0,h:0,q:0}),c=(0,w.useRef)({f:0,h:0,q:0});l?.forEach(e=>{if("video"!==e.kind)return;let{frameWidth:t=0,frameHeight:n=0,rid:o=""}=e;if(t!==u.current[o]||n!==c.current[o]){let e=`${t}x${n}`;console.log(`Track stats (${i}/${r}): ${o}(${e})`),u.current[o]=t,c.current[o]=n}});let{refs:d,strategy:f,y:h,x:p}=p_({placement:"top",strategy:"absolute"}),[m,g]=(0,w.useState)(!1),[v]=n?.getVideoTracks()??[],y=v?.getSettings();return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{className:"str-video__debug__track-stats-icon",tabIndex:0,ref:d.setReference,title:y&&`${y.width}x${y.height}@${Math.round(y.frameRate||0)}`,onClick:()=>{g(e=>!e)}}),m&&(0,b.jsxs)("div",{className:"str-video__debug__track-stats str-video__call-stats",ref:d.setFloating,style:{position:f,top:h??0,left:p??0,overflowY:"auto"},children:[(0,b.jsx)("h3",{children:"Participant stats"}),(0,b.jsx)("div",{className:"str-video__call-stats__card-container",children:l?.map(e=>"video"===e.kind?b.jsx(pN,{label:`${e.kind}: ${e.codec} `+(e.rid?` (${e.rid})`:""),value:`${e.frameWidth||0}x${e.frameHeight||0}@${e.framesPerSecond||0}fps`},`${e.rid}/${e.ssrc}/${e.codec}/${e.kind}`):"audio"===e.kind?b.jsx(pN,{label:e.codec||"N/A",value:`Jitter: ${e.jitter||0}ms`},`${e.ssrc}/${e.codec}/${e.kind}`):null).filter(Boolean)}),s?.map((e,t)=>b.jsx("pre",{children:JSON.stringify(p3(e.rawStats),null,2)},t))]})]})},p3=e=>{let t={};return e?.forEach(e=>{t[e.id]=e}),t},p4=(0,w.forwardRef)((e,t)=>(0,b.jsx)(pO,{enabled:e.menuShown,icon:"ellipsis",ref:t})),p6=()=>{let e=ec();return(0,b.jsxs)("div",{className:"str-video__screen-share-overlay",children:[(0,b.jsx)(pM,{icon:"screen-share-off"}),(0,b.jsx)("span",{className:"str-video__screen-share-overlay__title",children:"You are presenting your screen"}),(0,b.jsxs)("button",{onClick:()=>{e?.stopPublish(y.Jq.TrackType.SCREEN_SHARE).catch(console.error)},className:"str-video__screen-share-overlay__button",children:[(0,b.jsx)(pM,{icon:"close"})," Stop Screen Sharing"]})]})},p5=({indicatorsVisible:e=!0,menuPlacement:t="bottom-end",showMenuButton:n=!0})=>{let{participant:r,participantViewElement:i,trackType:o,videoElement:a}=p9(),{publishedTracks:s}=r,l=s.includes(y.Jq.TrackType.SCREEN_SHARE);return r.isLocalParticipant&&l&&"screenShareTrack"===o?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(p6,{}),(0,b.jsx)(p8,{indicatorsVisible:e})]}):(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(pk,{strategy:"fixed",placement:t,ToggleButton:p4,children:(0,b.jsx)(pZ,{participantViewElement:i,participant:r,videoElement:a})}),(0,b.jsx)(pU,{participant:r}),(0,b.jsx)(p8,{indicatorsVisible:e})]})},p8=({indicatorsVisible:e=!0})=>{let{participant:t}=p9(),{isDominantSpeaker:n,isLocalParticipant:r,connectionQuality:i,publishedTracks:o,pin:a,sessionId:s,name:l,userId:u,videoStream:c}=t,d=ec(),f=!!i&&y.Jq.ConnectionQuality[i].toLowerCase(),h=o.includes(y.Jq.TrackType.AUDIO),p=o.includes(y.Jq.TrackType.VIDEO),m=!!a&&a.isLocalPin,g=pp();return(0,b.jsxs)("div",{className:"str-video__participant-details",children:[(0,b.jsxs)("span",{className:"str-video__participant-details__name",children:[l||u,e&&n&&(0,b.jsx)("span",{className:"str-video__participant-details__name--dominant_speaker",title:"Dominant speaker"}),e&&(0,b.jsx)(pL,{isVisible:r&&i===y.Jq.ConnectionQuality.POOR,message:"Poor connection quality. Please check your internet connection.",children:f&&(0,b.jsx)("span",{className:(0,eR.W)("str-video__participant-details__connection-quality",`str-video__participant-details__connection-quality--${f}`),title:f})}),e&&!h&&(0,b.jsx)("span",{className:"str-video__participant-details__name--audio-muted"}),e&&!p&&(0,b.jsx)("span",{className:"str-video__participant-details__name--video-muted"}),e&&m&&(0,b.jsx)("span",{title:"Unpin",onClick:()=>d?.unpin(s),style:{cursor:"pointer"},className:"str-video__participant-details__name--pinned"})]}),g&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(p1,{participant:t,call:d}),(0,b.jsx)(p2,{call:d,sessionId:s,userId:u,mediaStream:c})]})]})},p7=(0,w.createContext)(void 0),p9=()=>(0,w.useContext)(p7),me=(0,w.forwardRef)(({participant:e,trackType:t="videoTrack",muteAudio:n,refs:{setVideoElement:r,setVideoPlaceholderElement:i}={},className:o,VideoPlaceholder:a,ParticipantViewUI:s=p5},l)=>{let{isLocalParticipant:u,isSpeaking:c,isDominantSpeaker:d,publishedTracks:f,sessionId:h}=e,p=f.includes(y.Jq.TrackType.AUDIO),m=f.includes(y.Jq.TrackType.VIDEO),g=f.includes(y.Jq.TrackType.SCREEN_SHARE_AUDIO),[v,_]=(0,w.useState)(null),[x,D]=(0,w.useState)(null),[E,C]=(0,w.useState)(null);py({sessionId:h,trackedElement:v,trackType:t});let k=(0,w.useMemo)(()=>({participant:e,participantViewElement:v,videoElement:x,videoPlaceholderElement:E,trackType:t}),[x,E,e,v,t]),S=(0,w.useMemo)(()=>({setVideoElement:e=>{r?.(e),D(e)},setVideoPlaceholderElement:e=>{i?.(e),C(e)}}),[r,i]);return(0,b.jsx)("div",{"data-testid":"participant-view",ref:e=>{pt(l,e),_(e)},className:(0,eR.Z)("str-video__participant-view",d&&"str-video__participant-view--dominant-speaker",c&&"str-video__participant-view--speaking",!m&&"str-video__participant-view--no-video",!p&&"str-video__participant-view--no-audio",o),children:(0,b.jsxs)(p7.Provider,{value:k,children:[!u&&!n&&(0,b.jsxs)(b.Fragment,{children:[p&&(0,b.jsx)(h8,{participant:e,trackType:"audioTrack"}),g&&(0,b.jsx)(h8,{participant:e,trackType:"screenShareAudioTrack"})]}),(0,b.jsx)(pr,{VideoPlaceholder:a,participant:e,trackType:t,refs:S,autoPlay:!0}),h9(s)?(0,b.jsx)(s,{}):s]})})}),mt={starting:"stopped",playing:"stopped",stopped:"starting",uninitialized:"starting",error:"starting"},mn={starting:{type:"starting",enabled:!0},playing:{type:"playing",enabled:!0},stopped:{type:"stopped",enabled:!1},uninitialized:{type:"uninitialized",enabled:!1},error:{type:"error",message:"",enabled:!1}},mr="default",mi=(0,w.createContext)(null),mo=({children:e,initialAudioEnabled:t,initialVideoEnabled:n,initialVideoInputDeviceId:r=mr,initialAudioOutputDeviceId:i=mr,initialAudioInputDeviceId:o=mr})=>{let a=ec(),{useCallCallingState:s,useCallState:l,useCallSettings:u}=eO(),c=s(),{localParticipant$:d}=l(),f=pi("camera"),h=pi("microphone"),[p,m]=(0,w.useState)(o),[g,v]=(0,w.useState)(i),[_,x]=(0,w.useState)(r),[D]=(0,w.useState)(()=>(0,y.xX)()),[E,C]=(0,w.useState)(!!t),[k,S]=(0,w.useState)(()=>n?mn.starting:mn.uninitialized),T=u();(0,w.useEffect)(()=>{if(!T)return;let{audio:e,video:r}=T;void 0===t&&e.mic_default_on&&C(e.mic_default_on),void 0===n&&r.camera_default_on&&S(mn.starting)},[t,n,T]);let M=pg({initialVideoMuted:!k.enabled,videoDeviceId:_}),O=pf({initialAudioMuted:!E,audioDeviceId:p}),P=(0,w.useCallback)(async()=>{c===y.Uq.IDLE||c===y.Uq.RINGING?C(!1):a?.stopPublish(y.Jq.TrackType.AUDIO)},[a,c]),R=(0,w.useCallback)(async()=>{c===y.Uq.IDLE||c===y.Uq.RINGING?S(mn.stopped):a?.stopPublish(y.Jq.TrackType.VIDEO)},[a,c]),j=(0,w.useCallback)(()=>C(e=>!e),[]),L=(0,w.useCallback)(()=>S(e=>mn[mt[e.type]]),[]),F=(0,w.useCallback)((e,t)=>{"videoinput"===e&&x(t),"audioinput"===e&&m(t),"audiooutput"===e&&v(t)},[]);pc(()=>F("audioinput",mr),h,p),pd(()=>F("audiooutput",mr),h,g),pu(()=>F("videoinput",mr),f,_),(0,w.useEffect)(()=>{a&&c===y.Uq.JOINED&&a.setAudioOutputDevice(g)},[a,c,g]),(0,w.useEffect)(()=>{if(!d||!h)return;let e=(0,y.$A)(d.pipe((0,ej.U)(e=>e?.audioOutputDeviceId))).subscribe(async()=>{v(mr)});return()=>{e.unsubscribe()}},[h,d]);let A={disposeOfMediaStream:y.pJ,getAudioStream:y.NJ,getVideoStream:y.aG,isAudioOutputChangeSupported:D,selectedAudioInputDeviceId:p,selectedAudioOutputDeviceId:g,selectedVideoDeviceId:_,switchDevice:F,initialAudioEnabled:E,initialVideoState:k,setInitialAudioEnabled:C,setInitialVideoState:S,toggleInitialAudioMuteState:j,toggleInitialVideoMuteState:L,publishAudioStream:O,publishVideoStream:M,stopPublishingAudio:P,stopPublishingVideo:R};return(0,b.jsx)(mi.Provider,{value:A,children:e})},ma=()=>{let e=(0,w.useContext)(mi);return e||console.warn("Null MediaDevicesContext"),e},ms=({children:e,call:t,mediaDevicesProviderProps:n})=>(0,b.jsx)(eu,{call:t,children:(0,b.jsx)(mo,{...n,children:e})}),ml={en:{Joining:"Joining",Mic:"Mic","No internet connection":"No internet connection","Re-connecting":"Re-connecting",Ringing:"Ringing","Screen Share":"Screen Share","Select a Camera":"Select a Camera","Select a Mic":"Select a Mic","Select Speakers":"Select Speakers",Speakers:"Speakers",Video:"Video","You are muted. Unmute to speak.":"You are muted. Unmute to speak.",Live:"Live","You can now speak.":"You can now speak.","Awaiting for an approval to speak.":"Awaiting for an approval to speak.","You can no longer speak.":"You can no longer speak.","You can now share your video.":"You can now share your video.","Awaiting for an approval to share your video.":"Awaiting for an approval to share your video.","You can no longer share your video.":"You can no longer share your video.","Waiting for recording to stop...":"Waiting for recording to stop...","Waiting for recording to start...":"Waiting for recording to start...","Record call":"Record call",Reactions:"Reactions","You can now share your screen.":"You can now share your screen.","Awaiting for an approval to share screen.":"Awaiting for an approval to share screen.","You can no longer share your screen.":"You can no longer share your screen.","Share screen":"Share screen","Incoming Call...":"Incoming Call...","Calling...":"Calling...","Mute All":"Mute All",Invite:"Invite",Join:"Join",You:"You",Me:"Me",Unknown:"Unknown","Toggle device menu":"Toggle device menu",Allow:"Allow",Revoke:"Revoke",Dismiss:"Dismiss","Microphone on":"Microphone on","Microphone off":"Microphone off","Camera on":"Camera on","Camera off":"Camera off",Pinned:"Pinned",Unpin:"Unpin",Pin:"Pin","Pin for everyone":"Pin for everyone","Unpin for everyone":"Unpin for everyone",Block:"Block","Turn off video":"Turn off video","Turn off screen share":"Turn off screen share","Mute audio":"Mute audio","Mute screen share audio":"Mute screen share audio","Allow audio":"Allow audio","Allow video":"Allow video","Allow screen sharing":"Allow screen sharing","Disable audio":"Disable audio","Disable video":"Disable video","Disable screen sharing":"Disable screen sharing",Enter:"Enter",Leave:"Leave","{{ direction }} fullscreen":"{{ direction }} fullscreen","{{ direction }} picture-in-picture":"{{ direction }} picture-in-picture",Participants:"Participants",Anonymous:", and ({{ count }}) anonymous","No participants found":"No participants found","Participants ({{ numberOfParticipants }})":"Participants ({{ numberOfParticipants }})","{{ userName }} is sharing their screen":"{{ userName }} is sharing their screen","{{ userName }} is requesting to speak":"{{ userName }} is requesting to speak","{{ userName }} is requesting to share their camera":"{{ userName }} is requesting to share their camera","{{ userName }} is requesting to present their screen":"{{ userName }} is requesting to present their screen","{{ userName }} is requesting permission: {{ permission }}":"{{ userName }} is requesting permission: {{ permission }}"}},mu=e=>(0,b.jsx)(ew,{translationsOverrides:ml,...e}),mc=e=>{(0,w.useEffect)(()=>{if(e)return e.setSortParticipantsBy(y.xp),()=>{md(e)}},[e])},md=e=>{let t=y.WV.get(e.type);e.setSortParticipantsBy(t.options.sortParticipantsBy||y.JM)},mf=16,mh=({group:e,VideoPlaceholder:t,ParticipantViewUI:n})=>(0,b.jsx)("div",{className:(0,eR.Z)("str-video__paginated-grid-layout__group",{"str-video__paginated-grid-layout--one":1===e.length,"str-video__paginated-grid-layout--two-four":e.length>=2&&e.length<=4,"str-video__paginated-grid-layout--five-nine":e.length>=5&&e.length<=9}),children:e.map(e=>(0,b.jsx)(me,{participant:e,muteAudio:!0,VideoPlaceholder:t,ParticipantViewUI:n},e.sessionId))}),mp=({groupSize:e=mf,excludeLocalParticipant:t=!1,pageArrowsVisible:n=!0,VideoPlaceholder:r,ParticipantViewUI:i=p5})=>{let[o,a]=(0,w.useState)(0),[s,l]=(0,w.useState)(null),u=ec(),{useParticipants:c,useRemoteParticipants:d}=eO(),f=c(),h=d();mc(u),(0,w.useEffect)(()=>{if(!s||!u)return;let e=u.setViewport(s);return()=>e()},[s,u]);let p=(0,w.useMemo)(()=>pe(t?h:f,e),[t,h,f,e]),m=p.length;(0,w.useEffect)(()=>{o>m-1&&a(Math.max(0,m-1))},[o,m]);let g=p[o];return u?(0,b.jsxs)("div",{className:"str-video__paginated-grid-layout__wrapper",ref:l,children:[(0,b.jsx)(h7,{participants:h}),(0,b.jsxs)("div",{className:"str-video__paginated-grid-layout",children:[n&&m>1&&(0,b.jsx)(pO,{icon:"caret-left",disabled:0===o,onClick:()=>a(e=>Math.max(0,e-1))}),g&&(0,b.jsx)(mh,{group:p[o],VideoPlaceholder:r,ParticipantViewUI:i}),n&&m>1&&(0,b.jsx)(pO,{disabled:o===m-1,icon:"caret-right",onClick:()=>a(e=>Math.min(m-1,e+1))})]})]}):null},[mm,mg,mv]="0.3.47".split(".");(0,y._J)({type:y.Jq.SdkType.REACT,major:mm,minor:mg,patch:mv})},10172:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t})}return!0}},48738:function(e,t){"use strict";t.JQ=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o=0,a=i.length;o=t?e:""+Array(t+1-r.length).join(n)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof w||!(!e||!e[m])},v=function e(t,n,r){var i;if(!t)return h;if("string"==typeof t){var o=t.toLowerCase();p[o]&&(i=o),n&&(p[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;p[s]=t,i=s}return!r&&i&&(h=i),i||!r&&h},y=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},b={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t},e.exports=r(n(62737))},37205:function(e,t,n){var r;r=function(e){"use strict";var t={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t},e.exports=r(n(62737))},28442:function(e,t,n){var r;r=function(e){"use strict";var t="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),n="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),r="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),i="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function a(e,t,n){var r,i;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,i=({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"})[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var s=function(e,r){return o.test(r)?t[e.month()]:n[e.month()]};s.s=n,s.f=t;var l=function(e,t){return o.test(t)?r[e.month()]:i[e.month()]};l.s=i,l.f=r;var u={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:l,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:a,mm:a,h:"час",hh:a,d:"день",dd:a,M:"месяц",MM:a,y:"год",yy:a},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(u,null,!0),u},e.exports=r(n(62737))},40220:function(e,t,n){var r;r=function(e){"use strict";var t={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t},e.exports=r(n(62737))},30910:function(e){var t;t=function(){return function(e,t,n){var r="h:mm A",i={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var r=t||this.$locale().calendar||i,o=n(e||void 0).startOf("d"),a=this.diff(o,"d",!0),s="sameElse",l=a<-6?s:a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":s,u=r[l]||i[l];return"function"==typeof u?u.call(this,n()):this.format(u)}}},e.exports=t()},42554:function(e){var t;t=function(){return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,n,r,o){var a=e.name?e:e.$locale(),s=i(a[t]),l=i(a[n]),u=s||l.map(function(e){return e.slice(0,r)});if(!o)return u;var c=a.weekStart;return u.map(function(e,t){return u[(t+(c||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(a(),"months")},n.monthsShort=function(){return o(a(),"monthsShort","months",3)},n.weekdays=function(e){return o(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(a(),"weekdaysMin","weekdays",2,e)}}},e.exports=t()},78322:function(e){var t;t=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var i=n.prototype,o=i.format;r.en.formats=e,i.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n,r,i=this.$locale().formats,a=(n=t,r=void 0===i?{}:i,n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,i){var o=i&&i.toUpperCase();return n||r[i]||e[i]||r[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}));return o.call(this,a)}}},e.exports=t()},51470:function(e){var t;t=function(){return function(e,t,n){e=e||{};var r=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,o,a,s){for(var l,u,c,d=o.$locale().relativeTime||i,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=f.length,p=0;p0,g<=m.r||!m.r){g<=1&&p>0&&(m=f[p-1]);var v=d[m.l];s&&(g=s(""+g)),u="string"==typeof v?v.replace("%d",g):v(g,r,m.l,c);break}}if(r)return u;var y=c?d.future:d.past;return"function"==typeof y?y(u):y.replace("%s",u)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}},e.exports=t()},1388:function(e){var t;t=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var o,a=function(e,n,r){void 0===r&&(r={});var i,o,a,s,l=new Date(e);return(void 0===(i=r)&&(i={}),(s=t[a=n+"|"+(o=i.timeZoneName||"short")])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),t[a]=s),s).formatToParts(l)},s=function(t,n){for(var r=a(t,n),o=[],s=0;s=0&&(o[d]=parseInt(c,10))}var f=o[3],h=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===f?0:f)+":"+o[4]+":"+o[5]+":000",p=+t;return(i.utc(h).valueOf()-(p-=p%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:e}),s=Math.round((r-new Date(a))/1e3/60),l=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(-(15*Math.round(r.getTimezoneOffset()/15))-s,!0);if(t){var u=l.utcOffset();l=l.add(n-u,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=s(+i(),a);if("string"!=typeof e)return i(e).tz(a);var u=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var o=s(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),c=u[0],d=u[1],f=i(c).utcOffset(d);return f.$x.$timezone=a,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}},e.exports=t()},90783:function(e){var t;t=function(){return function(e,t,n){n.updateLocale=function(e,t){var r=n.Ls[e];if(r)return(t?Object.keys(t):[]).forEach(function(e){r[e]=t[e]}),r}}},e.exports=t()},8558:function(e){var t;t=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r)))return this;var a=16>=Math.abs(r)?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var c=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=o(e).local();return f.call(r,i,t,n)}}},e.exports=t()},9535:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var u,c,d=Array.isArray(n);return d!==Array.isArray(e)?r(n,l):d?l.arrayMerge(e,n,l):(c={},(u=l).isMergeableObject(e)&&o(e).forEach(function(t){c[t]=r(e[t],u)}),o(n).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&u.isMergeableObject(n[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(t,u)(e[t],n[t],u):c[t]=r(n[t],u))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},e.exports=s},2417:function(e){"use strict";e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}},6726:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],f=1,h=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f + * @license MIT + */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},74811:function(e,t,n){"use strict";var r=null;"undefined"!=typeof WebSocket?r=WebSocket:"undefined"!=typeof MozWebSocket?r=MozWebSocket:void 0!==n.g?r=n.g.WebSocket||n.g.MozWebSocket:"undefined"!=typeof window?r=window.WebSocket||window.MozWebSocket:"undefined"!=typeof self&&(r=self.WebSocket||self.MozWebSocket),t.Z=r},72799:function(e,t,n){"use strict";n.d(t,{Bu:function(){return ej},sE:function(){return eR}});let r=(e,t)=>{for(let n in t)e[n]=t[n];return e},i="numeric",o="ascii",a="alpha",s="asciinumeric",l="alphanumeric",u="domain",c="emoji",d="whitespace";function f(e,t,n){for(let r in t[i]&&(t[s]=!0,t[l]=!0),t[o]&&(t[s]=!0,t[a]=!0),t[s]&&(t[l]=!0),t[a]&&(t[l]=!0),t[l]&&(t[u]=!0),t[c]&&(t[u]=!0),t){let t=(r in n||(n[r]=[]),n[r]);0>t.indexOf(e)&&t.push(e)}}function h(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}h.groups={},h.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t=0&&(n[r]=!0);return n}(o.t,i),n),i):n&&f(t,n,i)),o.t=t),this.j[e]=o,o}};let p=(e,t,n,r,i)=>e.ta(t,n,r,i),m=(e,t,n,r,i)=>e.tr(t,n,r,i),g=(e,t,n,r,i)=>e.ts(t,n,r,i),v=(e,t,n,r,i)=>e.tt(t,n,r,i),y="WORD",b="UWORD",w="LOCALHOST",_="UTLD",x="SCHEME",D="SLASH_SCHEME",E="OPENBRACE",C="CLOSEBRACE",k="OPENBRACKET",S="CLOSEBRACKET",T="OPENPAREN",M="CLOSEPAREN",O="OPENANGLEBRACKET",P="CLOSEANGLEBRACKET",R="FULLWIDTHLEFTPAREN",j="FULLWIDTHRIGHTPAREN",L="LEFTCORNERBRACKET",F="RIGHTCORNERBRACKET",A="LEFTWHITECORNERBRACKET",N="RIGHTWHITECORNERBRACKET",I="FULLWIDTHLESSTHAN",B="FULLWIDTHGREATERTHAN",U="AMPERSAND",z="APOSTROPHE",H="ASTERISK",V="BACKSLASH",q="BACKTICK",W="CARET",$="COLON",Y="COMMA",Z="DOLLAR",G="EQUALS",J="EXCLAMATION",K="HYPHEN",X="PERCENT",Q="PIPE",ee="PLUS",et="POUND",en="QUERY",er="QUOTE",ei="SEMI",eo="SLASH",ea="TILDE",es="UNDERSCORE",el="EMOJI";var eu=Object.freeze({__proto__:null,WORD:y,UWORD:b,LOCALHOST:w,TLD:"TLD",UTLD:_,SCHEME:x,SLASH_SCHEME:D,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:E,CLOSEBRACE:C,OPENBRACKET:k,CLOSEBRACKET:S,OPENPAREN:T,CLOSEPAREN:M,OPENANGLEBRACKET:O,CLOSEANGLEBRACKET:P,FULLWIDTHLEFTPAREN:R,FULLWIDTHRIGHTPAREN:j,LEFTCORNERBRACKET:L,RIGHTCORNERBRACKET:F,LEFTWHITECORNERBRACKET:A,RIGHTWHITECORNERBRACKET:N,FULLWIDTHLESSTHAN:I,FULLWIDTHGREATERTHAN:B,AMPERSAND:U,APOSTROPHE:z,ASTERISK:H,AT:"AT",BACKSLASH:V,BACKTICK:q,CARET:W,COLON:$,COMMA:Y,DOLLAR:Z,DOT:"DOT",EQUALS:G,EXCLAMATION:J,HYPHEN:K,PERCENT:X,PIPE:Q,PLUS:ee,POUND:et,QUERY:en,QUOTE:er,SEMI:ei,SLASH:eo,TILDE:ea,UNDERSCORE:es,EMOJI:el,SYM:"SYM"});let ec=/[a-z]/,ed=/\p{L}/u,ef=/\p{Emoji}/u,eh=/\d/,ep=/\s/,em=null,eg=null;function ev(e,t,n,r,i){let o;let a=t.length;for(let n=0;n=0;)i++;if(i>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+i),10);t>0;t--)n.pop();r+=i}else n.push(e[r]),r++}return t}let eb={defaultProtocol:"http",events:null,format:e_,formatHref:e_,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ew(e,t){void 0===t&&(t=null);let n=r({},eb);e&&(n=r(n,e instanceof ew?e.o:e));let i=n.ignoreTags,o=[];for(let e=0;ee,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){let r=null!=t,i=this.o[e];return i&&("object"==typeof i?"function"==typeof(i=n.t in i?i[n.t]:eb[e])&&r&&(i=i(t,n)):"function"==typeof i&&r&&(i=i(t,n.t,n))),i},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){let t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},ex.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=eb.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let t=this.toHref(e.get("defaultProtocol")),n=e.get("formatHref",t,this),i=e.get("tagName",t,this),o=this.toFormattedString(e),a={},s=e.get("className",t,this),l=e.get("target",t,this),u=e.get("rel",t,this),c=e.getObj("attributes",t,this),d=e.getObj("events",t,this);return a.href=n,s&&(a.class=s),l&&(a.target=l),u&&(a.rel=u),c&&r(a,c),{tagName:i,attributes:a,content:o,eventListeners:d}}};let eE=eD("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),eC=eD("text"),ek=eD("nl"),eS=eD("url",{isLink:!0,toHref(e){return void 0===e&&(e=eb.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==w&&e[1].t===$}}),eT=e=>new h(e);function eM(e,t,n){let r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}"undefined"!=typeof console&&console&&console.warn||(()=>{});let eO={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function eP(e){return eO.initialized||function(){eO.scanner=function(e){void 0===e&&(e=[]);let t={};h.groups=t;let n=new h;null==em&&(em=ey("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==eg&&(eg=ey("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),v(n,"'",z),v(n,"{",E),v(n,"}",C),v(n,"[",k),v(n,"]",S),v(n,"(",T),v(n,")",M),v(n,"<",O),v(n,">",P),v(n,"(",R),v(n,")",j),v(n,"「",L),v(n,"」",F),v(n,"『",A),v(n,"』",N),v(n,"<",I),v(n,">",B),v(n,"&",U),v(n,"*",H),v(n,"@","AT"),v(n,"`",q),v(n,"^",W),v(n,":",$),v(n,",",Y),v(n,"$",Z),v(n,".","DOT"),v(n,"=",G),v(n,"!",J),v(n,"-",K),v(n,"%",X),v(n,"|",Q),v(n,"+",ee),v(n,"#",et),v(n,"?",en),v(n,'"',er),v(n,"/",eo),v(n,";",ei),v(n,"~",ea),v(n,"_",es),v(n,"\\",V);let l=m(n,eh,"NUM",{[i]:!0});m(l,eh,l);let p=m(n,ec,y,{[o]:!0});m(p,ec,p);let eb=m(n,ed,b,{[a]:!0});m(eb,ec),m(eb,ed,eb);let ew=m(n,ep,"WS",{[d]:!0});v(n,"\n","NL",{[d]:!0}),v(ew,"\n"),m(ew,ep,ew);let e_=m(n,ef,el,{[c]:!0});m(e_,ef,e_),v(e_,"️",e_),m(v(e_,"‍"),ef,e_);let ex=[[ec,p]],eD=[[ec,null],[ed,eb]];for(let e=0;ee[0]>t[0]?1:-1);for(let t=0;t=0?a[u]=!0:ec.test(r)?eh.test(r)?a[s]=!0:a[o]=!0:a[i]=!0,g(n,r,r,a)}return g(n,"localhost",w,{ascii:!0}),n.jd=new h("SYM"),{start:n,tokens:r({groups:t},eu)}}(eO.customSchemes);for(let e=0;e=0&&f++,i++,c++;if(f<0)(i-=c)0&&(o.push(eM(eC,t,a)),a=[]),i-=f,c-=f;let e=d.t,r=n.slice(i-c,i);o.push(eM(e,t,r))}}return a.length>0&&o.push(eM(eC,t,a)),o}(eO.parser.start,e,function(e,t){let n=function(e){let t=[],n=e.length,r=0;for(;r56319||r+1===n||(i=e.charCodeAt(r+1))<56320||i>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),r=n.length,i=[],o=0,a=0;for(;a=0&&(d+=n[a].length,f++),u+=n[a].length,o+=n[a].length,a++;o-=d,a-=f,u-=d,i.push({t:c.t,v:t.slice(o-u,o),s:o-u,e:o})}return i}(eO.scanner.start,e))}function eR(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}let r=new ew(n),i=eP(e),o=[];for(let e=0;e=t||n<0||d&&r>=o}function w(){var e,n,r,i=m();if(b(i))return _(i);s=setTimeout(w,(e=i-l,n=i-u,r=t-e,d?p(r,o-n):r))}function _(e){return(s=void 0,f&&r)?y(e):(r=i=void 0,a)}function x(){var e,n=m(),o=b(n);if(r=arguments,i=this,l=n,o){if(void 0===s)return u=e=l,s=setTimeout(w,t),c?y(e):a;if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,g(n)&&(c=!!n.leading,o=(d="maxWait"in n)?h(v(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),x.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},x.flush=function(){return void 0===s?a:_(m())},x}},57701:function(e,t,n){var r="Expected a function",i=0/0,o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,g=function(){return f.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return i;if(v(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=v(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=s.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):a.test(e)?i:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw TypeError(r);return v(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),function(e,t,n){var i,o,a,s,l,u,c=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw TypeError(r);function b(t){var n=i,r=o;return i=o=void 0,c=t,s=e.apply(r,n)}function w(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||f&&r>=a}function _(){var e,n,r,i=g();if(w(i))return x(i);l=setTimeout(_,(e=i-u,n=i-c,r=t-e,f?m(r,a-n):r))}function x(e){return(l=void 0,h&&i)?b(e):(i=o=void 0,s)}function D(){var e,n=g(),r=w(n);if(i=arguments,o=this,u=n,r){if(void 0===l)return c=e=u,l=setTimeout(_,t),d?b(e):s;if(f)return l=setTimeout(_,t),b(u)}return void 0===l&&(l=setTimeout(_,t)),s}return t=y(t)||0,v(n)&&(d=!!n.leading,a=(f="maxWait"in n)?p(y(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),D.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=o=l=void 0},D.flush=function(){return void 0===l?s:x(g())},D}(e,t,{leading:i,maxWait:t,trailing:o})}},94067:function(e,t,n){e=n.nmd(e);var r,i,o,a="__lodash_hash_undefined__",s=1/0,l="[object Arguments]",u="[object Array]",c="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",p="[object Map]",m="[object Number]",g="[object Object]",v="[object Promise]",y="[object RegExp]",b="[object Set]",w="[object String]",_="[object Symbol]",x="[object WeakMap]",D="[object ArrayBuffer]",E="[object DataView]",C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k=/^\w*$/,S=/^\./,T=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,O=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R[l]=R[u]=R[D]=R[c]=R[E]=R[d]=R[f]=R[h]=R[p]=R[m]=R[g]=R[y]=R[b]=R[w]=R[x]=!1;var j="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,L="object"==typeof self&&self&&self.Object===Object&&self,F=j||L||Function("return this")(),A=t&&!t.nodeType&&t,N=A&&e&&!e.nodeType&&e,I=N&&N.exports===A&&j.process,B=function(){try{return I&&I.binding("util")}catch(e){}}(),U=B&&B.isTypedArray;function z(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=-1;++o-1}function H(e){return e!=e}function V(e,t){return e.has(t)}function q(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Y=Array.prototype,Z=Function.prototype,G=Object.prototype,J=F["__core-js_shared__"],K=(r=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",X=Z.toString,Q=G.hasOwnProperty,ee=G.toString,et=RegExp("^"+X.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=F.Symbol,er=F.Uint8Array,ei=G.propertyIsEnumerable,eo=Y.splice,ea=(i=Object.keys,o=Object,function(e){return i(o(e))}),es=ej(F,"DataView"),el=ej(F,"Map"),eu=ej(F,"Promise"),ec=ej(F,"Set"),ed=ej(F,"WeakMap"),ef=ej(Object,"create"),eh=eU(es),ep=eU(el),em=eU(eu),eg=eU(ec),ev=eU(ed),ey=en?en.prototype:void 0,eb=ey?ey.valueOf:void 0,ew=ey?ey.toString:void 0;function e_(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},ex.prototype.set=function(e,t){var n=this.__data__,r=ek(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},eD.prototype.clear=function(){this.__data__={hash:new e_,map:new(el||ex),string:new e_}},eD.prototype.delete=function(e){return eR(this,e).delete(e)},eD.prototype.get=function(e){return eR(this,e).get(e)},eD.prototype.has=function(e){return eR(this,e).has(e)},eD.prototype.set=function(e,t){return eR(this,e).set(e,t),this},eE.prototype.add=eE.prototype.push=function(e){return this.__data__.set(e,a),this},eE.prototype.has=function(e){return this.__data__.has(e)},eC.prototype.clear=function(){this.__data__=new ex},eC.prototype.delete=function(e){return this.__data__.delete(e)},eC.prototype.get=function(e){return this.__data__.get(e)},eC.prototype.has=function(e){return this.__data__.has(e)},eC.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ex){var r=n.__data__;if(!el||r.length<199)return r.push([e,t]),this;n=this.__data__=new eD(r)}return n.set(e,t),this};var eO=ec&&1/$(new ec([,-0]))[1]==s?function(e){return new ec(e)}:function(){};function eP(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,f=1&i?new eE:void 0;for(o.set(e,t),o.set(t,e);++c-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function eZ(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eG(e){return!!e&&"object"==typeof e}function eJ(e){return"symbol"==typeof e||eG(e)&&ee.call(e)==_}var eK=U?function(e){return U(e)}:function(e){return eG(e)&&eY(e.length)&&!!R[ee.call(e)]};function eX(e){return eW(e)?function(e,t){var n=eq(e)||eV(e)?function(e,t){for(var n=-1,r=Array(e);++n=200){var u=t?null:eO(e);if(u)return $(u);a=!1,i=V,l=new eE}else l=t?[]:s;n:for(;++r-1}},10079:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r=200&&(d=l,f=!1,t=new r(t));n:for(;++c0&&o(c)?n>1?e(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},60404:function(e,t,n){var r=n(72994)();e.exports=r},97385:function(e,t,n){var r=n(60404),i=n(63815);e.exports=function(e,t){return e&&r(e,t,i)}},29013:function(e,t,n){var r=n(23499),i=n(83863);e.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n=200){var m=t?null:s(e);if(m)return l(m);f=!1,c=a,p=new r}else p=t?[]:h;n:for(;++ut||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!c&&e=l)return u;return u*("desc"==n[i]?-1:1)}}return e.index-t.index}},47120:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++rc))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p-1&&e%1==0&&e-1}},97126:function(e,t,n){var r=n(22162);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},59752:function(e,t,n){var r=n(70266),i=n(57115),o=n(77970);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},20170:function(e,t,n){var r=n(58035);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},41069:function(e,t,n){var r=n(58035);e.exports=function(e){return r(this,e).get(e)}},28690:function(e,t,n){var r=n(58035);e.exports=function(e){return r(this,e).has(e)}},27323:function(e,t,n){var r=n(58035);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},14774:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},91378:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},95325:function(e,t,n){var r=n(89830);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},91850:function(e,t,n){var r=n(19044)(Object,"create");e.exports=r},93022:function(e,t,n){var r=n(23794)(Object.keys,Object);e.exports=r},69731:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},28079:function(e,t,n){e=n.nmd(e);var r=n(93330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},68391:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},23794:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},95694:function(e,t,n){var r=n(98266),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},24683:function(e,t,n){var r=n(57115);e.exports=function(){this.__data__=new r,this.size=0}},34813:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},35115:function(e){e.exports=function(e){return this.__data__.get(e)}},28199:function(e){e.exports=function(e){return this.__data__.has(e)}},58644:function(e,t,n){var r=n(57115),i=n(77970),o=n(8705);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},13708:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r-1&&e%1==0&&e<=9007199254740991}},63117:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},50561:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},32999:function(e,t,n){var r=n(12731),i=n(98118),o=n(50561),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},71519:function(e,t,n){var r=n(12731),i=n(60443),o=n(50561);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},41108:function(e,t,n){var r=n(12731),i=n(50561);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},78470:function(e,t,n){var r=n(13272),i=n(66127),o=n(28079),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},63815:function(e,t,n){var r=n(16347),i=n(84238),o=n(17806);e.exports=function(e){return o(e)?r(e):i(e)}},88395:function(e,t,n){var r=n(16347),i=n(7369),o=n(17806);e.exports=function(e){return o(e)?r(e,!0):i(e)}},96579:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},89830:function(e,t,n){var r=n(8705);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},15162:function(e,t,n){var r=n(97302),i=n(18541)(function(e,t,n){r(e,t,n)});e.exports=i},47710:function(e){e.exports=function(){}},37656:function(e,t,n){var r=n(12958),i=n(73909)(function(e,t){return null==e?{}:r(e,t)});e.exports=i},82794:function(e,t,n){var r=n(31358),i=n(65903),o=n(59757),a=n(83863);e.exports=function(e){return o(e)?r(a(e)):i(e)}},47231:function(e,t,n){var r=n(70334);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},60229:function(e,t,n){var r=n(55648),i=n(66738),o=n(48674),a=n(60679),s=o(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])});e.exports=s},61810:function(e){e.exports=function(){return[]}},35423:function(e){e.exports=function(){return!1}},81452:function(e,t,n){var r=n(54133),i=n(88395);e.exports=function(e){return r(e,i(e))}},61250:function(e,t,n){var r=n(13963);e.exports=function(e){return null==e?"":r(e)}},95492:function(e,t,n){var r=n(32874);e.exports=function(e){return e&&e.length?r(e):[]}},90374:function(e,t,n){var r=n(37942),i=n(32874);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},30601:function(e,t,n){var r=n(38149),i=n(48674),o=n(65767),a=i(function(e,t){return o(e)?r(e,t):[]});e.exports=a},75356:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var n,i,o=0;o0?a-4:a;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */var r=n(675),i=n(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(M(e,ArrayBuffer)||e&&M(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(M(e,SharedArrayBuffer)||e&&M(e.buffer,SharedArrayBuffer)))return function(e,t,n){var r;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||M(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return S(e).length;default:if(i)return r?-1:C(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,n){var i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;f239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function _(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function x(e,t,n,r,o){return t=+t,n>>>=0,o||_(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,o){return t=+t,n>>>=0,o||_(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(M(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),M(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);in&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(M(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,l=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),d=0;d>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,d,f,h,p,m,g=this.length-t;if((void 0===n||n>g)&&(n=g),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var v=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i.push(n%256),i.push(r);return i}(e,this.length-p),this,p,m);default:if(v)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),v=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;w(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;w(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return x(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return x(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},s.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function k(e){for(var t=[],n=0;n=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function M(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,f=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*m}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(72);e.exports=i}()},88081:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n{let r=e;return"string"==typeof t||Array.isArray(t)?r=e.toLocaleString(t,n):(!0===t||void 0!==n)&&(r=e.toLocaleString(void 0,n)),r};e.exports=(e,a)=>{let s;if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);let l=(a=Object.assign({bits:!1,binary:!1},a)).bits?a.binary?i:r:a.binary?n:t;if(a.signed&&0===e)return` 0 ${l[0]}`;let u=e<0,c=u?"-":a.signed?"+":"";if(u&&(e=-e),void 0!==a.minimumFractionDigits&&(s={minimumFractionDigits:a.minimumFractionDigits}),void 0!==a.maximumFractionDigits&&(s=Object.assign({maximumFractionDigits:a.maximumFractionDigits},s)),e<1)return c+o(e,a.locale,s)+" "+l[0];let d=Math.min(Math.floor(a.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),l.length-1);return e/=Math.pow(a.binary?1024:1e3,d),s||(e=e.toPrecision(3)),c+o(Number(e),a.locale,s)+" "+l[d]}},99949:function(e,t,n){"use strict";var r=n(88877);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},41448:function(e,t,n){e.exports=n(99949)()},88877:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38746:function(e,t,n){"use strict";n.d(t,{uI:function(){return X}});var r=n(2265),i=n(41448),o=n.n(i),a=n(11735),s=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function l(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=s.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var u=[".DS_Store","Thumbs.db"];function c(e){return"object"==typeof e&&null!==e}function d(e){return e.filter(function(e){return -1===u.indexOf(e.name)})}function f(e){if(null===e)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);nn)return[!1,k(n)];if(e.sizen)return[!1,k(n)]}return[!0,null]}function P(e){return null!=e}function R(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function j(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function L(e){e.preventDefault()}function F(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),i=1;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var G=(0,r.forwardRef)(function(e,t){var n=e.children,i=X(Z(e,I)),o=i.open,a=Z(i,B);return(0,r.useImperativeHandle)(t,function(){return{open:o}},[o]),r.createElement(r.Fragment,null,n($($({},a),{},{open:o})))});G.displayName="Dropzone";var J={disabled:!1,getFilesFromEvent:function(e){return(0,a.mG)(this,void 0,void 0,function(){return(0,a.Jh)(this,function(t){return c(e)&&c(e.dataTransfer)?[2,function(e,t){return(0,a.mG)(this,void 0,void 0,function(){var n;return(0,a.Jh)(this,function(r){switch(r.label){case 0:if(!e.items)return[3,2];if(n=f(e.items).filter(function(e){return"file"===e.kind}),"drop"!==t)return[2,n];return[4,Promise.all(n.map(h))];case 1:return[2,d(function e(t){return t.reduce(function(t,n){return(0,a.ev)((0,a.ev)([],(0,a.CR)(t),!1),(0,a.CR)(Array.isArray(n)?e(n):[n]),!1)},[])}(r.sent()))];case 2:return[2,d(f(e.files).map(function(e){return l(e)}))]}})})}(e.dataTransfer,e.type)]:c(e)&&c(e.target)?[2,f(e.target.files).map(function(e){return l(e)})]:Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return(0,a.mG)(this,void 0,void 0,function(){return(0,a.Jh)(this,function(t){switch(t.label){case 0:return[4,Promise.all(e.map(function(e){return e.getFile()}))];case 1:return[2,t.sent().map(function(e){return l(e)})]}})})}(e)]:[2,[]]})})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};G.defaultProps=J,G.propTypes={children:o().func,accept:o().objectOf(o().arrayOf(o().string)),multiple:o().bool,preventDropOnDocument:o().bool,noClick:o().bool,noKeyboard:o().bool,noDrag:o().bool,noDragEventsBubbling:o().bool,minSize:o().number,maxSize:o().number,maxFiles:o().number,disabled:o().bool,getFilesFromEvent:o().func,onFileDialogCancel:o().func,onFileDialogOpen:o().func,useFsAccessApi:o().bool,autoFocus:o().bool,onDragEnter:o().func,onDragLeave:o().func,onDragOver:o().func,onDrop:o().func,onDropAccepted:o().func,onDropRejected:o().func,onError:o().func,validator:o().func};var K={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=$($({},J),e),n=t.accept,i=t.disabled,o=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,l=t.multiple,u=t.maxFiles,c=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,h=t.onDrop,p=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,b=t.useFsAccessApi,D=t.autoFocus,E=t.preventDropOnDocument,C=t.noClick,k=t.noKeyboard,S=t.noDrag,I=t.noDragEventsBubbling,B=t.onError,W=t.validator,G=(0,r.useMemo)(function(){return function(e){if(P(e))return Object.entries(e).reduce(function(e,t){var n=x(t,2),r=n[0],i=n[1];return[].concat(y(e),[r],y(i))},[]).filter(function(e){return A(e)||N(e)}).join(",")}(n)},[n]),X=(0,r.useMemo)(function(){return P(n)?[{description:"Files",accept:Object.entries(n).filter(function(e){var t=x(e,2),n=t[0],r=t[1],i=!0;return A(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),i=!1),Array.isArray(r)&&r.every(N)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),i=!1),i}).reduce(function(e,t){var n=x(t,2),r=n[0],i=n[1];return w(w({},e),{},_({},r,i))},{})}]:n},[n]),et=(0,r.useMemo)(function(){return"function"==typeof v?v:ee},[v]),en=(0,r.useMemo)(function(){return"function"==typeof g?g:ee},[g]),er=(0,r.useRef)(null),ei=(0,r.useRef)(null),eo=H((0,r.useReducer)(Q,K),2),ea=eo[0],es=eo[1],el=ea.isFocused,eu=ea.isFileDialogActive,ec=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&b&&"showOpenFilePicker"in window),ed=function(){!ec.current&&eu&&setTimeout(function(){ei.current&&!ei.current.files.length&&(es({type:"closeDialog"}),en())},300)};(0,r.useEffect)(function(){return window.addEventListener("focus",ed,!1),function(){window.removeEventListener("focus",ed,!1)}},[ei,eu,en,ec]);var ef=(0,r.useRef)([]),eh=function(e){er.current&&er.current.contains(e.target)||(e.preventDefault(),ef.current=[])};(0,r.useEffect)(function(){return E&&(document.addEventListener("dragover",L,!1),document.addEventListener("drop",eh,!1)),function(){E&&(document.removeEventListener("dragover",L),document.removeEventListener("drop",eh))}},[er,E]),(0,r.useEffect)(function(){return!i&&D&&er.current&&er.current.focus(),function(){}},[er,D,i]);var ep=(0,r.useCallback)(function(e){B?B(e):console.error(e)},[B]),em=(0,r.useCallback)(function(e){var t;e.preventDefault(),e.persist(),eT(e),ef.current=[].concat(function(e){if(Array.isArray(e))return q(e)}(t=ef.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||V(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),j(e)&&Promise.resolve(o(e)).then(function(t){if(!R(e)||I){var n,r,i,o,d,f,h,p,m=t.length,g=m>0&&(r=(n={files:t,accept:G,minSize:s,maxSize:a,multiple:l,maxFiles:u,validator:W}).files,i=n.accept,o=n.minSize,d=n.maxSize,f=n.multiple,h=n.maxFiles,p=n.validator,(!!f||!(r.length>1))&&(!f||!(h>=1)||!(r.length>h))&&r.every(function(e){var t=x(M(e,i),1)[0],n=x(O(e,o,d),1)[0],r=p?p(e):null;return t&&n&&!r}));es({isDragAccept:g,isDragReject:m>0&&!g,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e)}}).catch(function(e){return ep(e)})},[o,c,ep,I,G,s,a,l,u,W]),eg=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eT(e);var t=j(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&f&&f(e),!1},[f,I]),ev=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eT(e);var t=ef.current.filter(function(e){return er.current&&er.current.contains(e)}),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ef.current=t,!(t.length>0)&&(es({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),j(e)&&d&&d(e))},[er,d,I]),ey=(0,r.useCallback)(function(e,t){var n=[],r=[];e.forEach(function(e){var t=H(M(e,G),2),i=t[0],o=t[1],l=H(O(e,s,a),2),u=l[0],c=l[1],d=W?W(e):null;if(i&&u&&!d)n.push(e);else{var f=[o,c];d&&(f=f.concat(d)),r.push({file:e,errors:f.filter(function(e){return e})})}}),(!l&&n.length>1||l&&u>=1&&n.length>u)&&(n.forEach(function(e){r.push({file:e,errors:[T]})}),n.splice(0)),es({acceptedFiles:n,fileRejections:r,type:"setFiles"}),h&&h(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&p&&p(n,t)},[es,l,G,s,a,u,h,p,m,W]),eb=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eT(e),ef.current=[],j(e)&&Promise.resolve(o(e)).then(function(t){(!R(e)||I)&&ey(t,e)}).catch(function(e){return ep(e)}),es({type:"reset"})},[o,ey,ep,I]),ew=(0,r.useCallback)(function(){if(ec.current){es({type:"openDialog"}),et(),window.showOpenFilePicker({multiple:l,types:X}).then(function(e){return o(e)}).then(function(e){ey(e,null),es({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(en(e),es({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(ec.current=!1,ei.current?(ei.current.value=null,ei.current.click()):ep(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):ep(e)});return}ei.current&&(es({type:"openDialog"}),et(),ei.current.value=null,ei.current.click())},[es,et,en,b,ey,ep,X,l]),e_=(0,r.useCallback)(function(e){er.current&&er.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),ew())},[er,ew]),ex=(0,r.useCallback)(function(){es({type:"focus"})},[]),eD=(0,r.useCallback)(function(){es({type:"blur"})},[]),eE=(0,r.useCallback)(function(){C||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(ew,0):ew())},[C,ew]),eC=function(e){return i?null:e},ek=function(e){return k?null:eC(e)},eS=function(e){return S?null:eC(e)},eT=function(e){I&&e.stopPropagation()},eM=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.role,r=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=Z(e,U);return $($(Y({onKeyDown:ek(F(r,e_)),onFocus:ek(F(o,ex)),onBlur:ek(F(a,eD)),onClick:eC(F(s,eE)),onDragEnter:eS(F(l,em)),onDragOver:eS(F(u,eg)),onDragLeave:eS(F(c,ev)),onDrop:eS(F(d,eb)),role:"string"==typeof n&&""!==n?n:"presentation"},void 0===t?"ref":t,er),i||k?{}:{tabIndex:0}),f)}},[er,e_,ex,eD,eE,em,eg,ev,eb,k,S,i]),eO=(0,r.useCallback)(function(e){e.stopPropagation()},[]),eP=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.onChange,r=e.onClick,i=Z(e,z);return $($({},Y({accept:G,multiple:l,type:"file",style:{display:"none"},onChange:eC(F(n,eb)),onClick:eC(F(r,eO)),tabIndex:-1},void 0===t?"ref":t,ei)),i)}},[ei,n,l,eb,i]);return $($({},ea),{},{isFocused:el&&!i,getRootProps:eM,getInputProps:eP,rootRef:er,inputRef:ei,open:eC(ew)})}function Q(e,t){switch(t.type){case"focus":return $($({},e),{},{isFocused:!0});case"blur":return $($({},e),{},{isFocused:!1});case"openDialog":return $($({},K),{},{isFileDialogActive:!0});case"closeDialog":return $($({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return $($({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return $($({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return $({},K);default:return e}}function ee(){}},20450:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,u,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(o[l],a[l]))return!1;return!0}if(n&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],a[u[l]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},7433:function(e,t,n){var r;r=function(e){return(()=>{var t={703:(e,t,n)=>{"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,u,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(o[l],a[l]))return!1;return!0}if(n&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===a.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],a[u[l]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},37:function(e,t,n){!function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t1||e(function(e,r){r.trackMouse&&(document.addEventListener(l,d),document.addEventListener(u,h));var i="touches"in t?t.touches[0]:t,o=c([i.clientX,i.clientY],r.rotationAngle);return n({},e,s,{initial:[].concat(o),xy:o,start:t.timeStamp||0})})},d=function(t){e(function(e,a){if("touches"in t&&t.touches.length>1)return e;var s="touches"in t?t.touches[0]:t,l=c([s.clientX,s.clientY],a.rotationAngle),u=l[0],d=l[1],f=u-e.xy[0],h=d-e.xy[1],p=Math.abs(f),m=Math.abs(h),g=(t.timeStamp||0)-e.start;if(pm?f>0?i:r:h>0?o:"Up",y={absX:p,absY:m,deltaX:f,deltaY:h,dir:v,event:t,first:e.first,initial:e.initial,velocity:Math.sqrt(p*p+m*m)/(g||1),vxvy:[f/(g||1),h/(g||1)]};a.onSwiping&&a.onSwiping(y);var b=!1;return(a.onSwiping||a.onSwiped||"onSwiped"+v in a)&&(b=!0),b&&a.preventDefaultTouchmoveEvent&&a.trackTouch&&t.cancelable&&t.preventDefault(),n({},e,{first:!1,eventData:y,swiping:!0})})},f=function(t){e(function(e,r){var i;if(e.swiping&&e.eventData){i=n({},e.eventData,{event:t}),r.onSwiped&&r.onSwiped(i);var o="onSwiped"+i.dir;o in r&&r[o](i)}else r.onTap&&r.onTap({event:t});return n({},e,s,{eventData:i})})},h=function(e){document.removeEventListener(l,d),document.removeEventListener(u,h),f(e)},v=function(e,t){var n=function(){};if(e&&e.addEventListener){var r=[["touchstart",a],["touchmove",d],["touchend",f]];r.forEach(function(n){var r=n[0],i=n[1];return e.addEventListener(r,i,{passive:t})}),n=function(){return r.forEach(function(t){var n=t[0],r=t[1];return e.removeEventListener(n,r)})}}return n},y={ref:function(t){null!==t&&e(function(e,r){if(e.el===t)return e;var i={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),i.cleanUpTouch=void 0),r.trackTouch&&t&&(i.cleanUpTouch=v(t,!r.preventDefaultTouchmoveEvent)),n({},e,{el:t},i)})}},t.trackMouse&&(y.onMouseDown=a),[y,v]},[p]),y=v[0],b=v[1];return m.current=(d=m.current,f=g.current,h={},!f.trackTouch&&d.cleanUpTouch?(d.cleanUpTouch(),h.cleanUpTouch=void 0):f.trackTouch&&!d.cleanUpTouch&&d.el&&(h.cleanUpTouch=b(d.el,!f.preventDefaultTouchmoveEvent)),n({},d,h)),y}}(t,n(888))},888:t=>{"use strict";t.exports=e}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";function e(){for(var e,t,n=0,r="";ney});var t=i(888),r=i.n(t);let a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var l="object"==typeof self&&self&&self.Object===Object&&self;let u=s||l||Function("return this")(),c=function(){return u.Date.now()};var d=/\s/,f=/^\s+/;let h=u.Symbol;var p=Object.prototype,m=p.hasOwnProperty,g=p.toString,v=h?h.toStringTag:void 0,y=Object.prototype.toString,b=h?h.toStringTag:void 0,w=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,x=/^0o[0-7]+$/i,D=parseInt;let E=function(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||null!=n&&"object"==typeof n&&"[object Symbol]"==(null==(t=n)?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?function(e){var t=m.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(e){}var i=g.call(e);return r&&(t?e[v]=n:delete e[v]),i}(t):y.call(t)))return NaN;if(a(e)){var t,n,r,i="function"==typeof e.valueOf?e.valueOf():e;e=a(i)?i+"":i}if("string"!=typeof e)return 0===e?e:+e;e=(r=e)?r.slice(0,function(e){for(var t=e.length;t--&&d.test(e.charAt(t)););return t}(r)+1).replace(f,""):r;var o=_.test(e);return o||x.test(e)?D(e.slice(2),o?2:8):w.test(e)?NaN:+e};var C=Math.max,k=Math.min;let S=function(e,t,n){var r,i,o,s,l,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function m(t){var n=r,o=i;return r=i=void 0,d=t,s=e.apply(o,n)}function g(e){var n=e-u;return void 0===u||n>=t||n<0||h&&e-d>=o}function v(){var e,n=c();if(g(n))return y(n);l=setTimeout(v,(e=t-(n-u),h?k(e,o-(n-d)):e))}function y(e){return l=void 0,p&&r?m(e):(r=i=void 0,s)}function b(){var e,n=c(),o=g(n);if(r=arguments,i=this,u=n,o){if(void 0===l)return d=e=u,l=setTimeout(v,t),f?m(e):s;if(h)return clearTimeout(l),l=setTimeout(v,t),m(u)}return void 0===l&&(l=setTimeout(v,t)),s}return t=E(t)||0,a(n)&&(f=!!n.leading,o=(h="maxWait"in n)?C(E(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==l&&clearTimeout(l),d=0,r=u=i=l=void 0},b.flush=function(){return void 0===l?s:y(c())},b},T=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return a(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),S(e,t,{leading:r,maxWait:t,trailing:i})};var M=i(590),O=i.n(M),P=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){R&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),A?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){R&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;F.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),I=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),Z="undefined"!=typeof WeakMap?new WeakMap:new P,G=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new Y(t,N.getInstance(),this);Z.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){G.prototype[e]=function(){var t;return(t=Z.get(this))[e].apply(t,arguments)}});let J=void 0!==j.ResizeObserver?j.ResizeObserver:G;var K=i(37),X=i(697),Q=r().memo(function(e){var t=e.description,n=e.fullscreen,i=e.handleImageLoaded,o=e.isFullscreen,a=e.onImageError,s=e.original,l=e.originalAlt,u=e.originalHeight,c=e.originalWidth,d=e.originalTitle,f=e.sizes,h=e.srcSet,p=e.loading,m=o&&n||s;return r().createElement(r().Fragment,null,r().createElement("img",{className:"image-gallery-image",src:m,alt:l,srcSet:h,height:u,width:c,sizes:f,title:d,onLoad:function(e){return i(e,s)},onError:a,loading:p}),t&&r().createElement("span",{className:"image-gallery-description"},t))});Q.displayName="Item",Q.propTypes={description:X.string,fullscreen:X.string,handleImageLoaded:X.func.isRequired,isFullscreen:X.bool,onImageError:X.func.isRequired,original:X.string.isRequired,originalAlt:X.string,originalHeight:X.string,originalWidth:X.string,originalTitle:X.string,sizes:X.string,srcSet:X.string,loading:X.string},Q.defaultProps={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"};var ee={left:r().createElement("polyline",{points:"15 18 9 12 15 6"}),right:r().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:r().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:r().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:r().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:r().createElement(r().Fragment,null,r().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),r().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},et=function(e){var t=e.strokeWidth,n=e.viewBox,i=e.icon;return r().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:n,fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"},ee[i])};et.propTypes={strokeWidth:X.number,viewBox:X.string,icon:(0,X.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired},et.defaultProps={strokeWidth:1,viewBox:"0 0 24 24"};var en=r().memo(function(e){var t=e.isFullscreen,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:n,"aria-label":"Open Fullscreen"},r().createElement(et,{strokeWidth:2,icon:t?"minimize":"maximize"}))});en.displayName="Fullscreen",en.propTypes={isFullscreen:X.bool.isRequired,onClick:X.func.isRequired};var er=r().memo(function(e){var t=e.disabled,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:t,onClick:n,"aria-label":"Previous Slide"},r().createElement(et,{icon:"left",viewBox:"6 0 12 24"}))});er.displayName="LeftNav",er.propTypes={disabled:X.bool.isRequired,onClick:X.func.isRequired};var ei=r().memo(function(e){var t=e.disabled,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:t,onClick:n,"aria-label":"Next Slide"},r().createElement(et,{icon:"right",viewBox:"6 0 12 24"}))});ei.displayName="RightNav",ei.propTypes={disabled:X.bool.isRequired,onClick:X.func.isRequired};var eo=r().memo(function(e){var t=e.isPlaying,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:n,"aria-label":"Play or Pause Slideshow"},r().createElement(et,{strokeWidth:2,icon:t?"pause":"play"}))});function ea(){return(ea=Object.assign||function(e){for(var t=1;t=3&&r&&(0===e&&t===i.length-1?o=" ".concat(s):e===i.length-1&&0===t&&(o=" ".concat(a))),o}},{key:"getTranslateXForTwoSlide",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,i=t.previousIndex,o=0===e&&1===n,a=1===e&&0===n,s=0===r,l=-100*n+100*e+r;return r>0?this.direction="left":r<0&&(this.direction="right"),a&&r>0&&(l=-100+r),o&&r<0&&(l=100+r),n!==i?0===e&&0===i&&s&&"left"===this.direction?l=100:1===e&&1===i&&s&&"right"===this.direction&&(l=-100):(a&&s&&"left"===this.direction&&(l=-100),o&&s&&"right"===this.direction&&(l=100)),l}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,i=t.slideStyle,o=this.props,a=o.infinite,s=o.items,l=o.useTranslate3D,u=o.isRTL,c=s.length-1,d=(-100*n+100*e)*(u?-1:1)+r;a&&s.length>2&&(0===n&&e===c?d=-100*(u?-1:1)+r:n===c&&0===e&&(d=100*(u?-1:1)+r)),a&&2===s.length&&(d=this.getTranslateXForTwoSlide(e));var f="translate(".concat(d,"%, 0)");return l&&(f="translate3d(".concat(d,"%, 0, 0)")),ec({display:this.isSlideVisible(e)?"inherit":"none",WebkitTransform:f,MozTransform:f,msTransform:f,OTransform:f,transform:f},i)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var e,t=this.props,n=t.useTranslate3D,r=t.isRTL,i=this.state,o=i.thumbsTranslate,a=i.thumbsStyle,s=r?-1*o:o;return this.isThumbnailVertical()?(e="translate(0, ".concat(o,"px)"),n&&(e="translate3d(0, ".concat(o,"px, 0)"))):(e="translate(".concat(s,"px, 0)"),n&&(e="translate3d(".concat(s,"px, 0, 0)"))),ec({WebkitTransform:e,MozTransform:e,msTransform:e,OTransform:e,transform:e},a)}},{key:"getSlideItems",value:function(){var t=this,n=this.state.currentIndex,i=this.props,o=i.items,a=i.slideOnThumbnailOver,s=i.onClick,l=i.lazyLoad,u=i.onTouchMove,c=i.onTouchEnd,d=i.onTouchStart,f=i.onMouseOver,h=i.onMouseLeave,p=i.renderItem,m=i.renderThumbInner,g=i.showThumbnails,v=i.showBullets,y=[],b=[],w=[];return o.forEach(function(i,o){var _=t.getAlignmentClassName(o),x=i.originalClass?" ".concat(i.originalClass):"",D=i.thumbnailClass?" ".concat(i.thumbnailClass):"",E=i.renderItem||p||t.renderItem,C=i.renderThumbInner||m||t.renderThumbInner,k=!l||_||t.lazyLoaded[o];k&&l&&!t.lazyLoaded[o]&&(t.lazyLoaded[o]=!0);var S=t.getSlideStyle(o),T=r().createElement("div",{"aria-label":"Go to Slide ".concat(o+1),key:"slide-".concat(o),tabIndex:"-1",className:"image-gallery-slide ".concat(_," ").concat(x),style:S,onClick:s,onKeyUp:t.handleSlideKeyUp,onTouchMove:u,onTouchEnd:c,onTouchStart:d,onMouseOver:f,onFocus:f,onMouseLeave:h,role:"button"},k?E(i):r().createElement("div",{style:{height:"100%"}}));if(y.push(T),g&&i.thumbnail){var M=e("image-gallery-thumbnail",D,{active:n===o});b.push(r().createElement("button",{key:"thumbnail-".concat(o),type:"button",tabIndex:"0","aria-pressed":n===o?"true":"false","aria-label":"Go to Slide ".concat(o+1),className:M,onMouseLeave:a?t.onThumbnailMouseLeave:null,onMouseOver:function(e){return t.handleThumbnailMouseOver(e,o)},onFocus:function(e){return t.handleThumbnailMouseOver(e,o)},onKeyUp:function(e){return t.handleThumbnailKeyUp(e,o)},onClick:function(e){return t.onThumbnailClick(e,o)}},C(i)))}if(v){var O=e("image-gallery-bullet",i.bulletClass,{active:n===o});w.push(r().createElement("button",{type:"button",key:"bullet-".concat(o),className:O,onClick:function(e){return i.bulletOnClick&&i.bulletOnClick({item:i,itemIndex:o,currentIndex:n}),e.target.blur(),t.slideToIndex.call(t,o,e)},"aria-pressed":n===o?"true":"false","aria-label":"Go to Slide ".concat(o+1)}))}}),{slides:y,thumbnails:b,bullets:w}}},{key:"ignoreIsTransitioning",value:function(){var e=this.props.items,t=this.state,n=t.previousIndex,r=t.currentIndex,i=e.length-1;return Math.abs(n-r)>1&&!(0===n&&r===i)&&!(n===i&&0===r)}},{key:"isFirstOrLastSlide",value:function(e){return e===this.props.items.length-1||0===e}},{key:"slideIsTransitioning",value:function(e){var t=this.state,n=t.isTransitioning,r=t.previousIndex,i=t.currentIndex;return n&&!(e===r||e===i)}},{key:"isSlideVisible",value:function(e){return!this.slideIsTransitioning(e)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(e)}},{key:"slideThumbnailBar",value:function(){var e=this.state,t=e.currentIndex,n=e.isSwipingThumbnail,r=-this.getThumbsTranslate(t);n||(0===t?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:r,thumbsSwipedTranslate:r}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex=100&&(p=100),this.setState({currentSlideOffset:h*p,slideStyle:{transition:"transform ".concat(f,"ms ease-out")}})}}}else c||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(e){var t=e.event,n=e.absX,r=e.absY,i=e.dir,o=this.props,a=o.stopPropagation,s=o.swipingThumbnailTransitionDuration,l=this.state,u=l.thumbsSwipedTranslate,c=l.thumbnailsWrapperHeight,d=l.thumbnailsWrapperWidth,f=l.swipingUpDown,h=l.swipingLeftRight;if(this.isThumbnailVertical()){if((i===K.LEFT||i===K.RIGHT||h)&&!f)return void(h||this.setState({swipingLeftRight:!0}));i!==K.UP&&i!==K.DOWN||f||this.setState({swipingUpDown:!0})}else{if((i===K.UP||i===K.DOWN||f)&&!h)return void(f||this.setState({swipingUpDown:!0}));i!==K.LEFT&&i!==K.RIGHT||h||this.setState({swipingLeftRight:!0})}var p,m,g,v,y=this.thumbnails&&this.thumbnails.current;this.isThumbnailVertical()?(m=Math.abs(p=u+(i===K.DOWN?r:-r))>y.scrollHeight-c+20,g=p>20,v=y.scrollHeight<=c):(m=Math.abs(p=u+(i===K.RIGHT?n:-n))>y.scrollWidth-d+20,g=p>20,v=y.scrollWidth<=d),v||(i===K.LEFT||i===K.UP)&&m||(i===K.RIGHT||i===K.DOWN)&&g||(a&&t.stopPropagation(),this.setState({thumbsTranslate:p,thumbsStyle:{transition:"transform ".concat(s,"ms ease-out")}}))}},{key:"handleOnThumbnailSwiped",value:function(){var e=this.state.thumbsTranslate,t=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:e,thumbsStyle:{transition:"all ".concat(t,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){return Math.abs(this.state.currentSlideOffset)>this.props.swipeThreshold}},{key:"resetSwipingDirection",value:function(){var e=this.state,t=e.swipingUpDown,n=e.swipingLeftRight;t&&this.setState({swipingUpDown:!1}),n&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(e){var t=e.event,n=e.dir,r=e.velocity,i=this.props,o=i.disableSwipe,a=i.stopPropagation,s=i.flickThreshold;if(!o){var l=this.props.isRTL;a&&t.stopPropagation(),this.resetSwipingDirection();var u=(n===K.LEFT?1:-1)*(l?-1:1),c=n===K.UP||n===K.DOWN;this.handleOnSwipedTo(u,r>s&&!c)}}},{key:"handleOnSwipedTo",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,o=r;(this.sufficientSwipe()||t)&&!i&&(o+=e),(-1!==e||this.canSlideLeft())&&(1!==e||this.canSlideRight())||(o=r),this.unthrottledSlideToIndex(o)}},{key:"handleTouchMove",value:function(e){this.state.swipingLeftRight&&e.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(e){var t=this.props,n=t.disableKeyDown,r=t.useBrowserFullscreen,i=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!n)switch(parseInt(e.keyCode||e.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(e);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(e);break;case 27:i&&!r&&this.exitFullScreen()}}},{key:"handleImageError",value:function(e){var t=this.props.onErrorImageURL;t&&-1===e.target.src.indexOf(t)&&(e.target.src=t)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var e=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(e)))}},{key:"initSlideWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeSlideWrapperObserver=new J(S(function(e){e&&e.forEach(function(e){t.setState({thumbnailsWrapperWidth:e.contentRect.width},t.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(e.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeThumbnailWrapperObserver=new J(S(function(e){e&&e.forEach(function(e){t.setState({thumbnailsWrapperHeight:e.contentRect.height},t.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(e.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var e=this.props,t=e.onScreenChange,n=e.useBrowserFullscreen,r=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,i=this.imageGallery.current===r;t&&t(i),n&&this.setState({isFullscreen:i})}},{key:"slideToIndex",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,o=this.props,a=o.items,s=o.slideDuration,l=o.onBeforeSlide;if(!i){t&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var u=a.length-1,c=e;e<0?c=u:e>u&&(c=0),l&&c!==r&&l(c),this.setState({previousIndex:r,currentIndex:c,isTransitioning:c!==r,currentSlideOffset:0,slideStyle:{transition:"all ".concat(s,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"right":"left")}},{key:"slideRight",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"left":"right")}},{key:"slideTo",value:function(e,t){var n=this,r=this.state,i=r.currentIndex,o=r.currentSlideOffset,a=r.isTransitioning,s=this.props.items,l=i+("left"===t?-1:1);a||(2===s.length?this.setState({currentSlideOffset:o+("left"===t?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return n.slideToIndex(l,e)},25)}):this.slideToIndex(l,e))}},{key:"handleThumbnailMouseOver",value:function(e,t){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(e,t)}},{key:"handleThumbnailKeyUp",value:function(e,t){eg(e)&&this.onThumbnailClick(e,t)}},{key:"handleSlideKeyUp",value:function(e){eg(e)&&(0,this.props.onClick)(e)}},{key:"isThumbnailVertical",value:function(){var e=this.props.thumbnailPosition;return"left"===e||"right"===e}},{key:"addScreenChangeEvent",value:function(){var e=this;ep.forEach(function(t){document.addEventListener(t,e.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var e=this;ep.forEach(function(t){document.removeEventListener(t,e.handleScreenChange)})}},{key:"fullScreen",value:function(){var e=this.props.useBrowserFullscreen,t=this.imageGallery.current;e?t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var e=this.state.isFullscreen,t=this.props.useBrowserFullscreen;e&&(t?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var e=this.props.infinite,t=this.state.currentIndex;e||this.canSlideRight()?this.slideToIndex(t+1):this.pause()}},{key:"play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,n=t.onPlay,r=t.slideInterval,i=t.slideDuration,o=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(r,i)),n&&e&&n(o))}},{key:"pause",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props.onPause,n=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),t&&e&&t(n))}},{key:"isImageLoaded",value:function(e){return!!this.loadedImages[e.original]||(this.loadedImages[e.original]=!0,!1)}},{key:"handleImageLoaded",value:function(e,t){var n=this.props.onImageLoad;!this.loadedImages[t]&&n&&(this.loadedImages[t]=!0,n(e))}},{key:"renderItem",value:function(e){var t=this.state.isFullscreen,n=this.props.onImageError||this.handleImageError;return r().createElement(Q,{description:e.description,fullscreen:e.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:t,onImageError:n,original:e.original,originalAlt:e.originalAlt,originalHeight:e.originalHeight,originalWidth:e.originalWidth,originalTitle:e.originalTitle,sizes:e.sizes,loading:e.loading,srcSet:e.srcSet})}},{key:"renderThumbInner",value:function(e){var t=this.props.onThumbnailError||this.handleImageError;return r().createElement("span",{className:"image-gallery-thumbnail-inner"},r().createElement("img",{className:"image-gallery-thumbnail-image",src:e.thumbnail,height:e.thumbnailHeight,width:e.thumbnailWidth,alt:e.thumbnailAlt,title:e.thumbnailTitle,loading:e.thumbnailLoading,onError:t}),e.thumbnailLabel&&r().createElement("div",{className:"image-gallery-thumbnail-label"},e.thumbnailLabel))}},{key:"render",value:function(){var t=this.state,n=t.currentIndex,i=t.isFullscreen,o=t.modalFullscreen,a=t.isPlaying,s=this.props,l=s.additionalClass,u=s.disableThumbnailSwipe,c=s.indexSeparator,d=s.isRTL,f=s.items,h=s.thumbnailPosition,p=s.renderFullscreenButton,m=s.renderCustomControls,g=s.renderLeftNav,v=s.renderRightNav,y=s.showBullets,b=s.showFullscreenButton,w=s.showIndex,_=s.showThumbnails,x=s.showNav,D=s.showPlayButton,E=s.renderPlayPauseButton,C=this.getThumbnailStyle(),k=this.getSlideItems(),S=k.slides,T=k.thumbnails,M=k.bullets,O=e("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(h),{"image-gallery-rtl":d}),P=r().createElement("div",{ref:this.imageGallerySlideWrapper,className:O},m&&m(),this.canSlide()?r().createElement(r().Fragment,null,x&&r().createElement(r().Fragment,null,g(this.slideLeft,!this.canSlideLeft()),v(this.slideRight,!this.canSlideRight())),r().createElement(es,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},r().createElement("div",{className:"image-gallery-slides"},S))):r().createElement("div",{className:"image-gallery-slides"},S),D&&E(this.togglePlay,a),y&&r().createElement("div",{className:"image-gallery-bullets"},r().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},M)),b&&p(this.toggleFullScreen,i),w&&r().createElement("div",{className:"image-gallery-index"},r().createElement("span",{className:"image-gallery-index-current"},n+1),r().createElement("span",{className:"image-gallery-index-separator"},c),r().createElement("span",{className:"image-gallery-index-total"},f.length))),R=e("image-gallery",l,{"fullscreen-modal":o}),j=e("image-gallery-content",this.getThumbnailPositionClassName(h),{fullscreen:i}),L=e("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(h),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&d},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!u},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!u});return r().createElement("div",{ref:this.imageGallery,className:R,"aria-live":"polite"},r().createElement("div",{className:j},("bottom"===h||"right"===h)&&P,_&&T.length>0?r().createElement(es,{className:L,delta:0,onSwiping:!u&&this.handleThumbnailSwiping,onSwiped:!u&&this.handleOnThumbnailSwiped},r().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},r().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:C,"aria-label":"Thumbnail Navigation"},T))):null,("top"===h||"left"===h)&&P))}}],function(e,t){for(var n=0;n0&&e<1){var r=this.player.getDuration();if(!r){console.warn("ReactPlayer: could not seek using fraction –\xa0duration not yet available");return}this.player.seekTo(r*e);return}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?o.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null}),w(y(n),"seekTo",function(e,t){if(!n.player)return null;n.player.seekTo(e,t)}),w(y(n),"handleReady",function(){n.props.onReady(y(n))}),w(y(n),"getActivePlayer",(0,o.default)(function(n){for(var r=0,i=[].concat(T,m(e));re.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,s=!0,l=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==o.return||o.return()}finally{if(l)throw a}}}}(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;if("string"==typeof a&&e(a)||e(a.src))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}return!!((0,r.isMediaStream)(t)||(0,r.isBlobUrl)(t))||y.test(t)||b.test(t)||w.test(t)||_.test(t)||x.test(t)}}},8816:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(52975),a=n(84170);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1,m=h&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||p)&&!window.MSStream,g=/www\.dropbox\.com\/.+/,v=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(h,e);var t,n,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=d(h);return e=t?Reflect.construct(n,arguments,d(this).constructor):n.apply(this,arguments),e&&("object"===r(e)||"function"==typeof e)?e:c(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;rparseInt(a)?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:n.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()}),this.shouldUseFLV(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",s),"flvjs").then(function(n){t.flv=n.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.flv,n)}),t.flv.load(),t.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,o.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),r=this.shouldUseFLV(e);return e instanceof Array||(0,o.isMediaStream)(e)||t||n||r?void 0:g.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,a=e.muted,s=e.config,u=e.width,c=e.height,d=this.shouldUseAudio(this.props);return i.default.createElement(d?"audio":"video",l({ref:this.ref,src:this.getSource(t),style:{width:"auto"===u?u:"100%",height:"auto"===c?c:"100%"},preload:"auto",autoPlay:n||void 0,controls:o,muted:a,loop:r},s.attributes),t instanceof Array&&t.map(this.renderSourceElement),s.tracks.map(this.renderTrack))}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=f(t);return a&&i(a)?Promise.resolve(a):new Promise(function(r,i){if(h[e]){h[e].push({resolve:r,reject:i});return}h[e]=[{resolve:r,reject:i}];var a=function(t){h[e].forEach(function(e){return e.resolve(t)})};if(n){var s=window[n];window[n]=function(){s&&s(),a(f(t))}}o(e,function(r){r?(h[e].forEach(function(e){return e.reject(r)}),h[e]=null):n||a(f(t))})})},t.getConfig=function(e,t){return(0,i.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?r-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var r=o(n(24054)),i=o(n(9535));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&g(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var a=(d(e)?c(e):window).visualViewport,s=!y()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/i,u=(r.top+(s&&a?a.offsetTop:0))/o,h=r.width/i,p=r.height/o;return{width:h,height:p,top:u,right:l+h,bottom:u+p,left:l,x:l,y:u}}function w(e){var t=c(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function D(e){return b(x(e)).left+w(e).scrollLeft}function E(e){return c(e).getComputedStyle(e)}function C(e){var t=E(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function k(e){var t=b(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function S(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||x(e)}function T(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(_(t))>=0?t.ownerDocument.body:f(t)&&C(t)?t:e(S(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=c(r),a=i?[o].concat(o.visualViewport||[],C(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(T(S(a)))}function M(e){return f(e)&&"fixed"!==E(e).position?e.offsetParent:null}function O(e){for(var t=c(e),n=M(e);n&&["table","td","th"].indexOf(_(n))>=0&&"static"===E(n).position;)n=M(n);return n&&("html"===_(n)||"body"===_(n)&&"static"===E(n).position)?t:n||function(e){var t=/firefox/i.test(v());if(/Trident/i.test(v())&&f(e)&&"fixed"===E(e).position)return null;var n=S(e);for(h(n)&&(n=n.host);f(n)&&0>["html","body"].indexOf(_(n));){var r=E(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var P="bottom",R="right",j="left",L="auto",F=["top",P,R,j],A="start",N="viewport",I="popper",B=F.reduce(function(e,t){return e.concat([t+"-"+A,t+"-end"])},[]),U=[].concat(F,[L]).reduce(function(e,t){return e.concat([t,t+"-"+A,t+"-end"])},[]),z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],H={placement:"bottom",modifiers:[],strategy:"absolute"};function V(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function Z(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?W(i):null,a=i?$(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case"top":t={x:s,y:n.y-r.height};break;case P:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:l};break;case j:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=o?Y(o):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case A:t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n,r,i,o,a,s,l=e.popper,u=e.popperRect,d=e.placement,f=e.variation,h=e.offsets,p=e.position,m=e.gpuAcceleration,v=e.adaptive,y=e.roundOffsets,b=e.isFixed,w=h.x,_=void 0===w?0:w,D=h.y,C=void 0===D?0:D,k="function"==typeof y?y({x:_,y:C}):{x:_,y:C};_=k.x,C=k.y;var S=h.hasOwnProperty("x"),T=h.hasOwnProperty("y"),M=j,L="top",F=window;if(v){var A=O(l),N="clientHeight",I="clientWidth";A===c(l)&&"static"!==E(A=x(l)).position&&"absolute"===p&&(N="scrollHeight",I="scrollWidth"),("top"===d||(d===j||d===R)&&"end"===f)&&(L=P,C-=(b&&A===F&&F.visualViewport?F.visualViewport.height:A[N])-u.height,C*=m?1:-1),(d===j||("top"===d||d===P)&&"end"===f)&&(M=R,_-=(b&&A===F&&F.visualViewport?F.visualViewport.width:A[I])-u.width,_*=m?1:-1)}var B=Object.assign({position:p},v&&G),U=!0===y?(t={x:_,y:C},n=c(l),r=t.x,i=t.y,{x:g(r*(o=n.devicePixelRatio||1))/o||0,y:g(i*o)/o||0}):{x:_,y:C};return(_=U.x,C=U.y,m)?Object.assign({},B,((s={})[L]=T?"0":"",s[M]=S?"0":"",s.transform=1>=(F.devicePixelRatio||1)?"translate("+_+"px, "+C+"px)":"translate3d("+_+"px, "+C+"px, 0)",s)):Object.assign({},B,((a={})[L]=T?C+"px":"",a[M]=S?_+"px":"",a.transform="",a))}var K={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,function(e){return K[e]})}var Q={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,function(e){return Q[e]})}function et(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function en(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function er(e,t,n){var r,i,o,a,s,l,u,f,h,m;return t===N?en(function(e,t){var n=c(e),r=x(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=y();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+D(e),y:l}}(e,n)):d(t)?((r=b(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):en((i=x(e),a=x(i),s=w(i),l=null==(o=i.ownerDocument)?void 0:o.body,u=p(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),f=p(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),h=-s.scrollLeft+D(i),m=-s.scrollTop,"rtl"===E(l||a).direction&&(h+=p(a.clientWidth,l?l.clientWidth:0)-u),{width:u,height:f,x:h,y:m}))}function ei(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},ei(),e)}function ea(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function es(e,t){void 0===t&&(t={});var n,r,i,o,a,s,l,u,c=t,h=c.placement,g=void 0===h?e.placement:h,v=c.strategy,y=void 0===v?e.strategy:v,w=c.boundary,D=c.rootBoundary,C=c.elementContext,k=void 0===C?I:C,M=c.altBoundary,j=c.padding,L=void 0===j?0:j,A=eo("number"!=typeof L?L:ea(L,F)),B=e.rects.popper,U=e.elements[void 0!==M&&M?k===I?"reference":I:k],z=(n=d(U)?U:U.contextElement||x(e.elements.popper),r=void 0===w?"clippingParents":w,i=void 0===D?N:D,l=(s=[].concat("clippingParents"===r?(o=T(S(n)),d(a=["absolute","fixed"].indexOf(E(n).position)>=0&&f(n)?O(n):n)?o.filter(function(e){return d(e)&&et(e,a)&&"body"!==_(e)}):[]):[].concat(r),[i]))[0],(u=s.reduce(function(e,t){var r=er(n,t,y);return e.top=p(r.top,e.top),e.right=m(r.right,e.right),e.bottom=m(r.bottom,e.bottom),e.left=p(r.left,e.left),e},er(n,l,y))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),H=b(e.elements.reference),V=Z({reference:H,element:B,strategy:"absolute",placement:g}),q=en(Object.assign({},B,V)),W=k===I?q:H,$={top:z.top-W.top+A.top,bottom:W.bottom-z.bottom+A.bottom,left:z.left-W.left+A.left,right:W.right-z.right+A.right},Y=e.modifiersData.offset;if(k===I&&Y){var G=Y[g];Object.keys($).forEach(function(e){var t=[R,P].indexOf(e)>=0?1:-1,n=["top",P].indexOf(e)>=0?"y":"x";$[e]+=G[n]*t})}return $}function el(e,t,n){return p(e,m(t,n))}function eu(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ec(e){return["top",R,P,j].some(function(t){return e[t]>=0})}var ed=(o=void 0===(i=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=c(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,q)}),s&&l.addEventListener("resize",n.update,q),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,q)}),s&&l.removeEventListener("resize",n.update,q)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=n.adaptive,o=n.roundOffsets,a=void 0===o||o,s={placement:W(t.placement),variation:$(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];f(i)&&_(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});f(r)&&_(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=U.reduce(function(e,n){var r,i,a,s,l,u;return e[n]=(r=t.rects,a=[j,"top"].indexOf(i=W(n))>=0?-1:1,l=(s="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0],u=s[1],l=l||0,u=(u||0)*a,[j,R].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=W(g)===g,y=l||(v||!p?[X(g)]:function(e){if(W(e)===L)return[];var t=X(e);return[ee(e),t,ee(t)]}(g)),b=[g].concat(y).reduce(function(e,n){var r,i,o,a,s,l,f,h,g,v,y,b;return e.concat(W(n)===L?(i=(r={placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:p,allowedAutoPlacements:m}).placement,o=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,h=void 0===(f=r.allowedAutoPlacements)?U:f,0===(y=(v=(g=$(i))?l?B:B.filter(function(e){return $(e)===g}):F).filter(function(e){return h.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,n){return e[n]=es(t,{placement:n,boundary:o,rootBoundary:a,padding:s})[W(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),w=t.rects.reference,_=t.rects.popper,x=new Map,D=!0,E=b[0],C=0;C=0,O=M?"width":"height",N=es(t,{placement:k,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=M?T?R:j:T?P:"top";w[O]>_[O]&&(I=X(I));var z=X(I),H=[];if(o&&H.push(N[S]<=0),s&&H.push(N[I]<=0,N[z]<=0),H.every(function(e){return e})){E=k,D=!1;break}x.set(k,H)}if(D)for(var V=p?3:1,q=function(e){var t=b.find(function(t){var n=x.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},Y=V;Y>0&&"break"!==q(Y);Y--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=n.altAxis,a=n.boundary,s=n.rootBoundary,l=n.altBoundary,u=n.padding,c=n.tether,d=void 0===c||c,f=n.tetherOffset,h=void 0===f?0:f,g=es(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:l}),v=W(t.placement),y=$(t.placement),b=!y,w=Y(v),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,D=t.rects.reference,E=t.rects.popper,C="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,S="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(x){if(void 0===i||i){var L,F="y"===w?"top":j,N="y"===w?P:R,I="y"===w?"height":"width",B=x[w],U=B+g[F],z=B-g[N],H=d?-E[I]/2:0,V=y===A?D[I]:E[I],q=y===A?-E[I]:-D[I],Z=t.elements.arrow,G=d&&Z?k(Z):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ei(),K=J[F],X=J[N],Q=el(0,D[I],G[I]),ee=b?D[I]/2-H-Q-K-S.mainAxis:V-Q-K-S.mainAxis,et=b?-D[I]/2+H+Q+X+S.mainAxis:q+Q+X+S.mainAxis,en=t.elements.arrow&&O(t.elements.arrow),er=en?"y"===w?en.clientTop||0:en.clientLeft||0:0,eo=null!=(L=null==T?void 0:T[w])?L:0,ea=el(d?m(U,B+ee-eo-er):U,B,d?p(z,B+et-eo):z);x[w]=ea,M[w]=ea-B}if(void 0!==o&&o){var eu,ec,ed="x"===w?"top":j,ef="x"===w?P:R,eh=x[_],ep="y"===_?"height":"width",em=eh+g[ed],eg=eh-g[ef],ev=-1!==["top",j].indexOf(v),ey=null!=(ec=null==T?void 0:T[_])?ec:0,eb=ev?em:eh-D[ep]-E[ep]-ey+S.altAxis,ew=ev?eh+D[ep]+E[ep]-ey-S.altAxis:eg,e_=d&&ev?(eu=el(eb,eh,ew))>ew?ew:eu:el(d?eb:em,eh,d?ew:eg);x[_]=e_,M[_]=e_-eh}t.modifiersData[r]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,i=e.name,o=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,l=W(r.placement),u=Y(l),c=[j,R].indexOf(l)>=0?"height":"width";if(a&&s){var d=eo("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ea(t,F)),f=k(a),h="y"===u?"top":j,p="y"===u?P:R,m=r.rects.reference[c]+r.rects.reference[u]-s[u]-r.rects.popper[c],g=s[u]-r.rects.reference[u],v=O(a),y=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,b=d[h],w=y-f[c]-d[p],_=y/2-f[c]/2+(m/2-g/2),x=el(b,_,w);r.modifiersData[i]=((n={})[u]=x,n.centerOffset=x-_,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&et(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=es(t,{elementContext:"reference"}),s=es(t,{altBoundary:!0}),l=eu(a,r),u=eu(s,i,o),c=ec(l),d=ec(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:i,s=void 0===(a=r.defaultOptions)?H:a,function(e,t,n){void 0===n&&(n=s);var r,i,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},H,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,h={state:a,setOptions:function(n){var r,i,u,c,f,m="function"==typeof n?n(a.options):n;p(),a.options=Object.assign({},s,a.options,m),a.scrollParents={reference:d(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var g=(i=Object.keys(r=[].concat(o,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),u=new Map,c=new Set,f=[],i.forEach(function(e){u.set(e.name,e)}),i.forEach(function(e){c.has(e.name)||function e(t){c.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!c.has(t)){var n=u.get(t);n&&e(n)}}),f.push(t)}(e)}),z.reduce(function(e,t){return e.concat(f.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=g.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:h,options:void 0===n?{}:n});l.push(i||function(){})}}),h.update()},forceUpdate:function(){if(!u){var e,t,n,r,i,o,s,l,d,p,m,v,y=a.elements,E=y.reference,S=y.popper;if(V(E,S)){a.rects={reference:(t=O(S),n="fixed"===a.options.strategy,r=f(t),l=f(t)&&(o=g((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=g(i.height)/t.offsetHeight||1,1!==o||1!==s),d=x(t),p=b(E,l,n),m={scrollLeft:0,scrollTop:0},v={x:0,y:0},(r||!r&&!n)&&(("body"!==_(t)||C(d))&&(m=(e=t)!==c(e)&&f(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:w(e)),f(t)?(v=b(t,!0),v.x+=t.clientLeft,v.y+=t.clientTop):d&&(v.x=D(d))),{x:p.left+m.scrollLeft-v.x,y:p.top+m.scrollTop-v.y,width:p.width,height:p.height}),popper:k(S)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var T=0;T-1&&e.splice(t,1)};case 0:e.slice().forEach(function(e){e(n)});return;default:throw Error("unrecognized action "+t)}}}function w(e){var t=e,n=b();return function(e,r){switch(e){case 1:r(t);break;case 0:t=r;break;case 4:return t}return n(e,r)}}function _(e){var t;return v(e,t=b()),t}function x(e,t){var n;return v(e,n=w(t)),n}function D(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),r=1;r0?e--:t(n)}}}function R(e){var t,n;return function(r){return function(i){t=i,n||(n=setTimeout(function(){n=void 0,r(t)},e))}}}function j(e){var t,n;return function(r){return function(i){t=i,n&&clearTimeout(n),n=setTimeout(function(){r(t)},e)}}}function L(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var H=["children"],V="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function q(e,t,n){var r=Object.keys(t.required||{}),o=Object.keys(t.optional||{}),a=Object.keys(t.methods||{}),u=Object.keys(t.events||{}),c=(0,i.createContext)({});function f(e,n){e.propsReady&&p(e.propsReady,!1);for(var i,a=z(r);!(i=a()).done;){var s=i.value;p(e[t.required[s]],n[s])}for(var l,u=z(o);!(l=u()).done;){var c=l.value;c in n&&p(e[t.optional[c]],n[c])}e.propsReady&&p(e.propsReady,!0)}function v(e){return u.reduce(function(n,r){var i,o,a,s;return n[r]=(i=e[t.events[r]],s=function(){return o&&o()},function(e,t){switch(e){case 1:if(!t)return s(),h;if(a===t)return;return s(),a=t,o=i(1,t);case 2:s(),a=null;return;default:throw Error("unrecognized action "+e)}}),n},{})}return{Component:(0,i.forwardRef)(function(s,h){var g=s.children,y=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(s,H),b=(0,i.useState)(function(){var t,n;return t=new Map,f(n=function e(n){var r=n.id,i=n.constructor,o=n.dependencies,a=n.singleton;if(a&&t.has(r))return t.get(r);var s=i(o.map(function(t){return e(t)}));return a&&t.set(r,s),s}(e),y),n})[0],w=(0,i.useState)(l(v,b))[0];return V(function(){for(var e,t=z(u);!(e=t()).done;){var n=e.value;n in y&&(0,w[n])(1,y[n])}return function(){Object.values(w).map(m)}},[y,w,b]),V(function(){f(b,y)}),(0,i.useImperativeHandle)(h,d(a.reduce(function(e,n){return e[n]=function(e){p(b[t.methods[n]],e)},e},{}))),(0,i.createElement)(c.Provider,{value:b},n?(0,i.createElement)(n,function(e,t){for(var n={},r={},i=0,o=e.length;i=0||(i[n]=e[n]);return i}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J,K,X="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;(r=K||(K={}))[r.DEBUG=0]="DEBUG",r[r.INFO=1]="INFO",r[r.WARN=2]="WARN",r[r.ERROR=3]="ERROR";var Q=((J={})[K.DEBUG]="debug",J[K.INFO]="log",J[K.WARN]="warn",J[K.ERROR]="error",J),ee=I(function(){var e=w(K.ERROR);return{log:w(function(t,n,r){var i;void 0===r&&(r=K.INFO),r>=(null!=(i=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?i:g(e))&&console[Q[r]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,n)}),logLevel:e}},[],{singleton:!0});function et(e,t){void 0===t&&(t=!0);var n=(0,i.useRef)(null),r=function(e){};if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver(function(t){var n=t[0].target;null!==n.offsetParent&&e(n)});r=function(e){e&&t?(o.observe(e),n.current=e):(n.current&&o.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:r}}function en(e,t){return void 0===t&&(t=!0),et(e,t).callbackRef}function er(e,t,n,r,i,o,a){return et(function(n){for(var s,l=function(e,t,n,r){var i=e.length;if(0===i)return null;for(var o=[],a=0;aMath.abs(e-t)}function ea(e,t,n,r,o){void 0===r&&(r=h);var a=(0,i.useRef)(null),s=(0,i.useRef)(null),l=(0,i.useRef)(null),u=(0,i.useRef)(!1),c=(0,i.useCallback)(function(n){var r=n.target,i=r===window||r===document,o=i?window.pageYOffset||document.documentElement.scrollTop:r.scrollTop,a=i?document.documentElement.scrollHeight:r.scrollHeight,c=i?window.innerHeight:r.offsetHeight,d=function(){e({scrollTop:Math.max(o,0),scrollHeight:a,viewportHeight:c})};u.current?(0,W.flushSync)(d):d(),u.current=!1,null!==s.current&&(o===s.current||o<=0||o===a-c)&&(s.current=null,t(!0),l.current&&(clearTimeout(l.current),l.current=null))},[e,t]);return(0,i.useEffect)(function(){var e=o||a.current;return r(o||a.current),c({target:e}),e.addEventListener("scroll",c,{passive:!0}),function(){r(null),e.removeEventListener("scroll",c)}},[a,c,n,r,o]),{scrollerRef:a,scrollByCallback:function(e){u.current=!0,a.current.scrollBy(e)},scrollToCallback:function(n){var r=a.current;if(r&&(!("offsetHeight"in r)||0!==r.offsetHeight)){var i,o,u,c="smooth"===n.behavior;if(r===window?(o=Math.max(ei(document.documentElement,"height"),document.documentElement.scrollHeight),i=window.innerHeight,u=document.documentElement.scrollTop):(o=r.scrollHeight,i=ei(r,"height"),u=r.scrollTop),n.top=Math.ceil(Math.max(Math.min(o-i,n.top),0)),eo(i,o)||n.top===u)return e({scrollTop:u,scrollHeight:o,viewportHeight:i}),void(c&&t(!0));c?(s.current=n.top,l.current&&clearTimeout(l.current),l.current=setTimeout(function(){l.current=null,s.current=null,t(!0)},1e3)):s.current=null,r.scrollTo(n)}}}}var es=I(function(){var e=b(),t=b(),n=w(0),r=b(),i=w(0),o=b(),a=b(),s=w(0),l=w(0),u=w(0),c=w(0),d=b(),f=b(),h=w(!1),p=w(!1);return v(E(e,T(function(e){return e.scrollTop})),t),v(E(e,T(function(e){return e.scrollHeight})),a),v(t,i),{scrollContainerState:e,scrollTop:t,viewportHeight:o,headerHeight:s,fixedHeaderHeight:l,fixedFooterHeight:u,footerHeight:c,scrollHeight:a,smoothScrollTargetReached:r,react18ConcurrentRendering:p,scrollTo:d,scrollBy:f,statefulScrollTop:i,deviation:n,scrollingInProgress:h}},[],{singleton:!0}),el={lvl:0};function eu(e,t,n,r,i){return void 0===r&&(r=el),void 0===i&&(i=el),{k:e,v:t,lvl:n,l:r,r:i}}function ec(e){return e===el}function ed(e,t,n){if(void 0===n&&(n="k"),ec(e))return[-1/0,void 0];if(e[n]===t)return[e.k,e.v];if(e[n]e.r.lvl}function eg(e){var t=e.l,n=e.r,r=e.lvl;if(n.lvl>=r-1&&t.lvl>=r-1)return e;if(r>n.lvl+1){if(em(t))return ew(ep(e,{lvl:r-1}));if(ec(t)||ec(t.r))throw Error("Unexpected empty nodes");return ep(t.r,{l:ep(t,{r:t.r.l}),r:ep(e,{l:t.r.r,lvl:r-1}),lvl:r})}if(em(e))return eb(ep(e,{lvl:r-1}));if(ec(n)||ec(n.l))throw Error("Unexpected empty nodes");var i=n.l,o=em(i)?n.lvl-1:n.lvl;return ep(i,{l:ep(e,{r:i.l,lvl:r-1}),r:eb(ep(n,{l:i.r,lvl:o})),lvl:i.lvl+1})}function ev(e,t,n){return ec(e)?[]:ey(function e(t,n,r){if(ec(t))return[];var i=t.k,o=t.v,a=t.r,s=[];return i>n&&(s=s.concat(e(t.l,n,r))),i>=n&&i<=r&&s.push({k:i,v:o}),i<=r&&(s=s.concat(e(a,n,r))),s}(e,ed(e,t)[0],n),function(e){return{index:e.k,value:e.v}})}function ey(e,t){var n=e.length;if(0===n)return[];for(var r=t(e[0]),i=r.index,o=r.value,a=[],s=1;s0&&(0,t[2])("received item sizes",n,K.DEBUG);var o=e.sizeTree,a=o,s=0;if(r.length>0&&ec(o)&&2===n.length){var l=n[0].size,u=n[1].size;a=r.reduce(function(e,t){return ef(ef(e,t,l),t+1,u)},a)}else{var c=function(e,t){for(var n,r=ec(e)?0:1/0,i=G(t);!(n=i()).done;){var o=n.value,a=o.size,s=o.startIndex,l=o.endIndex;if(r=Math.min(r,s),ec(e))e=ef(e,0,a);else{var u=ev(e,s-1,l+1);if(!u.some(function(e){var t=e.size,n=e.startIndex,r=e.endIndex;return function(e){return e.start===n&&(e.end===r||1/0===e.end)&&e.value===t}}(o))){for(var c,d=!1,f=!1,h=G(u);!(c=h()).done;){var p=c.value,m=p.start,g=p.end,v=p.value;d?(l>=m||a===v)&&(e=function e(t,n){if(ec(t))return el;var r=t.k,i=t.l,o=t.r;if(n===r){if(ec(i))return o;if(ec(o))return i;var a=function e(t){return ec(t.r)?[t.k,t.v]:e(t.r)}(i);return eg(ep(t,{k:a[0],v:a[1],l:function e(t){return ec(t.r)?t.l:eg(ep(t,{r:e(t.r)}))}(i)}))}return eg(ep(t,nl&&l>=m&&v!==a&&(e=ef(e,l+1,v))}f&&(e=ef(e,s,a))}}}return[e,r]}(a,n);a=c[0],s=c[1]}if(a===o)return e;var d=ek(e.offsetTree,s,a,i),f=d.offsetTree;return{sizeTree:a,offsetTree:f,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:r.reduce(function(e,t){return ef(e,t,eT(t,f,i))},el),groupIndices:r}}function eT(e,t,n){if(0===t.length)return 0;var r=t[e_(t,e,eD)],i=e-r.index,o=r.size*i+(i-1)*n+r.offset;return o>0?o+n:o}function eM(e,t,n){if(void 0!==e.groupIndex)return t.groupIndices[e.groupIndex]+1;var r=eO("LAST"===e.index?n:e.index,t);return Math.max(0,r,Math.min(n,r))}function eO(e,t){if(!eP(t))return e;for(var n=0;t.groupIndices[n]<=e+n;)n++;return e+n}function eP(e){return!ec(e.groupOffsetTree)}var eR={offsetHeight:"height",offsetWidth:"width"},ej=I(function(e){var t=e[0].log,n=e[1].recalcInProgress,r=b(),i=b(),o=x(i,0),a=b(),s=b(),l=w(0),u=w([]),c=w(void 0),d=w(void 0),f=w(function(e,t){return ei(e,eR[t])}),h=w(void 0),m=w(0),y={offsetTree:[],sizeTree:el,groupOffsetTree:el,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},D=x(E(r,L(u,t,m),O(eS,y),k()),y);v(E(u,S(function(e){return e.length>0}),L(D,m),T(function(e){var t=e[0],n=e[1],r=e[2],i=t.reduce(function(e,t,i){return ef(e,t,eT(t,n.offsetTree,r)||i)},el);return $({},n,{groupIndices:t,groupOffsetTree:i})})),D),v(E(i,L(D),S(function(e){return e[0]0?(p(n,!0),p(a,e)):e<0&&p(s,e)}),E(l,L(t))(1,function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:l},K.ERROR)});var P=_(a);v(E(a,L(D),T(function(e){var t=e[0],n=e[1];if(n.groupIndices.length>0)throw Error("Virtuoso: prepending items does not work with groups");return eh(n.sizeTree).reduce(function(e,n){var r=n.k,i=n.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:r+t-1,size:e.prevSize}]),prevIndex:r+t,prevSize:i}},{ranges:[],prevIndex:0,prevSize:n.lastSize}).ranges})),r);var R=_(E(s,L(D,m),T(function(e){return eT(-e[0],e[1].offsetTree,e[2])})));return v(E(s,L(D,m),T(function(e){var t=e[0],n=e[1],r=e[2];if(n.groupIndices.length>0)throw Error("Virtuoso: shifting items does not work with groups");var i=eh(n.sizeTree).reduce(function(e,n){var r=n.v;return ef(e,Math.max(0,n.k+t),r)},el);return $({},n,{sizeTree:i},ek(n.offsetTree,0,i,r))})),D),{data:h,totalCount:i,sizeRanges:r,groupIndices:u,defaultItemSize:d,fixedItemSize:c,unshiftWith:a,shiftWith:s,shiftWithOffset:R,beforeUnshiftWith:P,firstItemIndex:l,gap:m,sizes:D,listRefresh:M,statefulTotalCount:o,trackItemSizes:C,itemSize:f}},u(ee,ex),{singleton:!0}),eL="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function eF(e){var t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&eL||(t.behavior="auto"),t.offset||(t.offset=0),t}var eA=I(function(e){var t=e[0],n=t.sizes,r=t.totalCount,i=t.listRefresh,o=t.gap,a=e[1],s=a.scrollingInProgress,l=a.viewportHeight,u=a.scrollTo,c=a.smoothScrollTargetReached,d=a.headerHeight,f=a.footerHeight,h=a.fixedHeaderHeight,m=a.fixedFooterHeight,g=e[2].log,_=b(),x=w(0),D=null,C=null,k=null;function S(){D&&(D(),D=null),k&&(k(),k=null),C&&(clearTimeout(C),C=null),p(s,!1)}return v(E(_,L(n,l,r,x,d,f,g),L(o,h,m),T(function(e){var t=e[0],n=t[0],r=t[1],o=t[2],a=t[3],l=t[4],u=t[5],d=t[6],f=t[7],h=e[1],m=e[2],g=e[3],v=eF(n),b=v.align,w=v.behavior,x=v.offset,T=a-1,M=eM(v,r,T),O=eT(M,r.offsetTree,h)+u;"end"===b?(O+=m+ed(r.sizeTree,M)[1]-o+g,M===T&&(O+=d)):"center"===b?O+=(m+ed(r.sizeTree,M)[1]-o+g)/2:O-=l,x&&(O+=x);var P=function(e){S(),e?(f("retrying to scroll to",{location:n},K.DEBUG),p(_,n)):f("list did not change, scroll successful",{},K.DEBUG)};if(S(),"smooth"===w){var R=!1;k=i(1,function(e){R=R||e}),D=y(c,function(){P(R)})}else D=y(E(i,function(e){var t=setTimeout(function(){e(!1)},150);return function(n){n&&(e(!0),clearTimeout(t))}}),P);return C=setTimeout(function(){S()},1200),p(s,!0),f("scrolling from index to",{index:M,top:O,behavior:w},K.DEBUG),{top:O,behavior:w}})),u),{scrollToIndex:_,topListHeight:x}},u(ej,es,ee),{singleton:!0}),eN={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},eI=I(function(e){var t=e[0],n=t.scrollContainerState,r=t.scrollTop,i=t.viewportHeight,o=t.headerHeight,a=t.footerHeight,s=t.scrollBy,l=w(!1),u=w(!0),c=b(),d=b(),f=w(4),h=w(0),p=x(E(F(E(A(r),P(1),M(!0)),E(A(r),P(1),M(!1),j(100))),k()),!1),m=x(E(F(E(s,M(!0)),E(s,M(!1),j(200))),k()),!1);v(E(N(A(r),A(h)),T(function(e){return e[0]<=e[1]}),k()),u),v(E(u,R(50)),d);var y=_(E(N(n,A(i),A(o),A(a),A(f)),O(function(e,t){var n,r,i=t[0],o=i.scrollTop,a=i.scrollHeight,s=t[1],l={viewportHeight:s,scrollTop:o,scrollHeight:a};return o+s-a>-t[4]?(o>e.state.scrollTop?(n="SCROLLED_DOWN",r=e.state.scrollTop-o):(n="SIZE_DECREASED",r=e.state.scrollTop-o||e.scrollTopDelta),{atBottom:!0,state:l,atBottomBecause:n,scrollTopDelta:r}):{atBottom:!1,notAtBottomBecause:l.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":st+f-m&&(p="up"),(a-=u)0){a=e[0].offset;var l=e[e.length-1];s=l.offset+l.size}var u=n-i.lastIndex,c=a,d=i.lastOffset+u*i.lastSize+(u-1)*r-s;return{items:eK(e,i,o),topItems:eK(t,i,o),topListHeight:t.reduce(function(e,t){return t.size+e},0),offsetTop:a,offsetBottom:d,top:c,bottom:s,totalCount:n,firstItemIndex:o}}var eQ=I(function(e){var t=e[0],n=t.sizes,r=t.totalCount,i=t.data,o=t.firstItemIndex,a=t.gap,s=e[1],l=e[2],u=l.visibleRange,c=l.listBoundary,d=l.topListHeight,f=e[3],h=f.scrolledToInitialItem,p=f.initialTopMostItemIndex,m=e[4].topListHeight,g=e[5],y=e[6].didMount,D=e[7].recalcInProgress,C=w([]),M=b();v(s.topItemsIndexes,C);var O=x(E(N(y,D,A(u,eW),A(r),A(n),A(p),h,A(C),A(o),A(a),i),S(function(e){return e[0]&&!e[1]}),T(function(e){var t,n,r,i,o,a,s,l=e[2],u=l[0],c=l[1],d=e[3],f=e[5],h=e[6],p=e[7],m=e[8],g=e[9],v=e[10],y=e[4],b=y.sizeTree,w=y.offsetTree;if(0===d||0===u&&0===c)return $({},eJ,{totalCount:d});if(ec(b))return eX(function(e,t,n){if(eP(t)){var r=eO(e,t);return[{index:ed(t.groupOffsetTree,r)[0],size:0,offset:0},{index:r,size:0,offset:0,data:n&&n[0]}]}return[{index:e,size:0,offset:0,data:n&&n[0]}]}("number"==typeof f?f:"LAST"===f.index?d-1:f.index,y,v),[],d,g,y,m);var _=[];if(p.length>0)for(var x,D=p[0],E=p[p.length-1],C=0,k=G(ev(b,D,E));!(x=k()).done;)for(var S=x.value,T=S.value,M=Math.max(S.start,D),O=Math.min(S.end,E),P=M;P<=O;P++)_.push({index:P,size:T,offset:C,data:v&&v[P]}),C+=T;if(!h)return eX([],_,d,g,y,m);var R=p.length>0?p[p.length-1]+1:0,j=(t=w,n=u,r=c,void 0===(i=R)&&(i=0),i>0&&(n=Math.max(n,t[e_(t,i,eD)].offset)),ey((o=e_(t,n,eE),a=e_(t,r,eE,o),t.slice(o,a+1)),eC));if(0===j.length)return null;var L=d-1;return eX((function(e){for(var t,n=G(j);!(t=n()).done;){var r=t.value,i=r.value,o=i.offset,a=r.start,s=i.size;if(i.offset=c);f++)e.push({index:f,size:s,offset:o,data:v&&v[f]}),o+=s+g}}(s=[]),s),_,d,g,y,m)}),S(function(e){return null!==e}),k()),eJ);return v(E(i,S(function(e){return void 0!==e}),T(function(e){return e.length})),r),v(E(O,T(function(e){return e.topListHeight})),m),v(m,d),v(E(O,T(function(e){return[e.top,e.bottom]})),c),v(E(O,T(function(e){return e.items})),M),$({listState:O,topItemsIndexes:C,endReached:_(E(O,S(function(e){return e.items.length>0}),L(r,i),S(function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1}),T(function(e){return[e[1]-1,e[2]]}),k(eW),T(function(e){return e[0]}))),startReached:_(E(O,R(200),S(function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length}),T(function(e){return e.items[0].index}),k())),rangeChanged:_(E(O,S(function(e){return e.items.length>0}),T(function(e){for(var t=e.items,n=0,r=t.length-1;"group"===t[n].type&&nn;)r--;return{startIndex:t[n].index,endIndex:t[r].index}}),k(e$))),itemsRendered:M},g)},u(ej,eq,eG,eU,eA,eI,eB,ex),{singleton:!0}),e0=I(function(e){var t=e[0],n=t.sizes,r=t.firstItemIndex,i=t.data,o=t.gap,a=e[1].listState,s=e[2].didMount,l=w(0);return v(E(s,L(l),S(function(e){return 0!==e[1]}),L(n,r,o,i),T(function(e){var t=e[0][1],n=e[1],r=e[2],i=e[3],o=e[4],a=void 0===o?[]:o,s=0;if(n.groupIndices.length>0)for(var l,u=G(n.groupIndices);!((l=u()).done||l.value-s>=t);)s++;var c=t+s;return eX(Array.from({length:c}).map(function(e,t){return{index:t,size:0,offset:0,data:a[t]}}),[],c,i,n,r)})),a),{initialItemCount:l}},u(ej,eQ,eB),{singleton:!0}),e1=I(function(e){var t=e[0].scrollVelocity,n=w(!1),r=b(),i=w(!1);return v(E(t,L(i,n,r),S(function(e){return!!e[1]}),T(function(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=n.enter;if(r){if((0,n.exit)(t,i))return!1}else if(o(t,i))return!0;return r}),k()),n),E(N(n,t,r),L(i))(1,function(e){var t=e[0],n=e[1];return t[0]&&n&&n.change&&n.change(t[1],t[2])}),{isSeeking:n,scrollSeekConfiguration:i,scrollVelocity:t,scrollSeekRangeChanged:r}},u(eI),{singleton:!0}),e2=I(function(e){var t=e[0].topItemsIndexes,n=w(0);return v(E(n,S(function(e){return e>0}),T(function(e){return Array.from({length:e}).map(function(e,t){return t})})),t),{topItemCount:n}},u(eQ)),e3=I(function(e){var t=e[0],n=t.footerHeight,r=t.headerHeight,i=t.fixedHeaderHeight,o=t.fixedFooterHeight,a=e[1].listState,s=b(),l=x(E(N(n,o,r,i,a),T(function(e){var t=e[4];return e[0]+e[1]+e[2]+e[3]+t.offsetBottom+t.bottom})),0);return v(A(l),s),{totalListHeight:l,totalListHeightChanged:s}},u(es,eQ),{singleton:!0});function e4(e){var t,n=!1;return function(){return n||(n=!0,t=e()),t}}var e6=e4(function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)}),e5=I(function(e){var t=e[0],n=t.scrollBy,r=t.scrollTop,i=t.deviation,o=t.scrollingInProgress,a=e[1],s=a.isScrolling,l=a.isAtBottom,u=a.scrollDirection,c=e[3],d=c.beforeUnshiftWith,f=c.shiftWithOffset,h=c.sizes,m=c.gap,g=e[4].log,y=e[5].recalcInProgress,b=_(E(e[2].listState,L(a.lastJumpDueToItemResize),O(function(e,t){var n=e[1],r=t[0],i=r.items,o=r.totalCount,a=r.bottom+r.offsetBottom,s=0;return e[2]===o&&n.length>0&&i.length>0&&(0===i[0].originalIndex&&0===n[0].originalIndex||0!=(s=a-e[3])&&(s+=t[1])),[s,i,o,a]},[0,[],0,0]),S(function(e){return 0!==e[0]}),L(r,u,o,l,g),S(function(e){return!e[3]&&0!==e[1]&&"up"===e[2]}),T(function(e){var t=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:t},K.DEBUG),t})));function w(e){e>0?(p(n,{top:-e,behavior:"auto"}),p(i,0)):(p(i,0),p(n,{top:-e,behavior:"auto"}))}return E(b,L(i,s))(1,function(e){var t=e[0],n=e[1];e[2]&&e6()?p(i,n-t):w(-t)}),E(N(x(s,!1),i,y),S(function(e){return!e[0]&&!e[2]&&0!==e[1]}),T(function(e){return e[1]}),R(1))(1,w),v(E(f,T(function(e){return{top:-e}})),n),E(d,L(h,m),T(function(e){var t=e[0];return t*e[1].lastSize+t*e[2]}))(1,function(e){p(i,e),requestAnimationFrame(function(){p(n,{top:e}),requestAnimationFrame(function(){p(i,0),p(y,!1)})})}),{deviation:i}},u(es,eI,eQ,ej,ee,ex)),e8=I(function(e){var t=e[0].totalListHeight,n=e[1].didMount,r=e[2].scrollTo,i=w(0);return E(n,L(i),S(function(e){return 0!==e[1]}),T(function(e){return{top:e[1]}}))(1,function(e){y(E(t,S(function(e){return 0!==e})),function(){setTimeout(function(){p(r,e)})})}),{initialScrollTop:i}},u(e3,eB,es),{singleton:!0}),e7=I(function(e){var t=e[0].viewportHeight,n=e[1].totalListHeight,r=w(!1);return{alignToBottom:r,paddingTopAddition:x(E(N(r,t,n),S(function(e){return e[0]}),T(function(e){return Math.max(0,e[1]-e[2])}),k()),0)}},u(es,e3),{singleton:!0}),e9=I(function(e){var t=e[0],n=t.scrollTo,r=t.scrollContainerState,i=b(),o=b(),a=b(),s=w(!1),l=w(void 0);return v(E(N(i,o),T(function(e){var t=e[0],n=t.viewportHeight,r=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:r,viewportHeight:n}})),r),v(E(n,L(o),T(function(e){var t=e[0];return $({},t,{top:t.top+e[1].offsetTop})})),a),{useWindowScroll:s,customScrollParent:l,windowScrollContainerState:i,windowViewportRect:o,windowScrollTo:a}},u(es)),te=["done","behavior","align"],tt=I(function(e){var t=e[0],n=t.sizes,r=t.totalCount,i=t.gap,o=e[1],a=o.scrollTop,s=o.viewportHeight,l=o.headerHeight,u=o.fixedHeaderHeight,c=o.fixedFooterHeight,d=o.scrollingInProgress,f=e[2].scrollToIndex,h=b();return v(E(h,L(n,s,r,l,u,c,a),L(i),T(function(e){var t=e[0],n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=e[1],f=n.done,h=n.behavior,p=n.align,m=Y(n,te),g=null,v=eM(n,r,o-1),b=eT(v,r.offsetTree,c)+a+s;return bu+i-l&&(g=$({},m,{behavior:h,align:null!=p?p:"end"})),g?f&&y(E(d,P(1),S(function(e){return!1===e})),f):f&&f(),g}),S(function(e){return null!==e})),f),{scrollIntoView:h}},u(ej,es,eA,eQ,ee),{singleton:!0}),tn=["listState","topItemsIndexes"],tr=I(function(e){return $({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},u(eG,e0,eB,e1,e3,e8,e7,e9,tt)),ti=I(function(e){var t=e[0],n=t.totalCount,r=t.sizeRanges,i=t.fixedItemSize,o=t.defaultItemSize,a=t.trackItemSizes,s=t.itemSize,l=t.data,u=t.firstItemIndex,c=t.groupIndices,d=t.statefulTotalCount,f=t.gap,h=e[1],p=h.initialTopMostItemIndex,m=h.scrolledToInitialItem,g=e[2],y=e[3],b=e[4],w=b.listState,_=b.topItemsIndexes,x=Y(b,tn),D=e[5].scrollToIndex,C=e[7].topItemCount,k=e[8].groupCounts,S=e[9],M=e[10];return v(x.rangeChanged,S.scrollSeekRangeChanged),v(E(S.windowViewportRect,T(function(e){return e.visibleHeight})),g.viewportHeight),$({totalCount:n,data:l,firstItemIndex:u,sizeRanges:r,initialTopMostItemIndex:p,scrolledToInitialItem:m,topItemsIndexes:_,topItemCount:C,groupCounts:k,fixedItemHeight:i,defaultItemHeight:o,gap:f},y,{statefulTotalCount:d,listState:w,scrollToIndex:D,trackItemSizes:a,itemSize:s,groupIndices:c},x,S,g,M)},u(ej,eU,es,eH,eQ,eA,e5,e2,eq,tr,ee)),to=e4(function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"});function ta(e,t){var n=(0,i.useRef)(null),r=(0,i.useCallback)(function(r){if(null!==r&&r.offsetParent){var i,o,a=r.getBoundingClientRect(),s=a.width;if(t){var l=t.getBoundingClientRect(),u=a.top-l.top;i=l.height-Math.max(0,u),o=u+t.scrollTop}else i=window.innerHeight-Math.max(0,a.top),o=a.top+window.pageYOffset;n.current={offsetTop:o,visibleHeight:i,visibleWidth:s},e(n.current)}},[e,t]),o=et(r),a=o.callbackRef,s=o.ref,l=(0,i.useCallback)(function(){r(s.current)},[r,s]);return(0,i.useEffect)(function(){if(t){t.addEventListener("scroll",l);var e=new ResizeObserver(l);return e.observe(t),function(){t.removeEventListener("scroll",l),e.unobserve(t)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),function(){window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[l,t]),a}var ts=i.createContext(void 0),tl=["placeholder"],tu=["style","children"],tc=["style","children"];function td(e){return e}var tf=I(function(){var e=w(function(e){return"Item "+e}),t=w(null),n=w(function(e){return"Group "+e}),r=w({}),i=w(td),o=w("div"),a=w(h),s=function(e,t){return void 0===t&&(t=null),x(E(r,T(function(t){return t[e]}),k()),t)};return{context:t,itemContent:e,groupContent:n,components:r,computeItemKey:i,headerFooterTag:o,scrollerRef:a,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}});function th(e,t){var n=b();return n(1,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+t,"color: red;","color: inherit;","color: blue;")}),v(n,e),n}var tp=I(function(e){var t=e[0],n=e[1],r={item:th(n.itemContent,"Rename the %citem%c prop to %citemContent."),group:th(n.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:th(t.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:th(t.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:th(t.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:b(),maxHeightCacheSize:b(),footer:b(),header:b(),HeaderContainer:b(),FooterContainer:b(),ItemContainer:b(),ScrollContainer:b(),GroupContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function i(e,t,r){v(E(e,L(n.components),T(function(e){var n,i=e[0],o=e[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+t+" instead."),$({},o,((n={})[t]=i,n))})),n.components)}return(0,r.adjustForPrependedItems)(1,function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")}),(0,r.maxHeightCacheSize)(1,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),(0,r.HeaderContainer)(1,function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")}),(0,r.FooterContainer)(1,function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")}),(0,r.scrollSeek)(1,function(e){var r=e.placeholder,i=Y(e,tl);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),p(n.components,$({},g(n.components),{ScrollSeekPlaceholder:r})),p(t.scrollSeekConfiguration,i)}),i(r.footer,"Footer","footer"),i(r.header,"Header","header"),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),i(r.emptyComponent,"EmptyPlaceholder","emptyComponent"),i(r.GroupContainer,"Group","GroupContainer"),$({},t,n,r)},u(ti,tf)),tm=function(e){return i.createElement("div",{style:{height:e.height}})},tg={position:to(),zIndex:1,overflowAnchor:"none"},tv={overflowAnchor:"none"},ty=i.memo(function(e){var t=e.showTopList,n=void 0!==t&&t,r=tj("listState"),o=tR("sizeRanges"),a=tj("useWindowScroll"),s=tj("customScrollParent"),l=tR("windowScrollContainerState"),u=tR("scrollContainerState"),c=tj("itemContent"),d=tj("context"),f=tj("groupContent"),p=tj("trackItemSizes"),m=er(o,tj("itemSize"),p,n?h:s||a?l:u,tj("log"),tR("gap"),s).callbackRef,g=i.useState(0),v=g[0],y=g[1];tL("deviation",function(e){v!==e&&y(e)});var b=tj("EmptyPlaceholder"),w=tj("ScrollSeekPlaceholder")||tm,_=tj("ListComponent"),x=tj("ItemComponent"),D=tj("GroupComponent"),E=tj("computeItemKey"),C=tj("isSeeking"),k=tj("groupIndices").length>0,S=tj("paddingTopAddition"),T=n?{}:{boxSizing:"border-box",paddingTop:r.offsetTop+S,paddingBottom:r.offsetBottom,marginTop:v};return!n&&0===r.totalCount&&b?(0,i.createElement)(b,tx(b,d)):(0,i.createElement)(_,$({},tx(_,d),{ref:m,style:T,"data-test-id":n?"virtuoso-top-item-list":"virtuoso-item-list"}),(n?r.topItems:r.items).map(function(e){var t=e.originalIndex,n=E(t+r.firstItemIndex,e.data,d);return C?(0,i.createElement)(w,$({},tx(w,d),{key:n,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,i.createElement)(D,$({},tx(D,d),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:tg}),f(e.index)):(0,i.createElement)(x,$({},tx(x,d),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:tv}),k?c(e.index,e.groupIndex,e.data,d):c(e.index,e.data,d))}))}),tb={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},tw={width:"100%",height:"100%",position:"absolute",top:0},t_={width:"100%",position:to(),top:0};function tx(e,t){if("string"!=typeof e)return{context:t}}var tD=i.memo(function(){var e=tj("HeaderComponent"),t=tR("headerHeight"),n=tj("headerFooterTag"),r=en(function(e){return t(ei(e,"height"))}),o=tj("context");return e?(0,i.createElement)(n,{ref:r},(0,i.createElement)(e,tx(e,o))):null}),tE=i.memo(function(){var e=tj("FooterComponent"),t=tR("footerHeight"),n=tj("headerFooterTag"),r=en(function(e){return t(ei(e,"height"))}),o=tj("context");return e?(0,i.createElement)(n,{ref:r},(0,i.createElement)(e,tx(e,o))):null});function tC(e){var t=e.usePublisher,n=e.useEmitter,r=e.useEmitterValue;return i.memo(function(e){var o=e.style,a=e.children,s=Y(e,tu),l=t("scrollContainerState"),u=r("ScrollerComponent"),c=t("smoothScrollTargetReached"),d=r("scrollerRef"),f=r("context"),h=ea(l,c,u,d),p=h.scrollerRef,m=h.scrollByCallback;return n("scrollTo",h.scrollToCallback),n("scrollBy",m),(0,i.createElement)(u,$({ref:p,style:$({},tb,o),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},s,tx(u,f)),a)})}function tk(e){var t=e.usePublisher,n=e.useEmitter,r=e.useEmitterValue;return i.memo(function(e){var o=e.style,a=e.children,s=Y(e,tc),l=t("windowScrollContainerState"),u=r("ScrollerComponent"),c=t("smoothScrollTargetReached"),d=r("totalListHeight"),f=r("deviation"),p=r("customScrollParent"),m=r("context"),g=ea(l,c,u,h,p),v=g.scrollerRef,y=g.scrollByCallback,b=g.scrollToCallback;return X(function(){return v.current=p||window,function(){v.current=null}},[v,p]),n("windowScrollTo",b),n("scrollBy",y),(0,i.createElement)(u,$({style:$({position:"relative"},o,0!==d?{height:d+f}:{}),"data-virtuoso-scroller":!0},s,tx(u,m)),a)})}var tS=function(e){var t=e.children,n=(0,i.useContext)(ts),r=tR("viewportHeight"),a=tR("fixedItemHeight"),s=en(o(r,function(e){return ei(e,"height")}));return i.useEffect(function(){n&&(r(n.viewportHeight),a(n.itemHeight))},[n,r,a]),i.createElement("div",{style:tw,ref:s,"data-viewport-type":"element"},t)},tT=function(e){var t=e.children,n=(0,i.useContext)(ts),r=tR("windowViewportRect"),o=tR("fixedItemHeight"),a=ta(r,tj("customScrollParent"));return i.useEffect(function(){n&&(o(n.itemHeight),r({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:100}))},[n,r,o]),i.createElement("div",{ref:a,style:tw,"data-viewport-type":"window"},t)},tM=function(e){var t=e.children,n=tj("TopItemListComponent"),r=tj("headerHeight"),o=$({},t_,{marginTop:r+"px"}),a=tj("context");return(0,i.createElement)(n||"div",{style:o,context:a},t)},tO=q(tp,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},i.memo(function(e){var t=tj("useWindowScroll"),n=tj("topItemsIndexes").length>0,r=tj("customScrollParent");return i.createElement(r||t?tA:tF,$({},e),i.createElement(r||t?tT:tS,null,i.createElement(tD,null),i.createElement(ty,null),i.createElement(tE,null)),n&&i.createElement(tM,null,i.createElement(ty,{showTopList:!0})))})),tP=tO.Component,tR=tO.usePublisher,tj=tO.useEmitterValue,tL=tO.useEmitter,tF=tC({usePublisher:tR,useEmitterValue:tj,useEmitter:tL}),tA=tk({usePublisher:tR,useEmitterValue:tj,useEmitter:tL}),tN={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},tI={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},tB=Math.round,tU=Math.ceil,tz=Math.floor,tH=Math.min,tV=Math.max;function tq(e,t){return Array.from({length:t-e+1}).map(function(t,n){return{index:n+e}})}function tW(e,t){return e&&e.column===t.column&&e.row===t.row}var t$=I(function(e){var t=e[0],n=t.overscan,r=t.visibleRange,i=t.listBoundary,o=e[1],a=o.scrollTop,s=o.viewportHeight,l=o.scrollBy,u=o.scrollTo,c=o.smoothScrollTargetReached,d=o.scrollContainerState,f=e[2],h=e[3],p=e[4],m=p.propsReady,g=p.didMount,y=e[5],D=y.windowViewportRect,C=y.windowScrollTo,O=y.useWindowScroll,P=y.customScrollParent,R=y.windowScrollContainerState,j=e[6],F=w(0),I=w(0),B=w(tN),U=w({height:0,width:0}),z=w({height:0,width:0}),H=b(),V=b(),q=w(0),W=w({row:0,column:0});v(E(g,L(I),S(function(e){return 0!==e[1]}),T(function(e){return{items:tq(0,e[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),B),v(E(N(A(F),r,A(W,tW),A(z,function(e,t){return e&&e.width===t.width&&e.height===t.height})),L(U),T(function(e){var t,n=e[0],r=n[0],i=n[1],o=i[0],a=i[1],s=n[2],l=n[3],u=e[1],c=s.row,d=l.height,f=l.width,h=u.width;if(0===r||0===h)return tN;if(0===f)return tI;var p=tV(1,tz((h+(t=s.column))/(f+t))),m=p*tz((o+c)/(d+c)),g=p*tU((a+c)/(d+c))-1;g=tV(0,tH(r-1,g));var v=tq(m=tH(g,tV(0,m)),g),y=tY(u,s,l,v),b=y.top,w=y.bottom,_=tU(r/p);return{items:v,offsetTop:b,offsetBottom:_*d+(_-1)*c-w,top:b,bottom:w,itemHeight:d,itemWidth:f}})),B),v(E(U,T(function(e){return e.height})),s),v(E(N(U,z,B,W),T(function(e){var t=tY(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]}),k(eW)),i);var Y=_(E(A(B),S(function(e){return e.items.length>0}),L(F),S(function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1}),T(function(e){return e[1]-1}),k())),Z=_(E(A(B),S(function(e){var t=e.items;return t.length>0&&0===t[0].index}),M(0),k())),G=_(E(A(B),S(function(e){return e.items.length>0}),T(function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}}),k(e$)));v(G,h.scrollSeekRangeChanged),v(E(H,L(U,z,F,W),T(function(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=eF(e[0]),a=o.align,s=o.behavior,l=o.offset,u=o.index;"LAST"===u&&(u=r-1);var c=tZ(t,i,n,u=tV(0,u,tH(r-1,u)));return"end"===a?c=tB(c-t.height+n.height):"center"===a&&(c=tB(c-t.height/2+n.height/2)),l&&(c+=l),{top:c,behavior:s}})),u);var J=x(E(B,T(function(e){return e.offsetBottom+e.bottom})),0);return v(E(D,T(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),U),$({totalCount:F,viewportDimensions:U,itemDimensions:z,scrollTop:a,scrollHeight:V,overscan:n,scrollBy:l,scrollTo:u,scrollToIndex:H,smoothScrollTargetReached:c,windowViewportRect:D,windowScrollTo:C,useWindowScroll:O,customScrollParent:P,windowScrollContainerState:R,deviation:q,scrollContainerState:d,initialItemCount:I,gap:W},h,{gridState:B,totalListHeight:J},f,{startReached:Z,endReached:Y,rangeChanged:G,propsReady:m},j)},u(eG,es,eI,e1,eB,e9,ee));function tY(e,t,n,r){var i=n.height;return void 0===i||0===r.length?{top:0,bottom:0}:{top:tZ(e,t,n,r[0].index),bottom:tZ(e,t,n,r[r.length-1].index)+i}}function tZ(e,t,n,r){var i,o,a,s=tz(r/(i=e.width,o=n.width,tV(1,tz((i+(a=t.column))/(o+a))))),l=s*n.height+tV(0,s-1)*t.row;return l>0?l+t.row:l}var tG=["placeholder"],tJ=I(function(){var e=w(function(e){return"Item "+e}),t=w({}),n=w(null),r=w("virtuoso-grid-item"),i=w("virtuoso-grid-list"),o=w(td),a=w(h),s=function(e,n){return void 0===n&&(n=null),x(E(t,T(function(t){return t[e]}),k()),n)};return{context:n,itemContent:e,components:t,computeItemKey:o,itemClassName:r,listClassName:i,scrollerRef:a,ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}}),tK=I(function(e){var t=e[0],n=e[1],r={item:th(n.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:b(),ScrollContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function i(e,t,r){v(E(e,L(n.components),T(function(e){var n,i=e[0],o=e[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+t+" instead."),$({},o,((n={})[t]=i,n))})),n.components)}return(0,r.scrollSeek)(1,function(e){var r=e.placeholder,i=Y(e,tG);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),p(n.components,$({},g(n.components),{ScrollSeekPlaceholder:r})),p(t.scrollSeekConfiguration,i)}),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),$({},t,n,r)},u(t$,tJ)),tX=i.memo(function(){var e=t3("gridState"),t=t3("listClassName"),n=t3("itemClassName"),r=t3("itemContent"),o=t3("computeItemKey"),a=t3("isSeeking"),s=t2("scrollHeight"),l=t3("ItemComponent"),u=t3("ListComponent"),c=t3("ScrollSeekPlaceholder"),d=t3("context"),f=t2("itemDimensions"),h=t2("gap"),p=t3("log"),m=en(function(e){s(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&f(t.getBoundingClientRect()),h({row:t8("row-gap",getComputedStyle(e).rowGap,p),column:t8("column-gap",getComputedStyle(e).columnGap,p)})});return(0,i.createElement)(u,$({ref:m,className:t},tx(u,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(t){var s=o(t.index);return a?(0,i.createElement)(c,$({key:s},tx(c,d),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,i.createElement)(l,$({},tx(l,d),{className:n,"data-index":t.index,key:s}),r(t.index,d))}))}),tQ=function(e){var t=e.children,n=t2("viewportDimensions"),r=en(function(e){n(e.getBoundingClientRect())});return i.createElement("div",{style:tw,ref:r},t)},t0=function(e){var t=e.children,n=ta(t2("windowViewportRect"),t3("customScrollParent"));return i.createElement("div",{ref:n,style:tw},t)},t1=q(tK,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},i.memo(function(e){var t=$({},e),n=t3("useWindowScroll"),r=t3("customScrollParent");return i.createElement(r||n?t5:t6,$({},t),i.createElement(r||n?t0:tQ,null,i.createElement(tX,null)))})),t2=(t1.Component,t1.usePublisher),t3=t1.useEmitterValue,t4=t1.useEmitter,t6=tC({usePublisher:t2,useEmitterValue:t3,useEmitter:t4}),t5=tk({usePublisher:t2,useEmitterValue:t3,useEmitter:t4});function t8(e,t,n){return"normal"===t||null!=t&&t.endsWith("px")||n(e+" was not resolved to pixel value correctly",t,K.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}var t7=I(function(){var e=w(function(e){return i.createElement("td",null,"Item $",e)}),t=w(null),n=w(null),r=w(null),o=w({}),a=w(td),s=w(h),l=function(e,t){return void 0===t&&(t=null),x(E(o,T(function(t){return t[e]}),k()),t)};return{context:t,itemContent:e,fixedHeaderContent:n,fixedFooterContent:r,components:o,computeItemKey:a,scrollerRef:s,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}}),t9=I(function(e){return $({},e[0],e[1])},u(ti,t7)),ne=function(e){return i.createElement("tr",null,i.createElement("td",{style:{height:e.height}}))},nt=function(e){return i.createElement("tr",null,i.createElement("td",{style:{height:e.height,padding:0,border:0}}))},nn=i.memo(function(){var e=ns("listState"),t=na("sizeRanges"),n=ns("useWindowScroll"),r=ns("customScrollParent"),o=na("windowScrollContainerState"),a=na("scrollContainerState"),s=ns("itemContent"),l=ns("trackItemSizes"),u=er(t,ns("itemSize"),l,r||n?o:a,ns("log"),void 0,r),c=u.callbackRef,d=u.ref,f=i.useState(0),h=f[0],p=f[1];nl("deviation",function(e){h!==e&&(d.current.style.marginTop=e+"px",p(e))});var m=ns("EmptyPlaceholder"),g=ns("ScrollSeekPlaceholder")||ne,v=ns("FillerRow")||nt,y=ns("TableBodyComponent"),b=ns("TableRowComponent"),w=ns("computeItemKey"),_=ns("isSeeking"),x=ns("paddingTopAddition"),D=ns("firstItemIndex"),E=ns("statefulTotalCount"),C=ns("context");if(0===E&&m)return(0,i.createElement)(m,tx(m,C));var k=e.offsetTop+x+h,S=e.offsetBottom,T=k>0?i.createElement(v,{height:k,key:"padding-top"}):null,M=S>0?i.createElement(v,{height:S,key:"padding-bottom"}):null,O=e.items.map(function(e){var t=e.originalIndex,n=w(t+D,e.data,C);return _?(0,i.createElement)(g,$({},tx(g,C),{key:n,index:e.index,height:e.size,type:e.type||"item"})):(0,i.createElement)(b,$({},tx(b,C),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),s(e.index,e.data,C))});return(0,i.createElement)(y,$({ref:c,"data-test-id":"virtuoso-item-list"},tx(y,C)),[T].concat(O,[M]))}),nr=function(e){var t=e.children,n=(0,i.useContext)(ts),r=na("viewportHeight"),a=na("fixedItemHeight"),s=en(o(r,function(e){return ei(e,"height")}));return i.useEffect(function(){n&&(r(n.viewportHeight),a(n.itemHeight))},[n,r,a]),i.createElement("div",{style:tw,ref:s,"data-viewport-type":"element"},t)},ni=function(e){var t=e.children,n=(0,i.useContext)(ts),r=na("windowViewportRect"),o=na("fixedItemHeight"),a=ta(r,ns("customScrollParent"));return i.useEffect(function(){n&&(o(n.itemHeight),r({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:100}))},[n,r,o]),i.createElement("div",{ref:a,style:tw,"data-viewport-type":"window"},t)},no=q(t9,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},i.memo(function(e){var t=ns("useWindowScroll"),n=ns("customScrollParent"),r=na("fixedHeaderHeight"),a=na("fixedFooterHeight"),s=ns("fixedHeaderContent"),l=ns("fixedFooterContent"),u=ns("context"),c=en(o(r,function(e){return ei(e,"height")})),d=en(o(a,function(e){return ei(e,"height")})),f=n||t?nc:nu,h=n||t?ni:nr,p=ns("TableComponent"),m=ns("TableHeadComponent"),g=ns("TableFooterComponent"),v=s?i.createElement(m,$({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:c},tx(m,u)),s()):null,y=l?i.createElement(g,$({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},tx(g,u)),l()):null;return i.createElement(f,$({},e),i.createElement(h,null,i.createElement(p,$({style:{borderSpacing:0}},tx(p,u)),[v,i.createElement(nn,{key:"TableBody"}),y])))})),na=(no.Component,no.usePublisher),ns=no.useEmitterValue,nl=no.useEmitter,nu=tC({usePublisher:na,useEmitterValue:ns,useEmitter:nl}),nc=tk({usePublisher:na,useEmitterValue:ns,useEmitter:nl}),nd=tP},45715:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(11735),i=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n.closed||t.next(this._value),n},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,n=this._value;if(e)throw t;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(69944).x)},88007:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(96550),i=n(35382),o=n(94345),a=n(8533),s=n(66141),l=n(66706),u=n(12256),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,a=this,s=(o=e)&&o instanceof r.Lv||o&&(0,l.m)(o.next)&&(0,l.m)(o.error)&&(0,l.m)(o.complete)&&(0,i.Nn)(o)?e:new r.Hp(e,t,n);return(0,u.x)(function(){var e=a.operator,t=a.source;s.add(e?e.call(s,t):t?a._subscribe(s):a._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,i){var o=new r.Hp({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.L]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?o.Lc:(this.currentObservers=null,i.push(e),new o.w0(function(){t.currentObservers=null,(0,s.P)(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new i.y;return e.source=this,e},t.create=function(e,t){return new c(e,t)},t}(i.y),c=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.ZT)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:o.Lc},t}(u)},96550:function(e,t,n){"use strict";n.d(t,{Hp:function(){return v},Lv:function(){return h}});var r=n(11735),i=n(66706),o=n(35382),a=n(66141),s=n(9919),l=n(96453),u=c("C",void 0,void 0);function c(e,t,n){return{kind:e,value:t,error:n}}var d=n(24963),f=n(12256),h=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Nn)(t)&&t.add(n)):n.destination=w,n}return(0,r.ZT)(t,e),t.create=function(e,t,n){return new v(e,t,n)},t.prototype.next=function(e){this.isStopped?b(c("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?b(c("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?b(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.w0),p=Function.prototype.bind;function m(e,t){return p.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),v=function(e){function t(t,n,r){var o,s,l=e.call(this)||this;return(0,i.m)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:l&&a.v.useDeprecatedNextContext?((s=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},o={next:t.next&&m(t.next,s),error:t.error&&m(t.error,s),complete:t.complete&&m(t.complete,s)}):o=t,l.destination=new g(o),l}return(0,r.ZT)(t,e),t}(h);function y(e){a.v.useDeprecatedSynchronousErrorHandling?(0,f.O)(e):(0,s.h)(e)}function b(e,t){var n=a.v.onStoppedNotification;n&&d.z.setTimeout(function(){return n(e,t)})}var w={closed:!0,next:l.Z,error:function(e){throw e},complete:l.Z}},35382:function(e,t,n){"use strict";n.d(t,{Lc:function(){return l},w0:function(){return s},Nn:function(){return u}});var r=n(11735),i=n(66706),o=(0,n(23848).d)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}),a=n(81259),s=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,n,a,s,l=this._parentage;if(l){if(this._parentage=null,Array.isArray(l))try{for(var u=(0,r.XA)(l),d=u.next();!d.done;d=u.next())d.value.remove(this)}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}else l.remove(this)}var f=this.initialTeardown;if((0,i.m)(f))try{f()}catch(e){s=e instanceof o?e.errors:[e]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var p=(0,r.XA)(h),m=p.next();!m.done;m=p.next()){var g=m.value;try{c(g)}catch(e){s=null!=s?s:[],e instanceof o?s=(0,r.ev)((0,r.ev)([],(0,r.CR)(s)),(0,r.CR)(e.errors)):s.push(e)}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}}if(s)throw new o(s)}},t.prototype.add=function(e){var n;if(e&&e!==this){if(this.closed)c(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,a.P)(t,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&(0,a.P)(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),l=s.EMPTY;function u(e){return e instanceof s||e&&"closed"in e&&(0,i.m)(e.remove)&&(0,i.m)(e.add)&&(0,i.m)(e.unsubscribe)}function c(e){(0,i.m)(e)?e():e.unsubscribe()}},66141:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},89759:function(e,t,n){"use strict";n.d(t,{a:function(){return g}});var r=n(88007),i=Array.isArray,o=Object.getPrototypeOf,a=Object.prototype,s=Object.keys,l=n(92660),u=n(8533),c=n(11735),d=n(65690),f=Array.isArray,h=n(13021),p=n(37272),m=n(41336);function g(){for(var e,t=[],n=0;n0&&(t=new s.Hp({next:function(e){return y.next(e)},error:function(e){c=!0,f(),n=u(p,h,e),y.error(e)},complete:function(){a=!0,f(),n=u(p,m),y.complete()}}),(0,o.Xf)(e).subscribe(t))})(e)}}},76913:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(13306),i=n(37272);function o(e,t){return void 0===t&&(t=!1),(0,r.e)(function(n,r){var o=0;n.subscribe((0,i.x)(r,function(n){var i=e(n,o++);(i||t)&&r.next(n),i||r.complete()}))})}},70394:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var r=n(66706),i=n(13306),o=n(37272),a=n(8533);function s(e,t,n){var s=(0,r.m)(e)||t||n?{next:e,error:t,complete:n}:e;return s?(0,i.e)(function(e,t){null===(n=s.subscribe)||void 0===n||n.call(s);var n,r=!0;e.subscribe((0,o.x)(t,function(e){var n;null===(n=s.next)||void 0===n||n.call(s,e),t.next(e)},function(){var e;r=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()},function(e){var n;r=!1,null===(n=s.error)||void 0===n||n.call(s,e),t.error(e)},function(){var e,t;r&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)}))}):a.y}},24825:function(e,t,n){"use strict";n.d(t,{P:function(){return d},z:function(){return c}});var r=n(11735),i=function(e){function t(t,n){return e.call(this)||this}return(0,r.ZT)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(35382).w0),o={setInterval:function(e,t){for(var n=[],i=2;i1&&(e[n[0]]=void 0),e};t.parseParams=function(e){return e.split(/;\s?/).reduce(l,{})},t.parseFmtpConfig=t.parseParams,t.parsePayloads=function(e){return e.toString().split(" ").map(Number)},t.parseRemoteCandidates=function(e){for(var t=[],n=e.split(" ").map(r),i=0;i=r)return e;var i=n[t];switch(t+=1,e){case"%%":return"%";case"%s":return String(i);case"%d":return Number(i);case"%v":return""}})},a=function(e,t,n){var r=[e+"="+(t.format instanceof Function?t.format(t.push?n:n[t.name]):t.format)];if(t.names)for(var i=0;ie.trim())},t.splitSections=function(e){return e.split("\nm=").map((e,t)=>(t>0?"m="+e:e).trim()+"\r\n")},t.getDescription=function(e){let n=t.splitSections(e);return n&&n[0]},t.getMediaSections=function(e){let n=t.splitSections(e);return n.shift(),n},t.matchPrefix=function(e,n){return t.splitLines(e).filter(e=>0===e.indexOf(n))},t.parseCandidate=function(e){let t;let n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let e=8;e0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},t.parseFmtp=function(e){let t;let n={},r=e.substring(e.indexOf(" ")+1).split(";");for(let e=0;e{void 0!==e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)}),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},t.parseRtcpFb=function(e){let t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},t.writeRtcpFb=function(e){let t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(e=>{t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},t.parseSsrcMedia=function(e){let t=e.indexOf(" "),n={ssrc:parseInt(e.substring(7,t),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substring(t+1,r),n.value=e.substring(r+1)):n.attribute=e.substring(t+1),n},t.parseSsrcGroup=function(e){let t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(e=>parseInt(e,10))}},t.getMid=function(e){let n=t.matchPrefix(e,"a=mid:")[0];if(n)return n.substring(6)},t.parseFingerprint=function(e){let t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},t.getDtlsParameters=function(e,n){return{role:"auto",fingerprints:t.matchPrefix(e+n,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){let n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(e=>{n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},t.parseCryptoLine=function(e){let t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},t.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?t.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;let t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},t.getCryptoParameters=function(e,n){return t.matchPrefix(e+n,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(e,n){let r=t.matchPrefix(e+n,"a=ice-ufrag:")[0],i=t.matchPrefix(e+n,"a=ice-pwd:")[0];return r&&i?{usernameFragment:r.substring(12),password:i.substring(10)}:null},t.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},t.parseRtpParameters=function(e){let n={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=t.splitLines(e)[0].split(" ");n.profile=r[2];for(let i=3;i{n.headerExtensions.push(t.parseExtmap(e))});let i=t.matchPrefix(e,"a=rtcp-fb:* ").map(t.parseRtcpFb);return n.codecs.forEach(e=>{i.forEach(t=>{e.rtcpFeedback.find(e=>e.type===t.type&&e.parameter===t.parameter)||e.rtcpFeedback.push(t)})}),n},t.writeRtpDescription=function(e,n){let r="";r+="m="+e+" "+(n.codecs.length>0?"9":"0")+" "+(n.profile||"UDP/TLS/RTP/SAVPF")+" "+n.codecs.map(e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType).join(" ")+"\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\n",n.codecs.forEach(e=>{r+=t.writeRtpMap(e)+t.writeFmtp(e)+t.writeRtcpFb(e)});let i=0;return n.codecs.forEach(e=>{e.maxptime>i&&(i=e.maxptime)}),i>0&&(r+="a=maxptime:"+i+"\r\n"),n.headerExtensions&&n.headerExtensions.forEach(e=>{r+=t.writeExtmap(e)}),r},t.parseRtpEncodingParameters=function(e){let n;let r=[],i=t.parseRtpParameters(e),o=-1!==i.fecMechanisms.indexOf("RED"),a=-1!==i.fecMechanisms.indexOf("ULPFEC"),s=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute),l=s.length>0&&s[0].ssrc,u=t.matchPrefix(e,"a=ssrc-group:FID").map(e=>e.substring(17).split(" ").map(e=>parseInt(e,10)));u.length>0&&u[0].length>1&&u[0][0]===l&&(n=u[0][1]),i.codecs.forEach(e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let t={ssrc:l,codecPayloadType:parseInt(e.parameters.apt,10)};l&&n&&(t.rtx={ssrc:n}),r.push(t),o&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:l,mechanism:a?"red+ulpfec":"red"},r.push(t))}}),0===r.length&&l&&r.push({ssrc:l});let c=t.matchPrefix(e,"b=");return c.length&&(c=0===c[0].indexOf("b=TIAS:")?parseInt(c[0].substring(7),10):0===c[0].indexOf("b=AS:")?950*parseInt(c[0].substring(5),10)-16e3:void 0,r.forEach(e=>{e.maxBitrate=c})),r},t.parseRtcpParameters=function(e){let n={},r=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute)[0];r&&(n.cname=r.value,n.ssrc=r.ssrc);let i=t.matchPrefix(e,"a=rtcp-rsize");n.reducedSize=i.length>0,n.compound=0===i.length;let o=t.matchPrefix(e,"a=rtcp-mux");return n.mux=o.length>0,n},t.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},t.parseMsid=function(e){let n;let r=t.matchPrefix(e,"a=msid:");if(1===r.length)return{stream:(n=r[0].substring(7).split(" "))[0],track:n[1]};let i=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"msid"===e.attribute);if(i.length>0)return{stream:(n=i[0].value.split(" "))[0],track:n[1]}},t.parseSctpDescription=function(e){let n;let r=t.parseMLine(e),i=t.matchPrefix(e,"a=max-message-size:");i.length>0&&(n=parseInt(i[0].substring(19),10)),isNaN(n)&&(n=65536);let o=t.matchPrefix(e,"a=sctp-port:");if(o.length>0)return{port:parseInt(o[0].substring(12),10),protocol:r.fmt,maxMessageSize:n};let a=t.matchPrefix(e,"a=sctpmap:");if(a.length>0){let e=a[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:n}}},t.writeSctpDescription=function(e,t){let n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(e,n,r){return"v=0\r\no="+(r||"thisisadapterortc")+" "+(e||t.generateSessionId())+" "+(void 0!==n?n:2)+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(e,n){let r=t.splitLines(e);for(let e=0;e57343)return e.charAt(t);if(55296<=n&&n<=56319){if(e.length<=t+1)throw"High surrogate without following low surrogate";var r=e.charCodeAt(t+1);if(56320>r||r>57343)throw"High surrogate without following low surrogate";return e.charAt(t)+e.charAt(t+1)}if(0===t)throw"Low surrogate without preceding high surrogate";var i=e.charCodeAt(t-1);if(55296>i||i>56319)throw"Low surrogate without preceding high surrogate";return""},o=function(e){var t=e.image,n=e.name,o=e.onClick,a=e.onMouseOver,s=e.shape,l=e.size,u=void 0===l?32:l,c=(0,r.useState)(!1),d=c[0],f=c[1],h=(0,r.useState)(!1),p=h[0],m=h[1];(0,r.useEffect)(function(){f(!1),m(!1)},[t]);var g=i((null==n?void 0:n.toString())||"",0);return r.createElement("div",{className:"str-chat__avatar str-chat__avatar--".concat(void 0===s?"circle":s," str-chat__message-sender-avatar"),"data-testid":"avatar",onClick:void 0===o?function(){}:o,onMouseOver:void 0===a?function(){}:a,style:{flexBasis:"".concat(u,"px"),fontSize:"".concat(u/2,"px"),height:"".concat(u,"px"),lineHeight:"".concat(u,"px"),width:"".concat(u,"px")},title:n},t&&!d?r.createElement("img",{alt:g,className:"str-chat__avatar-image".concat(p?" str-chat__avatar-image--loaded":""),"data-testid":"avatar-img",onError:function(){return f(!0)},onLoad:function(){return m(!0)},src:t,style:{flexBasis:"".concat(u,"px"),height:"".concat(u,"px"),objectFit:"cover",width:"".concat(u,"px")}}):r.createElement("div",{className:"str-chat__avatar-fallback","data-testid":"avatar-fallback"},g))}},63683:function(e,t,n){"use strict";n.d(t,{$:function(){return eG}});var r=n(11735),i=n(2265),o=n(2151),a=n.n(o),s=n(57701),l=n.n(s),u=n(55644),c=n(91116),d=n(44839),f=function(e,t){var n;switch(t.type){case"closeThread":return(0,r.pi)((0,r.pi)({},e),{thread:null,threadLoadingMore:!1,threadMessages:[]});case"copyMessagesFromChannel":var i=t.channel,o=t.parentId;return(0,r.pi)((0,r.pi)({},e),{messages:(0,r.ev)([],i.state.messages,!0),pinnedMessages:(0,r.ev)([],i.state.pinnedMessages,!0),suppressAutoscroll:!1,threadMessages:o?(0,r.pi)({},i.state.threads)[o]||[]:e.threadMessages});case"copyStateFromChannelOnEvent":var i=t.channel;return(0,r.pi)((0,r.pi)({},e),{members:(0,r.pi)({},i.state.members),messages:(0,r.ev)([],i.state.messages,!0),pinnedMessages:(0,r.ev)([],i.state.pinnedMessages,!0),read:(0,r.pi)({},i.state.read),watcherCount:i.state.watcher_count,watchers:(0,r.pi)({},i.state.watchers)});case"initStateFromChannel":var i=t.channel,a=t.hasMore;return(0,r.pi)((0,r.pi)({},e),{hasMore:a,loading:!1,members:(0,r.pi)({},i.state.members),messages:(0,r.ev)([],i.state.messages,!0),pinnedMessages:(0,r.ev)([],i.state.pinnedMessages,!0),read:(0,r.pi)({},i.state.read),watcherCount:i.state.watcher_count,watchers:(0,r.pi)({},i.state.watchers)});case"jumpToLatestMessage":return(0,r.pi)((0,r.pi)({},e),{hasMoreNewer:!1,highlightedMessageId:void 0,loading:!1,suppressAutoscroll:!1});case"jumpToMessageFinished":return(0,r.pi)((0,r.pi)({},e),{hasMoreNewer:t.hasMoreNewer,highlightedMessageId:t.highlightedMessageId});case"clearHighlightedMessage":return(0,r.pi)((0,r.pi)({},e),{highlightedMessageId:void 0});case"loadMoreFinished":var a=t.hasMore,s=t.messages;return(0,r.pi)((0,r.pi)({},e),{hasMore:a,loadingMore:!1,messages:s,suppressAutoscroll:!1});case"loadMoreNewerFinished":var l=t.hasMoreNewer,s=t.messages;return(0,r.pi)((0,r.pi)({},e),{hasMoreNewer:l,loadingMoreNewer:!1,messages:s});case"loadMoreThreadFinished":var u=t.threadHasMore,c=t.threadMessages;return(0,r.pi)((0,r.pi)({},e),{threadHasMore:u,threadLoadingMore:!1,threadMessages:c});case"openThread":var i=t.channel,d=t.message;return(0,r.pi)((0,r.pi)({},e),{thread:d,threadMessages:d.id&&(0,r.pi)({},i.state.threads)[d.id]||[],threadSuppressAutoscroll:!1});case"setError":var f=t.error;return(0,r.pi)((0,r.pi)({},e),{error:f});case"setLoadingMore":var h=t.loadingMore;return(0,r.pi)((0,r.pi)({},e),{loadingMore:h,suppressAutoscroll:h});case"setLoadingMoreNewer":var p=t.loadingMoreNewer;return(0,r.pi)((0,r.pi)({},e),{loadingMoreNewer:p});case"setThread":var d=t.message;return(0,r.pi)((0,r.pi)({},e),{thread:d});case"setTyping":var i=t.channel;return(0,r.pi)((0,r.pi)({},e),{typing:(0,r.pi)({},i.state.typing)});case"startLoadingThread":return(0,r.pi)((0,r.pi)({},e),{threadLoadingMore:!0,threadSuppressAutoscroll:!0});case"updateThreadOnEvent":var i=t.channel,d=t.message;if(!e.thread)return e;return(0,r.pi)((0,r.pi)({},e),{thread:(null==d?void 0:d.id)===e.thread.id?i.state.formatMessage(d):e.thread,threadMessages:(null===(n=e.thread)||void 0===n?void 0:n.id)&&(0,r.pi)({},i.state.threads)[e.thread.id]||[]});default:return e}},h={error:null,hasMore:!0,hasMoreNewer:!1,loading:!0,loadingMore:!1,members:{},messages:[],pinnedMessages:[],read:{},suppressAutoscroll:!1,thread:null,threadHasMore:!0,threadLoadingMore:!1,threadMessages:[],threadSuppressAutoscroll:!1,typing:{},watcherCount:0,watchers:{}},p=n(42393),m=n(33600),g=function(e){var t,n=e.acceptedFiles,r=e.channel,o=e.channelCapabilitiesArray,a=e.channelConfig,s=e.debounceURLEnrichmentMs,l=e.dragAndDropWindow,u=e.enrichURLForPreview,c=e.giphyVersion,d=e.error,f=e.findURLFn,h=e.hasMore,p=e.hasMoreNewer,g=e.imageAttachmentSizeHandler,v=e.suppressAutoscroll,y=e.highlightedMessageId,b=e.loading,w=e.loadingMore,_=e.maxNumberOfFiles,x=e.members,D=e.messages,E=void 0===D?[]:D,C=e.multipleUploads,k=e.mutes,S=e.notifications,T=e.onLinkPreviewDismissed,M=e.pinnedMessages,O=e.quotedMessage,P=e.read,R=void 0===P?{}:P,j=e.shouldGenerateVideoThumbnail,L=e.skipMessageDataMemoization,F=e.thread,A=e.threadHasMore,N=e.threadLoadingMore,I=e.threadMessages,B=void 0===I?[]:I,U=e.videoAttachmentSizeHandler,z=e.watcherCount,H=e.watcher_count,V=e.watchers,q=r.cid,W=r.initialized&&(null===(t=r.lastRead())||void 0===t?void 0:t.getTime()),$=Object.keys(x||[]).length,Y=S.length,Z=Object.values(R),G=Z.length,J=Z.map(function(e){return e.last_read.toISOString()}).join(),K=null==B?void 0:B.length,X={};(void 0===o?[]:o).forEach(function(e){X[e]=!0});var Q=L?E:E.map(function(e){var t=e.deleted_at,n=e.latest_reactions,r=e.pinned,i=e.reply_count,o=e.status,a=e.updated_at,s=e.user;return"".concat(t).concat(n?n.map(function(e){return e.type}).join():"").concat(r).concat(i).concat(o).concat(a&&((0,m.MD)(a)||(0,m.J_)(a))?a.toISOString():a||"").concat(null==s?void 0:s.updated_at)}).join(),ee=B.map(function(e){var t=e.deleted_at,n=e.latest_reactions,r=e.pinned,i=e.status,o=e.updated_at,a=e.user;return"".concat(t).concat(n?n.map(function(e){return e.type}).join():"").concat(r).concat(i).concat(o&&((0,m.MD)(o)||(0,m.J_)(o))?o.toISOString():o||"").concat(null==a?void 0:a.updated_at)}).join();return(0,i.useMemo)(function(){return{acceptedFiles:n,channel:r,channelCapabilities:X,channelConfig:a,debounceURLEnrichmentMs:s,dragAndDropWindow:l,enrichURLForPreview:u,error:d,findURLFn:f,giphyVersion:c,hasMore:h,hasMoreNewer:p,highlightedMessageId:y,imageAttachmentSizeHandler:g,loading:b,loadingMore:w,maxNumberOfFiles:_,members:x,messages:E,multipleUploads:C,mutes:k,notifications:S,onLinkPreviewDismissed:T,pinnedMessages:M,quotedMessage:O,read:R,shouldGenerateVideoThumbnail:j,suppressAutoscroll:v,thread:F,threadHasMore:A,threadLoadingMore:N,threadMessages:B,videoAttachmentSizeHandler:U,watcher_count:H,watcherCount:z,watchers:V}},[q,s,u,d,f,h,p,y,W,b,w,$,Q,ee,Y,T,O,G,J,j,L,v,F,A,N,K,z])},v=function(e){var t=e.typing,n=Object.keys(t||{}).join();return(0,i.useMemo)(function(){return{typing:t}},[n])},y=n(40311),b=function(e){var t=(0,y.mx)("useEditMessageHandler"),n=t.channel,r=t.client;return function(t,i){return e&&n?Promise.resolve(e(n.cid,t,i)):r.updateMessage(t,void 0,i)}},w=function(){var e=(0,i.useRef)(!1);return(0,i.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),e},_=n(88492),x=["video/mp4","video/ogg","video/webm","video/quicktime"],D=function(e){return e.og_scrape_url||e.title_link},E=function(e){return"image"===e.type&&!D(e)},C=n(72799),k=i.memo(function(e){var t=e.actionHandler,n=e.actions,r=e.id,o=e.text,a=(0,m.Ht)("UnMemoizedAttachmentActions").t;return i.createElement("div",{className:"str-chat__message-attachment-actions"},i.createElement("div",{className:"str-chat__message-attachment-actions-form"},i.createElement("span",null,o),n.map(function(e){return i.createElement("button",{className:"str-chat__message-attachment-actions-button str-chat__message-attachment-actions-button--".concat(e.style),"data-testid":"".concat(e.name),"data-value":e.value,key:"".concat(r,"-").concat(e.value),onClick:function(n){var r,i;return r=e.name,i=e.value,null==t?void 0:t(r,i,n)}},e.text?a(e.text):null)})))}),S=n(18727),T=n(6481),M=n.n(T),O=function(e){var t=e.fileSize;return t&&Number.isFinite(Number(t))?i.createElement("span",{className:"str-chat__message-attachment-file--item-size"},M()(t)):null},P=n(12782),R=function(){var e=(0,i.useState)(!1),t=e[0],n=e[1],r=(0,i.useState)(0),o=r[0],a=r[1],s=(0,i.useRef)(null),l=(0,i.useCallback)(function(){n(function(e){return!e})},[]),u=(0,i.useCallback)(function(e){var n=e.clientX,r=e.currentTarget;if(s.current){var i=r.getBoundingClientRect(),o=i.width,l=(n-i.x)/o;t||a(100*l),s.current.currentTime=l*s.current.duration}},[t]);return(0,i.useEffect)(function(){if(s.current&&t){var e=window.setInterval(function(){if(s.current){var e=s.current,t=e.currentTime,r=e.duration;a(t/r*100),t===r&&n(!1)}},100);return s.current.play(),function(){var t;null===(t=s.current)||void 0===t||t.pause(),window.clearInterval(e)}}},[t]),{audioRef:s,isPlaying:t,progress:o,seek:u,togglePlay:l}},j=function(e){var t=e.og,n=t.asset_url,r=t.description,o=t.image_url,a=t.text,s=t.title,l=R(),u=l.audioRef,c=l.isPlaying,d=l.progress,f=l.togglePlay;return i.createElement("div",{className:"str-chat__audio"},i.createElement("div",{className:"str-chat__audio__wrapper"},i.createElement("audio",{ref:u},i.createElement("source",{"data-testid":"audio-source",src:n,type:"audio/mp3"})),i.createElement("div",{className:"str-chat__audio__image"},i.createElement("div",{className:"str-chat__audio__image--overlay"},c?i.createElement("button",{className:"str-chat__audio__image--button","data-testid":"pause-audio",onClick:f},i.createElement("svg",{height:"40",viewBox:"0 0 64 64",width:"40",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M32 58.215c14.478 0 26.215-11.737 26.215-26.215S46.478 5.785 32 5.785 5.785 17.522 5.785 32 17.522 58.215 32 58.215zM32 64C14.327 64 0 49.673 0 32 0 14.327 14.327 0 32 0c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32zm-7.412-45.56h2.892a2.17 2.17 0 0 1 2.17 2.17v23.865a2.17 2.17 0 0 1-2.17 2.17h-2.892a2.17 2.17 0 0 1-2.17-2.17V20.61a2.17 2.17 0 0 1 2.17-2.17zm12.293 0h2.893a2.17 2.17 0 0 1 2.17 2.17v23.865a2.17 2.17 0 0 1-2.17 2.17h-2.893a2.17 2.17 0 0 1-2.17-2.17V20.61a2.17 2.17 0 0 1 2.17-2.17z",fillRule:"nonzero"}))):i.createElement("button",{className:"str-chat__audio__image--button","data-testid":"play-audio",onClick:f},i.createElement("svg",{height:"40",viewBox:"0 0 64 64",width:"40",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M32 58c14.36 0 26-11.64 26-26S46.36 6 32 6 6 17.64 6 32s11.64 26 26 26zm0 6C14.327 64 0 49.673 0 32 0 14.327 14.327 0 32 0c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32zm13.237-28.412L26.135 45.625a3.27 3.27 0 0 1-4.426-1.4 3.319 3.319 0 0 1-.372-1.47L21 23.36c-.032-1.823 1.41-3.327 3.222-3.358a3.263 3.263 0 0 1 1.473.322l19.438 9.36a3.311 3.311 0 0 1 .103 5.905z",fillRule:"nonzero"})))),o&&i.createElement("img",{alt:"".concat(r),src:o})),i.createElement("div",{className:"str-chat__audio__content"},i.createElement("span",{className:"str-chat__audio__content--title"},i.createElement("strong",null,s)),i.createElement("span",{className:"str-chat__audio__content--subtitle"},a),i.createElement("div",{className:"str-chat__audio__content--progress"},i.createElement("div",{"data-progress":d,"data-testid":"audio-progress",role:"progressbar",style:{width:"".concat(d,"%")}})))))},L=function(e){var t=e.isPlaying,n=e.onClick;return i.createElement("button",{className:"str-chat__message-attachment-audio-widget--play-button","data-testid":t?"pause-audio":"play-audio",onClick:n},t?i.createElement(S.fp,null):i.createElement(S.Kd,null))},F=function(e){var t=e.onClick,n=e.progress;return i.createElement("div",{className:"str-chat__message-attachment-audio-widget--progress-track","data-progress":n,"data-testid":"audio-progress",onClick:t,role:"progressbar",style:{background:"linear-gradient(\n to right,\n var(--str-chat__primary-color),\n var(--str-chat__primary-color) ".concat(n,"%,\n var(--str-chat__disabled-color) ").concat(n,"%,\n var(--str-chat__disabled-color)\n )")}},i.createElement("div",{className:"str-chat__message-attachment-audio-widget--progress-slider",style:{left:"".concat(n,"px")}}))},A=function(e){var t=e.og,n=t.asset_url,r=t.file_size,o=t.title,a=R(),s=a.audioRef,l=a.isPlaying,u=a.progress,c=a.seek,d=a.togglePlay;return n?i.createElement("div",{className:"str-chat__message-attachment-audio-widget","data-testid":"audio-widget"},i.createElement("audio",{ref:s},i.createElement("source",{"data-testid":"audio-source",src:n,type:"audio/mp3"})),i.createElement("div",{className:"str-chat__message-attachment-audio-widget--play-controls"},i.createElement(L,{isPlaying:l,onClick:d})),i.createElement("div",{className:"str-chat__message-attachment-audio-widget--text"},i.createElement("div",{className:"str-chat__message-attachment-audio-widget--text-first-row"},i.createElement("div",{className:"str-chat__message-attachment-audio-widget--title"},o),i.createElement(P.o,{assetUrl:n})),i.createElement("div",{className:"str-chat__message-attachment-audio-widget--text-second-row"},i.createElement(O,{fileSize:r}),i.createElement(F,{onClick:c,progress:u})))):null},N=i.memo(function(e){return"1"===(0,y.mx)("Audio").themeVersion?i.createElement(j,(0,r.pi)({},e)):i.createElement(A,(0,r.pi)({},e))}),I=n(85292),B=n(68650),U=n(95683),z=n(7433),H=n.n(z),V=function(e){e.target.alt=""},q=function(e){var t=e.original,n=e.originalAlt;return i.createElement(B.Z,{alt:n,className:"image-gallery-image",onError:V,src:t})},W=function(e){var t=e.images,n=e.index,r=(0,m.Ht)("ModalGallery").t,o=(0,i.useMemo)(function(){return t.map(function(e){var t=e.image_url||e.thumb_url||"";return{original:t,originalAlt:r("User uploaded content"),source:t}})},[t]);return i.createElement(H(),{items:o,renderItem:q,showIndex:!0,showPlayButton:!1,showThumbnails:!1,startIndex:n})},$=n(97959),Y=i.memo(function(e){var t=e.images,n=e.innerRefs,o=(0,i.useState)(0),a=o[0],s=o[1],l=(0,i.useState)(!1),u=l[0],c=l[1],f=(0,$.yM)("Gallery"),h=f.BaseImage,p=void 0===h?B.Z:h,g=f.ModalGallery,v=(0,m.Ht)("Gallery").t,y=v("User uploaded content"),b=function(e){u?c(!1):(s(e),c(!0))},w=t.slice(0,4).map(function(e,o){return 3===o&&t.length>4?i.createElement("button",(0,r.pi)({className:"str-chat__gallery-placeholder","data-testid":"gallery-image-last",key:"gallery-image-".concat(o),onClick:function(){return b(o)},style:(0,r.pi)({backgroundImage:"url(".concat(t[3].previewUrl||t[3].image_url||t[3].thumb_url,")")},e.style)},(null==n?void 0:n.current)&&{ref:function(e){return n.current[o]=e}}),i.createElement("p",null,v("{{ imageCount }} more",{imageCount:t.length-4}))):i.createElement("button",{className:"str-chat__gallery-image","data-testid":"gallery-image",key:"gallery-image-".concat(o),onClick:function(){return b(o)}},i.createElement(p,(0,r.pi)({alt:(null==e?void 0:e.fallback)||y,src:(0,I.Nm)(e.previewUrl||e.image_url||e.thumb_url),style:e.style,title:(null==e?void 0:e.fallback)||y},(null==n?void 0:n.current)&&{ref:function(e){return n.current[o]=e}})))}),_=(0,d.Z)("str-chat__gallery",{"str-chat__gallery--square":t.length>3,"str-chat__gallery-two-rows":t.length>2});return i.createElement("div",{className:_},w,i.createElement(U.u,{onClose:function(){return c(function(e){return!e})},open:u},i.createElement(void 0===g?W:g,{images:t,index:a})))}),Z=function(e){var t=e.dimensions,n=e.fallback,o=e.image_url,a=e.thumb_url,s=e.innerRef,l=e.previewUrl,u=e.style,c=(0,i.useState)(!1),d=c[0],f=c[1],h=(0,$.yM)("ImageComponent"),p=h.BaseImage,m=void 0===p?B.Z:p,g=h.ModalGallery,v=(0,I.Nm)(l||o||a),y=function(){return f(function(e){return!e})};return i.createElement(i.Fragment,null,i.createElement(m,(0,r.pi)({alt:n,className:"str-chat__message-attachment--img","data-testid":"image-test",onClick:y,src:v,style:u,tabIndex:0,title:n},void 0===t?{}:t,s&&{ref:s})),i.createElement(U.u,{onClose:y,open:d},i.createElement(void 0===g?W:g,{images:[e],index:0})))},G=n(13897),J=n(61612),K=function(e){return null!=e?e.replace(/^(?:https?:\/\/)?(?:www\.)?/i,"").split("/")[0]:null},X=function(e){var t,n=e.type,r=(0,m.Ht)("Card").t;return i.createElement("div",{className:(0,d.Z)("str-chat__message-attachment-card",((t={})["str-chat__message-attachment-card--".concat(n)]=n,t))},i.createElement("div",{className:"str-chat__message-attachment-card--content"},i.createElement("div",{className:"str-chat__message-attachment-card--text"},r("this content could not be displayed"))))},Q=function(e){var t=e.asset_url,n=e.giphy,o=e.image_url,a=e.og_scrape_url,s=e.text,l=e.thumb_url,u=e.title,c=e.title_link,d=e.type,f=(0,J.JN)("Card").giphyVersion,h=l||o,p={};if("giphy"===d&&void 0!==n){var m=n[f];h=m.url,p.height=m.height,p.width=m.width}return u||c||t||h?c||a?i.createElement("div",{className:"str-chat__message-attachment-card str-chat__message-attachment-card--".concat(d)},i.createElement(et,(0,r.pi)({},e,{dimensions:p,image:h})),"video"!==d&&i.createElement("div",{className:"str-chat__message-attachment-card--content"},i.createElement("div",{className:"str-chat__message-attachment-card--flex"},u&&i.createElement("div",{className:"str-chat__message-attachment-card--title"},u),s&&i.createElement("div",{className:"str-chat__message-attachment-card--text"},s),(c||a)&&i.createElement(G.H,{className:"str-chat__message-attachment-card--url",href:c||a,rel:"noopener noreferrer",target:"_blank"},K(c||a))))):null:i.createElement(X,{type:d})},ee=function(e){var t=e.author_name,n=e.url;return i.createElement("div",{className:"str-chat__message-attachment-card--source-link","data-testid":"card-source-link"},i.createElement(G.H,{className:"str-chat__message-attachment-card--url",href:n,rel:"noopener noreferrer",target:"_blank"},t||K(n)))},et=function(e){var t=e.asset_url,n=e.dimensions,r=e.image,o=e.image_url,a=e.thumb_url,s=e.title,l=e.type,u=null;return t&&"video"===l?u=i.createElement(_.Z,{className:"react-player",controls:!0,height:"100%",url:t,width:"100%"}):r&&(u=i.createElement(Z,{dimensions:n,fallback:s||r,image_url:o,thumb_url:a})),u?i.createElement("div",{className:"str-chat__message-attachment-card--header str-chat__message-attachment-card-react--header","data-testid":"card-header"},u):null},en=function(e){var t=e.author_name,n=e.og_scrape_url,r=e.text,o=e.title,a=e.title_link,s=e.type,l=a||n;return i.createElement("div",{className:"str-chat__message-attachment-card--content"},"audio"===s?i.createElement(ei,{og:e}):i.createElement("div",{className:"str-chat__message-attachment-card--flex"},l&&i.createElement(ee,{author_name:t,url:l}),o&&i.createElement("div",{className:"str-chat__message-attachment-card--title"},o),r&&i.createElement("div",{className:"str-chat__message-attachment-card--text"},r)))},er=function(e){var t=e.asset_url,n=e.giphy,o=e.image_url,a=e.thumb_url,s=e.title,l=e.title_link,u=e.type,c=(0,J.JN)("CardHeader").giphyVersion,d=a||o,f={};if("giphy"===u&&void 0!==n){var h=n[c];d=h.url,f.height=h.height,f.width=h.width}return s||l||t||d?i.createElement("div",{className:"str-chat__message-attachment-card str-chat__message-attachment-card--".concat(u)},i.createElement(et,(0,r.pi)({},e,{dimensions:f,image:d})),i.createElement(en,(0,r.pi)({},e))):i.createElement(X,null)},ei=function(e){var t=e.og,n=t.asset_url,r=t.author_name,o=t.og_scrape_url,a=t.text,s=t.title,l=t.title_link,u=R(),c=u.audioRef,d=u.isPlaying,f=u.progress,h=u.seek,p=u.togglePlay,m=l||o;return i.createElement("div",{className:"str-chat__message-attachment-card-audio-widget","data-testid":"card-audio-widget"},n&&i.createElement(i.Fragment,null,i.createElement("audio",{ref:c},i.createElement("source",{"data-testid":"audio-source",src:n,type:"audio/mp3"})),i.createElement("div",{className:"str-chat__message-attachment-card-audio-widget--first-row"},i.createElement("div",{className:"str-chat__message-attachment-audio-widget--play-controls"},i.createElement(L,{isPlaying:d,onClick:p})),i.createElement(F,{onClick:h,progress:f}))),i.createElement("div",{className:"str-chat__message-attachment-audio-widget--second-row"},m&&i.createElement(ee,{author_name:r,url:m}),s&&i.createElement("div",{className:"str-chat__message-attachment-audio-widget--title"},s),a&&i.createElement("div",{className:"str-chat__message-attachment-audio-widget--description"},a)))},eo=i.memo(function(e){return"2"===(0,y.mx)("Card").themeVersion?i.createElement(er,(0,r.pi)({},e)):i.createElement(Q,(0,r.pi)({},e))}),ea=n(27988),es=function(e){var t=e.attachment;return i.createElement("div",{className:"str-chat__message-attachment-file--item","data-testid":"attachment-file"},i.createElement(ea.a,{big:!0,mimeType:t.mime_type,size:30}),i.createElement("div",{className:"str-chat__message-attachment-file--item-text"},i.createElement(G.H,{download:!0,href:t.asset_url,target:"_blank"},t.title),i.createElement(O,{fileSize:t.file_size})))},el=function(e){var t=e.attachment;return i.createElement("div",{className:"str-chat__message-attachment-file--item","data-testid":"attachment-file"},i.createElement(ea.a,{className:"str-chat__file-icon",mimeType:t.mime_type,version:"2"}),i.createElement("div",{className:"str-chat__message-attachment-file--item-text"},i.createElement("div",{className:"str-chat__message-attachment-file--item-first-row"},i.createElement("div",{className:"str-chat__message-attachment-file--item-name","data-testid":"file-title"},t.title),i.createElement(P.o,{assetUrl:t.asset_url})),i.createElement(O,{fileSize:t.file_size})))},eu=i.memo(function(e){var t=e.attachment;return"2"===(0,y.mx)("FileAttachment").themeVersion?i.createElement(el,{attachment:t}):i.createElement(es,{attachment:t})}),ec=function(){return null},ed=function(e){var t,n,r=e.attachment,o=e.children,a=e.componentType,s=Array.isArray(r.images),l="";s||(l="card"!==a||(null==r?void 0:r.image_url)||(null==r?void 0:r.thumb_url)?(null===(n=null==r?void 0:r.actions)||void 0===n?void 0:n.length)?"actions":"":"no-image");var u=(0,d.Z)("str-chat__message-attachment str-chat__message-attachment-dynamic-size",((t={})["str-chat__message-attachment--".concat(a)]=a,t["str-chat__message-attachment--".concat(null==r?void 0:r.type)]=null==r?void 0:r.type,t["str-chat__message-attachment--".concat(a,"--").concat(l)]=a&&l,t["str-chat__message-attachment--svg-image"]=(r.fallback||"").toLowerCase().endsWith(".svg"),t["str-chat__message-attachment-with-actions"]="actions"===l,t));return i.createElement("div",{className:u},o)},ef=function(e){var t,n=e.actionHandler,o=e.attachment,a=e.AttachmentActions;return(null===(t=o.actions)||void 0===t?void 0:t.length)?i.createElement(void 0===a?k:a,(0,r.pi)({},o,{actionHandler:n,actions:o.actions,id:o.id||"",text:o.text||""})):null};function eh(e){var t={"--original-height":1e6,"--original-width":1e6};if(C.Bu(e,"url")){var n=new URL(e).searchParams,r=Number(n.get("oh")),i=Number(n.get("ow"));t["--original-width"]=i>1?i:1e6,t["--original-height"]=r>1?r:1e6}return t}var ep=function(e){var t=e.attachment,n=e.Gallery,o=(0,i.useRef)([]),a=(0,J.JN)().imageAttachmentSizeHandler,s=(0,i.useState)([]),l=s[0],u=s[1];(0,i.useLayoutEffect)(function(){if(o.current&&o.current.every(function(e){return!!e})&&a){var e=[];o.current.forEach(function(n,r){var i=a(t.images[r],n);e.push(i)}),u(e)}},[o,a,t]);var c=t.images.map(function(e,n){var i,o,a;return(0,r.pi)((0,r.pi)({},e),{previewUrl:(null===(i=l[n])||void 0===i?void 0:i.url)||"about:blank",style:eh((null===(o=t.images[n])||void 0===o?void 0:o.image_url)||(null===(a=t.images[n])||void 0===a?void 0:a.thumb_url)||"")})});return i.createElement(ed,{attachment:t,componentType:"gallery"},i.createElement(void 0===n?Y:n,{images:c||[],innerRefs:o,key:"gallery"}))},em=function(e){var t=e.attachment,n=e.Image,o=void 0===n?Z:n,a="image",s=(0,i.useRef)(null),l=(0,J.JN)().imageAttachmentSizeHandler,u=(0,i.useState)(void 0),c=u[0],d=u[1];(0,i.useLayoutEffect)(function(){s.current&&l&&d(l(t,s.current))},[s,l,t]);var f=(0,r.pi)((0,r.pi)({},t),{previewUrl:(null==c?void 0:c.url)||"about:blank",style:eh(t.image_url||t.thumb_url||"")});return t.actions&&t.actions.length?i.createElement(ed,{attachment:t,componentType:a},i.createElement("div",{className:"str-chat__attachment"},i.createElement(o,(0,r.pi)({},f,{innerRef:s})),i.createElement(ef,(0,r.pi)({},e)))):i.createElement(ed,{attachment:t,componentType:a},i.createElement(o,(0,r.pi)({},f,{innerRef:s})))},eg={audio:function(e){var t=e.attachment,n=e.Audio;return i.createElement(ed,{attachment:t,componentType:"audio"},i.createElement("div",{className:"str-chat__attachment"},i.createElement(void 0===n?N:n,{og:t})))},card:function(e){var t=e.attachment,n=e.Card,o=void 0===n?eo:n,a="card";return t.actions&&t.actions.length?i.createElement(ed,{attachment:t,componentType:a},i.createElement("div",{className:"str-chat__attachment"},i.createElement(o,(0,r.pi)({},t)),i.createElement(ef,(0,r.pi)({},e)))):i.createElement(ed,{attachment:t,componentType:a},i.createElement(o,(0,r.pi)({},t)))},file:function(e){var t=e.attachment,n=e.File;return t.asset_url?i.createElement(ed,{attachment:t,componentType:"file"},i.createElement(void 0===n?eu:n,{attachment:t})):null},media:function(e){var t,n=e.attachment,o=e.Media,a=void 0===o?_.Z:o,s="media",l=(0,J.JN)(),u=l.shouldGenerateVideoThumbnail,c=l.videoAttachmentSizeHandler,d=(0,i.useRef)(null),f=(0,i.useState)(),h=f[0],p=f[1];(0,i.useLayoutEffect)(function(){d.current&&c&&p(c(n,d.current,u))},[d,c,n]);var m=i.createElement("div",{className:"str-chat__player-wrapper","data-testid":"video-wrapper",ref:d,style:eh(n.thumb_url||"")},i.createElement(a,{className:"react-player",config:{file:{attributes:{poster:null==h?void 0:h.thumbUrl}}},controls:!0,height:"100%",url:null==h?void 0:h.url,width:"100%"}));return(null===(t=n.actions)||void 0===t?void 0:t.length)?i.createElement(ed,{attachment:n,componentType:s},i.createElement("div",{className:"str-chat__attachment str-chat__attachment-media"},m,i.createElement(ef,(0,r.pi)({},e)))):i.createElement(ed,{attachment:n,componentType:s},m)},unsupported:function(e){var t=e.attachment,n=e.UnsupportedAttachment;return i.createElement(i.Fragment,null,i.createElement(void 0===n?ec:n,{attachment:t}))}},ev=["card","gallery","image","media","audio","file","unsupported"],ey=function(e){var t=e.attachments,n=(0,i.useMemo)(function(){return eb(e)},[t]);return i.createElement("div",{className:"str-chat__attachment-list"},ev.reduce(function(e,t){return(0,r.ev)((0,r.ev)([],e,!0),n[t],!0)},[]))},eb=function(e){var t=e.attachments,n=(0,r._T)(e,["attachments"]),o=t.filter(function(e){return E(e)}),a=t.filter(function(e){return!E(e)}).reduce(function(e,t){var o=ew(t),a=eg[o];return e[o].push(i.createElement(a,(0,r.pi)({key:"".concat(o,"-").concat(e[o].length)},n,{attachment:t}))),e},{audio:[],card:[],file:[],media:[],unsupported:[],image:[],gallery:[]});return o.length>1?a.gallery=[i.createElement(ep,(0,r.pi)({key:"gallery-container"},n,{attachment:{images:o,type:"gallery"}}))]:1===o.length&&(a.image=[i.createElement(em,(0,r.pi)({key:"image-container"},n,{attachment:o[0]}))]),a},ew=function(e){return D(e)?"card":e.mime_type&&-1!==x.indexOf(e.mime_type)||"video"===e.type?"media":"audio"===e.type?"audio":"file"===e.type||e.mime_type&&-1===x.indexOf(e.mime_type)&&"video"!==e.type?"file":"unsupported"},e_=i.memo(function(e){var t=e.error,n=(0,m.Ht)("LoadingErrorIndicator").t;return t?i.createElement("div",null,n("Error: {{ errorMessage }}",{errorMessage:t.message})):null},function(e,t){var n,r;return(null===(n=e.error)||void 0===n?void 0:n.message)===(null===(r=t.error)||void 0===r?void 0:r.message)}),ex=function(){return i.createElement("div",{className:"str-chat__loading-channel-message"},i.createElement("div",{className:"str-chat__loading-channel-message-avatar"}),i.createElement("div",{className:"str-chat__loading-channel-message-end"},i.createElement("div",{className:"str-chat__loading-channel-message-sender"}),i.createElement("div",{className:"str-chat__loading-channel-message-last-row"},i.createElement("div",{className:"str-chat__loading-channel-message-text"}),i.createElement("div",{className:"str-chat__loading-channel-message-date"}))))},eD=function(){return i.createElement("div",{className:"str-chat__loading-channel-message-input-row"},i.createElement("div",{className:"str-chat__loading-channel-message-input"}),i.createElement("div",{className:"str-chat__loading-channel-message-send"}))},eE=function(){return i.createElement("div",{className:"str-chat__loading-channel-header"},i.createElement("div",{className:"str-chat__loading-channel-header-avatar"}),i.createElement("div",{className:"str-chat__loading-channel-header-end"},i.createElement("div",{className:"str-chat__loading-channel-header-name"}),i.createElement("div",{className:"str-chat__loading-channel-header-info"})))},eC=function(){return i.createElement("div",{className:"str-chat__loading-channel"},i.createElement(eE,null),i.createElement("div",{className:"str-chat__loading-channel-message-list"},Array.from([,,,]).map(function(e,t){return i.createElement(ex,{key:"loading-message-".concat(t)})})),i.createElement(eD,null))},ek=n(70907),eS=n(69058),eT=n(67378),eM=n(92560),eO=n(43751),eP=n(74745),eR=function(e){var t=e.children,n=(0,J.JN)("DropzoneProvider"),r=n.acceptedFiles,o=n.multipleUploads,a=(0,eP.Nc)("DropzoneProvider"),s=a.cooldownRemaining,l=a.isUploadEnabled,u=a.maxFilesLeft,c=a.uploadNewFiles;return i.createElement(eS.v,{accept:r,disabled:!l||0===u||!!s,handleFiles:c,maxNumberOfFiles:u,multiple:o},t)},ej=function(e){var t=(0,eT._)(),n=(0,eO.k)(e),o=(0,eM.u)((0,r.pi)((0,r.pi)((0,r.pi)({},t),n),e));return i.createElement(eP.G6,{value:o},i.createElement(eR,null,e.children))},eL=n(92765),eF=n(86390),eA=n(47556),eN=n(66043),eI=n(58605),eB=n(1538),eU=function(e){var t,n,r,i=e.customClasses,o=(0,y.mx)("Channel").useImageFlagEmojisOnWindows;return{channelClass:null!==(t=null==i?void 0:i.channel)&&void 0!==t?t:"str-chat-channel str-chat__channel",chatClass:null!==(n=null==i?void 0:i.chat)&&void 0!==n?n:"str-chat",chatContainerClass:null!==(r=null==i?void 0:i.chatContainer)&&void 0!==r?r:"str-chat__container",windowsEmojiClass:o&&navigator.userAgent.match(/Win/)?"str-chat--windows-flags":""}},ez=function(e,t){var n=void 0,r=e.image_url||e.thumb_url||"";if(C.Bu(r,"url")){var i=new URL(r),o=eV(i,t);o&&(o.height*=2,o.width*=2,eY(o,i)),n=i.href}return{url:n||""}},eH=function(e,t,n){var r=void 0;if(e.thumb_url&&n&&C.Bu(e.thumb_url,"url")){var i=new URL(e.thumb_url),o=eV(i,t);o&&(o.height*=2,o.width*=2,eY(o,i)),r=i.href}return{thumbUrl:r,url:e.asset_url||""}},eV=function(e,t){var n=e.searchParams,r=Number(n.get("oh"))||1,i=Number(n.get("ow"))||1,o=eW(t);return(o.maxHeight||o.height)&&o.maxWidth?eq(r,i,o.maxHeight||o.height,o.maxWidth):void 0},eq=function(e,t,n,r){return{height:Math.round(Math.max(n,r/t*e)),width:Math.round(Math.max(n,r/e*t))}},eW=function(e){var t=getComputedStyle(e),n=e$(t.getPropertyValue("height")),r=e$(t.getPropertyValue("max-height")),i=e$(t.getPropertyValue("max-width"));return(n||r)&&i||console.warn("Invalid value set for height/max-height and/or max-width for HTML element, this can cause scrolling issues inside the message list, more info https://getstream.io/chat/docs/sdk/react/message-components/attachment/#image-and-video-sizing"),{height:n,maxHeight:r,maxWidth:i}},e$=function(e){if(e.endsWith("px")){var t=parseFloat(e);return isNaN(t)?void 0:t}},eY=function(e,t){t.searchParams.set("h",e.height.toString()),t.searchParams.set("w",e.width.toString())},eZ=function(e){var t,n=e.acceptedFiles,o=e.activeUnreadHandler,s=e.channel,_=e.channelQueryOptions,x=e.children,D=e.doDeleteMessageRequest,E=e.doMarkReadRequest,C=e.doSendMessageRequest,k=e.doUpdateMessageRequest,S=e.dragAndDropWindow,T=void 0!==S&&S,M=e.emojiData,O=e.enrichURLForPreviewConfig,P=e.initializeOnMount,R=void 0===P||P,j=e.LoadingErrorIndicator,L=e.LoadingIndicator,F=e.maxNumberOfFiles,A=e.multipleUploads,N=e.onMentionsClick,I=e.onMentionsHover,B=e.optionalMessageInputProps,U=e.skipMessageDataMemoization,z=(0,y.mx)("Channel"),H=z.client,V=z.customClasses,q=z.latestMessageDatesByChannels,W=z.mutes,Y=z.theme,Z=(0,m.Ht)("Channel").t,G=eU({customClasses:V}),K=G.channelClass,X=G.chatClass,Q=G.chatContainerClass,ee=G.windowsEmojiClass,et=(0,i.useState)(s.getConfig()),en=et[0],er=et[1],ei=(0,i.useState)([]),eo=ei[0],ea=ei[1],es=(0,i.useState)(),el=es[0],eu=es[1],ec=[],ed=(0,i.useReducer)(f,(0,r.pi)((0,r.pi)({},h),{loading:!s.initialized})),ef=ed[0],eh=ed[1],ep=w(),em=(0,i.useRef)(""),eg=(0,i.useRef)(new Date),ev=(0,i.useRef)(!0),eb=null===(t=s.data)||void 0===t?void 0:t.own_capabilities,ew={commonEmoji:p.Q9,defaultMinimalEmojis:p.R$,emojiData:void 0===M?eI:M,emojiSetDef:p._},ex=l()(function(){return eh({channel:s,type:"copyStateFromChannelOnEvent"})},500,{leading:!0,trailing:!0}),eD=function(){!s.disconnected&&(null==en?void 0:en.read_events)&&(eg.current=new Date,E?E(s):(0,u.t1)(s.markRead(),"mark read"),o?o(0,em.current):em.current&&(document.title=em.current))},eE=l()(eD,500,{leading:!0,trailing:!0}),eS=function(e){return(0,r.mG)(void 0,void 0,void 0,function(){var t,n,i,a,l,u,c,d,f,h,p,m,g,v,y,b;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(e.message&&eh({channel:s,message:e.message,type:"updateThreadOnEvent"}),"user.watching.start"===e.type||"user.watching.stop"===e.type)return[2];if("typing.start"===e.type||"typing.stop"===e.type)return[2,eh({channel:s,type:"setTyping"})];if("connection.changed"===e.type&&"boolean"==typeof e.online&&(ev.current=e.online),"message.new"===e.type&&(t=!0,(null===(u=e.message)||void 0===u?void 0:u.parent_id)&&!(null===(c=e.message)||void 0===c?void 0:c.show_in_channel)&&(t=!1),t&&(null===(f=null===(d=e.message)||void 0===d?void 0:d.user)||void 0===f?void 0:f.id)!==H.userID&&(document.hidden?(null==en?void 0:en.read_events)&&!s.muteStatus().muted&&(n=s.countUnread(eg.current),o?o(n,em.current):document.title="(".concat(n,") ").concat(em.current)):eE()),(null===(p=null===(h=e.message)||void 0===h?void 0:h.user)||void 0===p?void 0:p.id)===H.userID&&(null===(m=null==e?void 0:e.message)||void 0===m?void 0:m.created_at)&&(null===(g=null==e?void 0:e.message)||void 0===g?void 0:g.cid)&&(i=new Date(e.message.created_at),(!q[a=e.message.cid]||q[a].getTime()0&&eD(),document.addEventListener("visibilitychange",n),H.on("connection.changed",eS),H.on("connection.recovered",eS),H.on("user.updated",eS),H.on("user.deleted",eS),s.on(eS)),[2]}})}),function(){!e&&t&&(document.removeEventListener("visibilitychange",n),null==s||s.off(eS),H.off("connection.changed",eS),H.off("connection.recovered",eS),H.off("user.updated",eS),H.off("user.deleted",eS),ec.forEach(clearTimeout))}},[s.cid,_,E,null==en?void 0:en.read_events,R]),(0,i.useEffect)(function(){if(ef.thread){var e,t=null===(e=ef.messages)||void 0===e?void 0:e.find(function(e){var t;return e.id===(null===(t=ef.thread)||void 0===t?void 0:t.id)});t&&eh({message:t,type:"setThread"})}},[ef.messages,ef.thread]);var eT=function(e,t){if("string"==typeof e&&("success"===t||"error"===t)){var n=(0,c.x0)();ea(function(i){return(0,r.ev)((0,r.ev)([],i,!0),[{id:n,text:e,type:t}],!1)});var i=setTimeout(function(){return ea(function(e){return e.filter(function(e){return e.id!==n})})},5e3);ec.push(i)}},eM=a()(function(e,t){ep.current&&eh({hasMore:e,messages:t,type:"loadMoreFinished"})},2e3,{leading:!0,trailing:!0}),eO=function(e){return void 0===e&&(e=100),(0,r.mG)(void 0,void 0,void 0,function(){var t,n,i,o,a;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!ev.current||!window.navigator.onLine||!ef.hasMore||(t=null===(a=null==ef?void 0:ef.messages)||void 0===a?void 0:a[0],ef.loadingMore||ef.loadingMoreNewer||(null==t?void 0:t.status)!=="received"))return[2,0];eh({loadingMore:!0,type:"setLoadingMore"}),n=null==t?void 0:t.id,i=e,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,s.query({messages:{id_lt:n,limit:i},watchers:{limit:i}})];case 2:return o=r.sent(),[3,4];case 3:return console.warn("message pagination request failed with error",r.sent()),eh({loadingMore:!1,type:"setLoadingMore"}),[2,0];case 4:return eM(o.messages.length===i,s.state.messages),[2,o.messages.length]}})})},eP=function(e){return void 0===e&&(e=100),(0,r.mG)(void 0,void 0,void 0,function(){var t,n,i,o,a,l;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!ev.current||!window.navigator.onLine||(t=null===(a=null==ef?void 0:ef.messages)||void 0===a?void 0:a[(null===(l=null==ef?void 0:ef.messages)||void 0===l?void 0:l.length)-1],ef.loadingMore||ef.loadingMoreNewer))return[2,0];eh({loadingMoreNewer:!0,type:"setLoadingMoreNewer"}),n=null==t?void 0:t.id,i=e,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,s.query({messages:{id_gt:n,limit:i},watchers:{limit:i}})];case 2:return o=r.sent(),[3,4];case 3:return console.warn("message pagination request failed with error",r.sent()),eh({loadingMoreNewer:!1,type:"setLoadingMoreNewer"}),[2,0];case 4:return eh({hasMoreNewer:s.state.messages!==s.state.latestMessages,messages:s.state.messages,type:"loadMoreNewerFinished"}),[2,o.messages.length]}})})},eR=(0,i.useRef)(null),eV=function(e,t){return void 0===t&&(t=100),(0,r.mG)(void 0,void 0,void 0,function(){return(0,r.Jh)(this,function(n){switch(n.label){case 0:return eh({loadingMore:!0,type:"setLoadingMore"}),[4,s.state.loadMessageIntoState(e,void 0,t)];case 1:return n.sent(),eM(s.state.messages.findIndex(function(t){return t.id===e})>=Math.floor(t/2),s.state.messages),eh({hasMoreNewer:s.state.messages!==s.state.latestMessages,highlightedMessageId:e,type:"jumpToMessageFinished"}),eR.current&&clearTimeout(eR.current),eR.current=setTimeout(function(){eR.current=null,eh({type:"clearHighlightedMessage"})},500),[2]}})})},eq=function(){return(0,r.mG)(void 0,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,s.state.loadMessageIntoState("latest")];case 1:return e.sent(),eM(s.state.messages.length>=25,s.state.messages),eh({type:"jumpToLatestMessage"}),[2]}})})},eW=(0,i.useCallback)(function(e){return(0,r.mG)(void 0,void 0,void 0,function(){var t;return(0,r.Jh)(this,function(n){switch(n.label){case 0:if(!(null==e?void 0:e.id))throw Error("Cannot delete a message - missing message ID.");if(!D)return[3,2];return[4,D(e)];case 1:return t=n.sent(),[3,4];case 2:return[4,H.deleteMessage(e.id)];case 3:t=n.sent().message,n.label=4;case 4:return[2,t]}})})},[H,D]),e$=function(e){s.state.addMessageSorted(e,!0),eh({channel:s,parentId:ef.thread&&e.parent_id,type:"copyMessagesFromChannel"})},eY=function(e){var t;return(null===(t=e[0])||void 0===t?void 0:t.id)!=null},eZ=function(e,t,n){return(0,r.mG)(void 0,void 0,void 0,function(){var i,o,a,l,u,c,d,f,h,p,m,g,v,y,b,w,_;return(0,r.Jh)(this,function(x){switch(x.label){case 0:i=e.attachments,o=e.id,l=void 0===(a=e.mentioned_users)?[]:a,u=e.parent_id,c=e.text,d=eY(l)?l.map(function(e){return e.id}):l,f=(0,r.pi)({attachments:i,id:o,mentioned_users:d,parent_id:u,quoted_message_id:u===(null==el?void 0:el.parent_id)?null==el?void 0:el.id:void 0,text:c},t),x.label=1;case 1:if(x.trys.push([1,6,,7]),h=void 0,!C)return[3,3];return[4,C(s.cid,f,n)];case 2:return h=x.sent(),[3,5];case 3:return[4,s.sendMessage(f,n)];case 4:h=x.sent(),x.label=5;case 5:for(p=void 0,m=s.state.messages.length-1;m>=0;m--)if((g=s.state.messages[m]).id===f.id){p=g;break}return v=new Date((null===(w=null==h?void 0:h.message)||void 0===w?void 0:w.updated_at)||0).getTime()>((null===(_=null==p?void 0:p.updated_at)||void 0===_?void 0:_.getTime())||0),(null==h?void 0:h.message)&&(v||(null==p?void 0:p.status)==="sending")&&e$((0,r.pi)((0,r.pi)({},h.message),{status:"received"})),el&&u===(null==el?void 0:el.parent_id)&&eu(void 0),[3,7];case 6:return b=(y=JSON.stringify(x.sent()))?JSON.parse(y):{},e$((0,r.pi)((0,r.pi)({},e),{error:b,errorStatusCode:b.status||void 0,status:"failed"})),[3,7];case 7:return[2]}})})},eG=function(e,t,n){var i=e.attachments,o=void 0===i?[]:i,a=e.mentioned_users,l=void 0===a?[]:a,u=e.parent,d=e.text,f=void 0===d?"":d;return(0,r.mG)(void 0,void 0,void 0,function(){var e,i;return(0,r.Jh)(this,function(a){switch(a.label){case 0:return s.state.filterErrorMessages(),e$(e=(0,r.pi)({__html:f,attachments:o,created_at:new Date,html:f,id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:"".concat(H.userID,"-").concat((0,c.x0)()),mentioned_users:l,reactions:[],status:"sending",text:f,type:"regular",user:H.user},(null==u?void 0:u.id)?{parent_id:u.id}:null)),[4,eZ(e,t,n)];case 1:return a.sent(),[2]}})})},eJ=function(e){return(0,r.mG)(void 0,void 0,void 0,function(){return(0,r.Jh)(this,function(t){switch(t.label){case 0:return e$((0,r.pi)((0,r.pi)({},e),{errorStatusCode:void 0,status:"sending"})),e.attachments&&(e.attachments=e.attachments.filter(function(e){return!e.og_scrape_url})),[4,eZ(e)];case 1:return t.sent(),[2]}})})},eK=function(e){s.state.removeMessage(e),eh({channel:s,parentId:ef.thread&&e.parent_id,type:"copyMessagesFromChannel"})},eX=function(e,t){null==t||t.preventDefault(),eu(function(t){if((null==t?void 0:t.parent_id)===(null==e?void 0:e.parent_id))return t}),eh({channel:s,message:e,type:"openThread"})},eQ=function(e){null==e||e.preventDefault(),eh({type:"closeThread"})},e0=a()(function(e,t){eh({threadHasMore:e,threadMessages:t,type:"loadMoreThreadFinished"})},2e3,{leading:!0,trailing:!0}),e1=function(e){return void 0===e&&(e=50),(0,r.mG)(void 0,void 0,void 0,function(){var t,n,i,o,a;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(ef.threadLoadingMore||!ef.thread)return[2];if(eh({type:"startLoadingThread"}),!(t=ef.thread.id))return[2,eh({type:"closeThread"})];i=null===(a=(n=s.state.threads[t]||[])[0])||void 0===a?void 0:a.id,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,s.getReplies(t,{id_lt:i,limit:e})];case 2:return o=r.sent(),e0((0,eN.Th)(o.messages.length,e),s.state.threads[t]||[]),[3,4];case 3:return r.sent(),e0(!1,n),[3,4];case 4:return[2]}})})},e2=(0,i.useCallback)(function(e,t){if((I||N)&&e.target instanceof HTMLElement){var n=e.target.innerHTML.replace("*","");if("@"===n[0]){var r=n.replace("@",""),i=null==t?void 0:t.find(function(e){var t=e.id;return e.name===r||t===r});I&&"function"==typeof I&&"mouseover"===e.type&&I(e,i),N&&"click"===e.type&&"function"==typeof N&&N(e,i)}}},[N,I]),e3=b(k),e4=ef.typing,e6=(0,r._T)(ef,["typing"]),e5=g((0,r.pi)((0,r.pi)({},e6),{acceptedFiles:n,channel:s,channelCapabilitiesArray:eb,channelConfig:en,debounceURLEnrichmentMs:null==O?void 0:O.debounceURLEnrichmentMs,dragAndDropWindow:T,enrichURLForPreview:e.enrichURLForPreview,findURLFn:null==O?void 0:O.findURLFn,giphyVersion:e.giphyVersion||"fixed_height",imageAttachmentSizeHandler:e.imageAttachmentSizeHandler||ez,maxNumberOfFiles:F,multipleUploads:void 0===A||A,mutes:W,notifications:eo,onLinkPreviewDismissed:null==O?void 0:O.onLinkPreviewDismissed,quotedMessage:el,shouldGenerateVideoThumbnail:e.shouldGenerateVideoThumbnail||!0,videoAttachmentSizeHandler:e.videoAttachmentSizeHandler||eH,watcher_count:ef.watcherCount})),e8=(0,i.useMemo)(function(){return{addNotification:eT,closeThread:eQ,deleteMessage:eW,dispatch:eh,editMessage:e3,jumpToLatestMessage:eq,jumpToMessage:eV,loadMore:eO,loadMoreNewer:eP,loadMoreThread:e1,onMentionsClick:e2,onMentionsHover:e2,openThread:eX,removeMessage:eK,retrySendMessage:eJ,sendMessage:eG,setQuotedMessage:eu,skipMessageDataMemoization:U,updateMessage:e$}},[s.cid,eW,null==O?void 0:O.findURLFn,null==O?void 0:O.onLinkPreviewDismissed,eO,eP,el,eV,eq]),e7=(0,i.useMemo)(function(){return{Attachment:e.Attachment||ey,AttachmentPreviewList:e.AttachmentPreviewList,AutocompleteSuggestionHeader:e.AutocompleteSuggestionHeader,AutocompleteSuggestionItem:e.AutocompleteSuggestionItem,AutocompleteSuggestionList:e.AutocompleteSuggestionList,Avatar:e.Avatar,BaseImage:e.BaseImage,CooldownTimer:e.CooldownTimer,DateSeparator:e.DateSeparator,EditMessageInput:e.EditMessageInput,EmojiIcon:e.EmojiIcon,EmptyStateIndicator:e.EmptyStateIndicator,FileUploadIcon:e.FileUploadIcon,GiphyPreviewMessage:e.GiphyPreviewMessage,HeaderComponent:e.HeaderComponent,Input:e.Input,LinkPreviewList:e.LinkPreviewList,LoadingIndicator:e.LoadingIndicator,Message:e.Message||ek.u,MessageDeleted:e.MessageDeleted,MessageListNotifications:e.MessageListNotifications,MessageNotification:e.MessageNotification,MessageOptions:e.MessageOptions,MessageRepliesCountButton:e.MessageRepliesCountButton,MessageStatus:e.MessageStatus,MessageSystem:e.MessageSystem,MessageTimestamp:e.MessageTimestamp,ModalGallery:e.ModalGallery,PinIndicator:e.PinIndicator,QuotedMessage:e.QuotedMessage,QuotedMessagePreview:e.QuotedMessagePreview,ReactionSelector:e.ReactionSelector,ReactionsList:e.ReactionsList,SendButton:e.SendButton,ThreadHead:e.ThreadHead,ThreadHeader:e.ThreadHeader,ThreadStart:e.ThreadStart,TriggerProvider:e.TriggerProvider,TypingIndicator:e.TypingIndicator,VirtualMessage:e.VirtualMessage}},[]),e9=(0,i.useMemo)(function(){return{Emoji:e.Emoji,emojiConfig:ew,EmojiIndex:e.EmojiIndex,EmojiPicker:e.EmojiPicker}},[]),te=v({typing:e4}),tt=(0,d.Z)(X,Y,K);return ef.error?i.createElement("div",{className:tt},i.createElement(void 0===j?e_:j,{error:ef.error})):ef.loading?i.createElement("div",{className:tt},i.createElement(void 0===L?eC:L,null)):s.watch?i.createElement("div",{className:(0,d.Z)(tt,ee)},i.createElement(J.gZ,{value:e5},i.createElement(eL.PM,{value:e8},i.createElement($.Xp,{value:e7},i.createElement(eF._V,{value:e9},i.createElement(eA.ln,{value:te},i.createElement("div",{className:"".concat(Q)},T&&i.createElement(ej,(0,r.pi)({},void 0===B?{}:B),x),!T&&i.createElement(i.Fragment,null,x)))))))):i.createElement("div",{className:tt},i.createElement("div",null,Z("Channel Missing")))},eG=i.memo(function(e){var t=e.channel,n=e.EmptyPlaceholder,o=e.LoadingErrorIndicator,a=e.LoadingIndicator,s=void 0===a?eC:a,l=(0,y.mx)("Channel"),u=l.channel,c=l.channelsQueryState,f=l.customClasses,h=l.theme,p=eU({customClasses:f}),m=p.channelClass,g=p.chatClass,v=t||u,b=(0,d.Z)(g,h,m);return"reload"===c.queryInProgress&&s?i.createElement("div",{className:b},i.createElement(s,null)):c.error&&o?i.createElement("div",{className:b},i.createElement(o,{error:c.error})):(null==v?void 0:v.cid)?i.createElement(eZ,(0,r.pi)({},e,{channel:v,key:v.cid})):i.createElement("div",{className:b},void 0===n?null:n)})},42393:function(e,t,n){"use strict";n.d(t,{Le:function(){return s},Q9:function(){return i},R$:function(){return a},_:function(){return o}});var r=n(11735),i={custom:!0,emoticons:[],short_names:[]},o={imageUrl:"",sheetColumns:2,sheetRows:3,sheetSize:64,spriteUrl:"https://getstream.imgix.net/images/emoji-sprite.png"},a=[(0,r.pi)((0,r.pi)({colons:":+1:",id:"like",name:"like",sheet_x:0,sheet_y:0},i),o),(0,r.pi)((0,r.pi)({colons:":heart:",id:"love",name:"love",sheet_x:1,sheet_y:2},i),o),(0,r.pi)((0,r.pi)({colons:":joy:",id:"haha",name:"haha",sheet_x:1,sheet_y:0},i),o),(0,r.pi)((0,r.pi)({colons:":astonished:",id:"wow",name:"wow",sheet_x:0,sheet_y:2},i),o),(0,r.pi)((0,r.pi)({colons:":pensive:",id:"sad",name:"sad",sheet_x:0,sheet_y:1},i),o),(0,r.pi)((0,r.pi)({colons:":angry:",id:"angry",name:"angry",sheet_x:1,sheet_y:1},i),o)],s=function(e){return(0,r.pi)((0,r.pi)({},e),{emojis:{}})}},23962:function(e,t,n){"use strict";n.d(t,{G:function(){return eh}});var r,i,o=n(11735),a=n(2265),s=n(44839),l=n(33600),u=function(){return a.createElement("svg",{height:"78px",version:"1.1",viewBox:"0 0 78 78",width:"78px",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"Connection Error"),a.createElement("g",{fill:"none",fillRule:"evenodd",id:"Interactions",stroke:"none",strokeWidth:"1"},a.createElement("g",{fill:"#CF1F25",id:"Connection-Error-_-Connectivity",transform:"translate(-270.000000, -30.000000)"},a.createElement("g",{id:"109-network-connection",transform:"translate(270.000000, 30.000000)"},a.createElement("path",{d:"M66.4609744,11.414231 C81.6225232,26.5757798 81.6225232,51.157545 66.4609744,66.3188467 C51.2994256,81.4803954 26.7176604,81.4803954 11.5563587,66.3188467 C-3.60519004,51.1572979 -3.60519004,26.5755327 11.5563587,11.414231 C26.7179075,-3.74731776 51.2996727,-3.74731776 66.4609744,11.414231 Z M54.7853215,45.8823776 L54.7853215,40.5882574 C54.7853215,39.613638 53.9952341,38.8235506 53.0206147,38.8235506 L44.9576695,38.8235506 L41.428256,42.3529641 L51.255555,42.3529641 L51.255555,45.8823776 L54.7853215,45.8823776 Z M40.6659027,43.1153174 L37.8988425,45.8823776 L40.6659027,45.8823776 L40.6659027,43.1153174 Z M51.1764962,56.4702653 L58.2353232,56.4702653 C59.2099355,56.4702653 60.00003,55.6801708 60.00003,54.7055585 L60.00003,51.176145 C60.00003,50.2015327 59.2099355,49.4114382 58.2353232,49.4114382 L51.1764962,49.4114382 C50.2018839,49.4114382 49.4117894,50.2015327 49.4117894,51.176145 L49.4117894,54.7055585 C49.4117894,55.6801708 50.2018839,56.4702653 51.1764962,56.4702653 Z M35.2941353,56.4702653 L42.3529624,56.4702653 C43.3275746,56.4702653 44.1176691,55.6801708 44.1176691,54.7055585 L44.1176691,51.176145 C44.1176691,50.2015327 43.3275746,49.4114382 42.3529624,49.4114382 L35.2941353,49.4114382 C34.319523,49.4114382 33.5294285,50.2015327 33.5294285,51.176145 L33.5294285,54.7055585 C33.5294285,55.6801708 34.319523,56.4702653 35.2941353,56.4702653 Z M56.6964989,19.0874231 C56.007381,18.3985134 54.8903216,18.3985134 54.2012036,19.087423 L45.882376,27.4062507 L45.882376,19.4117761 C45.882376,18.4371568 45.0922885,17.6470693 44.1176692,17.6470693 L33.5294286,17.6470693 C32.5548092,17.6470694 31.7647218,18.4371568 31.7647218,19.4117761 L31.7647218,30.0000167 C31.7647219,30.9746363 32.5548092,31.7647237 33.5294285,31.7647237 L41.5239031,31.7647237 L34.4650761,38.8235508 L24.7058947,38.8235508 C23.7312753,38.8235508 22.9411879,39.6136382 22.9411879,40.5882575 L22.9411879,45.8823778 L26.4706014,45.8823778 L26.4706014,42.3529643 L30.9356624,42.3529643 L23.8768354,49.4117914 L19.4117743,49.4117914 C18.4371549,49.4117914 17.6470675,50.2018788 17.6470675,51.1764981 L17.6470675,54.7059117 C17.6504049,54.9674302 17.7129076,55.2248042 17.8298886,55.4587302 L16.4456526,56.8429662 C15.7446193,57.5200453 15.7252005,58.6372282 16.4022825,59.3382615 C17.0793616,60.0392948 18.1965445,60.0587136 18.8975778,59.3816316 C18.9122847,59.3674273 18.9267436,59.3529684 18.940948,59.3382615 L56.6964963,21.5830662 C57.3856425,20.8939094 57.3856425,19.7765747 56.6964963,19.0874179 Z",id:"Combined-Shape"})))))},c=a.memo(function(e){var t=e.image,n=void 0===t?a.createElement(u,null):t,r=e.text,i=e.type,o=(0,l.Ht)("ChatDown").t;return a.createElement("div",{className:"str-chat__down"},a.createElement("div",{className:"str-chat__down-main"},"string"==typeof n?a.createElement("img",{alt:"Connection error","data-testid":"chatdown-img",src:n}):n,a.createElement("h1",null,void 0===i?"Error":i),a.createElement("h3",{"aria-live":"assertive"},r||o("Error connecting to chat, refresh the page to try again."))))}),d=function(){return a.createElement("div",{className:"str-chat__loading-channels-item str-chat__channel-preview-loading"},a.createElement("div",{className:"str-chat__loading-channels-avatar"}),a.createElement("div",{className:"str-chat__loading-channels-meta str-chat__channel-preview-end-loading"},a.createElement("div",{className:"str-chat__loading-channels-username"}),a.createElement("div",{className:"str-chat__loading-channels-status"})))},f=a.memo(function(){return a.createElement("div",{className:"str-chat__loading-channels"},a.createElement(d,null),a.createElement(d,null),a.createElement(d,null))}),h=function(e){var t=e.children,n=e.error,r=e.loading,i=e.LoadingErrorIndicator,o=e.LoadingIndicator;return(void 0===n?null:n)?a.createElement(void 0===i?c:i,{type:"Connection Error"}):r?a.createElement(void 0===o?f:o,null):a.createElement("div",{className:"str-chat__channel-list-messenger str-chat__channel-list-messenger-react"},a.createElement("div",{"aria-label":"Channel list",className:"str-chat__channel-list-messenger__main str-chat__channel-list-messenger-react__main",role:"listbox"},t))},p=n(40311),m=function(e,t){var n=(0,p.mx)("useChannelDeletedListener").client;(0,a.useEffect)(function(){var r=function(n){t&&"function"==typeof t?t(e,n):e(function(e){var t=e.findIndex(function(e){return e.cid===n.cid});return t<0||e.splice(t,1),(0,o.ev)([],e,!0)})};return n.on("channel.deleted",r),function(){n.off("channel.deleted",r)}},[t])},g=function(e,t){var n=(0,p.mx)("useChannelHiddenListener").client;(0,a.useEffect)(function(){var r=function(n){t&&"function"==typeof t?t(e,n):e(function(e){var t=e.findIndex(function(e){return e.cid===n.cid});return t<0||e.splice(t,1),(0,o.ev)([],e,!0)})};return n.on("channel.hidden",r),function(){n.off("channel.hidden",r)}},[t])},v=function(e,t,n){var r=(0,p.mx)("useChannelTruncatedListener").client;(0,a.useEffect)(function(){var i=function(r){e(function(e){return(0,o.ev)([],e,!0)}),t&&"function"==typeof t&&t(e,r),n&&n()};return r.on("channel.truncated",i),function(){r.off("channel.truncated",i)}},[t])},y=function(e,t,n){var r=(0,p.mx)("useChannelUpdatedListener").client;(0,a.useEffect)(function(){var i=function(r){e(function(e){var t,n,i,a,s,l,u=e.findIndex(function(e){var t;return e.cid===(null===(t=r.channel)||void 0===t?void 0:t.cid)});return u>-1&&r.channel?(e[u].data=(0,o.pi)((0,o.pi)({},r.channel),{hidden:null!==(n=null===(t=r.channel)||void 0===t?void 0:t.hidden)&&void 0!==n?n:null===(i=e[u].data)||void 0===i?void 0:i.hidden,own_capabilities:null!==(s=null===(a=r.channel)||void 0===a?void 0:a.own_capabilities)&&void 0!==s?s:null===(l=e[u].data)||void 0===l?void 0:l.own_capabilities}),(0,o.ev)([],e,!0)):e}),n&&n(),t&&"function"==typeof t&&t(e,r)};return r.on("channel.updated",i),function(){r.off("channel.updated",i)}},[t])},b=n(94067),w=n.n(b),_=n(1538),x=function(e,t){var n=(0,p.mx)("useChannelVisibleListener").client;(0,a.useEffect)(function(){var r=function(r){return(0,o.mG)(void 0,void 0,void 0,function(){var i;return(0,o.Jh)(this,function(a){switch(a.label){case 0:if(!(t&&"function"==typeof t))return[3,1];return t(e,r),[3,3];case 1:if(!(r.type&&r.channel_type&&r.channel_id))return[3,3];return[4,(0,_.m)({client:n,id:r.channel_id,type:r.channel_type})];case 2:i=a.sent(),e(function(e){return w()((0,o.ev)([i],e,!0),"cid")}),a.label=3;case 3:return[2]}})})};return n.on("channel.visible",r),function(){n.off("channel.visible",r)}},[t])},D=function(e){var t=(0,p.mx)("useConnectionRecoveredListener").client;(0,a.useEffect)(function(){var n=function(){e&&e()};return t.on("connection.recovered",n),function(){t.off("connection.recovered",n)}},[])},E=function(e){var t=e.activeChannel,n=e.channels,r=e.cid,i=n.findIndex(function(e){return e.cid===r});if(!t&&i<=0)return n;var a=t||n[i];return w()((0,o.ev)([a],n,!0),"cid")},C=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0);var r=(0,p.mx)("useMessageNewListener").client;(0,a.useEffect)(function(){var i=function(i){e(function(e){if(!(e.filter(function(e){return e.cid===i.cid}).length>0)&&n&&i.channel_type){var a=r.channel(i.channel_type,i.channel_id);return w()((0,o.ev)([a],e,!0),"cid")}return t?e:E({channels:e,cid:i.cid||""})})};return r.on("message.new",i),function(){r.off("message.new",i)}},[t])},k=function(e,t,n){(0,a.useEffect)(function(){var r=function(r){n&&e.current&&!e.current.contains(r.target)&&t&&n()};return document.addEventListener("click",r),function(){document.removeEventListener("click",r)}},[e,n,t])},S=function(e,t,n){void 0===n&&(n=!0);var r=(0,p.mx)("useNotificationAddedToChannelListener").client;(0,a.useEffect)(function(){var i=function(i){return(0,o.mG)(void 0,void 0,void 0,function(){var a,s,l;return(0,o.Jh)(this,function(u){switch(u.label){case 0:if(!(t&&"function"==typeof t))return[3,1];return t(e,i),[3,3];case 1:if(!(n&&(null===(s=i.channel)||void 0===s?void 0:s.type)))return[3,3];return[4,(0,_.m)({client:r,id:i.channel.id,members:null===(l=i.channel.members)||void 0===l?void 0:l.reduce(function(e,t){var n=t.user,r=t.user_id||(null==n?void 0:n.id);return r&&e.push(r),e},[]),type:i.channel.type})];case 2:a=u.sent(),e(function(e){return w()((0,o.ev)([a],e,!0),"cid")}),u.label=3;case 3:return[2]}})})};return r.on("notification.added_to_channel",i),function(){r.off("notification.added_to_channel",i)}},[t])},T=function(e,t,n){void 0===n&&(n=!0);var r=(0,p.mx)("useNotificationMessageNewListener").client;(0,a.useEffect)(function(){var i=function(i){return(0,o.mG)(void 0,void 0,void 0,function(){var a,s;return(0,o.Jh)(this,function(l){switch(l.label){case 0:if(!(t&&"function"==typeof t))return[3,1];return t(e,i),[3,3];case 1:if(!(n&&(null===(s=i.channel)||void 0===s?void 0:s.type)))return[3,3];return[4,(0,_.m)({client:r,id:i.channel.id,type:i.channel.type})];case 2:a=l.sent(),e(function(e){return w()((0,o.ev)([a],e,!0),"cid")}),l.label=3;case 3:return[2]}})})};return r.on("notification.message_new",i),function(){r.off("notification.message_new",i)}},[t])},M=function(e,t){var n=(0,p.mx)("useNotificationRemovedFromChannelListener").client;(0,a.useEffect)(function(){var r=function(n){t&&"function"==typeof t?t(e,n):e(function(e){return e.filter(function(e){var t;return e.cid!==(null===(t=n.channel)||void 0===t?void 0:t.cid)})})};return n.on("notification.removed_from_channel",r),function(){n.off("notification.removed_from_channel",r)}},[t])},O=function(e,t,n,r,i,s){void 0===s&&(s=5e3);var l=(0,p.mx)("usePaginatedChannels").channelsQueryState,u=l.error,c=l.setError,d=l.setQueryInProgress,f=(0,a.useState)([]),h=f[0],m=f[1],g=(0,a.useState)(!0),v=g[0],y=g[1],b=(0,a.useRef)(),_=s<2e3?2e3:s||5e3,x=(0,a.useMemo)(function(){return JSON.stringify(t)},[t]),D=(0,a.useMemo)(function(){return JSON.stringify(n)},[n]),E=function(a){return(0,o.mG)(void 0,void 0,void 0,function(){var s,l,u,f,p,g;return(0,o.Jh)(this,function(v){switch(v.label){case 0:c(null),"reload"===a?(m([]),d("reload")):d("load-more"),s="reload"===a?0:h.length,l=(0,o.pi)({limit:null!==(g=null==r?void 0:r.limit)&&void 0!==g?g:30,offset:s},r),v.label=1;case 1:return v.trys.push([1,3,,4]),[4,e.queryChannels(t,n||{},l)];case 2:return u=v.sent(),m(f="reload"===a?u:w()((0,o.ev)((0,o.ev)([],h,!0),u,!0),"cid")),y(u.length>=l.limit),!s&&i&&i(f,m),[3,4];case 3:return console.warn(p=v.sent()),c(p),[3,4];case 4:return d(null),[2]}})})},C=(0,a.useCallback)(function(){var e=Date.now(),t=!b.current,n=b.current?e-b.current:0;(t||!(n<_)||u)&&(b.current=e,E("reload"))},[u,E,_]);return(0,a.useEffect)(function(){if(!e.recoverStateOnReconnect){var t=e.on("connection.recovered",C).unsubscribe;return function(){t()}}},[e,C]),(0,a.useEffect)(function(){E("reload")},[x,D]),{channels:h,hasNextPage:v,loadNextPage:function(){E()},setChannels:m}},P=function(e){var t=(0,p.mx)("useUserPresenceChangedListener").client;(0,a.useEffect)(function(){var n=function(t){e(function(e){var n=e.map(function(e){var n;return(null===(n=t.user)||void 0===n?void 0:n.id)&&e.state.members[t.user.id]&&(e.state.members[t.user.id].user=t.user),e});return(0,o.ev)([],n,!0)})};return t.on("user.presence.changed",n),function(){t.off("user.presence.changed",n)}},[])},R=n(77815),j=a.memo(function(e){var t,n,r=e.active,i=e.Avatar,o=void 0===i?R.q:i,l=e.channel,u=e.className,c=e.displayImage,d=e.displayTitle,f=e.latestMessage,h=e.onSelect,p=e.setActiveChannel,m=e.unread,g=e.watchers,v=(0,a.useRef)(null),y=d||(null===(n=null===(t=l.state.messages[l.state.messages.length-1])||void 0===t?void 0:t.user)||void 0===n?void 0:n.id);return a.createElement("button",{"aria-label":"Select Channel: ".concat(d||""),"aria-selected":r,className:(0,s.Z)("str-chat__channel-preview-messenger str-chat__channel-preview",r&&"str-chat__channel-preview-messenger--active",m&&m>=1&&"str-chat__channel-preview-messenger--unread",void 0===u?"":u),"data-testid":"channel-preview-button",onClick:function(e){h?h(e):p&&p(l,g),(null==v?void 0:v.current)&&v.current.blur()},ref:v,role:"option"},a.createElement("div",{className:"str-chat__channel-preview-messenger--left"},a.createElement(o,{image:c,name:y,size:40})),a.createElement("div",{className:"str-chat__channel-preview-messenger--right str-chat__channel-preview-end"},a.createElement("div",{className:"str-chat__channel-preview-end-first-row"},a.createElement("div",{className:"str-chat__channel-preview-messenger--name"},a.createElement("span",null,d)),!!m&&a.createElement("div",{className:"str-chat__channel-preview-unread-badge","data-testid":"unread-badge"},m)),a.createElement("div",{className:"str-chat__channel-preview-messenger--last-message"},f)))}),L=function(e){var t=(0,p.mx)("useIsChannelMuted").client,n=(0,a.useState)(e.muteStatus()),r=n[0],i=n[1];return(0,a.useEffect)(function(){var n=function(){return i(e.muteStatus())};return t.on("notification.channel_mutes_updated",n),function(){return t.off("notification.channel_mutes_updated",n)}},[r]),r},F=n(5734),A=n(44698);(r=i||(i={})).DELIVERED="delivered",r.READ="read";var N=function(e){var t=e.channel,n=e.lastMessage,r=(0,p.mx)().client,o=(0,a.useState)(),s=o[0],l=o[1],u=(0,a.useCallback)(function(e){var t;return r.user&&(null===(t=null==e?void 0:e.user)||void 0===t?void 0:t.id)===r.user.id},[r]);return(0,a.useEffect)(function(){var e=u(n);if((null==n?void 0:n.created_at)&&e){var o="string"==typeof n.created_at?new Date(n.created_at):n.created_at;l(Object.values(t.state.read).some(function(e){var t=e.last_read,n=e.user;return r.user&&n.id!==r.user.id&&o0}),"data-testid":"channel-search"},"2"===x?a.createElement(void 0===d?G:d,{activateSearch:E,AppMenu:t,ClearInputIcon:n,clearState:C,disabled:_.disabled,exitSearch:k,ExitSearchIcon:r,inputIsFocused:S,inputRef:T,MenuIcon:i,onSearch:M,placeholder:l,query:O,searchBarRef:R,SearchInput:m,SearchInputIcon:v}):a.createElement(m,{clearState:C,disabled:_.disabled,inputRef:T,onSearch:M,placeholder:l,query:O}),O&&a.createElement(et,{popupResults:c,results:P,SearchEmpty:f,searching:j,SearchLoading:g,SearchResultItem:y,SearchResultsHeader:w,SearchResultsList:b,selectResult:L}))}),er=n(64026),ei=n(57167),eo=n(4118),ea=a.memo(function(e){var t=e.children,n=e.isLoading,r=e.onClick,i=e.refreshing,o=(0,l.Ht)("UnMemoizedLoadMoreButton").t,s=null!=t?t:o("Load more"),u=void 0!==n?n:i;return(0,a.useEffect)(function(){(0,eo.b)([[{refreshing:i},{isLoading:n}]],"LoadMoreButton")},[]),a.createElement("div",{className:"str-chat__load-more-button"},a.createElement("button",{"aria-label":"Load More Channels",className:"str-chat__load-more-button__button str-chat__cta-button","data-testid":"load-more-button",disabled:u,onClick:r},u?a.createElement(ei.T,null):s))}),es=a.memo(function(e){var t=e.children,n=e.hasNextPage,r=e.isLoading,i=e.LoadMoreButton,o=e.loadNextPage,s=e.refreshing,l=e.reverse,u=void 0!==r?r:s;return(0,a.useEffect)(function(){(0,eo.b)([[{refreshing:s},{isLoading:r}]],"LoadMorePaginator")},[]),a.createElement(a.Fragment,null,!l&&t,n&&a.createElement(void 0===i?ea:i,{isLoading:u,onClick:o}),l&&t)}),el=(0,a.createContext)(void 0),eu=function(e){var t=e.children,n=e.value;return a.createElement(el.Provider,{value:n},t)},ec={},ed={},ef={},eh=a.memo(function(e){var t,n,r=e.additionalChannelSearchProps,i=e.Avatar,l=void 0===i?R.q:i,u=e.allowNewMessagesFromUnfilteredChannels,d=e.channelRenderFilterFn,b=e.ChannelSearch,w=e.customActiveChannel,_=e.EmptyStateIndicator,j=void 0===_?er.D:_,L=e.filters,F=e.LoadingErrorIndicator,A=e.LoadingIndicator,N=e.List,B=e.lockChannelOrder,U=e.onAddedToChannel,z=e.onChannelDeleted,H=e.onChannelHidden,V=e.onChannelTruncated,q=e.onChannelUpdated,W=e.onChannelVisible,$=e.onMessageNew,Y=e.onRemovedFromChannel,Z=e.options,G=e.Paginator,J=e.Preview,K=e.recoveryThrottleIntervalMs,X=e.renderChannels,Q=e.sendChannelsToList,ee=e.setActiveChannelOnMount,et=void 0===ee||ee,ei=e.showChannelSearch,eo=e.sort,ea=e.watchers,el=void 0===ea?{}:ea,eh=(0,p.mx)("ChannelList"),ep=eh.channel,em=eh.channelsQueryState,eg=eh.client,ev=eh.closeMobileNav,ey=eh.customClasses,eb=eh.navOpen,ew=void 0!==eb&&eb,e_=eh.setActiveChannel,ex=eh.theme,eD=eh.useImageFlagEmojisOnWindows,eE=(0,a.useRef)(null),eC=(0,a.useState)(0),ek=eC[0],eS=eC[1],eT=(0,a.useState)(!1),eM=eT[0],eO=eT[1],eP=function(){return eS(function(e){return e+1})},eR=(0,a.useCallback)(function(e){var t;e.target.value?eO(!0):eO(!1),null===(t=null==r?void 0:r.onSearch)||void 0===t||t.call(r,e)},[]),ej=(0,a.useCallback)(function(){var e;eO(!1),null===(e=null==r?void 0:r.onSearchExit)||void 0===e||e.call(r)},[]),eL=O(eg,L||ec,(void 0===eo?ef:eo)||ef,Z||ed,function(e,t){return(0,o.mG)(void 0,void 0,void 0,function(){var n;return(0,o.Jh)(this,function(r){switch(r.label){case 0:if(!e.length||e.length>((null==Z?void 0:Z.limit)||30))return[2];if(!w)return[3,3];if(n=e.find(function(e){return e.id===w}))return[3,2];return[4,eg.queryChannels({id:w})];case 1:n=r.sent()[0],r.label=2;case 2:return n&&(e_(n,el),t(E({activeChannel:n,channels:e,cid:n.cid}))),[2];case 3:return et&&e_(e[0],el),[2]}})})},K),eF=eL.channels,eA=eL.hasNextPage,eN=eL.loadNextPage,eI=eL.setChannels,eB=d?d(eF):eF;k(eE,ew,ev),C(eI,B,u),T(eI,$,u),S(eI,U,u),M(eI,Y),m(eI,z),g(eI,H),x(eI,W),v(eI,V,eP),y(eI,q,eP),D(eP),P(eI),(0,a.useEffect)(function(){var e=function(e){e.cid===(null==ep?void 0:ep.cid)&&e_()};return eg.on("channel.deleted",e),eg.on("channel.hidden",e),function(){eg.off("channel.deleted",e),eg.off("channel.hidden",e)}},[null==ep?void 0:ep.cid]);var eU=function(e){var t={activeChannel:ep,Avatar:l,channel:e,channelUpdateCount:ek,key:e.id,Preview:J,setActiveChannel:e_,watchers:el};return a.createElement(I,(0,o.pi)({},t))},ez=(0,s.Z)(null!==(t=null==ey?void 0:ey.chat)&&void 0!==t?t:"str-chat",ex,null!==(n=null==ey?void 0:ey.channelList)&&void 0!==n?n:"str-chat-channel-list str-chat__channel-list str-chat__channel-list-react",{"str-chat--windows-flags":eD&&navigator.userAgent.match(/Win/),"str-chat-channel-list--open":ew}),eH=!eM||(null==r?void 0:r.popupResults);return a.createElement(eu,{value:{channels:eF,setChannels:eI}},a.createElement("div",{className:ez,ref:eE},void 0!==ei&&ei&&a.createElement(void 0===b?en:b,(0,o.pi)({onSearch:eR,onSearchExit:ej,setChannels:eI},r)),eH&&a.createElement(void 0===N?h:N,{error:em.error,loadedChannels:void 0!==Q&&Q?eB:void 0,loading:!!em.queryInProgress&&["reload","uninitialized"].includes(em.queryInProgress),LoadingErrorIndicator:void 0===F?c:F,LoadingIndicator:void 0===A?f:A,setChannels:eI},(null==eB?void 0:eB.length)?a.createElement(void 0===G?es:G,{hasNextPage:eA,isLoading:"load-more"===em.queryInProgress,loadNextPage:eN},X?X(eB,eU):eB.map(function(e){return eU(e)})):a.createElement(j,{listType:"channel"}))))})},5734:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(2265),i=n(44698),o=n(40311),a=function(e){var t=e.channel,n=e.overrideImage,a=e.overrideTitle,s=(0,o.mx)("ChannelPreview").client,l=(0,r.useState)((0,i.D1)(t,s.user)),u=l[0],c=l[1],d=(0,r.useState)((0,i.LC)(t,s.user)),f=d[0],h=d[1];return(0,r.useEffect)(function(){var e=function(){c(function(e){var n=(0,i.D1)(t,s.user);return e!==n?n:e}),h(function(e){var n=(0,i.LC)(t,s.user);return e!==n?n:e})};return s.on("user.updated",e),function(){s.off("user.updated",e)}},[]),{displayImage:n||f,displayTitle:a||u}}},44698:function(e,t,n){"use strict";n.d(t,{D1:function(){return a},LC:function(){return s},x4:function(){return o}});var r=n(2265),i=n(22577),o=function(e,t,n){void 0===n&&(n="en");var o,a,s=e.state.messages[e.state.messages.length-1],l=(null===(o=null==s?void 0:s.i18n)||void 0===o?void 0:o["".concat(n,"_text")])||(null==s?void 0:s.text);return s?s.deleted_at?t("Message deleted"):l?r.createElement(i.D,{skipHtml:!0},l):s.command?"/".concat(s.command):t((null===(a=s.attachments)||void 0===a?void 0:a.length)?"\uD83C\uDFD9 Attachment...":"Empty message..."):t("Nothing yet...")},a=function(e,t){var n,r,i=null===(n=e.data)||void 0===n?void 0:n.name,o=Object.values(e.state.members);if(!i&&2===o.length){var a=o.find(function(e){var n;return(null===(n=e.user)||void 0===n?void 0:n.id)!==(null==t?void 0:t.id)});(null===(r=null==a?void 0:a.user)||void 0===r?void 0:r.name)&&(i=a.user.name)}return i},s=function(e,t){var n,r,i=null===(n=e.data)||void 0===n?void 0:n.image,o=Object.values(e.state.members);if(!i&&2===o.length){var a=o.find(function(e){var n;return(null===(n=e.user)||void 0===n?void 0:n.id)!==(null==t?void 0:t.id)});(null===(r=null==a?void 0:a.user)||void 0===r?void 0:r.image)&&(i=a.user.image)}return i}},89921:function(e,t,n){"use strict";n.d(t,{e:function(){return h}});var r=n(2265),i=n(11735),o=n(33600),a=n(21630),s=function(e){var t,n,s=e.client,l=e.defaultLanguage,u=void 0===l?"en":l,c=e.i18nInstance,d=e.initialNavOpen,f=(0,r.useState)({t:function(e){return e},tDateTimeParser:o.u9,userLanguage:"en"}),h=f[0],p=f[1],m=(0,r.useState)(),g=m[0],v=m[1],y=(0,r.useState)([]),b=y[0],w=y[1],_=(0,r.useState)(d),x=_[0],D=_[1],E=(0,r.useState)({}),C=E[0],k=E[1],S=(null===(t=s.user)||void 0===t?void 0:t.mutes)||[],T=function(){return D(!1)},M=(0,r.useRef)(null);(0,r.useEffect)(function(){if(s){var e=s.getUserAgent();e.includes("stream-chat-react")||s.setUserAgent("stream-chat-react-".concat("10.22.3","-").concat(e))}},[s]),(0,r.useEffect)(function(){w(S);var e=function(e){var t;w((null===(t=e.me)||void 0===t?void 0:t.mutes)||[])};return s.on("notification.mutes_updated",e),function(){return s.off("notification.mutes_updated",e)}},[null==S?void 0:S.length]),(0,r.useEffect)(function(){var e,t=null===(e=s.user)||void 0===e?void 0:e.language;if(!t){var n=window.navigator.language.slice(0,2);t=(0,o.Eb)(n)?n:u}var r=c||new a.V({language:t});r.registerSetLanguageCallback(function(e){return p(function(t){return(0,i.pi)((0,i.pi)({},t),{t:e})})}),r.getTranslators().then(function(e){p((0,i.pi)((0,i.pi)({},e),{userLanguage:t||u}))})},[c]);var O=(0,r.useCallback)(function(e,t,n){return void 0===t&&(t={}),(0,i.mG)(void 0,void 0,void 0,function(){return(0,i.Jh)(this,function(r){switch(r.label){case 0:if(n&&n.preventDefault&&n.preventDefault(),!(e&&Object.keys(t).length))return[3,2];return[4,e.query({watch:!0,watchers:t})];case 1:r.sent(),r.label=2;case 2:return v(e),T(),[2]}})})},[]);return(0,r.useEffect)(function(){k({})},[null===(n=s.user)||void 0===n?void 0:n.id]),{channel:g,closeMobileNav:T,getAppSettings:function(){return M.current||(M.current=s.getAppSettings()),M.current},latestMessageDatesByChannels:C,mutes:b,navOpen:x,openMobileNav:function(){return setTimeout(function(){return D(!0)},100)},setActiveChannel:O,translators:h}},l=function(e){var t,n=e.channel,i=e.channelsQueryState,o=e.client,a=e.closeMobileNav,s=e.customClasses,l=e.getAppSettings,u=e.latestMessageDatesByChannels,c=e.mutes,d=e.navOpen,f=e.openMobileNav,h=e.setActiveChannel,p=e.theme,m=e.themeVersion,g=e.useImageFlagEmojisOnWindows,v=null==n?void 0:n.cid,y=i.error,b=i.queryInProgress,w="".concat(o.clientID).concat(Object.keys(o.activeChannels).length).concat(Object.keys(o.listeners).length).concat(o.mutedChannels.length,"\n ").concat(null===(t=o.user)||void 0===t?void 0:t.id),_=c.length;return(0,r.useMemo)(function(){return{channel:n,channelsQueryState:i,client:o,closeMobileNav:a,customClasses:s,getAppSettings:l,latestMessageDatesByChannels:u,mutes:c,navOpen:d,openMobileNav:f,setActiveChannel:h,theme:p,themeVersion:m,useImageFlagEmojisOnWindows:g}},[v,y,b,w,l,_,d])},u=function(){var e=(0,r.useState)(null),t=e[0],n=e[1],i=(0,r.useState)("uninitialized");return{error:t,queryInProgress:i[0],setError:n,setQueryInProgress:i[1]}},c={"--bg-gradient-end":"#101214","--bg-gradient-start":"#070a0d","--black":"#ffffff","--blue-alice":"#00193d","--border":"#141924","--button-background":"#ffffff","--button-text":"#005fff","--grey":"#7a7a7a","--grey-gainsboro":"#2d2f2f","--grey-whisper":"#1c1e22","--modal-shadow":"#000000","--overlay":"#00000066","--overlay-dark":"#ffffffcc","--shadow-icon":"#00000080","--targetedMessageBackground":"#302d22","--transparent":"transparent","--white":"#101418","--white-smoke":"#13151b","--white-snow":"#070a0d"},d=function(e){if(e)for(var t=0,n=Object.entries(e);t1?a[s]--:delete a[s];var u=e?(0,r.ev)([t],(null==n?void 0:n.latest_reactions)||[],!0):null===(i=n.latest_reactions)||void 0===i?void 0:i.filter(function(e){return!(e.type===t.type&&e.user_id===t.user_id)}),c=e?(0,r.ev)([t],(null==n?void 0:n.own_reactions)||[],!0):null===(o=null==n?void 0:n.own_reactions)||void 0===o?void 0:o.filter(function(e){return e.type!==t.type});return(0,r.pi)((0,r.pi)({},n),{latest_reactions:u||n.latest_reactions,own_reactions:c,reaction_counts:a,reaction_scores:a})},[u.user,u.userID]),h=function(t){var n;return{message_id:null==e?void 0:e.id,score:1,type:t,user:u.user,user_id:null===(n=u.user)||void 0===n?void 0:n.id}},p=c()(function(n,i,a){return(0,r.mG)(void 0,void 0,void 0,function(){var s,u;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!e||!l["send-reaction"])return[2];s=f(a,h(i),e),r.label=1;case 1:if(r.trys.push([1,6,,7]),t(s),!a)return[3,3];return[4,o.sendReaction(n,{type:i})];case 2:return u=r.sent(),[3,5];case 3:return[4,o.deleteReaction(n,i)];case 4:u=r.sent(),r.label=5;case 5:return t(u.message),[3,7];case 6:return r.sent(),t(e),[3,7];case 7:return[2]}})})},1e3);return function(t,n){return(0,r.mG)(void 0,void 0,void 0,function(){var i;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if((null==n?void 0:n.preventDefault)&&n.preventDefault(),!e)return[2,console.warn("Reaction handler was called, but it is missing one of its required arguments.\nMake sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message.")];i=null,e.own_reactions&&e.own_reactions.forEach(function(e){e.user&&u.userID===e.user.id&&e.type===t?i=e:e.user&&u.userID!==e.user.id&&console.warn("message.own_reactions contained reactions from a different user, this indicates a bug")}),r.label=1;case 1:if(r.trys.push([1,6,,7]),!i)return[3,3];return[4,p(e.id,i.type,!1)];case 2:return r.sent(),[3,5];case 3:return[4,p(e.id,t,!0)];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return console.log({error:r.sent()}),[3,7];case 7:return[2]}})})}},h=function(e,t,n,r){var o=(0,s.JN)("useReactionClick").channelCapabilities,a=(0,i.useState)(!1),l=a[0],u=a[1],c=(0,i.useRef)(!1),d=(void 0===o?{}:o)["send-reaction"],f=!!(null==e?void 0:e.deleted_at),h=(0,i.useCallback)(function(e){var n;(!(e.target instanceof HTMLElement&&(null===(n=null==t?void 0:t.current)||void 0===n?void 0:n.contains(e.target)))||r)&&u(!1)},[u,t]);return(0,i.useEffect)(function(){var e=null==n?void 0:n.current;return l&&!c.current&&(c.current=!0,document.addEventListener("click",h),e&&e.addEventListener("mouseleave",h)),!l&&c.current&&(document.removeEventListener("click",h),e&&e.removeEventListener("mouseleave",h),c.current=!1),function(){c.current&&(document.removeEventListener("click",h),e&&e.removeEventListener("mouseleave",h),c.current=!1)}},[l,h,n]),(0,i.useEffect)(function(){var e=null==n?void 0:n.current;f&&c.current&&(document.removeEventListener("click",h),e&&e.removeEventListener("mouseleave",h),c.current=!1)},[f,h,n]),{isReactionEnabled:d,onReactionListClick:function(e){var t;null===(t=null==e?void 0:e.stopPropagation)||void 0===t||t.call(e),u(function(e){return!e})},showDetailedReactions:l}},p=function(e){var t=(0,a.uz)("useRetryHandler").retrySendMessage,n=e||t;return function(e){return(0,r.mG)(void 0,void 0,void 0,function(){return(0,r.Jh)(this,function(t){switch(t.label){case 0:if(!e)return[3,2];return[4,n(e)];case 1:t.sent(),t.label=2;case 2:return[2]}})})}},m=n(74867),g=n(55369),v=n(33600),y=function(e,t){void 0===t&&(t={});var n=t.getErrorNotification,i=t.notify,o=(0,a.uz)("useDeleteHandler"),s=o.deleteMessage,l=o.updateMessage,u=(0,d.mx)("useDeleteHandler").client,c=(0,v.Ht)("useDeleteHandler").t;return function(t){return(0,r.mG)(void 0,void 0,void 0,function(){var o;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(t.preventDefault(),!(null==e?void 0:e.id)||!u||!l)return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,s(e)];case 2:return l(r.sent()),[3,4];case 3:return r.sent(),o=n&&(0,g.nU)(n,[e]),i&&i(o||c("Error deleting message"),"error"),[3,4];case 4:return[2]}})})}},b=function(e,t){void 0===t&&(t={});var n=(0,d.mx)("useFlagHandler").client,i=(0,v.Ht)("useFlagHandler").t;return function(o){return(0,r.mG)(void 0,void 0,void 0,function(){var a,s,l,u,c,d;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(o.preventDefault(),a=t.getErrorNotification,s=t.getSuccessNotification,l=t.notify,!n||!i||!l||!(null==e?void 0:e.id))return console.warn("useFlagHandler was called but it is missing one or more necessary parameters."),[2];if(null===(d=n.user)||void 0===d?void 0:d.banned)return[2,l(i("Error adding flag"),"error")];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,n.flagMessage(e.id)];case 2:return r.sent(),u=s&&(0,g.nU)(s,[e]),l(u||i("Message has been successfully flagged"),"success"),[3,4];case 3:return r.sent(),c=a&&(0,g.nU)(a,[e]),l(c||i("Error adding flag"),"error"),[3,4];case 4:return[2]}})})}},w=function(e,t){void 0===t&&(t={});var n=(0,s.JN)("useMuteHandler").mutes,i=(0,d.mx)("useMuteHandler").client,o=(0,v.Ht)("useMuteHandler").t;return function(a){return(0,r.mG)(void 0,void 0,void 0,function(){var s,l,u,c,d,f;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(a.preventDefault(),s=t.getErrorNotification,l=t.getSuccessNotification,u=t.notify,!o||!(null==e?void 0:e.user)||!u||!i)return console.warn("useMuteHandler was called but it is missing one or more necessary parameter."),[2];if((0,g.B9)(e,n))return[3,5];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,i.muteUser(e.user.id)];case 2:return r.sent(),c=l&&(0,g.nU)(l,[e.user]),u(c||o("{{ user }} has been muted",{user:e.user.name||e.user.id}),"success"),[3,4];case 3:return r.sent(),d=s&&(0,g.nU)(s,[e.user]),u(d||o("Error muting a user ..."),"error"),[3,4];case 4:return[3,8];case 5:return r.trys.push([5,7,,8]),[4,i.unmuteUser(e.user.id)];case 6:return r.sent(),f=o("{{ user }} has been unmuted",{user:e.user.name||e.user.id}),"string"==typeof(c=l&&(0,g.nU)(l,[e.user])||f)&&u(c,"success"),[3,8];case 7:return r.sent(),"string"==typeof(d=s&&(0,g.nU)(s,[e.user])||o("Error unmuting a user ..."))&&u(d,"error"),[3,8];case 8:return[2]}})})}};function _(e,t){return function(n){var r;"function"==typeof e&&(null===(r=null==t?void 0:t.mentioned_users)||void 0===r?void 0:r.length)&&e(n,t.mentioned_users)}}var x=function(e,t){var n=(0,a.uz)("useMentionsHandler"),r=n.onMentionsClick,i=n.onMentionsHover,o=(null==t?void 0:t.onMentionsClick)||r||function(){return null},s=(null==t?void 0:t.onMentionsHover)||i||function(){return null};return{onMentionsClick:_(o,e),onMentionsHover:_(s,e)}},D=function(e,t,n){void 0===t&&(t=g.Z1),void 0===n&&(n={});var i=n.getErrorNotification,o=n.notify,l=(0,a.uz)("usePinHandler").updateMessage,u=(0,s.JN)("usePinHandler").channelCapabilities,c=(0,d.mx)("usePinHandler").client,f=(0,v.Ht)("usePinHandler").t;return{canPin:!!(void 0===u?{}:u)["pin-message"],handlePin:function(t){return(0,r.mG)(void 0,void 0,void 0,function(){var n;return(0,r.Jh)(this,function(a){switch(a.label){case 0:if(t.preventDefault(),!e)return[2];if(e.pinned)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),l((0,r.pi)((0,r.pi)({},e),{pinned:!0,pinned_at:new Date,pinned_by:c.user})),[4,c.pinMessage(e)];case 2:return a.sent(),[3,4];case 3:return a.sent(),n=i&&(0,g.nU)(i,[e]),o&&o(n||f("Error pinning message"),"error"),l(e),[3,4];case 4:return[3,8];case 5:return a.trys.push([5,7,,8]),l((0,r.pi)((0,r.pi)({},e),{pin_expires:null,pinned:!1,pinned_at:null,pinned_by:null})),[4,c.unpinMessage(e)];case 6:return a.sent(),[3,8];case 7:return a.sent(),n=i&&(0,g.nU)(i,[e]),o&&o(n||f("Error removing message pin"),"error"),l(e),[3,8];case 8:return[2]}})})}}},E=n(97959),C=n(13171),k=i.memo(function(e){var t,n=e.canPin,a=e.groupedByUser,s=e.Message,l=e.message,u=e.messageActions,c=void 0===u?Object.keys(g.Xh):u,d=e.onUserClick,f=e.onUserHover,h=e.userRoles,p=(0,E.yM)("Message").Message,m="regular"===l.type&&"received"===l.status,v=o(),y=v.clearEdit,b=v.editing,w=v.setEdit,_=(t={onUserClickHandler:d,onUserHoverHandler:f},{onUserClick:function(e){"function"==typeof(null==t?void 0:t.onUserClickHandler)&&(null==l?void 0:l.user)&&t.onUserClickHandler(e,l.user)},onUserHover:function(e){"function"==typeof(null==t?void 0:t.onUserHoverHandler)&&(null==l?void 0:l.user)&&t.onUserHoverHandler(e,l.user)}}),x=_.onUserClick,D=_.onUserHover,k=h.canDelete,S=h.canEdit,T=h.canFlag,M=h.canMute,O=h.canQuote,P=h.canReact,R=h.canReply,j=h.isMyMessage,L=(0,i.useCallback)(function(){return(0,g.oT)(c,{canDelete:k,canEdit:S,canFlag:T,canMute:M,canPin:n,canQuote:O,canReact:P,canReply:R})},[c,k,S,T,M,n,O,P,R]);e.canPin,e.messageActions,e.onlySenderCanEdit,e.onUserClick,e.onUserHover,e.userRoles;var F=(0,r._T)(e,["canPin","messageActions","onlySenderCanEdit","onUserClick","onUserHover","userRoles"]),A=(0,r.pi)((0,r.pi)({},F),{actionsEnabled:m,clearEditingState:y,editing:b,getMessageActions:L,handleEdit:w,isMyMessage:function(){return j},onUserClick:x,onUserHover:D,setEditingState:w});return i.createElement(C.x1,{value:A},i.createElement(s||p,{groupedByUser:a}))},g.s4),S=function(e){var t=e.closeReactionSelectorOnClick,n=e.disableQuotedMessages,o=e.getDeleteMessageErrorNotification,u=e.getFlagMessageErrorNotification,c=e.getFlagMessageSuccessNotification,d=e.getMuteUserErrorNotification,g=e.getMuteUserSuccessNotification,v=e.getPinMessageErrorNotification,_=e.message,E=e.onlySenderCanEdit,C=e.onMentionsClick,S=e.onMentionsHover,T=e.openThread,M=e.pinPermissions,O=e.retrySendMessage,P=(0,a.uz)("Message").addNotification,R=(0,s.JN)("Message"),j=R.highlightedMessageId,L=R.mutes,F=(0,i.useRef)(null),A=function(e){var t=this,n=(0,a.uz)("useActionHandler"),i=n.removeMessage,o=n.updateMessage,l=(0,s.JN)("useActionHandler").channel;return function(n,a,s){return(0,r.mG)(t,void 0,void 0,function(){var t,u,c;return(0,r.Jh)(this,function(d){switch(d.label){case 0:if(s&&s.preventDefault(),!e||!o||!i||!l)return console.warn("Action handler was called, but it is missing one of its required arguments. \nMake sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message."),[2];if(t=e.id,u={},"string"==typeof n?u[n]=a:u=(0,r.pi)({},n),!t)return[3,2];return[4,l.sendAction(t,u)];case 1:(null==(c=d.sent())?void 0:c.message)?o(c.message):i(e),d.label=2;case 2:return[2]}})})}}(_),N=l(_,T),I=f(_),B=p(O),U=(0,m.j)(_,void 0!==E&&E,n),z=y(_,{getErrorNotification:o,notify:P}),H=b(_,{getErrorNotification:u,getSuccessNotification:c,notify:P}),V=w(_,{getErrorNotification:d,getSuccessNotification:g,notify:P}),q=x(_,{onMentionsClick:C,onMentionsHover:S}),W=q.onMentionsClick,$=q.onMentionsHover,Y=D(_,M,{getErrorNotification:v,notify:P}),Z=Y.canPin,G=Y.handlePin,J=h(_,F,void 0,t),K=J.isReactionEnabled,X=J.onReactionListClick,Q=J.showDetailedReactions,ee=j===_.id;return i.createElement(k,{additionalMessageInputProps:e.additionalMessageInputProps,autoscrollToBottom:e.autoscrollToBottom,canPin:Z,customMessageActions:e.customMessageActions,disableQuotedMessages:e.disableQuotedMessages,endOfGroup:e.endOfGroup,firstOfGroup:e.firstOfGroup,formatDate:e.formatDate,groupedByUser:e.groupedByUser,groupStyles:e.groupStyles,handleAction:A,handleDelete:z,handleFlag:H,handleMute:V,handleOpenThread:N,handlePin:G,handleReaction:I,handleRetry:B,highlighted:ee,initialMessage:e.initialMessage,isReactionEnabled:K,lastReceivedId:e.lastReceivedId,message:_,Message:e.Message,messageActions:e.messageActions,messageListRect:e.messageListRect,mutes:L,onMentionsClickMessage:W,onMentionsHoverMessage:$,onReactionListClick:X,onUserClick:e.onUserClick,onUserHover:e.onUserHover,pinPermissions:e.pinPermissions,reactionSelectorRef:F,readBy:e.readBy,renderText:e.renderText,showDetailedReactions:Q,threadList:e.threadList,unsafeHTML:e.unsafeHTML,userRoles:U})}},70907:function(e,t,n){"use strict";n.d(t,{u:function(){return t1}});var r=n(11735),i=n(2265),o=n(44839),a=function(e){var t=e.className;return i.createElement("svg",{className:void 0===t?"":t,height:"4",viewBox:"0 0 11 4",width:"11",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M1.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z",fillRule:"nonzero"}))},s=function(){return i.createElement("svg",{"data-testid":"reply-icon",height:"15",width:"18",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M.56 10.946H.06l-.002-.498L.025.92a.5.5 0 1 1 1-.004l.032 9.029H9.06v-4l9 4.5-9 4.5v-4H.56z",fillRule:"nonzero"}))},l=function(){return i.createElement("svg",{height:"16",width:"16",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm3.72 6.633a.955.955 0 1 0-1.352-1.352L6.986 8.663 5.633 7.31A.956.956 0 1 0 4.28 8.663l2.029 2.028a.956.956 0 0 0 1.353 0l4.058-4.058z",fill:"#006CFF",fillRule:"evenodd"}))},u=function(e){var t=e.className;return i.createElement("svg",{className:void 0===t?"":t,height:"12",viewBox:"0 0 12 12",width:"12",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},i.createElement("path",{d:"M6 1.2C3.3 1.2 1.2 3.3 1.2 6c0 2.7 2.1 4.8 4.8 4.8 2.7 0 4.8-2.1 4.8-4.8 0-2.7-2.1-4.8-4.8-4.8zM0 6c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6-6-2.7-6-6z"}),i.createElement("path",{d:"M5.4 4.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zM8.4 4.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zM3.3 6.7c.3-.2.6-.1.8.1.3.4.8.9 1.5 1 .6.2 1.4.1 2.4-1 .2-.2.6-.3.8 0 .2.2.3.6 0 .8-1.1 1.3-2.4 1.7-3.5 1.5-1-.2-1.8-.9-2.2-1.5-.2-.3-.1-.7.2-.9z"})))},c=function(e){var t=e.className;return i.createElement("svg",{className:void 0===t?"":t,height:"10",width:"14",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M8.516 3c4.78 0 4.972 6.5 4.972 6.5-1.6-2.906-2.847-3.184-4.972-3.184v2.872L3.772 4.994 8.516.5V3zM.484 5l4.5-4.237v1.78L2.416 5l2.568 2.125v1.828L.484 5z",fillRule:"evenodd"}))},d=function(){return i.createElement("svg",{"data-testid":"delivered-icon",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{clipRule:"evenodd",d:"M8.9999 16.2L4.7999 12L3.3999 13.4L8.9999 19L20.9999 6.99998L19.5999 5.59998L8.9999 16.2Z",fill:"black",fillRule:"evenodd"}))},f=function(){return i.createElement("div",{className:"str-chat__message-error-icon"},i.createElement("svg",{"data-testid":"error",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z",fill:"black",id:"background"}),i.createElement("path",{d:"M13 17H11V15H13V17ZM13 13H11V7H13V13Z",fill:"white"})))},h=n(74867),p=n(33600),m=function(e){var t=e.message,n=(0,p.Ht)("MessageDeleted").t,r=(0,h.j)(t).isMyMessage;return i.createElement("div",{className:"".concat(r?"str-chat__message str-chat__message--me str-chat__message-simple str-chat__message-simple--me":"str-chat__message str-chat__message-simple str-chat__message--other"," str-chat__message--deleted ").concat(t.type," "),"data-testid":"message-deleted-component",key:t.id},i.createElement("div",{className:"str-chat__message--deleted-inner"},n("This message was deleted...")))},g=n(55369),v=n(92765),y=n(13171),b=function(e){var t=e.customMessageActions,n=e.message,r=Object.keys(t);return i.createElement(i.Fragment,null,r.map(function(e){var r=t[e];return i.createElement("button",{"aria-selected":"false",className:"str-chat__message-actions-list-item str-chat__message-actions-list-item-button",key:e,onClick:function(e){return r(n,e)},role:"option"},e)}))},w=i.memo(function(e){var t=e.getMessageActions,n=e.handleDelete,r=e.handleEdit,a=e.handleFlag,s=e.handleMute,l=e.handlePin,u=e.isUserMuted,c=e.mine,d=e.open,f=void 0!==d&&d,h=(0,v.uz)("MessageActionsBox").setQuotedMessage,m=(0,y.fr)("MessageActionsBox"),w=m.customMessageActions,_=m.message,x=m.messageListRect,D=(0,p.Ht)("MessageActionsBox").t,E=(0,i.useState)(!1),C=E[0],k=E[1],S=t(),T=(0,i.useCallback)(function(e){if(!e){k(!1);return}if(f){var t=e.getBoundingClientRect();c?k(!!x&&t.leftx.right)}},[x,c,f]),M=(0,o.Z)("str-chat__message-actions-box",{"str-chat__message-actions-box--mine":c,"str-chat__message-actions-box--open":f,"str-chat__message-actions-box--reverse":C}),O="str-chat__message-actions-list-item str-chat__message-actions-list-item-button";return i.createElement("div",{className:M,"data-testid":"message-actions-box",ref:T},i.createElement("div",{"aria-label":"Message Options",className:"str-chat__message-actions-list",role:"listbox"},w&&i.createElement(b,{customMessageActions:w,message:_}),S.indexOf(g.Xh.quote)>-1&&i.createElement("button",{"aria-selected":"false",className:O,onClick:function(){h(_);var e=(_.parent_id?document.querySelectorAll(".str-chat__thread .str-chat__textarea__textarea"):document.getElementsByClassName("str-chat__textarea__textarea")).item(0);e instanceof HTMLTextAreaElement&&e.focus()},role:"option"},D("Reply")),S.indexOf(g.Xh.pin)>-1&&!_.parent_id&&i.createElement("button",{"aria-selected":"false",className:O,onClick:l,role:"option"},D(_.pinned?"Unpin":"Pin")),S.indexOf(g.Xh.flag)>-1&&i.createElement("button",{"aria-selected":"false",className:O,onClick:a,role:"option"},D("Flag")),S.indexOf(g.Xh.mute)>-1&&i.createElement("button",{"aria-selected":"false",className:O,onClick:s,role:"option"},D(u()?"Unmute":"Mute")),S.indexOf(g.Xh.edit)>-1&&i.createElement("button",{"aria-selected":"false",className:O,onClick:r,role:"option"},D("Edit Message")),S.indexOf(g.Xh.delete)>-1&&i.createElement("button",{"aria-selected":"false",className:O,onClick:n,role:"option"},D("Delete"))))}),_=n(40311),x=function(e){var t=e.ActionsIcon,n=e.customWrapperClass,r=e.getMessageActions,o=e.handleDelete,s=e.handleFlag,l=e.handleMute,u=e.handlePin,c=e.inline,d=e.message,f=e.messageWrapperRef,h=e.mine,p=(0,_.mx)("MessageActions").mutes,m=(0,y.fr)("MessageActions"),v=m.customMessageActions,b=m.getMessageActions,x=m.handleDelete,E=m.handleFlag,C=m.handleMute,k=m.handlePin,S=m.isMyMessage,T=m.message,M=m.setEditingState,O=r||b,P=d||T,R=(0,i.useState)(!1),j=R[0],L=R[1],F=(0,i.useCallback)(function(){return(0,g.B9)(P,p)},[P,p]),A=(0,i.useCallback)(function(e){e instanceof KeyboardEvent&&"Escape"!==e.key||L(!1)},[]),N=O(),I=!!(null==P?void 0:P.deleted_at);return((0,i.useEffect)(function(){(null==f?void 0:f.current)&&f.current.addEventListener("mouseleave",A)},[A,f]),(0,i.useEffect)(function(){I&&document.removeEventListener("click",A)},[A,I]),(0,i.useEffect)(function(){if(j)return document.addEventListener("click",A),document.addEventListener("keyup",A),function(){document.removeEventListener("click",A),document.removeEventListener("keyup",A)}},[j,A]),N.length||v)?i.createElement(D,{customWrapperClass:void 0===n?"":n,inline:c,setActionsBoxOpen:L},i.createElement(w,{getMessageActions:O,handleDelete:o||x,handleEdit:M,handleFlag:s||E,handleMute:l||C,handlePin:u||k,isUserMuted:F,mine:h?h():S(),open:j}),i.createElement("button",{"aria-expanded":j,"aria-haspopup":"true","aria-label":"Open Message Actions Menu",className:"str-chat__message-actions-box-button"},i.createElement(void 0===t?a:t,{className:"str-chat__message-action-icon"}))):null},D=function(e){var t=e.children,n=e.customWrapperClass,o=e.inline,a=e.setActionsBoxOpen,s={className:n||"\n str-chat__message-simple__actions__action\n str-chat__message-simple__actions__action--options\n str-chat__message-actions-container","data-testid":"message-actions",onClick:function(e){e.stopPropagation(),a(function(e){return!e})}};return o?i.createElement("span",(0,r.pi)({},s),t):i.createElement("div",(0,r.pi)({},s),t)},E=i.memo(function(e){var t=e.ActionsIcon,n=e.displayReplies,r=e.handleOpenThread,o=e.messageWrapperRef,s=e.ReactionIcon,l=e.theme,d=void 0===l?"simple":l,f=e.ThreadIcon,h=(0,y.fr)("MessageOptions"),p=h.customMessageActions,m=h.getMessageActions,v=h.handleOpenThread,b=h.initialMessage,w=h.message,_=h.onReactionListClick,D=h.threadList,E=m(),C=(0,g.Dl)(E,D)||!!p,k=E.indexOf(g.Xh.react)>-1,S=E.indexOf(g.Xh.reply)>-1&&(void 0===n||n)&&!D;if(!w.type||"error"===w.type||"system"===w.type||"ephemeral"===w.type||"failed"===w.status||"sending"===w.status||b)return null;var T="str-chat__message-".concat(d,"__actions str-chat__message-options");return i.createElement("div",{className:T,"data-testid":"message-options"},C&&i.createElement(x,{ActionsIcon:void 0===t?a:t,messageWrapperRef:o}),S&&i.createElement("button",{"aria-label":"Open Thread",className:"str-chat__message-".concat(d,"__actions__action str-chat__message-").concat(d,"__actions__action--thread str-chat__message-reply-in-thread-button"),"data-testid":"thread-action",onClick:r||v},i.createElement(void 0===f?c:f,{className:"str-chat__message-action-icon"})),k&&i.createElement("button",{"aria-label":"Open Reaction Selector",className:"str-chat__message-".concat(d,"__actions__action str-chat__message-").concat(d,"__actions__action--reactions str-chat__message-reactions-button"),"data-testid":"message-reaction-action",onClick:_},i.createElement(void 0===s?u:s,{className:"str-chat__message-action-icon"})))}),C=i.memo(function(e){var t=e.labelPlural,n=e.labelSingle,r=e.onClick,o=e.reply_count,a=void 0===o?0:o,l=(0,p.Ht)("MessageRepliesCountButton").t,u=(0,_.mx)("MessageRepliesCountButton").themeVersion;if(!a)return null;var c=l("replyCount",{count:a});return t&&a>1?c="".concat(a," ").concat(t):n&&(c="1 ".concat(n)),i.createElement("div",{className:"str-chat__message-simple-reply-button str-chat__message-replies-count-button-wrapper"},i.createElement("button",{className:"str-chat__message-replies-count-button","data-testid":"replies-count-button",onClick:r},"1"===u&&i.createElement(s,null),c))}),k=n(77815),S=n(57167),T=n(43714),M=n(48617),O=n(97959),P=i.memo(function(e){var t,n=e.Avatar,r=e.messageType,a=void 0===r?"simple":r,s=e.tooltipUserNameMapper,u=void 0===s?g.jb:s,c=(0,M.r)(),f=c.handleEnter,h=c.handleLeave,m=c.tooltipVisible,v=(0,_.mx)("MessageStatus").client,b=(0,O.yM)("MessageStatus").Avatar,w=(0,y.fr)("MessageStatus"),x=w.isMyMessage,D=w.lastReceivedId,E=w.message,C=w.readBy,P=w.threadList,R=(0,p.Ht)("MessageStatus").t,j=(0,_.mx)("MessageStatus").themeVersion,L=(0,i.useState)(null),F=L[0],A=L[1],N=n||b||k.q;if(!x()||"error"===E.type)return null;var I=(null==C?void 0:C.length)===1&&C[0].id===(null===(t=v.user)||void 0===t?void 0:t.id),B="sending"===E.status,U="received"===E.status&&E.id===D&&!P,z=!!((null==C?void 0:C.length)&&!P&&!I),H=(z?C.filter(function(e){var t;return e.id!==(null===(t=v.user)||void 0===t?void 0:t.id)}):[])[0];return i.createElement("span",{className:"str-chat__message-".concat(a,"-status str-chat__message-status"),"data-testid":(0,o.Z)({"message-status-read-by":z,"message-status-received":U&&!z,"message-status-sending":B}),onMouseEnter:f,onMouseLeave:h,ref:A},B&&i.createElement(i.Fragment,null,"1"===j&&i.createElement(T.u,null,R("Sending...")),"2"===j&&i.createElement(T.X,{offset:[0,5],referenceElement:F,visible:m},R("Sending...")),i.createElement(S.T,null)),U&&!z&&i.createElement(i.Fragment,null,"1"===j&&i.createElement(T.u,null,R("Delivered")),"2"===j&&i.createElement(T.X,{offset:[0,5],referenceElement:F,visible:m},R("Delivered")),"2"===j?i.createElement(d,null):i.createElement(l,null)),z&&i.createElement(i.Fragment,null,"1"===j&&i.createElement(T.u,null,(0,g.Qn)(C,R,v,u)),"2"===j&&i.createElement(T.X,{offset:[0,5],referenceElement:F,visible:m},(0,g.Qn)(C,R,v,u)),i.createElement(N,{image:H.image,name:H.name||H.id,size:15,user:H}),C.length>2&&i.createElement("span",{className:"str-chat__message-".concat(a,"-status-number"),"data-testid":"message-status-read-by-many"},C.length-1)))}),R=function(){var e,t,n,r=(0,O.yM)("QuotedMessage"),a=r.Attachment,s=r.Avatar,l=(0,y.fr)("QuotedMessage"),u=l.isMyMessage,c=l.message,d=(0,p.Ht)("QuotedMessage"),f=d.t,h=d.userLanguage,m=(0,v.uz)("QuotedMessage").jumpToMessage,g=s||k.q,b=c.quoted_message;if(!b)return null;var w=b.deleted_at||"deleted"===b.type,_=w?f("This message was deleted..."):(null===(e=b.i18n)||void 0===e?void 0:e["".concat(h,"_text")])||b.text,x=(null===(t=b.attachments)||void 0===t?void 0:t.length)&&!w?b.attachments[0]:null;return _||x?i.createElement(i.Fragment,null,i.createElement("div",{className:(0,o.Z)("str-chat__quoted-message-preview quoted-message",{mine:u()}),"data-testid":"quoted-message",onClickCapture:function(e){e.stopPropagation(),e.preventDefault(),m(b.id)}},b.user&&i.createElement(g,{image:b.user.image,name:b.user.name||b.user.id,size:20,user:b.user}),i.createElement("div",{className:"quoted-message-inner str-chat__quoted-message-bubble","data-testid":"quoted-message-contents"},x&&i.createElement(a,{attachments:[x]}),i.createElement("div",{"data-testid":"quoted-message-text"},_))),(null===(n=c.attachments)||void 0===n?void 0:n.length)?i.createElement(a,{attachments:c.attachments}):null):null},j=n(65092),L=n(22577),F=n(72799),A=n(94067),N=n.n(A),I=n(54696),B=n(42338);let U={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},z={tokenize:function(e,t,n){let r,i,o;return a;function a(t){return 46===t||95===t?e.check(V,l,s)(t):null===t||(0,B.z3)(t)||(0,B.B8)(t)||45!==t&&(0,B.Xh)(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},H={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Z[43]=Y,Z[45]=Y,Z[46]=Y,Z[95]=Y,Z[72]=[Y,$],Z[104]=[Y,$],Z[87]=[Y,W],Z[119]=[Y,W];var en=n(42462),er=n(69406),ei=n(67833);let eo={tokenize:function(e,t,n){let r=this;return(0,er.f)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ea(e,t,n){let r;let i=this,o=i.events.length,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;o--;){let e=i.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let s=(0,ei.d)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===s.codePointAt(0)&&a.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function es(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function el(e,t,n){let r;let i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!r||null===s||91===s||(0,B.z3)(s))return n(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,ei.d)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return(0,B.z3)(s)||(r=!0),a++,e.consume(s),92===s?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function eu(e,t,n){let r,i;let o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!i||null===t||91===t||(0,B.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,ei.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,B.z3)(t)||(i=!0),s++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(r)||a.push(r),(0,er.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function ec(e,t,n){return e.check(en.w,t,e.attempt(eo,t,n))}function ed(e){e.exit("gfmFootnoteDefinition")}var ef=n(88973),eh=n(80658),ep=n(63374);class em{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;ie[0]-t[0]),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}let eg={flow:{null:{tokenize:function(e,t,n){let r;let i=this,o=0,a=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?y:s;return o===y&&i.parser.lazy[i.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,a+=1),l(t)}function l(t){return null===t?n(t):(0,B.Ch)(t)?a>1?(a=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):(0,B.xz)(t)?(0,er.f)(e,l,"whitespace")(t):(a+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,B.z3)(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,B.xz)(t))?(0,er.f)(e,f,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?p(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,B.xz)(t)?(0,er.f)(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(a+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||(0,B.Ch)(t)?v(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return(0,B.xz)(t)?(0,er.f)(e,v,"whitespace")(t):v(t)}function v(i){return 124===i?f(i):null===i||(0,B.Ch)(i)?r&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i):n(i)}function y(t){return e.enter("tableRow"),b(t)}function b(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),b):null===n||(0,B.Ch)(n)?(e.exit("tableRow"),t(n)):(0,B.xz)(n)?(0,er.f)(e,b,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||(0,B.z3)(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?_:w)}function _(t){return 92===t||124===t?(e.consume(t),w):w(t)}},resolveAll:function(e,t){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,d=0,f=new em;for(;++on[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==i&&(o.end=Object.assign({},eb(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function ey(e,t,n,r,i){let o=[],a=eb(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function eb(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let ew={text:{91:{tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,B.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return(0,B.Ch)(r)?t(r):(0,B.xz)(r)?e.check({tokenize:e_},t,n)(r):n(r)}}}}};function e_(e,t,n){return(0,er.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}function ex(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}function eD(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var eE=n(88298),eC=n(5373);let ek={}.hasOwnProperty,eS=function(e,t,n,r){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});let a=(0,eC.O)(i.ignore||[]),s=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:s}:void 0),!1!==s&&(o!==n&&c.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(s)?c.push(...s):s&&c.push(s),o=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(oe}let eO="phrasing",eP=["autolink","link","image","label"],eR={transforms:[function(e){eS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,eF],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,eA]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:eL,literalAutolinkHttp:eL,literalAutolinkWww:eL},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},ej={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:eO,notInConstruct:eP},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:eO,notInConstruct:eP},{character:":",before:"[ps]",after:"\\/",inConstruct:eO,notInConstruct:eP}]};function eL(e){this.config.enter.autolinkProtocol.call(this,e)}function eF(e,t,n,r,i){let o="";if(!eN(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let a=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=ex(e,"("),o=ex(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;let s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function eA(e,t,n,r){return!(!eN(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function eN(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,B.B8)(n)||(0,B.Xh)(n))&&(!t||47!==n)}var eI=n(97094);function eB(e){return e.label||!e.identifier?e.label||"":(0,eI.v)(e.identifier)}let eU=/\r?\n|\r/g;function ez(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function eH(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r=c)&&(!(e+10?" ":"")),i.shift(4),o+=i.move(function(e,t){let n;let r=[],i=0,o=0;for(;n=eU.exec(e);)a(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return a(e.slice(i)),r.join("");function a(e){r.push(t(e,o,!e))}}(function(e,t,n){let r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[],s=-1;for(r.push(-1);++s\n\n"}return"\n\n"}(n,i[s+1],e,t)))}return r.pop(),a.join("")}(e,n,i.current()),e3)),a(),o}function e3(e,t,n){return 0===t?e:(n?"":" ")+e}function e4(e,t,n){let r=t.indexStack,i=e.children||[],o=[],a=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++a0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",(l=t.createTracker(n)).move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}e1.peek=function(){return"["},e8.peek=function(){return"~"};let e6={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},e5={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:e8}};function e8(e,t,n,r){let i=e$(r),o=n.enter("strikethrough"),a=i.move("~~");return a+=e4(e,n,{...i.current(),before:a,after:"~"})+i.move("~~"),o(),a}function e7(e,t,n){let r=e.value||"",i="`",o=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:tr,tableHeader:tr,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,ti)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:tn,tableHeader:tn,tableRow:tn}};function tn(e){this.exit(e)}function tr(e){this.enter({type:"tableCell",children:[]},e)}function ti(e,t){return"|"===t?t:e}let to={exit:{taskListCheckValueChecked:ts,taskListCheckValueUnchecked:ts,paragraph:function(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){let r;let i=t.children,o=-1;for(;++o-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));let s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?o:o+" ".repeat(a-o.length))+e});return l(),u}(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),l}}};function ts(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function tl(e={}){let t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",(0,I.W)([G,{document:{91:{tokenize:eu,continuation:{tokenize:ec},exit:ed}},text:{91:{tokenize:el},93:{add:"after",tokenize:ea,resolveTo:es}}},function(e){let t=(e||{}).singleTilde,n={tokenize:function(e,n,r){let i=this.previous,o=this.events,a=0;return function(s){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function o(s){let l=(0,eh.r)(i);if(126===s)return a>1?r(s):(e.consume(s),a++,o);if(a<2&&!t)return r(s);let u=e.exit("strikethroughSequenceTemporary"),c=(0,eh.r)(s);return u._open=!c||2===c&&!!l,u._close=!l||2===l&&!!c,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[u].length);++ds[d])&&(s[d]=e)}n.push(o)}o[u]=n,a[u]=i}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=o),h[d]=o),f[d]=a}o.splice(1,0,f),a.splice(1,0,h),u=-1;let p=[];for(;++u0?{type:"text",value:s}:void 0),!1!==s&&(o!==n&&c.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(s)?c.push(...s):s&&c.push(s),o=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(oe}let ty=function(e,t,n){let r={type:String(e)};return null==n&&("string"==typeof t||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r};var tb=n(2417),tw=n.n(tb),t_=function(){var e=function(e){return ty("element",{tagName:"emoji"},[ty("text",e)])};return function(t){return tm(t,tw()(),e)}},tx=n(20037),tD=["html","text","br","p","em","strong","a","ol","ul","li","code","pre","blockquote","del","emoji","mention"];function tE(e){try{return encodeURI(decodeURIComponent(e))}catch(t){return e}}var tC=function(e){return e.startsWith("app://")?e:(0,j.A)(e)},tk=function(e){return e},tS={a:function(e){var t=e.children,n=e.href,r=null==n?void 0:n.startsWith("mailto:"),a=null==n?void 0:n.startsWith("http");return n&&(r||a)?i.createElement("a",{className:(0,o.Z)({"str-chat__message-url-link":a}),href:n,rel:"nofollow noreferrer noopener",target:"_blank"},t):i.createElement(i.Fragment,null,t)},emoji:function(e){var t=e.children;return i.createElement("span",{className:"inline-text-emoji","data-testid":"inline-text-emoji"},t)},mention:function(e){var t=e.children,n=e.node.mentionedUser;return i.createElement("span",{className:"str-chat__message-mention","data-user-id":n.id},t)}},tT=function(e,t,n){var o=void 0===n?{}:n,a=o.allowedTagNames,s=o.customMarkDownRenderers,l=o.getRehypePlugins,u=o.getRemarkPlugins;if(!e)return null;if(1===e.trim().length)return i.createElement(i.Fragment,null,e);var c=e,d=(0,tu.aL)(c),f=(0,tu.IE)(c);N()((0,r.ev)((0,r.ev)([],(0,F.sE)(c,"email"),!0),(0,F.sE)(c,"url"),!0),"value").forEach(function(e){var n=e.href,r=e.type,i=e.value,o=f.some(function(e){return null==e?void 0:e.includes(i)});if(!((d&&d.filter(function(e){var t=null==n?void 0:n.replace(tu.Wd,""),r=null==e?void 0:e.replace(tu.Wd,"");return!!t&&!!r&&(t.includes(r)||r.includes(t))})).length>0)&&!o)try{if("email"===r&&t&&t.some(function(e){return e.name===i})){c=c.replace(RegExp((0,tu.hr)(i),"g"),function(e,t){return"@"===c.charAt(t-1)?e:"[".concat(e,"](").concat(tE(n),")")});return}var a="email"===r?i:function(e){try{return decodeURIComponent(e).replace(tu.Wd,"")}catch(t){return e}}(n);c=c.replace(RegExp((0,tu.hr)(i),"g"),"[".concat(a,"](").concat(tE(n),")"))}catch(e){}});var h=[t_];if((null==t?void 0:t.length)&&h.push(function(){var e=t.map(function(e){return e.name||e.id}).filter(Boolean).map(tu.hr),n=RegExp(e.map(function(e){return"@".concat(e)}).join("|"),"g"),r=function(e){var n=e.replace("@","");return ty("element",{mentionedUser:t.find(function(e){var t=e.id;return e.name===n||t===n}),tagName:"mention"},[ty("text",e)])};return function(t){return e.length?((0,tx.Vn)(t,function(e,t,n){if(null!==t&&n){var r,i=n.children.at(t+1),o=null===(r=null==i?void 0:i.properties)||void 0===r?void 0:r.href;if("text"===e.type&&/.?\s?@$|^@$/.test(e.value)&&(null==o?void 0:o.startsWith("mailto:"))){var a=e.value.replace(/@$/,""),s=o.replace("mailto:","");n.children[t]=ty("text",a),n.children[t+1]=ty("text","@".concat(s))}}}),tm(t,n,r)):t}}),null==s?void 0:s.mention){var p=s.mention;s.mention=function(e){var t=e.node,n=(0,r._T)(e,["node"]);return i.createElement(p,(0,r.pi)({mentioned_user:t.mentionedUser,node:(0,r.pi)({mentioned_user:t.mentionedUser},t)},n))}}var m=(0,r.pi)((0,r.pi)({},tS),s);return i.createElement(L.D,{allowedElements:void 0===a?tD:a,components:m,rehypePlugins:(void 0===l?tk:l)(h),remarkPlugins:(void 0===u?tk:u)([[tl,{singleTilde:!1}]]),skipHtml:!0,transformLinkUri:tC,unwrapDisallowed:!0},c)},tM=i.memo(function(e){var t,n,r=e.customInnerClass,o=e.customWrapperClass,a=e.message,s=e.renderText,l=e.theme,u=void 0===l?"simple":l,c=(0,O.yM)("MessageText").QuotedMessage,d=(0,y.fr)("MessageText"),f=d.message,h=d.onMentionsClickMessage,m=d.onMentionsHoverMessage,v=d.renderText,b=d.unsafeHTML,w=null!==(t=null!=s?s:v)&&void 0!==t?t:tT,_=(0,p.Ht)("MessageText"),x=_.t,D=_.userLanguage,E=a||f,C=(0,g.ue)(E),k=(null===(n=E.i18n)||void 0===n?void 0:n["".concat(D,"_text")])||E.text,S=(0,i.useMemo)(function(){return w(k,E.mentioned_users)},[E.mentioned_users,k]);return k||E.quoted_message?i.createElement("div",{className:(void 0===o?"":o)||"str-chat__message-text",tabIndex:0},i.createElement("div",{className:"\n ".concat(r||"str-chat__message-text-inner str-chat__message-".concat(u,"-text-inner"),"\n ").concat(C?" str-chat__message-".concat(u,"-text-inner--has-attachment"):"","\n ").concat((0,g.Kh)(E.text)&&!E.quoted_message?" str-chat__message-".concat(u,"-text-inner--is-emoji"):"","\n ").trim(),"data-testid":"message-text-inner-wrapper",onClick:h,onMouseOver:m},E.quoted_message&&i.createElement(void 0===c?R:c,null),"error"===E.type&&i.createElement("div",{className:"str-chat__".concat(u,"-message--error-message str-chat__message--error-message")},x("Error \xb7 Unsent")),"failed"===E.status&&i.createElement("div",{className:"str-chat__".concat(u,"-message--error-message str-chat__message--error-message")},x(403!==E.errorStatusCode?"Message Failed \xb7 Click to try again":"Message Failed \xb7 Unauthorized")),b&&E.html?i.createElement("div",{dangerouslySetInnerHTML:{__html:E.html}}):i.createElement("div",null,S))):null}),tO=n(35972),tP=i.memo(function(e){var t=e.calendar,n=void 0!==t&&t,r=e.customClass,o=e.format,a=void 0===o?"h:mmA":o,s=e.message,l=(0,y.fr)("MessageTimestamp"),u=l.formatDate,c=l.message,d=(0,p.Ht)("MessageTimestamp").tDateTimeParser,f=s||c,h=f.created_at&&(0,p.J_)(f.created_at)?f.created_at.toISOString():f.created_at,m=(0,i.useMemo)(function(){return(0,tO.fh)({calendar:n,format:a,formatDate:u,messageCreatedAt:h,tDateTimeParser:d})},[u,n,d,a,h]);return m?i.createElement("time",{className:void 0===r?"":r,dateTime:h,title:h},m):null}),tR=n(3661),tj=n(69058),tL=n(51442),tF=n(32892),tA=n(56604),tN=n(42830),tI=n(98098),tB=n(92463),tU=n(61612),tz=n(74745),tH=function(){var e=(0,tU.JN)("EditMessageForm"),t=e.acceptedFiles,n=e.multipleUploads,r=(0,p.Ht)("EditMessageForm").t,o=(0,tz.Nc)("EditMessageForm"),a=o.clearEditingState,s=o.closeEmojiPicker,l=o.emojiPickerIsOpen,u=o.handleSubmit,c=o.isUploadEnabled,d=o.maxFilesLeft,f=o.openEmojiPicker,h=o.uploadNewFiles,m=(0,O.yM)("EditMessageForm"),g=m.EmojiIcon,v=void 0===g?tA.Ai:g,y=m.FileUploadIcon,b=void 0===y?tA.HC:y,w=(0,_.mx)("EditMessageForm").themeVersion;return((0,i.useEffect)(function(){var e=function(e){"Escape"===e.key&&(null==a||a())};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}},[a]),"2"===w)?i.createElement("form",{className:"str-chat__edit-message-form",onSubmit:u},i.createElement(tB.r,null),i.createElement("div",{className:"str-chat__edit-message-form-options"},i.createElement("button",{className:"str-chat__edit-message-cancel","data-testid":"cancel-button",onClick:a},r("Cancel")),i.createElement("button",{className:"str-chat__edit-message-send","data-testid":"send-button",type:"submit"},r("Send")))):i.createElement("div",{className:"str-chat__edit-message-form"},i.createElement(tj.v,{accept:t,disabled:!c||0===d,handleFiles:h,maxNumberOfFiles:d,multiple:n},i.createElement("form",{onSubmit:u},c&&i.createElement(tN._,null),i.createElement(tF.h,{small:!0}),i.createElement(tI.T,null),i.createElement("div",{className:"str-chat__message-team-form-footer"},i.createElement("div",{className:"str-chat__edit-message-form-options"},i.createElement("button",{"aria-label":"Open Emoji Picker",className:"str-chat__input-emojiselect",onClick:l?s:f},i.createElement(v,null)),c&&i.createElement("div",{className:"str-chat__fileupload-wrapper","data-testid":"fileinput"},i.createElement(T.u,null,r(d?"Attach files":"You've reached the maximum number of files")),i.createElement(tL.K,{accepts:t,disabled:0===d,handleFiles:h,multiple:n},i.createElement("span",{className:"str-chat__input-fileupload"},i.createElement(b,null))))),i.createElement("div",null,i.createElement("button",{className:"str-chat__edit-message-cancel",onClick:a},r("Cancel")),i.createElement("button",{className:"str-chat__edit-message-send",type:"submit"},r("Send")))))))},tV=n(2779),tq=i.lazy(function(){return(0,r.mG)(void 0,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,Promise.all([n.e(833),n.e(375)]).then(n.bind(n,9375))];case 1:return[2,{default:e.sent().MML}]}})})}),tW=function(e){var t=e.actionHandler,n=e.align,r=e.source,o=(0,_.mx)("MML").theme;return i.createElement(i.Suspense,{fallback:null},i.createElement(tq,{className:"mml-align-".concat(void 0===n?"right":n),Loading:null,onSubmit:t,source:r,Success:null,theme:(o||"").replace(" ","-")}))},t$=n(95683),tY=n(42393),tZ=n(86390),tG=i.forwardRef(function(e,t){var n,a=e.additionalEmojiProps,s=void 0===a?{}:a,l=e.Avatar,u=e.detailedView,c=void 0===u||u,d=e.handleReaction,f=e.latest_reactions,h=e.own_reactions,p=e.reaction_counts,m=e.reactionOptions,g=e.reverse,v=(0,O.yM)("ReactionSelector").Avatar,b=(0,tZ.uL)("ReactionSelector"),w=b.Emoji,_=b.emojiConfig,x=(0,y.fr)("ReactionSelector"),D=x.handleReaction,E=x.message,C=_||{},S=C.defaultMinimalEmojis,T=C.emojiData,M=C.emojiSetDef,P=l||v||k.q,R=d||D,j=f||(null==E?void 0:E.latest_reactions)||[],L=h||(null==E?void 0:E.own_reactions)||[],F=p||(null==E?void 0:E.reaction_counts)||{},A=!!(null==m?void 0:m.length),N=(0,i.useMemo)(function(){return A?T:(0,tY.Le)(T)},[T,A]),I=(0,i.useState)(null),B=I[0],U=I[1],z=(0,i.useState)(null),H=z[0],V=z[1],q=(0,i.useRef)(null),W=(0,i.useRef)(null),$=(0,i.useCallback)(function(e,t){q.current=e.currentTarget,U(t)},[]),Y=(0,i.useCallback)(function(){U(null),V(null)},[]);(0,i.useEffect)(function(){var e,n,r;if(B){var i=null===(e=W.current)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(n=q.current)||void 0===n?void 0:n.getBoundingClientRect(),a=t&&void 0!==t.current?null===(r=t.current)||void 0===r?void 0:r.getBoundingClientRect():null;if(!i||!o||!a)return;var s=i.width===a.width||i.x0))return[];h=(0,r.ev)([],e,!0)}return n&&h.indexOf(c.delete)>-1&&f.push(c.delete),i&&h.indexOf(c.edit)>-1&&f.push(c.edit),o&&h.indexOf(c.flag)>-1&&f.push(c.flag),a&&h.indexOf(c.mute)>-1&&f.push(c.mute),s&&h.indexOf(c.pin)>-1&&f.push(c.pin),l&&h.indexOf(c.quote)>-1&&f.push(c.quote),u&&h.indexOf(c.react)>-1&&f.push(c.react),d&&h.indexOf(c.reply)>-1&&f.push(c.reply),f},h=["pin","react","reply"],p=function(e,t){return!(0===e.length||t&&0===e.filter(function(e){return!h.includes(e)}).length||1===e.length&&(e.includes("react")||e.includes("reply"))||2===e.length&&e.includes("react")&&e.includes("reply"))},m=function(e,t){var n,r,i,o,a,s;return e.deleted_at===t.deleted_at&&(null===(n=e.latest_reactions)||void 0===n?void 0:n.length)===(null===(r=t.latest_reactions)||void 0===r?void 0:r.length)&&(null===(i=e.own_reactions)||void 0===i?void 0:i.length)===(null===(o=t.own_reactions)||void 0===o?void 0:o.length)&&e.pinned===t.pinned&&e.reply_count===t.reply_count&&e.status===t.status&&e.text===t.text&&e.type===t.type&&e.updated_at===t.updated_at&&(null===(a=e.user)||void 0===a?void 0:a.updated_at)===(null===(s=t.user)||void 0===s?void 0:s.updated_at)},g=function(e,t){var n=e.message,r=e.Message,i=t.message;return!!(r===t.Message&&e.endOfGroup===t.endOfGroup&&t.showDetailedReactions===e.showDetailedReactions&&m(n,i)&&o()(t.messageActions,e.messageActions)&&o()(t.readBy,e.readBy)&&o()(t.highlighted,e.highlighted)&&o()(t.groupStyles,e.groupStyles)&&o()(t.mutes,e.mutes)&&o()(t.lastReceivedId,e.lastReceivedId))&&e.messageListRect===t.messageListRect},v=function(e,t){var n,r,i,o,a=e.lastReceivedId,s=e.message,l=t.lastReceivedId,u=t.message;return e.editing===t.editing&&e.highlighted===t.highlighted&&e.endOfGroup===t.endOfGroup&&(null===(n=e.mutes)||void 0===n?void 0:n.length)===(null===(r=t.mutes)||void 0===r?void 0:r.length)&&(null===(i=e.readBy)||void 0===i?void 0:i.length)===(null===(o=t.readBy)||void 0===o?void 0:o.length)&&e.showDetailedReactions===t.showDetailedReactions&&(s.id!==a&&s.id!==l||a===l)&&m(s,u)},y=function(e){return!!(null==e?void 0:e.latest_reactions)&&!!e.latest_reactions.length},b=function(e){return!!(null==e?void 0:e.attachments)&&!!e.attachments.length},w=function(e){return e.name||e.id},_=function(e,t,n,r){var i="";if(!t)throw Error("getReadByTooltipText was called, but translation function is not available");if(!r)throw Error("getReadByTooltipText was called, but tooltipUserNameMapper function is not available");var o=e.filter(function(e){return e&&(null==n?void 0:n.user)&&e.id!==n.user.id}).map(r),a=o.slice(0,5),s=o.length-a.length;if(1===a.length)i="".concat(a[0]," ");else if(2===a.length)i=t("{{ firstUser }} and {{ secondUser }}",{firstUser:a[0],secondUser:a[1]});else if(a.length>2){if(0===s){var l=a.splice(a.length-1,1);i=t("{{ commaSeparatedUsers }}, and {{ lastUser }}",{commaSeparatedUsers:a.join(", "),lastUser:l})}else i=t("{{ commaSeparatedUsers }} and {{ moreCount }} more",{commaSeparatedUsers:a.join(", "),moreCount:s})}return i},x=function(e){return!!e&&!e.replace(s()(),"").replace(/[\s\n]/gm,"")}},85314:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(2265),i=function(e){var t=e.cooldownInterval,n=e.setCooldownRemaining,i=(0,r.useState)(t),o=i[0],a=i[1];return(0,r.useEffect)(function(){var e=setInterval(function(){o>0?a(o-1):n(0)},1e3);return function(){return clearInterval(e)}}),r.createElement("div",{className:"str-chat__message-input-cooldown","data-testid":"cooldown-timer"},o)}},32892:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(2265),i=n(44839),o=n(86390),a=n(33600),s=n(74745),l=function(e){return!("White Smiling Face"===e.name||"White Frowning Face"===e.name)},u=function(e){var t=e.small,n=(0,o.uL)("EmojiPicker"),u=n.emojiConfig,c=n.EmojiPicker,d=(0,a.Ht)("EmojiPicker").t,f=(0,s.Nc)("EmojiPicker"),h=f.emojiPickerIsOpen,p=f.emojiPickerRef,m=f.onSelectEmoji,g=(u||{}).emojiData;return h&&g?r.createElement("div",{className:(0,i.Z)("str-chat__emoji-picker-container",{"str-chat__input--emojipicker":!t,"str-chat__small-message-input-emojipicker":t}),ref:p},r.createElement(r.Suspense,{fallback:null},r.createElement(c,{color:"#006CFF",data:g,emoji:"point_up",emojisToShowFilter:l,native:!0,onSelect:m,set:"facebook",showPreview:!1,showSkinTones:!1,title:d("Pick your emoji"),useButton:!0}))):null}},2779:function(e,t,n){"use strict";n.d(t,{R:function(){return C}});var r=n(11735),i=n(2265),o=n(84202),a=n(61612),s=n(40311),l=n(33600),u=function(){var e=(0,s.mx)("useCommandTrigger").themeVersion,t=(0,a.JN)("useCommandTrigger").channelConfig,n=(0,l.Ht)("useCommandTrigger").t,r=null==t?void 0:t.commands;return{component:o.d,dataProvider:function(t,i,o){if(0!==i.indexOf("/")||!r)return[];var a=r.filter(function(e){var n;return(null===(n=e.name)||void 0===n?void 0:n.indexOf(t))!==-1});a.sort(function(e,n){var r,i,o=null===(r=e.name)||void 0===r?void 0:r.toLowerCase(),a=null===(i=n.name)||void 0===i?void 0:i.toLowerCase();if((null==o?void 0:o.indexOf(t))===0&&(o="0".concat(o)),(null==a?void 0:a.indexOf(t))===0&&(a="0".concat(a)),null!=o&&null!=a){if(oa)return 1}return 0});var s=a.slice(0,"2"===e?5:10);return o&&o(s.filter(function(e){return void 0!==e.name}).map(function(e){var t={name:e.name};return e.args&&(t.args=n("".concat(e.name,"-command-args"),{defaultValue:e.args})),e.description&&(t.description=n("".concat(e.name,"-command-description"),{defaultValue:e.description})),t}),t),s},output:function(e){return{caretPosition:"next",key:e.name,text:"/".concat(e.name)}}}},c=i.memo(function(e){var t=e.entity,n=Object.keys(t).length,r=null==t?void 0:t.itemNameParts;return i.createElement("div",{className:"str-chat__emoji-item"},i.createElement("span",{className:"str-chat__emoji-item--entity"},t.native),i.createElement("span",{className:"str-chat__emoji-item--name"},n?n&&r.parts.map(function(e,t){return e.toLowerCase()===r.match.toLowerCase()?i.createElement("span",{className:"str-chat__emoji-item--highlight",key:"part-".concat(t)},e):i.createElement("span",{className:"str-chat__emoji-item--part",key:"part-".concat(t)},e)}):null))}),d=function(e){var t=(0,s.mx)("useEmojiTrigger").themeVersion;return{component:c,dataProvider:function(n,r,i){if(0===n.length||n.charAt(0).match(/[^a-zA-Z0-9+-]/))return[];var o=((null==e?void 0:e.search(n))||[]).filter(Boolean).slice(0,"2"===t?7:10);return i&&i(o,n),o},output:function(e){return{caretPosition:"next",key:e.id,text:"".concat("native"in e?e.native:"")}}}},f=n(57701),h=n.n(f),p=n(73268),m=n(33822),g=function(e){var t=e.disableMentions,n=e.mentionAllAppUsers,o=e.mentionQueryParams,l=void 0===o?{}:o,u=e.onSelectUser,c=e.useMentionsTransliteration,d=(0,i.useState)(!1),f=d[0],g=d[1],v=(0,s.mx)("useUserTrigger"),y=v.client,b=v.mutes,w=v.themeVersion,_=(0,a.JN)("useUserTrigger").channel,x=_.state.members,D=_.state.watchers,E=(0,i.useCallback)(function(){var e=x?Object.values(x).map(function(e){return e.user}):[],t=D?Object.values(D):[],n=(0,r.ev)((0,r.ev)([],e,!0),t,!0),i={};return n.forEach(function(e){e&&!i[e.id]&&(i[e.id]=e)}),Object.values(i)},[x,D]),C=(0,i.useCallback)(h()(function(e,t){return(0,r.mG)(void 0,void 0,void 0,function(){var n;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,_.queryMembers({name:{$autocomplete:e}})];case 1:return n=r.sent().members.map(function(e){return e.user}),t&&n.length?t(n):t([]),[3,3];case 2:return console.log({error:r.sent()}),[3,3];case 3:return[2]}})})},200),[_]),k=h()(function(e,t){return(0,r.mG)(void 0,void 0,void 0,function(){var n;return(0,r.Jh)(this,function(i){switch(i.label){case 0:if(!e||f)return[2];g(!0),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,y.queryUsers((0,r.pi)({$or:[{id:{$autocomplete:e}},{name:{$autocomplete:e}}],id:{$ne:y.userID}},"function"==typeof l.filters?l.filters(e):l.filters),Array.isArray(l.sort)?(0,r.ev)([{id:1}],l.sort,!0):(0,r.pi)({id:1},l.sort),(0,r.pi)({limit:10},l.options))];case 2:return n=i.sent().users,t&&n.length?t(n):t([]),[3,4];case 3:return console.log({error:i.sent()}),[3,4];case 4:return g(!1),[2]}})})},200);return{callback:function(e){return u(e)},component:m.E,dataProvider:function(e,r,i){if(!t){var o,a,s=function(e){return r.includes("/unmute")&&!b.length?[]:b.length?r.includes("/unmute")?e.filter(function(e){return b.some(function(t){return t.target.id===e.id})}):e.filter(function(e){return b.every(function(t){return t.target.id!==e.id})}):e};if(n)return k(e,function(t){i&&i(s(t),e)});if(!e||Object.values(x||{}).length<100){var u=E(),d={ownUserId:y.userID,query:e,text:r,useMentionsTransliteration:c,users:u},f=(0,p.i_)(d),h=null!==(a=null===(o=l.options)||void 0===o?void 0:o.limit)&&void 0!==a?a:"2"===w?7:10,m=f.slice(0,h);return i&&i(s(m),e),m}return C(e,function(t){i&&i(s(t),e)})}},output:function(e){return{caretPosition:"next",key:e.id,text:"@".concat(e.name||e.id)}}}},v=n(74745),y=function(e){var t=e.children,n=(0,v.Nc)("DefaultTriggerProvider"),o={"/":u(),":":d(n.emojiIndex),"@":g({disableMentions:n.disableMentions,mentionAllAppUsers:n.mentionAllAppUsers,mentionQueryParams:n.mentionQueryParams,onSelectUser:n.onSelectUser,useMentionsTransliteration:n.useMentionsTransliteration})},a=(0,r.pi)((0,r.pi)({},n),{autocompleteTriggers:o});return i.createElement(v.G6,{value:a},t)},b=n(92463),w=n(67378),_=n(92560),x=n(43751),D=n(97959),E=function(e){var t=(0,w._)(),n=(0,x.k)(e),o=(0,_.u)((0,r.pi)((0,r.pi)((0,r.pi)({},t),n),e));return i.createElement(v.G6,{value:o},e.children)},C=i.memo(function(e){var t=e.Input,n=(0,a.JN)().dragAndDropWindow,o=(0,D.yM)("MessageInput"),s=o.Input,l=o.TriggerProvider,u=void 0===l?y:l,c=t||s||b.r;return n?i.createElement(i.Fragment,null,i.createElement(u,null,i.createElement(c,null))):i.createElement(E,(0,r.pi)({},e),i.createElement(u,null,i.createElement(c,null)))})},92463:function(e,t,n){"use strict";n.d(t,{r:function(){return L}});var r=n(11735),i=n(2265),o=n(69058),a=n(51442),s=n(5289),l=n(44839),u=n(63375),c=n(38746),d=n(91116),f=n(32892),h=n(56604),p=n(53496),m=n(68650),g=n(27988),v=n(74745),y=n(97959),b=function(){var e=(0,v.Nc)("AttachmentPreviewList"),t=e.fileOrder,n=e.imageOrder;return i.createElement("div",{className:"str-chat__attachment-preview-list"},i.createElement("div",{className:"str-chat__attachment-list-scroll-container","data-testid":"attachment-list-scroll-container"},n.map(function(e){return i.createElement(w,{id:e,key:e})}),t.map(function(e){return i.createElement(_,{id:e,key:e})})))},w=function(e){var t,n=e.id,r=(0,y.yM)("ImagePreviewItem").BaseImage,o=void 0===r?m.Z:r,a=(0,v.Nc)("ImagePreviewItem"),s=a.imageUploads,u=a.removeImage,c=a.uploadImage,d=(0,i.useState)(!1),f=d[0],p=d[1],g=(0,i.useCallback)(function(e){e.stopPropagation(),u(n)},[u,n]),b=(0,i.useCallback)(function(){return c(n)},[c,n]),w=(0,i.useCallback)(function(){return p(!0)},[]),_=s[n];return!_||_.og_scrape_url?null:i.createElement("div",{className:(0,l.Z)("str-chat__attachment-preview-image",{"str-chat__attachment-preview-image--error":f}),"data-testid":"attachment-preview-image"},i.createElement("button",{className:"str-chat__attachment-preview-delete","data-testid":"image-preview-item-delete-button",disabled:"uploading"===_.state,onClick:g},i.createElement(h.Tw,null)),"failed"===_.state&&i.createElement("button",{className:"str-chat__attachment-preview-error str-chat__attachment-preview-error-image","data-testid":"image-preview-item-retry-button",onClick:b},i.createElement(h.Oe,null)),"uploading"===_.state&&i.createElement("div",{className:"str-chat__attachment-preview-image-loading"},i.createElement(h.VK,{size:17})),(_.previewUri||_.url)&&i.createElement(o,{alt:_.file.name,className:"str-chat__attachment-preview-thumbnail",onError:w,src:null!==(t=_.previewUri)&&void 0!==t?t:_.url,title:_.file.name}))},_=function(e){var t=e.id,n=(0,v.Nc)("FilePreviewItem"),r=n.fileUploads,o=n.removeFile,a=n.uploadFile,s=(0,i.useCallback)(function(e){e.stopPropagation(),o(t)},[o,t]),l=(0,i.useCallback)(function(){return a(t)},[a,t]),u=r[t],c=(0,i.useMemo)(function(){return{failed:"failed"===u.state,finished:"finished"===u.state,uploading:"uploading"===u.state}},[u.state]);return u?i.createElement("div",{className:"str-chat__attachment-preview-file","data-testid":"attachment-preview-file"},i.createElement("div",{className:"str-chat__attachment-preview-file-icon"},i.createElement(g.a,{filename:u.file.name,mimeType:u.file.type,version:"2"})),i.createElement("button",{className:"str-chat__attachment-preview-delete","data-testid":"file-preview-item-delete-button",disabled:c.uploading,onClick:s},i.createElement(h.Tw,null)),c.failed&&i.createElement("button",{className:"str-chat__attachment-preview-error str-chat__attachment-preview-error-file","data-testid":"file-preview-item-retry-button",onClick:l},i.createElement(h.Oe,null)),i.createElement("div",{className:"str-chat__attachment-preview-file-end"},i.createElement("div",{className:"str-chat__attachment-preview-file-name"},u.file.name),c.finished&&i.createElement("a",{className:"str-chat__attachment-preview-file-download",download:!0,href:u.url,rel:"noreferrer",target:"_blank"},i.createElement(h._8,null)),c.uploading&&i.createElement(h.VK,{size:17}))):null},x=n(61612),D=n(6996),E=n(43714),C=n(48617),k=function(e){var t=e.linkPreviews,n=(0,x.JN)().quotedMessage;return t.length>0&&!n?i.createElement("div",{className:"str-chat__link-preview-list"},Array.from(t.values()).map(function(e){return e.state===D.G.LOADED?i.createElement(S,{key:e.og_scrape_url,linkPreview:e}):null})):null},S=function(e){var t=e.linkPreview,n=(0,v.Nc)().dismissLinkPreview,r=(0,C.r)(),o=r.handleEnter,a=r.handleLeave,s=r.tooltipVisible,u=(0,i.useState)(null),c=u[0],d=u[1];return i.createElement("div",{className:(0,l.Z)("str-chat__link-preview-card",{"str-chat__link-preview-card--loading":t.state===D.G.LOADING}),"data-testid":"link-preview-card"},i.createElement(E.X,{offset:[0,5],referenceElement:c,visible:s},t.og_scrape_url),i.createElement("div",{className:"str-chat__link-preview-card__icon-container",onMouseEnter:o,onMouseLeave:a,ref:d},i.createElement(h.xP,null)),i.createElement("div",{className:"str-chat__link-preview-card__content"},i.createElement("div",{className:"str-chat__link-preview-card__content-title"},t.title),i.createElement("div",{className:"str-chat__link-preview-card__content-description"},t.text)),i.createElement("button",{className:"str-chat__link-preview-card__dismiss-button","data-testid":"link-preview-card-dismiss-btn",onClick:function(){return n(t)}},i.createElement(h.Tw,null)))},T=n(42830),M=n(98098),O=n(40311),P=n(92765),R=n(33600),j=n(85314),L=function(){var e=(0,x.JN)("MessageInputFlat").quotedMessage,t=(0,P.uz)("MessageInputFlat").setQuotedMessage,n=(0,O.mx)("MessageInputFlat"),r=n.channel,o=n.themeVersion;return(0,i.useEffect)(function(){var n=function(n){var r;if((null===(r=n.message)||void 0===r?void 0:r.id)===(null==e?void 0:e.id)){if("message.deleted"===n.type){t(void 0);return}t(n.message)}};return null==r||r.on("message.deleted",n),null==r||r.on("message.updated",n),function(){null==r||r.off("message.deleted",n),null==r||r.off("message.updated",n)}},[r,e]),"2"===o?i.createElement(A,null):i.createElement(F,null)},F=function(){var e=(0,x.JN)("MessageInputFlat"),t=e.acceptedFiles,n=e.multipleUploads,r=e.quotedMessage,s=(0,R.Ht)("MessageInputFlat").t,u=(0,v.Nc)("MessageInputFlat"),c=u.closeEmojiPicker,d=u.cooldownRemaining,m=u.emojiPickerIsOpen,g=u.handleSubmit,b=u.hideSendButton,w=u.isUploadEnabled,_=u.maxFilesLeft,D=u.numberOfUploads,C=u.openEmojiPicker,k=u.setCooldownRemaining,S=u.uploadNewFiles,O=(0,y.yM)("MessageInputFlat"),P=O.CooldownTimer,L=void 0===P?j.b:P,F=O.EmojiIcon,A=void 0===F?h.TK:F,N=O.FileUploadIcon,I=void 0===N?h.hi:N,B=O.QuotedMessagePreview,U=void 0===B?p.b:B,z=O.SendButton,H=void 0===z?h.c7:z,V=O.AttachmentPreviewList,q=void 0===V?T._:V;return i.createElement("div",{className:(0,l.Z)("str-chat__input-flat","str-chat__message-input",{"str-chat__input-flat--send-button-active":!!H,"str-chat__input-flat-has-attachments":D,"str-chat__input-flat-quoted":r&&!r.parent_id})},i.createElement(o.v,{accept:t,disabled:!w||0===_||!!d,handleFiles:S,maxNumberOfFiles:_,multiple:n},r&&!r.parent_id&&i.createElement(U,{quotedMessage:r}),i.createElement("div",{className:"str-chat__input-flat-wrapper"},w&&i.createElement(q,null),i.createElement("div",{className:"str-chat__input-flat--textarea-wrapper"},i.createElement("div",{className:"str-chat__emojiselect-wrapper"},i.createElement(E.u,null,s(m?"Close emoji picker":"Open emoji picker")),i.createElement("button",{"aria-label":"Emoji picker",className:"str-chat__input-flat-emojiselect",onClick:m?c:C},d?i.createElement("div",{className:"str-chat__input-flat-cooldown"},i.createElement(L,{cooldownInterval:d,setCooldownRemaining:k})):i.createElement(A,null))),i.createElement(f.h,null),i.createElement(M.T,null),w&&!d&&i.createElement("div",{className:"str-chat__fileupload-wrapper","data-testid":"fileinput"},i.createElement(E.u,null,s(_?"Attach files":"You've reached the maximum number of files")),i.createElement(a.K,{accepts:t,disabled:0===_,handleFiles:S,multiple:n},i.createElement("span",{className:"str-chat__input-flat-fileupload"},i.createElement(I,null))))),!(d||b)&&i.createElement(H,{sendMessage:g}))))},A=function(){var e=(0,x.JN)("MessageInputV2"),t=e.acceptedFiles,n=void 0===t?[]:t,o=e.multipleUploads,a=e.quotedMessage,m=(0,R.Ht)("MessageInputV2").t,g=(0,v.Nc)("MessageInputV2"),w=g.closeEmojiPicker,_=g.cooldownRemaining,D=g.emojiPickerIsOpen,E=g.findAndEnqueueURLsToEnrich,C=g.handleSubmit,S=g.hideSendButton,T=g.isUploadEnabled,O=g.linkPreviews,P=g.maxFilesLeft,L=g.message,F=g.numberOfUploads,A=g.openEmojiPicker,N=g.setCooldownRemaining,I=g.text,B=g.uploadNewFiles,U=(0,y.yM)("MessageInputV2"),z=U.AttachmentPreviewList,H=U.CooldownTimer,V=void 0===H?j.b:H,q=U.EmojiIcon,W=void 0===q?h.B0:q,$=U.FileUploadIcon,Y=void 0===$?h.rG:$,Z=U.LinkPreviewList,G=U.QuotedMessagePreview,J=void 0===G?p.b:G,K=U.SendButton,X=void 0===K?h.c7:K,Q=(0,i.useState)(null),ee=Q[0],et=Q[1],en=(0,i.useState)(null),er=en[0],ei=en[1],eo=(0,u.D)(ee,er,{placement:"top-end"}),ea=eo.attributes,es=eo.styles,el=(0,i.useMemo)(function(){return(0,d.x0)()},[]),eu=(0,i.useMemo)(function(){return n.reduce(function(e,t){var n;return null!==(n=e[t])&&void 0!==n||(e[t]=[]),e},{})},[n]),ec=(0,c.uI)({accept:eu,disabled:!T||0===P,multiple:o,noClick:!0,onDrop:B}),ed=ec.getRootProps,ef=ec.isDragActive,eh=ec.isDragReject,ep=!L&&a&&!a.parent_id;return i.createElement(i.Fragment,null,i.createElement("div",(0,r.pi)({},ed({className:"str-chat__message-input"})),E&&i.createElement(void 0===Z?k:Z,{linkPreviews:Array.from(O.values())}),ef&&i.createElement("div",{className:(0,l.Z)("str-chat__dropzone-container",{"str-chat__dropzone-container--not-accepted":eh})},!eh&&i.createElement("p",null,m("Drag your files here")),eh&&i.createElement("p",null,m("Some of the files will not be accepted"))),ep&&i.createElement(p.y,null),i.createElement("div",{className:"str-chat__message-input-inner"},i.createElement("div",{className:"str-chat__file-input-container","data-testid":"file-upload-button"},i.createElement(s.p,{accept:null==n?void 0:n.join(","),"aria-label":"File upload",className:"str-chat__file-input","data-testid":"file-input",disabled:!T||0===P,id:el,multiple:o,onFileChange:B}),i.createElement("label",{className:"str-chat__file-input-label",htmlFor:el},i.createElement(Y,null))),i.createElement("div",{className:"str-chat__message-textarea-container"},ep&&i.createElement(J,{quotedMessage:a}),T&&!!F&&i.createElement(void 0===z?b:z,null),i.createElement("div",{className:"str-chat__message-textarea-with-emoji-picker"},i.createElement(M.T,null),i.createElement("div",{className:"str-chat__message-textarea-emoji-picker"},D&&i.createElement("div",(0,r.pi)({className:"str-chat__message-textarea-emoji-picker-container",style:es.popper},ea.popper,{ref:ei}),i.createElement(f.h,null)),i.createElement("button",{"aria-label":"Emoji picker",className:"str-chat__emoji-picker-button",onClick:D?w:A,ref:et,type:"button"},i.createElement(W,null))))),!S&&i.createElement(i.Fragment,null,_?i.createElement(V,{cooldownInterval:_,setCooldownRemaining:N}):i.createElement(X,{disabled:!F&&!I.length,sendMessage:C})))))}},53496:function(e,t,n){"use strict";n.d(t,{b:function(){return d},y:function(){return c}});var r=n(2265),i=n(77815),o=n(56604),a=n(92765),s=n(97959),l=n(33600),u=n(40311),c=function(){var e=(0,a.uz)("QuotedMessagePreview").setQuotedMessage,t=(0,l.Ht)("QuotedMessagePreview").t;return r.createElement("div",{className:"quoted-message-preview-header str-chat__quoted-message-preview-header"},r.createElement("div",{className:"str-chat__quoted-message-reply-to-message"},t("Reply to Message")),r.createElement("button",{"aria-label":"Cancel Reply",className:"str-chat__square-button str-chat__quoted-message-remove",onClick:function(){return e(void 0)}},r.createElement(o.Tw,null)))},d=function(e){var t,n=e.quotedMessage,o=(0,s.yM)("QuotedMessagePreview"),a=o.Attachment,d=o.Avatar,f=void 0===d?i.q:d,h=(0,l.Ht)("QuotedMessagePreview").userLanguage,p=(0,u.mx)("QuotedMessagePreview").themeVersion,m=(null===(t=n.i18n)||void 0===t?void 0:t["".concat(h,"_text")])||n.text,g=(0,r.useMemo)(function(){var e,t=(null!==(e=n.attachments)&&void 0!==e?e:[])[0];return t?[t]:[]},[n.attachments]);return m||g?r.createElement("div",{className:"quoted-message-preview","data-testid":"quoted-message-preview"},"1"===p&&r.createElement(c,null),r.createElement("div",{className:"quoted-message-preview-content str-chat__quoted-message-preview"},n.user&&r.createElement(f,{image:n.user.image,name:n.user.name||n.user.id,size:20,user:n.user}),r.createElement("div",{className:"quoted-message-preview-content-inner str-chat__quoted-message-bubble"},!!g.length&&r.createElement(a,{attachments:g}),r.createElement("div",{className:"str-chat__quoted-message-text","data-testid":"quoted-message-text"},"2"===p&&r.createElement("p",null,m),"1"===p&&r.createElement(r.Fragment,null,m))))):null}},42830:function(e,t,n){"use strict";n.d(t,{_:function(){return x}});var r=n(2265),i=function(e){var t=e.backgroundColor,n=e.color,i=e.size,o=void 0===i?20:i,a=e.width;return r.createElement("div",{className:"rfu-loading-indicator__spinner",style:{borderColor:t||"",borderTopColor:n||"",borderWidth:(void 0===a?2:a)||"",height:o||"",margin:"0 auto",width:o||""}})},o=function(e){var t=e.children,n=e.onClick;return r.createElement("button",{"aria-label":"Cancel upload",className:"rfu-icon-button","data-testid":"cancel-upload-button",onClick:n,type:"button"},t)},a=function(){return r.createElement("svg",{height:"28",viewBox:"0 0 28 28",width:"28",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},r.createElement("defs",null,r.createElement("path",{d:"M465 5c5.53 0 10 4.47 10 10s-4.47 10-10 10-10-4.47-10-10 4.47-10 10-10zm3.59 5L465 13.59 461.41 10 460 11.41l3.59 3.59-3.59 3.59 1.41 1.41 3.59-3.59 3.59 3.59 1.41-1.41-3.59-3.59 3.59-3.59-1.41-1.41z",id:"b"}),r.createElement("filter",{filterUnits:"objectBoundingBox",height:"160%",id:"a",width:"160%",x:"-30%",y:"-30%"},r.createElement("feOffset",{in:"SourceAlpha",result:"shadowOffsetOuter1"}),r.createElement("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"2"}),r.createElement("feColorMatrix",{in:"shadowBlurOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}))),r.createElement("g",{fill:"none",fillRule:"nonzero",transform:"translate(-451 -1)"},r.createElement("use",{fill:"#000",filter:"url(#a)",xlinkHref:"#b"}),r.createElement("use",{fill:"#FFF",fillRule:"evenodd",xlinkHref:"#b"})))},s=n(11735),l=function(e){return r.createElement("svg",(0,s.pi)({role:"img",viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("g",null,r.createElement("path",{d:"M0.000 200.000 L 0.000 400.000 200.000 400.000 L 400.000 400.000 400.000 200.000 L 400.000 0.000 200.000 0.000 L 0.000 0.000 0.000 200.000 M243.085 68.180 C 251.168 72.240,252.758 82.164,246.332 88.456 C 242.609 92.102,249.072 91.774,176.600 92.000 L 112.600 92.200 111.000 93.165 C 107.620 95.203,105.382 98.131,104.780 101.304 C 104.548 102.526,104.400 132.258,104.400 177.461 C 104.400 261.065,104.646 254.561,101.340 258.340 C 95.134 265.435,84.540 263.898,80.562 255.326 L 79.600 253.251 79.600 170.356 L 79.600 87.460 80.613 84.526 C 83.246 76.897,91.469 68.511,96.439 68.386 C 96.747 68.378,97.450 68.114,98.000 67.800 C 98.856 67.311,109.214 67.226,170.067 67.214 L 241.134 67.200 243.085 68.180 M230.400 116.002 C 236.845 117.273,237.603 117.566,242.024 120.500 C 243.269 121.327,256.977 134.788,274.002 151.902 C 299.664 177.700,305.143 183.306,307.142 185.815 C 307.838 186.688,309.600 190.497,309.602 191.133 C 309.604 191.500,309.919 192.340,310.302 193.000 C 310.956 194.125,311.007 197.998,311.108 254.600 L 311.215 315.000 310.241 318.000 C 307.327 326.967,302.400 332.072,293.800 335.031 L 291.000 335.994 219.630 335.997 L 148.260 336.000 145.430 335.018 C 140.319 333.244,139.684 332.841,134.862 328.318 C 132.616 326.212,129.907 321.565,129.427 318.997 C 129.263 318.118,128.920 317.147,128.664 316.839 C 128.315 316.416,128.200 294.170,128.200 227.039 L 128.200 137.800 129.067 134.600 C 129.543 132.840,130.393 130.590,130.954 129.600 C 131.515 128.610,132.247 127.320,132.580 126.733 C 134.155 123.961,138.478 120.313,143.000 117.940 C 144.003 117.414,146.644 116.725,151.000 115.853 C 152.661 115.520,228.681 115.664,230.400 116.002 M226.250 137.650 C 225.849 139.656,225.987 187.508,226.403 190.713 C 227.174 196.647,230.700 200.107,237.136 201.245 C 239.519 201.666,290.972 201.562,291.398 201.135 C 291.727 200.807,227.629 136.400,226.974 136.400 C 226.713 136.400,226.388 136.963,226.250 137.650",fill:"#fcfcfc",fillRule:"evenodd",stroke:"none"}),r.createElement("path",{d:"M98.000 67.800 C 97.450 68.114,96.747 68.378,96.439 68.386 C 91.469 68.511,83.246 76.897,80.613 84.526 L 79.600 87.460 79.600 170.356 L 79.600 253.251 80.562 255.326 C 84.540 263.898,95.134 265.435,101.340 258.340 C 104.646 254.561,104.400 261.065,104.400 177.461 C 104.400 132.258,104.548 102.526,104.780 101.304 C 105.382 98.131,107.620 95.203,111.000 93.165 L 112.600 92.200 176.600 92.000 C 249.072 91.774,242.609 92.102,246.332 88.456 C 252.758 82.164,251.168 72.240,243.085 68.180 L 241.134 67.200 170.067 67.214 C 109.214 67.226,98.856 67.311,98.000 67.800 M151.000 115.853 C 146.644 116.725,144.003 117.414,143.000 117.940 C 138.478 120.313,134.155 123.961,132.580 126.733 C 132.247 127.320,131.515 128.610,130.954 129.600 C 130.393 130.590,129.543 132.840,129.067 134.600 L 128.200 137.800 128.200 227.039 C 128.200 294.170,128.315 316.416,128.664 316.839 C 128.920 317.147,129.263 318.118,129.427 318.997 C 129.907 321.565,132.616 326.212,134.862 328.318 C 139.684 332.841,140.319 333.244,145.430 335.018 L 148.260 336.000 219.630 335.997 L 291.000 335.994 293.800 335.031 C 302.400 332.072,307.327 326.967,310.241 318.000 L 311.215 315.000 311.108 254.600 C 311.007 197.998,310.956 194.125,310.302 193.000 C 309.919 192.340,309.604 191.500,309.602 191.133 C 309.600 190.497,307.838 186.688,307.142 185.815 C 305.143 183.306,299.664 177.700,274.002 151.902 C 238.906 116.622,240.594 118.012,230.400 116.002 C 228.681 115.664,152.661 115.520,151.000 115.853 M259.556 168.635 C 277.215 186.364,291.544 200.989,291.398 201.135 C 290.972 201.562,239.519 201.666,237.136 201.245 C 230.700 200.107,227.174 196.647,226.403 190.713 C 225.460 183.450,225.955 136.400,226.974 136.400 C 227.235 136.400,241.897 150.906,259.556 168.635",fill:"#e4e4e4",fillRule:"evenodd",stroke:"none"})))},u=function(e){var t=e.alt,n=e.handleClose,i=e.image,s=e.size,u=void 0===s?100:s,c=(0,r.useCallback)(function(e){return null==n?void 0:n(e)},[n]);return r.createElement("div",{className:"rfu-thumbnail__wrapper",style:{height:u,width:u}},r.createElement("div",{className:"rfu-thumbnail__overlay"},n?r.createElement(o,{onClick:c},r.createElement(a,null)):null),i?r.createElement("img",{alt:null!=t?t:"",className:"rfu-thumbnail__image",src:i}):r.createElement(l,{className:"rfu-thumbnail__image",preserveAspectRatio:"xMinYMin slice"}))},c=function(){return r.createElement("svg",{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M2 0h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm3 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM2 16v2h16v-6l-3-3-6 6-3-3-4 4z",fillRule:"nonzero"}))},d=n(5289),f=function(e){var t=e.multiple,n=e.disabled,i=e.handleFiles,o=e.children,a=void 0===o?r.createElement(c,null):o,s=e.resetOnChange;return r.createElement("div",{className:"rfu-image-upload-button"},r.createElement("label",null,r.createElement(d.p,{accept:"image/*","aria-label":"Image input",className:"rfu-image-input",disabled:void 0!==n&&n,multiple:void 0!==t&&t,onFileChange:i,resetOnChange:void 0!==s&&s}),a))},h=function(e){var t=e.handleFiles,n=e.multiple;return r.createElement(f,{handleFiles:t,multiple:void 0!==n&&n},r.createElement("div",{className:"rfu-thumbnail-placeholder"},r.createElement("svg",{height:"15",viewBox:"0 0 14 15",width:"14",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M14 8.998H8v6H6v-6H0v-2h6v-6h2v6h6z",fill:"#A0B2B8",fillRule:"nonzero"}))))},p=function(){return r.createElement("svg",{height:"20",viewBox:"0 0 22 20",width:"22",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M20 5.535V2a1 1 0 0 1 2 0v6a1 1 0 0 1-1 1h-6a1 1 0 0 1 0-2h3.638l-2.975-2.653a8 8 0 1 0 1.884 8.32 1 1 0 1 1 1.886.666A10 10 0 1 1 5.175 1.245c3.901-2.15 8.754-1.462 11.88 1.667L20 5.535z",fill:"#FFF",fillRule:"nonzero"}))},m=n(44839),g=function(e){var t=e.disabled,n=e.handleFiles,o=e.handleRemove,a=e.handleRetry,s=e.imageUploads,l=e.multiple,c=(0,r.useCallback)(function(e,t){if(!e)return console.warn('image.id of closed image was "null", this shouldn\'t happen');null==o||o(e,t)},[o]);return r.createElement("div",{className:"rfu-image-previewer"},null==s?void 0:s.map(function(e){var t=e.url||e.previewUri;return r.createElement("div",{className:(0,m.Z)("rfu-image-previewer__image","finished"===e.state&&"rfu-image-previewer__image--loaded"),key:e.id},"failed"===e.state&&r.createElement("button",{"aria-label":"Retry upload",className:"rfu-image-previewer__retry",onClick:function(t){return null==a?void 0:a(e.id,t)},type:"button"},r.createElement(p,null)),t&&r.createElement(u,{handleClose:function(t){return c(e.id,t)},image:t}),"uploading"===e.state&&r.createElement(i,{backgroundColor:"#ffffff19",color:"#ffffffb2"}))}),n&&!(void 0!==t&&t)&&r.createElement(h,{handleFiles:n,multiple:void 0===l||l}))},v=n(27988),y=function(e){var t=e.fileIconProps,n=void 0===t?{}:t,o=e.uploads,a=e.handleRemove,l=e.handleRetry;return r.createElement("div",{className:"rfu-file-previewer"},r.createElement("ol",null,null==o?void 0:o.map(function(e){return r.createElement("li",{className:"rfu-file-previewer__file ".concat("uploading"===e.state?"rfu-file-previewer__file--uploading":""," ").concat("failed"===e.state?"rfu-file-previewer__file--failed":""),key:e.id},r.createElement(v.a,(0,s.pi)({mimeType:e.file.type},n)),r.createElement("a",{download:!0,href:e.url},e.file.name,"failed"===e.state&&r.createElement(r.Fragment,null,r.createElement("div",{className:"rfu-file-previewer__failed",onClick:function(){return null==l?void 0:l(e.id)}},"failed"),r.createElement("div",{className:"rfu-file-previewer__retry",onClick:function(){return null==l?void 0:l(e.id)}},"retry"))),r.createElement("span",{className:"rfu-file-previewer__close-button",onClick:a&&function(){return a(e.id)}},"✘"),"uploading"===e.state&&r.createElement("div",{className:"rfu-file-previewer__loading-indicator"},r.createElement(i,null)))})))},b=n(61612),w=n(74745),_=n(40311),x=function(){var e=(0,_.mx)("UploadsPreview").themeVersion,t=(0,b.JN)("UploadsPreview"),n=t.maxNumberOfFiles,i=t.multipleUploads,o=(0,w.Nc)("UploadsPreview"),a=o.fileOrder,s=o.fileUploads,l=o.imageOrder,u=o.imageUploads,c=o.numberOfUploads,d=o.removeFile,f=o.removeImage,h=o.uploadFile,p=o.uploadImage,m=o.uploadNewFiles,v=l.map(function(e){return u[e]}).filter(function(e){return!e.og_scrape_url}),x=a.map(function(e){return s[e]});return r.createElement(r.Fragment,null,l.length>0&&r.createElement(g,{disabled:!i||(void 0===c?0:c)>=(void 0===n?0:n),handleFiles:m,handleRemove:f,handleRetry:p,imageUploads:v,multiple:i}),a.length>0&&r.createElement(y,{fileIconProps:{className:"str-chat__file-icon",version:e},handleFiles:m,handleRemove:d,handleRetry:h,uploads:x}))}},67378:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(11735),i=n(2265),o=n(40311),a=n(61612),s=function(){var e,t=(0,o.mx)("useCooldownTimer"),n=t.client,s=t.latestMessageDatesByChannels,l=(0,a.JN)("useCooldownTimer"),u=l.channel,c=l.messages,d=void 0===c?[]:c,f=(0,i.useState)(),h=f[0],p=f[1],m=u.data||{},g=m.cooldown,v=void 0===g?0:g,y=m.own_capabilities,b=null==y?void 0:y.includes("skip-slow-mode"),w=(0,i.useMemo)(function(){var e,t;return null!==(e=s[u.cid])&&void 0!==e?e:null===(t=(0,r.ev)([],d,!0).sort(function(e,t){var n,r;return(null===(n=t.created_at)||void 0===n?void 0:n.getTime())-(null===(r=e.created_at)||void 0===r?void 0:r.getTime())}).find(function(e){var t,r;return(null===(t=e.user)||void 0===t?void 0:t.id)===(null===(r=n.user)||void 0===r?void 0:r.id)}))||void 0===t?void 0:t.created_at},[d,null===(e=n.user)||void 0===e?void 0:e.id,s,u.cid]);return(0,i.useEffect)(function(){var e=w?Math.max(0,(new Date().getTime()-w.getTime())/1e3):void 0;p(!b&&void 0!==e&&v>e?Math.round(v-e):0)},[v,w,b]),{cooldownInterval:v,cooldownRemaining:h,setCooldownRemaining:p}}},92560:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(2265),i=function(e){var t=e.additionalTextareaProps,n=e.attachments,i=e.autocompleteTriggers,o=e.cancelURLEnrichment,a=e.clearEditingState,s=e.closeCommandsList,l=e.closeEmojiPicker,u=e.closeMentionsList,c=e.cooldownInterval,d=e.cooldownRemaining,f=e.disabled,h=e.disableMentions,p=e.dismissLinkPreview,m=e.doFileUploadRequest,g=e.doImageUploadRequest,v=e.emojiIndex,y=e.emojiPickerIsOpen,b=e.emojiPickerRef,w=e.errorHandler,_=e.fileOrder,x=e.fileUploads,D=e.findAndEnqueueURLsToEnrich,E=e.focus,C=e.grow,k=e.handleChange,S=e.handleEmojiKeyDown,T=e.handleSubmit,M=e.hideSendButton,O=e.imageOrder,P=e.imageUploads,R=e.insertText,j=e.isUploadEnabled,L=e.linkPreviews,F=e.maxFilesLeft,A=e.maxRows,N=e.mentionAllAppUsers,I=e.mentioned_users,B=e.mentionQueryParams,U=e.message,z=e.noFiles,H=e.numberOfUploads,V=e.onPaste,q=e.onSelectEmoji,W=e.onSelectUser,$=e.openCommandsList,Y=e.openEmojiPicker,Z=e.openMentionsList,G=e.overrideSubmitHandler,J=e.parent,K=e.publishTypingEvent,X=e.removeFile,Q=e.removeImage,ee=e.setCooldownRemaining,et=e.setText,en=e.shouldSubmit,er=e.showCommandsList,ei=e.showMentionsList,eo=e.text,ea=e.textareaRef,es=e.uploadFile,el=e.uploadImage,eu=e.uploadNewFiles,ec=e.useMentionsTransliteration,ed=null==U?void 0:U.editing,ef=Object.entries(x).map(function(e){return e[0],e[1].state}).join(),eh=Object.entries(P).map(function(e){return e[0],e[1].state}).join(),ep=Array.from(L.values()).join(),em=I.length,eg=null==J?void 0:J.id;return(0,r.useMemo)(function(){return{additionalTextareaProps:t,attachments:n,autocompleteTriggers:i,cancelURLEnrichment:o,clearEditingState:a,closeCommandsList:s,closeEmojiPicker:l,closeMentionsList:u,cooldownInterval:c,cooldownRemaining:d,disabled:f,disableMentions:h,dismissLinkPreview:p,doFileUploadRequest:m,doImageUploadRequest:g,emojiIndex:v,emojiPickerIsOpen:y,emojiPickerRef:b,errorHandler:w,fileOrder:_,fileUploads:x,findAndEnqueueURLsToEnrich:D,focus:E,grow:C,handleChange:k,handleEmojiKeyDown:S,handleSubmit:T,hideSendButton:M,imageOrder:O,imageUploads:P,insertText:R,isUploadEnabled:j,linkPreviews:L,maxFilesLeft:F,maxRows:A,mentionAllAppUsers:N,mentioned_users:I,mentionQueryParams:B,message:U,noFiles:z,numberOfUploads:H,onPaste:V,onSelectEmoji:q,onSelectUser:W,openCommandsList:$,openEmojiPicker:Y,openMentionsList:Z,overrideSubmitHandler:G,parent:J,publishTypingEvent:K,removeFile:X,removeImage:Q,setCooldownRemaining:ee,setText:et,shouldSubmit:en,showCommandsList:er,showMentionsList:ei,text:eo,textareaRef:ea,uploadFile:es,uploadImage:el,uploadNewFiles:eu,useMentionsTransliteration:ec}},[o,c,d,p,ed,y,ef,D,M,eh,j,ep,em,eg,K,er,ei,eo,T])}},43751:function(e,t,n){"use strict";n.d(t,{k:function(){return M}});var r=n(11735),i=n(2265),o=n(91116),a=n(61612),s=n(86390),l=function(){var e=(0,s.uL)("useEmojiIndex"),t=e.emojiConfig,n=e.EmojiIndex,r=(t||{}).emojiData;return(0,i.useMemo)(function(){if(n)return new n(r)},[r,n])},u=n(73268),c=n(92765),d=n(40311),f=n(33600),h=function(e,t,n){var o=e.doImageUploadRequest,s=e.errorHandler,l=t.imageUploads,h=(0,a.JN)("useImageUploads").channel,p=(0,d.mx)("useImageUploads").getAppSettings,m=(0,c.uz)("useImageUploads").addNotification,g=(0,f.Ht)("useImageUploads").t,v=(0,i.useCallback)(function(e){n({id:e,type:"removeImageUpload"})},[]),y=(0,i.useCallback)(function(e){return(0,r.mG)(void 0,void 0,void 0,function(){var t,i,a,c,d,f;return(0,r.Jh)(this,function(y){switch(y.label){case 0:if(!(t=l[e]))return[2];return i=t.file,"uploading"!==t.state&&n({id:e,state:"uploading",type:"setImageUpload"}),[4,(0,u.kx)({addNotification:m,file:i,getAppSettings:p,t:g,uploadType:"image"})];case 1:if(!y.sent())return[2,v(e)];y.label=2;case 2:if(y.trys.push([2,7,,8]),!o)return[3,4];return[4,o(i,h)];case 3:return a=y.sent(),[3,6];case 4:return[4,h.sendImage(i)];case 5:a=y.sent(),y.label=6;case 6:return[3,8];case 7:return m("string"==typeof(c=y.sent()).message?c.message:g("Error uploading image"),"error"),d=!1,l[e]?n({id:e,state:"failed",type:"setImageUpload"}):d=!0,!d&&s&&s(c,"upload-image",(0,r.pi)((0,r.pi)({},i),{id:e})),[2];case 8:if(!a)return v(e),[2];return t.previewUri&&(null===(f=URL.revokeObjectURL)||void 0===f||f.call(URL,t.previewUri)),n({id:e,previewUri:void 0,state:"finished",type:"setImageUpload",url:a.file}),[2]}})})},[l,h,o,s,v]);return(0,i.useEffect)(function(){var e=Object.values(l).find(function(e){return"uploading"===e.state&&e.file});e&&y(e.id)},[l,y]),{removeImage:v,uploadImage:y}},p=function(e,t,n){var o=e.doFileUploadRequest,s=e.errorHandler,l=t.fileUploads,h=(0,a.JN)("useFileUploads").channel,p=(0,c.uz)("useFileUploads").addNotification,m=(0,d.mx)("useFileUploads").getAppSettings,g=(0,f.Ht)("useFileUploads").t,v=(0,i.useCallback)(function(e){n({id:e,state:"uploading",type:"setFileUpload"})},[]),y=(0,i.useCallback)(function(e){n({id:e,type:"removeFileUpload"})},[]);return(0,i.useEffect)(function(){(0,r.mG)(void 0,void 0,void 0,function(){var e,t,i,a,c,d;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!(e=Object.values(l).find(function(e){return"uploading"===e.state&&e.file})))return[2];return t=e.file,i=e.id,[4,(0,u.kx)({addNotification:p,file:t,getAppSettings:m,t:g,uploadType:"file"})];case 1:if(!r.sent())return[2,y(i)];r.label=2;case 2:if(r.trys.push([2,7,,8]),!o)return[3,4];return[4,o(t,h)];case 3:return a=r.sent(),[3,6];case 4:return[4,h.sendFile(t)];case 5:a=r.sent(),r.label=6;case 6:return[3,8];case 7:return p("string"==typeof(c=r.sent()).message?c.message:g("Error uploading file"),"error"),d=!1,l[i]?n({id:i,state:"failed",type:"setFileUpload"}):d=!0,!d&&s&&s(c,"upload-file",t),[2];case 8:if(!a)return y(i),[2];return n({id:i,state:"finished",thumb_url:a.thumb_url,type:"setFileUpload",url:a.file}),[2]}})})},[l,h,o,s,y]),{removeFile:y,uploadFile:v}},m=function(e,t,n,r){var s=e.noFiles,l=t.fileUploads,u=t.imageUploads,c=(0,a.JN)("useAttachments"),d=c.maxNumberOfFiles,f=c.multipleUploads,m=p(e,t,n),g=m.removeFile,v=m.uploadFile,y=h(e,t,n),b=y.removeImage,w=y.uploadImage,_=Object.values(u).filter(function(e){var t=e.og_scrape_url;return"failed"!==e.state&&!t}).length+Object.values(l).filter(function(e){return"failed"!==e.state}).length,x=(f?d||10:1)-_,D=(0,i.useCallback)(function(e){var t;Array.from(e).slice(0,x).forEach(function(e){var t,r=(0,o.x0)();e.type.startsWith("image/")&&!e.type.endsWith(".photoshop")?n({file:e,id:r,previewUri:null===(t=URL.createObjectURL)||void 0===t?void 0:t.call(URL,e),state:"uploading",type:"setImageUpload"}):e instanceof File&&!s&&n({file:e,id:r,state:"uploading",type:"setFileUpload"})}),null===(t=null==r?void 0:r.current)||void 0===t||t.focus()},[x,s]);return{maxFilesLeft:x,numberOfUploads:_,removeFile:g,removeImage:b,uploadFile:v,uploadImage:w,uploadNewFiles:D}},g=n(55644),v=function(e,t,n,r){var o=(0,a.JN)("useMessageInputText").channel,s=e.additionalTextareaProps,l=e.focus,u=e.parent,c=e.publishTypingEvent,d=void 0===c||c,f=t.text,h=(0,i.useRef)();(0,i.useEffect)(function(){l&&h.current&&h.current.focus()},[l]);var p=(0,i.useRef)(),m=(0,i.useCallback)(function(e){var t=(s||{}).maxLength;if(!h.current){n({getNewText:function(n){var r=n+e;return t&&r.length>t?r.slice(0,t):r},type:"setText"});return}var r=h.current,i=r.selectionEnd,o=r.selectionStart;p.current=o+e.length,n({getNewText:function(n){var r=n.slice(0,o)+e+n.slice(i);return t&&r.length>t?r.slice(0,t):r},type:"setText"})},[s,p,h]);return(0,i.useEffect)(function(){var e=h.current;e&&void 0!==p.current&&(e.selectionStart=p.current,e.selectionEnd=p.current,p.current=void 0)},[f,p]),{handleChange:(0,i.useCallback)(function(e){if(e.preventDefault(),e&&e.target){var t=e.target.value;n({getNewText:function(){return t},type:"setText"}),null==r||r(t),d&&t&&o&&(0,g.t1)(o.keystroke(null==u?void 0:u.id),"start typing event")}},[o,r,u,d]),insertText:m,textareaRef:h}},y=function(e,t,n,r,o){var a=(0,i.useRef)(null),s=(0,i.useCallback)(function(e){e.preventDefault(),a.current&&!a.current.contains(e.target)&&t({type:"setEmojiPickerIsOpen",value:!1})},[a]),l=(0,i.useCallback)(function(e){e.preventDefault(),t({type:"setEmojiPickerIsOpen",value:!0}),e.stopPropagation()},[]),u=function(e){"Escape"===e.key&&t({type:"setEmojiPickerIsOpen",value:!1})};return(0,i.useEffect)(function(){return e.emojiPickerIsOpen&&(document.addEventListener("click",s,!1),document.addEventListener("keydown",u)),function(){document.removeEventListener("click",s,!1),document.removeEventListener("keydown",u)}},[s,e.emojiPickerIsOpen]),{closeEmojiPicker:s,emojiPickerRef:a,handleEmojiKeyDown:function(e){(" "===e.key||"Enter"===e.key||"Spacebar"===e.key)&&(e.preventDefault(),l(e))},onSelectEmoji:(0,i.useCallback)(function(e){var i;n(e.native),o&&t({type:"setEmojiPickerIsOpen",value:!1}),null===(i=null==r?void 0:r.current)||void 0===i||i.focus()},[n]),openEmojiPicker:l}},b=n(6996),w=function(e,t,n,o,s){var l=e.clearEditingState,u=e.message,d=e.overrideSubmitHandler,h=e.parent,p=e.publishTypingEvent,m=t.attachments,g=t.fileOrder,v=t.fileUploads,y=t.imageOrder,w=t.imageUploads,_=t.linkPreviews,x=t.mentioned_users,D=t.text,E=s.cancelURLEnrichment,C=s.findAndEnqueueURLsToEnrich,k=(0,a.JN)("useSubmitHandler").channel,S=(0,c.uz)("useSubmitHandler"),T=S.addNotification,M=S.editMessage,O=S.sendMessage,P=(0,f.Ht)("useSubmitHandler").t,R=(0,i.useRef)({hasChanged:!1,initialText:D});(0,i.useEffect)(function(){if(!R.current.initialText.length){R.current.initialText=D;return}R.current.hasChanged=D!==R.current.initialText},[D]);var j=function(){var e=y.map(function(e){return w[e]}).filter(function(e){return"failed"!==e.state}).filter(function(e,t,n){var r=e.id,i=e.url;return n.every(function(e){return e.id===r||e.url!==i})}).filter(function(e){return!R.current.hasChanged||!e.og_scrape_url}).map(function(e){var t=e.file.name,n=e.url,i=(0,r._T)(e,["file","url"]);return{author_name:i.author_name,fallback:t,image_url:n,og_scrape_url:i.og_scrape_url,text:i.text,title:i.title,title_link:i.title_link,type:"image"}}),t=g.map(function(e){return v[e]}).filter(function(e){return"failed"!==e.state}).map(function(e){var t;return{asset_url:e.url,file_size:e.file.size,mime_type:e.file.type,thumb_url:e.thumb_url,title:e.file.name,type:(t=e.file.type||"").includes("video/")?"video":t.includes("audio/")?"audio":"file"}});return(0,r.ev)((0,r.ev)((0,r.ev)([],m,!0),e,!0),t,!0)};return{handleSubmit:function(e,t){return(0,r.mG)(void 0,void 0,void 0,function(){var i,a,s,c,f,m,g,y,S,R;return(0,r.Jh)(this,function(L){switch(L.label){case 0:if(e.preventDefault(),(""===(i=D.trim())||">"===i||"``````"===i||"``"===i||"**"===i||"____"===i||"__"===i||"****"===i)&&0===o)return[2];if(Object.values(w).some(function(e){return"uploading"===e.state})||Object.values(v).some(function(e){return"uploading"===e.state}))return[2,T(P("Wait until all attachments have uploaded"),"error")];if(a=j(),s=[],C&&(a=a.filter(function(e){return!e.og_scrape_url}),E(),c=Array.from(_.values()).some(function(e){return[b.G.QUEUED,b.G.LOADING].includes(e.state)}),f=Array.from(_.values()).some(function(e){return e.state===b.G.DISMISSED}),c||(s=Array.from(_.values()).filter(function(e){return e.state===b.G.LOADED&&!a.find(function(t){return t.og_scrape_url===e.og_scrape_url})}).map(function(e){return e.state,(0,r._T)(e,["state"])}))),g={attachments:(0,r.ev)((0,r.ev)([],a,!0),s,!0),mentioned_users:m=Array.from(new Set(x.filter(function(e){var t=e.id,n=e.name;return D.includes("@".concat(t))||D.includes("@".concat(n))}))),text:D},S=(y=!!C)&&(!c&&s.length>0||f),R=y?{skip_enrich_url:S}:void 0,!u)return[3,5];delete u.i18n,L.label=1;case 1:return L.trys.push([1,3,,4]),[4,M((0,r.pi)((0,r.pi)((0,r.pi)({},u),g),t),R)];case 2:return L.sent(),null==l||l(),n({type:"clear"}),[3,4];case 3:return L.sent(),T(P("Edit message request failed"),"error"),[3,4];case 4:return[3,13];case 5:if(L.trys.push([5,12,,13]),n({type:"clear"}),!d)return[3,7];return[4,d((0,r.pi)((0,r.pi)({},g),{parent:h}),k.cid,t,R)];case 6:return L.sent(),[3,9];case 7:return[4,O((0,r.pi)((0,r.pi)({},g),{parent:h}),t,R)];case 8:L.sent(),L.label=9;case 9:if(!p)return[3,11];return[4,k.stopTyping()];case 10:L.sent(),L.label=11;case 11:return[3,13];case 12:return L.sent(),n({getNewText:function(){return D},type:"setText"}),null==m||m.forEach(function(e){n({type:"addMentionedUser",user:e})}),T(P("Send message request failed"),"error"),[3,13];case 13:return[2]}})})}}},_=n(94361),x=n(72799),D=n(2151),E=n.n(D),C=function(e){var t,n=e.debounceURLEnrichmentMs,o=e.dispatch,s=e.enrichURLForPreview,l=e.findURLFn,u=e.linkPreviews,c=e.onLinkPreviewDismissed,f=(0,d.mx)().client,h=(0,a.JN)(),p=h.channelConfig,m=h.debounceURLEnrichmentMs,g=h.findURLFn,v=h.onLinkPreviewDismissed,y=(0,i.useRef)(!1),w=null!=l?l:g,_=null!=c?c:v,D=null!==(t=null!=n?n:m)&&void 0!==t?t:1500,C=(0,i.useCallback)(function(e){null==_||_(e);var t=new Map;e.state=b.G.DISMISSED,t.set(e.og_scrape_url,e),o({linkPreviews:t,mode:b.l.UPSERT,type:"setLinkPreviews"})},[_]),k=(0,i.useCallback)(E()(function(e,t){void 0===t&&(t=b.l.SET);var n=w?w(e):(0,x.sE)(e,"url").reduce(function(e,t){return t.isLink&&e.push(t.href),e},[]);y.current=0===n.length,o({linkPreviews:n.reduce(function(e,t){return e.set(t,{og_scrape_url:t,state:b.G.QUEUED}),e},new Map),mode:t,type:"setLinkPreviews"})},D,{leading:!1,trailing:!0}),[D,y,w]),S=(0,i.useCallback)(function(){k.cancel(),k(""),k.flush()},[k]);return(0,i.useEffect)(function(){var e=Array.from(u.values()).reduce(function(e,t){if("queued"===t.state){var n=(0,r.pi)((0,r.pi)({},t),{state:b.G.LOADING});e.set(t.og_scrape_url,n)}return e},new Map);e.size&&(o({linkPreviews:e,mode:b.l.UPSERT,type:"setLinkPreviews"}),e.forEach(function(e){f.enrichURL(e.og_scrape_url).then(function(t){t.duration;var n=(0,r._T)(t,["duration"]);if(!y.current){var i=new Map;i.set(e.og_scrape_url,(0,r.pi)((0,r.pi)({},n),{state:b.G.LOADED})),o({linkPreviews:i,mode:b.l.UPSERT,type:"setLinkPreviews"})}}).catch(function(){var t=new Map;t.set(e.og_scrape_url,(0,r.pi)((0,r.pi)({},e),{state:b.G.FAILED})),o({linkPreviews:t,mode:b.l.UPSERT,type:"setLinkPreviews"})})}))},[y,u]),{cancelURLEnrichment:S,dismissLinkPreview:C,findAndEnqueueURLsToEnrich:(null==p?void 0:p.url_enrichment)&&void 0!==s&&s?k:void 0}},k=function(){return{attachments:[],emojiPickerIsOpen:!1,fileOrder:[],fileUploads:{},imageOrder:[],imageUploads:{},linkPreviews:new Map,mentioned_users:[],setText:function(){return null},text:""}},S=function(e){if(!e)return k();var t,n,i,a,s,l,u,c=null!==(n=null===(t=e.attachments)||void 0===t?void 0:t.filter(function(e){return"image"===e.type}).reduce(function(e,t){var n=t.author_name,r=t.fallback,i=t.image_url,a=t.og_scrape_url,s=t.text,l=t.title,u=t.title_link,c=(0,o.x0)();return e[c]={author_name:n,file:{name:void 0===r?"":r},id:c,og_scrape_url:a,state:"finished",text:s,title:l,title_link:u,url:i},e},{}))&&void 0!==n?n:{},d=null!==(a=null===(i=e.attachments)||void 0===i?void 0:i.filter(function(e){return"file"===e.type}).reduce(function(e,t){var n=t.asset_url,r=t.file_size,i=t.mime_type,a=t.thumb_url,s=t.title,l=(0,o.x0)();return e[l]={file:{name:void 0===s?"":s,size:r,type:i},id:l,state:"finished",thumb_url:a,url:n},e},{}))&&void 0!==a?a:{},f=null!==(l=null===(s=e.attachments)||void 0===s?void 0:s.reduce(function(e,t){return t.og_scrape_url&&e.set(t.og_scrape_url,(0,r.pi)((0,r.pi)({},t),{state:b.G.LOADED})),e},new Map))&&void 0!==l?l:new Map,h=Object.keys(c),p=Object.keys(d);return{attachments:(null===(u=e.attachments)||void 0===u?void 0:u.filter(function(e){var t=e.type;return"file"!==t&&"image"!==t}))||[],emojiPickerIsOpen:!1,fileOrder:p,fileUploads:d,imageOrder:h,imageUploads:c,linkPreviews:f,mentioned_users:e.mentioned_users||[],setText:function(){return null},text:e.text||""}},T=function(e,t){var n,i;switch(t.type){case"setEmojiPickerIsOpen":return(0,r.pi)((0,r.pi)({},e),{emojiPickerIsOpen:t.value});case"setText":return(0,r.pi)((0,r.pi)({},e),{text:t.getNewText(e.text)});case"clear":return k();case"setImageUpload":var o=e.imageUploads[t.id];if(!o&&!t.file)return e;var a=o?e.imageOrder:e.imageOrder.concat(t.id),s=(0,r.pi)({},t);return delete s.type,(0,r.pi)((0,r.pi)({},e),{imageOrder:a,imageUploads:(0,r.pi)((0,r.pi)({},e.imageUploads),((n={})[t.id]=(0,r.pi)((0,r.pi)({},e.imageUploads[t.id]),s),n))});case"setFileUpload":var l=e.fileUploads[t.id];if(!l&&!t.file)return e;var u=l?e.fileOrder:e.fileOrder.concat(t.id),s=(0,r.pi)({},t);return delete s.type,(0,r.pi)((0,r.pi)({},e),{fileOrder:u,fileUploads:(0,r.pi)((0,r.pi)({},e.fileUploads),((i={})[t.id]=(0,r.pi)((0,r.pi)({},e.fileUploads[t.id]),s),i))});case"setLinkPreviews":var c=new Map(e.linkPreviews);return t.mode===b.l.REMOVE?Array.from(t.linkPreviews.keys()).forEach(function(e){c.delete(e)}):(Array.from(t.linkPreviews.values()).reduce(function(e,t){var n=e.get(t.og_scrape_url),r=t.state===b.G.QUEUED&&(null==n?void 0:n.state)!==b.G.FAILED;return n&&r||e.set(t.og_scrape_url,t),e},c),t.mode===b.l.SET&&Array.from(e.linkPreviews.keys()).forEach(function(e){t.linkPreviews.get(e)||c.delete(e)})),(0,r.pi)((0,r.pi)({},e),{linkPreviews:c});case"removeImageUpload":if(!e.imageUploads[t.id])return e;var d=(0,r.pi)({},e.imageUploads);return delete d[t.id],(0,r.pi)((0,r.pi)({},e),{imageOrder:e.imageOrder.filter(function(e){return e!==t.id}),imageUploads:d});case"removeFileUpload":if(!e.fileUploads[t.id])return e;var f=(0,r.pi)({},e.fileUploads);return delete f[t.id],(0,r.pi)((0,r.pi)({},e),{fileOrder:e.fileOrder.filter(function(e){return e!==t.id}),fileUploads:f});case"addMentionedUser":return(0,r.pi)((0,r.pi)({},e),{mentioned_users:e.mentioned_users.concat(t.user)});default:return e}},M=function(e){var t,n,o=e.additionalTextareaProps,s=e.closeEmojiPickerOnClick,u=e.getDefaultValue,c=e.message,d=e.urlEnrichmentConfig,f=(0,a.JN)("useMessageInputState"),h=f.channelCapabilities,p=f.channelConfig,g=f.enrichURLForPreview,x=(null==u?void 0:u())||(null==o?void 0:o.defaultValue),D=c||(Array.isArray(x)?{text:x.join("")}:{text:null==x?void 0:x.toString()}),E=(0,i.useReducer)(T,D,S),k=E[0],M=E[1],O=C((0,r.pi)((0,r.pi)({dispatch:M,linkPreviews:k.linkPreviews},d),{enrichURLForPreview:null!==(n=null==d?void 0:d.enrichURLForPreview)&&void 0!==n?n:g})),P=v(e,k,M,O.findAndEnqueueURLsToEnrich),R=P.handleChange,j=P.insertText,L=P.textareaRef,F=(0,i.useState)(!1),A=F[0],N=F[1],I=(0,i.useState)(!1),B=I[0],U=I[1],z=y(k,M,j,L,s),H=z.closeEmojiPicker,V=z.emojiPickerRef,q=z.handleEmojiKeyDown,W=z.onSelectEmoji,$=z.openEmojiPicker,Y=m(e,k,M,L),Z=Y.maxFilesLeft,G=Y.numberOfUploads,J=Y.removeFile,K=Y.removeImage,X=Y.uploadFile,Q=Y.uploadImage,ee=Y.uploadNewFiles,et=w(e,k,M,G,O).handleSubmit,en=(null==p?void 0:p.uploads)!==!1&&!1!==(void 0===h?{}:h)["upload-file"],er=(t=O.findAndEnqueueURLsToEnrich,{onPaste:(0,i.useCallback)(function(e){en&&(0,r.mG)(void 0,void 0,void 0,function(){var n,i,o,a,s,l;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(n=e.clipboardData.items,!(0,_.w$)(Array.from(n)))return[2];for(e.preventDefault(),i=void 0,o=function(e){var t=n[e];if("string"===t.kind&&"text/plain"===t.type)return i=new Promise(function(e){t.getAsString(function(t){e(t)})}),"break"},a=0;a3,o=(i?e.slice(0,3):r).join(", ").trim();return i?t("{{ users }} and more are typing...",{users:o}):t("{{ users }} and {{ user }} are typing...",{user:n,users:o})},x=r.memo(function(e){var t=e.Avatar,n=e.avatarSize,i=void 0===n?32:n,o=e.threadList,u=(0,a.JN)("TypingIndicator"),c=u.channelConfig,d=u.thread,f=(0,s.mx)("TypingIndicator"),h=f.client,p=f.themeVersion,m=(0,l.yM)("TypingIndicator").Avatar,g=(0,b.f5)("TypingIndicator").typing,w=void 0===g?{}:g,x=t||m||y.q,D=o?[]:Object.values(w).filter(function(e){var t,n=e.parent_id,r=e.user;return(null==r?void 0:r.id)!==(null===(t=h.user)||void 0===t?void 0:t.id)&&!n}),E=o?Object.values(w).filter(function(e){var t,n=e.parent_id,r=e.user;return(null==r?void 0:r.id)!==(null===(t=h.user)||void 0===t?void 0:t.id)&&n===(null==d?void 0:d.id)}):[],C=_((o?E:D).map(function(e){var t=e.user;return(null==t?void 0:t.name)||(null==t?void 0:t.id)}).filter(Boolean)),k=o&&E.length||!o&&D.length;return(null==c?void 0:c.typing_events)===!1?null:"2"===p?k?r.createElement("div",{className:(0,v.Z)("str-chat__typing-indicator",{"str-chat__typing-indicator--typing":k}),"data-testid":"typing-indicator"},r.createElement("div",{className:"str-chat__typing-indicator__dots"},r.createElement("span",{className:"str-chat__typing-indicator__dot"}),r.createElement("span",{className:"str-chat__typing-indicator__dot"}),r.createElement("span",{className:"str-chat__typing-indicator__dot"})),r.createElement("div",{className:"str-chat__typing-indicator__users","data-testid":"typing-users"},C)):null:r.createElement("div",{className:(0,v.Z)("str-chat__typing-indicator",{"str-chat__typing-indicator--typing":k})},r.createElement("div",{className:"str-chat__typing-indicator__avatars"},(o?E:D).map(function(e,t){var n=e.user;return r.createElement(x,{image:null==n?void 0:n.image,key:"".concat(null==n?void 0:n.id,"-").concat(t),name:(null==n?void 0:n.name)||(null==n?void 0:n.id),size:i,user:n})})),r.createElement("div",{className:"str-chat__typing-indicator__dots"},r.createElement("span",{className:"str-chat__typing-indicator__dot"}),r.createElement("span",{className:"str-chat__typing-indicator__dot"}),r.createElement("span",{className:"str-chat__typing-indicator__dot"})))}),D=function(e){var t,n,i,o,a,l,u,c,d,f,h,p=e.loadMoreScrollThreshold,m=e.messages,g=e.scrolledUpThreshold,v=void 0===g?200:g,y=e.hasMoreNewer,b=e.suppressAutoscroll,w=e.listElement,_=(0,r.useState)(!1),x=_[0],D=_[1],E=(0,r.useState)(),C=E[0],k=E[1],S=(0,r.useState)(!0),T=S[0],M=S[1],O=(0,r.useRef)(!1),P=(0,r.useRef)(!1),R=(0,r.useRef)({autoScroll:0,scroll:0}),j=(0,r.useCallback)(function(){(null==w?void 0:w.scrollTo)&&!y&&!b&&(R.current.autoScroll+=1,w.scrollTo({top:w.scrollHeight}),D(!1))},[w,y,b]);(0,r.useLayoutEffect)(function(){w&&(k(w.getBoundingClientRect()),j())},[w,y]);var L=(n=(t={loadMoreScrollThreshold:p,messages:void 0===m?[]:m,onScrollBy:function(e){null==w||w.scrollBy({top:e})},scrollContainerMeasures:function(){return{offsetHeight:(null==w?void 0:w.offsetHeight)||0,scrollHeight:(null==w?void 0:w.scrollHeight)||0}},scrolledUpThreshold:v,scrollToBottom:j,showNewMessages:function(){return D(!0)}}).loadMoreScrollThreshold,i=t.onScrollBy,o=t.scrollContainerMeasures,a=t.scrolledUpThreshold,l=t.scrollToBottom,u=t.showNewMessages,c=(0,s.mx)("useMessageListScrollManager").client,d=(0,r.useRef)({offsetHeight:0,scrollHeight:0}),f=(0,r.useRef)(),h=(0,r.useRef)(0),(0,r.useLayoutEffect)(function(){var e,r,s,p=d.current,m=f.current,g=t.messages,v=g[g.length-1]||{},y=null==m?void 0:m[m.length-1],b=o(),w=p.scrollHeight-p.offsetHeight-h.current{n(e.messages.map(e=>o[e.id]?{...e,text:o[e.id].text}:e))},[e.messages,o]),r.useEffect(()=>{(async()=>{let r=t.length;if(r>0){let i=r-1,s=e.channel._client.userID;if(t[i].user.id!==s&&!o[t[i].id]){let e=t[i].text,r=await F(e,"eng_to_fra");console.log(r);let o=[...t];o[i]={...o[i],text:r},n(o),a(e=>({...e,[t[i].id]:{text:r}}))}}})()},[t,o,e.channel._client.userID]);var u=e.channel,f=e.disableDateSeparator,h=e.groupStyles,v=e.hideDeletedMessages,y=e.hideNewMessageSeparator,b=e.internalInfiniteScrollProps,w=e.messageActions,_=void 0===w?Object.keys(g.Xh):w,E=(e.messages,e.notifications),k=e.noGroupByUser,S=e.pinPermissions,T=void 0===S?g.Z1:S,M=e.returnAllReadData,O=e.threadList,A=void 0!==O&&O,N=e.unsafeHTML,I=e.headerPosition,B=e.read,U=e.messageLimit,z=void 0===U?100:U,H=e.loadMore,V=e.loadMoreNewer,q=e.hasMoreNewer,W=void 0!==q&&q,$=e.suppressAutoscroll,Y=e.highlightedMessageId,Z=e.jumpToLatestMessage,G=void 0===Z?function(){return Promise.resolve()}:Z,J=r.useState(null),K=J[0],X=J[1],Q=r.useState(null),ee=Q[0],et=Q[1],en=(0,s.mx)("MessageList").customClasses,er=(0,l.yM)("MessageList"),ei=er.EmptyStateIndicator,eo=void 0===ei?d.D:ei,ea=er.LoadingIndicator,es=void 0===ea?m.T:ea,el=er.MessageListNotifications,eu=void 0===el?j.T:el,ec=er.MessageNotification,ed=void 0===ec?L.f:ec,ef=er.TypingIndicator,eh=(null==b?void 0:b.threshold)||250,ep=D({hasMoreNewer:W,listElement:K,loadMoreScrollThreshold:eh,messages:t,scrolledUpThreshold:e.scrolledUpThreshold,suppressAutoscroll:$}),em=ep.hasNewMessages,eg=ep.isMessageListScrolledToBottom,ev=ep.onScroll,ey=ep.scrollToBottom,eb=ep.wrapperRect,ew=C({channel:u,disableDateSeparator:void 0!==f&&f,groupStyles:h,headerPosition:I,hideDeletedMessages:void 0!==v&&v,hideNewMessageSeparator:void 0!==y&&y,messages:t,noGroupByUser:void 0!==k&&k}),e_=ew.messageGroupStyles,ex=P({enrichedMessages:ew.messages,internalMessageProps:{additionalMessageInputProps:e.additionalMessageInputProps,closeReactionSelectorOnClick:e.closeReactionSelectorOnClick,customMessageActions:e.customMessageActions,disableQuotedMessages:e.disableQuotedMessages,formatDate:e.formatDate,getDeleteMessageErrorNotification:e.getDeleteMessageErrorNotification,getFlagMessageErrorNotification:e.getFlagMessageErrorNotification,getFlagMessageSuccessNotification:e.getFlagMessageSuccessNotification,getMuteUserErrorNotification:e.getMuteUserErrorNotification,getMuteUserSuccessNotification:e.getMuteUserSuccessNotification,getPinMessageErrorNotification:e.getPinMessageErrorNotification,Message:e.Message,messageActions:_,messageListRect:eb,onlySenderCanEdit:e.onlySenderCanEdit,onMentionsClick:e.onMentionsClick,onMentionsHover:e.onMentionsHover,onUserClick:e.onUserClick,onUserHover:e.onUserHover,openThread:e.openThread,pinPermissions:T,renderText:e.renderText,retrySendMessage:e.retrySendMessage,unsafeHTML:void 0!==N&&N},messageGroupStyles:e_,read:B,returnAllReadData:void 0!==M&&M,threadList:A}),eD=(null==en?void 0:en.messageList)||"str-chat__list",eE=A?(null==en?void 0:en.threadList)||"str-chat__list--thread str-chat__thread-list":"",eC=r.useCallback(function(){H&&H(z)},[H,z]),ek=r.useCallback(function(){V&&V(z)},[V,z]),eS=r.useCallback(function(){return(0,i.mG)(void 0,void 0,void 0,function(){return(0,i.Jh)(this,function(e){switch(e.label){case 0:if(!W)return[3,2];return[4,G()];case 1:return e.sent(),[3,3];case 2:ey(),e.label=3;case 3:return[2]}})})},[ey,W]);r.useLayoutEffect(function(){if(Y){var e=null==ee?void 0:ee.querySelector("[data-message-id='".concat(Y,"']"));null==e||e.scrollIntoView({block:"center"})}},[Y]);var eT=0===ex.length&&!A;return r.createElement(c,{value:{listElement:K,scrollToBottom:ey}},r.createElement(R.u,null,r.createElement("div",{className:"".concat(eD," ").concat(eE),onScroll:ev,ref:X,tabIndex:0},eT?r.createElement(eo,{key:"empty-state-indicator",listType:A?"thread":"message"}):r.createElement(p,(0,i.pi)({className:"str-chat__reverse-infinite-scroll str-chat__message-list-scroll","data-testid":"reverse-infinite-scroll",hasNextPage:e.hasMoreNewer,hasPreviousPage:e.hasMore,head:e.head,isLoading:e.loadingMore,loader:r.createElement("div",{className:"str-chat__list__loading",key:"loading-indicator"},e.loadingMore&&r.createElement(es,{size:20})),loadNextPage:ek,loadPreviousPage:eC},e.internalInfiniteScrollProps,{threshold:eh}),r.createElement("ul",{className:"str-chat__ul",ref:et},ex),r.createElement(void 0===ef?x:ef,{threadList:A}),r.createElement("div",{key:"bottom"})))),r.createElement(eu,{hasNewMessages:em,isMessageListScrolledToBottom:eg,isNotAtLatestMessageSet:W,MessageNotification:ed,notifications:E,scrollToBottom:eS,threadList:A}))},N=function(e){var t=(0,o.uz)("MessageList"),n=t.jumpToLatestMessage,s=t.loadMore,l=t.loadMoreNewer,u=(0,a.JN)("MessageList"),c=(u.members,u.mutes,u.watchers,(0,i._T)(u,["members","mutes","watchers"]));return r.createElement(A,(0,i.pi)({jumpToLatestMessage:n,loadMore:s,loadMoreNewer:l},c,e))}},44790:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(2265),i=n(40311),o=function(e){var t=e.children;return"2"===(0,i.mx)("MessageListMainPanel").themeVersion?r.createElement("div",{className:"str-chat__main-panel-inner"},t):r.createElement(r.Fragment,null,t)}},67986:function(e,t,n){"use strict";n.d(t,{T:function(){return u}});var r=n(2265),i=n(44839),o=r.memo(function(e){var t=e.active,n=e.children,o=e.className,a=e.type;return t?r.createElement("div",{"aria-live":"polite",className:(0,i.Z)("str-chat__custom-notification notification-".concat(a),"str-chat__notification","str-chat-react__notification",o),"data-testid":"custom-notification"},n):null}),a=n(40311),s=n(33600),l=r.memo(function(){var e=(0,a.mx)("ConnectionStatus").client,t=(0,s.Ht)("ConnectionStatus").t,n=(0,r.useState)(!0),i=n[0],l=n[1];return(0,r.useEffect)(function(){var t=function(e){var t=e.online,n=void 0!==t&&t;i!==n&&l(n)};return e.on("connection.changed",t),function(){return e.off("connection.changed",t)}},[e,i]),r.createElement(o,{active:!i,className:"str-chat__connection-status-notification",type:"error"},t("Connection failure, reconnecting now..."))}),u=function(e){var t=e.hasNewMessages,n=e.isMessageListScrolledToBottom,i=e.isNotAtLatestMessageSet,a=e.MessageNotification,u=e.notifications,c=e.scrollToBottom,d=e.threadList,f=(0,s.Ht)("MessageListNotifications").t;return r.createElement("div",{className:"str-chat__list-notifications"},u.map(function(e){return r.createElement(o,{active:!0,key:e.id,type:e.type},e.text)}),r.createElement(l,null),r.createElement(a,{isMessageListScrolledToBottom:n,onClick:c,showNotification:t||i,threadList:d},f(i?"Latest Messages":"New Messages!")))}},15236:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(2265),i=r.memo(function(e){var t=e.children,n=e.onClick,i=e.showNotification;return void 0===i||i?r.createElement("button",{"aria-live":"polite",className:"str-chat__message-notification","data-testid":"message-notification",onClick:n},t):null})},55004:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(2265),i=n(66043),o=function(e){var t=e.messages,n=e.read,o=e.returnAllReadData,a=e.userID;return(0,r.useMemo)(function(){return(0,i.Pi)(t.filter(function(e){var t=e.user;return(null==t?void 0:t.id)===a}),n,o)},[t,n,o,a])}},66043:function(e,t,n){"use strict";n.d(t,{Ej:function(){return a},Pi:function(){return u},Th:function(){return f},c:function(){return c},db:function(){return d},hR:function(){return l}});var r=n(91116),i=n(3661),o=n(33600),a=function(e){for(var t,n,r,a=e.enableDateSeparator,l=e.hideDeletedMessages,u=e.hideNewMessageSeparator,c=e.lastRead,d=e.messages,f=e.setGiphyPreviewMessage,h=e.userId,p=!1,m=!1,g=[],v=0;v0;t-=1)if("received"===e[t].status)return e[t].id;return null},u=function(e,t,n){void 0===t&&(t={});var r={};return Object.values(t).forEach(function(t){var i;t.last_read&&(e.forEach(function(e){e.created_at&&e.created_at0,h=!n||n.customType===i.L.date||"system"===n.type||n.customType===i.L.intro||(null===(u=n.attachments)||void 0===u?void 0:u.length)!==0||(null===(c=e.user)||void 0===c?void 0:c.id)!==(null===(d=n.user)||void 0===d?void 0:d.id)||"error"===n.type||n.deleted_at||n.reaction_counts&&Object.keys(n.reaction_counts).length>0;return f||h?h?f||e.deleted_at||"error"===e.type?"single":"bottom":f?"top":"":e.deleted_at||"error"===e.type?"single":"middle"},f=function(e,t){return e===t}},95683:function(e,t,n){"use strict";n.d(t,{u:function(){return s}});var r=n(2265),i=function(){return r.createElement("svg",{"data-testid":"close-icon-round",fill:"none",height:"28",viewBox:"0 0 28 28",width:"28",xmlns:"http://www.w3.org/2000/svg"},r.createElement("rect",{fill:"#72767E",height:"28",rx:"14",width:"28"}),r.createElement("circle",{cx:"14",cy:"14",fill:"#72767E",r:"12"}),r.createElement("path",{clipRule:"evenodd",d:"M28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14ZM26 14C26 20.6274 20.6274 26 14 26C7.37258 26 2 20.6274 2 14C2 7.37258 7.37258 2 14 2C20.6274 2 26 7.37258 26 14ZM19.59 7L21 8.41L15.41 14L21 19.59L19.59 21L14 15.41L8.41 21L7 19.59L12.59 14L7 8.41L8.41 7L14 12.59L19.59 7Z",fill:"white",fillRule:"evenodd"}))},o=n(33600),a=n(40311),s=function(e){var t=e.children,n=e.onClose,s=e.open,l=(0,o.Ht)("Modal").t,u=(0,a.mx)("Modal").themeVersion,c=(0,r.useRef)(null),d=(0,r.useRef)(null);return((0,r.useEffect)(function(){if(s){var e=function(e){"Escape"===e.key&&(null==n||n(e))};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}},[n,s]),s)?r.createElement("div",{className:"str-chat__modal str-chat__modal--open",onClick:function(e){var t=e.target;c.current&&d.current&&(!c.current.contains(t)||d.current.contains(t))&&(null==n||n(e))}},r.createElement("button",{className:"str-chat__modal__close-button",ref:d,title:l("Close")},"2"===u&&r.createElement(i,null),"1"===u&&r.createElement(r.Fragment,null,l("Close"),r.createElement("svg",{height:"10",width:"10",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.916 1.027L8.973.084 5 4.058 1.027.084l-.943.943L4.058 5 .084 8.973l.943.943L5 5.942l3.973 3.974.943-.943L5.942 5z",fillRule:"evenodd"})))),r.createElement("div",{className:"str-chat__modal__inner str-chat-react__modal__inner",ref:c},t)):null}},27988:function(e,t,n){"use strict";n.d(t,{a:function(){return g}});var r=n(11735),i=n(2265),o=function(e){var t=e.className,n=e.size,o=void 0===n?40:n,a=(0,r._T)(e,["className","size"]);return i.createElement("svg",(0,r.pi)({className:"rfu-file-pdf ".concat(void 0===t?"":t).trim(),fill:"none",height:o,viewBox:"0 0 34 40",width:o,xmlns:"http://www.w3.org/2000/svg"},a),i.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"#F5F5F5"}),i.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#E71A01"}),i.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),i.createElement("path",{clipRule:"evenodd",d:"M16.39 8.90641C16.215 8.27341 15.787 7.95841 15.426 8.00441C14.99 8.06141 14.526 8.32041 14.34 8.72941C13.854 9.82141 14.768 12.8934 15.028 13.7674L15.073 13.9194C14.015 17.1134 10.394 23.4264 8.62002 23.8534C8.58302 23.4364 8.80602 22.2294 11.146 20.7244C11.266 20.5944 11.406 20.4374 11.471 20.3344C9.49302 21.3004 6.93108 22.8514 8.47102 24.0114C8.55602 24.0774 8.68502 24.1314 8.83402 24.1874C10.014 24.6244 11.666 23.1954 13.327 19.9544C15.157 19.3504 16.633 18.8964 18.722 18.5804C21.005 20.1304 22.538 20.4464 23.578 20.0474C23.866 19.9354 24.32 19.5734 24.45 19.1004C24.515 18.8774 24.608 18.5154 24.432 18.2274C23.842 17.2664 21.452 17.5954 20.032 17.7904C19.779 17.8254 19.557 17.8564 19.381 17.8744C17.552 16.7704 16.289 14.8014 15.778 13.3804C15.857 13.0784 15.936 12.7894 16.012 12.5124C16.397 11.1124 16.701 10.0064 16.392 8.90641H16.39ZM24.45 19.1004C23.605 20.1404 21.628 19.4164 20.05 18.4224C21.507 18.2644 23.01 18.1724 23.661 18.3764C24.488 18.6364 24.459 19.0444 24.451 19.1004H24.45ZM15.601 12.7404C15.296 11.6544 14.868 9.24041 15.555 8.46041C16.701 9.11641 16.266 10.5384 15.825 11.9834C15.748 12.2364 15.671 12.4894 15.601 12.7404ZM13.439 19.5834C15.156 18.9054 16.354 18.4494 18.118 18.1254C16.818 16.9554 16.028 15.6834 15.378 14.3834C14.915 16.0554 13.948 18.5894 13.438 19.5834H13.439Z",fill:"#E71A01",fillRule:"evenodd"}),i.createElement("path",{d:"M13.1719 33.0127V37.4219H12.1875V32.3018H13.1001L13.1719 33.0127ZM15.5132 34.1099V34.1816C15.5132 34.4505 15.4813 34.7 15.4175 34.9302C15.356 35.1603 15.2648 35.3608 15.144 35.5317C15.0233 35.7004 14.8729 35.8325 14.6929 35.9282C14.5151 36.0216 14.3101 36.0684 14.0776 36.0684C13.8521 36.0684 13.6561 36.0228 13.4897 35.9316C13.3234 35.8405 13.1833 35.7129 13.0693 35.5488C12.9577 35.3825 12.8677 35.1899 12.7993 34.9712C12.731 34.7524 12.6785 34.5177 12.6421 34.2671V34.0791C12.6785 33.8102 12.731 33.5641 12.7993 33.3408C12.8677 33.1152 12.9577 32.9204 13.0693 32.7563C13.1833 32.59 13.3223 32.4613 13.4863 32.3701C13.6527 32.279 13.8475 32.2334 14.0708 32.2334C14.3055 32.2334 14.5117 32.2778 14.6895 32.3667C14.8695 32.4556 15.0199 32.5832 15.1406 32.7495C15.2637 32.9159 15.356 33.1141 15.4175 33.3442C15.4813 33.5744 15.5132 33.8296 15.5132 34.1099ZM14.5254 34.1816V34.1099C14.5254 33.9526 14.5117 33.8079 14.4844 33.6758C14.4593 33.5413 14.4183 33.424 14.3613 33.3237C14.3066 33.2235 14.2337 33.146 14.1426 33.0913C14.0537 33.0343 13.9455 33.0059 13.8179 33.0059C13.6834 33.0059 13.5684 33.0275 13.4727 33.0708C13.3792 33.1141 13.3029 33.1768 13.2437 33.2588C13.1844 33.3408 13.14 33.4388 13.1104 33.5527C13.0807 33.6667 13.0625 33.7954 13.0557 33.939V34.4141C13.0671 34.5827 13.099 34.7342 13.1514 34.8687C13.2038 35.0008 13.2847 35.1056 13.394 35.1831C13.5034 35.2606 13.647 35.2993 13.8247 35.2993C13.9546 35.2993 14.064 35.2708 14.1528 35.2139C14.2417 35.1546 14.3135 35.0737 14.3682 34.9712C14.4251 34.8687 14.465 34.7502 14.4878 34.6157C14.5129 34.4813 14.5254 34.3366 14.5254 34.1816ZM18.3091 35.1934V30.75H19.3003V36H18.4082L18.3091 35.1934ZM15.9712 34.1953V34.1235C15.9712 33.841 16.0031 33.5846 16.0669 33.3545C16.1307 33.1221 16.2241 32.9227 16.3472 32.7563C16.4702 32.59 16.6217 32.4613 16.8018 32.3701C16.9818 32.279 17.1868 32.2334 17.417 32.2334C17.6335 32.2334 17.8226 32.279 17.9844 32.3701C18.1484 32.4613 18.2874 32.5911 18.4014 32.7598C18.5176 32.9261 18.611 33.1232 18.6816 33.3511C18.7523 33.5767 18.8035 33.8239 18.8354 34.0928V34.25C18.8035 34.5075 18.7523 34.7467 18.6816 34.9678C18.611 35.1888 18.5176 35.3825 18.4014 35.5488C18.2874 35.7129 18.1484 35.8405 17.9844 35.9316C17.8203 36.0228 17.6289 36.0684 17.4102 36.0684C17.18 36.0684 16.9749 36.0216 16.7949 35.9282C16.6172 35.8348 16.4668 35.7038 16.3438 35.5352C16.223 35.3665 16.1307 35.1683 16.0669 34.9404C16.0031 34.7126 15.9712 34.4642 15.9712 34.1953ZM16.9556 34.1235V34.1953C16.9556 34.348 16.967 34.4904 16.9897 34.6226C17.0148 34.7547 17.0547 34.8721 17.1094 34.9746C17.1663 35.0749 17.2393 35.1535 17.3281 35.2104C17.4193 35.2651 17.5298 35.2925 17.6597 35.2925C17.8283 35.2925 17.9673 35.2549 18.0767 35.1797C18.186 35.1022 18.2692 34.9963 18.3262 34.8618C18.3854 34.7274 18.4196 34.5724 18.4287 34.397V33.9492C18.4219 33.8057 18.4014 33.6769 18.3672 33.563C18.3353 33.4468 18.2874 33.3477 18.2236 33.2656C18.1621 33.1836 18.0846 33.1198 17.9912 33.0742C17.9001 33.0286 17.7918 33.0059 17.6665 33.0059C17.5389 33.0059 17.4295 33.0355 17.3384 33.0947C17.2472 33.1517 17.1732 33.2303 17.1162 33.3306C17.0615 33.4308 17.0205 33.5493 16.9932 33.686C16.9681 33.8205 16.9556 33.9663 16.9556 34.1235ZM21.3237 36H20.3325V31.9736C20.3325 31.6934 20.3872 31.4575 20.4966 31.2661C20.6082 31.0724 20.7643 30.9266 20.9648 30.8286C21.1676 30.7284 21.408 30.6782 21.686 30.6782C21.7772 30.6782 21.8649 30.6851 21.9492 30.6987C22.0335 30.7101 22.1156 30.7249 22.1953 30.7432L22.1851 31.4849C22.1418 31.4735 22.0962 31.4655 22.0483 31.4609C22.0005 31.4564 21.9447 31.4541 21.8809 31.4541C21.7624 31.4541 21.661 31.4746 21.5767 31.5156C21.4946 31.5544 21.432 31.6125 21.3887 31.6899C21.3454 31.7674 21.3237 31.862 21.3237 31.9736V36ZM22.062 32.3018V32.999H19.7822V32.3018H22.062Z",fill:"white"}))},a=function(e){var t=e.className,n=e.size,o=void 0===n?40:n,a=(0,r._T)(e,["className","size"]);return i.createElement("svg",(0,r.pi)({className:"rfu-file-fallback ".concat(void 0===t?"":t).trim(),fill:"none",height:o,viewBox:"0 0 34 40",width:o,xmlns:"http://www.w3.org/2000/svg"},a),i.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear)"}),i.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),i.createElement("path",{clipRule:"evenodd",d:"M8 13H23V15H8V13Z",fill:"#CFCFCF",fillRule:"evenodd"}),i.createElement("path",{clipRule:"evenodd",d:"M8 17H18V19H8V17Z",fill:"#CFCFCF",fillRule:"evenodd"}),i.createElement("path",{clipRule:"evenodd",d:"M8 21H23V23H8V21Z",fill:"#CFCFCF",fillRule:"evenodd"}),i.createElement("defs",null,i.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear",x1:"0",x2:"0",y1:"0",y2:"40"},i.createElement("stop",{stopColor:"white"}),i.createElement("stop",{offset:"1",stopColor:"#DBDBDB"}))))},s=function(e){var t=e.className,n=e.size,o=void 0===n?40:n,a=(0,r._T)(e,["className","size"]);return i.createElement("svg",(0,r.pi)({className:"rfu-file-image ".concat(void 0===t?"":t).trim(),height:o,viewBox:"0 0 384 512",width:o,xmlns:"http://www.w3.org/2000/svg"},a),i.createElement("path",{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z",fill:"#414D54"}))},l=["application/msword","application/msword-template","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.text-flat-xml"],u=["text/csv","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template","application/vnd.oasis.opendocument.spreadsheet-flat-xml"],c=["application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/vnd.oasis.opendocument.presentation","application/vnd.oasis.opendocument.presentation-template","application/vnd.oasis.opendocument.presentation-flat-xml"],d=["application/zip","application/x-7z-compressed","application/x-archive","application/x-tar","application/gzip","application/x-compress","application/x-bzip","application/x-lzip","application/x-lz4","application/x-lzma","application/x-lzop","application/x-xz","application/x-webarchive","application/vnd.rar"],f=["text/html","text/css","application/x-javascript","text/javascript","application/json","text/x-python","text/x-go","text/x-csrc","text/x-c++src","application/x-ruby","text/rust","text/x-java","application/x-php","text/x-csharp","text/x-scala","text/x-erlang","application/x-shellscript"];function h(e){for(var t=e.FileArchiveIcon,n=e.FileCodeIcon,r=e.FileExcelIcon,i=e.FilePdfIcon,o=e.FilePowerPointIcon,a=e.FileWordIcon,s={"application/pdf":i},h=0;h0&&(null===(r=O.user)||void 0===r?void 0:r.id)===(null===(o=C[M-1].user)||void 0===o?void 0:o.id),R=S&&(null===(a=O.user)||void 0===a?void 0:a.id)!==(null===(l=null===(s=C[M-1])||void 0===s?void 0:s.user)||void 0===l?void 0:l.id),j=S&&(null===(u=O.user)||void 0===u?void 0:u.id)!==(null===(d=null===(c=C[M+1])||void 0===c?void 0:c.user)||void 0===d?void 0:d.id);return i.createElement(k.v,{additionalMessageInputProps:h,autoscrollToBottom:null===(f=T.current)||void 0===f?void 0:f.autoscrollToBottom,closeReactionSelectorOnClick:p,customMessageActions:m,endOfGroup:j,firstOfGroup:R,groupedByUser:P,lastReceivedId:b,message:O,Message:w,messageActions:_,readBy:E[O.id]||[]})};function G(e){("ResizeObserver loop completed with undelivered notifications."===e.message||"ResizeObserver loop limit exceeded"===e.message)&&e.stopImmediatePropagation()}function J(e){return e.getBoundingClientRect().height}function K(e,t){return e.findIndex(function(e){return e.id===t})}var X=function(e){var t,n,o,a,s,l,u,c,d,f,h,p,g,v,y=e.additionalMessageInputProps,b=e.additionalVirtuosoProps,_=void 0===b?{}:b,x=e.channel,D=e.closeReactionSelectorOnClick,E=e.customMessageActions,k=e.customMessageRenderer,U=e.defaultItemHeight,z=e.disableDateSeparator,H=void 0===z||z,X=e.groupStyles,Q=e.hasMore,ee=e.hasMoreNewer,et=e.head,en=e.hideDeletedMessages,er=void 0!==en&&en,ei=e.hideNewMessageSeparator,eo=void 0!==ei&&ei,ea=e.highlightedMessageId,es=e.jumpToLatestMessage,el=e.loadingMore,eu=e.loadMore,ec=e.loadMoreNewer,ed=e.Message,ef=e.messageActions,eh=e.messageLimit,ep=void 0===eh?100:eh,em=e.messages,eg=e.notifications,ev=e.overscan,ey=e.read,eb=e.returnAllReadData,ew=e.scrollSeekPlaceHolder,e_=e.scrollToLatestMessageOnFocus,ex=e.separateGiphyPreview,eD=void 0!==ex&&ex,eE=e.shouldGroupByUser,eC=void 0!==eE&&eE,ek=e.stickToBottomScrollBehavior,eS=void 0===ek?"smooth":ek,eT=e.suppressAutoscroll,eM=e.threadList,eO=_.components,eP=(0,r._T)(_,["components"]);(0,i.useEffect)(function(){return window.addEventListener("error",G),function(){window.removeEventListener("error",G)}},[]);var eR=(0,w.yM)("VirtualizedMessageList"),ej=eR.DateSeparator,eL=void 0===ej?I.Z:ej,eF=eR.GiphyPreviewMessage,eA=eR.MessageListNotifications,eN=void 0===eA?L.T:eA,eI=eR.MessageNotification,eB=void 0===eI?j.f:eI,eU=eR.MessageSystem,ez=void 0===eU?B.B:eU,eH=eR.VirtualMessage,eV=void 0===eH?N.u:eH,eq=(0,m.mx)("VirtualizedMessageList"),eW=eq.client,e$=eq.customClasses,eY=(0,i.useRef)(null),eZ=(0,i.useMemo)(function(){var e;return null===(e=x.lastRead)||void 0===e?void 0:e.call(x)},[x]),eG=M(eD),eJ=eG.giphyPreviewMessage,eK=eG.setGiphyPreviewMessage,eX=(0,i.useMemo)(function(){return void 0===em?[]:H&&!er&&eo&&!eD?em:(0,A.Ej)({enableDateSeparator:!H,hideDeletedMessages:er,hideNewMessageSeparator:eo,lastRead:eZ,messages:em,setGiphyPreviewMessage:eK,userId:eW.userID||""})},[H,er,eo,eZ,em,null==em?void 0:em.length,eW.userID]),eQ=(0,T.S)({messages:eX,read:ey,returnAllReadData:void 0!==eb&&eb,userID:eW.userID}),e0=(0,i.useMemo)(function(){return(0,A.hR)(eX)},[eX]),e1=X||A.db,e2=(0,i.useMemo)(function(){return eX.reduce(function(e,t,n){var r=e1(t,eX[n-1],eX[n+1],!eC);return r&&(e[t.id]=r),e},{})},[eX.length,eC,e1]),e3=(t=eW.userID,o=(n=(0,i.useState)(!1))[0],a=n[1],l=(s=(0,i.useState)(!0))[0],u=s[1],c=(0,i.useRef)(!1),d=(0,i.useRef)(""),f=(0,i.useRef)(!1),(0,i.useEffect)(function(){if(ee){a(!0);return}if(null==eX?void 0:eX.length){var e,n=eX[eX.length-1],r=d.current;d.current=n.id||"",n.id!==r&&(f.current||((null===(e=n.user)||void 0===e?void 0:e.id)!==t&&c.current&&a(!0),c.current=!0))}},[t,eX,ee]),{atBottom:f,isMessageListScrolledToBottom:l,newMessagesNotification:o,setIsMessageListScrolledToBottom:u,setNewMessagesNotification:a}),e4=e3.atBottom,e6=e3.isMessageListScrolledToBottom,e5=e3.newMessagesNotification,e8=e3.setIsMessageListScrolledToBottom,e7=e3.setNewMessagesNotification,e9=(0,i.useCallback)(function(){return(0,r.mG)(void 0,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!ee)return[3,2];return[4,es()];case 1:return e.sent(),[2];case 2:return eY.current&&eY.current.scrollToIndex(eX.length-1),e7(!1),[2]}})})},[eY,eX,e7,eX.length,ee,es]);O({messages:em,scrollToBottom:e9,scrollToLatestMessageOnFocus:void 0!==e_&&e_});var te=(h=H?0:1,p=(0,i.useRef)(),g=(0,i.useRef)(),v=(0,i.useRef)(0),(0,i.useMemo)(function(){if(!eX||!eX.length)return v.current=0,0;var e,t,n=null==eX?void 0:eX[h],r=(null==n?void 0:n.id)===(null===(e=g.current)||void 0===e?void 0:e.id),i=(null==n?void 0:n.status)&&P[n.status];if(r||i)return v.current;p.current||(p.current=n),g.current=n;for(var o=v.current;o0){var i=e[e.length-1];if((null===(r=i.user)||void 0===r?void 0:r.id)===t&&n.current!==i.id)return n.current=i.id,!0}return!1}return(0,i.useEffect)(function(){e&&e.length&&!r.current&&(r.current=!0,o())},[e,null==e?void 0:e.length]),o}(eX,eW.userID),tr=(0,i.useCallback)(function(e,t,n){var r=n.numItemsPrepended;return n.processedMessages[V(e,r)].id},[]);return((0,i.useEffect)(function(){var e;if(ea){var t=K(eX,ea);-1!==t&&(null===(e=eY.current)||void 0===e||e.scrollToIndex({align:"center",index:t}))}},[ea]),eX)?i.createElement(i.Fragment,null,i.createElement(F.u,null,i.createElement("div",{className:(null==e$?void 0:e$.virtualizedMessageList)||"str-chat__virtual-list"},i.createElement(C.OO,(0,r.pi)({atBottomStateChange:function(e){e4.current=e,e8(e),e&&e5&&e7(!1)},atBottomThreshold:200,className:"str-chat__message-list-scroll",components:(0,r.pi)({EmptyPlaceholder:$,Footer:Y,Header:W,Item:q},eO),computeItemKey:tr,context:{additionalMessageInputProps:y,closeReactionSelectorOnClick:D,customClasses:e$,customMessageActions:E,customMessageRenderer:k,DateSeparator:eL,head:et,lastReceivedMessageId:e0,loadingMore:el,Message:ed||eV,messageActions:ef,messageGroupStyles:e2,MessageSystem:ez,numItemsPrepended:te,ownMessagesReadByOthers:eQ,processedMessages:eX,shouldGroupByUser:eC,threadList:eM,virtuosoRef:eY},endReached:function(){ee&&ec&&ec(ep)},firstItemIndex:1e7-te,followOutput:function(e){return!ee&&!eT&&(tn()?e?eS:"auto":!!e&&eS)},increaseViewportBy:{bottom:200,top:0},initialTopMostItemIndex:function(e,t){if(t){var n=K(e,t);if(-1!==n)return{align:"center",index:n}}return e.length-1}(eX,ea),itemContent:Z,itemSize:J,key:tt,overscan:void 0===ev?0:ev,ref:eY,startReached:function(){Q&&eu&&eu(ep)},style:{overflowX:"hidden"},totalCount:eX.length},eP,ew?{scrollSeek:ew}:{},U?{defaultItemHeight:U}:{})))),i.createElement(eN,{hasNewMessages:e5,isMessageListScrolledToBottom:e6,isNotAtLatestMessageSet:ee,MessageNotification:eB,notifications:eg,scrollToBottom:e9,threadList:eM}),eJ&&i.createElement(void 0===eF?S:eF,{message:eJ})):null};function Q(e){var t=(0,g.uz)("VirtualizedMessageList"),n=t.jumpToLatestMessage,o=t.loadMore,a=t.loadMoreNewer,s=(0,v.JN)("VirtualizedMessageList"),l=s.channel,u=s.hasMore,c=s.hasMoreNewer,d=s.highlightedMessageId,f=s.loadingMore,h=s.loadingMoreNewer,p=s.messages,m=s.notifications,y=s.read,b=s.suppressAutoscroll,w=e.messages||p;return i.createElement(X,(0,r.pi)({channel:l,hasMore:!!u,hasMoreNewer:!!c,highlightedMessageId:d,jumpToLatestMessage:n,loadingMore:!!f,loadingMoreNewer:!!h,loadMore:o,loadMoreNewer:a,messages:w,notifications:m,read:y,suppressAutoscroll:b},e))}var ee=n(80043),et=n(5734),en=function(e){var t=e.title,n=(0,y.Ht)("CloseIcon").t;return i.createElement("svg",{"data-testid":"close-no-outline",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i.createElement("title",null,null!=t?t:n("Close")),i.createElement("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"black"}))},er=function(e){var t=e.closeThread,n=e.overrideImage,r=e.overrideTitle,o=(0,y.Ht)("ThreadHeader").t,a=(0,v.JN)("").channel,s=(0,et.y)({channel:a,overrideImage:n,overrideTitle:r}).displayTitle;return i.createElement("div",{className:"str-chat__thread-header"},i.createElement("div",{className:"str-chat__thread-header-details"},i.createElement("div",{className:"str-chat__thread-header-title"},o("Thread")),i.createElement("div",{className:"str-chat__thread-header-subtitle"},s)),i.createElement("button",{"aria-label":"Close thread",className:"str-chat__square-button str-chat__close-thread-button","data-testid":"close-button",onClick:t},i.createElement(en,null)))},ei=function(){var e=(0,v.JN)("ThreadStart").thread,t=(0,y.Ht)("ThreadStart").t;return(null==e?void 0:e.reply_count)?i.createElement("div",{className:"str-chat__thread-start"},t("replyCount",{count:e.reply_count})):null},eo=function(e){var t=(0,w.yM)("ThreadHead").ThreadStart;return i.createElement("div",{className:"str-chat__parent-message-li"},i.createElement(k.v,(0,r.pi)({initialMessage:!0,threadList:!0},e)),i.createElement(void 0===t?ei:t,null))},ea=function(e){var t=(0,v.JN)("Thread"),n=t.channel,o=t.channelConfig,a=t.thread;return a&&(null==o?void 0:o.replies)!==!1?i.createElement(es,(0,r.pi)({},e,{key:"thread-".concat(a.id,"-").concat(null==n?void 0:n.cid)})):null},es=function(e){var t,n,l=e.additionalMessageInputProps,u=e.additionalMessageListProps,c=e.additionalParentMessageProps,d=e.additionalVirtualizedMessageListProps,f=e.autoFocus,h=e.enableDateSeparator,p=e.fullWidth,y=e.Input,b=e.Message,_=e.messageActions,x=void 0===_?Object.keys(a.Xh):_,C=e.virtualized,k=(0,v.JN)("Thread"),S=k.thread,T=k.threadHasMore,M=k.threadLoadingMore,O=k.threadMessages,P=k.threadSuppressAutoscroll,R=(0,g.uz)("Thread"),j=R.closeThread,L=R.loadMoreThread,F=(0,m.mx)("Thread"),A=F.customClasses,N=F.themeVersion,I=(0,w.yM)("Thread"),B=I.ThreadInput,U=I.Message,z=I.ThreadHead,H=I.ThreadHeader,V=I.VirtualMessage,q=null!==(n=null!==(t=null!=y?y:null==l?void 0:l.Input)&&void 0!==t?t:B)&&void 0!==n?n:"2"===N?s.r:D,W=b||(null==u?void 0:u.Message)||(C&&V?V:U),$=C?Q:ee.r;if((0,i.useEffect)(function(){(null==S?void 0:S.id)&&(null==S?void 0:S.reply_count)&&L()},[]),!S)return null;var Y=(null==A?void 0:A.thread)||(0,o.Z)("str-chat__thread-container str-chat__thread",{"str-chat__thread--full":void 0!==p&&p,"str-chat__thread--virtualized":C}),Z=i.createElement(void 0===z?eo:z,(0,r.pi)({key:S.id,message:S,Message:W},c));return i.createElement("div",{className:Y},i.createElement(void 0===H?er:H,{closeThread:j,thread:S}),i.createElement($,(0,r.pi)({disableDateSeparator:!(void 0!==h&&h),hasMore:T,head:Z,loadingMore:M,loadMore:L,Message:W,messageActions:x,messages:O||[],suppressAutoscroll:P,threadList:!0},C?d:u)),i.createElement(E.R,(0,r.pi)({focus:void 0===f||f,Input:q,parent:S,publishTypingEvent:!1},l)))}},43714:function(e,t,n){"use strict";n.d(t,{X:function(){return s},u:function(){return a}});var r=n(11735),i=n(2265),o=n(63375),a=function(e){var t=e.children,n=(0,r._T)(e,["children"]);return i.createElement("div",(0,r.pi)({className:"str-chat__tooltip"},n),t)},s=function(e){var t=e.children,n=e.offset,a=e.referenceElement,s=e.placement,l=e.visible,u=(0,i.useState)(null),c=u[0],d=u[1],f=(0,o.D)(a,c,{modifiers:[{name:"offset",options:{offset:void 0===n?[0,10]:n}}],placement:void 0===s?"top":s}),h=f.attributes,p=f.styles;return void 0!==l&&l?i.createElement("div",(0,r.pi)({className:"str-chat__tooltip",ref:d,style:p.popper},h.popper),t):null}},48617:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(2265),i=function(e){var t=void 0===e?{}:e,n=t.onMouseEnter,i=t.onMouseLeave,o=(0,r.useState)(!1),a=o[0],s=o[1];return{handleEnter:(0,r.useCallback)(function(e){s(!0),null==n||n(e)},[n]),handleLeave:(0,r.useCallback)(function(e){s(!1),null==i||i(e)},[i]),tooltipVisible:a}}},33822:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(2265),i=n(44839),o=n(40311),a=n(77815),s=r.memo(function(e){var t=e.Avatar,n=void 0===t?a.q:t,s=e.entity,l=(0,o.mx)("UserItem").themeVersion,u=!!Object.keys(s).length,c=null==s?void 0:s.itemNameParts;return r.createElement("div",{className:"str-chat__user-item"},r.createElement(n,{image:s.image,name:s.name||s.id,size:20}),r.createElement("span",{className:"str-chat__user-item--name","data-testid":"user-item-name"},u?c.parts.map(function(e,t){var n=e.toLowerCase()===c.match.toLowerCase();return r.createElement("span",{className:(0,i.Z)({"str-chat__emoji-item--highlight":n,"str-chat__emoji-item--part":!n}),key:"part-".concat(t)},e)}):null),"2"===l&&r.createElement("div",{className:"str-chat__user-item-at"},"@"))})},20821:function(e,t,n){"use strict";n.d(t,{R:function(){return a}});var r=n(2265),i=n(44839),o=n(61612),a=r.memo(function(e){var t=e.children,n=e.hideOnThread,a=e.thread,s=(0,o.JN)("Window").thread;return r.createElement("div",{className:(0,i.Z)("str-chat__main-panel",{"str-chat__main-panel--hideOnThread":void 0!==n&&n&&(s||a)})},t)})},3661:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r={date:"message.date",intro:"channel.intro"}},92765:function(e,t,n){"use strict";n.d(t,{PM:function(){return o},uz:function(){return a}});var r=n(2265),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useChannelActionContext hook was called outside of the ChannelActionContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})}},61612:function(e,t,n){"use strict";n.d(t,{JN:function(){return a},gZ:function(){return o}});var r=n(2265),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useChannelStateContext hook was called outside of the ChannelStateContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})}},40311:function(e,t,n){"use strict";n.d(t,{aM:function(){return o},mx:function(){return a}});var r=n(2265),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useChatContext hook was called outside of the ChatContext provider. Make sure this hook is called within a child of the Chat component. The errored call is located in the ".concat(e," component.")),{})}},97959:function(e,t,n){"use strict";n.d(t,{Xp:function(){return o},yM:function(){return a}});var r=n(2265),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useComponentContext hook was called outside of the ComponentContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})}},86390:function(e,t,n){"use strict";n.d(t,{_V:function(){return l},uL:function(){return u}});var r=n(2265),i=n(64771),o=r.lazy(function(){return n.e(683).then(n.bind(n,34683))}),a=r.lazy(function(){return n.e(140).then(n.bind(n,5140))}),s=r.createContext(void 0),l=function(e){var t=e.children,n=e.value,l=n.Emoji,u=n.emojiConfig,c=n.EmojiIndex,d=void 0===c?i.default:c,f=n.EmojiPicker;return r.createElement(s.Provider,{value:{Emoji:void 0===l?o:l,emojiConfig:u,EmojiIndex:d,EmojiPicker:void 0===f?a:f}},t)},u=function(e){return(0,r.useContext)(s)||(console.warn("The useEmojiContext hook was called outside of the EmojiContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})}},13171:function(e,t,n){"use strict";n.d(t,{fr:function(){return a},x1:function(){return o}});var r=n(2265),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useMessageContext hook was called outside of the MessageContext provider. Make sure this hook is called within the Message's UI component. The errored call is located in the ".concat(e," component.")),{})}},74745:function(e,t,n){"use strict";n.d(t,{G6:function(){return o},Nc:function(){return a}});var r=n(2265),i=(0,r.createContext)(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useMessageInputContext hook was called outside of the MessageInputContext provider. Make sure this hook is called within the MessageInput's UI component. The errored call is located in the ".concat(e," component.")),{})}},33600:function(e,t,n){"use strict";n.d(t,{$j:function(){return v},$s:function(){return p},Eb:function(){return d},Ht:function(){return y},J_:function(){return h},MD:function(){return f},u9:function(){return m}});var r=n(2265),i=n(62737),o=n.n(i),a=n(30910),s=n.n(a),l=n(78322),u=n.n(l),c=n(21630);o().extend(s()),o().extend(u());var d=function(e){return["de","en","es","fr","hi","it","ja","ko","nl","pt","ru","tr"].some(function(t){return e===t})},f=function(e){return!!(null==e?void 0:e.isSame)},h=function(e){return!!(null==e?void 0:e.getMonth)},p=function(e){return"string"==typeof e||"number"==typeof e},m=function(e){return o()(e)},g=r.createContext({t:c.D,tDateTimeParser:m,userLanguage:"en"}),v=function(e){var t=e.children,n=e.value;return r.createElement(g.Provider,{value:n},t)},y=function(e){return(0,r.useContext)(g)||(console.warn("The useTranslationContext hook was called outside of the TranslationContext provider. Make sure this hook is called within a child of the Chat component. The errored call is located in the ".concat(e," component.")),{})}},47556:function(e,t,n){"use strict";n.d(t,{f5:function(){return a},ln:function(){return o}});var r=n(2265),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.value;return r.createElement(i.Provider,{value:n},t)},a=function(e){return(0,r.useContext)(i)||(console.warn("The useTypingContext hook was called outside of the TypingContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ".concat(e," component.")),{})}},21630:function(e,t,n){"use strict";n.d(t,{V:function(){return eV},D:function(){return eH}});var r=n(11735),i=n(8620),o=n(82546),a=n(84179),s=n(41088),l=n(71227),u=n(52799),c=n(35743),d=n(12475),f=n(14876),h=n(49947),p=n(85352),m=n(41634);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,e),this.init(t,n)}return(0,a.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||y,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),r=1;r-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function E(e,t,n){var r=D(e,t,Object);r.obj[r.k]=n}function C(e,t){var n=D(e,t),r=n.obj,i=n.k;if(r)return r[i]}function k(e,t,n){var r=C(e,n);return void 0!==r?r:C(t,n)}function S(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var T={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function M(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return T[e]}):e}var O="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,P=[" ",",","?","!",";"];function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function j(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,o.Z)(this,r),t=n.call(this),O&&w.call((0,s.Z)(t)),t.data=e||{},t.options=i,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return(0,a.Z)(r,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=C(this.data,a);return s||!o||"string"!=typeof n?s:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var i=n.split(r),o=t,a=0;aa+s;)s++,u=o[l=i.slice(a,a+s).join(r)];if(void 0===u)return;if(null===u)return null;if(n.endsWith(l)){if("string"==typeof u)return u;if(l&&"string"==typeof u[l])return u[l]}var c=i.slice(a+s).join(r);if(c)return e(u,c,r);return}o=o[i[a]]}return o}}(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),E(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)("string"==typeof n[i]||"[object Array]"===Object.prototype.toString.apply(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);var s=C(this.data,a)||{};r?function e(t,n,r){for(var i in n)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(t[i]=n[i]):e(t[i],n[i],r):t[i]=n[i]);return t}(s,n,i):s=j(j({},s),n),E(this.data,a,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?j(j({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(w),F={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach(function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))}),t}};function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Z)(this,r),t=n.call(this),O&&w.call((0,s.Z)(t)),!function(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,s.Z)(t)),t.options=i,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=b.create("translator"),t}return(0,a.Z)(r,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=P.filter(function(e){return 0>t.indexOf(e)&&0>n.indexOf(e)});if(0===r.length)return!0;var i=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}(e,n,r);if(o&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:i};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(i=l.shift()),e=l.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,n){var o=this;if("object"!==(0,i.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),u=l.key,c=l.namespaces,d=c[c.length-1],f=t.lng||this.language,h=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(h){var p=t.nsSeparator||this.options.nsSeparator;return a?(m.res="".concat(d).concat(p).concat(u),m):"".concat(d).concat(p).concat(u)}return a?(m.res=u,m):u}var m=this.resolve(e,t),g=m&&m.res,v=m&&m.usedKey||u,y=m&&m.exactUsedKey||u,b=Object.prototype.toString.apply(g),w=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g;if(_&&g&&x&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(b)&&!("string"==typeof w&&"[object Array]"===b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var D=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,N(N({},t),{},{ns:c})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");return a?(m.res=D,m):D}if(s){var E="[object Array]"===b,C=E?[]:{},k=E?y:v;for(var S in g)if(Object.prototype.hasOwnProperty.call(g,S)){var T="".concat(k).concat(s).concat(S);C[S]=this.translate(T,N(N({},t),{joinArrays:!1,ns:c})),C[S]===T&&(C[S]=g[S])}g=C}}else if(_&&"string"==typeof w&&"[object Array]"===b)(g=g.join(w))&&(g=this.extendTranslation(g,e,t,n));else{var M=!1,O=!1,P=void 0!==t.count&&"string"!=typeof t.count,R=r.hasDefaultValue(t),j=P?this.pluralResolver.getSuffix(f,t.count,t):"",L=t["defaultValue".concat(j)]||t.defaultValue;!this.isValidLookup(g)&&R&&(M=!0,g=L),this.isValidLookup(g)||(O=!0,g=u);var F=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&O?void 0:g,A=R&&L!==g&&this.options.updateMissing;if(O||M||A){if(this.logger.log(A?"updateKey":"missingKey",f,d,u,A?L:g),s){var I=this.resolve(u,N(N({},t),{},{keySeparator:!1}));I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var B=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var z=0;z1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);c.forEach(function(e){a.isValidLookup(t)||(o=e,!I["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(I["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(function(n){if(!a.isValidLookup(t)){i=n;var o,l=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,u,n,e,s);else{d&&(c=a.pluralResolver.getSuffix(n,s.count,s));var c,p="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(u+c),f&&l.push(u+p)),h){var m="".concat(u).concat(a.options.contextSeparator).concat(s.context);l.push(m),d&&(l.push(m+c),f&&l.push(m+p))}}for(;o=l.pop();)a.isValidLookup(t)||(r=o,t=a.getResource(n,e,o,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),r}(w);function U(e){return e.charAt(0).toUpperCase()+e.slice(1)}var z=function(){function e(t){(0,o.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=b.create("languageUtils")}return(0,a.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=U(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=U(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=U(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(r))&&(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach(function(e){0>i.indexOf(e)&&o(n.formatLanguageCode(e))}),i}}]),e}(),H=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],V={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},q=["v1","v2","v3"],W={zero:0,one:1,two:2,few:3,many:4,other:5},$=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,e),this.languageUtils=t,this.options=r,this.logger=b.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},H.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:V[e.fc]}})}),n)}return(0,a.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return W[e]-W[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!q.includes(this.options.compatibilityJSON)}}]),e}();function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.logger=b.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,a.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:M,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?S(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?S(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?S(t.nestingPrefix):t.nestingPrefixEscaped||S("$t("),this.nestingSuffix=t.nestingSuffix?S(t.nestingSuffix):t.nestingSuffixEscaped||S(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(0>e.indexOf(s.formatSeparator)){var i=k(t,l,e);return s.alwaysFormat?s.format(i,void 0,n,Z(Z(Z({},r),t),{},{interpolationkey:e})):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),u=o.join(s.formatSeparator).trim();return s.format(k(t,l,a),u,n,Z(Z(Z({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach(function(t){for(a=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(o=c(n))){if("function"==typeof d){var l=d(e,i,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else if(f){o=i[0];continue}else s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=x(o));var u=t.safeValue(o);if(e=e.replace(i[0],u),f?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Z({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var o=(i=this.interpolate(i,a)).match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),t&&(a=Z(Z({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=c.shift(),l=c,u=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=x(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=l.reduce(function(e,t){return i.format(e,t,o.lng,Z(Z({},o),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.logger=b.create("formatter"),this.options=t,this.formats={number:X(function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}}),currency:X(function(e,t){var n=new Intl.NumberFormat(e,K(K({},t),{},{style:"currency"}));return function(e){return n.format(e)}}),datetime:X(function(e,t){var n=new Intl.DateTimeFormat(e,K({},t));return function(e){return n.format(e)}}),relativetime:X(function(e,t){var n=new Intl.RelativeTimeFormat(e,K({},t));return function(e){return n.format(e,t.range||"day")}}),list:X(function(e,t){var n=new Intl.ListFormat(e,K({},t));return function(e){return n.format(e)}})},this.init(t)}return(0,a.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=X(t)}},{key:"format",value:function(e,t,n,r){var i=this;return t.split(this.formatSeparator).reduce(function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(function(e){if(e){var t,r=(t=e.split(":"),(0,f.Z)(t)||(0,h.Z)(t)||(0,p.Z)(t)||(0,m.Z)()),i=r[0],o=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[i.trim()]||(n[i.trim()]=o),"false"===o&&(n[i.trim()]=!1),"true"===o&&(n[i.trim()]=!0),isNaN(o)||(n[i.trim()]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}}(t),a=o.formatName,s=o.formatOptions;if(i.formats[a]){var l=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;l=i.formats[a](e,c,K(K(K({},s),r),u))}catch(e){i.logger.warn(e)}return l}return i.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function et(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};return(0,o.Z)(this,r),a=n.call(this),O&&w.call((0,s.Z)(a)),a.backend=e,a.store=t,a.services=i,a.languageUtils=i.languageUtils,a.options=l,a.logger=b.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=l.maxParallelReads||10,a.readingCalls=0,a.maxRetries=l.maxRetries>=0?l.maxRetries:5,a.retryTimeout=l.retryTimeout>=1?l.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(i,l.backend,l),a}return(0,a.Z)(r,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o={},a={},s={},l={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===a[s]&&(a[s]=!0):(i.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,s,l,u;(l=(s=D(n.loaded,[i],Object)).obj)[u=s.k]=l[u]||[],r||l[u].push(o),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:o,callback:a});return}return this.readingCalls++,this.backend[n](e,t,function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(s&&l&&i2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,et(et({},o),{},{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),r}(w);function er(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eo(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if((0,o.Z)(this,r),e=n.call(this),O&&w.call((0,s.Z)(e)),e.options=er(t),e.services={},e.logger=b,e.modules={external:[]},!function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}((0,s.Z)(e)),i&&!e.isInitialized&&!t.isClone){if(!e.options.initImmediate)return e.init(t,i),(0,u.Z)(e,(0,s.Z)(e));setTimeout(function(){e.init(t,i)},0)}return e}return(0,a.Z)(r,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var r={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,i.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,i.Z)(e[2])||"object"===(0,i.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=eo(eo(eo({},r),this.options),er(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=eo(eo({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?b.init(o(this.modules.logger),this.options):b.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=Q);var a,s=new z(this.options);this.store=new L(this.options.resources,this.options);var l=this.services;l.logger=b,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new $(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(l.formatter=o(a),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new G(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new en(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i0&&"dev"!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var c=_(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ea,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>o.indexOf(e)&&o.push(e)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(o,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)})}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=_();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ea),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&F.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=_();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(e,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},a=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||i(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,function(e){o(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){if("object"!==(0,i.Z)(o)){for(var a,s=arguments.length,l=Array(s>2?s-2:0),u=2;u1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=_();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=_();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter(function(e){return 0>r.indexOf(e)});return i.length?(this.options.preload=r.concat(i),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ea,i=eo(eo(eo({},this.options),t),{isClone:!0}),o=new r(i);return(void 0!==t.debug||void 0!==t.prefix)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(function(t){o[t]=e[t]}),o.services=eo({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new B(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new es(e,t)});var el=es.createInstance();el.createInstance=es.createInstance,el.createInstance,el.init,el.loadResources,el.reloadResources,el.use,el.changeLanguage,el.getFixedT,el.t,el.exists,el.setDefaultNamespace,el.hasLoadedNamespace,el.loadNamespaces,el.loadLanguages;var eu=n(62737),ec=n.n(eu),ed=n(30910),ef=n.n(ed),eh=n(90783),ep=n.n(eh),em=n(78322),eg=n.n(em),ev=n(42554),ey=n.n(ev),eb=n(51470),ew=n.n(eb),e_=n(8558),ex=n.n(e_),eD=n(1388),eE=n.n(eD),eC=JSON.parse('{"Attach files":"Dateien anh\xe4ngen","Cancel":"Stornieren","Channel Missing":"Kanal fehlt","Close":"Schlie\xdfen","Close emoji picker":"Emoji-Picker schlie\xdfen","Commands matching":"\xdcbereinstimmende Befehle","Connection failure, reconnecting now...":"Verbindungsfehler, Wiederherstellung der Verbindung...","Delete":"L\xf6schen","Delivered":"Zugestellt","Drag your files here":"Ziehen Sie Ihre Dateien hierher","Drag your files here to add to your post":"Ziehen Sie Ihre Dateien hierher, um sie Ihrem Beitrag hinzuzuf\xfcgen","Edit Message":"Nachricht bearbeiten","Edit message request failed":"Anfrage zum Bearbeiten der Nachricht fehlgeschlagen","Emoji matching":"Emoji passend","Empty message...":"Leere Nachricht...","Error adding flag":"Fehler beim Hinzuf\xfcgen des Flags","Error connecting to chat, refresh the page to try again.":"Verbindungsfehler zum Chat, Aktualisiere die Seite um es erneut zu versuchen.","Error deleting message":"Fehler beim L\xf6schen der Nachricht","Error muting a user ...":"Fehler beim Stummschalten eines Nutzers.","Error pinning message":"Fehler beim Pinnen der Nachricht","Error removing message pin":"Fehler beim Entfernen der gepinnten Nachricht","Error unmuting a user ...":"Stummschaltung des Nutzers fehlgeschlagen ...","Error uploading file":"Fehler beim Hochladen der Datei","Error uploading image":"Hochladen des Bildes fehlgeschlagen","Error \xb7 Unsent":"Fehler nicht gesendet","Error: {{ errorMessage }}":"Fehler: {{ errorMessage }}","Flag":"Meldung","Latest Messages":"Neueste Nachrichten","Load more":"Mehr laden","Menu":"Men\xfc","Message Failed \xb7 Click to try again":"Nachricht fehlgeschlagen \xb7 Klicken, um es erneut zu versuchen","Message Failed \xb7 Unauthorized":"Nachricht fehlgeschlagen \xb7 Nicht autorisiert","Message deleted":"Nachricht gel\xf6scht","Message has been successfully flagged":"Nachricht wurde erfolgreich gemeldet","Message pinned":"Nachricht gepinnt","Mute":"Stumm schalten","New":"Neu","New Messages!":"Neue Nachrichten!","No chats here yet…":"Noch keine Chats hier...","No results found":"keine Ergebnisse gefunden","Nothing yet...":"Noch nichts...","Open emoji picker":"Emoji-Picker \xf6ffnen","People matching":"Passende Personen","Pick your emoji":"Emoji w\xe4hlen","Pin":"Pin","Pinned by":"Gepinnt von","Reply":"Antworten","Reply to Message":"Auf Nachricht antworten","Search":"Suche","Searching...":"Suchen...","Send":"Senden","Send message request failed":"Senden der Nachrichtenanfrage fehlgeschlagen","Sending...":"Senden...","Shuffle":"Mischen","Slow Mode ON":"Slow-Mode EIN","Some of the files will not be accepted":"Einige der Dateien werden nicht akzeptiert","This message was deleted...":"Diese Nachricht wurde gel\xf6scht...","Thread":"Thread","Type your message":"Nachricht eingeben","Unmute":"Stummschaltung aufheben","Unpin":"Pin entfernen","Upload type: \\"{{ type }}\\" is not allowed":"Upload-Typ: \\"{{ type }}\\" ist nicht erlaubt","User uploaded content":"Benutzer hochgeladenen Inhalts","Wait until all attachments have uploaded":"Bitte warten, bis alle Anh\xe4nge hochgeladen wurden","You have no channels currently":"Du hast momentan noch keinen Channels","You\'ve reached the maximum number of files":"Die maximale Dateianzahl ist erreicht","ban-command-args":"[@Benutzername] [Text]","ban-command-description":"Einen Benutzer verbannen","giphy-command-args":"[Text]","giphy-command-description":"Poste ein zuf\xe4lliges Gif in den Kanal","live":"live","mute-command-args":"[@Benutzername]","mute-command-description":"Stummschalten eines Benutzers","replyCount_one":"1 Antwort","replyCount_other":"{{ count }} Antworten","searchResultsCount_one":"1 Ergebnis","searchResultsCount_other":"{{ count }} Ergebnisse","this content could not be displayed":"Dieser Inhalt konnte nicht angezeigt werden","unban-command-args":"[@Benutzername]","unban-command-description":"Einen Benutzer entbannen","unmute-command-args":"[@Benutzername]","unmute-command-description":"Stummschaltung eines Benutzers aufheben","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} und {{moreCount}} Mehr","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} und {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} und {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} mehr","{{ memberCount }} members":"{{ memberCount }} Mitglieder","{{ user }} has been muted":"{{ user }} wurde stummgeschaltet","{{ user }} has been unmuted":"{{ user }} wurde nicht stummgeschaltet","{{ user }} is typing...":"{{ user }} tippt...","{{ users }} and more are typing...":"{{ users }} und mehr tippen...","{{ users }} and {{ user }} are typing...":"{{ users }} und {{ user }} tippen...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Anhang..."}'),ek=JSON.parse('{"Attach files":"Attach files","Cancel":"Cancel","Channel Missing":"Channel Missing","Close":"Close","Close emoji picker":"Close emoji picker","Commands matching":"Commands matching","Connection failure, reconnecting now...":"Connection failure, reconnecting now...","Delete":"Delete","Delivered":"Delivered","Drag your files here":"Drag your files here","Drag your files here to add to your post":"Drag your files here to add to your post","Edit Message":"Edit Message","Edit message request failed":"Edit message request failed","Emoji matching":"Emoji matching","Empty message...":"Empty message...","Error adding flag":"Error adding flag","Error connecting to chat, refresh the page to try again.":"Error connecting to chat, refresh the page to try again.","Error deleting message":"Error deleting message","Error muting a user ...":"Error muting a user ...","Error pinning message":"Error pinning message","Error removing message pin":"Error removing message pin","Error unmuting a user ...":"Error unmuting a user ...","Error uploading file":"Error uploading file","Error uploading image":"Error uploading image","Error \xb7 Unsent":"Error \xb7 Unsent","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Flag":"Flag","Latest Messages":"Latest Messages","Load more":"Load more","Menu":"Menu","Message Failed \xb7 Click to try again":"Message Failed \xb7 Click to try again","Message Failed \xb7 Unauthorized":"Message Failed \xb7 Unauthorized","Message deleted":"Message deleted","Message has been successfully flagged":"Message has been successfully flagged","Message pinned":"Message pinned","Mute":"Mute","New":"New","New Messages!":"New Messages!","No chats here yet…":"No chats here yet…","No results found":"No results found","Nothing yet...":"Nothing yet...","Open emoji picker":"Open emoji picker","People matching":"People matching","Pick your emoji":"Pick your emoji","Pin":"Pin","Pinned by":"Pinned by","Reply":"Reply","Reply to Message":"Reply to Message","Search":"Search","Searching...":"Searching...","Send":"Send","Send message request failed":"Send message request failed","Sending...":"Sending...","Shuffle":"Shuffle","Slow Mode ON":"Slow Mode ON","Some of the files will not be accepted":"Some of the files will not be accepted","This message was deleted...":"This message was deleted...","Thread":"Thread","Type your message":"Type your message","Unmute":"Unmute","Unpin":"Unpin","Upload type: \\"{{ type }}\\" is not allowed":"Upload type: \\"{{ type }}\\" is not allowed","User uploaded content":"User uploaded content","Wait until all attachments have uploaded":"Wait until all attachments have uploaded","You have no channels currently":"You have no channels currently","You\'ve reached the maximum number of files":"You\'ve reached the maximum number of files","live":"live","replyCount_one":"1 reply","replyCount_other":"{{ count }} replies","searchResultsCount_one":"1 result","searchResultsCount_other":"{{ count }} results","this content could not be displayed":"this content could not be displayed","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} and {{ moreCount }} more","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }}, and {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} and {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} more","{{ memberCount }} members":"{{ memberCount }} members","{{ user }} has been muted":"{{ user }} has been muted","{{ user }} has been unmuted":"{{ user }} has been unmuted","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Attachment..."}'),eS=JSON.parse('{"Attach files":"Adjuntar archivos","Cancel":"Cancelar","Channel Missing":"Falta canal","Close":"Cerca","Close emoji picker":"Cerrar el selector de emojis","Commands matching":"Coincidencia de comandos","Connection failure, reconnecting now...":"Fallo de conexi\xf3n, reconectando ahora ...","Delete":"Borrar","Delivered":"Entregado","Drag your files here":"Arrastra tus archivos aqu\xed","Drag your files here to add to your post":"Arrastra tus archivos aqu\xed para agregarlos a tu publicaci\xf3n","Edit Message":"Editar mensaje","Edit message request failed":"Error al editar la solicitud de mensaje","Emoji matching":"Coincidencia de emoji","Empty message...":"Mensaje vac\xedo ...","Error adding flag":"Error al agregar la bandera","Error connecting to chat, refresh the page to try again.":"Error al conectarse al chat, actualice la p\xe1gina para volver a intentarlo.","Error deleting message":"Error al eliminar el mensaje","Error muting a user ...":"Error al silenciar a un usuario ...","Error pinning message":"Mensaje de error al fijar","Error removing message pin":"Error al quitar el pin del mensaje","Error unmuting a user ...":"Error al activar el silencio de un usuario ...","Error uploading file":"Error al cargar el archivo","Error uploading image":"Error subiendo imagen","Error \xb7 Unsent":"Error \xb7 No enviado","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Flag":"Bandera","Latest Messages":"\xdaltimos mensajes","Load more":"Cargar m\xe1s","Menu":"Men\xfa","Message Failed \xb7 Click to try again":"Mensaje fallido \xb7 Haga clic para volver a intentarlo","Message Failed \xb7 Unauthorized":"Mensaje fallido \xb7 No autorizado","Message deleted":"Mensaje borrado","Message has been successfully flagged":"El mensaje se marc\xf3 correctamente","Message pinned":"Mensaje fijado","Mute":"Mudo","New":"Nuevo","New Messages!":"\xa1Nuevos mensajes!","No chats here yet…":"A\xfan no hay mensajes aqu\xed...","No results found":"No se han encontrado resultados","Nothing yet...":"Nada a\xfan...","Open emoji picker":"Selector de emoji abierto","People matching":"Personas que coinciden","Pick your emoji":"Elige tu emoji","Pin":"Alfiler","Pinned by":"Fijado por","Reply":"Respuesta","Reply to Message":"Responder al mensaje","Search":"Buscar","Searching...":"Buscando...","Send":"Enviar","Send message request failed":"Error al enviar la solicitud de mensaje","Sending...":"Enviando...","Shuffle":"Mezclar","Slow Mode ON":"Modo lento activado","Some of the files will not be accepted":"Algunos de los archivos no ser\xe1n aceptados","This message was deleted...":"Este mensaje fue eliminado ...","Thread":"Hilo","Type your message":"Escribe tu mensaje","Unmute":"Activar sonido","Unpin":"Desprender","Upload type: \\"{{ type }}\\" is not allowed":"Tipo de carga: \\"{{ type }}\\" no est\xe1 permitido","User uploaded content":"Contenido subido por el usuario","Wait until all attachments have uploaded":"Espere hasta que se hayan cargado todos los archivos adjuntos","You have no channels currently":"Actualmente no tienes canales","You\'ve reached the maximum number of files":"Has alcanzado el n\xfamero m\xe1ximo de archivos","ban-command-args":"[@usuario] [texto]","ban-command-description":"Prohibir a un usuario","giphy-command-args":"[texto]","giphy-command-description":"Publicar un gif aleatorio en el canal","live":"En Vivo","mute-command-args":"[@usuario]","mute-command-description":"Silenciar a un usuario","replyCount_many":"{{ count }} respuestas","replyCount_one":"1 respuesta","replyCount_other":"{{ count }} respuestas","searchResultsCount_many":"{{ count }} resultados","searchResultsCount_one":"1 resultado","searchResultsCount_other":"{{ count }} resultados","this content could not be displayed":"este contenido no se pudo mostrar","unban-command-args":"[@usuario]","unban-command-description":"Quitar la prohibici\xf3n a un usuario","unmute-command-args":"[@usuario]","unmute-command-description":"Anular el silencio de un usuario","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} y {{ moreCount }} m\xe1s","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} y {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} y {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} m\xe1s","{{ memberCount }} members":"{{ memberCount }} miembros","{{ user }} has been muted":"{{ user }} ha sido silenciado","{{ user }} has been unmuted":"{{ user }} se ha desactivado","{{ user }} is typing...":"{{ user }} est\xe1 escribiendo...","{{ users }} and more are typing...":"{{ users }} y m\xe1s est\xe1n escribiendo...","{{ users }} and {{ user }} are typing...":"{{ users }} y {{ user }} est\xe1n escribiendo...","{{ watcherCount }} online":"{{ watcherCount }} en l\xednea","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Adjunto..."}'),eT=JSON.parse('{"Attach files":"Pi\xe8ces jointes","Cancel":"Annuler","Channel Missing":"Canal Manquant","Close":"Fermer","Close emoji picker":"Fermer le s\xe9lecteur d\'emojis","Commands matching":"Correspondance des commandes","Connection failure, reconnecting now...":"\xc9chec de la connexion, reconnexion en cours...","Delete":"Supprimer","Delivered":"Publi\xe9","Drag your files here":"Glissez vos fichiers ici","Drag your files here to add to your post":"Glissez vos fichiers ici pour les ajouter \xe0 votre publication","Edit Message":"\xc9diter un message","Edit message request failed":"\xc9chec de la demande de modification du message","Emoji matching":"Correspondance emoji","Empty message...":"Message vide...","Error adding flag":"Erreur lors de l\'ajout du drapeau","Error connecting to chat, refresh the page to try again.":"Erreur de connexion au chat, rafra\xeechissez la page pour r\xe9essayer.","Error deleting message":"Erreur lors de la suppression du message","Error muting a user ...":"Erreur de mise en sourdine d\'un utilisateur ...","Error pinning message":"Erreur d\'\xe9pinglage du message","Error removing message pin":"Erreur lors de la suppression du code PIN du message","Error unmuting a user ...":"Erreur de d\xe9sactivation de la fonction sourdine pour un utilisateur ...","Error uploading file":"Erreur lors du t\xe9l\xe9chargement du fichier","Error uploading image":"Erreur lors de l\'envoi de l\'image","Error \xb7 Unsent":"Erreur - Non envoy\xe9","Error: {{ errorMessage }}":"Erreur : {{ errorMessage }}","Flag":"Signaler","Latest Messages":"Derniers messages","Load more":"Charger plus","Menu":"Menu","Message Failed \xb7 Click to try again":"\xc9chec de l\'envoi du message - Cliquez pour r\xe9essayer","Message Failed \xb7 Unauthorized":"\xc9chec de l\'envoi du message - Non autoris\xe9","Message deleted":"Message supprim\xe9","Message has been successfully flagged":"Le message a \xe9t\xe9 signal\xe9 avec succ\xe8s","Message pinned":"Message \xe9pingl\xe9","Mute":"Muet","New":"Nouveaux","New Messages!":"Nouveaux Messages!","No chats here yet…":"Pas encore de messages ici...","No results found":"Aucun r\xe9sultat trouv\xe9","Nothing yet...":"Aucun message...","Open emoji picker":"Ouvrez le s\xe9lecteur d\'emoji","People matching":"Correspondance de personnes","Pick your emoji":"Choisissez votre emoji","Pin":"\xc9pingle","Pinned by":"\xc9pingl\xe9 par","Reply":"R\xe9ponse","Reply to Message":"R\xe9pondre au message","Search":"Rechercher","Searching...":"Recherche...","Send":"Envoyer","Send message request failed":"\xc9chec de la demande d\'envoi de message","Sending...":"Envoi en cours...","Shuffle":"M\xe9langer","Slow Mode ON":"Mode lent activ\xe9","Some of the files will not be accepted":"Certains fichiers ne seront pas accept\xe9s","This message was deleted...":"Ce message a \xe9t\xe9 supprim\xe9...","Thread":"Fil de discussion","Type your message":"Saisissez votre message","Unmute":"D\xe9sactiver muet","Unpin":"D\xe9tacher","Upload type: \\"{{ type }}\\" is not allowed":"Le type de t\xe9l\xe9chargement: \\"{{ type }}\\" n\'est pas autoris\xe9","User uploaded content":"Contenu t\xe9l\xe9charg\xe9 par l\'utilisateur","Wait until all attachments have uploaded":"Attendez que toutes les pi\xe8ces jointes soient t\xe9l\xe9charg\xe9es","You have no channels currently":"Vous n\'avez actuellement aucun canal","You\'ve reached the maximum number of files":"Vous avez atteint le nombre maximum de fichiers","ban-command-args":"[@nomdutilisateur] [texte]","ban-command-description":"Bannir un utilisateur","giphy-command-args":"[texte]","giphy-command-description":"Poster un GIF al\xe9atoire dans le canal","live":"en direct","mute-command-args":"[@nomdutilisateur]","mute-command-description":"Muter un utilisateur","replyCount_many":"{{ count }} r\xe9ponses","replyCount_one":"1 r\xe9ponse","replyCount_other":"{{ count }} r\xe9ponses","searchResultsCount_many":"{{ count }} r\xe9sultats","searchResultsCount_one":"1 r\xe9sultat","searchResultsCount_other":"{{ count }} r\xe9sultats","this content could not be displayed":"ce contenu n\'a pu \xeatre affich\xe9","unban-command-args":"[@nomdutilisateur]","unban-command-description":"D\xe9bannir un utilisateur","unmute-command-args":"[@nomdutilisateur]","unmute-command-description":"D\xe9muter un utilisateur","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} et {{ moreCount }} autres","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} et {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} et {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} suppl\xe9mentaires","{{ memberCount }} members":"{{ memberCount }} membres","{{ user }} has been muted":"{{ user }} a \xe9t\xe9 mis en sourdine","{{ user }} has been unmuted":"{{ user }} n\'est plus en sourdine","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} en ligne","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Pi\xe8ce jointe..."}'),eM=JSON.parse('{"Attach files":"फाइल्स अटैच करे","Cancel":"रद्द करें","Channel Missing":"चैनल उपलब्ध नहीं है","Close":"बंद करे","Close emoji picker":"इमोजी पिकर बंद करें","Commands matching":"मेल खाती है","Connection failure, reconnecting now...":"कनेक्शन विफल रहा, अब पुनः कनेक्ट हो रहा है ...","Delete":"डिलीट","Delivered":"पहुंच गया","Drag your files here":"अपनी फ़ाइलें यहाँ खींचें","Drag your files here to add to your post":"अपनी फ़ाइलें यहाँ खींचें और अपने पोस्ट में जोड़ने के लिए","Edit Message":"मैसेज में बदलाव करे","Edit message request failed":"संदेश संपादित करने का अनुरोध विफल रहा","Emoji matching":"इमोजी मिलान","Empty message...":"खाली संदेश ...","Error adding flag":"ध्वज जोड़ने में त्रुटि","Error connecting to chat, refresh the page to try again.":"चैट से कनेक्ट करने में त्रुटि, पेज को रिफ्रेश करें","Error deleting message":"संदेश हटाने में त्रुटि","Error muting a user ...":"यूजर को म्यूट करने का प्रयास फेल हुआ","Error pinning message":"संदेश को पिन करने में त्रुटि","Error removing message pin":"संदेश पिन निकालने में त्रुटि","Error unmuting a user ...":"यूजर को अनम्यूट करने का प्रयास फेल हुआ","Error uploading file":"फ़ाइल अपलोड करने में त्रुटि","Error uploading image":"छवि अपलोड करने में त्रुटि","Error \xb7 Unsent":"फेल","Error: {{ errorMessage }}":"फेल: {{ errorMessage }}","Flag":"फ्लैग करे","Latest Messages":"नवीनतम संदेश","Load more":"और लोड करें","Menu":"मेन्यू","Message Failed \xb7 Click to try again":"मैसेज फ़ैल - पुनः कोशिश करें","Message Failed \xb7 Unauthorized":"मैसेज फ़ैल - अनधिकृत","Message deleted":"मैसेज हटा दिया गया","Message has been successfully flagged":"मैसेज को फ्लैग कर दिया गया है","Message pinned":"संदेश पिन किया गया","Mute":"म्यूट करे","New":"नए","New Messages!":"नए मैसेज!","No chats here yet…":"यहां अभी तक कोई चैट नहीं...","No results found":"कोई परिणाम नहीं मिला","Nothing yet...":"कोई मैसेज नहीं है","Open emoji picker":"इमोजी पिकर खोलिये","People matching":"मेल खाते लोग","Pick your emoji":"इमोजी चूस करे","Pin":"पिन","Pinned by":"द्वारा पिन किया गया","Reply":"जवाब दे दो","Reply to Message":"संदेश का जवाब दें","Search":"खोज","Searching...":"खोज कर...","Send":"भेजे","Send message request failed":"संदेश भेजने का अनुरोध विफल रहा","Sending...":"भेजा जा रहा है","Shuffle":"मिश्रित करें","Slow Mode ON":"स्लो मोड ऑन","Some of the files will not be accepted":"कुछ फ़ाइलें स्वीकार नहीं की जाएंगी","This message was deleted...":"मैसेज हटा दिया गया","Thread":"रिप्लाई थ्रेड","Type your message":"अपना मैसेज लिखे","Unmute":"अनम्यूट","Unpin":"अनपिन","Upload type: \\"{{ type }}\\" is not allowed":"अपलोड प्रकार: \\"{{ type }}\\" की अनुमति नहीं है","User uploaded content":"उपयोगकर्ता अपलोड की गई सामग्री","Wait until all attachments have uploaded":"सभी अटैचमेंट अपलोड होने तक प्रतीक्षा करें","You have no channels currently":"आपके पास कोई चैनल नहीं है","You\'ve reached the maximum number of files":"आप अधिकतम फ़ाइलों तक पहुँच गए हैं","ban-command-args":"[@उपयोगकर्तनाम] [पाठ]","ban-command-description":"एक उपयोगकर्ता को प्रतिषेधित करें","giphy-command-args":"[पाठ]","giphy-command-description":"चैनल पर एक क्रॉफिल जीआइएफ पोस्ट करें","live":"लाइव","mute-command-args":"[@उपयोगकर्तनाम]","mute-command-description":"एक उपयोगकर्ता को म्यूट करें","replyCount_one":"1 रिप्लाई","replyCount_other":"{{ count }} रिप्लाई","searchResultsCount_one":"1 परिणाम","searchResultsCount_other":"{{ count }} परिणाम","this content could not be displayed":"यह कॉन्टेंट लोड नहीं हो पाया","unban-command-args":"[@उपयोगकर्तनाम]","unban-command-description":"एक उपयोगकर्ता को प्रतिषेध से मुक्त करें","unmute-command-args":"[@उपयोगकर्तनाम]","unmute-command-description":"एक उपयोगकर्ता को अनम्यूट करें","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} और {{ moreCount }} और","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} और {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} और {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} और","{{ memberCount }} members":"{{ memberCount }} मेंबर्स","{{ user }} has been muted":"{{ user }} को म्यूट कर दिया गया है","{{ user }} has been unmuted":"{{ user }} को अनम्यूट कर दिया गया है","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 अटैचमेंट"}'),eO=JSON.parse('{"Attach files":"Allega file","Cancel":"Annulla","Channel Missing":"Il canale non esiste","Close":"Chiudi","Close emoji picker":"Chiudi il selettore di emoji","Commands matching":"Comandi corrispondenti","Connection failure, reconnecting now...":"Connessione fallitta, riconnessione in corso...","Delete":"Cancella","Delivered":"Consegnato","Drag your files here":"Trascina i tuoi file qui","Drag your files here to add to your post":"Trascina i tuoi file qui per aggiungerli al tuo post","Edit Message":"Modifica messaggio","Edit message request failed":"Richiesta di modifica del messaggio non riuscita","Emoji matching":"Abbinamento emoji","Empty message...":"Message vuoto...","Error adding flag":"Errore durante l\'aggiunta del flag","Error connecting to chat, refresh the page to try again.":"Errore di connessione alla chat, aggiorna la pagina per riprovare","Error deleting message":"Errore durante l\'eliminazione del messaggio","Error muting a user ...":"Errore silenziando un utente ...","Error pinning message":"Errore durante il blocco del messaggio","Error removing message pin":"Errore durante la rimozione del PIN del messaggio","Error unmuting a user ...":"Errore riattivando le notifiche per l\'utente ...","Error uploading file":"Errore durante il caricamento del file","Error uploading image":"Errore durante il caricamento dell\'immagine","Error \xb7 Unsent":"Errore \xb7 Non inviato","Error: {{ errorMessage }}":"Errore: {{ errorMessage }}","Flag":"Segnala","Latest Messages":"Ultimi messaggi","Load more":"Carica di pi\xf9","Menu":"Men\xf9","Message Failed \xb7 Click to try again":"Invio messaggio fallito \xb7 Clicca per riprovare","Message Failed \xb7 Unauthorized":"Invio messaggio fallito \xb7 Non autorizzato","Message deleted":"Messaggio cancellato","Message has been successfully flagged":"Il messaggio \xe9 stato segnalato con successo","Message pinned":"Messaggio bloccato","Mute":"Silenzia","New":"Nuovo","New Messages!":"Nuovo messaggio!","No chats here yet…":"Non ci sono ancora messaggi qui...","No results found":"Nessun risultato trovato","Nothing yet...":"Ancora niente...","Open emoji picker":"Apri il selettore dellle emoji","People matching":"Persone che corrispondono","Pick your emoji":"Scegli la tua emoji","Pin":"Pin","Pinned by":"Appuntato da","Reply":"Rispondere","Reply to Message":"Rispondi al messaggio","Search":"Ricerca","Searching...":"Ricerca in corso ...","Send":"Invia","Send message request failed":"Invia messaggio di richiesta non riuscito","Sending...":"Invio in corso...","Shuffle":"Mescolare","Slow Mode ON":"Modalit\xe0 lenta attivata","Some of the files will not be accepted":"Alcuni dei file non saranno accettati","This message was deleted...":"Questo messaggio \xe9 stato cancellato","Thread":"Thread","Type your message":"Scrivi il tuo messaggio","Unmute":"Riattiva le notifiche","Unpin":"Sblocca","Upload type: \\"{{ type }}\\" is not allowed":"Tipo di caricamento: \\"{{ type }}\\" non \xe8 consentito","User uploaded content":"Contenuto caricato dall\'utente","Wait until all attachments have uploaded":"Attendi il caricamento di tutti gli allegati","You have no channels currently":"Al momento non sono presenti canali","You\'ve reached the maximum number of files":"Hai raggiunto il numero massimo di file","ban-command-args":"[@nomeutente] [testo]","ban-command-description":"Vietare un utente","giphy-command-args":"[testo]","giphy-command-description":"Pubblica un gif casuale sul canale","live":"live","mute-command-args":"[@nomeutente]","mute-command-description":"Silenzia un utente","replyCount_many":"{{ count }} risposte","replyCount_one":"Una risposta","replyCount_other":"{{ count }} risposte","searchResultsCount_many":"{{ count }} risultati","searchResultsCount_one":"1 risultato","searchResultsCount_other":"{{ count }} risultati","this content could not be displayed":"questo contenuto non pu\xf3 essere mostrato","unban-command-args":"[@nomeutente]","unban-command-description":"Togliere il divieto a un utente","unmute-command-args":"[@nomeutente]","unmute-command-description":"Togliere il silenzio a un utente","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} e altri {{ moreCount }}","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} e {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} e {{ secondUser }}","{{ imageCount }} more":"+ {{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} membri","{{ user }} has been muted":"{{ user }} \xe9 stato silenziato","{{ user }} has been unmuted":"Notifiche riattivate per {{ user }}","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Allegato..."}'),eP=JSON.parse('{"Attach files":"ファイルを添付する","Cancel":"キャンセル","Channel Missing":"チャネルがありません","Close":"閉める","Close emoji picker":"絵文字ピッカーを閉める","Commands matching":"一致するコマンド","Connection failure, reconnecting now...":"接続が失敗しました。再接続中...","Delete":"消去","Delivered":"配信しました","Drag your files here":"ここにファイルをドラッグ","Drag your files here to add to your post":"投稿に追加するためにここにファイルをドラッグ","Edit Message":"メッセージを編集","Edit message request failed":"メッセージの編集要求が失敗しました","Emoji matching":"絵文字マッチング","Empty message...":"空のメッセージ...","Error adding flag":"フラグを追加のエラーが発生しました","Error connecting to chat, refresh the page to try again.":"チャットへの接続ができませんでした。ページを更新してください。","Error deleting message":"メッセージを削除するエラーが発生しました","Error muting a user ...":"ユーザーを無音するエラーが発生しました...","Error pinning message":"メッセージをピンのエラーが発生しました","Error removing message pin":"メッセージのピンを削除のエラーが発生しました","Error unmuting a user ...":"ユーザーの無音解除のエラーが発生しました...","Error uploading file":"ファイルをアップロードのエラーが発生しました","Error uploading image":"画像をアップロードのエラーが発生しました","Error \xb7 Unsent":"エラー・未送信","Error: {{ errorMessage }}":"エラー: {{ errorMessage }}","Flag":"フラグ","Latest Messages":"最新のメッセージ","Load more":"もっと読み込む","Menu":"メニュー","Message Failed \xb7 Click to try again":"メッセージが失敗しました \xb7 クリックして再試行してください","Message Failed \xb7 Unauthorized":"メッセージが失敗しました \xb7 許可されていません","Message deleted":"メッセージが削除されました","Message has been successfully flagged":"メッセージに正常にフラグが付けられました","Message pinned":"メッセージにピンが付けられました","Mute":"無音","New":"新しい","New Messages!":"新しいメッセージ!","No chats here yet…":"ここにはまだチャットはありません…","No results found":"結果が見つかりません","Nothing yet...":"まだ何もありません...","Open emoji picker":"絵文字ピッカーを開く","People matching":"一致する人","Pick your emoji":"絵文字を選んでください","Pin":"ピン","Pinned by":"ピンした方","Reply":"返事","Reply to Message":"メッセージに返信","Search":"探す","Searching...":"検索中...","Send":"送信","Send message request failed":"メッセージ送信リクエストが失敗しました","Sending...":"送信中...","Shuffle":"シャッフル","Slow Mode ON":"スローモードオン","Some of the files will not be accepted":"一部のファイルは受け付けられません","This message was deleted...":"このメッセージは削除されました...","Thread":"スレッド","Type your message":"メッセージを入力してください","Unmute":"無音を解除する","Unpin":"ピンを解除する","Upload type: \\"{{ type }}\\" is not allowed":"アップロードタイプ:\\"{{ type }}\\"は許可されていません","User uploaded content":"ユーザーがアップロードしたコンテンツ","Wait until all attachments have uploaded":"すべての添付ファイルがアップロードされるまでお待ちください","You have no channels currently":"現在チャンネルはありません","You\'ve reached the maximum number of files":"ファイルの最大数に達しました","ban-command-args":"[@ユーザ名] [テキスト]","ban-command-description":"ユーザーを禁止する","giphy-command-args":"[テキスト]","giphy-command-description":"チャンネルにランダムなGIFを投稿する","live":"ライブ","mute-command-args":"[@ユーザ名]","mute-command-description":"ユーザーをミュートする","replyCount_one":"1件の返信","replyCount_other":"{{ count }} 返信","searchResultsCount_one":"1件の結果","searchResultsCount_other":"{{ count }}件の結果","this content could not be displayed":"このコンテンツは表示できませんでした","unban-command-args":"[@ユーザ名]","unban-command-description":"ユーザーの禁止を解除する","unmute-command-args":"[@ユーザ名]","unmute-command-description":"ユーザーのミュートを解除する","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} と {{ moreCount }} 他人","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} と {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} と {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} イメージ","{{ memberCount }} members":"{{ memberCount }} メンバー","{{ user }} has been muted":"{{ user }} 無音されています","{{ user }} has been unmuted":"{{ user }} 無音されていません","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} オンライン","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 アタッチメント..."}'),eR=JSON.parse('{"Attach files":"파일 첨부","Cancel":"취소","Channel Missing":"채널 누락","Close":"닫기","Close emoji picker":"이모티콘 선택기 닫기","Commands matching":"일치하는 명령","Connection failure, reconnecting now...":"연결 실패, 지금 다시 연결 중...","Delete":"삭제","Delivered":"배달됨","Drag your files here":"여기로 파일을 끌어다 놓으세요","Drag your files here to add to your post":"게시물에 추가하려면 파일을 여기로 끌어다 놓으세요","Edit Message":"메시지 수정","Edit message request failed":"메시지 수정 요청 실패","Emoji matching":"이모티콘 매칭","Empty message...":"빈 메시지...","Error adding flag":"플래그를 추가하는 동안 오류가 발생했습니다.","Error connecting to chat, refresh the page to try again.":"채팅에 연결하는 동안 오류가 발생했습니다. 페이지를 새로고침하여 다시 시도하세요.","Error deleting message":"메시지를 삭제하는 중에 오류가 발생했습니다.","Error muting a user ...":"사용자를 음소거하는 중에 오류가 발생했습니다...","Error pinning message":"메시지를 핀하는 중에 오류가 발생했습니다.","Error removing message pin":"메시지 핀을 제거하는 중에 오류가 발생했습니다.","Error unmuting a user ...":"사용자 음소거 해제 중 오류 발생...","Error uploading file":"파일 업로드 오류","Error uploading image":"이미지를 업로드하는 동안 오류가 발생했습니다.","Error \xb7 Unsent":"오류 \xb7 전송되지 않음","Error: {{ errorMessage }}":"오류: {{ errorMessage }}","Flag":"플래그","Latest Messages":"최신 메시지","Load more":"더 불러오기","Menu":"메뉴","Message Failed \xb7 Click to try again":"메시지 실패 \xb7 다시 시도하려면 클릭하세요.","Message Failed \xb7 Unauthorized":"메시지 실패 \xb7 승인되지 않음","Message deleted":"메시지가 삭제되었습니다.","Message has been successfully flagged":"메시지에 플래그가 지정되었습니다.","Message pinned":"메시지 핀했습니다","Mute":"무음","New":"새로운","New Messages!":"새 메시지!","No chats here yet…":"아직 채팅이 없습니다...","No results found":"검색 결과가 없습니다","Nothing yet...":"아직 아무것도...","Open emoji picker":"이모티콘 선택기 열기","People matching":"일치하는 사람","Pick your emoji":"이모티콘 선택","Pin":"핀","Pinned by":"핀했던 분:","Reply":"답장","Reply to Message":"메시지에 답장","Search":"찾다","Searching...":"수색...","Send":"보내다","Send message request failed":"메시지 보내기 요청 실패","Sending...":"배상중...","Shuffle":"셔플","Slow Mode ON":"슬로우 모드 켜짐","Some of the files will not be accepted":"일부 파일은 허용되지 않을 수 있습니다","This message was deleted...":"이 메시지는 삭제되었습니다...","Thread":"스레드","Type your message":"메시지 입력","Unmute":"음소거 해제","Unpin":"핀 해제","Upload type: \\"{{ type }}\\" is not allowed":"업로드 유형: \\"{{ type }}\\"은(는) 허용되지 않습니다.","User uploaded content":"사용자 업로드 콘텐츠","Wait until all attachments have uploaded":"모든 첨부 파일이 업로드될 때까지 기다립니다.","You have no channels currently":"현재 채널이 없습니다.","You\'ve reached the maximum number of files":"최대 파일 수에 도달했습니다.","ban-command-args":"[@사용자이름] [텍스트]","ban-command-description":"사용자를 차단","giphy-command-args":"[텍스트]","giphy-command-description":"채널에 무작위 GIF 게시","live":"라이브","mute-command-args":"[@사용자이름]","mute-command-description":"사용자 음소거","replyCount_one":"답장 1개","replyCount_other":"{{ count }} 답장","searchResultsCount_one":"1개의 결과","searchResultsCount_other":"{{ count }}개 결과","this content could not be displayed":"이 콘텐츠를 표시할 수 없습니다","unban-command-args":"[@사용자이름]","unban-command-description":"사용자 차단 해제","unmute-command-args":"[@사용자이름]","unmute-command-description":"사용자 음소거 해제","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} 그리고 {{ moreCount }}명 더","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} 그리고 {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} 그리고 {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }}개 더","{{ memberCount }} members":"{{ memberCount }}명","{{ user }} has been muted":"{{ user }} 음소거되었습니다","{{ user }} has been unmuted":"{{ user }} 음소거가 해제되었습니다","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} 온라인","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 부착..."}'),ej=JSON.parse('{"Attach files":"Bijlage toevoegen","Cancel":"Annuleer","Channel Missing":"Kanaal niet gevonden","Close":"Sluit","Close emoji picker":"Sluit de emoji-kiezer","Commands matching":"Bijpassende opdrachten","Connection failure, reconnecting now...":"Probleem met de verbinding, opnieuw verbinding maken...","Delete":"Verwijder","Delivered":"Afgeleverd","Drag your files here":"Sleep je bestanden hier naartoe","Drag your files here to add to your post":"Sleep je bestanden hier naartoe om aan je bericht toe te voegen","Edit Message":"Pas bericht aan","Edit message request failed":"Verzoek om bericht bewerken mislukt","Emoji matching":"Emoji-overeenkomsten","Empty message...":"Leeg bericht...","Error adding flag":"Fout bij toevoegen van vlag","Error connecting to chat, refresh the page to try again.":"Fout bij het verbinden, ververs de pagina om nogmaals te proberen","Error deleting message":"Fout bij verwijderen van bericht","Error muting a user ...":"Fout bij het muten van de gebruiker","Error pinning message":"Fout bij vastzetten van bericht","Error removing message pin":"Fout bij verwijderen van berichtpin","Error unmuting a user ...":"Fout bij het unmuten van de gebruiker","Error uploading file":"Fout bij uploaden bestand","Error uploading image":"Fout bij uploaden afbeelding","Error \xb7 Unsent":"Error: \xb7 niet verzonden","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Flag":"Markeer","Latest Messages":"Laatste berichten","Load more":"Meer laden","Menu":"Menu","Message Failed \xb7 Click to try again":"Bericht mislukt, klik om het nogmaals te proberen","Message Failed \xb7 Unauthorized":"Bericht mislukt, ongeautoriseerd","Message deleted":"Bericht verwijderd","Message has been successfully flagged":"Bericht is succesvol gemarkeerd","Message pinned":"Bericht vastgezet","Mute":"Mute","New":"Nieuwe","New Messages!":"Nieuwe Berichten!","No chats here yet…":"Nog geen chats hier...","No results found":"Geen resultaten gevonden","Nothing yet...":"Nog niets ...","Open emoji picker":"Open emojipicker","People matching":"Mensen die matchen","Pick your emoji":"Kies je emoji","Pin":"Pin","Pinned by":"Vastgemaakt door","Reply":"Antwoord","Reply to Message":"Antwoord op bericht","Search":"Zoeken","Searching...":"Zoeken...","Send":"Verstuur","Send message request failed":"Verzoek om bericht te verzenden mislukt","Sending...":"Aan het verzenden...","Shuffle":"Schudden","Slow Mode ON":"Langzame modus aan","Some of the files will not be accepted":"Sommige bestanden zullen niet worden geaccepteerd","This message was deleted...":"Dit bericht was verwijderd","Thread":"Draadje","Type your message":"Type je bericht","Unmute":"Unmute","Unpin":"Losmaken","Upload type: \\"{{ type }}\\" is not allowed":"Uploadtype: \\"{{ type }}\\" is niet toegestaan","User uploaded content":"Gebruikersge\xfcploade inhoud","Wait until all attachments have uploaded":"Wacht tot alle bijlagen zijn ge\xfcpload","You have no channels currently":"Er zijn geen chats beschikbaar","You\'ve reached the maximum number of files":"Je hebt het maximale aantal bestanden bereikt","ban-command-args":"[@gebruikersnaam] [tekst]","ban-command-description":"Een gebruiker verbannen","giphy-command-args":"[tekst]","giphy-command-description":"Plaats een willekeurige gif in het kanaal","live":"live","mute-command-args":"[@gebruikersnaam]","mute-command-description":"Een gebruiker dempen","replyCount_one":"1 antwoord","replyCount_other":"{{ count }} antwoorden","searchResultsCount_one":"1 resultaat","searchResultsCount_other":"{{ count }} resultaten","this content could not be displayed":"Deze inhoud kan niet weergegeven worden","unban-command-args":"[@gebruikersnaam]","unban-command-description":"Een gebruiker debannen","unmute-command-args":"[@gebruikersnaam]","unmute-command-description":"Een gebruiker niet meer dempen","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} en {{ moreCount }} meer","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} en {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} en {{ secondUser }}","{{ imageCount }} more":"+{{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} deelnemers","{{ user }} has been muted":"{{ user }} is muted","{{ user }} has been unmuted":"{{ user }} is unmuted","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Bijlage..."}'),eL=JSON.parse('{"Attach files":"Anexar arquivos","Cancel":"Cancelar","Channel Missing":"Canal ausente","Close":"Fechar","Close emoji picker":"Fechar seletor de emoji","Commands matching":"Comandos correspondentes","Connection failure, reconnecting now...":"Falha de conex\xe3o, reconectando agora...","Delete":"Excluir","Delivered":"Entregue","Drag your files here":"Arraste seus arquivos aqui","Drag your files here to add to your post":"Arraste seus arquivos aqui para adicionar ao seu post","Edit Message":"Editar Mensagem","Edit message request failed":"O pedido de edi\xe7\xe3o da mensagem falhou","Emoji matching":"Emoji correspondente","Empty message...":"Mensagem vazia...","Error adding flag":"Erro ao reportar","Error connecting to chat, refresh the page to try again.":"Erro ao conectar ao bate-papo, atualize a p\xe1gina para tentar novamente.","Error deleting message":"Erro ao deletar mensagem","Error muting a user ...":"Erro ao silenciar um usu\xe1rio...","Error pinning message":"Erro ao fixar mensagem","Error removing message pin":"Erro ao remover o PIN da mensagem","Error unmuting a user ...":"Erro ao ativar o som de um usu\xe1rio...","Error uploading file":"Erro ao enviar arquivo","Error uploading image":"Erro ao carregar a imagem","Error \xb7 Unsent":"Erro \xb7 N\xe3o enviado","Error: {{ errorMessage }}":"Erro: {{ errorMessage }}","Flag":"Reportar","Latest Messages":"Mensagens mais recentes","Load more":"Carregar mais","Menu":"Menu","Message Failed \xb7 Click to try again":"A mensagem falhou \xb7 Clique para tentar novamente","Message Failed \xb7 Unauthorized":"A mensagem falhou \xb7 n\xe3o autorizado","Message deleted":"Mensagem apagada","Message has been successfully flagged":"A mensagem foi reportada com sucesso","Message pinned":"Mensagem fixada","Mute":"Mudo","New":"Novo","New Messages!":"Novas mensagens!","No chats here yet…":"Ainda n\xe3o h\xe1 conversas aqui...","No results found":"Nenhum resultado encontrado","Nothing yet...":"Nada ainda...","Open emoji picker":"Abrir seletor de emoji","People matching":"Pessoas correspondentes","Pick your emoji":"Escolha o seu emoji","Pin":"Fixar","Pinned by":"Fixado por","Reply":"Responder","Reply to Message":"Responder a mensagem","Search":"Procurar","Searching...":"Procurando...","Send":"Enviar","Send message request failed":"O pedido de envio de mensagem falhou","Sending...":"Enviando...","Shuffle":"Embaralhar","Slow Mode ON":"Modo lento LIGADO","Some of the files will not be accepted":"Alguns dos arquivos n\xe3o ser\xe3o aceitos","This message was deleted...":"Esta mensagem foi exclu\xedda...","Thread":"Fio","Type your message":"Digite sua mensagem","Unmute":"Ativar som","Unpin":"Liberar","Upload type: \\"{{ type }}\\" is not allowed":"Tipo de upload: \\"{{ type }}\\" n\xe3o \xe9 permitido","User uploaded content":"Conte\xfado enviado pelo usu\xe1rio","Wait until all attachments have uploaded":"Espere at\xe9 que todos os anexos tenham sido carregados","You have no channels currently":"Voc\xea n\xe3o tem canais atualmente","You\'ve reached the maximum number of files":"Voc\xea atingiu o n\xfamero m\xe1ximo de arquivos","ban-command-args":"[@nomedeusu\xe1rio] [texto]","ban-command-description":"Banir um usu\xe1rio","giphy-command-args":"[texto]","giphy-command-description":"Postar um gif aleat\xf3rio no canal","live":"ao vivo","mute-command-args":"[@nomedeusu\xe1rio]","mute-command-description":"Silenciar um usu\xe1rio","replyCount_many":"{{ count }} respostas","replyCount_one":"1 resposta","replyCount_other":"{{ count }} respostas","searchResultsCount_many":"{{ count }} resultados","searchResultsCount_one":"1 resultado","searchResultsCount_other":"{{ count }} resultados","this content could not be displayed":"este conte\xfado n\xe3o p\xf4de ser exibido","unban-command-args":"[@nomedeusu\xe1rio]","unban-command-description":"Desbanir um usu\xe1rio","unmute-command-args":"[@nomedeusu\xe1rio]","unmute-command-description":"Retirar o silenciamento de um usu\xe1rio","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} e mais {{ moreCount }}","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} e {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} e {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} mais","{{ memberCount }} members":"{{ memberCount }} membros","{{ user }} has been muted":"{{ user }} foi silenciado","{{ user }} has been unmuted":"{{ user }} foi reativado","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Anexo..."}'),eF=JSON.parse('{"Attach files":"Прикрепить файлы","Cancel":"Отмена","Channel Missing":"Канал не найден","Close":"Закрыть","Close emoji picker":"Закрыть окно выбора смайлов","Commands matching":"Соответствие команд","Connection failure, reconnecting now...":"Ошибка соединения, переподключение...","Delete":"Удалить","Delivered":"Отправлено","Drag your files here":"Перетащите ваши файлы сюда","Drag your files here to add to your post":"Перетащите ваши файлы сюда, чтобы добавить их в ваш пост","Edit Message":"Редактировать сообщение","Edit message request failed":"Не удалось изменить запрос сообщения","Emoji matching":"Соответствие эмодзи","Empty message...":"Пустое сообщение...","Error adding flag":"Ошибка добавления флага","Error connecting to chat, refresh the page to try again.":"Ошибка подключения к чату, обновите страницу чтобы попробовать снова.","Error deleting message":"Ошибка при удалении сообщения","Error muting a user ...":"Ошибка отключения уведомлений от пользователя...","Error pinning message":"Сообщение об ошибке при закреплении","Error removing message pin":"Ошибка при удалении булавки сообщения","Error unmuting a user ...":"Ошибка включения уведомлений...","Error uploading file":"Ошибка при загрузке файла","Error uploading image":"Ошибка загрузки изображения","Error \xb7 Unsent":"Ошибка \xb7 Не отправлено","Error: {{ errorMessage }}":"Ошибка: {{ errorMessage }}","Flag":"Пожаловаться","Latest Messages":"Последние сообщения","Load more":"Загрузить больше","Menu":"Меню","Message Failed \xb7 Click to try again":"Ошибка отправки сообщения \xb7 Нажмите чтобы повторить","Message Failed \xb7 Unauthorized":"Ошибка отправки сообщения \xb7 Неавторизованный","Message deleted":"Сообщение удалено","Message has been successfully flagged":"Жалоба на сообщение была принята","Message pinned":"Сообщение закреплено","Mute":"Отключить уведомления","New":"Новые","New Messages!":"Новые сообщения!","No chats here yet…":"Здесь еще нет чатов...","No results found":"результаты не найдены","Nothing yet...":"Пока ничего нет...","Open emoji picker":"Выбрать emoji","People matching":"Соответствующие люди","Pick your emoji":"Выберите свой emoji","Pin":"Штырь","Pinned by":"Закреплено","Reply":"Отвечать","Reply to Message":"Ответить на сообщение","Search":"Поиск","Searching...":"Ищем...","Send":"Отправить","Send message request failed":"Не удалось отправить запрос на отправку сообщения","Sending...":"Отправка...","Shuffle":"Перемешать","Slow Mode ON":"Медленный режим включен","Some of the files will not be accepted":"Некоторые файлы не будут приняты","This message was deleted...":"Сообщение было удалено...","Thread":"Ветка","Type your message":"Ваше сообщение","Unmute":"Включить уведомления","Unpin":"Открепить","Upload type: \\"{{ type }}\\" is not allowed":"Тип загрузки: \\"{{ type }}\\" не разрешен","User uploaded content":"Пользователь загрузил контент","Wait until all attachments have uploaded":"Подождите, пока все вложения загрузятся","You have no channels currently":"У вас нет каналов в данный момент","You\'ve reached the maximum number of files":"Вы достигли максимального количества файлов","ban-command-args":"[@имяпользователя] [текст]","ban-command-description":"Заблокировать пользователя","giphy-command-args":"[текст]","giphy-command-description":"Опубликовать случайную GIF-анимацию в канале","live":"В прямом эфире","mute-command-args":"[@имяпользователя]","mute-command-description":"Выключить микрофон у пользователя","replyCount_few":"{{ count }} ответов","replyCount_many":"{{ count }} ответов","replyCount_one":"1 ответ","replyCount_other":"{{ count }} ответов","searchResultsCount_few":"{{ count }} результата","searchResultsCount_many":"{{ count }} результатов","searchResultsCount_one":"1 результат","searchResultsCount_other":"{{ count }} результатов","this content could not be displayed":"Этот контент не может быть отображен в данный момент","unban-command-args":"[@имяпользователя]","unban-command-description":"Разблокировать пользователя","unmute-command-args":"[@имяпользователя]","unmute-command-description":"Включить микрофон у пользователя","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} и {{ moreCount }} еще","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} и {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} и {{ secondUser }}","{{ imageCount }} more":"Ещё {{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} члены","{{ user }} has been muted":"Вы отписались от уведомлений от {{ user }}","{{ user }} has been unmuted":"Уведомления от {{ user }} были включены","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} в сети","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Вложение..."}'),eA=JSON.parse('{"Attach files":"Dosya ekle","Cancel":"İptal","Channel Missing":"Kanal bulunamıyor","Close":"Kapat","Close emoji picker":"Emoji se\xe7iciyi kapat","Commands matching":"Eşleşen komutlar","Connection failure, reconnecting now...":"Bağlantı hatası, tekrar bağlanılıyor...","Delete":"Sil","Delivered":"İletildi","Drag your files here":"Dosyalarınızı buraya s\xfcr\xfckleyin","Drag your files here to add to your post":"G\xf6nderinize eklemek i\xe7in dosyalarınızı buraya s\xfcr\xfckleyin","Edit Message":"Mesajı D\xfczenle","Edit message request failed":"Mesaj d\xfczenleme isteği başarısız oldu","Emoji matching":"Emoji eşleştirme","Empty message...":"Boş mesaj...","Error adding flag":"Bayrak eklenirken hata oluştu","Error connecting to chat, refresh the page to try again.":"Bağlantı hatası, sayfayı yenileyip tekrar deneyin.","Error deleting message":"Mesaj silinirken hata oluştu","Error muting a user ...":"Kullanıcıyı sessize alırken hata oluştu ...","Error pinning message":"Mesaj sabitlenirken hata oluştu","Error removing message pin":"Mesaj PIN\'i kaldırılırken hata oluştu","Error unmuting a user ...":"Kullanıcının sesini a\xe7arken hata oluştu ...","Error uploading file":"Dosya y\xfcklenirken hata oluştu","Error uploading image":"Resmi y\xfcklerken hata","Error \xb7 Unsent":"Hata \xb7 G\xf6nderilemedi","Error: {{ errorMessage }}":"Hata: {{ errorMessage }}","Flag":"Bayrak","Latest Messages":"Son Mesajlar","Load more":"Daha fazla y\xfckle","Menu":"Men\xfc","Message Failed \xb7 Click to try again":"Mesaj Başarısız \xb7 Tekrar denemek i\xe7in tıklayın","Message Failed \xb7 Unauthorized":"Mesaj Başarısız \xb7 Yetkisiz","Message deleted":"Mesaj silindi","Message has been successfully flagged":"Mesaj başarıyla bayraklandı","Message pinned":"Mesaj sabitlendi","Mute":"Sessiz","New":"Yeni","New Messages!":"Yeni Mesajlar!","No chats here yet…":"Hen\xfcz burada sohbet yok...","No results found":"Sonu\xe7 bulunamadı","Nothing yet...":"Şimdilik hi\xe7bir şey...","Open emoji picker":"Emoji klavyesini a\xe7","People matching":"Eşleşen kişiler","Pick your emoji":"Emoji se\xe7in","Pin":"Toplu iğne","Pinned by":"Sabitleyen","Reply":"Cevapla","Reply to Message":"Mesajı Cevapla","Search":"Arama","Searching...":"Aranıyor...","Send":"G\xf6nder","Send message request failed":"Mesaj g\xf6nderme isteği başarısız oldu","Sending...":"G\xf6nderiliyor...","Shuffle":"Karıştır","Slow Mode ON":"Yavaş Mod A\xe7ık","Some of the files will not be accepted":"Bazı dosyalar kabul edilmeyecektir","This message was deleted...":"Bu mesaj silindi","Thread":"Konu","Type your message":"Mesajınızı yazın","Unmute":"Sesini a\xe7","Unpin":"Sabitlemeyi kaldır","Upload type: \\"{{ type }}\\" is not allowed":"Y\xfckleme t\xfcr\xfc: \\"{{ type }}\\" izin verilmez","User uploaded content":"Kullanıcı tarafından y\xfcklenen i\xe7erik","Wait until all attachments have uploaded":"T\xfcm ekler y\xfcklenene kadar bekleyin","You have no channels currently":"Hen\xfcz kanalınız yok","You\'ve reached the maximum number of files":"Maksimum dosya sayısına ulaştınız","ban-command-args":"[@kullanıcıadı] [metin]","ban-command-description":"Bir kullanıcıyı yasakla","giphy-command-args":"[metin]","giphy-command-description":"Rastgele bir gif\'i kanala g\xf6nder","live":"canlı","mute-command-args":"[@kullanıcıadı]","mute-command-description":"Bir kullanıcının sesini kapat","replyCount_one":"1 cevap","replyCount_other":"{{ count }} cevaplar","searchResultsCount_one":"1 sonu\xe7","searchResultsCount_other":"{{ count }} sonu\xe7","this content could not be displayed":"bu i\xe7erik g\xf6sterilemiyor","unban-command-args":"[@kullanıcıadı]","unban-command-description":"Bir kullanıcının yasağını kaldır","unmute-command-args":"[@kullanıcıadı]","unmute-command-description":"Bir kullanıcının sesini a\xe7","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} ve {{ moreCount }} daha","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }}, ve {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} ve {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} adet daha","{{ memberCount }} members":"{{ memberCount }} \xfcyeler","{{ user }} has been muted":"{{ user }} sessize alındı","{{ user }} has been unmuted":"{{ user }} sesi a\xe7ıldı","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} \xe7evrimi\xe7i","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Ek..."}');n(87458),n(90820),n(10904),n(26586),n(25339),n(39055),n(35074),n(8865),n(37205),n(28442),n(40220),n(78568);var eN="translation";ec().extend(ep()),ec().extend(ex()),ec().extend(eE()),ec().updateLocale("de",{calendar:{lastDay:"[gestern um] LT",lastWeek:"[letzten] dddd [um] LT",nextDay:"[morgen um] LT",nextWeek:"dddd [um] LT",sameDay:"[heute um] LT",sameElse:"L"}}),ec().updateLocale("es",{calendar:{lastDay:"[ayer a las] LT",lastWeek:"[pasado] dddd [a] LT",nextDay:"[ma\xf1ana a] LT",nextWeek:"dddd [a] LT",sameDay:"[hoy a las] LT",sameElse:"L"}}),ec().updateLocale("fr",{calendar:{lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",sameDay:"[Aujourd’hui \xe0] LT",sameElse:"L"}}),ec().updateLocale("hi",{calendar:{lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",sameDay:"[आज] LT",sameElse:"L"},meridiem:function(e){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},meridiemHour:function(e,t){if(12===e&&(e=0),"रात"===t)return e<4?e:e+12;if("सुबह"===t);else if("दोपहर"===t)return e>=10?e:e+12;else if("शाम"===t)return e+12;return e},meridiemParse:/रात|सुबह|दोपहर|शाम/}),ec().updateLocale("it",{calendar:{lastDay:"[Ieri alle] LT",lastWeek:"[lo scorso] dddd [alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",sameDay:"[Oggi alle] LT",sameElse:"L"}}),ec().updateLocale("ja",{calendar:{lastDay:"[昨日] LT",lastWeek:"dddd LT",nextDay:"[明日] LT",nextWeek:"[次の] dddd LT",sameDay:"[今日] LT",sameElse:"L"}}),ec().updateLocale("ko",{calendar:{lastDay:"[어제] LT",lastWeek:"[지난] dddd LT",nextDay:"[내일] LT",nextWeek:"dddd LT",sameDay:"[오늘] LT",sameElse:"L"}}),ec().updateLocale("nl",{calendar:{lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",sameDay:"[vandaag om] LT",sameElse:"L"}}),ec().updateLocale("pt",{calendar:{lastDay:"[ontem \xe0s] LT",lastWeek:"dddd [passada \xe0s] LT",nextDay:"[amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",sameDay:"[hoje \xe0s] LT",sameElse:"L"}}),ec().updateLocale("ru",{calendar:{lastDay:"[Вчера, в] LT",nextDay:"[Завтра, в] LT",sameDay:"[Сегодня, в] LT"}}),ec().updateLocale("tr",{calendar:{lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",sameDay:"[bug\xfcn saat] LT",sameElse:"L"}});var eI={formats:{},months:["January","February","March","April","May","June","July","August","September","October","November","December"],relativeTime:{},weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eB=function(e){return void 0!==e.extend},eU=function(e){return void 0!==e.tz},ez={DateTimeParser:ec(),dayjsLocaleConfigForLanguage:null,debug:!1,disableDateTimeTranslations:!1,language:"en",logger:function(e){return console.warn(e)}},eH=function(e){return e},eV=function(){function e(e){void 0===e&&(e={});var t,n,i,o,a,s,l,u,c,d,f,h,p,m,g=this;this.i18nInstance=el.createInstance(),this.Dayjs=null,this.setLanguageCallback=function(){return null},this.initialized=!1,this.t=eH,this.translations={de:((t={})[eN]=eC,t),en:((n={})[eN]=ek,n),es:((i={})[eN]=eS,i),fr:((o={})[eN]=eT,o),hi:((a={})[eN]=eM,a),it:((s={})[eN]=eO,s),ja:((l={})[eN]=eP,l),ko:((u={})[eN]=eR,u),nl:((c={})[eN]=ej,c),pt:((d={})[eN]=eL,d),ru:((f={})[eN]=eF,f),tr:((h={})[eN]=eA,h)},this.dayjsLocales={},this.localeExists=function(e){return!!g.isCustomDateTimeParser||Object.keys(ec().Ls).indexOf(e)>-1},this.validateCurrentLanguage=function(){-1===Object.keys(g.translations).indexOf(g.currentLanguage)&&(g.logger("Streami18n: '".concat(g.currentLanguage,"' language is not registered.")+" Please make sure to call streami18n.registerTranslation('".concat(g.currentLanguage,"', {...}) or ")+"use one the built-in supported languages - ".concat(g.getAvailableLanguages())),g.currentLanguage="en")},this.geti18Instance=function(){return g.i18nInstance},this.getAvailableLanguages=function(){return Object.keys(g.translations)},this.getTranslations=function(){return g.translations};var v=(0,r.pi)((0,r.pi)({},ez),e);this.logger=v.logger,this.currentLanguage=v.language,this.DateTimeParser=v.DateTimeParser,this.timezone=v.timezone;try{this.DateTimeParser&&eB(this.DateTimeParser)&&(this.DateTimeParser.extend(eg()),this.DateTimeParser.extend(ef()),this.DateTimeParser.extend(ey()),this.DateTimeParser.extend(ew()))}catch(e){throw Error("Streami18n: Looks like you wanted to provide Dayjs instance, but something went wrong while adding plugins ".concat(e))}this.isCustomDateTimeParser=!!e.DateTimeParser;var y=v.translationsForLanguage;y&&(this.translations[this.currentLanguage]=((p={})[eN]=this.translations[this.currentLanguage]&&this.translations[this.currentLanguage][eN]?(0,r.pi)((0,r.pi)({},this.translations[this.currentLanguage][eN]),y):y,p)),this.translations[this.currentLanguage]||(this.translations[this.currentLanguage]=((m={})[eN]={},m)),this.i18nextConfig={debug:v.debug,fallbackLng:!1,interpolation:{escapeValue:!1},keySeparator:!1,lng:this.currentLanguage,nsSeparator:!1},v.parseMissingKeyHandler&&(this.i18nextConfig.parseMissingKeyHandler=v.parseMissingKeyHandler),this.validateCurrentLanguage();var b=v.dayjsLocaleConfigForLanguage;b?this.addOrUpdateLocale(this.currentLanguage,(0,r.pi)({},b)):this.localeExists(this.currentLanguage)||this.logger("Streami18n: Streami18n(...) - Locale config for ".concat(this.currentLanguage," does not exist in momentjs.")+"Please import the locale file using \"import 'moment/locale/".concat(this.currentLanguage,"';\" in your app or ")+"register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)"),this.tDateTimeParser=function(e){var t=v.disableDateTimeTranslations||!g.localeExists(g.currentLanguage)?"en":g.currentLanguage;return eB(g.DateTimeParser)?eU(g.DateTimeParser)?g.DateTimeParser(e).tz(g.timezone).locale(t):g.DateTimeParser(e).locale(t):eU(g.DateTimeParser)&&g.timezone?g.DateTimeParser(e).tz(g.timezone).locale(t):g.DateTimeParser(e).locale(t)}}return e.prototype.init=function(){return(0,r.mG)(this,void 0,void 0,function(){var e,t;return(0,r.Jh)(this,function(n){switch(n.label){case 0:this.validateCurrentLanguage(),n.label=1;case 1:return n.trys.push([1,3,,4]),e=this,[4,this.i18nInstance.init((0,r.pi)((0,r.pi)({},this.i18nextConfig),{lng:this.currentLanguage,resources:this.translations}))];case 2:return e.t=n.sent(),this.initialized=!0,[3,4];case 3:return t=n.sent(),this.logger("Something went wrong with init: ".concat(JSON.stringify(t))),[3,4];case 4:return[2,{t:this.t,tDateTimeParser:this.tDateTimeParser}]}})})},e.prototype.getTranslators=function(){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(this.initialized)return[3,2];return this.dayjsLocales[this.currentLanguage]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),[4,this.init()];case 1:return[2,e.sent()];case 2:return[2,{t:this.t,tDateTimeParser:this.tDateTimeParser}]}})})},e.prototype.registerTranslation=function(e,t,n){var i;if(!t){this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) called without translation");return}this.translations[e]?this.translations[e][eN]=t:this.translations[e]=((i={})[eN]=t,i),n?this.dayjsLocales[e]=(0,r.pi)({},n):this.localeExists(e)||this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) - "+"Locale config for ".concat(e," does not exist in Dayjs.")+"Please import the locale file using \"import 'dayjs/locale/".concat(e,"';\" in your app or ")+"register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)"),this.initialized&&this.i18nInstance.addResources(e,eN,t)},e.prototype.addOrUpdateLocale=function(e,t){this.localeExists(e)?ec().updateLocale(e,(0,r.pi)({},t)):ec().locale((0,r.pi)((0,r.pi)({name:e},eI),t),void 0,!0)},e.prototype.setLanguage=function(e){return(0,r.mG)(this,void 0,void 0,function(){var t,n;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(this.currentLanguage=e,!this.initialized)return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.i18nInstance.changeLanguage(e)];case 2:return t=r.sent(),this.dayjsLocales[e]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),this.setLanguageCallback(t),[2,t];case 3:return n=r.sent(),this.logger("Failed to set language: ".concat(JSON.stringify(n))),[2,this.t];case 4:return[2]}})})},e.prototype.registerSetLanguageCallback=function(e){this.setLanguageCallback=e},e}()},35972:function(e,t,n){"use strict";n.d(t,{fh:function(){return i}});var r=n(33600);function i(e){var t=e.calendar,n=e.format,i=e.formatDate,o=e.messageCreatedAt,a=e.tDateTimeParser;if(!o||"string"==typeof o&&!Date.parse(o))return console.warn("MessageTimestamp was called without a message, or message has invalid created_at date."),null;if("function"==typeof i)return i(new Date(o));if(!a)return console.warn("MessageTimestamp was called but there is no datetime parsing function available"),null;var s=a(o);return(0,r.MD)(s)?t&&s.calendar?s.calendar():s.format(n):(0,r.J_)(s)?s.toDateString():(0,r.$s)(s)?s:null}},4118:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var r=function(e,t){e.forEach(function(e){var n=[Object.entries(e[0])[0],Object.entries(e[1])[0]],r=n[0],i=r[0],o=r[1],a=n[1],s=a[0],l=a[1];(void 0!==o&&void 0===l||void 0!==o&&void 0!==l)&&console.warn("[Deprecation notice (".concat(t,")]: prefer using prop ").concat(s," instead of ").concat(i))})}},1538:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(11735),i={},o=function(e){var t=e.channel,n=e.client,o=e.id,s=e.members,l=e.options,u=e.type;return(0,r.mG)(void 0,void 0,void 0,function(){var e,c,d;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!t&&!u)throw Error("Channel or channel type have to be provided to query a channel.");if(!(c=(null==(e=t||n.channel(u,o,{members:s}))?void 0:e.id)?e.cid:s&&s.length?a(e.type,s):void 0))throw Error("Channel ID or channel members array have to be provided to query a channel.");if(!(d=i[c]))return[3,2];return[4,d];case 1:return r.sent(),[3,4];case 2:return i[c]=e.watch(l),[4,i[c]];case 3:r.sent(),delete i[c],r.label=4;case 4:return[2,e]}})})},a=function(e,t){if(t){var n=(0,r.ev)([],t,!0).sort().join(",");return"".concat(e,":!members-").concat(n)}}},16613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=String.fromCodePoint||function(){var e,t,n=[],r=-1,i=arguments.length;if(!i)return"";for(var o="";++r1114111||Math.floor(a)!=a)throw RangeError("Invalid code point: "+a);a<=65535?n.push(a):(a-=65536,e=(a>>10)+55296,t=a%1024+56320,n.push(e,t)),(r+1===i||n.length>16384)&&(o+=String.fromCharCode.apply(null,n),n.length=0)}return o};t.default=n},62041:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uncompress=t.compress=t.buildSearch=void 0;var n={name:"a",unified:"b",non_qualified:"c",has_img_apple:"d",has_img_google:"e",has_img_twitter:"f",has_img_facebook:"h",keywords:"j",sheet:"k",emoticons:"l",text:"m",short_names:"n",added_in:"o"},r=function(e){var t=[],n=function(e,n){e&&(Array.isArray(e)?e:[e]).forEach(function(e){(n?e.split(/[-|_|\s]+/):[e]).forEach(function(e){e=e.toLowerCase(),-1==t.indexOf(e)&&t.push(e)})})};return n(e.short_names,!0),n(e.name,!0),n(e.keywords,!1),n(e.emoticons,!1),t.join(",")};t.buildSearch=r,t.compress=function(e){for(var t in e.short_names=e.short_names.filter(function(t){return t!==e.short_name}),delete e.short_name,e.sheet=[e.sheet_x,e.sheet_y],delete e.sheet_x,delete e.sheet_y,e.added_in=parseInt(e.added_in),6===e.added_in&&delete e.added_in,n)e[n[t]]=e[t],delete e[t];for(var r in e){var i=e[r];Array.isArray(i)&&!i.length?delete e[r]:"string"!=typeof i||i.length?null===i&&delete e[r]:delete e[r]}},t.uncompress=function(e){for(var t in e.compressed=!1,e.emojis){var i=e.emojis[t];for(var o in n)i[o]=i[n[o]],delete i[n[o]];i.short_names||(i.short_names=[]),i.short_names.unshift(t),i.sheet_x=i.sheet[0],i.sheet_y=i.sheet[1],delete i.sheet,i.text||(i.text=""),i.added_in||(i.added_in=6),i.added_in=i.added_in.toFixed(1),i.search=r(i)}}},64771:function(e,t,n){"use strict";var r=n(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(52749)),o=r(n(20209)),a=n(93706),s=n(62041),l=r(n(73817)),u=function(){function e(t,n){(0,i.default)(this,e),t.compressed&&(0,s.uncompress)(t),this.data=t||{},this.set=n||null,this.originalPool={},this.index={},this.emojis={},this.emoticons={},this.customEmojisList=[],this.buildIndex()}return(0,o.default)(e,[{key:"buildIndex",value:function(){var e=this;for(var t in this.data.emojis)!function(t){var n=e.data.emojis[t],r=n.short_names,i=n.emoticons,o=n.skin_variations,s=r[0];if(i&&i.forEach(function(t){e.emoticons[t]||(e.emoticons[t]=s)}),o){e.emojis[s]={};for(var l=1;l<=6;l++)e.emojis[s][l]=(0,a.getSanitizedData)({id:s,skin:l},l,e.set,e.data)}else e.emojis[s]=(0,a.getSanitizedData)(s,null,e.set,e.data);e.originalPool[s]=n}(t)}},{key:"clearCustomEmojis",value:function(e){var t=this;this.customEmojisList.forEach(function(n){var r=n.id||n.short_names[0];delete e[r],delete t.emojis[r]})}},{key:"addCustomToPool",value:function(e,t){var n=this;this.customEmojisList.length&&this.clearCustomEmojis(t),e.forEach(function(e){var r=e.id||e.short_names[0];r&&!t[r]&&(t[r]=(0,a.getData)(e,null,null,n.data),n.emojis[r]=(0,a.getSanitizedData)(e,null,null,n.data))}),this.customEmojisList=e,this.index={}}},{key:"search",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.emojisToShowFilter,i=n.maxResults,o=n.include,s=n.exclude,u=n.custom,c=void 0===u?[]:u;this.customEmojisList!=c&&this.addCustomToPool(c,this.originalPool);var d=l.default.get("skin")||1;i||(i=75),o||(o=[]),s||(s=[]);var f=null,h=this.originalPool;if(e.length){if("-"==e||"-1"==e)return[this.emojis["-1"][d]];var p=e.toLowerCase().split(/[\s|,|\-|_]+/),m=[];if(p.length>2&&(p=[p[0],p[1]]),(o.length||s.length)&&(h={},this.data.categories.forEach(function(e){var n=!o||!o.length||o.indexOf(e.id)>-1,r=!!s&&!!s.length&&s.indexOf(e.id)>-1;n&&!r&&e.emojis.forEach(function(e){return h[e]=t.data.emojis[e]})}),c.length)){var g=!o||!o.length||o.indexOf("custom")>-1,v=!!s&&!!s.length&&s.indexOf("custom")>-1;g&&!v&&this.addCustomToPool(c,h)}f=(m=p.map(function(e){for(var n=h,r=t.index,i=0,o=0;o1?a.intersect.apply(null,m):m.length?m[0]:[]}return f&&(r&&(f=f.filter(function(e){return r(h[e.id])})),f&&f.length>i&&(f=f.slice(0,i))),f}}]),e}();t.default=u},93706:function(e,t,n){"use strict";var r=n(23963);Object.defineProperty(t,"__esModule",{value:!0}),t.getData=d,t.getEmojiDataFromNative=function(e,t,n){n.compressed&&(0,o.uncompress)(n);var r,i,a,s=["1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];for(var l in["\uD83C\uDFFB","\uD83C\uDFFC","\uD83C\uDFFD","\uD83C\uDFFE","\uD83C\uDFFF"].forEach(function(t,n){e.indexOf(t)>0&&(r=n+2,i=s[n])}),n.emojis){var d=n.emojis[l],f=d.unified;d.variations&&d.variations.length&&(f=d.variations.shift()),r&&d.skin_variations&&d.skin_variations[i]&&(f=d.skin_variations[i].unified),u(f)===e&&(a=d)}return a?(a.id=a.short_names[0],c(a,r,t,n)):null},t.getSanitizedData=c,t.uniq=f,t.intersect=function(e,t){var n=f(e),r=f(t);return n.filter(function(e){return r.indexOf(e)>=0})},t.deepMerge=function e(t,n){var r={};for(var o in t){var a=t[o],s=a;n.hasOwnProperty(o)&&(s=n[o]),"object"===(0,i.default)(s)&&(s=e(a,s)),r[o]=s}return r},t.unifiedToNative=u,t.measureScrollbar=function(){if("undefined"==typeof document)return 0;var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},t.throttleIdleTask=function(e){var t="function"==typeof requestIdleCallback?requestIdleCallback:setTimeout,n=!1;return function(){n||(n=!0,t(function(){n=!1,e()}))}};var i=r(n(80154)),o=n(62041),a=r(n(16613)),s=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,l=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];function u(e){var t=e.split("-").map(function(e){return"0x".concat(e)});return a.default.apply(null,t)}function c(){var e,t,n,r,i,o,a,s,l,c,f,h;return e=d.apply(void 0,arguments),t=e.name,n=e.short_names,r=e.skin_tone,i=e.skin_variations,o=e.emoticons,a=e.unified,s=e.custom,l=e.customCategory,c=e.imageUrl,f=e.id||n[0],h=":".concat(f,":"),s?{id:f,name:t,short_names:n,colons:h,emoticons:o,custom:s,customCategory:l,imageUrl:c}:(r&&(h+=":skin-tone-".concat(r,":")),{id:f,name:t,short_names:n,colons:h,emoticons:o,unified:a.toLowerCase(),skin:r||(i?1:null),native:u(a)})}function d(e,t,n,r){var i={};if("string"==typeof e){var a=e.match(s);if(a&&(e=a[1],a[2]&&(t=parseInt(a[2],10))),r.aliases.hasOwnProperty(e)&&(e=r.aliases[e]),!r.emojis.hasOwnProperty(e))return null;i=r.emojis[e]}else e.id&&(r.aliases.hasOwnProperty(e.id)&&(e.id=r.aliases[e.id]),r.emojis.hasOwnProperty(e.id)&&(i=r.emojis[e.id],t||(t=e.skin)));if(Object.keys(i).length||((i=e).custom=!0,i.search||(i.search=(0,o.buildSearch)(e))),i.emoticons||(i.emoticons=[]),i.variations||(i.variations=[]),i.skin_variations&&t>1){i=JSON.parse(JSON.stringify(i));var u=l[t-1],c=i.skin_variations[u];if(c&&(!c.variations&&i.variations&&delete i.variations,n&&(void 0==c["has_img_".concat(n)]||c["has_img_".concat(n)])||!n))for(var d in i.skin_tone=t,c){var f=c[d];i[d]=f}}return i.variations&&i.variations.length&&((i=JSON.parse(JSON.stringify(i))).unified=i.variations.shift()),i}function f(e){return e.reduce(function(e,t){return -1===e.indexOf(t)&&e.push(t),e},[])}},73817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,r,i="emoji-mart",o="undefined"!=typeof window&&"localStorage"in window;function a(e,t){if(r)r(e,t);else{if(!o)return;try{window.localStorage["".concat(i,".").concat(e)]=JSON.stringify(t)}catch(e){}}}t.default={update:function(e){for(var t in e){var n=e[t];a(t,n)}},set:a,get:function(e){if(n)return n(e);if(o)try{var t=window.localStorage["".concat(i,".").concat(e)];if(t)return JSON.parse(t)}catch(e){return}},setNamespace:function(e){i=e},setHandlers:function(e){e||(e={}),n=e.getter,r=e.setter}}},96989:function(e,t){"use strict";Symbol.for("react.element"),Symbol.for("react.portal");/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var n,r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=(Symbol.for("react.server_context"),Symbol.for("react.forward_ref")),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===i||e===u||e===c||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===n||void 0!==e.getModuleId)}},49018:function(e,t,n){"use strict";e.exports=n(96989)},99588:function(e,t,n){var r=null;"undefined"!=typeof WebSocket?r=WebSocket:"undefined"!=typeof MozWebSocket?r=MozWebSocket:void 0!==n.g?r=n.g.WebSocket||n.g.MozWebSocket:"undefined"!=typeof window?r=window.WebSocket||window.MozWebSocket:"undefined"!=typeof self&&(r=self.WebSocket||self.MozWebSocket),e.exports=r},18008:function(e,t,n){var r=n(44958);function i(e,t){var n,i,o,a=null;if(!e||"string"!=typeof e)return a;for(var s=r(e),l="function"==typeof t,u=0,c=s.length;uparseInt(c.height)&&(u.overflowY="scroll"):u.overflow="hidden",l.textContent=e.value.substring(0,i),d&&(l.textContent=l.textContent.replace(/\s/g,"\xa0"));var f=document.createElement("span");f.textContent=e.value.substring(i)||".",l.appendChild(f);var h={top:f.offsetTop+parseInt(c.borderTopWidth),left:f.offsetLeft+parseInt(c.borderLeftWidth),height:parseInt(c.lineHeight)};return a?f.style.backgroundColor="#aaa":document.body.removeChild(l),h}void 0!==e.exports?e.exports=i:n&&(window.getCaretCoordinates=i)}()},26088:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",l="object",u="string",c="major",d="model",f="name",h="type",p="vendor",m="version",g="architecture",v="console",y="mobile",b="tablet",w="smarttv",_="wearable",x="embedded",D="Amazon",E="Apple",C="ASUS",k="BlackBerry",S="Browser",T="Chrome",M="Firefox",O="Google",P="Huawei",R="Microsoft",j="Motorola",L="Opera",F="Samsung",A="Sharp",N="Sony",I="Xiaomi",B="Zebra",U="Facebook",z="Chromium OS",H="Mac OS",V=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},q=function(e){for(var t={},n=0;n0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):void 0:this[s[0]]=c?s[1].call(this,c,s[2]):void 0:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):void 0):this[s]=c||o;d+=2}},G=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r2&&(e[d]="iPad",e[h]=b),e},this.getEngine=function(){var e={};return e[f]=o,e[m]=o,Z.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=o,e[m]=o,Z.call(e,r,w.os),_&&!e[f]&&v&&v.platform&&"Unknown"!=v.platform&&(e[f]=v.platform.replace(/chrome os/i,z).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?Y(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.38",X.BROWSER=q([f,m,c]),X.CPU=q([g]),X.DEVICE=q([d,p,h,v,y,w,b,_,x]),X.ENGINE=X.OS=q([f,m]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?o!==(r=(function(){return X}).call(t,n,t,e))&&(e.exports=r):typeof i!==s&&(i.UAParser=X);var Q=typeof i!==s&&(i.jQuery||i.Zepto);if(Q&&!Q.ua){var ee=new X;Q.ua=ee.getResult(),Q.ua.get=function(){return ee.getUA()},Q.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},98394:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,{fixNegotiationNeeded:function(){return S},shimAddTrackRemoveTrack:function(){return C},shimAddTrackRemoveTrackWithNative:function(){return E},shimGetDisplayMedia:function(){return y},shimGetSendersWithDtmf:function(){return _},shimGetStats:function(){return x},shimGetUserMedia:function(){return v},shimMediaStream:function(){return b},shimOnTrack:function(){return w},shimPeerConnection:function(){return k},shimSenderReceiverGetStats:function(){return D}});var i={};n.r(i),n.d(i,{shimAddTransceiver:function(){return A},shimCreateAnswer:function(){return B},shimCreateOffer:function(){return I},shimGetDisplayMedia:function(){return M},shimGetParameters:function(){return N},shimGetUserMedia:function(){return T},shimOnTrack:function(){return O},shimPeerConnection:function(){return P},shimRTCDataChannel:function(){return F},shimReceiverGetStats:function(){return j},shimRemoveStream:function(){return L},shimSenderGetStats:function(){return R}});var o={};n.r(o),n.d(o,{shimAudioContext:function(){return Z},shimCallbacksAPI:function(){return H},shimConstraints:function(){return q},shimCreateOfferLegacy:function(){return Y},shimGetUserMedia:function(){return V},shimLocalStreamsAPI:function(){return U},shimRTCIceServerUrls:function(){return W},shimRemoteStreamsAPI:function(){return z},shimTrackEventTransceiver:function(){return $}});var a={};n.r(a),n.d(a,{removeExtmapAllowMixed:function(){return en},shimAddIceCandidateNullOrEmpty:function(){return er},shimConnectionState:function(){return et},shimMaxMessageSize:function(){return Q},shimParameterlessSetLocalDescription:function(){return ei},shimRTCIceCandidate:function(){return K},shimRTCIceCandidateRelayProtocol:function(){return X},shimSendThrowTypeError:function(){return ee}});let s=!0,l=!0;function u(e,t,n){let r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}function c(e,t,n){if(!e.RTCPeerConnection)return;let r=e.RTCPeerConnection.prototype,i=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return i.apply(this,arguments);let o=e=>{let t=n(e);t&&(r.handleEvent?r.handleEvent(t):r(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(r,o),i.apply(this,[e,o])};let o=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[t]||!this._eventMap[t].has(n))return o.apply(this,arguments);let r=this._eventMap[t].get(n);return this._eventMap[t].delete(n),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,o.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get(){return this["_on"+t]},set(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}function d(e){return"boolean"!=typeof e?Error("Argument type: "+typeof e+". Please use a boolean."):(s=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function f(e){return"boolean"!=typeof e?Error("Argument type: "+typeof e+". Please use a boolean."):(l=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function h(){"object"!=typeof window||s||"undefined"==typeof console||"function"!=typeof console.log||console.log.apply(console,arguments)}function p(e,t){l&&console.warn(e+" is deprecated, please use "+t+" instead.")}function m(e){return"[object Object]"===Object.prototype.toString.call(e)}function g(e,t,n){let r=n?"outbound-rtp":"inbound-rtp",i=new Map;if(null===t)return i;let o=[];return e.forEach(e=>{"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)}),o.forEach(t=>{e.forEach(n=>{n.type===r&&n.trackId===t.id&&function e(t,n,r){!n||r.has(n.id)||(r.set(n.id,n),Object.keys(n).forEach(i=>{i.endsWith("Id")?e(t,t.get(n[i]),r):i.endsWith("Ids")&&n[i].forEach(n=>{e(t,t.get(n),r)})}))}(e,n,i)})}),i}function v(e,t){let n=e&&e.navigator;if(!n.mediaDevices)return;let r=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;let t={};return Object.keys(e).forEach(n=>{if("require"===n||"advanced"===n||"mediaSource"===n)return;let r="object"==typeof e[n]?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"==typeof r.exact&&(r.min=r.max=r.exact);let i=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];let e={};"number"==typeof r.ideal?(e[i("min",n)]=r.ideal,t.optional.push(e),(e={})[i("max",n)]=r.ideal):e[i("",n)]=r.ideal,t.optional.push(e)}void 0!==r.exact&&"number"!=typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[i("",n)]=r.exact):["min","max"].forEach(e=>{void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[i(e,n)]=r[e])})}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},i=function(e,i){if(t.version>=61)return i(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){let t=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};t((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),t(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"==typeof e.video){let o=e.video.facingMode;o=o&&("object"==typeof o?o:{ideal:o});let a=t.version<66;if(o&&("user"===o.exact||"environment"===o.exact||"user"===o.ideal||"environment"===o.ideal)&&!(n.mediaDevices.getSupportedConstraints&&n.mediaDevices.getSupportedConstraints().facingMode&&!a)){let t;if(delete e.video.facingMode,"environment"===o.exact||"environment"===o.ideal?t=["back","rear"]:("user"===o.exact||"user"===o.ideal)&&(t=["front"]),t)return n.mediaDevices.enumerateDevices().then(n=>{let a=(n=n.filter(e=>"videoinput"===e.kind)).find(e=>t.some(t=>e.label.toLowerCase().includes(t)));return!a&&n.length&&t.includes("back")&&(a=n[n.length-1]),a&&(e.video.deviceId=o.exact?{exact:a.deviceId}:{ideal:a.deviceId}),e.video=r(e.video),h("chrome: "+JSON.stringify(e)),i(e)})}e.video=r(e.video)}return h("chrome: "+JSON.stringify(e)),i(e)},o=function(e){return t.version>=64?e:{name:({PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"})[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(n.getUserMedia=(function(e,t,r){i(e,e=>{n.webkitGetUserMedia(e,t,e=>{r&&r(o(e))})})}).bind(n),n.mediaDevices.getUserMedia){let e=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(t){return i(t,t=>e(t).then(e=>{if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(e=>{e.stop()}),new DOMException("","NotFoundError");return e},e=>Promise.reject(o(e))))}}}function y(e,t){if((!e.navigator.mediaDevices||!("getDisplayMedia"in e.navigator.mediaDevices))&&e.navigator.mediaDevices){if("function"!=typeof t){console.error("shimGetDisplayMedia: getSourceId argument is not a function");return}e.navigator.mediaDevices.getDisplayMedia=function(n){return t(n).then(t=>{let r=n.video&&n.video.width,i=n.video&&n.video.height,o=n.video&&n.video.frameRate;return n.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:o||3}},r&&(n.video.mandatory.maxWidth=r),i&&(n.video.mandatory.maxHeight=i),e.navigator.mediaDevices.getUserMedia(n)})}}}function b(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function w(e){if("object"!=typeof e||!e.RTCPeerConnection||"ontrack"in e.RTCPeerConnection.prototype)c(e,"track",e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e));else{Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});let t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=t=>{t.stream.addEventListener("addtrack",n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===n.track.id):{track:n.track};let i=new Event("track");i.track=n.track,i.receiver=r,i.transceiver={receiver:r},i.streams=[t.stream],this.dispatchEvent(i)}),t.stream.getTracks().forEach(n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===n.id):{track:n};let i=new Event("track");i.track=n,i.receiver=r,i.transceiver={receiver:r},i.streams=[t.stream],this.dispatchEvent(i)})},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}}function _(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){let t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};let n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){let i=n.apply(this,arguments);return i||(i=t(this,e),this._senders.push(i)),i};let r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){r.apply(this,arguments);let t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}let n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._senders=this._senders||[],n.apply(this,[e]),e.getTracks().forEach(e=>{this._senders.push(t(this,e))})};let r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._senders=this._senders||[],r.apply(this,[e]),e.getTracks().forEach(e=>{let t=this._senders.find(t=>t.track===e);t&&this._senders.splice(this._senders.indexOf(t),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){let t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function x(e){if(!e.RTCPeerConnection)return;let t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){let[e,n,r]=arguments;if(arguments.length>0&&"function"==typeof e)return t.apply(this,arguments);if(0===t.length&&(0==arguments.length||"function"!=typeof e))return t.apply(this,[]);let i=function(e){let t={};return e.result().forEach(e=>{let n={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach(t=>{n[t]=e.stat(t)}),t[n.id]=n}),t},o=function(e){return new Map(Object.keys(e).map(t=>[t,e[t]]))};return arguments.length>=2?t.apply(this,[function(e){n(o(i(e)))},e]):new Promise((e,n)=>{t.apply(this,[function(t){e(o(i(t)))},n])}).then(n,r)}}function D(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){let t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});let n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){let e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){let e=this;return this._pc.getStats().then(t=>g(t,e.track,!0))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){let t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),c(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){let e=this;return this._pc.getStats().then(t=>g(t,e.track,!1))}}if(!("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype))return;let t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){let e,t,n;let r=arguments[0];return(this.getSenders().forEach(t=>{t.track===r&&(e?n=!0:e=t)}),this.getReceivers().forEach(e=>(e.track===r&&(t?n=!0:t=e),e.track===r)),n||e&&t)?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):e?e.getStats():t?t.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return t.apply(this,arguments)}}function E(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(e=>this._shimmedLocalStreams[e][0])};let t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};let r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};let n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")});let t=this.getSenders();n.apply(this,arguments);let r=this.getSenders().filter(e=>-1===t.indexOf(e));this._shimmedLocalStreams[e.id]=[e].concat(r)};let r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};let i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach(t=>{let n=this._shimmedLocalStreams[t].indexOf(e);-1!==n&&this._shimmedLocalStreams[t].splice(n,1),1===this._shimmedLocalStreams[t].length&&delete this._shimmedLocalStreams[t]}),i.apply(this,arguments)}}function C(e,t){if(!e.RTCPeerConnection)return;if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return E(e);let n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){let e=n.apply(this);return this._reverseStreams=this._reverseStreams||{},e.map(e=>this._reverseStreams[e.id])};let r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[t.id]){let n=new e.MediaStream(t.getTracks());this._streams[t.id]=n,this._reverseStreams[n.id]=t,t=n}r.apply(this,[t])};let i=e.RTCPeerConnection.prototype.removeStream;function o(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{let r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(RegExp(i.id,"g"),r.id)}),new RTCSessionDescription({type:t.type,sdp:n})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},i.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");let r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find(e=>e===t))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(e=>e.track===t))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};let i=this._streams[n.id];if(i)i.addTrack(t),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{let r=new e.MediaStream([t]);this._streams[n.id]=r,this._reverseStreams[r.id]=n,this.addStream(r)}return this.getSenders().find(e=>e.track===t)},["createOffer","createAnswer"].forEach(function(t){let n=e.RTCPeerConnection.prototype[t];e.RTCPeerConnection.prototype[t]=({[t](){let e=arguments,t=arguments.length&&"function"==typeof arguments[0];return t?n.apply(this,[t=>{let n=o(this,t);e[0].apply(null,[n])},t=>{e[1]&&e[1].apply(null,t)},arguments[2]]):n.apply(this,arguments).then(e=>o(this,e))}})[t]});let a=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){var e,t;let n;return arguments.length&&arguments[0].type&&(arguments[0]=(e=this,t=arguments[0],n=t.sdp,Object.keys(e._reverseStreams||[]).forEach(t=>{let r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(RegExp(r.id,"g"),i.id)}),new RTCSessionDescription({type:t.type,sdp:n}))),a.apply(this,arguments)};let s=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){let e=s.get.apply(this);return""===e.type?e:o(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){let t;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(e._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach(n=>{this._streams[n].getTracks().find(t=>e.track===t)&&(t=this._streams[n])}),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function k(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){let n=e.RTCPeerConnection.prototype[t];e.RTCPeerConnection.prototype[t]=({[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}})[t]})}function S(e,t){c(e,"negotiationneeded",e=>{let n=e.target;if(!(t.version<72)&&(!n.getConfiguration||"plan-b"!==n.getConfiguration().sdpSemantics)||"stable"===n.signalingState)return e})}function T(e,t){let n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){p("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){let e=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},t=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(n){return"object"==typeof n&&"object"==typeof n.audio&&(e((n=JSON.parse(JSON.stringify(n))).audio,"autoGainControl","mozAutoGainControl"),e(n.audio,"noiseSuppression","mozNoiseSuppression")),t(n)},r&&r.prototype.getSettings){let t=r.prototype.getSettings;r.prototype.getSettings=function(){let n=t.apply(this,arguments);return e(n,"mozAutoGainControl","autoGainControl"),e(n,"mozNoiseSuppression","noiseSuppression"),n}}if(r&&r.prototype.applyConstraints){let t=r.prototype.applyConstraints;r.prototype.applyConstraints=function(n){return"audio"===this.kind&&"object"==typeof n&&(e(n=JSON.parse(JSON.stringify(n)),"autoGainControl","mozAutoGainControl"),e(n,"noiseSuppression","mozNoiseSuppression")),t.apply(this,[n])}}}}function M(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||!e.navigator.mediaDevices||(e.navigator.mediaDevices.getDisplayMedia=function(n){if(!(n&&n.video)){let e=new DOMException("getDisplayMedia without video constraints is undefined");return e.name="NotFoundError",e.code=8,Promise.reject(e)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)})}function O(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function P(e,t){if("object"!=typeof e||!(e.RTCPeerConnection||e.mozRTCPeerConnection))return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){let n=e.RTCPeerConnection.prototype[t];e.RTCPeerConnection.prototype[t]=({[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}})[t]});let n={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},r=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){let[e,i,o]=arguments;return r.apply(this,[e||null]).then(e=>{if(t.version<53&&!i)try{e.forEach(e=>{e.type=n[e.type]||e.type})}catch(t){if("TypeError"!==t.name)throw t;e.forEach((t,r)=>{e.set(r,Object.assign({},t,{type:n[t.type]||t.type}))})}return e}).then(i,o)}}function R(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;let t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});let n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){let e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function j(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;let t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),c(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function L(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){p("removeStream","removeTrack"),this.getSenders().forEach(t=>{t.track&&e.getTracks().includes(t.track)&&this.removeTrack(t)})})}function F(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function A(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]);let n=(e=[...e]).length>0;n&&e.forEach(e=>{if("rid"in e&&!/^[a-z0-9]{0,16}$/i.test(e.rid))throw TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw RangeError("max_framerate must be >= 0.0")});let r=t.apply(this,arguments);if(n){let{sender:t}=r,n=t.getParameters();"encodings"in n&&(1!==n.encodings.length||0!==Object.keys(n.encodings[0]).length)||(n.encodings=e,t.sendEncodings=e,this.setParametersPromises.push(t.setParameters(n).then(()=>{delete t.sendEncodings}).catch(()=>{delete t.sendEncodings})))}return r})}function N(e){if(!("object"==typeof e&&e.RTCRtpSender))return;let t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){let e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}function I(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function B(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function U(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){let t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach(n=>t.call(this,n,e)),e.getVideoTracks().forEach(n=>t.call(this,n,e))},e.RTCPeerConnection.prototype.addTrack=function(e,...n){return n&&n.forEach(e=>{this._localStreams?this._localStreams.includes(e)||this._localStreams.push(e):this._localStreams=[e]}),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);let t=this._localStreams.indexOf(e);if(-1===t)return;this._localStreams.splice(t,1);let n=e.getTracks();this.getSenders().forEach(e=>{n.includes(e.track)&&this.removeTrack(e)})})}}function z(e){if("object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=e=>{e.streams.forEach(e=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(e))return;this._remoteStreams.push(e);let t=new Event("addstream");t.stream=e,this.dispatchEvent(t)})})}});let t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){let e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach(t=>{if(e._remoteStreams||(e._remoteStreams=[]),e._remoteStreams.indexOf(t)>=0)return;e._remoteStreams.push(t);let n=new Event("addstream");n.stream=t,e.dispatchEvent(n)})}),t.apply(e,arguments)}}}function H(e){if("object"!=typeof e||!e.RTCPeerConnection)return;let t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,i=t.setLocalDescription,o=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(e,t){let r=arguments.length>=2?arguments[2]:arguments[0],i=n.apply(this,[r]);return t?(i.then(e,t),Promise.resolve()):i},t.createAnswer=function(e,t){let n=arguments.length>=2?arguments[2]:arguments[0],i=r.apply(this,[n]);return t?(i.then(e,t),Promise.resolve()):i};let s=function(e,t,n){let r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=s,s=function(e,t,n){let r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=s,s=function(e,t,n){let r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=s}function V(e){let t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){let e=t.mediaDevices,n=e.getUserMedia.bind(e);t.mediaDevices.getUserMedia=e=>n(q(e))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=(function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}).bind(t))}function q(e){return e&&void 0!==e.video?Object.assign({},e,{video:function e(t){return m(t)?Object.keys(t).reduce(function(n,r){let i=m(t[r]),o=i?e(t[r]):t[r],a=i&&!Object.keys(o).length;return void 0===o||a?n:Object.assign(n,{[r]:o})},{}):t}(e.video)}):e}function W(e){if(!e.RTCPeerConnection)return;let t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){let t=[];for(let n=0;nt.generateCertificate})}function $(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function Y(e){let t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);let t=this.getTransceivers().find(e=>"audio"===e.receiver.track.kind);!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection?t.setDirection("sendonly"):t.direction="sendonly":"recvonly"===t.direction&&(t.setDirection?t.setDirection("inactive"):t.direction="inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio",{direction:"recvonly"}),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);let n=this.getTransceivers().find(e=>"video"===e.receiver.track.kind);!1===e.offerToReceiveVideo&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0!==e.offerToReceiveVideo||n||this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function Z(e){"object"!=typeof e||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}var G=n(12282),J=n.n(G);function K(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;let t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substring(2)),e.candidate&&e.candidate.length){let n=new t(e),r=J().parseCandidate(e.candidate);for(let e in r)e in n||Object.defineProperty(n,e,{value:r[e]});return n.toJSON=function(){return{candidate:n.candidate,sdpMid:n.sdpMid,sdpMLineIndex:n.sdpMLineIndex,usernameFragment:n.usernameFragment}},n}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,c(e,"icecandidate",t=>(t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t))}function X(e){!e.RTCIceCandidate||e.RTCIceCandidate&&"relayProtocol"in e.RTCIceCandidate.prototype||c(e,"icecandidate",e=>{if(e.candidate){let t=J().parseCandidate(e.candidate.candidate);"relay"===t.type&&(e.candidate.relayProtocol=({0:"tls",1:"tcp",2:"udp"})[t.priority>>24])}return e})}function Q(e,t){if(!e.RTCPeerConnection)return;"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});let n=function(e){if(!e||!e.sdp)return!1;let t=J().splitSections(e.sdp);return t.shift(),t.some(e=>{let t=J().parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")})},r=function(e){let t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return -1;let n=parseInt(t[1],10);return n!=n?-1:n},i=function(e){let n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n},o=function(e,n){let r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);let i=J().matchPrefix(e.sdp,"a=max-message-size:");return i.length>0?r=parseInt(i[0].substring(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r},a=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){let{sdpSemantics:e}=this.getConfiguration();"plan-b"===e&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(n(arguments[0])){let e;let t=r(arguments[0]),n=i(t),a=o(arguments[0],t);e=0===n&&0===a?Number.POSITIVE_INFINITY:0===n||0===a?Math.max(n,a):Math.min(n,a);let s={};Object.defineProperty(s,"maxMessageSize",{get:()=>e}),this._sctp=s}return a.apply(this,arguments)}}function ee(e){if(!(e.RTCPeerConnection&&"createDataChannel"in e.RTCPeerConnection.prototype))return;function t(e,t){let n=e.send;e.send=function(){let r=arguments[0],i=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&i>t.sctp.maxMessageSize)throw TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}let n=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){let e=n.apply(this,arguments);return t(e,this),e},c(e,"datachannel",e=>(t(e.channel,e.target),e))}function et(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;let t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get(){return({completed:"connected",checking:"connecting"})[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(e=>{let n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=e=>{let t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;let n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}})}function en(e,t){if(!e.RTCPeerConnection||"chrome"===t.browser&&t.version>=71||"safari"===t.browser&&t.version>=605)return;let n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){let n=t.sdp.split("\n").filter(e=>"a=extmap-allow-mixed"!==e.trim()).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:n}):t.sdp=n}return n.apply(this,arguments)}}function er(e,t){if(!(e.RTCPeerConnection&&e.RTCPeerConnection.prototype))return;let n=e.RTCPeerConnection.prototype.addIceCandidate;n&&0!==n.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}function ei(e,t){if(!(e.RTCPeerConnection&&e.RTCPeerConnection.prototype))return;let n=e.RTCPeerConnection.prototype.setLocalDescription;n&&0!==n.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){let e=arguments[0]||{};if("object"!=typeof e||e.type&&e.sdp)return n.apply(this,arguments);if(!(e={type:e.type,sdp:e.sdp}).type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":e.type="offer";break;default:e.type="answer"}return e.sdp||"offer"!==e.type&&"answer"!==e.type?n.apply(this,[e]):("offer"===e.type?this.createOffer:this.createAnswer).apply(this).then(e=>n.apply(this,[e]))})}!function({window:e}={},t={shimChrome:!0,shimFirefox:!0,shimSafari:!0}){let n=function(e){let t={browser:null,version:null};if(void 0===e||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;let{navigator:n}=e;return n.mozGetUserMedia?(t.browser="firefox",t.version=u(n.userAgent,/Firefox\/(\d+)\./,1)):n.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection?(t.browser="chrome",t.version=u(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2)):e.RTCPeerConnection&&n.userAgent.match(/AppleWebKit\/(\d+)\./)?(t.browser="safari",t.version=u(n.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype):t.browser="Not a supported browser.",t}(e),s={browserDetails:n,commonShim:a,extractVersion:u,disableLog:d,disableWarnings:f,sdp:G};switch(n.browser){case"chrome":if(!r||!k||!t.shimChrome){h("Chrome shim is not included in this adapter release.");break}if(null===n.version){h("Chrome shim can not determine version, not shimming.");break}h("adapter.js shimming chrome."),s.browserShim=r,er(e,n),ei(e,n),v(e,n),b(e,n),k(e,n),w(e,n),C(e,n),_(e,n),x(e,n),D(e,n),S(e,n),K(e,n),X(e,n),et(e,n),Q(e,n),ee(e,n),en(e,n);break;case"firefox":if(!i||!P||!t.shimFirefox){h("Firefox shim is not included in this adapter release.");break}h("adapter.js shimming firefox."),s.browserShim=i,er(e,n),ei(e,n),T(e,n),P(e,n),O(e,n),L(e,n),R(e,n),j(e,n),F(e,n),A(e,n),N(e,n),I(e,n),B(e,n),K(e,n),et(e,n),Q(e,n),ee(e,n);break;case"safari":if(!o||!t.shimSafari){h("Safari shim is not included in this adapter release.");break}h("adapter.js shimming safari."),s.browserShim=o,er(e,n),ei(e,n),W(e,n),Y(e,n),H(e,n),U(e,n),z(e,n),$(e,n),V(e,n),Z(e,n),K(e,n),X(e,n),Q(e,n),ee(e,n),en(e,n);break;default:h("Unsupported browser!")}}({window:"undefined"==typeof window?void 0:window})},64385:function(){},52749:function(e){e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},20209:function(e,t,n){var r=n(54048);function i(e,t){for(var n=0;n=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},50513:function(e,t,n){var r=n(80154).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},54048:function(e,t,n){var r=n(80154).default,i=n(50513);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},80154:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},54566:function(e,t,n){var r=n(60518)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},48362:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{let t=c.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())}),h=e=>(e=e.toLowerCase(),t=>f(t)===e),p=e=>t=>typeof t===e,{isArray:m}=Array,g=p("undefined"),v=h("ArrayBuffer"),y=p("string"),b=p("function"),w=p("number"),_=e=>null!==e&&"object"==typeof e,x=e=>{if("object"!==f(e))return!1;let t=d(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D=h("Date"),E=h("File"),C=h("Blob"),k=h("FileList"),S=h("URLSearchParams"),[T,M,O,P]=["ReadableStream","Request","Response","Headers"].map(h);function R(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e){if("object"!=typeof e&&(e=[e]),m(e))for(r=0,i=e.length;r0;)if(t===(n=r[i]).toLowerCase())return n;return null}let L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,F=e=>!g(e)&&e!==L,A=(i="undefined"!=typeof Uint8Array&&d(Uint8Array),e=>i&&e instanceof i),N=h("HTMLFormElement"),I=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),B=h("RegExp"),U=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};R(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},z="abcdefghijklmnopqrstuvwxyz",H="0123456789",V={DIGIT:H,ALPHA:z,ALPHA_DIGIT:z+z.toUpperCase()+H},q=h("AsyncFunction");var W={isArray:m,isArrayBuffer:v,isBuffer:function(e){return null!==e&&!g(e)&&null!==e.constructor&&!g(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=f(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&v(e.buffer)},isString:y,isNumber:w,isBoolean:e=>!0===e||!1===e,isObject:_,isPlainObject:x,isReadableStream:T,isRequest:M,isResponse:O,isHeaders:P,isUndefined:g,isDate:D,isFile:E,isBlob:C,isRegExp:B,isFunction:b,isStream:e=>_(e)&&b(e.pipe),isURLSearchParams:S,isTypedArray:A,isFileList:k,forEach:R,merge:function e(){let{caseless:t}=F(this)&&this||{},n={},r=(r,i)=>{let o=t&&j(n,i)||i;x(n[o])&&x(r)?n[o]=e(n[o],r):x(r)?n[o]=e({},r):m(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e(R(t,(t,r)=>{n&&b(t)?e[r]=u(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;let s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==n&&d(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:f,kindOfTest:h,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(m(e))return e;let t=e.length;if(!w(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let r=(e&&e[Symbol.iterator]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:N,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:U,freezeMethods:e=>{U(e,(t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(b(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(m(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:j,global:L,isContextDefined:F,ALPHABET:V,generateString:(e=16,t=V.ALPHA_DIGIT)=>{let n="",{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(_(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=m(e)?[]:{};return R(e,(e,t)=>{let o=n(e,r+1);g(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:q,isThenable:e=>e&&(_(e)||b(e))&&b(e.then)&&b(e.catch)};function $(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}W.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let Y=$.prototype,Z={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Z[e]={value:e}}),Object.defineProperties($,Z),Object.defineProperty(Y,"isAxiosError",{value:!0}),$.from=(e,t,n,r,i,o)=>{let a=Object.create(Y);return W.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),$.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var G=n(86300).Buffer;function J(e){return W.isPlainObject(e)||W.isArray(e)}function K(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map(function(e,t){return e=K(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let Q=W.toFlatObject(W,{},null,function(e){return/^is[A-Z]/.test(e)});var ee=function(e,t,n){if(!W.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=W.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!W.isUndefined(t[e])})).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(W.isDate(e))return e.toISOString();if(!s&&W.isBlob(e))throw new $("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(e)||W.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):G.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e){if(W.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(W.isArray(e)&&(u=e,W.isArray(u)&&!u.some(J))||(W.isFileList(e)||W.endsWith(n,"[]"))&&(s=W.toArray(e)))return n=K(n),s.forEach(function(e,r){W.isUndefined(e)||null===e||t.append(!0===a?X([n],r,o):null===a?n:n+"[]",l(e))}),!1}}return!!J(e)||(t.append(X(i,n,o),l(e)),!1)}let c=[],d=Object.assign(Q,{defaultVisitor:u,convertValue:l,isVisitable:J});if(!W.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!W.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),W.forEach(n,function(n,o){!0===(!(W.isUndefined(n)||null===n)&&i.call(t,n,W.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])}),c.pop()}}(e),t};function et(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&ee(e,this,t)}let er=en.prototype;function ei(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eo(e,t,n){let r;if(!t)return e;let i=n&&n.encode||ei,o=n&&n.serialize;if(r=o?o(t,n):W.isURLSearchParams(t)?t.toString():new en(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}er.append=function(e,t){this._pairs.push([e,t])},er.toString=function(e){let t=e?function(t){return e.call(this,t,et)}:et;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ea{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,function(t){null!==t&&e(t)})}}var es={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},el="undefined"!=typeof URLSearchParams?URLSearchParams:en,eu="undefined"!=typeof FormData?FormData:null,ec="undefined"!=typeof Blob?Blob:null;let ed="undefined"!=typeof window&&"undefined"!=typeof document,ef=(o="undefined"!=typeof navigator&&navigator.product,ed&&0>["ReactNative","NativeScript","NS"].indexOf(o)),eh="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ep=ed&&window.location.href||"http://localhost";var em={...l,isBrowser:!0,classes:{URLSearchParams:el,FormData:eu,Blob:ec},protocols:["http","https","file","blob","url","data"]},eg=function(e){if(W.isFormData(e)&&W.isFunction(e.entries)){let t={};return W.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=i>=t.length;return(o=!o&&W.isArray(r)?r.length:o,s)?W.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n:(r[o]&&W.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&W.isArray(r[o])&&(r[o]=function(e){let t,n;let r={},i=Object.keys(e),o=i.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let ev={transitional:es,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=W.isObject(e);if(o&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return i?JSON.stringify(eg(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,ee(a,new em.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return em.isNode&&W.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},s))).toString()}if((n=W.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ee(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(W.isString(e))try{return(0,JSON.parse)(e),W.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||ev.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw $.from(e,$.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:em.classes.FormData,Blob:em.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{ev.headers[e]={}});let ey=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eb=e=>{let t,n,r;let i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&ey[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i};let ew=Symbol("internals");function e_(e){return e&&String(e).trim().toLowerCase()}function ex(e){return!1===e||null==e?e:W.isArray(e)?e.map(ex):String(e)}let eD=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eE(e,t,n,r,i){if(W.isFunction(r))return r.call(this,t,n);if(i&&(t=n),W.isString(t)){if(W.isString(r))return -1!==t.indexOf(r);if(W.isRegExp(r))return r.test(t)}}class eC{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=e_(t);if(!i)throw Error("header name must be a non-empty string");let o=W.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||t]=ex(e))}let o=(e,t)=>W.forEach(e,(e,n)=>i(e,n,t));if(W.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(W.isString(e)&&(e=e.trim())&&!eD(e))o(eb(e),t);else if(W.isHeaders(e))for(let[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=e_(e)){let n=W.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(W.isFunction(t))return t.call(this,e,n);if(W.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=e_(e)){let n=W.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eE(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=e_(e)){let i=W.findKey(n,e);i&&(!t||eE(n,n[i],i,t))&&(delete n[i],r=!0)}}return W.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||eE(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return W.forEach(this,(r,i)=>{let o=W.findKey(n,i);if(o){t[o]=ex(r),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();a!==i&&delete t[i],t[a]=ex(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return W.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&W.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[ew]=this[ew]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=e_(e);t[r]||(!function(e,t){let n=W.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return W.isArray(e)?e.forEach(r):r(e),this}}function ek(e,t){let n=this||ev,r=t||n,i=eC.from(r.headers),o=r.data;return W.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eS(e){return!!(e&&e.__CANCEL__)}function eT(e,t,n){$.call(this,null==e?"canceled":e,$.ERR_CANCELED,t,n),this.name="CanceledError"}function eM(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new $("Request failed with status code "+n.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eC.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(eC.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),W.freezeMethods(eC),W.inherits(eT,$,{__CANCEL__:!0});var eO=function(e,t){let n;let r=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[a];n||(n=l),r[o]=s,i[o]=l;let c=a,d=0;for(;c!==o;)d+=r[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),l-nr)return i&&(clearTimeout(i),i=null),n=t,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(t-n)))}},eR=(e,t,n=3)=>{let r=0,i=eO(50,250);return eP(n=>{let o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,l=i(s);r=o;let u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a};u[t?"download":"upload"]=!0,e(u)},n)},ej=em.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){let n=W.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},eL=em.hasStandardBrowserEnv?{write(e,t,n,r,i,o){let a=[e+"="+encodeURIComponent(t)];W.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),W.isString(r)&&a.push("path="+r),W.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eF(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eA=e=>e instanceof eC?{...e}:e;function eN(e,t){t=t||{};let n={};function r(e,t,n){return W.isPlainObject(e)&&W.isPlainObject(t)?W.merge.call({caseless:n},e,t):W.isPlainObject(t)?W.merge({},t):W.isArray(t)?t.slice():t}function i(e,t,n){return W.isUndefined(t)?W.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!W.isUndefined(t))return r(void 0,t)}function a(e,t){return W.isUndefined(t)?W.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}let l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(eA(e),eA(t),!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(r){let o=l[r]||i,a=o(e[r],t[r],r);W.isUndefined(a)&&o!==s||(n[r]=a)}),n}var eI=e=>{let t;let n=eN({},e),{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=n;if(n.headers=s=eC.from(s),n.url=eo(eF(n.baseURL,n.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),W.isFormData(r)){if(em.hasStandardBrowserEnv||em.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...n].join("; "))}}if(em.hasStandardBrowserEnv&&(i&&W.isFunction(i)&&(i=i(n)),i||!1!==i&&ej(n.url))){let e=o&&a&&eL.read(a);e&&s.set(o,e)}return n},eB="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r;let i=eI(e),o=i.data,a=eC.from(i.headers).normalize(),{responseType:s}=i;function l(){i.cancelToken&&i.cancelToken.unsubscribe(r),i.signal&&i.signal.removeEventListener("abort",r)}let u=new XMLHttpRequest;function c(){if(!u)return;let r=eC.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());eM(function(e){t(e),l()},function(e){n(e),l()},{data:s&&"text"!==s&&"json"!==s?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}u.open(i.method.toUpperCase(),i.url,!0),u.timeout=i.timeout,"onloadend"in u?u.onloadend=c:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(c)},u.onabort=function(){u&&(n(new $("Request aborted",$.ECONNABORTED,i,u)),u=null)},u.onerror=function(){n(new $("Network Error",$.ERR_NETWORK,i,u)),u=null},u.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",t=i.transitional||es;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new $(e,t.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,i,u)),u=null},void 0===o&&a.setContentType(null),"setRequestHeader"in u&&W.forEach(a.toJSON(),function(e,t){u.setRequestHeader(t,e)}),W.isUndefined(i.withCredentials)||(u.withCredentials=!!i.withCredentials),s&&"json"!==s&&(u.responseType=i.responseType),"function"==typeof i.onDownloadProgress&&u.addEventListener("progress",eR(i.onDownloadProgress,!0)),"function"==typeof i.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",eR(i.onUploadProgress)),(i.cancelToken||i.signal)&&(r=t=>{u&&(n(!t||t.type?new eT(null,e,u):t),u.abort(),u=null)},i.cancelToken&&i.cancelToken.subscribe(r),i.signal&&(i.signal.aborted?r():i.signal.addEventListener("abort",r)));let d=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(i.url);if(d&&-1===em.protocols.indexOf(d)){n(new $("Unsupported protocol "+d+":",$.ERR_BAD_REQUEST,e));return}u.send(o||null)})},eU=(e,t)=>{let n,r=new AbortController,i=function(e){if(!n){n=!0,a();let t=e instanceof Error?e:this.reason;r.abort(t instanceof $?t:new eT(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{i(new $(`timeout ${t} of ms exceeded`,$.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))}),e=null)};e.forEach(e=>e&&e.addEventListener&&e.addEventListener("abort",i));let{signal:s}=r;return s.unsubscribe=a,[s,()=>{o&&clearTimeout(o),o=null}]};let ez=function*(e,t){let n,r=e.byteLength;if(!t||r{let o=eH(e,t,i),a=0;return new ReadableStream({type:"bytes",async pull(e){let{done:t,value:i}=await o.next();if(t){e.close(),r();return}let s=i.byteLength;n&&n(a+=s),e.enqueue(new Uint8Array(i))},cancel:e=>(r(e),o.return())},{highWaterMark:2})},eq=(e,t)=>{let n=null!=e;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},eW="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e$=eW&&"function"==typeof ReadableStream,eY=eW&&("function"==typeof TextEncoder?(a=new TextEncoder,e=>a.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),eZ=e$&&(()=>{let e=!1,t=new Request(em.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),eG=e$&&!!(()=>{try{return W.isReadableStream(new Response("").body)}catch(e){}})(),eJ={stream:eG&&(e=>e.body)};eW&&(s=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{eJ[e]||(eJ[e]=W.isFunction(s[e])?t=>t[e]():(t,n)=>{throw new $(`Response type '${e}' is not supported`,$.ERR_NOT_SUPPORT,n)})}));let eK=async e=>null==e?0:W.isBlob(e)?e.size:W.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:W.isArrayBufferView(e)?e.byteLength:(W.isURLSearchParams(e)&&(e+=""),W.isString(e))?(await eY(e)).byteLength:void 0,eX=async(e,t)=>{let n=W.toFiniteNumber(e.getContentLength());return null==n?eK(t):n},eQ={http:null,xhr:eB,fetch:eW&&(async e=>{let t,n,r,{url:i,method:o,data:a,signal:s,cancelToken:l,timeout:u,onDownloadProgress:c,onUploadProgress:d,responseType:f,headers:h,withCredentials:p="same-origin",fetchOptions:m}=eI(e);f=f?(f+"").toLowerCase():"text";let[g,v]=s||l||u?eU([s,l],u):[],y=()=>{t||setTimeout(()=>{g&&g.unsubscribe()}),t=!0};try{if(d&&eZ&&"get"!==o&&"head"!==o&&0!==(r=await eX(h,a))){let e,t=new Request(i,{method:"POST",body:a,duplex:"half"});W.isFormData(a)&&(e=t.headers.get("content-type"))&&h.setContentType(e),t.body&&(a=eV(t.body,65536,eq(r,eR(d)),null,eY))}W.isString(p)||(p=p?"cors":"omit"),n=new Request(i,{...m,signal:g,method:o.toUpperCase(),headers:h.normalize().toJSON(),body:a,duplex:"half",withCredentials:p});let t=await fetch(n),s=eG&&("stream"===f||"response"===f);if(eG&&(c||s)){let e={};["status","statusText","headers"].forEach(n=>{e[n]=t[n]});let n=W.toFiniteNumber(t.headers.get("content-length"));t=new Response(eV(t.body,65536,c&&eq(n,eR(c,!0)),s&&y,eY),e)}f=f||"text";let l=await eJ[W.findKey(eJ,f)||"text"](t,e);return s||y(),v&&v(),await new Promise((r,i)=>{eM(r,i,{data:l,headers:eC.from(t.headers),status:t.status,statusText:t.statusText,config:e,request:n})})}catch(t){if(y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new $("Network Error",$.ERR_NETWORK,e,n),{cause:t.cause||t});throw $.from(t,t&&t.code,e,n)}})};W.forEach(eQ,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e0=e=>`- ${e}`,e1=e=>W.isFunction(e)||null===e||!1===e;var e2=e=>{let t,n;let{length:r}=e=W.isArray(e)?e:[e],i={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new $("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(e0).join("\n"):" "+e0(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function e3(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eT(null,e)}function e4(e){return e3(e),e.headers=eC.from(e.headers),e.data=ek.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e2(e.adapter||ev.adapter)(e).then(function(t){return e3(e),t.data=ek.call(e,e.transformResponse,t),t.headers=eC.from(t.headers),t},function(t){return!eS(t)&&(e3(e),t&&t.response&&(t.response.data=ek.call(e,e.transformResponse,t.response),t.response.headers=eC.from(t.response.headers))),Promise.reject(t)})}let e6="1.7.2",e5={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{e5[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let e8={};e5.transitional=function(e,t,n){function r(e,t){return"[Axios v"+e6+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new $(r(i," has been removed"+(t?" in "+t:"")),$.ERR_DEPRECATED);return t&&!e8[i]&&(e8[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var e7={assertOptions:function(e,t,n){if("object"!=typeof e)throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let o=r[i],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new $("option "+o+" must be "+n,$.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new $("Unknown option "+o,$.ERR_BAD_OPTION)}},validators:e5};let e9=e7.validators;class te{constructor(e){this.defaults=e,this.interceptors={request:new ea,response:new ea}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:a}=t=eN(this.defaults,t);void 0!==i&&e7.assertOptions(i,{silentJSONParsing:e9.transitional(e9.boolean),forcedJSONParsing:e9.transitional(e9.boolean),clarifyTimeoutError:e9.transitional(e9.boolean)},!1),null!=o&&(W.isFunction(o)?t.paramsSerializer={serialize:o}:e7.assertOptions(o,{encode:e9.function,serialize:e9.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&W.merge(a.common,a[t.method]);a&&W.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eC.concat(s,a);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[e4.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),r=e.length,n=Promise.resolve(t);d{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new eT(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new tt(function(t){e=t}),cancel:e}}}let tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tn).forEach(([e,t])=>{tn[t]=e});let tr=function e(t){let n=new te(t),r=u(te.prototype.request,n);return W.extend(r,te.prototype,n,{allOwnKeys:!0}),W.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eN(t,n))},r}(ev);tr.Axios=te,tr.CanceledError=eT,tr.CancelToken=tt,tr.isCancel=eS,tr.VERSION=e6,tr.toFormData=ee,tr.AxiosError=$,tr.Cancel=tr.CanceledError,tr.all=function(e){return Promise.all(e)},tr.spread=function(e){return function(t){return e.apply(null,t)}},tr.isAxiosError=function(e){return W.isObject(e)&&!0===e.isAxiosError},tr.mergeConfig=eN,tr.AxiosHeaders=eC,tr.formToJSON=e=>eg(W.isHTMLForm(e)?new FormData(e):e),tr.getAdapter=e2,tr.HttpStatusCode=tn,tr.default=tr;var ti=tr},44839:function(e,t,n){"use strict";function r(){for(var e,t,n=0,r="",i=arguments.length;no?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return i},d:function(){return r}})},80658:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(42338);function i(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},54696:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(88973);let i={}.hasOwnProperty;function o(e){let t={},n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}n.d(t,{o:function(){return r}})},97094:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(81530),i=n(25576);let o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(o,s)}function s(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return(0,i.o)(n.slice(t?2:1),t?16:10)}return(0,r.T)(n)||e}},67833:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},63374:function(e,t,n){"use strict";function r(e,t,n){let r=[],i=-1;for(;++icrypto.getRandomValues(new Uint8Array(e)),i=(e,t,n)=>{let r=(2<{let a="";for(;;){let t=n(i),s=i;for(;s--;)if((a+=e[t[s]&r]||"").length===o)return a}}},o=(e,t=21)=>i(e,t,r),a=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},22577:function(e,t,n){"use strict";n.d(t,{D:function(){return tK}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return eU},contentInitial:function(){return eL},disable:function(){return ez},document:function(){return ej},flow:function(){return eA},flowInitial:function(){return eF},insideSpan:function(){return eB},string:function(){return eN},text:function(){return eI}});var i={};n.r(i),n.d(i,{boolean:function(){return th},booleanish:function(){return tp},commaOrSpaceSeparated:function(){return tb},commaSeparated:function(){return ty},number:function(){return tg},overloadedBoolean:function(){return tm},spaceSeparated:function(){return tv}});var o=n(2265),a=n(55247);function s(e){return e&&"object"==typeof e?"position"in e||"type"in e?u(e.position):"start"in e||"end"in e?u(e):"line"in e||"column"in e?l(e):"":""}function l(e){return c(e&&e.line)+":"+c(e&&e.column)}function u(e){return l(e&&e.start)+"-"+l(e&&e.end)}function c(e){return e&&"number"==typeof e?e:1}class d extends Error{constructor(e,t,n){let r=[null,null],i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=s(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;let f={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');h(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(h(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;h(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let s=e.charCodeAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function h(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function p(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t,n;t=e?"string"==typeof e||a(e)?{value:e}:p(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let r=-1;for(;++rt.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],i={},o=-1;return s.data=function(e,n){return"string"==typeof e?2==arguments.length?(T("data",t),i[e]=n,s):E.call(i,e)&&i[e]||null:e?(T("data",t),i=e,s):i},s.Parser=void 0,s.Compiler=void 0,s.freeze=function(){if(t)return s;for(;++o{if(!e&&t&&n){let r=s.stringify(t,n);null==r||("string"==typeof r||a(r)?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},s.processSync=function(e){let t;s.freeze(),k("processSync",s.Parser),S("processSync",s.Compiler);let n=P(e);return s.process(n,function(e){t=!0,w(e)}),O("processSync","process",t),n},s;function s(){let t=e(),n=-1;for(;++nr))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(a),o=s;ot;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},z={tokenize:function(e,t,n){return(0,A.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var H=n(42462);function V(e){let t,n,r,i,o,a,s;let l={},u=-1;for(;++u=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},$={tokenize:function(e){let t=this,n=e.attempt(H.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,A.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(q,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},Y={resolveAll:K()},Z=J("string"),G=J("text");function J(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i=3&&(null===a||(0,N.Ch)(a))?(e.exit("thematicBreak"),t(a)):n(a)}(o)}}},et={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,N.pY)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ee,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,N.pY)(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(H.w,r.interrupt?n:l,e.attempt(en,c,u))}function l(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,N.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(H.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,A.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,N.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(er,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,A.f)(e,e.attempt(et,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},en={tokenize:function(e,t,n){let r=this;return(0,A.f)(e,function(e){let i=r.events[r.events.length-1];return!(0,N.xz)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},er={tokenize:function(e,t,n){let r=this;return(0,A.f)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ei={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,N.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,N.xz)(t)?(0,A.f)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(ei,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function eo(e,t,n,r,i,o,a,s,l){let u=l||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||(0,N.Av)(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,N.Ch)(t)?n(t):(e.consume(t),92===t?h:f)}function h(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function p(i){return!c&&(null===i||41===i||(0,N.z3)(i))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):c999||null===d||91===d||93===d&&!a||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(0,N.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||(0,N.Ch)(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!(0,N.xz)(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function es(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):(0,N.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,A.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||(0,N.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function el(e,t){let n;return function r(i){return(0,N.Ch)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,N.xz)(i)?(0,A.f)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var eu=n(67833);let ec={tokenize:function(e,t,n){return function(t){return(0,N.z3)(t)?el(e,r)(t):n(t)};function r(t){return es(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,N.xz)(t)?(0,A.f)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,N.Ch)(e)?t(e):n(e)}},partial:!0},ed={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,A.f)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):(0,N.Ch)(n)?e.attempt(ef,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,N.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},ef={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,N.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,A.f)(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,N.Ch)(e)?i(e):n(e)}},partial:!0},eh={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let a,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){a="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,N.xz)(n)?(0,A.f)(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||(0,N.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},ep=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],em=["pre","script","style","textarea"],eg={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(H.w,t,n)}},partial:!0},ev={tokenize:function(e,t,n){let r=this;return function(t){return(0,N.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},ey={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eb={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),(0,N.xz)(t)?(0,A.f)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=s?(e.exit("codeFencedFenceSequence"),(0,N.xz)(i)?(0,A.f)(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,N.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a=0,s=0;return function(t){return function(t){let o=i.events[i.events.length-1];return a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),(0,N.xz)(i)?(0,A.f)(e,l,"whitespace")(i):l(i))}(t)}(t)};function l(o){return null===o||(0,N.Ch)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(ey,c,p)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,N.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,N.xz)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,A.f)(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||(0,N.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,N.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,p,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&(0,N.xz)(t)?(0,A.f)(e,h,"linePrefix",a+1)(t):h(t)}function h(t){return null===t||(0,N.Ch)(t)?e.check(ey,c,p)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,N.Ch)(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var ew=n(81530);let e_={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=N.H$,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=N.AF,u):(e.enter("characterReferenceValue"),r=7,i=N.pY,u(t))}function u(s){if(59===s&&a){let r=e.exit("characterReferenceValue");return i!==N.H$||(0,ew.T)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);eP(d,-s),eP(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,B.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,B.V)(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=(0,B.V)(l,(0,Q.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=(0,B.V)(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=(0,B.V)(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,(0,B.d)(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++co&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},(0,B.d)(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ee,45:[eh,ee],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,a,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),r=3,l.interrupt?t:R):(0,N.jv)(a)?(e.consume(a),o=String.fromCharCode(a),p):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,f):(0,N.jv)(i)?(e.consume(i),r=4,l.interrupt?t:R):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?l.interrupt?t:E:f:n(r)}function h(t){return(0,N.jv)(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||(0,N.z3)(a)){let s=47===a,u=o.toLowerCase();return!s&&!i&&em.includes(u)?(r=1,l.interrupt?t(a):E(a)):ep.includes(o.toLowerCase())?(r=6,s)?(e.consume(a),m):l.interrupt?t(a):E(a):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?function t(n){return(0,N.xz)(n)?(e.consume(n),t):x(n)}(a):g(a))}return 45===a||(0,N.H$)(a)?(e.consume(a),o+=String.fromCharCode(a),p):n(a)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:E):n(r)}function g(t){return 47===t?(e.consume(t),x):58===t||95===t||(0,N.jv)(t)?(e.consume(t),v):(0,N.xz)(t)?(e.consume(t),g):x(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,N.H$)(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):(0,N.xz)(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):(0,N.xz)(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,N.z3)(n)?y(n):(e.consume(n),t)}(t)}function w(t){return t===s?(e.consume(t),s=null,_):null===t||(0,N.Ch)(t)?n(t):(e.consume(t),w)}function _(e){return 47===e||62===e||(0,N.xz)(e)?g(e):n(e)}function x(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return null===t||(0,N.Ch)(t)?E(t):(0,N.xz)(t)?(e.consume(t),D):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),M):62===t&&4===r?(e.consume(t),j):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),P):(0,N.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eg,L,C)(t)):null===t||(0,N.Ch)(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),E)}function C(t){return e.check(ev,k,L)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),S}function S(t){return null===t||(0,N.Ch)(t)?C(t):(e.enter("htmlFlowData"),E(t))}function T(t){return 45===t?(e.consume(t),R):E(t)}function M(t){return 47===t?(e.consume(t),o="",O):E(t)}function O(t){if(62===t){let n=o.toLowerCase();return em.includes(n)?(e.consume(t),j):E(t)}return(0,N.jv)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),O):E(t)}function P(t){return 93===t?(e.consume(t),R):E(t)}function R(t){return 62===t?(e.consume(t),j):45===t&&2===r?(e.consume(t),R):E(t)}function j(t){return null===t||(0,N.Ch)(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),j)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eh,95:ee,96:eb,126:eb},eN={38:e_,92:ex},eI={[-5]:eD,[-4]:eD,[-3]:eD,33:eT,38:e_,42:eO,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,N.jv)(t)?(e.consume(t),o):s(t)}function o(t){return 43===t||45===t||46===t||(0,N.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||(0,N.H$)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,N.Av)(r)?n(r):(e.consume(r),a)}function s(t){return 64===t?(e.consume(t),l):(0,N.n9)(t)?(e.consume(t),s):n(t)}function l(i){return(0,N.H$)(i)?function i(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,N.H$)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),w):63===t?(e.consume(t),y):(0,N.jv)(t)?(e.consume(t),x):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,h):(0,N.jv)(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):(0,N.Ch)(t)?(o=c,O(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?M(e):45===e?d(e):c(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):(0,N.Ch)(t)?(o=p,O(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?M(t):93===t?(e.consume(t),g):p(t)}function v(t){return null===t||62===t?M(t):(0,N.Ch)(t)?(o=v,O(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):(0,N.Ch)(t)?(o=y,O(t)):(e.consume(t),y)}function b(e){return 62===e?M(e):y(e)}function w(t){return(0,N.jv)(t)?(e.consume(t),_):n(t)}function _(t){return 45===t||(0,N.H$)(t)?(e.consume(t),_):function t(n){return(0,N.Ch)(n)?(o=t,O(n)):(0,N.xz)(n)?(e.consume(n),t):M(n)}(t)}function x(t){return 45===t||(0,N.H$)(t)?(e.consume(t),x):47===t||62===t||(0,N.z3)(t)?D(t):n(t)}function D(t){return 47===t?(e.consume(t),M):58===t||95===t||(0,N.jv)(t)?(e.consume(t),E):(0,N.Ch)(t)?(o=D,O(t)):(0,N.xz)(t)?(e.consume(t),D):M(t)}function E(t){return 45===t||46===t||58===t||95===t||(0,N.H$)(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),C):(0,N.Ch)(n)?(o=t,O(n)):(0,N.xz)(n)?(e.consume(n),t):D(n)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):(0,N.Ch)(t)?(o=C,O(t)):(0,N.xz)(t)?(e.consume(t),C):(e.consume(t),S)}function k(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):(0,N.Ch)(t)?(o=k,O(t)):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,N.z3)(t)?D(t):(e.consume(t),S)}function T(e){return 47===e||62===e||(0,N.z3)(e)?D(e):n(e)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return(0,N.xz)(t)?(0,A.f)(e,R,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),o(t)}}}],91:eR,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,N.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},ex],93:eE,95:eO,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),a):96===l?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",s(a))}(l)):(0,N.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,N.Ch)(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),s)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||eZ).call(o,void 0,e[0])}for(n.position={start:eY(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eY(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function h(e,t){t.restore()}function p(e,t){return function(n,i,o){let a,c,d,h;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return p([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function p(e){return(a=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(h=function(){let e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,g()},from:i}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,v,y)(n)}}function v(t){return e(d,h),i}function y(e){return(h.restore(),++ce$(t,Object.assign({},this.data("settings"),e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))})}function eJ(e){let t=[],n=-1,r=0,i=0;for(;++n55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}var eK=n(20037);let eX=e0("start"),eQ=e0("end");function e0(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let e1={}.hasOwnProperty;function e2(e){return String(e||"").toUpperCase()}function e3(e,t){let n;let r=String(t.identifier).toUpperCase(),i=eJ(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);let a=e.footnoteCounts[r],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function e4(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function e6(e){let t=e.spread;return null==t?e.children.length>1:t}function e5(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let e8={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:e3,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},e3(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e4(e,t);let r={src:eJ(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:eJ(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e4(e,t);let r={href:eJ(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:eJ(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=eX(t.children[1]),a=eQ(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,s=-1,l=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(e5(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:e7,yaml:e7,definition:e7,footnoteDefinition:e7};function e7(){return null}let e9={}.hasOwnProperty;function te(e,t){e.position&&(t.position={start:eX(e),end:eQ(e)})}function tt(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tn(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return e9.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:tr(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(e9.call(n,"hProperties")||e9.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:tr(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function tr(e,t){let n=[];if("children"in t){let r=t.children,i=-1;for(;++i0&&n.push({type:"text",value:"\n"}),n}function to(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...e8,...n.handlers},a.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return(0,eK.Vn)(e,"definition",e=>{let n=e2(e.identifier);n&&!e1.call(t,n)&&(t[n]=e)}),function(e){let n=e2(e);return n&&e1.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=te,a.applyData=tt,a.one=function(e,t){return tn(a,e,t)},a.all=function(e){return tr(a,e)},a.wrap=ti,a.augment=o,(0,eK.Vn)(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();e9.call(i,t)||(i[t]=e)}),a;function o(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:eX(n),end:eQ(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){let t=[],n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}let u=i[i.length-1];if(u&&"element"===u.type&&"p"===u.tagName){let e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);let c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var ta=function(e,t){var n;return e&&"run"in e?(n,r,i)=>{e.run(to(n,t),r,e=>{i(e)})}:(n=e||t,e=>to(e,n))},ts=n(41448);class tl{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function tu(e,t){let n={},r={},i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tk=tE({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tS(e,t){return t in e?e[t]:t}function tT(e,t){return tS(e,t.toLowerCase())}let tM=tE({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tT,properties:{xmlns:null,xmlnsXLink:null}}),tO=tE({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tp,ariaAutoComplete:null,ariaBusy:tp,ariaChecked:tp,ariaColCount:tg,ariaColIndex:tg,ariaColSpan:tg,ariaControls:tv,ariaCurrent:null,ariaDescribedBy:tv,ariaDetails:null,ariaDisabled:tp,ariaDropEffect:tv,ariaErrorMessage:null,ariaExpanded:tp,ariaFlowTo:tv,ariaGrabbed:tp,ariaHasPopup:null,ariaHidden:tp,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tv,ariaLevel:tg,ariaLive:null,ariaModal:tp,ariaMultiLine:tp,ariaMultiSelectable:tp,ariaOrientation:null,ariaOwns:tv,ariaPlaceholder:null,ariaPosInSet:tg,ariaPressed:tp,ariaReadOnly:tp,ariaRelevant:null,ariaRequired:tp,ariaRoleDescription:tv,ariaRowCount:tg,ariaRowIndex:tg,ariaRowSpan:tg,ariaSelected:tp,ariaSetSize:tg,ariaSort:null,ariaValueMax:tg,ariaValueMin:tg,ariaValueNow:tg,ariaValueText:null,role:null}}),tP=tE({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tT,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ty,acceptCharset:tv,accessKey:tv,action:null,allow:null,allowFullScreen:th,allowPaymentRequest:th,allowUserMedia:th,alt:null,as:null,async:th,autoCapitalize:null,autoComplete:tv,autoFocus:th,autoPlay:th,blocking:tv,capture:null,charSet:null,checked:th,cite:null,className:tv,cols:tg,colSpan:null,content:null,contentEditable:tp,controls:th,controlsList:tv,coords:tg|ty,crossOrigin:null,data:null,dateTime:null,decoding:null,default:th,defer:th,dir:null,dirName:null,disabled:th,download:tm,draggable:tp,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:th,formTarget:null,headers:tv,height:tg,hidden:th,high:tg,href:null,hrefLang:null,htmlFor:tv,httpEquiv:tv,id:null,imageSizes:null,imageSrcSet:null,inert:th,inputMode:null,integrity:null,is:null,isMap:th,itemId:null,itemProp:tv,itemRef:tv,itemScope:th,itemType:tv,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:th,low:tg,manifest:null,max:null,maxLength:tg,media:null,method:null,min:null,minLength:tg,multiple:th,muted:th,name:null,nonce:null,noModule:th,noValidate:th,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:th,optimum:tg,pattern:null,ping:tv,placeholder:null,playsInline:th,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:th,referrerPolicy:null,rel:tv,required:th,reversed:th,rows:tg,rowSpan:tg,sandbox:tv,scope:null,scoped:th,seamless:th,selected:th,shadowRootClonable:th,shadowRootDelegatesFocus:th,shadowRootMode:null,shape:null,size:tg,sizes:null,slot:null,span:tg,spellCheck:tp,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tg,step:null,style:null,tabIndex:tg,target:null,title:null,translate:null,type:null,typeMustMatch:th,useMap:null,value:tp,width:tg,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tv,axis:null,background:null,bgColor:null,border:tg,borderColor:null,bottomMargin:tg,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:th,declare:th,event:null,face:null,frame:null,frameBorder:null,hSpace:tg,leftMargin:tg,link:null,longDesc:null,lowSrc:null,marginHeight:tg,marginWidth:tg,noResize:th,noHref:th,noShade:th,noWrap:th,object:null,profile:null,prompt:null,rev:null,rightMargin:tg,rules:null,scheme:null,scrolling:tp,standby:null,summary:null,text:null,topMargin:tg,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tg,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:th,disableRemotePlayback:th,prefix:null,property:null,results:tg,security:null,unselectable:null}}),tR=tE({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:tS,properties:{about:tb,accentHeight:tg,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tg,amplitude:tg,arabicForm:null,ascent:tg,attributeName:null,attributeType:null,azimuth:tg,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tg,by:null,calcMode:null,capHeight:tg,className:tv,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:tg,diffuseConstant:tg,direction:null,display:null,dur:null,divisor:tg,dominantBaseline:null,download:th,dx:null,dy:null,edgeMode:null,editable:null,elevation:tg,enableBackground:null,end:null,event:null,exponent:tg,externalResourcesRequired:null,fill:null,fillOpacity:tg,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ty,g2:ty,glyphName:ty,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tg,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tg,horizOriginX:tg,horizOriginY:tg,id:null,ideographic:tg,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tg,k:tg,k1:tg,k2:tg,k3:tg,k4:tg,kernelMatrix:tb,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tg,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:tg,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:tg,overlineThickness:tg,paintOrder:null,panose1:null,path:null,pathLength:tg,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tv,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tg,pointsAtY:tg,pointsAtZ:tg,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tb,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tb,rev:tb,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tb,requiredFeatures:tb,requiredFonts:tb,requiredFormats:tb,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:tg,specularExponent:tg,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tg,strikethroughThickness:tg,string:null,stroke:null,strokeDashArray:tb,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tg,strokeOpacity:tg,strokeWidth:null,style:null,surfaceScale:tg,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tb,tabIndex:tg,tableValues:null,target:null,targetX:tg,targetY:tg,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tb,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:tg,underlineThickness:tg,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tg,values:null,vAlphabetic:tg,vMathematical:tg,vectorEffect:null,vHanging:tg,vIdeographic:tg,version:null,vertAdvY:tg,vertOriginX:tg,vertOriginY:tg,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tg,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),tj=tu([tk,tC,tM,tO,tP],"html"),tL=tu([tk,tC,tM,tO,tR],"svg");function tF(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{(0,eK.Vn)(t,"element",(t,n,r)=>{let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tA=n(37201);let tN=/^data[-\w.:]+$/i,tI=/-[a-z]/g,tB=/[A-Z]/g;function tU(e){return"-"+e.toLowerCase()}function tz(e){return e.charAt(1).toUpperCase()}let tH={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tV=n(18008),tq=n(65092);let tW={}.hasOwnProperty,t$=new Set(["table","thead","tbody","tfoot","tr"]);function tY(e,t){let n=-1,r=0;for(;++n for more info)`),delete tJ[t]}let t=D().use(eG).use(e.remarkPlugins||[]).use(ta,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(tF,e),n=new g;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let i=o.createElement(o.Fragment,{},function e(t,n){let r;let i=[],a=-1;for(;++a4&&"data"===n.slice(0,4)&&tN.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(tI,tz);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tI.test(e)){let n=e.replace(tB,tU);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=tx}return new i(r,t)}(r.schema,t),o=n;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"==typeof o&&(o=function(e){let t={};try{tV(e,function(e,n){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,tZ)]=n})}catch{}return t}(o)),i.space&&i.property?e[tW.call(tH,i.property)?tH[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}(d,a,n.properties[a],t);("ol"===c||"ul"===c)&&t.listDepth++;let h=e(t,n);("ol"===c||"ul"===c)&&t.listDepth--,t.schema=u;let p=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=s.components&&tW.call(s.components,c)?s.components[c]:c,g="string"==typeof m||m===o.Fragment;if(!tA.isValidElementType(m))throw TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(d.key=r,"a"===c&&s.linkTarget&&(d.target="function"==typeof s.linkTarget?s.linkTarget(String(d.href||""),n.children,"string"==typeof d.title?d.title:null):s.linkTarget),"a"===c&&l&&(d.href=l(String(d.href||""),n.children,"string"==typeof d.title?d.title:null)),g||"code"!==c||"element"!==i.type||"pre"===i.tagName||(d.inline=!0),g||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(d.level=Number.parseInt(c.charAt(1),10)),"img"===c&&s.transformImageUri&&(d.src=s.transformImageUri(String(d.src||""),String(d.alt||""),"string"==typeof d.title?d.title:null)),!g&&"li"===c&&"element"===i.type){let e=function(e){let t=-1;for(;++t0?o.createElement(m,d,h):o.createElement(m,d)}(t,r,a,n)):"text"===r.type?"element"===n.type&&t$.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||i.push(r.value):"raw"!==r.type||t.options.skipHtml||i.push(r.value);return i}({options:e,schema:tj,listDepth:0},r));return e.className&&(i=o.createElement("div",{className:e.className},i)),i}tK.propTypes={children:ts.string,className:ts.string,allowElement:ts.func,allowedElements:ts.arrayOf(ts.string),disallowedElements:ts.arrayOf(ts.string),unwrapDisallowed:ts.bool,remarkPlugins:ts.arrayOf(ts.oneOfType([ts.object,ts.func,ts.arrayOf(ts.oneOfType([ts.bool,ts.string,ts.object,ts.func,ts.arrayOf(ts.any)]))])),rehypePlugins:ts.arrayOf(ts.oneOfType([ts.object,ts.func,ts.arrayOf(ts.oneOfType([ts.bool,ts.string,ts.object,ts.func,ts.arrayOf(ts.any)]))])),sourcePos:ts.bool,rawSourcePos:ts.bool,skipHtml:ts.bool,includeElementIndex:ts.bool,transformLinkUri:ts.oneOfType([ts.func,ts.bool]),linkTarget:ts.oneOfType([ts.func,ts.string]),transformImageUri:ts.func,components:ts.object}},65092:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});let r=["http","https","mailto","tel"];function i(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let i=t.indexOf(":");if(-1===i)return t;let o=-1;for(;++oo||-1!==(o=t.indexOf("#"))&&i>o?t:"javascript:void(0)"}},11735:function(e,t,n){"use strict";n.d(t,{CR:function(){return c},FC:function(){return h},Jh:function(){return l},KL:function(){return p},XA:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return d},mG:function(){return s},pi:function(){return o},qq:function(){return f}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function d(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{var n;(n=i[e](t)).value instanceof f?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function p(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=u(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}"function"==typeof SuppressedError&&SuppressedError},5373:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=function(e){if(null==e)return o;if("string"==typeof e)return i(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return c;function c(){var u;let c,d,f,h=[];if((!t||o(r,s,l[l.length-1]||null))&&!1===(h=Array.isArray(u=n(r,l))?u:"number"==typeof u?[!0,u]:[u])[0])return h;if(r.children&&"skip"!==h[0])for(d=(i?r.children.length:-1)+a,f=l.concat(r);d>-1&&d{for(let[o,a]of t)e=e.replace(RegExp(i(o),"g"),a);return e})(e=e.normalize(),o))}}}]); \ No newline at end of file diff --git a/static/chunks/app/_not-found/page-9364bf4ad247e60b.js b/static/chunks/app/_not-found/page-9364bf4ad247e60b.js new file mode 100644 index 0000000000000000000000000000000000000000..1ba112d7f182252cac4176b07f2822fc3df74edc --- /dev/null +++ b/static/chunks/app/_not-found/page-9364bf4ad247e60b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{67589:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return n(35457)}])},35457:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}}),n(99920);let i=n(57437);n(2265);let o={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},l={display:"inline-block"},r={display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},d={fontSize:14,fontWeight:400,lineHeight:"49px",margin:0};function s(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("title",{children:"404: This page could not be found."}),(0,i.jsx)("div",{style:o,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,i.jsx)("h1",{className:"next-error-h1",style:r,children:"404"}),(0,i.jsx)("div",{style:l,children:(0,i.jsx)("h2",{style:d,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){e.O(0,[971,23,744],function(){return e(e.s=67589)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/chunks/app/layout-1681915e2606683d.js b/static/chunks/app/layout-1681915e2606683d.js new file mode 100644 index 0000000000000000000000000000000000000000..7ef5f8ea092bedf67e26749dcdc836ae2e7cfc47 --- /dev/null +++ b/static/chunks/app/layout-1681915e2606683d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{6769:function(n,e,u){Promise.resolve().then(u.t.bind(u,58877,23))},58877:function(){}},function(n){n.O(0,[425,404,971,23,744],function(){return n(n.s=6769)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/static/chunks/app/login/page-0c9bac9b8c54aa9c.js b/static/chunks/app/login/page-0c9bac9b8c54aa9c.js new file mode 100644 index 0000000000000000000000000000000000000000..f4ee4dad0fd24b0ab268cb48da2dd555db20812b --- /dev/null +++ b/static/chunks/app/login/page-0c9bac9b8c54aa9c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[626],{71309:function(e,t,n){Promise.resolve().then(n.bind(n,74320)),Promise.resolve().then(n.t.bind(n,231,23))},74320:function(e,t,n){"use strict";n.d(t,{default:function(){return u}});var r=n(57437),s=n(71169);function u(){let e=(0,s.useSearchParams)(),t=e.get("error"),n=e.get("message");return(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("p",{className:"mt-4 p-4 bg-neutral-900 text-neutral-300 text-center",children:t}),n&&(0,r.jsx)("p",{className:"mt-4 p-4 bg-neutral-900 text-neutral-300 text-center",children:n})]})}}},function(e){e.O(0,[231,971,23,744],function(){return e(e.s=71309)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/chunks/app/page-941f86cb5e7d79ba.js b/static/chunks/app/page-941f86cb5e7d79ba.js new file mode 100644 index 0000000000000000000000000000000000000000..d4e684e2244003a3ea0a53baf7038c4cfc5976c8 --- /dev/null +++ b/static/chunks/app/page-941f86cb5e7d79ba.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{83206:function(e,t,n){Promise.resolve().then(n.bind(n,55138)),Promise.resolve().then(n.t.bind(n,231,23))},55138:function(e,t,n){"use strict";n.d(t,{default:function(){return H}});var s=n(57437),r=n(2265),l=n(55644),a=n(89921),i=n(23962),c=n(63683),o=n(20821),d=n(80043),u=n(2779),m=n(80245),h=n(61612),x=n(40311),j=n(33600),v=n(5734),f=n(77815),p=n(94946);let _=(0,n(91116).kP)("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",10),w=()=>{let e=(0,p.b12)(),{channel:t}=(0,h.JN)(),n=(0,r.useCallback)(()=>{null==e||e.call("default",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:12;return _(e)}()).getOrCreate({ring:!0,data:{custom:{channelCid:t.cid},members:Object.values(t.state.members).map(e=>({user_id:e.user_id}))}}).then(e=>{console.log("call",e)})},[e,t.cid,t.state.members]),l=!e;return(0,s.jsx)("button",{className:"rmc__button rmc__button--green",disabled:l,onClick:n,children:(0,s.jsx)("span",{children:"Start a call"})})},g=()=>(0,s.jsxs)("svg",{"data-testid":"menu-icon",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Menu"}),(0,s.jsx)("path",{d:"M0 88C0 74.75 10.75 64 24 64H424C437.3 64 448 74.75 448 88C448 101.3 437.3 112 424 112H24C10.75 112 0 101.3 0 88zM0 248C0 234.7 10.75 224 24 224H424C437.3 224 448 234.7 448 248C448 261.3 437.3 272 424 272H24C10.75 272 0 261.3 0 248zM424 432H24C10.75 432 0 421.3 0 408C0 394.7 10.75 384 24 384H424C437.3 384 448 394.7 448 408C448 421.3 437.3 432 424 432z",fill:"currentColor"})]}),N=r.memo(e=>{let{image:t,live:n,title:r}=e,{channel:l,watcher_count:a}=(0,h.JN)("ChannelHeader"),{openMobileNav:i}=(0,x.mx)("ChannelHeader"),{t:c}=(0,j.Ht)("ChannelHeader"),{displayImage:o,displayTitle:d}=(0,v.y)({channel:l,overrideImage:t,overrideTitle:r}),{member_count:u,subtitle:m}=(null==l?void 0:l.data)||{};return(0,s.jsxs)("div",{className:"str-chat__header-livestream str-chat__channel-header",children:[(0,s.jsx)("button",{"aria-label":"Menu",className:"str-chat__header-hamburger",onClick:i,children:(0,s.jsx)(g,{})}),(0,s.jsx)(f.q,{image:o,name:d,shape:"rounded",size:(null==l?void 0:l.type)==="commerce"?60:40}),(0,s.jsxs)("div",{className:"str-chat__header-livestream-left str-chat__channel-header-end",children:[(0,s.jsxs)("p",{className:"str-chat__header-livestream-left--title str-chat__channel-header-title",children:[d," ",n&&(0,s.jsx)("span",{className:"str-chat__header-livestream-left--livelabel",children:c("live")})]}),!!m&&(0,s.jsx)("p",{className:"str-chat__header-livestream-left--subtitle",children:c("{{ subtitle }}",{subtitle:m})}),(0,s.jsxs)("p",{className:"str-chat__header-livestream-left--members str-chat__channel-header-info",children:[!n&&!!u&&u>0&&(0,s.jsxs)(s.Fragment,{children:[c("{{ memberCount }} members",{memberCount:u}),","," "]}),c("{{ watcherCount }} online",{watcherCount:a})]})]}),(0,s.jsx)(w,{})]})}),C=()=>(0,s.jsxs)(c.$,{children:[(0,s.jsxs)(o.R,{children:[(0,s.jsx)(N,{}),(0,s.jsx)(d.r,{}),(0,s.jsx)(u.R,{focus:!0})]}),(0,s.jsx)(m.j,{})]}),b=(e,t)=>{let n=Date.now();return s=>{n+t-Date.now()<=0&&(e(s),n=Date.now())}},k=e=>{let t=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!e)return;let n=n=>{if(!(0===n.button&&1===n.buttons))return;let{left:s,top:r}=e.getBoundingClientRect();t.current={x:n.clientX-s,y:n.clientY-r}},s=()=>{document.removeEventListener("mousemove",r),t.current=null},r=n=>{if(!t.current)return;let s=n.pageX-t.current.x,r=n.pageY-t.current.y;e.style.left=s+"px",e.style.top=r+"px"};return e.addEventListener("mousedown",n),document.addEventListener("mouseup",s),document.addEventListener("mousemove",b(r,100)),()=>{e.removeEventListener("mousedown",n),document.removeEventListener("mouseup",s),document.removeEventListener("mousemove",r)}},[e])},y=()=>{let e=(0,p.W7t)(),{useCallCallingState:t,useCallCustomData:n}=(0,p.dvl)(),l=t(),a=n(),{channel:i}=(0,x.mx)(),[c,o]=(0,r.useState)(null);if(k(c),!e)return null;let d=(null==i?void 0:i.cid)===a.channelCid;return p.Uq0.RINGING!==l||d?l===p.Uq0.JOINED?(0,s.jsxs)("div",{className:"str-video__call-panel rmc__call-panel-wrapper",ref:o,children:[(0,s.jsx)(p.ZXw,{groupSize:4}),(0,s.jsxs)("div",{className:"rmc__active-call-controls",children:[(0,s.jsx)(p.vNM,{}),(0,s.jsx)(p.FvN,{children:(0,s.jsx)(p.$GM,{})}),(0,s.jsx)(p.fm4,{}),(0,s.jsx)(p.qOo,{})]})]}):[p.Uq0.RINGING,p.Uq0.JOINING].includes(l)?(0,s.jsx)("div",{className:"rmc__call-panel-wrapper",ref:o,children:(0,s.jsx)(p.KkN,{})}):null:null},E=()=>{let e=(0,p.G1)();return(0,s.jsx)(s.Fragment,{children:e.map(e=>(0,s.jsx)(p.N_D,{call:e,children:(0,s.jsx)(y,{})},e.cid))})};function z(){return(0,s.jsx)("form",{action:"/auth/sign-out",method:"post",className:"w-6 h-6 flex items-center",children:(0,s.jsx)("button",{children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75"})})})})}function M(e){let{user:t}=e;return(0,s.jsxs)("div",{className:"text-white flex items-center justify-between profile-row p-4",children:[(0,s.jsx)(f.q,{image:"https://getstream.io/random_png/?id=".concat((null==t?void 0:t.id)||"undefined","&name=").concat((null==t?void 0:t.name)||"undefined"),shape:"rounded",size:50}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("button",{className:"w-6 h-6",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M12 2.25c-2.429 0-4.817.178-7.152.521C2.87 3.061 1.5 4.795 1.5 6.741v6.018c0 1.946 1.37 3.68 3.348 3.97.877.129 1.761.234 2.652.316V21a.75.75 0 001.28.53l4.184-4.183a.39.39 0 01.266-.112c2.006-.05 3.982-.22 5.922-.506 1.978-.29 3.348-2.023 3.348-3.97V6.741c0-1.947-1.37-3.68-3.348-3.97A49.145 49.145 0 0012 2.25zM8.25 8.625a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25zm2.625 1.125a1.125 1.125 0 112.25 0 1.125 1.125 0 01-2.25 0zm4.875-1.125a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25z",clipRule:"evenodd"})})}),(0,s.jsx)(z,{})]})]})}function H(e){let{user:t}=e,n="5nz6vmfhyptn",[c,o]=(0,r.useState)(!0),d=l.c8.getInstance(n),[u,m]=(0,r.useState)(),h={type:"messaging",members:{$in:[t.id]}},x=d.user;return(0,r.useEffect)(()=>{console.log("user",t);let e=t.id;fetch("/api/create-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})}).then(async t=>{let s=await t.json();console.log(s),await d.connectUser({id:e},s.userToken);let r=new p.GRk({apiKey:n,user:x,token:s.userToken});await r.connectUser({id:e},s.userToken),m(r),o(!1)})},[]),(0,s.jsxs)(s.Fragment,{children:[c&&(0,s.jsx)("div",{className:"text-white w-full flex items-center justify-center",children:(0,s.jsx)("p",{children:"Loading…"})}),!c&&u&&(0,s.jsx)("div",{id:"root",children:(0,s.jsx)(a.e,{client:d,children:(0,s.jsx)(p.hbc,{client:u,children:(0,s.jsxs)(p.c3T,{as:"main",className:"main-container",children:[(0,s.jsxs)("div",{className:"channel-list-container",children:[(0,s.jsx)(M,{user:x}),(0,s.jsx)(i.G,{sort:{last_message_at:-1},filters:h,showChannelSearch:!0})]}),(0,s.jsx)(C,{}),(0,s.jsx)(E,{})]})})})})]})}n(64385),n(56978),n(7806)},56978:function(){},7806:function(){}},function(e){e.O(0,[981,350,603,690,575,171,463,231,956,971,23,744],function(){return e(e.s=83206)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/chunks/b714f034-8213c9155ace647b.js b/static/chunks/b714f034-8213c9155ace647b.js new file mode 100644 index 0000000000000000000000000000000000000000..8dd2617d94d2ca99641bfe600d909bd15d0c219f --- /dev/null +++ b/static/chunks/b714f034-8213c9155ace647b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[463],{26347:function(e,t,i){let n,a,s,r;i.d(t,{$A:function(){return aB},Bl:function(){return N},F3:function(){return eb},GR:function(){return sl},HS:function(){return aD},IH:function(){return aO},JM:function(){return nF},Jq:function(){return e8},NJ:function(){return aP},Ne:function(){return aR},OX:function(){return nM},PP:function(){return ey},Uq:function(){return O},VJ:function(){return nk},WV:function(){return ay},WW:function(){return aN},_J:function(){return iz},_l:function(){return aE},aG:function(){return aU},dP:function(){return aF},dg:function(){return aW},iE:function(){return aL},pJ:function(){return aV},st:function(){return aK},sy:function(){return ah},xX:function(){return av},xp:function(){return nW}}),i(98394);var o,l,c,d,h,u,p,g,m,f,y,b,v,k,w,T,C,S,I,R,E,D,_,P,U,N,A,O,L,B=i(16323),j=i(32701),F=i(55439),W=i(85424),V=i(35614),M=i(94863),x=i(3406),H=i(5279),z=i(38472),q=i(86623),K=i(48156),J=i(25575),G=i(89759),$=i(45715),Q=i(65690),X=i(57324),Y=i(39864),Z=i(76913),ee=i(12531),et=i(88007),ei=i(43182),en=i(29809),ea=i(92660),es=i(14),er=i(71134),eo=i(37369),el=i(8450),ec=i(70394),ed=i(2127),eh=i(12270),eu=i(48793),ep=i(26088),eg=i(74811),em=i(48738),ef=i(20357);let ey={BLOCK_USERS:"block-users",CREATE_CALL:"create-call",CREATE_REACTION:"create-reaction",END_CALL:"end-call",JOIN_BACKSTAGE:"join-backstage",JOIN_CALL:"join-call",JOIN_ENDED_CALL:"join-ended-call",MUTE_USERS:"mute-users",PIN_FOR_EVERYONE:"pin-for-everyone",READ_CALL:"read-call",REMOVE_CALL_MEMBER:"remove-call-member",SCREENSHARE:"screenshare",SEND_AUDIO:"send-audio",SEND_VIDEO:"send-video",START_BROADCAST_CALL:"start-broadcast-call",START_RECORD_CALL:"start-record-call",START_TRANSCRIPTION_CALL:"start-transcription-call",STOP_BROADCAST_CALL:"stop-broadcast-call",STOP_RECORD_CALL:"stop-record-call",STOP_TRANSCRIPTION_CALL:"stop-transcription-call",UPDATE_CALL:"update-call",UPDATE_CALL_MEMBER:"update-call-member",UPDATE_CALL_PERMISSIONS:"update-call-permissions",UPDATE_CALL_SETTINGS:"update-call-settings"},eb={FRONT:"front",BACK:"back",EXTERNAL:"external"};class ev extends Error{}(o=T||(T={}))[o.NULL_VALUE=0]="NULL_VALUE";class ek extends B.C{internalJsonWrite(e,t){let i={};for(let[t,n]of Object.entries(e.fields))i[t]=eC.toJson(n);return i}internalJsonRead(e,t,i){if(!(0,j.b)(e))throw new globalThis.Error("Unable to parse message "+this.typeName+" from JSON "+(0,j.Z)(e)+".");for(let[t,n]of(i||(i=this.create()),globalThis.Object.entries(e)))i.fields[t]=eC.fromJson(n);return i}create(e){let t={fields:{}};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseC}}])}}let ew=new ek;class eT extends B.C{internalJsonWrite(e,t){if(void 0===e.kind.oneofKind)throw new globalThis.Error;switch(e.kind.oneofKind){case void 0:throw new globalThis.Error;case"boolValue":return e.kind.boolValue;case"nullValue":return null;case"numberValue":return e.kind.numberValue;case"stringValue":return e.kind.stringValue;case"listValue":let i=this.fields.find(e=>6===e.no);if((null==i?void 0:i.kind)!=="message")throw new globalThis.Error;return i.T().toJson(e.kind.listValue);case"structValue":let n=this.fields.find(e=>5===e.no);if((null==n?void 0:n.kind)!=="message")throw new globalThis.Error;return n.T().toJson(e.kind.structValue)}}internalJsonRead(e,t,i){switch(i||(i=this.create()),typeof e){case"number":i.kind={oneofKind:"numberValue",numberValue:e};break;case"string":i.kind={oneofKind:"stringValue",stringValue:e};break;case"boolean":i.kind={oneofKind:"boolValue",boolValue:e};break;case"object":null===e?i.kind={oneofKind:"nullValue",nullValue:T.NULL_VALUE}:globalThis.Array.isArray(e)?i.kind={oneofKind:"listValue",listValue:eI.fromJson(e)}:i.kind={oneofKind:"structValue",structValue:ew.fromJson(e)};break;default:throw new globalThis.Error("Unable to parse "+this.typeName+" from JSON "+(0,j.Z)(e))}return i}create(e){let t={kind:{oneofKind:void 0}};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["google.protobuf.NullValue",T]},{no:2,name:"number_value",kind:"scalar",oneof:"kind",T:1},{no:3,name:"string_value",kind:"scalar",oneof:"kind",T:9},{no:4,name:"bool_value",kind:"scalar",oneof:"kind",T:8},{no:5,name:"struct_value",kind:"message",oneof:"kind",T:()=>ew},{no:6,name:"list_value",kind:"message",oneof:"kind",T:()=>eI}])}}let eC=new eT;class eS extends B.C{internalJsonWrite(e,t){return e.values.map(e=>eC.toJson(e))}internalJsonRead(e,t,i){if(!globalThis.Array.isArray(e))throw new globalThis.Error("Unable to parse "+this.typeName+" from JSON "+(0,j.Z)(e));i||(i=this.create());let n=e.map(e=>eC.fromJson(e));return i.values.push(...n),i}create(e){let t={values:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseC}])}}let eI=new eS;class eR extends B.C{now(){let e=this.create(),t=Date.now();return e.seconds=M.MJ.from(Math.floor(t/1e3)).toString(),e.nanos=t%1e3*1e6,e}toDate(e){return new Date(1e3*M.MJ.from(e.seconds).toNumber()+Math.ceil(e.nanos/1e6))}fromDate(e){let t=this.create(),i=e.getTime();return t.seconds=M.MJ.from(Math.floor(i/1e3)).toString(),t.nanos=i%1e3*1e6,t}internalJsonWrite(e,t){let i=1e3*M.MJ.from(e.seconds).toNumber();if(iDate.parse("9999-12-31T23:59:59Z"))throw Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(e.nanos<0)throw Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let n="Z";if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);n="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(i).toISOString().replace(".000Z",n)}internalJsonRead(e,t,i){if("string"!=typeof e)throw Error("Unable to parse Timestamp from JSON "+(0,j.Z)(e)+".");let n=e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!n)throw Error("Unable to parse Timestamp from JSON. Invalid format.");let a=Date.parse(n[1]+"-"+n[2]+"-"+n[3]+"T"+n[4]+":"+n[5]+":"+n[6]+(n[8]?n[8]:"Z"));if(Number.isNaN(a))throw Error("Unable to parse Timestamp from JSON. Invalid value.");if(aDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");return i||(i=this.create()),i.seconds=M.MJ.from(a/1e3).toString(),i.nanos=0,n[7]&&(i.nanos=parseInt("1"+n[7]+"0".repeat(9-n[7].length))-1e9),i}create(e){let t={seconds:"0",nanos:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseL},{no:2,name:"started_at",kind:"message",T:()=>eE},{no:3,name:"participant_count",kind:"message",T:()=>eU},{no:4,name:"pins",kind:"message",repeat:1,T:()=>eA}])}}let e_=new eD;class eP extends B.C{create(e){let t={total:0,anonymous:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",R,"TRACK_TYPE_"]},{no:4,name:"joined_at",kind:"message",T:()=>eE},{no:5,name:"track_lookup_prefix",kind:"scalar",T:9},{no:6,name:"connection_quality",kind:"enum",T:()=>["stream.video.sfu.models.ConnectionQuality",S,"CONNECTION_QUALITY_"]},{no:7,name:"is_speaking",kind:"scalar",T:8},{no:8,name:"is_dominant_speaker",kind:"scalar",T:8},{no:9,name:"audio_level",kind:"scalar",T:2},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"image",kind:"scalar",T:9},{no:12,name:"custom",kind:"message",T:()=>ew},{no:13,name:"roles",kind:"scalar",repeat:2,T:9}])}}let eL=new eO;class eB extends B.C{create(e){let t={videoQuality:0,userId:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.VideoQuality",I,"VIDEO_QUALITY_"]},{no:2,name:"user_id",kind:"scalar",T:9}])}}let ej=new eB;class eF extends B.C{create(e){let t={width:0,height:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseW},{no:4,name:"bitrate",kind:"scalar",T:13},{no:5,name:"fps",kind:"scalar",T:13},{no:6,name:"quality",kind:"enum",T:()=>["stream.video.sfu.models.VideoQuality",I,"VIDEO_QUALITY_"]}])}}let eM=new eV;class ex extends B.C{create(e){let t={payloadType:0,name:"",fmtpLine:"",clockRate:0,encodingParameters:"",feedbacks:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",C,"PEER_TYPE_"]},{no:2,name:"ice_candidate",kind:"scalar",T:9},{no:3,name:"session_id",kind:"scalar",T:9}])}};class eq extends B.C{create(e){let t={trackId:"",trackType:0,layers:[],mid:"",dtx:!1,stereo:!1,red:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",R,"TRACK_TYPE_"]},{no:5,name:"layers",kind:"message",repeat:1,T:()=>eM},{no:6,name:"mid",kind:"scalar",T:9},{no:7,name:"dtx",kind:"scalar",T:8},{no:8,name:"stereo",kind:"scalar",T:8},{no:9,name:"red",kind:"scalar",T:8}])}}let eK=new eq;class eJ extends B.C{create(e){let t={type:"",id:"",createdByUserId:"",hostUserId:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.posew},{no:6,name:"created_at",kind:"message",T:()=>eE},{no:7,name:"updated_at",kind:"message",T:()=>eE}])}}let eG=new eJ,e$=new class extends B.C{create(e){let t={code:0,message:"",shouldRetry:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.ErrorCode",E,"ERROR_CODE_"]},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"should_retry",kind:"scalar",T:8}])}};class eQ extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseZ},{no:2,name:"os",kind:"message",T:()=>e1},{no:3,name:"browser",kind:"message",T:()=>e3},{no:4,name:"device",kind:"message",T:()=>e4}])}}let eX=new eQ;class eY extends B.C{create(e){let t={type:0,major:"",minor:"",patch:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.SdkType",D,"SDK_TYPE_"]},{no:2,name:"major",kind:"scalar",T:9},{no:3,name:"minor",kind:"scalar",T:9},{no:4,name:"patch",kind:"scalar",T:9}])}}let eZ=new eY;class e0 extends B.C{create(e){let t={name:"",version:"",architecture:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",C,"PEER_TYPE_"]}])}}let te=new e7;class tt extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let ti=new tt;class tn extends B.C{create(e){let t={sessionId:"",muteStates:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.postl}])}}let ta=new tn;class ts extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let tr=new ts;class to extends B.C{create(e){let t={trackType:0,muted:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",R,"TRACK_TYPE_"]},{no:2,name:"muted",kind:"scalar",T:8}])}}let tl=new to;class tc extends B.C{create(e){let t={muted:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.postf}])}}let tu=new th;class tp extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let tg=new tp;class tm extends B.C{create(e){let t={userId:"",sessionId:"",trackType:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",R,"TRACK_TYPE_"]},{no:4,name:"dimension",kind:"message",T:()=>eW}])}}let tf=new tm;class ty extends B.C{create(e){let t={peerType:0,sdp:"",sessionId:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",C,"PEER_TYPE_"]},{no:2,name:"sdp",kind:"scalar",T:9},{no:3,name:"session_id",kind:"scalar",T:9}])}}let tb=new ty;class tv extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let tk=new tv;class tw extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let tT=new tw;class tC extends B.C{create(e){let t={sdp:"",sessionId:"",tracks:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseK}])}}let tS=new tC;class tI extends B.C{create(e){let t={sdp:"",sessionId:"",iceRestart:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let tR=new tI,tE=new x.U("stream.video.sfu.signal.SignalServer",[{name:"SetPublisher",options:{},I:tS,O:tR},{name:"SendAnswer",options:{},I:tb,O:tk},{name:"IceTrickle",options:{},I:ez,O:tT},{name:"UpdateSubscriptions",options:{},I:tu,O:tg},{name:"UpdateMuteStates",options:{},I:ta,O:tr},{name:"IceRestart",options:{},I:te,O:ti}]);(f=U||(U={}))[f.HIGH_UNSPECIFIED=0]="HIGH_UNSPECIFIED",f[f.LOW=1]="LOW",f[f.MEDIUM=2]="MEDIUM",f[f.VERY_LOW=3]="VERY_LOW";class tD extends B.C{create(e){let t={eventPayload:{oneofKind:void 0}};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.post9},{no:2,name:"publisher_answer",kind:"message",oneof:"eventPayload",T:()=>t5},{no:3,name:"connection_quality_changed",kind:"message",oneof:"eventPayload",T:()=>t8},{no:4,name:"audio_level_changed",kind:"message",oneof:"eventPayload",T:()=>io},{no:5,name:"ice_trickle",kind:"message",oneof:"eventPayload",T:()=>ez},{no:6,name:"change_publish_quality",kind:"message",oneof:"eventPayload",T:()=>ik},{no:10,name:"participant_joined",kind:"message",oneof:"eventPayload",T:()=>t0},{no:11,name:"participant_left",kind:"message",oneof:"eventPayload",T:()=>t2},{no:12,name:"dominant_speaker_changed",kind:"message",oneof:"eventPayload",T:()=>ii},{no:13,name:"join_response",kind:"message",oneof:"eventPayload",T:()=>tY},{no:14,name:"health_check_response",kind:"message",oneof:"eventPayload",T:()=>tx},{no:16,name:"track_published",kind:"message",oneof:"eventPayload",T:()=>tz},{no:17,name:"track_unpublished",kind:"message",oneof:"eventPayload",T:()=>tK},{no:18,name:"error",kind:"message",oneof:"eventPayload",T:()=>tA},{no:19,name:"call_grants_updated",kind:"message",oneof:"eventPayload",T:()=>iT},{no:20,name:"go_away",kind:"message",oneof:"eventPayload",T:()=>iS},{no:21,name:"ice_restart",kind:"message",oneof:"eventPayload",T:()=>tB},{no:22,name:"pins_updated",kind:"message",oneof:"eventPayload",T:()=>tU}])}}let t_=new tD;class tP extends B.C{create(e){let t={pins:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseA}])}}let tU=new tP;class tN extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose$}])}}let tA=new tN;class tO extends B.C{create(e){let t={peerType:0,iceCandidate:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",C,"PEER_TYPE_"]},{no:2,name:"ice_candidate",kind:"scalar",T:9}])}}new tO;class tL extends B.C{create(e){let t={peerType:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.PeerType",C,"PEER_TYPE_"]}])}}let tB=new tL;class tj extends B.C{create(e){let t={requestPayload:{oneofKind:void 0}};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.postG},{no:2,name:"health_check_request",kind:"message",oneof:"requestPayload",T:()=>tV}])}}let tF=new tj;class tW extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){return null!=n?n:this.create()}internalBinaryWrite(e,t,i){let n=i.writeUnknownFields;return!1!==n&&(!0==n?V.z.onWrite:n)(this.typeName,e,t),t}constructor(){super("stream.video.sfu.event.HealthCheckRequest",[])}}let tV=new tW;class tM extends B.C{create(e){let t={};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseU}])}}let tx=new tM;class tH extends B.C{create(e){let t={userId:"",sessionId:"",type:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",R,"TRACK_TYPE_"]},{no:4,name:"participant",kind:"message",T:()=>eL}])}}let tz=new tH;class tq extends B.C{create(e){let t={userId:"",sessionId:"",type:0,cause:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.TrackType",R,"TRACK_TYPE_"]},{no:4,name:"cause",kind:"enum",T:()=>["stream.video.sfu.models.TrackUnpublishReason",_,"TRACK_UNPUBLISH_REASON_"]},{no:5,name:"participant",kind:"message",T:()=>eL}])}}let tK=new tq;class tJ extends B.C{create(e){let t={token:"",sessionId:"",subscriberSdp:"",fastReconnect:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseX},{no:5,name:"migration",kind:"message",T:()=>tQ},{no:6,name:"fast_reconnect",kind:"scalar",T:8}])}}let tG=new tJ;class t$ extends B.C{create(e){let t={fromSfuId:"",announcedTracks:[],subscriptions:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseK},{no:3,name:"subscriptions",kind:"message",repeat:1,T:()=>tf}])}}let tQ=new t$;class tX extends B.C{create(e){let t={reconnected:!1};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose_},{no:2,name:"reconnected",kind:"scalar",T:8}])}}let tY=new tX;class tZ extends B.C{create(e){let t={callCid:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseL}])}}let t0=new tZ;class t1 extends B.C{create(e){let t={callCid:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.poseL}])}}let t2=new t1;class t3 extends B.C{create(e){let t={iceRestart:!1,sdp:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.posie}])}}let t8=new t6;class t7 extends B.C{create(e){let t={userId:"",sessionId:"",connectionQuality:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.ConnectionQuality",S,"CONNECTION_QUALITY_"]}])}}let ie=new t7;class it extends B.C{create(e){let t={userId:"",sessionId:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.posis}])}}let io=new ir;class il extends B.C{create(e){let t={channelCount:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.posic},{no:2,name:"codec",kind:"message",T:()=>eH}])}}let ih=new id;class iu extends B.C{create(e){let t={idealHeight:0,idealWidth:0,idealFrameRate:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.event.VideoLayerSetting.Priority",U,"PRIORITY_"]},{no:6,name:"codec",kind:"message",T:()=>eH},{no:7,name:"max_framerate",kind:"scalar",T:13}])}}let im=new ig;class iy extends B.C{create(e){let t={layers:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.posip},{no:2,name:"codec",kind:"message",T:()=>eH},{no:3,name:"layers",kind:"message",repeat:1,T:()=>im}])}}let ib=new iy;class iv extends B.C{create(e){let t={audioSenders:[],videoSenders:[]};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.posih},{no:2,name:"video_senders",kind:"message",repeat:1,T:()=>ib}])}}let ik=new iv;class iw extends B.C{create(e){let t={message:""};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pose6},{no:2,name:"message",kind:"scalar",T:9}])}}let iT=new iw;class iC extends B.C{create(e){let t={reason:0};return globalThis.Object.defineProperty(t,F.C,{enumerable:!1,value:this}),void 0!==e&&(0,W.l)(this,t,e),t}internalBinaryRead(e,t,i,n){let a=null!=n?n:this.create(),s=e.pos+t;for(;e.pos["stream.video.sfu.models.GoAwayReason",P,"GO_AWAY_REASON_"]}])}}let iS=new iC;(y=N||(N={})).UNKNOWN="UNKNOWN",y.VISIBLE="VISIBLE",y.INVISIBLE="INVISIBLE",(b=A||(A={}))[b.IMMEDIATE=20]="IMMEDIATE",b[b.FAST=100]="FAST",b[b.MEDIUM=600]="MEDIUM",b[b.SLOW=1200]="SLOW";let iI=e=>!!e.isLocalParticipant;class iR{setPublisher(e,t){let i=this.methods[0],n=this._transport.mergeOptions(t);return(0,H.xA)("unary",this._transport,i,n,e)}sendAnswer(e,t){let i=this.methods[1],n=this._transport.mergeOptions(t);return(0,H.xA)("unary",this._transport,i,n,e)}iceTrickle(e,t){let i=this.methods[2],n=this._transport.mergeOptions(t);return(0,H.xA)("unary",this._transport,i,n,e)}updateSubscriptions(e,t){let i=this.methods[3],n=this._transport.mergeOptions(t);return(0,H.xA)("unary",this._transport,i,n,e)}updateMuteStates(e,t){let i=this.methods[4],n=this._transport.mergeOptions(t);return(0,H.xA)("unary",this._transport,i,n,e)}iceRestart(e,t){let i=this.methods[5],n=this._transport.mergeOptions(t);return(0,H.xA)("unary",this._transport,i,n,e)}constructor(e){this._transport=e,this.typeName=tE.typeName,this.methods=tE.methods,this.options=tE.options}}let iE={baseUrl:"",sendJson:!0,timeout:5e3,jsonOptions:{ignoreUnknownFields:!0}},iD=e=>({interceptUnary:(t,i,n,a)=>(a.meta={...a.meta,...e},t(i,n,a))}),i_=e=>new iR(new K.M({...iE,...e})),iP=Object.freeze({trace:0,debug:1,info:2,warn:3,error:4}),iU="info",iN=function(e,t){let i;for(var n=arguments.length,a=Array(n>2?n-2:0),s=2;s{n=e,t&&iO(t)},iO=e=>{iU=e},iL=e=>{let t=n||iN,i=(e||[]).join(":");return function(e,n){for(var a=arguments.length,s=Array(a>2?a-2:0),r=2;r=iP[iU]&&t(e,"[".concat(i,"]: ").concat(n),...s)}},iB=(e,t,i)=>{let n=iL(["codecs"]);if(!("getCapabilities"in RTCRtpSender)){null==n||n("warn","RTCRtpSender.getCapabilities is not supported");return}let a=RTCRtpSender.getCapabilities(e);if(!a)return;let s=[],r=[],o=[];a.codecs.forEach(a=>{let l=a.mimeType.toLowerCase();if(null==n||n("debug","Found supported codec: ".concat(l)),!i||l!=="".concat(e,"/").concat(i.toLowerCase())){if(l!=="".concat(e,"/").concat(t.toLowerCase())){o.push(a);return}if("h264"===l){a.sdpFmtpLine&&a.sdpFmtpLine.includes("profile-level-id=42e01f")?s.push(a):r.push(a);return}s.push(a)}});let l=[...s,...r,...o];return null==n||n("info","Preffered codecs: ",l),l},ij=async e=>{var t;let i=new RTCPeerConnection;i.addTransceiver("video",{direction:e}),i.addTransceiver("audio",{direction:e});let n=null!==(t=(await i.createOffer()).sdp)&&void 0!==t?t:"";return i.getTransceivers().forEach(e=>{e.stop()}),i.close(),n},iF={subscriberOffer:void 0,publisherAnswer:void 0,connectionQualityChanged:void 0,audioLevelChanged:void 0,iceTrickle:void 0,changePublishQuality:void 0,participantJoined:void 0,participantLeft:void 0,dominantSpeakerChanged:void 0,joinResponse:void 0,healthCheckResponse:void 0,trackPublished:void 0,trackUnpublished:void 0,error:void 0,callGrantsUpdated:void 0,goAway:void 0,iceRestart:void 0,pinsUpdated:void 0},iW=e=>Object.prototype.hasOwnProperty.call(iF,e);class iV{constructor(){this.subscribers={},this.logger=iL(["sfu-client"]),this.dispatch=e=>{let t=e.eventPayload.oneofKind;if(t){this.logger("debug","Dispatching ".concat(t),e.eventPayload[t]);let i=this.subscribers[t];null==i||i.forEach(t=>{try{t(e)}catch(e){this.logger("warn","Listener failed with error",e)}})}},this.on=(e,t)=>{var i,n;return(null!==(n=(i=this.subscribers)[e])&&void 0!==n?n:i[e]=[]).push(t),()=>{this.off(e,t)}},this.off=(e,t)=>{this.subscribers[e]=(this.subscribers[e]||[]).filter(e=>e!==t)},this.offAll=e=>{e?this.subscribers[e]=[]:this.subscribers={}}}}class iM{constructor(){this.subscriberCandidates=new J.t,this.publisherCandidates=new J.t,this.push=e=>{if(e.peerType===C.SUBSCRIBER)this.subscriberCandidates.next(e);else if(e.peerType===C.PUBLISHER_UNSPECIFIED)this.publisherCandidates.next(e);else{var t;null===(t=this.logger)||void 0===t||t.call(this,"warn","ICETrickle, Unknown peer type",e)}},this.logger=iL(["sfu-client"])}}function ix(e){if(e.usernameFragment)return JSON.stringify(e.toJSON());{let t=e.candidate.split(" "),i=t.findIndex(e=>"ufrag"===e)+1,n=t[i];return JSON.stringify({...e,usernameFragment:n})}}let iH=()=>{var e;return"undefined"!=typeof navigator&&(null===(e=navigator.product)||void 0===e?void 0:e.toLowerCase())==="reactnative"},iz=e=>{a=e},iq=()=>a,iK=()=>s,iJ=()=>r,iG=()=>{if(iH())return{sdk:iq(),os:iK(),device:iJ()};let{browser:e,os:t,device:i,cpu:n}=new ep.UAParser(navigator.userAgent).getResult();return{sdk:iq(),browser:{name:e.name||navigator.userAgent,version:e.version||""},os:{name:t.name||"",version:t.version||"",architecture:n.architecture||""},device:{name:"".concat(i.vendor||""," ").concat(i.model||""," ").concat(i.type||""),version:""}}},i$={bitrate:125e4,width:1280,height:720},iQ=function(e){var t;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i$,n=[],a=e.getSettings(),{width:s=0,height:r=0}=a,o=iH()&&(null===(t=iK())||void 0===t?void 0:t.name.toLowerCase())==="ios",l=iX(i,s,r),c=1;return["f","h","q"].forEach(e=>{n.unshift({active:!0,rid:e,width:Math.round(s/c),height:Math.round(r/c),maxBitrate:Math.round(l/c),scaleResolutionDownBy:c,maxFramerate:{f:30,h:o?30:25,q:o?30:20}[e]}),c*=2}),iY(a,n)},iX=(e,t,i)=>{let{width:n,height:a}=e;return t{let i;let n=Math.max(e.width||0,e.height||0);i=n<=320?t.filter(e=>"f"===e.rid):n<=640?t.filter(e=>"h"!==e.rid):t;let a=["q","h","f"];return i.map((e,t)=>({...e,rid:a[t]}))},iZ=(e,t)=>{var i,n;let a=e.getSettings();return[{active:!0,rid:"q",width:a.width||0,height:a.height||0,scaleResolutionDownBy:1,maxBitrate:null!==(i=null==t?void 0:t.maxBitrate)&&void 0!==i?i:3e6,maxFramerate:null!==(n=null==t?void 0:t.maxFramerate)&&void 0!==n?n:30}]},i0=e=>{switch(e){case R.SCREEN_SHARE:return"screenShareStream";case R.SCREEN_SHARE_AUDIO:return"screenShareAudioStream";case R.VIDEO:return"videoStream";case R.AUDIO:return"audioStream";case R.UNSPECIFIED:throw Error("Track type is unspecified");default:throw Error("Unknown track type: ".concat(e))}},i1=e=>{switch(e){case R.AUDIO:return"audioDeviceId";case R.VIDEO:return"videoDeviceId";case R.SCREEN_SHARE:case R.SCREEN_SHARE_AUDIO:case R.UNSPECIFIED:return;default:throw Error("Unknown track type: ".concat(e))}},i2=e=>{switch(e){case"audio":return R.AUDIO;case"video":return R.VIDEO;case"screenshare":return R.SCREEN_SHARE;case"screenshare_audio":return R.SCREEN_SHARE_AUDIO;default:throw Error("Unknown mute type: ".concat(e))}},i3=e=>{let t=/^a=rtpmap:(\d*) ([\w\-.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/.exec(e);if(t)return{original:t[0],payload:t[1],codec:t[2]}},i9=e=>{let t=/^a=fmtp:(\d*) (.*)/.exec(e);if(t)return{original:t[0],payload:t[1],config:t[2]}},i4=(e,t)=>{let i=new RegExp("(m=".concat(t," \\d+ [\\w/]+) ([\\d\\s]+)")).exec(e);if(i)return{original:i[0],mediaWithPorts:i[1],codecOrder:i[2]}},i5=(e,t)=>{let i;let n=[],a=[],s=!1;if(e.split(/(\r\n|\r|\n)/).forEach(e=>{if(!/^([a-z])=(.*)/.test(e))return;let r=e[0];if("m"===r){let n=i4(e,t);s=!!n,n&&(i=n)}else if(s&&"a"===r){let t=i3(e),i=i9(e);t?n.push(t):i&&a.push(i)}}),i)return{media:i,rtpMap:n,fmtp:a}},i6=e=>{let t=i5(e,"audio"),i=null==t?void 0:t.rtpMap.find(e=>"opus"===e.codec.toLowerCase()),n=null==i?void 0:i.payload;if(n)return null==t?void 0:t.fmtp.find(e=>e.payload===n)},i8=(e,t)=>{let i=i6(e);if(i){let n=/usedtx=(\d)/.exec(i.config),a="usedtx=".concat(t?"1":"0");if(n){let t=i.original.replace(/usedtx=(\d)/,a);return e.replace(i.original,t)}{let t="".concat(i.original,";").concat(a);return e.replace(i.original,t)}}return e},i7=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:51e4;i=Math.max(Math.min(i,51e4),96e3);let n=eu.Qc(e),a=n.media.find(e=>"audio"===e.type&&String(e.mid)===t);if(!a)return e;let s=a.rtp.find(e=>"opus"===e.codec);if(!s)return e;let r=a.fmtp.find(e=>e.payload===s.payload);return r?(r.config.match(/stereo=(\d)/)?r.config=r.config.replace(/stereo=(\d)/,"stereo=1"):r.config="".concat(r.config,";stereo=1"),r.config.match(/maxaveragebitrate=(\d*)/)?r.config=r.config.replace(/maxaveragebitrate=(\d*)/,"maxaveragebitrate=".concat(i)):r.config="".concat(r.config,";maxaveragebitrate=").concat(i),eu.cW(n)):e},ne=iL(["Publisher"]);class nt{constructor({connectionConfig:e,sfuClient:t,dispatcher:i,state:n,isDtxEnabled:a,isRedEnabled:s,iceRestartDelay:r=2500}){var o=this;this.transceiverRegistry={[R.AUDIO]:void 0,[R.VIDEO]:void 0,[R.SCREEN_SHARE]:void 0,[R.SCREEN_SHARE_AUDIO]:void 0,[R.UNSPECIFIED]:void 0},this.publishOptionsPerTrackType=new Map,this.transceiverInitOrder=[],this.trackKindMapping={[R.AUDIO]:"audio",[R.VIDEO]:"video",[R.SCREEN_SHARE]:"video",[R.SCREEN_SHARE_AUDIO]:"audio",[R.UNSPECIFIED]:void 0},this.trackLayersCache={[R.AUDIO]:void 0,[R.VIDEO]:void 0,[R.SCREEN_SHARE]:void 0,[R.SCREEN_SHARE_AUDIO]:void 0,[R.UNSPECIFIED]:void 0},this.isIceRestarting=!1,this.createPeerConnection=e=>{let t=new RTCPeerConnection(e);return t.addEventListener("icecandidate",this.onIceCandidate),t.addEventListener("negotiationneeded",this.onNegotiationNeeded),t.addEventListener("icecandidateerror",this.onIceCandidateError),t.addEventListener("iceconnectionstatechange",this.onIceConnectionStateChange),t.addEventListener("icegatheringstatechange",this.onIceGatheringStateChange),t.addEventListener("signalingstatechange",this.onSignalingStateChange),t},this.close=function(){let{stopTracks:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e&&(o.stopPublishing(),Object.keys(o.transceiverRegistry).forEach(e=>{o.transceiverRegistry[e]=void 0}),Object.keys(o.trackLayersCache).forEach(e=>{o.trackLayersCache[e]=void 0})),o.unsubscribeOnIceRestart(),o.pc.removeEventListener("negotiationneeded",o.onNegotiationNeeded),o.pc.close()},this.publishStream=async function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("ended"===t.readyState)throw Error("Can't publish a track that has ended already.");let a=o.pc.getTransceivers().find(e=>{var t;return e===o.transceiverRegistry[i]&&e.sender.track&&(null===(t=e.sender.track)||void 0===t?void 0:t.kind)===o.trackKindMapping[i]}),s=async()=>{ne("info","Track ".concat(R[i]," has ended, notifying the SFU")),await o.notifyTrackMuteStateChanged(e,t,i,!0),t.removeEventListener("ended",s)};if(a){let e=a.sender.track;e&&e!==t&&(e.stop(),e.removeEventListener("ended",s),t.addEventListener("ended",s)),t.enabled||(t.enabled=!0),await a.sender.replaceTrack(t)}else{let{settings:l}=o.state,c=null==l?void 0:l.video.target_resolution,d=i===R.VIDEO?iQ(t,c):i===R.SCREEN_SHARE?iZ(t,n.screenShareSettings):void 0,h=n.preferredCodec;if(!h&&i===R.VIDEO){var r;iH()&&(null===(r=iK())||void 0===r?void 0:r.name.toLowerCase())==="android"&&(h="VP8")}let u=o.getCodecPreferences(i,h);t.addEventListener("ended",s),t.enabled||(t.enabled=!0),a=o.pc.addTransceiver(t,{direction:"sendonly",streams:i===R.VIDEO||i===R.SCREEN_SHARE?[e]:void 0,sendEncodings:d}),ne("debug","Added ".concat(R[i]," transceiver")),o.transceiverInitOrder.push(i),o.transceiverRegistry[i]=a,o.publishOptionsPerTrackType.set(i,n),"setCodecPreferences"in a&&u&&(ne("info","Setting ".concat(R[i]," codec preferences"),u),a.setCodecPreferences(u))}await o.notifyTrackMuteStateChanged(e,t,i,!1)},this.unpublishStream=async(e,t)=>{let i=this.pc.getTransceivers().find(t=>t===this.transceiverRegistry[e]&&t.sender.track);if(i&&i.sender.track&&(t?"live"===i.sender.track.readyState:i.sender.track.enabled)){var n;if(t?i.sender.track.stop():i.sender.track.enabled=!1,!(null===(n=this.state.localParticipant)||void 0===n?void 0:n.publishedTracks.includes(e)))return;return this.notifyTrackMuteStateChanged(void 0,i.sender.track,e,!0)}},this.isPublishing=e=>{let t=this.transceiverRegistry[e];if(t&&t.sender){let e=t.sender;return!!e.track&&"live"===e.track.readyState&&e.track.enabled}return!1},this.isLive=e=>{let t=this.transceiverRegistry[e];if(t&&t.sender){let e=t.sender;return!!e.track&&"live"===e.track.readyState}return!1},this.notifyTrackMuteStateChanged=async(e,t,i,n)=>{await this.sfuClient.updateMuteState(i,n);let a=i0(i);if(n)this.state.updateParticipant(this.sfuClient.sessionId,e=>({publishedTracks:e.publishedTracks.filter(e=>e!==i),[a]:void 0}));else{let n=t.getSettings().deviceId,s=i1(i);this.state.updateParticipant(this.sfuClient.sessionId,t=>({publishedTracks:t.publishedTracks.includes(i)?t.publishedTracks:[...t.publishedTracks,i],...s&&{[s]:n},[a]:e}))}},this.stopPublishing=()=>{ne("debug","Stopping publishing all tracks"),this.pc.getSenders().forEach(e=>{var t;null===(t=e.track)||void 0===t||t.stop(),"closed"!==this.pc.signalingState&&this.pc.removeTrack(e)})},this.updateVideoPublishQuality=async e=>{var t;ne("info","Update publish quality, requested layers by SFU:",e);let i=null===(t=this.transceiverRegistry[R.VIDEO])||void 0===t?void 0:t.sender;if(!i){ne("warn","Update publish quality, no video sender found.");return}let n=i.getParameters();if(0===n.encodings.length){ne("warn","Update publish quality, No suitable video encoding quality found");return}let a=!1,s=e.filter(e=>e.active).map(e=>e.name);n.encodings.forEach(t=>{let i=s.includes(t.rid);if(i!==t.active&&(t.active=i,a=!0),i){let i=e.find(e=>e.name===t.rid);void 0!==i&&(i.scaleResolutionDownBy>=1&&i.scaleResolutionDownBy!==t.scaleResolutionDownBy&&(ne("debug","[dynascale]: setting scaleResolutionDownBy from server","layer",i.name,"scale-resolution-down-by",i.scaleResolutionDownBy),t.scaleResolutionDownBy=i.scaleResolutionDownBy,a=!0),i.maxBitrate>0&&i.maxBitrate!==t.maxBitrate&&(ne("debug","[dynascale] setting max-bitrate from the server","layer",i.name,"max-bitrate",i.maxBitrate),t.maxBitrate=i.maxBitrate,a=!0),i.maxFramerate>0&&i.maxFramerate!==t.maxFramerate&&(ne("debug","[dynascale]: setting maxFramerate from server","layer",i.name,"max-framerate",i.maxFramerate),t.maxFramerate=i.maxFramerate,a=!0))}});let r=n.encodings.filter(e=>e.active);a?(await i.setParameters(n),ne("info","Update publish quality, enabled rids: ",r)):ne("info","Update publish quality, no change: ",r)},this.getStats=e=>this.pc.getStats(e),this.getCodecPreferences=(e,t)=>{if(e===R.VIDEO)return iB("video",t||"vp8");if(e===R.AUDIO){let e=this.isRedEnabled?"red":"opus";return iB("audio",null!=t?t:e,this.isRedEnabled?void 0:"red")}},this.onIceCandidate=async e=>{let{candidate:t}=e;if(!t){ne("debug","null ice candidate");return}await this.sfuClient.iceTrickle({iceCandidate:ix(t),peerType:C.PUBLISHER_UNSPECIFIED})},this.migrateTo=async(e,t)=>{this.sfuClient=e,this.pc.setConfiguration(t),"connected"===this.pc.iceConnectionState&&await this.negotiate({iceRestart:!0})},this.restartIce=async()=>{ne("debug","Restarting ICE connection");let e=this.pc.signalingState;if(this.isIceRestarting||"have-local-offer"===e){ne("debug","ICE restart is already in progress");return}await this.negotiate({iceRestart:!0})},this.onNegotiationNeeded=async()=>{await this.negotiate()},this.negotiate=async e=>{var t,i;this.isIceRestarting=null!==(t=null==e?void 0:e.iceRestart)&&void 0!==t&&t;let n=await this.pc.createOffer(e),a=this.mungeCodecs(n.sdp);if(a&&this.isPublishing(R.SCREEN_SHARE_AUDIO)){let e=this.transceiverRegistry[R.SCREEN_SHARE_AUDIO];if(e&&e.sender.track){let t=null!==(i=e.mid)&&void 0!==i?i:this.extractMid(a,e.sender.track,R.SCREEN_SHARE_AUDIO);a=i7(a,t)}}n.sdp=a;let s=this.getCurrentTrackInfos(n.sdp);if(0===s.length)throw Error("Can't initiate negotiation without announcing any tracks");await this.pc.setLocalDescription(n);let{response:r}=await this.sfuClient.setPublisher({sdp:n.sdp||"",tracks:s});try{await this.pc.setRemoteDescription({type:"answer",sdp:r.sdp})}catch(e){ne("error","setRemoteDescription error",{sdp:r.sdp,error:e})}this.isIceRestarting=!1,this.sfuClient.iceTrickleBuffer.publisherCandidates.subscribe(async e=>{try{let t=JSON.parse(e.iceCandidate);await this.pc.addIceCandidate(t)}catch(t){ne("warn","ICE candidate error",[t,e])}})},this.mungeCodecs=e=>(e&&(e=i8(e,this.isDtxEnabled)),e),this.extractMid=(e,t,i)=>{if(!e)return ne("warn","No SDP found. Returning empty mid"),"";ne("debug","No 'mid' found for track. Trying to find it from the Offer SDP");let n=eu.Qc(e).media.find(e=>{var i,n;return e.type===t.kind&&(null===(n=null===(i=e.msid)||void 0===i?void 0:i.includes(t.id))||void 0===n||n)});if(void 0===(null==n?void 0:n.mid)){ne("debug","No mid found in SDP for track type ".concat(t.kind," and id ").concat(t.id,". Attempting to find a heuristic mid"));let e=this.transceiverInitOrder.indexOf(i);return -1!==e?String(e):(ne("debug","No heuristic mid found. Returning empty mid"),"")}return String(n.mid)},this.getCurrentTrackInfos=e=>{var t;e=e||(null===(t=this.pc.localDescription)||void 0===t?void 0:t.sdp);let{settings:i}=this.state,n=null==i?void 0:i.video.target_resolution;return this.pc.getTransceivers().filter(e=>"sendonly"===e.direction&&e.sender.track).map(t=>{var i;let a;let s=Number(Object.keys(this.transceiverRegistry).find(e=>this.transceiverRegistry[e]===t)),r=t.sender.track;if("live"===r.readyState){let e=this.publishOptionsPerTrackType.get(s);a=s===R.VIDEO?iQ(r,n):s===R.SCREEN_SHARE?iZ(r,null==e?void 0:e.screenShareSettings):[],this.trackLayersCache[s]=a}else a=this.trackLayersCache[s]||[],ne("debug","Track ".concat(R[s]," is ended. Announcing last known optimal layers"),a);let o=a.map(e=>({rid:e.rid||"",bitrate:e.maxBitrate||0,fps:e.maxFramerate||0,quality:this.ridToVideoQuality(e.rid||""),videoDimension:{width:e.width,height:e.height}})),l=[R.AUDIO,R.SCREEN_SHARE_AUDIO].includes(s),c=r.getSettings(),d=l&&2===c.channelCount;return{trackId:r.id,layers:o,trackType:s,mid:null!==(i=t.mid)&&void 0!==i?i:this.extractMid(e,r,s),stereo:d,dtx:l&&this.isDtxEnabled,red:l&&this.isRedEnabled}})},this.onIceCandidateError=e=>{ne("error","ICE Candidate error",e instanceof RTCPeerConnectionIceErrorEvent&&"".concat(e.errorCode,": ").concat(e.errorText))},this.onIceConnectionStateChange=()=>{let e=this.pc.iceConnectionState;ne("debug","ICE Connection state changed to",e),"failed"===e?(ne("warn","Attempting to restart ICE"),this.restartIce().catch(e=>{ne("error","ICE restart error",e)})):"disconnected"===e&&(ne("warn","Scheduling ICE restart in ".concat(this.iceRestartDelay," ms.")),setTimeout(()=>{"disconnected"===this.pc.iceConnectionState||"failed"===this.pc.iceConnectionState?this.restartIce().catch(e=>{ne("error","ICE restart error",e)}):ne("debug","Scheduled ICE restart: connection recovered, canceled.")},this.iceRestartDelay))},this.onIceGatheringStateChange=()=>{ne("debug","ICE Gathering State",this.pc.iceGatheringState)},this.onSignalingStateChange=()=>{ne("debug","Signaling state changed",this.pc.signalingState)},this.ridToVideoQuality=e=>"q"===e?I.LOW_UNSPECIFIED:"h"===e?I.MID:I.HIGH,this.pc=this.createPeerConnection(e),this.sfuClient=t,this.state=n,this.isDtxEnabled=a,this.isRedEnabled=s,this.iceRestartDelay=r,this.unsubscribeOnIceRestart=i.on("iceRestart",async e=>{if("iceRestart"!==e.eventPayload.oneofKind)return;let{iceRestart:t}=e.eventPayload;t.peerType===C.PUBLISHER_UNSPECIFIED&&await this.restartIce()})}}let ni=iL(["Subscriber"]);class nn{constructor({sfuClient:e,dispatcher:t,state:i,connectionConfig:n,iceRestartDelay:a=2500}){this.isIceRestarting=!1,this.createPeerConnection=e=>{let t=new RTCPeerConnection(e);return t.addEventListener("icecandidate",this.onIceCandidate),t.addEventListener("track",this.handleOnTrack),t.addEventListener("icecandidateerror",this.onIceCandidateError),t.addEventListener("iceconnectionstatechange",this.onIceConnectionStateChange),t.addEventListener("icegatheringstatechange",this.onIceGatheringStateChange),t},this.close=()=>{this.unregisterOnSubscriberOffer(),this.unregisterOnIceRestart(),this.pc.close()},this.getStats=e=>this.pc.getStats(e),this.migrateTo=(e,t)=>{let i;this.sfuClient=e;let n=this.pc,a=new Set;n.getReceivers().forEach(e=>{"video"===e.track.kind&&a.add(e.track.id)});let s=this.createPeerConnection(t),r=()=>{n.close(),clearTimeout(i)},o=e=>{ni("debug","[Migration]: Migrated track: ".concat(e.track.id,", ").concat(e.track.kind)),a.delete(e.track.id),0===a.size&&(ni("debug","[Migration]: Migration complete"),s.removeEventListener("track",o),r())},l=()=>{"connected"===s.connectionState&&(i=setTimeout(()=>{s.removeEventListener("track",o),r()},2e3),s.removeEventListener("connectionstatechange",l))};s.addEventListener("track",o),s.addEventListener("connectionstatechange",l),this.pc=s},this.restartIce=async()=>{if(ni("debug","Restarting ICE connection"),"have-remote-offer"===this.pc.signalingState){ni("debug","ICE restart is already in progress");return}let e=this.isIceRestarting;try{this.isIceRestarting=!0,await this.sfuClient.iceRestart({peerType:C.SUBSCRIBER})}catch(t){throw this.isIceRestarting=e,t}},this.handleOnTrack=e=>{let[t]=e.streams,[i,n]=t.id.split(":"),a=this.state.participants.find(e=>e.trackLookupPrefix===i);if(ni("debug","[onTrack]: Got remote ".concat(n," track for userId: ").concat(null==a?void 0:a.userId),e.track.id,e.track),!a){ni("error","[onTrack]: Received track for unknown participant: ".concat(i),e);return}e.track.addEventListener("mute",()=>{ni("info","[onTrack]: Track muted: ".concat(a.userId," ").concat(n,":").concat(i))}),e.track.addEventListener("unmute",()=>{ni("info","[onTrack]: Track unmuted: ".concat(a.userId," ").concat(n,":").concat(i))}),e.track.addEventListener("ended",()=>{ni("info","[onTrack]: Track ended: ".concat(a.userId," ").concat(n,":").concat(i))});let s={TRACK_TYPE_AUDIO:"audioStream",TRACK_TYPE_VIDEO:"videoStream",TRACK_TYPE_SCREEN_SHARE:"screenShareStream",TRACK_TYPE_SCREEN_SHARE_AUDIO:"screenShareAudioStream"}[n];if(!s){ni("error","Unknown track type: ".concat(n));return}let r=a[s];r&&(ni("info","[onTrack]: Cleaning up previous remote ".concat(e.track.kind," tracks for userId: ").concat(a.userId)),r.getTracks().forEach(e=>{e.stop(),r.removeTrack(e)})),this.state.updateParticipant(a.sessionId,{[s]:t})},this.onIceCandidate=async e=>{let{candidate:t}=e;if(!t){ni("debug","null ice candidate");return}await this.sfuClient.iceTrickle({iceCandidate:ix(t),peerType:C.SUBSCRIBER})},this.negotiate=async e=>{ni("info","Received subscriberOffer",e),await this.pc.setRemoteDescription({type:"offer",sdp:e.sdp}),this.sfuClient.iceTrickleBuffer.subscriberCandidates.subscribe(async e=>{try{let t=JSON.parse(e.iceCandidate);await this.pc.addIceCandidate(t)}catch(t){ni("warn","ICE candidate error",[t,e])}});let t=await this.pc.createAnswer();await this.pc.setLocalDescription(t),await this.sfuClient.sendAnswer({peerType:C.SUBSCRIBER,sdp:t.sdp||""}),this.isIceRestarting=!1},this.onIceConnectionStateChange=()=>{let e=this.pc.iceConnectionState;ni("debug","ICE connection state changed",e),this.isIceRestarting||("failed"===e?(ni("warn","Attempting to restart ICE"),this.restartIce().catch(e=>{ni("error","ICE restart failed",e)})):"disconnected"===e&&(ni("warn","Scheduling ICE restart in ".concat(this.iceRestartDelay," ms.")),setTimeout(()=>{"disconnected"===this.pc.iceConnectionState||"failed"===this.pc.iceConnectionState?this.restartIce().catch(e=>{ni("error","ICE restart failed",e)}):ni("debug","Scheduled ICE restart: connection recovered, canceled.")},5e3)))},this.onIceGatheringStateChange=()=>{ni("debug","ICE gathering state changed",this.pc.iceGatheringState)},this.onIceCandidateError=e=>{let t=e instanceof RTCPeerConnectionIceErrorEvent&&"".concat(e.errorCode,": ").concat(e.errorText);ni("connected"===this.pc.iceConnectionState?"debug":"error","ICE Candidate error",t)},this.sfuClient=e,this.dispatcher=t,this.state=i,this.iceRestartDelay=a,this.pc=this.createPeerConnection(n),this.unregisterOnSubscriberOffer=t.on("subscriberOffer",async e=>{if("subscriberOffer"!==e.eventPayload.oneofKind)return;let{subscriberOffer:t}=e.eventPayload;await this.negotiate(t)}),this.unregisterOnIceRestart=t.on("iceRestart",async e=>{if("iceRestart"!==e.eventPayload.oneofKind)return;let{iceRestart:t}=e.eventPayload;t.peerType===C.SUBSCRIBER&&await this.restartIce()})}}let na=e=>{let t=iL(["sfu-client"]),{endpoint:i,onMessage:n}=e,a=new eg.Z(i);return a.binaryType="arraybuffer",a.addEventListener("error",e=>{t("error","Signaling WS channel error",e)}),a.addEventListener("close",e=>{t("info","Signaling WS channel is closed",e)}),a.addEventListener("open",e=>{t("info","Signaling WS channel is open",e)}),n&&a.addEventListener("message",e=>{try{let t=e.data instanceof ArrayBuffer?t_.fromBinary(new Uint8Array(e.data)):t_.fromJsonString(e.data.toString());n(t)}catch(i){t("error","Failed to decode a message. Check whether the Proto models match.",{event:e,error:i})}}),a},ns=e=>new Promise(t=>setTimeout(t,e));function nr(e){return e&&("[object Function]"===Object.prototype.toString.call(e)||"function"==typeof e||e instanceof Function)}let no={TOKEN_EXPIRED:40,WS_CLOSED_SUCCESS:1e3,WS_CLOSED_ABRUPTLY:1006,WS_POLICY_VIOLATION:1008};function nl(e){let t=Math.min(Math.max(250,(e-1)*2e3),5e3);return Math.floor(Math.random()*(Math.min(500+2e3*e,5e3)-t)+t)}function nc(e){let t="";for(let i=0;i0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Requested signal connection close";a.logger("debug","Closing SFU WS connection",e,t),a.signalWs.close(e,t),a.unsubscribeIceTrickle(),clearInterval(a.keepAliveInterval),clearTimeout(a.connectionCheckTimeout)},this.updateSubscriptions=async e=>nm(()=>this.rpc.updateSubscriptions({sessionId:this.sessionId,tracks:e}),this.logger),this.setPublisher=async e=>nm(()=>this.rpc.setPublisher({...e,sessionId:this.sessionId}),this.logger),this.sendAnswer=async e=>nm(()=>this.rpc.sendAnswer({...e,sessionId:this.sessionId}),this.logger),this.iceTrickle=async e=>nm(()=>this.rpc.iceTrickle({...e,sessionId:this.sessionId}),this.logger),this.iceRestart=async e=>nm(()=>this.rpc.iceRestart({...e,sessionId:this.sessionId}),this.logger),this.updateMuteState=async(e,t)=>this.updateMuteStates({muteStates:[{trackType:e,muted:t}]}),this.updateMuteStates=async e=>nm(()=>this.rpc.updateMuteStates({...e,sessionId:this.sessionId}),this.logger),this.join=async e=>{let t=tG.create({...e,sessionId:this.sessionId,token:this.token});return this.send(tF.create({requestPayload:{oneofKind:"joinRequest",joinRequest:t}}))},this.send=e=>this.signalReady.then(t=>{this.logger("debug","Sending message to: ".concat(this.edgeName),tF.toJson(e)),t.send(tF.toBinary(e))}),this.keepAlive=()=>{this.keepAliveInterval&&clearInterval(this.keepAliveInterval),this.keepAliveInterval=setInterval(()=>{this.logger("trace","Sending healthCheckRequest to SFU");let e=tF.create({requestPayload:{oneofKind:"healthCheckRequest",healthCheckRequest:{}}});this.send(e)},this.pingIntervalInMs)},this.scheduleConnectionCheck=()=>{this.connectionCheckTimeout&&clearTimeout(this.connectionCheckTimeout),this.connectionCheckTimeout=setTimeout(()=>{this.lastMessageTimestamp&&new Date().getTime()-this.lastMessageTimestamp.getTime()>this.unhealthyTimeoutInMs&&this.close(4001,"SFU connection unhealthy. Didn't receive any healthcheck messages for ".concat(this.unhealthyTimeoutInMs,"ms"))},this.unhealthyTimeoutInMs)},this.sessionId=n||nd(),this.sfuServer=t,this.edgeName=t.edge_name,this.token=i,this.logger=iL(["sfu-client"]),this.rpc=i_({baseUrl:t.url,interceptors:[iD({Authorization:"Bearer ".concat(i)}),{interceptUnary:(e,t,i,n)=>(this.logger("trace","Calling SFU RPC method ".concat(t.name),{input:i,options:n}),e(t,i,n))}]}),this.unsubscribeIceTrickle=e.on("iceTrickle",e=>{if("iceTrickle"!==e.eventPayload.oneofKind)return;let{iceTrickle:t}=e.eventPayload;this.iceTrickleBuffer.push(t)}),this.signalWs=na({endpoint:t.ws_endpoint,onMessage:t=>{this.lastMessageTimestamp=new Date,this.scheduleConnectionCheck(),e.dispatch(t)}}),this.signalReady=new Promise(e=>{let t=()=>{this.signalWs.removeEventListener("open",t),this.keepAlive(),e(this.signalWs)};this.signalWs.addEventListener("open",t)})}}let nm=async(e,t)=>{var i;let n;let a=0;do a>0&&await ns(nl(a)),n=await e(),t("trace","SFU RPC response received for ".concat(n.method.name),n),n.response.error&&t("error","SFU RPC Error (".concat(n.method.name,"):"),n.response.error),a++;while((null===(i=n.response.error)||void 0===i?void 0:i.shouldRetry)&&a<5);if(n.response.error)throw n.response.error;return n},nf=e=>"function"==typeof e,ny=e=>{let t,i;if((0,G.a)([e]).subscribe({next:e=>{let[i]=e;t=i},error:e=>{i=e}}).unsubscribe(),i)throw i;return t},nb=(e,t)=>{let i=nf(t)?t(ny(e)):t;return e.next(i),i},nv=(e,t)=>{let i=e.subscribe(t);return()=>{i.unsubscribe()}};var nk=Object.freeze({__proto__:null,createSubscription:nv,getCurrentValue:ny,setCurrentValue:nb});class nw{get connectedUser(){return this.getCurrentValue(this.connectedUserSubject)}get calls(){return this.getCurrentValue(this.callsSubject)}constructor(){this.connectedUserSubject=new $.X(void 0),this.callsSubject=new $.X([]),this.getCurrentValue=ny,this.setCurrentValue=nb,this.setConnectedUser=e=>this.setCurrentValue(this.connectedUserSubject,e),this.setCalls=e=>this.setCurrentValue(this.callsSubject,e),this.registerCall=e=>{this.calls.find(t=>t.cid===e.cid)||this.setCalls(t=>[...t,e])},this.unregisterCall=e=>this.setCalls(t=>t.filter(t=>t!==e)),this.findCall=(e,t)=>this.calls.find(i=>i.type===e&&i.id===t),this.connectedUserSubject.subscribe(async e=>{if(!e)for(let e of this.calls)iL(["client-state"])("info","User disconnected, leaving call: ".concat(e.cid)),await e.leave()})}}class nT{get connectedUser(){return ny(this.connectedUser$)}get calls(){return ny(this.calls$)}constructor(e){this.getCurrentValue=ny,this.connectedUser$=e.connectedUserSubject.asObservable(),this.calls$=e.callsSubject.asObservable()}}let nC=function(){for(var e=arguments.length,t=Array(e),i=0;i{for(let n of t){let t=n(e,i);if(0!==t)return t}return 0}},nS=e=>t=>(i,n)=>e(i,n)?t(i,n):0,nI=(e,t)=>e.isDominantSpeaker&&!t.isDominantSpeaker?-1:!e.isDominantSpeaker&&t.isDominantSpeaker?1:0,nR=(e,t)=>e.isSpeaking&&!t.isSpeaking?-1:!e.isSpeaking&&t.isSpeaking?1:0,nE=(e,t)=>nA(e)&&!nA(t)?-1:!nA(e)&&nA(t)?1:0,nD=(e,t)=>nO(e)&&!nO(t)?-1:!nO(e)&&nO(t)?1:0,n_=(e,t)=>nL(e)&&!nL(t)?-1:!nL(e)&&nL(t)?1:0,nP=(e,t)=>{if(e.pin&&t.pin){if(!e.pin.isLocalPin&&t.pin.isLocalPin)return -1;if(e.pin.isLocalPin&&!t.pin.isLocalPin)return 1;if(e.pin.pinnedAt>t.pin.pinnedAt)return -1;if(e.pin.pinnedAt(t,i)=>{var n,a,s,r;return(null===(n=t.reaction)||void 0===n?void 0:n.type)===e&&(null===(a=i.reaction)||void 0===a?void 0:a.type)!==e?-1:(null===(s=t.reaction)||void 0===s?void 0:s.type)!==e&&(null===(r=i.reaction)||void 0===r?void 0:r.type)===e?1:0},nN=(e,t)=>(e.roles||[]).some(e=>t.includes(e)),nA=e=>e.publishedTracks.includes(R.SCREEN_SHARE),nO=e=>e.publishedTracks.includes(R.VIDEO),nL=e=>e.publishedTracks.includes(R.AUDIO),nB=nS((e,t)=>{var i,n;return(null===(i=e.viewportVisibilityState)||void 0===i?void 0:i.videoTrack)===N.INVISIBLE||(null===(n=t.viewportVisibilityState)||void 0===n?void 0:n.videoTrack)===N.INVISIBLE}),nj=nS((e,t)=>{var i,n,a,s;return(null===(i=e.viewportVisibilityState)||void 0===i?void 0:i.videoTrack)===N.INVISIBLE||(null===(n=e.viewportVisibilityState)||void 0===n?void 0:n.videoTrack)===N.UNKNOWN||(null===(a=t.viewportVisibilityState)||void 0===a?void 0:a.videoTrack)===N.INVISIBLE||(null===(s=t.viewportVisibilityState)||void 0===s?void 0:s.videoTrack)===N.UNKNOWN}),nF=nC(nP,nE,nB(nC(nI,nR,nU("raised-hand"),nD,n_)));nC(nP,nE,nI,nB(nC(nR,nU("raised-hand"),nD,n_)));let nW=nC(nP,nj(nC(nI,nR,nU("raised-hand"),nD,n_))),nV=nC(nB(nC(nI,nR,nU("raised-hand"),nD,n_)),function(){for(var e=arguments.length,t=Array(e),i=0;inN(e,t)&&!nN(i,t)?-1:!nN(e,t)&&nN(i,t)?1:0}("admin","host","speaker"));(k=O||(O={})).UNKNOWN="unknown",k.IDLE="idle",k.RINGING="ringing",k.JOINING="joining",k.JOINED="joined",k.LEFT="left",k.RECONNECTING="reconnecting",k.MIGRATING="migrating",k.RECONNECTING_FAILED="reconnecting-failed",k.OFFLINE="offline";class nM{get participantCount(){return this.getCurrentValue(this.participantCount$)}get startedAt(){return this.getCurrentValue(this.startedAt$)}get anonymousParticipantCount(){return this.getCurrentValue(this.anonymousParticipantCount$)}get participants(){return this.getCurrentValue(this.participants$)}get localParticipant(){return this.getCurrentValue(this.localParticipant$)}get remoteParticipants(){return this.getCurrentValue(this.remoteParticipants$)}get dominantSpeaker(){return this.getCurrentValue(this.dominantSpeaker$)}get pinnedParticipants(){return this.getCurrentValue(this.pinnedParticipants$)}get hasOngoingScreenShare(){return this.getCurrentValue(this.hasOngoingScreenShare$)}get callingState(){return this.getCurrentValue(this.callingState$)}get callStatsReport(){return this.getCurrentValue(this.callStatsReport$)}get members(){return this.getCurrentValue(this.members$)}get ownCapabilities(){return this.getCurrentValue(this.ownCapabilities$)}get backstage(){return this.getCurrentValue(this.backstage$)}get blockedUserIds(){return this.getCurrentValue(this.blockedUserIds$)}get createdAt(){return this.getCurrentValue(this.createdAt$)}get endedAt(){return this.getCurrentValue(this.endedAt$)}get startsAt(){return this.getCurrentValue(this.startsAt$)}get updatedAt(){return this.getCurrentValue(this.updatedAt$)}get createdBy(){return this.getCurrentValue(this.createdBy$)}get custom(){return this.getCurrentValue(this.custom$)}get egress(){return this.getCurrentValue(this.egress$)}get ingress(){return this.getCurrentValue(this.ingress$)}get recording(){return this.getCurrentValue(this.recording$)}get session(){return this.getCurrentValue(this.session$)}get settings(){return this.getCurrentValue(this.settings$)}get transcribing(){return this.getCurrentValue(this.transcribing$)}get endedBy(){return this.getCurrentValue(this.endedBy$)}get thumbnails(){return this.getCurrentValue(this.thumbnails$)}constructor(){this.backstageSubject=new $.X(!0),this.blockedUserIdsSubject=new $.X([]),this.createdAtSubject=new $.X(new Date),this.endedAtSubject=new $.X(void 0),this.startsAtSubject=new $.X(void 0),this.updatedAtSubject=new $.X(new Date),this.createdBySubject=new $.X(void 0),this.customSubject=new $.X({}),this.egressSubject=new $.X(void 0),this.ingressSubject=new $.X(void 0),this.recordingSubject=new $.X(!1),this.sessionSubject=new $.X(void 0),this.settingsSubject=new $.X(void 0),this.transcribingSubject=new $.X(!1),this.endedBySubject=new $.X(void 0),this.thumbnailsSubject=new $.X(void 0),this.membersSubject=new $.X([]),this.ownCapabilitiesSubject=new $.X([]),this.callingStateSubject=new $.X(O.UNKNOWN),this.startedAtSubject=new $.X(void 0),this.participantCountSubject=new $.X(0),this.anonymousParticipantCountSubject=new $.X(0),this.participantsSubject=new $.X([]),this.callStatsReportSubject=new $.X(void 0),this.sortParticipantsBy=nF,this.setSortParticipantsBy=e=>{this.sortParticipantsBy=e,this.setCurrentValue(this.participantsSubject,e=>e)},this.getCurrentValue=ny,this.setCurrentValue=nb,this.setParticipantCount=e=>this.setCurrentValue(this.participantCountSubject,e),this.setStartedAt=e=>this.setCurrentValue(this.startedAtSubject,e),this.setAnonymousParticipantCount=e=>this.setCurrentValue(this.anonymousParticipantCountSubject,e),this.setParticipants=e=>this.setCurrentValue(this.participantsSubject,e),this.setCallingState=e=>this.setCurrentValue(this.callingStateSubject,e),this.setCallStatsReport=e=>this.setCurrentValue(this.callStatsReportSubject,e),this.setMembers=e=>{this.setCurrentValue(this.membersSubject,e)},this.setOwnCapabilities=e=>this.setCurrentValue(this.ownCapabilitiesSubject,e),this.findParticipantBySessionId=e=>this.participants.find(t=>t.sessionId===e),this.getParticipantLookupBySessionId=()=>this.participants.reduce((e,t)=>(e[t.sessionId]=t,e),{}),this.updateParticipant=(e,t)=>{let i=this.findParticipantBySessionId(e);if(!i){this.logger("warn","Participant with sessionId ".concat(e," not found"));return}let n="function"==typeof t?t(i):t,a={...i,...n};return this.setParticipants(t=>t.map(t=>t.sessionId===e?a:t))},this.updateOrAddParticipant=(e,t)=>this.findParticipantBySessionId(e)?this.setParticipants(i=>i.map(i=>i.sessionId===e?{...i,...t}:i)):this.setParticipants(e=>[...e,t]),this.updateParticipants=e=>{if(0!==Object.keys(e).length)return this.setParticipants(t=>t.map(t=>{let i=e[t.sessionId];return i?{...t,...i}:t}))},this.updateFromEvent=e=>{let t=this.eventHandlers[e.type];t&&t(e)},this.setServerSidePins=e=>{let t=e.reduce((e,t)=>(e[t.sessionId]=Date.now(),e),{});return this.setParticipants(e=>e.map(e=>{let i=t[e.sessionId];return i?{...e,pin:{isLocalPin:!1,pinnedAt:i}}:e.pin&&!e.pin.isLocalPin?{...e,pin:void 0}:e}))},this.updateFromCallResponse=e=>{this.setCurrentValue(this.backstageSubject,e.backstage),this.setCurrentValue(this.blockedUserIdsSubject,e.blocked_user_ids),this.setCurrentValue(this.createdAtSubject,new Date(e.created_at)),this.setCurrentValue(this.updatedAtSubject,new Date(e.updated_at)),this.setCurrentValue(this.startsAtSubject,e.starts_at?new Date(e.starts_at):void 0),this.setCurrentValue(this.endedAtSubject,e.ended_at?new Date(e.ended_at):void 0),this.setCurrentValue(this.createdBySubject,e.created_by),this.setCurrentValue(this.customSubject,e.custom),this.setCurrentValue(this.egressSubject,e.egress),this.setCurrentValue(this.ingressSubject,e.ingress),this.setCurrentValue(this.recordingSubject,e.recording),this.setCurrentValue(this.sessionSubject,e.session),this.setCurrentValue(this.settingsSubject,e.settings),this.setCurrentValue(this.transcribingSubject,e.transcribing),this.setCurrentValue(this.thumbnailsSubject,e.thumbnails)},this.updateFromMemberRemoved=e=>{this.setCurrentValue(this.membersSubject,t=>t.filter(t=>-1===e.members.indexOf(t.user_id)))},this.updateFromMemberAdded=e=>{this.setCurrentValue(this.membersSubject,t=>[...t,...e.members])},this.updateFromHLSBroadcastStopped=()=>{this.setCurrentValue(this.egressSubject,e=>({...e,broadcasting:!1}))},this.updateFromHLSBroadcastingFailed=()=>{this.setCurrentValue(this.egressSubject,e=>({...e,broadcasting:!1}))},this.updateFromHLSBroadcastStarted=e=>{this.setCurrentValue(this.egressSubject,t=>({...t,broadcasting:!0,hls:{...t.hls,playlist_url:e.hls_playlist_url}}))},this.updateFromSessionParticipantLeft=e=>{this.setCurrentValue(this.sessionSubject,t=>{if(!t)return this.logger("warn","Received call.session_participant_left event but no session is available.",e),t;let{participants:i,participants_count_by_role:n}=t,{user:a,user_session_id:s}=e.participant;return{...t,participants:i.filter(e=>e.user_session_id!==s),participants_count_by_role:{...n,[a.role]:Math.max(0,(n[a.role]||0)-1)}}})},this.updateFromSessionParticipantJoined=e=>{this.setCurrentValue(this.sessionSubject,t=>{if(!t)return this.logger("warn","Received call.session_participant_joined event but no session is available.",e),t;let{participants:i,participants_count_by_role:n}=t,{user:a}=e.participant;return{...t,participants:[...i,e.participant],participants_count_by_role:{...n,[a.role]:(n[a.role]||0)+1}}})},this.updateMembers=e=>{this.setCurrentValue(this.membersSubject,t=>t.map(t=>e.members.find(e=>e.user_id===t.user_id)||t))},this.updateParticipantReaction=e=>{let{user:t,custom:i,type:n,emoji_code:a}=e.reaction;this.setParticipants(e=>e.map(e=>e.userId!==t.id?e:{...e,reaction:{type:n,emoji_code:a,custom:i}}))},this.unblockUser=e=>{this.setCurrentValue(this.blockedUserIdsSubject,t=>t?t.filter(t=>t!==e.user.id):t)},this.blockUser=e=>{this.setCurrentValue(this.blockedUserIdsSubject,t=>[...t||[],e.user.id])},this.updateOwnCapabilities=e=>{var t;e.user.id===(null===(t=this.localParticipant)||void 0===t?void 0:t.userId)&&this.setCurrentValue(this.ownCapabilitiesSubject,e.own_capabilities)},this.logger=iL(["CallState"]),this.participants$=this.participantsSubject.asObservable().pipe((0,Q.U)(e=>e.sort(this.sortParticipantsBy)),(0,X.d)({bufferSize:1,refCount:!0})),this.localParticipant$=this.participants$.pipe((0,Q.U)(e=>e.find(iI)),(0,X.d)({bufferSize:1,refCount:!0})),this.remoteParticipants$=this.participants$.pipe((0,Q.U)(e=>e.filter(e=>!e.isLocalParticipant)),(0,X.d)({bufferSize:1,refCount:!0})),this.pinnedParticipants$=this.participants$.pipe((0,Q.U)(e=>e.filter(e=>!!e.pin)),(0,X.d)({bufferSize:1,refCount:!0})),this.dominantSpeaker$=this.participants$.pipe((0,Q.U)(e=>e.find(e=>e.isDominantSpeaker)),(0,X.d)({bufferSize:1,refCount:!0})),this.hasOngoingScreenShare$=this.participants$.pipe((0,Q.U)(e=>e.some(e=>e.publishedTracks.includes(R.SCREEN_SHARE))),(0,Y.x)(),(0,X.d)({bufferSize:1,refCount:!0})),this.startedAt$=this.startedAtSubject.asObservable(),this.participantCount$=this.participantCountSubject.asObservable(),this.anonymousParticipantCount$=this.anonymousParticipantCountSubject.asObservable(),this.callStatsReport$=this.callStatsReportSubject.asObservable(),this.members$=this.membersSubject.asObservable(),this.ownCapabilities$=this.ownCapabilitiesSubject.asObservable(),this.callingState$=this.callingStateSubject.asObservable(),this.backstage$=this.backstageSubject.asObservable(),this.blockedUserIds$=this.blockedUserIdsSubject.asObservable(),this.createdAt$=this.createdAtSubject.asObservable(),this.endedAt$=this.endedAtSubject.asObservable(),this.startsAt$=this.startsAtSubject.asObservable(),this.updatedAt$=this.updatedAtSubject.asObservable(),this.createdBy$=this.createdBySubject.asObservable(),this.custom$=this.customSubject.asObservable(),this.egress$=this.egressSubject.asObservable(),this.ingress$=this.ingressSubject.asObservable(),this.recording$=this.recordingSubject.asObservable(),this.session$=this.sessionSubject.asObservable(),this.settings$=this.settingsSubject.asObservable(),this.transcribing$=this.transcribingSubject.asObservable(),this.endedBy$=this.endedBySubject.asObservable(),this.thumbnails$=this.thumbnailsSubject.asObservable(),this.eventHandlers={"call.permission_request":void 0,"call.recording_failed":void 0,"call.recording_ready":void 0,"call.user_muted":void 0,"connection.error":void 0,"connection.ok":void 0,"health.check":void 0,custom:void 0,"call.accepted":e=>this.updateFromCallResponse(e.call),"call.blocked_user":this.blockUser,"call.created":e=>this.updateFromCallResponse(e.call),"call.ended":e=>{this.updateFromCallResponse(e.call),this.setCurrentValue(this.endedBySubject,e.user)},"call.hls_broadcasting_failed":this.updateFromHLSBroadcastingFailed,"call.hls_broadcasting_started":this.updateFromHLSBroadcastStarted,"call.hls_broadcasting_stopped":this.updateFromHLSBroadcastStopped,"call.live_started":e=>this.updateFromCallResponse(e.call),"call.member_added":this.updateFromMemberAdded,"call.member_removed":this.updateFromMemberRemoved,"call.member_updated_permission":this.updateMembers,"call.member_updated":this.updateMembers,"call.notification":e=>{this.updateFromCallResponse(e.call),this.setMembers(e.members)},"call.permissions_updated":this.updateOwnCapabilities,"call.reaction_new":this.updateParticipantReaction,"call.recording_started":()=>this.setCurrentValue(this.recordingSubject,!0),"call.recording_stopped":()=>this.setCurrentValue(this.recordingSubject,!1),"call.rejected":e=>this.updateFromCallResponse(e.call),"call.ring":e=>this.updateFromCallResponse(e.call),"call.session_ended":e=>this.updateFromCallResponse(e.call),"call.session_participant_joined":this.updateFromSessionParticipantJoined,"call.session_participant_left":this.updateFromSessionParticipantLeft,"call.session_started":e=>this.updateFromCallResponse(e.call),"call.unblocked_user":this.unblockUser,"call.updated":e=>this.updateFromCallResponse(e.call)}}}let nx=e=>async function(t){if("call.accepted"!==t.type||t.user.id===e.currentUserId)return;let{state:i}=e;i.callingState===O.RINGING&&await e.join()},nH=e=>async function(t){if("call.rejected"!==t.type||t.user.id===e.currentUserId)return;let{call:i}=t,{session:n}=i;if(!n){e.logger("warn","No call session provided. Ignoring call.rejected event.",t);return}let a=n.rejected_by,{members:s,callingState:r}=e.state;if(r!==O.RINGING){e.logger("warn","Call is not in ringing mode (it is either accepted or rejected already). Ignoring call.rejected event.",t);return}e.isCreatedByMe?s.filter(t=>t.user_id!==e.currentUserId).every(e=>a[e.user_id])&&(e.logger("info","everyone rejected, leaving the call"),await e.leave()):a[i.created_by.id]&&(e.logger("info","call creator rejected, leaving call"),await e.leave())},nz=e=>async function(t){if("call.ended"!==t.type)return;let{callingState:i}=e.state;(i===O.RINGING||i===O.JOINED||i===O.JOINING)&&await e.leave()},nq=e=>function(t){if("callGrantsUpdated"!==t.eventPayload.oneofKind)return;let{currentGrants:i}=t.eventPayload.callGrantsUpdated;if(i){let{canPublishAudio:t,canPublishVideo:n,canScreenshare:a}=i,s={[ey.SEND_AUDIO]:t,[ey.SEND_VIDEO]:n,[ey.SCREENSHARE]:a},r=e.ownCapabilities.filter(e=>!1!==s[e]);Object.entries(s).forEach(e=>{let[t,i]=e;i&&!r.includes(t)&&r.push(t)}),e.setOwnCapabilities(r)}},nK=iL(["events"]),nJ=(e,t)=>e.on("changePublishQuality",e=>{if("changePublishQuality"!==e.eventPayload.oneofKind)return;let{videoSenders:i}=e.eventPayload.changePublishQuality;i.forEach(e=>{let{layers:i}=e;t.updatePublishQuality(i.filter(e=>e.active))})}),nG=(e,t)=>e.on("connectionQualityChanged",e=>{if("connectionQualityChanged"!==e.eventPayload.oneofKind)return;let{connectionQualityChanged:i}=e.eventPayload,{connectionQualityUpdates:n}=i;n&&t.updateParticipants(n.reduce((e,t)=>{let{sessionId:i,connectionQuality:n}=t;return e[i]={connectionQuality:n},e},{}))}),n$=(e,t)=>e.on("healthCheckResponse",e=>{if("healthCheckResponse"!==e.eventPayload.oneofKind)return;let{participantCount:i}=e.eventPayload.healthCheckResponse;i&&(t.setParticipantCount(i.total),t.setAnonymousParticipantCount(i.anonymous))}),nQ=(e,t)=>e.on("error",e=>{"error"===e.eventPayload.oneofKind&&e.eventPayload.error.error&&e.eventPayload.error.error.code===E.LIVE_ENDED&&!t.permissionsContext.hasPermission(ey.JOIN_BACKSTAGE)&&t.leave()}),nX=e=>e.on("error",e=>{if("error"!==e.eventPayload.oneofKind||!e.eventPayload.error.error)return;let t=e.eventPayload.error.error;nK("error","SFU reported error",{code:E[t.code],message:t.message,shouldRetry:t.shouldRetry})}),nY=e=>function(t){if("pinsUpdated"!==t.eventPayload.oneofKind)return;let{pins:i}=t.eventPayload.pinsUpdated;e.setServerSidePins(i)},nZ=e=>e.on("trackUnpublished",async t=>{if("trackUnpublished"!==t.eventPayload.oneofKind)return;let{trackUnpublished:{cause:i,type:n,sessionId:a}}=t.eventPayload,{localParticipant:s}=e.state;if(i===_.MODERATION&&a===(null==s?void 0:s.sessionId)){let t=e.logger;t("info","Local participant's ".concat(R[n]," track is muted remotely"));try{var r;n===R.VIDEO?await e.camera.disable():n===R.AUDIO?await e.microphone.disable():t("warn","Unsupported track type to soft mute",R[n]),(null===(r=e.publisher)||void 0===r?void 0:r.isPublishing(n))&&await e.stopPublish(n)}catch(e){t("error","Failed to stop publishing",e)}}}),n0=e=>function(t){if("participantJoined"!==t.eventPayload.oneofKind)return;let{participant:i}=t.eventPayload.participantJoined;i&&e.updateOrAddParticipant(i.sessionId,Object.assign(i,{viewportVisibilityState:{videoTrack:N.UNKNOWN,screenShareTrack:N.UNKNOWN}}))},n1=e=>function(t){if("participantLeft"!==t.eventPayload.oneofKind)return;let{participant:i}=t.eventPayload.participantLeft;i&&e.setParticipants(e=>e.filter(e=>e.sessionId!==i.sessionId))},n2=e=>function(t){if("trackPublished"!==t.eventPayload.oneofKind)return;let{trackPublished:{type:i,sessionId:n,participant:a}}=t.eventPayload;a?e.updateOrAddParticipant(n,a):e.updateParticipant(n,e=>({publishedTracks:[...e.publishedTracks,i].filter(n9)}))},n3=e=>function(t){if("trackUnpublished"!==t.eventPayload.oneofKind)return;let{trackUnpublished:{type:i,sessionId:n,participant:a}}=t.eventPayload;a?e.updateOrAddParticipant(n,a):e.updateParticipant(n,e=>({publishedTracks:e.publishedTracks.filter(e=>e!==i)}))},n9=(e,t,i)=>i.indexOf(e)===t,n4=(e,t)=>e.on("dominantSpeakerChanged",e=>{var i;if("dominantSpeakerChanged"!==e.eventPayload.oneofKind)return;let{dominantSpeakerChanged:{sessionId:n}}=e.eventPayload;n!==(null===(i=t.dominantSpeaker)||void 0===i?void 0:i.sessionId)&&t.setParticipants(e=>e.map(e=>e.sessionId===n?{...e,isDominantSpeaker:!0}:e.isDominantSpeaker?{...e,isDominantSpeaker:!1}:e))}),n5=(e,t)=>e.on("audioLevelChanged",e=>{if("audioLevelChanged"!==e.eventPayload.oneofKind)return;let{audioLevels:i}=e.eventPayload.audioLevelChanged;t.updateParticipants(i.reduce((e,t)=>(e[t.sessionId]={audioLevel:t.level,isSpeaking:t.isSpeaking},e),{}))}),n6=(e,t,i)=>{let n=[e.on("call.ended",nz(e)),nQ(i,e),nX(i),nJ(i,e),nG(i,t),n$(i,t),e.on("participantJoined",n0(t)),e.on("participantLeft",n1(t)),e.on("trackPublished",n2(t)),e.on("trackUnpublished",n3(t)),n5(i,t),n4(i,t),e.on("callGrantsUpdated",nq(t)),e.on("pinsUpdated",nY(t)),nZ(e)];return e.ringing&&n.push(n8(e)),()=>{n.forEach(e=>e())}},n8=e=>{let t={"call.accepted":nx(e),"call.rejected":nH(e)},i=Object.keys(t).map(i=>e.on(i,t[i]));return()=>{i.forEach(e=>e())}},n7=async(e,t,i,n)=>{let{call:a,credentials:s,members:r,own_capabilities:o}=await ae(e,t,i,n);return{connectionConfig:at(s.ice_servers),sfuServer:s.server,token:s.token,metadata:a,members:r,ownCapabilities:o}},ae=async(e,t,i,n)=>{let a=await e.getLocationHint(),s={...n,location:a},r=ai();return r?((null==n?void 0:n.migrating_from)&&r.next_sfu_id&&(r.sfu_id=r.next_sfu_id),e.doAxiosRequest("post","/call/".concat(t,"/").concat(i,"/join"),s,{params:{...r}})):e.post("/call/".concat(t,"/").concat(i,"/join"),s)},at=e=>{if(e&&0!==e.length)return{iceServers:e.map(e=>({urls:e.urls,username:e.username,credential:e.password}))}},ai=()=>{var e;if("undefined"==typeof window)return null;let t=new URLSearchParams(null===(e=window.location)||void 0===e?void 0:e.search);if(null!==t.get("cascading")){let e={};return t.forEach((t,i)=>{e[i]=t}),e}return null},an=(e,t)=>(t&&(Object.assign(e,t),iI(t)&&iI(e)&&(e.audioDeviceId=t.audioDeviceId,e.videoDeviceId=t.videoDeviceId,e.audioOutputDeviceId=t.audioOutputDeviceId)),e),aa=e=>{let t,{subscriber:i,publisher:n,state:a,pollingIntervalInMs:s=2e3}=e,r=iL(["stats"]),o=async(e,t)=>"subscriber"===e&&i?i.getStats(t):"publisher"===e&&n?n.getStats(t):void r("warn","Can't retrieve RTC stats for ".concat(e)),l=async(e,t)=>{let a="subscriber"===e?i:n,s=[];for(let i of t.getTracks()){let t=as(await a.getStats(i),{trackKind:i.kind,kind:e});s.push(t)}return s},c=new Set,d=async()=>{let e={},t=new Set(c);if(t.size>0)for(let i of a.participants){if(!t.has(i.sessionId))continue;let n=i.isLocalParticipant?"publisher":"subscriber";try{var s,d;let t=new MediaStream([...(null===(s=i.videoStream)||void 0===s?void 0:s.getVideoTracks())||[],...(null===(d=i.audioStream)||void 0===d?void 0:d.getAudioTracks())||[]]);e[i.sessionId]=await l(n,t),t.getTracks().forEach(e=>{t.removeTrack(e)})}catch(e){r("error","Failed to collect stats for ".concat(n," if ").concat(i.userId),e)}}let[h,u]=await Promise.all([i.getStats().then(e=>as(e,{kind:"subscriber",trackKind:"video"})).then(ar),n.getStats().then(e=>as(e,{kind:"publisher",trackKind:"video"})).then(ar)]),[p,g]=await Promise.all([o("subscriber"),o("publisher")]);a.setCallStatsReport({datacenter:n.sfuClient.edgeName,publisherStats:u,subscriberStats:h,subscriberRawStats:p,publisherRawStats:g,participants:e,timestamp:Date.now()})};if(s>0){let e=async()=>{await d().catch(e=>{r("debug","Failed to collect stats",e)}),t=setTimeout(e,s)};e()}return{getRawStatsForTrack:o,getStatsForStream:l,startReportingStatsFor:e=>{c.add(e),d()},stopReportingStatsFor:e=>{c.delete(e),d()},stop:()=>{t&&clearTimeout(t)}}},as=(e,t)=>{let{trackKind:i,kind:n}=t,a="subscriber"===n?"inbound-rtp":"outbound-rtp",s=ao(e);return{rawStats:e,streams:s.filter(e=>e.type===a&&e.kind===i).map(e=>{let t;let i=s.find(t=>"codec"===t.type&&t.id===e.codecId),n=s.find(t=>"transport"===t.type&&t.id===e.transportId);if(n&&"connected"===n.dtlsState){let e=s.find(e=>"candidate-pair"===e.type&&e.id===n.selectedCandidatePairId);t=null==e?void 0:e.currentRoundTripTime}return{bytesSent:e.bytesSent,bytesReceived:e.bytesReceived,codec:null==i?void 0:i.mimeType,currentRoundTripTime:t,frameHeight:e.frameHeight,frameWidth:e.frameWidth,framesPerSecond:e.framesPerSecond,jitter:e.jitter,kind:e.kind,qualityLimitationReason:e.qualityLimitationReason,rid:e.rid,ssrc:e.ssrc}}),timestamp:Date.now()}},ar=e=>{let t={rawReport:e,totalBytesSent:0,totalBytesReceived:0,averageJitterInMs:0,averageRoundTripTimeInMs:0,qualityLimitationReasons:"none",highestFrameWidth:0,highestFrameHeight:0,highestFramesPerSecond:0,timestamp:Date.now()},i=-1,n=(e,t)=>e*t,a=new Set,s=e.streams,r=s.reduce((e,t)=>{e.totalBytesSent+=t.bytesSent||0,e.totalBytesReceived+=t.bytesReceived||0,e.averageJitterInMs+=t.jitter||0,e.averageRoundTripTimeInMs+=t.currentRoundTripTime||0;let s=n(t.frameWidth||0,t.frameHeight||0);return s>i&&(e.highestFrameWidth=t.frameWidth||0,e.highestFrameHeight=t.frameHeight||0,e.highestFramesPerSecond=t.framesPerSecond||0,i=s),a.add(t.qualityLimitationReason||""),e},t);s.length>0&&(r.averageJitterInMs=Math.round(r.averageJitterInMs/s.length*1e3),r.averageRoundTripTimeInMs=Math.round(r.averageRoundTripTimeInMs/s.length*1e3));let o=[a.has("cpu")&&"cpu",a.has("bandwidth")&&"bandwidth",a.has("other")&&"other"].filter(Boolean).join(", ");return o&&(r.qualityLimitationReasons=o),r},ao=e=>{let t=[];return e.forEach(e=>{t.push(e)}),t};class al{constructor(){this.elementHandlerMap=new Map,this.observer=null,this.queueSet=new Set,this.setViewport=(e,t)=>{var i;return this.observer=new IntersectionObserver(e=>{e.forEach(e=>{let t=this.elementHandlerMap.get(e.target);null==t||t(e)})},{root:e,...t,threshold:null!==(i=null==t?void 0:t.threshold)&&void 0!==i?i:.35}),this.queueSet.size&&(this.queueSet.forEach(t=>{let[i,n]=t;e.contains(i)&&(this.observer.observe(i),this.elementHandlerMap.set(i,n))}),this.queueSet.clear()),()=>{var e;null===(e=this.observer)||void 0===e||e.disconnect(),this.observer=null,this.elementHandlerMap.clear()}},this.observe=(e,t)=>{let i=[e,t];return this.elementHandlerMap.has(e)||(this.observer?this.observer.root.contains(e)&&(this.elementHandlerMap.set(e,t),this.observer.observe(e)):this.queueSet.add(i)),()=>{var t;this.elementHandlerMap.delete(e),null===(t=this.observer)||void 0===t||t.unobserve(e),this.queueSet.delete(i)}}}}let ac=()=>"undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent||""),ad=()=>{var e;return"undefined"!=typeof navigator&&(null===(e=navigator.userAgent)||void 0===e?void 0:e.includes("Firefox"))};var ah=Object.freeze({__proto__:null,isChrome:()=>{var e;return"undefined"!=typeof navigator&&(null===(e=navigator.userAgent)||void 0===e?void 0:e.includes("Chrome"))},isFirefox:ad,isSafari:ac});let au={videoTrack:N.UNKNOWN,screenShareTrack:N.UNKNOWN};class ap{constructor(e){this.viewportTracker=new al,this.logger=iL(["DynascaleManager"]),this.trackElementVisibility=(e,t,i)=>{let n=this.viewportTracker.observe(e,n=>{this.call.state.updateParticipant(t,t=>{var a;let s=null!==(a=t.viewportVisibilityState)&&void 0!==a?a:au,r=n.isIntersecting||document.fullscreenElement===e?N.VISIBLE:N.INVISIBLE;return{...t,viewportVisibilityState:{...s,[i]:r}}})});return()=>{n(),this.call.state.updateParticipant(t,e=>{var t;let n=null!==(t=e.viewportVisibilityState)&&void 0!==t?t:au;return{...e,viewportVisibilityState:{...n,[i]:N.UNKNOWN}}})}},this.setViewport=e=>this.viewportTracker.setViewport(e),this.bindVideoElement=(e,t,i)=>{let n,a;let s=this.call.state.findParticipantBySessionId(t);if(!s)return;let r=(e,n)=>{n&&(0===n.width||0===n.height)&&(this.logger("debug","Ignoring 0x0 dimension",s),n=void 0),this.call.updateSubscriptionsPartial(i,{[t]:{dimension:n}},e)},o=this.call.state.participants$.pipe((0,Q.U)(e=>e.find(e=>e.sessionId===t)),(0,Z.o)(e=>!!e),(0,Y.x)(),(0,X.d)({bufferSize:1,refCount:!0})),l=s.isLocalParticipant?null:o.pipe((0,Q.U)(e=>{var t;return null===(t=e.viewportVisibilityState)||void 0===t?void 0:t[i]}),(0,Y.x)()).subscribe(t=>{if(!n){n=null!=t?t:N.UNKNOWN;return}if(n=null!=t?t:N.UNKNOWN,t===N.INVISIBLE)return r(A.MEDIUM,void 0);r(A.MEDIUM,{width:e.clientWidth,height:e.clientHeight})}),c=s.isLocalParticipant?null:new ResizeObserver(()=>{let t="".concat(e.clientWidth,",").concat(e.clientHeight);if(!a){a=t;return}a!==t&&n!==N.INVISIBLE&&(r(A.SLOW,{width:e.clientWidth,height:e.clientHeight}),a=t)});null==c||c.observe(e);let d=s.isLocalParticipant?null:o.pipe((0,ee.g)("publishedTracks"),(0,Q.U)(e=>e.publishedTracks.includes("videoTrack"===i?R.VIDEO:R.SCREEN_SHARE)),(0,Y.x)()).subscribe(t=>{t?r(A.FAST,{width:e.clientWidth,height:e.clientHeight}):r(A.FAST,void 0)});e.autoplay=!0,e.playsInline=!0,e.muted=!0;let h=o.pipe((0,ee.g)("videoTrack"===i?"videoStream":"screenShareStream")).subscribe(t=>{let n="videoTrack"===i?t.videoStream:t.screenShareStream;e.srcObject!==n&&(e.srcObject=null!=n?n:null,(ac()||ad())&&setTimeout(()=>{e.srcObject=null!=n?n:null,e.play().catch(e=>{this.logger("warn","Failed to play stream",e)})},25))});return()=>{r(A.FAST,void 0),null==l||l.unsubscribe(),null==d||d.unsubscribe(),h.unsubscribe(),null==c||c.disconnect()}},this.bindAudioElement=(e,t,i)=>{let n=this.call.state.findParticipantBySessionId(t);if(!n||n.isLocalParticipant)return;let a=this.call.state.participants$.pipe((0,Q.U)(e=>e.find(e=>e.sessionId===t)),(0,Z.o)(e=>!!e),(0,Y.x)(),(0,X.d)({bufferSize:1,refCount:!0})).pipe((0,ee.g)("screenShareAudioTrack"===i?"screenShareAudioStream":"audioStream")).subscribe(t=>{let n="screenShareAudioTrack"===i?t.screenShareAudioStream:t.audioStream;e.srcObject!==n&&setTimeout(()=>{e.srcObject=null!=n?n:null,e.srcObject&&e.play().catch(e=>{this.logger("warn","Failed to play stream",e)})})}),s=(0,G.a)([this.call.state.localParticipant$,this.call.speaker.state.selectedDevice$]).subscribe(t=>{var i;let[n,a]=t,s=(null===(i=iq())||void 0===i?void 0:i.type)===D.REACT?null==n?void 0:n.audioOutputDeviceId:a;"setSinkId"in e&&"string"==typeof s&&e.setSinkId(s)}),r=this.call.speaker.state.volume$.subscribe(t=>{e.volume=t});return e.autoplay=!0,()=>{s.unsubscribe(),r.unsubscribe(),a.unsubscribe()}},this.call=e}}class ag{constructor(){this.permissions=[],this.setPermissions=e=>{this.permissions=e||[]},this.setCallSettings=e=>{this.settings=e},this.hasPermission=e=>this.permissions.includes(e),this.canRequest=e=>{if(!this.settings)return!1;let{audio:t,video:i,screensharing:n}=this.settings;switch(e){case ey.SEND_AUDIO:return t.access_request_enabled;case ey.SEND_VIDEO:return i.access_request_enabled;case ey.SCREENSHARE:return n.access_request_enabled;default:return!1}}}}class am{constructor(e,t={sortParticipantsBy:nF}){this.name=e,this.options=t}}class af{constructor(e){this.register=e=>{this.callTypes[e.name]=e},this.unregister=e=>{delete this.callTypes[e]},this.get=e=>(this.callTypes[e]||this.register(new am(e)),this.callTypes[e]),this.callTypes=e.reduce((e,t)=>(e[t.name]=t,e),{})}}let ay=new af([new am("default",{sortParticipantsBy:nF}),new am("development",{sortParticipantsBy:nF}),new am("livestream",{sortParticipantsBy:nV}),new am("audio_room",{sortParticipantsBy:nV})]),ab=e=>new et.y(t=>{navigator.mediaDevices.getUserMedia(e).then(e=>{navigator.mediaDevices.enumerateDevices().then(i=>{t.next(i),aV(e),t.complete()})}).catch(e=>{iL(["devices"])("error","Failed to get devices",e),t.error(e)})}),av=()=>"undefined"!=typeof document&&void 0!==document.createElement("audio").sinkId,ak={audio:{autoGainControl:!0,noiseSuppression:!0,echoCancellation:!0}},aw={video:{width:1280,height:720}},aT=e=>{let t;return()=>(t||(t=e()),t)},aC=aT(()=>new et.y(e=>{if(!navigator.mediaDevices.addEventListener)return;let t=()=>e.next();return navigator.mediaDevices.addEventListener("devicechange",t),()=>{navigator.mediaDevices.removeEventListener("devicechange",t)}}).pipe((0,ei.b)(500),(0,en.b)(()=>(0,ea.D)(navigator.mediaDevices.enumerateDevices())),(0,X.d)(1))),aS=aT(()=>(0,es.T)(ab(ak),aC()).pipe((0,X.d)(1))),aI=aT(()=>(0,es.T)(ab(aw),aC()).pipe((0,X.d)(1))),aR=()=>aS().pipe((0,Q.U)(e=>e.filter(e=>"audioinput"===e.kind))),aE=()=>aI().pipe((0,Q.U)(e=>e.filter(e=>"videoinput"===e.kind))),aD=()=>aS().pipe((0,Q.U)(e=>e.filter(e=>"audiooutput"===e.kind))),a_=async e=>{try{return await navigator.mediaDevices.getUserMedia(e)}catch(t){throw iL(["devices"])("error","Failed get user media",{error:t,constraints:e}),t}},aP=async e=>a_({audio:{...ak.audio,...e}}),aU=async e=>a_({video:{...aw.video,...e}}),aN=async e=>{try{return await navigator.mediaDevices.getDisplayMedia({video:!0,audio:{channelCount:{ideal:2},echoCancellation:!1,autoGainControl:!1,noiseSuppression:!1},systemAudio:"include",...e})}catch(e){throw iL(["devices"])("error","Failed to get screen share stream",e),e}},aA=(e,t)=>{let i;switch(e){case"audioinput":i=aR();break;case"videoinput":i=aE();break;case"audiooutput":i=aD()}return(0,G.a)([i,t]).pipe((0,er.h)(e=>{let[t,i]=e;return!!i&&!t.find(e=>e.deviceId===i)}),(0,Q.U)(()=>!0))},aO=e=>aA("audioinput",e),aL=e=>aA("videoinput",e),aB=e=>aA("audiooutput",e),aj=e=>{let t;switch(e){case"audioinput":t=aR();break;case"videoinput":t=aE();break;case"audiooutput":t=aD();break;default:throw Error("Unknown MediaDeviceKind",e)}return t.pipe((0,eo.G)(),(0,er.h)(e=>{let[t,i]=e,n=t.find(e=>"default"===e.deviceId),a=i.find(e=>"default"===e.deviceId);return!!(i.length>t.length&&n&&a&&n.groupId!==a.groupId)}),(0,Q.U)(()=>!0))},aF=()=>aj("audioinput"),aW=()=>aj("videoinput"),aV=e=>{e.active&&(e.getTracks().forEach(t=>{t.stop(),e.removeTrack(t)}),"function"==typeof e.release&&e.release())};class aM{listDevices(){return this.getDevices()}async enable(){if("enabled"!==this.state.status){this.enablePromise=this.unmuteStream();try{await this.enablePromise,this.state.setStatus("enabled")}catch(e){throw this.enablePromise=void 0,e}}}async disable(){if(this.state.prevStatus=this.state.status,"disabled"!==this.state.status){this.disablePromise=this.muteStream("stop-tracks"===this.state.disableMode);try{await this.disablePromise,this.state.setStatus("disabled"),this.disablePromise=void 0}catch(e){throw this.disablePromise=void 0,e}}}async resume(){"enabled"===this.state.prevStatus&&"disabled"===this.state.status&&await this.enable()}async toggle(){return"enabled"===this.state.status?this.disable():this.enable()}async setDefaultConstraints(e){this.state.setDefaultConstraints(e)}async select(e){if(iH())throw Error("This method is not supported in React Native");e!==this.state.selectedDevice&&(this.state.setDevice(e),await this.applySettingsToStream())}async applySettingsToStream(){"enabled"===this.state.status&&(await this.muteStream(),await this.unmuteStream())}getTracks(){var e,t;return null!==(t=null===(e=this.state.mediaStream)||void 0===e?void 0:e.getTracks())&&void 0!==t?t:[]}async muteStream(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.state.mediaStream&&(this.logger("debug","".concat(e?"Stopping":"Disabling"," stream")),this.call.state.callingState===O.JOINED&&await this.stopPublishStream(e),this.muteLocalStream(e),this.getTracks().forEach(e=>{"ended"===e.readyState&&("function"==typeof this.state.mediaStream.release&&this.state.mediaStream.release(),this.state.setMediaStream(void 0))}))}muteTracks(){this.getTracks().forEach(e=>{e.enabled&&(e.enabled=!1)})}unmuteTracks(){this.getTracks().forEach(e=>{e.enabled||(e.enabled=!0)})}stopTracks(){this.getTracks().forEach(e=>{"live"===e.readyState&&e.stop()})}muteLocalStream(e){this.state.mediaStream&&(e?this.stopTracks():this.muteTracks())}async unmuteStream(){let e;if(this.logger("debug","Starting stream"),this.state.mediaStream&&this.getTracks().every(e=>"live"===e.readyState))e=this.state.mediaStream,this.unmuteTracks();else{this.state.mediaStream&&this.stopTracks();let t={...this.state.defaultConstraints,deviceId:this.state.selectedDevice};e=await this.getStream(t)}this.call.state.callingState===O.JOINED&&await this.publishStream(e),this.state.mediaStream!==e&&this.state.setMediaStream(e)}constructor(e,t,i){this.call=e,this.state=t,this.trackType=i,this.logger=iL(["".concat(R[i].toLowerCase()," manager")])}}class ax{get status(){return this.getCurrentValue(this.status$)}get selectedDevice(){return this.getCurrentValue(this.selectedDevice$)}get mediaStream(){return this.getCurrentValue(this.mediaStream$)}setStatus(e){this.setCurrentValue(this.statusSubject,e)}setMediaStream(e){this.setCurrentValue(this.mediaStreamSubject,e),e&&this.setDevice(this.getDeviceIdFromStream(e))}setDevice(e){this.setCurrentValue(this.selectedDeviceSubject,e)}get defaultConstraints(){return this.getCurrentValue(this.defaultConstraints$)}setDefaultConstraints(e){this.setCurrentValue(this.defaultConstraintsSubject,e)}constructor(e="stop-tracks"){this.disableMode=e,this.statusSubject=new $.X(void 0),this.mediaStreamSubject=new $.X(void 0),this.selectedDeviceSubject=new $.X(void 0),this.defaultConstraintsSubject=new $.X(void 0),this.mediaStream$=this.mediaStreamSubject.asObservable(),this.selectedDevice$=this.selectedDeviceSubject.asObservable().pipe((0,Y.x)()),this.status$=this.statusSubject.asObservable().pipe((0,Y.x)()),this.defaultConstraints$=this.defaultConstraintsSubject.asObservable(),this.getCurrentValue=ny,this.setCurrentValue=nb}}class aH extends ax{get direction(){return this.getCurrentValue(this.direction$)}setDirection(e){this.setCurrentValue(this.directionSubject,e)}setMediaStream(e){if(super.setMediaStream(e),e){var t;let i=iH()?this.direction:(null===(t=e.getVideoTracks()[0])||void 0===t?void 0:t.getSettings().facingMode)==="environment"?"back":"front";this.setDirection(i)}}getDeviceIdFromStream(e){var t;return null===(t=e.getVideoTracks()[0])||void 0===t?void 0:t.getSettings().deviceId}constructor(){super("stop-tracks"),this.directionSubject=new $.X(void 0),this.direction$=this.directionSubject.asObservable().pipe((0,Y.x)())}}class az extends aM{async selectDirection(e){this.state.setDirection(e),this.state.setDevice(void 0),await this.applySettingsToStream()}async flip(){let e="front"===this.state.direction?"back":"front";await this.selectDirection(e)}async selectTargetResolution(e){if(this.targetResolution.height=e.height,this.targetResolution.width=e.width,this.enablePromise)try{await this.enablePromise}catch(e){}if("enabled"===this.state.status){var t;let{width:e,height:i}=null===(t=this.state.mediaStream.getVideoTracks()[0])||void 0===t?void 0:t.getSettings();(e!==this.targetResolution.width||i!==this.targetResolution.height)&&await this.applySettingsToStream(),this.logger("debug","".concat(e,"x").concat(i," target resolution applied to media stream"))}}getDevices(){return aE()}getStream(e){return e.width=this.targetResolution.width,e.height=this.targetResolution.height,!e.deviceId&&this.state.direction&&(e.facingMode="front"===this.state.direction?"user":"environment"),aU(e)}publishStream(e){return this.call.publishVideoStream(e)}stopPublishStream(e){return this.call.stopPublish(R.VIDEO,e)}constructor(e){super(e,new aH,R.VIDEO),this.targetResolution={width:1280,height:720}}}class aq extends ax{get speakingWhileMuted(){return this.getCurrentValue(this.speakingWhileMuted$)}setSpeakingWhileMuted(e){this.setCurrentValue(this.speakingWhileMutedSubject,e)}getDeviceIdFromStream(e){var t;return null===(t=e.getAudioTracks()[0])||void 0===t?void 0:t.getSettings().deviceId}constructor(){super("disable-tracks"),this.speakingWhileMutedSubject=new $.X(!1),this.speakingWhileMuted$=this.speakingWhileMutedSubject.asObservable().pipe((0,Y.x)())}}let aK=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{detectionFrequencyInMs:n=500,audioLevelThreshold:a=150,fftSize:s=128,destroyStreamOnStop:r=!0}=i,o=new AudioContext,l=o.createAnalyser();l.fftSize=s;let c=o.createMediaStreamSource(e);c.connect(l);let d=setInterval(()=>{var i;let n=new Uint8Array(l.frequencyBinCount);l.getByteFrequencyData(n);let s=n.some(e=>e>=a),r=n.reduce((e,t)=>e+t,0)/n.length;(null===(i=e.getAudioTracks()[0])||void 0===i?void 0:i.enabled)?t({isSoundDetected:s,audioLevel:r>a?100:Math.round(r/a*100)}):t({isSoundDetected:!1,audioLevel:0})},n);return async function(){clearInterval(d),c.disconnect(),l.disconnect(),await o.close(),r&&e.getTracks().forEach(t=>{t.stop(),e.removeTrack(t)})}};class aJ extends aM{getDevices(){return aR()}getStream(e){return aP(e)}publishStream(e){return this.call.publishAudioStream(e)}stopPublishStream(e){return this.call.stopPublish(R.AUDIO,e)}async startSpeakingWhileMutedDetection(e){if(iH())return;await this.stopSpeakingWhileMutedDetection();let t=await this.getStream({deviceId:e});this.soundDetectorCleanup=aK(t,e=>{this.state.setSpeakingWhileMuted(e.isSoundDetected)})}async stopSpeakingWhileMutedDetection(){if(!iH()&&this.soundDetectorCleanup){this.state.setSpeakingWhileMuted(!1);try{await this.soundDetectorCleanup()}finally{this.soundDetectorCleanup=void 0}}}constructor(e){super(e,new aq,R.AUDIO),(0,G.a)([this.call.state.callingState$,this.call.state.ownCapabilities$,this.state.selectedDevice$,this.state.status$]).subscribe(async e=>{let[t,i,n,a]=e;if(t!==O.JOINED){t===O.LEFT&&await this.stopSpeakingWhileMutedDetection();return}i.includes(ey.SEND_AUDIO)&&"disabled"===a?await this.startSpeakingWhileMutedDetection(n):await this.stopSpeakingWhileMutedDetection()})}}class aG extends ax{get audioEnabled(){return this.getCurrentValue(this.audioEnabled$)}setAudioEnabled(e){this.setCurrentValue(this.audioEnabledSubject,e)}get settings(){return this.getCurrentValue(this.settings$)}setSettings(e){this.setCurrentValue(this.settingsSubject,e)}constructor(){super(...arguments),this.audioEnabledSubject=new $.X(!0),this.settingsSubject=new $.X(void 0),this.audioEnabled$=this.audioEnabledSubject.asObservable().pipe((0,Y.x)()),this.settings$=this.settingsSubject.asObservable(),this.getDeviceIdFromStream=e=>{let[t]=e.getTracks();return null==t?void 0:t.getSettings().deviceId}}}class a$ extends aM{enableScreenShareAudio(){this.state.setAudioEnabled(!0)}async disableScreenShareAudio(){var e;this.state.setAudioEnabled(!1),(null===(e=this.call.publisher)||void 0===e?void 0:e.isPublishing(R.SCREEN_SHARE_AUDIO))&&await this.call.stopPublish(R.SCREEN_SHARE_AUDIO,!0)}getSettings(){return this.state.settings}setSettings(e){this.state.setSettings(e)}getDevices(){return(0,el.of)([])}getStream(e){return this.state.audioEnabled||(e.audio=!1),aN(e)}publishStream(e){return this.call.publishScreenShareStream(e,{screenShareSettings:this.state.settings})}async stopPublishStream(e){await this.call.stopPublish(R.SCREEN_SHARE,e),await this.call.stopPublish(R.SCREEN_SHARE_AUDIO,e)}async select(e){throw Error("This method is not supported in for Screen Share")}constructor(e){super(e,new aG,R.SCREEN_SHARE)}}class aQ{get selectedDevice(){return this.getCurrentValue(this.selectedDevice$)}get volume(){return this.getCurrentValue(this.volume$)}setDevice(e){this.setCurrentValue(this.selectedDeviceSubject,e)}setVolume(e){this.setCurrentValue(this.volumeSubject,e)}constructor(){this.selectedDeviceSubject=new $.X(""),this.volumeSubject=new $.X(1),this.isDeviceSelectionSupported=av(),this.getCurrentValue=ny,this.setCurrentValue=nb,this.selectedDevice$=this.selectedDeviceSubject.asObservable().pipe((0,Y.x)()),this.volume$=this.volumeSubject.asObservable().pipe((0,Y.x)())}}class aX{listDevices(){return aD()}select(e){if(iH())throw Error("This feature is not supported in React Native");this.state.setDevice(e)}setVolume(e){if(iH())throw Error("This feature is not supported in React Native");if(e&&(e<0||e>1))throw Error("Volume must be between 0 and 1");this.state.setVolume(e)}constructor(){this.state=new aQ}}class aY{registerEffects(){this.leaveCallHooks.add(nv(this.state.settings$,e=>{e&&this.permissionsContext.setCallSettings(e)})),this.leaveCallHooks.add(nv(this.state.ownCapabilities$,e=>{if(this.permissionsContext.setPermissions(e),this.publisher)for(let[e,t]of Object.entries({[ey.SEND_AUDIO]:R.AUDIO,[ey.SEND_VIDEO]:R.VIDEO,[ey.SCREENSHARE]:R.SCREEN_SHARE}))!this.permissionsContext.hasPermission(e)&&(this.publisher.isPublishing(t)||this.publisher.isLive(t))&&this.stopPublish(t).catch(e=>{this.logger("error","Error stopping publish ".concat(t),e)}).then(()=>{t===R.VIDEO&&"enabled"===this.camera.state.status&&this.camera.disable().catch(e=>this.logger("error","Error disabling camera after pemission revoked",e)),t===R.AUDIO&&"enabled"===this.microphone.state.status&&this.microphone.disable().catch(e=>this.logger("error","Error disabling microphone after pemission revoked",e))})})),this.leaveCallHooks.add(nv(this.state.blockedUserIds$,async e=>{if(!e||0===e.length)return;let t=this.currentUserId;t&&e.includes(t)&&(this.logger("info","Leaving call because of being blocked"),await this.leave())})),this.leaveCallHooks.add(nv(this.state.callingState$,e=>{this.ringing&&(e===O.JOINED||e===O.JOINING||e===O.LEFT)&&(clearTimeout(this.dropTimeout),this.dropTimeout=void 0)})),this.leaveCallHooks.add(nv(this.ringingSubject,e=>{e&&(this.scheduleAutoDrop(),this.state.callingState===O.IDLE&&this.state.setCallingState(O.RINGING),this.leaveCallHooks.add(n8(this)))}))}on(e,t){if(iW(e))return this.dispatcher.on(e,t);{let i=e=>{e.call_cid&&e.call_cid===this.cid&&t(e)};return this.streamClientEventHandlers.set(t,i),this.streamClient.on(e,i)}}off(e,t){if(iW(e))return this.dispatcher.off(e,t);{let i=this.streamClientEventHandlers.get(t);if(i)return this.streamClient.off(e,i)}}get ringing(){return ny(this.ringingSubject)}get currentUserId(){var e;return null===(e=this.clientStore.connectedUser)||void 0===e?void 0:e.id}get isCreatedByMe(){var e;return(null===(e=this.state.createdBy)||void 0===e?void 0:e.id)===this.currentUserId}async initCamera(){var e,t,i,n,a;if(this.camera.enablePromise&&await this.camera.enablePromise,this.camera.disablePromise&&await this.camera.disablePromise,(null===(e=this.state.localParticipant)||void 0===e?void 0:e.videoStream)||!this.permissionsContext.hasPermission("send-video"))return;if(!this.camera.state.direction&&!this.camera.state.selectedDevice){let e="front",t=null===(a=this.state.settings)||void 0===a?void 0:a.video.camera_facing;t&&(e="front"===t?"front":"back"),this.camera.state.setDirection(e)}let s=null===(t=this.state.settings)||void 0===t?void 0:t.video.target_resolution;s&&await this.camera.selectTargetResolution(s),"enabled"!==this.camera.state.status||!this.camera.state.mediaStream||(null===(i=this.publisher)||void 0===i?void 0:i.isPublishing(R.VIDEO))||await this.publishVideoStream(this.camera.state.mediaStream),void 0===this.camera.state.status&&(null===(n=this.state.settings)||void 0===n?void 0:n.video.camera_default_on)&&await this.camera.enable()}async initMic(){var e,t,i;this.microphone.enablePromise&&await this.microphone.enablePromise,this.microphone.disablePromise&&await this.microphone.disablePromise,(null===(e=this.state.localParticipant)||void 0===e||!e.audioStream)&&this.permissionsContext.hasPermission("send-audio")&&("enabled"!==this.microphone.state.status||!this.microphone.state.mediaStream||(null===(t=this.publisher)||void 0===t?void 0:t.isPublishing(R.AUDIO))||await this.publishAudioStream(this.microphone.state.mediaStream),void 0===this.microphone.state.status&&(null===(i=this.state.settings)||void 0===i?void 0:i.audio.mic_default_on)&&await this.microphone.enable())}constructor({type:e,id:t,streamClient:i,members:n,ownCapabilities:a,sortParticipantsBy:s,clientStore:r,ringing:o=!1,watching:l=!1}){var c=this;this.state=new nM,this.dynascaleManager=new ap(this),this.permissionsContext=new ag,this.dispatcher=new iV,this.trackSubscriptionsSubject=new $.X({type:A.MEDIUM,data:[]}),this.reconnectAttempts=0,this.maxReconnectAttempts=10,this.leaveCallHooks=new Set,this.streamClientEventHandlers=new Map,this.leave=async function(){var e,t,i,n;let{reject:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=c.state.callingState;if(s===O.LEFT)throw Error("Cannot leave call that has already been left.");if(s===O.JOINING&&await c.assertCallJoined(),c.ringing){let e=c.state.remoteParticipants.length>0;c.isCreatedByMe&&!e?await c.reject():a&&s===O.RINGING&&await c.reject()}null===(e=c.statsReporter)||void 0===e||e.stop(),c.statsReporter=void 0,null===(t=c.subscriber)||void 0===t||t.close(),c.subscriber=void 0,null===(i=c.publisher)||void 0===i||i.close(),c.publisher=void 0,null===(n=c.sfuClient)||void 0===n||n.close(),c.sfuClient=void 0,c.dispatcher.offAll(),c.leaveCallHooks.forEach(e=>e()),c.clientStore.unregisterCall(c),c.state.setCallingState(O.LEFT)},this.get=async e=>{let t=await this.streamClient.get(this.streamClientBasePath,e);return(null==e?void 0:e.ring)&&!this.ringing&&this.ringingSubject.next(!0),this.state.updateFromCallResponse(t.call),this.state.setMembers(t.members),this.state.setOwnCapabilities(t.own_capabilities),this.streamClient._hasConnectionID()&&(this.watching=!0,this.clientStore.registerCall(this)),t},this.getOrCreate=async e=>{let t=await this.streamClient.post(this.streamClientBasePath,e);return(null==e?void 0:e.ring)&&!this.ringing&&this.ringingSubject.next(!0),this.state.updateFromCallResponse(t.call),this.state.setMembers(t.members),this.state.setOwnCapabilities(t.own_capabilities),this.streamClient._hasConnectionID()&&(this.watching=!0,this.clientStore.registerCall(this)),t},this.create=async e=>this.getOrCreate(e),this.ring=async()=>await this.get({ring:!0}),this.notify=async()=>await this.get({notify:!0}),this.accept=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/accept")),this.reject=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/reject")),this.join=async e=>{let t,i,n;var a,s,r,o,l=this;let c=this.state.callingState;if([O.JOINED,O.JOINING].includes(c))throw this.logger("warn","Join method called twice, you should only call this once"),Error("Illegal State: Already joined.");if(c===O.LEFT)throw Error("Illegal State: Cannot join already left call. Create a new Call instance to join a call.");let d=c===O.MIGRATING;this.state.setCallingState(O.JOINING),this.logger("debug","Starting join flow"),(null==e?void 0:e.ring)&&!this.ringing&&this.ringingSubject.next(!0),this.ringing&&!this.isCreatedByMe&&await this.accept();try{let a=await n7(this.streamClient,this.type,this.id,e);this.state.updateFromCallResponse(a.metadata),this.state.setMembers(a.members),this.state.setOwnCapabilities(a.ownCapabilities),n=a.connectionConfig,t=a.sfuServer,i=a.token,this.streamClient._hasConnectionID()&&(this.watching=!0,this.clientStore.registerCall(this))}catch(e){throw this.state.setCallingState(c),e}if("undefined"!=typeof window&&(null===(a=window.location)||void 0===a?void 0:a.search)){let e=new URLSearchParams(window.location.search);t.url=e.get("sfuUrl")||t.url,t.ws_endpoint=e.get("sfuWsUrl")||t.ws_endpoint,t.edge_name=e.get("sfuUrl")||t.edge_name}let h=this.sfuClient,u=this.sfuClient=new ng({dispatcher:this.dispatcher,sfuServer:t,token:i,sessionId:null==h?void 0:h.sessionId}),p=async function(){let{migrate:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.reconnectAttempts++,l.state.setCallingState(i?O.MIGRATING:O.RECONNECTING),i?(l.logger("debug","[Migration]: migrating call ".concat(l.cid," away from ").concat(t.edge_name)),u.isMigratingAway=!0):l.logger("debug","[Rejoin]: Rejoining call ".concat(l.cid," (").concat(l.reconnectAttempts,")..."));let n=l.state.localParticipant,a=()=>{if(!i){var e,t,n;null===(e=l.subscriber)||void 0===e||e.close(),l.subscriber=void 0,null===(t=l.publisher)||void 0===t||t.close({stopTracks:!1}),l.publisher=void 0,null===(n=l.statsReporter)||void 0===n||n.stop(),l.statsReporter=void 0}null==h||h.close()};if(i||(await ns(nl(l.reconnectAttempts)),a()),await l.join({...e,...i&&{migrating_from:t.edge_name}}),i&&a(),l.logger("info","[Rejoin]: Attempt ".concat(l.reconnectAttempts," successful!")),n&&!i){let e;let{audioStream:t,videoStream:i,screenShareStream:a,screenShareAudioStream:s}=n;(a||s)&&(e=new MediaStream,null==a||a.getVideoTracks().forEach(t=>{null==e||e.addTrack(t)}),null==s||s.getAudioTracks().forEach(t=>{null==e||e.addTrack(t)})),t&&await l.publishAudioStream(t),i&&await l.publishVideoStream(i),e&&await l.publishScreenShareStream(e)}l.logger("info","[Rejoin]: State restored. Attempt: ".concat(l.reconnectAttempts))};u.signalReady.then(()=>{let e=this.dispatcher.on("goAway",e=>{if("goAway"!==e.eventPayload.oneofKind)return;let{reason:t}=e.eventPayload.goAway;this.logger("info","[Migration]: Going away from SFU... Reason: ".concat(P[t])),p({migrate:!0}).catch(e=>{this.logger("warn","[Migration]: Failed to migrate to another SFU.",e)})});u.signalWs.addEventListener("close",t=>{e(),t.code!==no.WS_CLOSED_SUCCESS&&t.code!==no.WS_POLICY_VIOLATION&&(t.code===no.WS_CLOSED_ABRUPTLY&&u.isMigratingAway||(this.reconnectAttempts{this.logger("error","[Rejoin]: Rejoin failed for ".concat(this.reconnectAttempts," times. Giving up."),e),this.state.setCallingState(O.RECONNECTING_FAILED)}):(this.logger("error","[Rejoin]: Reconnect attempts exceeded. Giving up..."),this.state.setCallingState(O.RECONNECTING_FAILED))))})});let g=this.streamClient.on("connection.changed",e=>{if("connection.changed"!==e.type||!e.online)return;g();let t=this.state.callingState;(t===O.OFFLINE||t===O.RECONNECTING_FAILED)&&(this.logger("info","[Rejoin]: Going online..."),p().catch(e=>{this.logger("error","[Rejoin]: Rejoin failed for ".concat(this.reconnectAttempts," times. Giving up."),e),this.state.setCallingState(O.RECONNECTING_FAILED)}))}),m=this.streamClient.on("connection.changed",e=>{"connection.changed"===e.type&&(e.online||(m(),this.state.setCallingState(O.OFFLINE)))});this.leaveCallHooks.add(()=>{g(),m()}),this.subscriber||(this.subscriber=new nn({sfuClient:u,dispatcher:this.dispatcher,state:this.state,connectionConfig:n}));let f=null===(s=this.state.settings)||void 0===s?void 0:s.audio,y=!!(null==f?void 0:f.opus_dtx_enabled),b=!!(null==f?void 0:f.redundant_coding_enabled);this.publisher||(this.publisher=new nt({sfuClient:u,dispatcher:this.dispatcher,state:this.state,connectionConfig:n,isDtxEnabled:y,isRedEnabled:b})),d||(this.statsReporter=aa({subscriber:this.subscriber,publisher:this.publisher,state:this.state}));try{u.signalReady.catch(e=>this.logger("error","Signal ready failed",e)).then(()=>ij("recvonly")).then(t=>{var i;let n=ny(this.trackSubscriptionsSubject),a=d?{fromSfuId:(null==e?void 0:e.migrating_from)||"",subscriptions:n.data||[],announcedTracks:(null===(i=this.publisher)||void 0===i?void 0:i.getCurrentTrackInfos())||[]}:void 0;return u.join({subscriberSdp:t||"",clientDetails:iG(),migration:a,fastReconnect:!1})});let{callState:t}=await this.waitForJoinResponse();d&&(await this.subscriber.migrateTo(u,n),await this.publisher.migrateTo(u,n));let i=(null==t?void 0:t.participants)||[],a=null==t?void 0:t.participantCount,s=(null==t?void 0:t.startedAt)?eE.toDate(t.startedAt):new Date,l=null!==(o=null==t?void 0:t.pins)&&void 0!==o?o:[];if(this.state.setParticipants(()=>{let e=this.state.getParticipantLookupBySessionId();return i.map(t=>{let i=Object.assign(t,{isLocalParticipant:t.sessionId===u.sessionId,viewportVisibilityState:{videoTrack:N.UNKNOWN,screenShareTrack:N.UNKNOWN}}),n=e[t.sessionId];return an(i,n)})}),this.state.setParticipantCount((null==a?void 0:a.total)||0),this.state.setAnonymousParticipantCount((null==a?void 0:a.anonymous)||0),this.state.setStartedAt(s),this.state.setServerSidePins(l),this.reconnectAttempts=0,this.state.setCallingState(O.JOINED),(null===(r=iq())||void 0===r?void 0:r.type)!==D.REACT)try{await this.initCamera(),await this.initMic()}catch(e){this.logger("warn","Camera and/or mic init failed during join call")}let{remoteParticipants:c}=this.state;c.length>0&&this.updateSubscriptions(c,A.FAST),this.logger("info","Joined call ".concat(this.cid))}catch(e){if(this.reconnectAttempts0&&void 0!==arguments[0]?arguments[0]:5e3;return new Promise((t,i)=>{let n=c.on("joinResponse",e=>{"joinResponse"===e.eventPayload.oneofKind&&(clearTimeout(a),n(),t(e.eventPayload.joinResponse))}),a=setTimeout(()=>{n(),i(Error('Waiting for "joinResponse" has timed out'))},e)})},this.publishVideoStream=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(await c.assertCallJoined(),!c.publisher)throw c.logger("error","Trying to publish video before join is completed"),Error("Call not joined yet.");let[i]=e.getVideoTracks();if(!i){c.logger("error","There is no video track to publish in the stream.");return}await c.publisher.publishStream(e,i,R.VIDEO,t)},this.publishAudioStream=async e=>{if(await this.assertCallJoined(),!this.publisher)throw this.logger("error","Trying to publish audio before join is completed"),Error("Call not joined yet.");let[t]=e.getAudioTracks();if(!t){this.logger("error","There is no audio track in the stream to publish");return}await this.publisher.publishStream(e,t,R.AUDIO)},this.publishScreenShareStream=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(await c.assertCallJoined(),!c.publisher)throw c.logger("error","Trying to publish screen share before join is completed"),Error("Call not joined yet.");let[i]=e.getVideoTracks();if(!i){c.logger("error","There is no video track in the screen share stream to publish");return}await c.publisher.publishStream(e,i,R.SCREEN_SHARE,t);let[n]=e.getAudioTracks();n&&await c.publisher.publishStream(e,n,R.SCREEN_SHARE_AUDIO,t)},this.stopPublish=async function(e){var t;let i=!(arguments.length>1)||void 0===arguments[1]||arguments[1];c.logger("info","stopPublish ".concat(R[e],", stop tracks: ").concat(i)),await (null===(t=c.publisher)||void 0===t?void 0:t.unpublishStream(e,i))},this.updateSubscriptionsPartial=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A.SLOW;"video"===e?(c.logger("warn","updateSubscriptionsPartial: ".concat(e," is deprecated. Please switch to 'videoTrack'")),e="videoTrack"):"screen"===e&&(c.logger("warn","updateSubscriptionsPartial: ".concat(e," is deprecated. Please switch to 'screenShareTrack'")),e="screenShareTrack");let n=c.state.updateParticipants(Object.entries(t).reduce((t,i)=>{var n,a;let[s,r]=i;(null===(n=r.dimension)||void 0===n?void 0:n.height)&&(r.dimension.height=Math.ceil(r.dimension.height)),(null===(a=r.dimension)||void 0===a?void 0:a.width)&&(r.dimension.width=Math.ceil(r.dimension.width));let o="videoTrack"===e?"videoDimension":"screenShareTrack"===e?"screenShareDimension":void 0;return o&&(t[s]={[o]:r.dimension}),t},{}));n&&c.updateSubscriptions(n,i)},this.updateSubscriptions=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.SLOW,i=[];for(let t of e)!t.isLocalParticipant&&(t.videoDimension&&t.publishedTracks.includes(R.VIDEO)&&i.push({userId:t.userId,sessionId:t.sessionId,trackType:R.VIDEO,dimension:t.videoDimension}),t.screenShareDimension&&t.publishedTracks.includes(R.SCREEN_SHARE)&&i.push({userId:t.userId,sessionId:t.sessionId,trackType:R.SCREEN_SHARE,dimension:t.screenShareDimension}),t.publishedTracks.includes(R.SCREEN_SHARE_AUDIO)&&i.push({userId:t.userId,sessionId:t.sessionId,trackType:R.SCREEN_SHARE_AUDIO}));c.trackSubscriptionsSubject.next({type:t,data:i})},this.startReportingStatsFor=e=>{var t;return null===(t=this.statsReporter)||void 0===t?void 0:t.startReportingStatsFor(e)},this.stopReportingStatsFor=e=>{var t;return null===(t=this.statsReporter)||void 0===t?void 0:t.stopReportingStatsFor(e)},this.setAudioOutputDevice=e=>{this.sfuClient&&this.state.updateParticipant(this.sfuClient.sessionId,{audioOutputDeviceId:e})},this.setAudioDevice=e=>{this.sfuClient&&this.state.updateParticipant(this.sfuClient.sessionId,{audioDeviceId:e})},this.setVideoDevice=e=>{this.sfuClient&&this.state.updateParticipant(this.sfuClient.sessionId,{videoDeviceId:e})},this.resetReaction=e=>{this.state.updateParticipant(e,{reaction:void 0})},this.setSortParticipantsBy=e=>this.state.setSortParticipantsBy(e),this.updatePublishQuality=async e=>{var t;return null===(t=this.publisher)||void 0===t?void 0:t.updateVideoPublishQuality(e)},this.assertCallJoined=()=>new Promise(e=>{this.state.callingState$.pipe((0,Z.o)(e=>e!==O.JOINED,!0),(0,er.h)(e=>e===O.JOINED)).subscribe(()=>e())}),this.sendReaction=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/reaction"),e),this.blockUser=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/block"),{user_id:e}),this.unblockUser=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/unblock"),{user_id:e}),this.muteSelf=e=>{let t=this.currentUserId;if(t)return this.muteUser(t,e)},this.muteOthers=e=>{let t=i2(e);if(!t)return;let i=[];for(let e of this.state.remoteParticipants)e.publishedTracks.includes(t)&&i.push(e.userId);return this.muteUser(i,e)},this.muteUser=(e,t)=>this.streamClient.post("".concat(this.streamClientBasePath,"/mute_users"),{user_ids:Array.isArray(e)?e:[e],[t]:!0}),this.muteAllUsers=e=>this.streamClient.post("".concat(this.streamClientBasePath,"/mute_users"),{mute_all_users:!0,[e]:!0}),this.startRecording=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/start_recording"),{}),this.stopRecording=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/stop_recording"),{}),this.requestPermissions=async e=>{let{permissions:t}=e;if(!t.every(e=>this.permissionsContext.canRequest(e)))throw Error("You are not allowed to request permissions: ".concat(t.join(", ")));return this.streamClient.post("".concat(this.streamClientBasePath,"/request_permission"),e)},this.grantPermissions=async(e,t)=>this.updateUserPermissions({user_id:e,grant_permissions:t}),this.revokePermissions=async(e,t)=>this.updateUserPermissions({user_id:e,revoke_permissions:t}),this.updateUserPermissions=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/user_permissions"),e),this.goLive=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return c.streamClient.post("".concat(c.streamClientBasePath,"/go_live"),e,t)},this.stopLive=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/stop_live"),{}),this.startHLS=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/start_broadcasting"),{}),this.stopHLS=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/stop_broadcasting"),{}),this.update=async e=>{let t=await this.streamClient.patch("".concat(this.streamClientBasePath),e),{call:i,members:n,own_capabilities:a}=t;return this.state.updateFromCallResponse(i),this.state.setMembers(n),this.state.setOwnCapabilities(a),t},this.endCall=async()=>this.streamClient.post("".concat(this.streamClientBasePath,"/mark_ended")),this.pin=e=>{this.state.updateParticipant(e,{pin:{isLocalPin:!0,pinnedAt:Date.now()}})},this.unpin=e=>{this.state.updateParticipant(e,{pin:void 0})},this.pinForEveryone=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/pin"),e),this.unpinForEveryone=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/unpin"),e),this.queryMembers=e=>this.streamClient.post("/call/members",{...e||{},id:this.id,type:this.type}),this.updateCallMembers=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/members"),e),this.scheduleAutoDrop=()=>{this.dropTimeout&&clearTimeout(this.dropTimeout);let e=this.state.settings$.pipe((0,eo.G)(),(0,ec.b)(e=>{var t;let[i,n]=e;if(!n||!this.clientStore.connectedUser)return;let[a,s]=this.currentUserId===(null===(t=this.state.createdBy)||void 0===t?void 0:t.id)?[null==i?void 0:i.ring.auto_cancel_timeout_ms,n.ring.auto_cancel_timeout_ms]:[null==i?void 0:i.ring.incoming_call_timeout_ms,n.ring.incoming_call_timeout_ms];void 0!==s&&s!==a&&0!==s&&(this.dropTimeout&&clearTimeout(this.dropTimeout),this.dropTimeout=setTimeout(()=>this.leave(),s))}),(0,Z.o)(()=>!!this.clientStore.calls.find(e=>e.cid===this.cid))).subscribe();this.leaveCallHooks.add(()=>{e.closed||e.unsubscribe()})},this.queryRecordings=async e=>{let t=this.streamClientBasePath;return e&&(t="".concat(t,"/").concat(e)),this.streamClient.get("".concat(t,"/recordings"))},this.sendCustomEvent=async e=>this.streamClient.post("".concat(this.streamClientBasePath,"/event"),{custom:e}),this.trackElementVisibility=(e,t,i)=>this.dynascaleManager.trackElementVisibility(e,t,i),this.setViewport=e=>this.dynascaleManager.setViewport(e),this.bindVideoElement=(e,t,i)=>{let n=this.dynascaleManager.bindVideoElement(e,t,i);if(n)return this.leaveCallHooks.add(n),()=>{this.leaveCallHooks.delete(n),n()}},this.bindAudioElement=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"audioTrack",n=c.dynascaleManager.bindAudioElement(e,t,i);if(n)return c.leaveCallHooks.add(n),()=>{c.leaveCallHooks.delete(n),n()}},this.bindCallThumbnailElement=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=()=>{e.src=t.fallbackImageSource||"https://getstream.io/random_svg/?name=x&id=x"},n=nv(c.state.thumbnails$,t=>{if(!t)return;e.addEventListener("error",i);let n=new URL(t.image_url);n.searchParams.set("w",String(e.clientWidth)),n.searchParams.set("h",String(e.clientHeight)),e.src=n.toString()});return()=>{n(),e.removeEventListener("error",i)}},this.type=e,this.id=t,this.cid="".concat(e,":").concat(t),this.ringingSubject=new $.X(o),this.watching=l,this.streamClient=i,this.clientStore=r,this.streamClientBasePath="/call/".concat(this.type,"/").concat(this.id),this.logger=iL(["Call"]);let d=ay.get(e),h=s||d.options.sortParticipantsBy;h&&this.state.setSortParticipantsBy(h),this.state.setMembers(n||[]),this.state.setOwnCapabilities(a||[]),this.state.setCallingState(o?O.RINGING:O.IDLE),this.on("all",e=>{this.state.updateFromEvent(e)}),this.leaveCallHooks.add(n6(this,this.state,this.dispatcher)),this.registerEffects(),this.leaveCallHooks.add(nv(this.trackSubscriptionsSubject.pipe((0,ed.D)(e=>(0,eh.H)(e.type)),(0,Q.U)(e=>e.data)),e=>{var t;return null===(t=this.sfuClient)||void 0===t?void 0:t.updateSubscriptions(e)})),this.camera=new az(this),this.microphone=new aJ(this),this.speaker=new aX,this.screenShare=new a$(this)}}class aZ{constructor(){this.connectionStartTimestamp=null,this.wsTotalFailures=0,this.wsConsecutiveFailures=0,this.instanceClientId=nd()}}let a0=async(e,t)=>{for(let i=0;i<3;i++){try{await z.default.post("https://chat-insights.getstream.io/insights/".concat(e),t)}catch(e){await ns((i+1)*3e3);continue}break}};function a1(e){var t,i,n;let{client:a}=e;return{ready_state:null===(t=e.ws)||void 0===t?void 0:t.readyState,url:e._buildUrl(),api_key:a.key,start_ts:a.insightMetrics.connectionStartTimestamp,end_ts:new Date().getTime(),auth_type:a.getAuthType(),token:a.tokenManager.token,user_id:a.userID,user_details:a._user,device:"browser",client_id:e.connectionID,ws_details:e.ws,ws_consecutive_failures:a.insightMetrics.wsConsecutiveFailures,ws_total_failures:a.insightMetrics.wsTotalFailures,request_id:e.requestID,online:"undefined"!=typeof navigator?null===(i=navigator)||void 0===i?void 0:i.onLine:null,user_agent:"undefined"!=typeof navigator?null===(n=navigator)||void 0===n?void 0:n.userAgent:null,instance_client_id:a.insightMetrics.instanceClientId}}let a2=e=>void 0!==e.code,a3=e=>void 0!==e.error;class a9{async connect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15e3;if(this.isConnecting)throw Error("You've called connect twice, can only attempt 1 connection at the time");this.isDisconnected=!1;try{let e=await this._connect();this.consecutiveFailures=0,this._log("connect() - Established ws connection with healthcheck: ".concat(e))}catch(e){if(this.isHealthy=!1,this.consecutiveFailures+=1,e.code!==no.TOKEN_EXPIRED||this.client.tokenManager.isStatic()){if(!e.isWSFailure)throw Error(JSON.stringify({code:e.code,StatusCode:e.StatusCode,message:e.message,isWSFailure:e.isWSFailure}))}else this._log("connect() - WS failure due to expired token, so going to try to reload token and reconnect"),this._reconnect({refreshToken:!0})}return await this._waitForHealthy(e)}async _waitForHealthy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15e3;return Promise.race([(async()=>{for(let t=0;t<=e;t+=50)try{return await this.connectionOpen}catch(i){if(t===e)throw Error(JSON.stringify({code:i.code,StatusCode:i.StatusCode,message:i.message,isWSFailure:i.isWSFailure}));await ns(50)}})(),(async()=>{throw await ns(e),this.isConnecting=!1,Error(JSON.stringify({code:"",StatusCode:"",message:"initial WS connection could not be established",isWSFailure:!0}))})()])}disconnect(e){let t;this._log("disconnect() - Closing the websocket connection for wsID ".concat(this.wsID)),this.wsID+=1,this.isConnecting=!1,this.isDisconnected=!0,this.healthCheckTimeoutRef&&clearInterval(this.healthCheckTimeoutRef),this.connectionCheckTimeoutRef&&clearInterval(this.connectionCheckTimeoutRef),np(this.onlineStatusChanged),this.isHealthy=!1,this.ws&&this.ws.removeAllListeners&&this.ws.removeAllListeners();let{ws:i}=this;return i&&i.close&&i.readyState===i.OPEN?(t=new Promise(t=>{let n=e=>{this._log("disconnect() - resolving isClosedPromise ".concat(e?"with":"without"," close frame"),{event:e}),t()};i.onclose=n,setTimeout(n,null!=e?e:1e3)}),this._log("disconnect() - Manually closed connection by calling client.disconnect()"),i.close(no.WS_CLOSED_SUCCESS,"Manually closed connection by calling client.disconnect()")):(this._log("disconnect() - ws connection doesn't exist or it is already closed."),t=Promise.resolve()),delete this.ws,t}async _connect(){var e,t,i,n;if(this.isConnecting||this.isDisconnected&&this.client.options.enableWSFallback)return;this.isConnecting=!0,this.requestID=nd(),this.client.insightMetrics.connectionStartTimestamp=new Date().getTime();let a=!1;try{this._log("_connect() - waiting for token"),await this.client.tokenManager.tokenReady(),a=!0}catch(e){}try{a||(this._log("_connect() - tokenProvider failed before, so going to retry"),await this.client.tokenManager.loadToken()),this._setupConnectionPromise();let i=this._buildUrl();this._log("_connect() - Connecting to ".concat(i),{wsURL:i,requestID:this.requestID}),this.ws=new eg.Z(i),this.ws.onopen=this.onopen.bind(this,this.wsID),this.ws.onclose=this.onclose.bind(this,this.wsID),this.ws.onerror=this.onerror.bind(this,this.wsID),this.ws.onmessage=this.onmessage.bind(this,this.wsID);let n=await this.connectionOpen;if(this.isConnecting=!1,n)return this.connectionID=n.connection_id,null===(e=(t=this.client).resolveConnectionId)||void 0===e||e.call(t,this.connectionID),this.client.insightMetrics.wsConsecutiveFailures>0&&this.client.options.enableInsights&&(a0("ws_success_after_failure",a1(this)),this.client.insightMetrics.wsConsecutiveFailures=0),n}catch(e){if(this.isConnecting=!1,this._log("_connect() - Error - ",e),this.client.options.enableInsights){this.client.insightMetrics.wsConsecutiveFailures++,this.client.insightMetrics.wsTotalFailures++;let t={...function(e){let t={};if(!e)return t;try{Object.getOwnPropertyNames(e).forEach(i=>{t[i]=Object.getOwnPropertyDescriptor(e,i)})}catch(e){return{error:"failed to serialize the error"}}return t}(e),...a1(this)};null==a0||a0("ws_fatal",t)}throw null===(i=(n=this.client).rejectConnectionId)||void 0===i||i.call(n),e}}async _reconnect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._log("_reconnect() - Initiating the reconnect"),this.isConnecting||this.isHealthy){this._log("_reconnect() - Abort (1) since already connecting or healthy");return}let t=e.interval;if(t||(t=nl(this.consecutiveFailures)),await ns(t),this.isConnecting||this.isHealthy){this._log("_reconnect() - Abort (2) since already connecting or healthy");return}if(this.isDisconnected&&this.client.options.enableWSFallback){this._log("_reconnect() - Abort (3) since disconnect() is called");return}this._log("_reconnect() - Destroying current WS connection"),this._destroyCurrentWSConnection(),e.refreshToken&&await this.client.tokenManager.loadToken();try{await this._connect(),this._log("_reconnect() - Waiting for recoverCallBack"),this._log("_reconnect() - Finished recoverCallBack"),this.consecutiveFailures=0}catch(e){if(this.isHealthy=!1,this.consecutiveFailures+=1,e.code===no.TOKEN_EXPIRED&&!this.client.tokenManager.isStatic())return this._log("_reconnect() - WS failure due to expired token, so going to try to reload token and reconnect"),this._reconnect({refreshToken:!0});e.isWSFailure&&(this._log("_reconnect() - WS failure, so going to try to reconnect"),this._reconnect())}this._log("_reconnect() - == END ==")}_destroyCurrentWSConnection(){this.wsID+=1;try{var e,t;null===this||void 0===this||null===(e=this.ws)||void 0===e||e.removeAllListeners(),null===this||void 0===this||null===(t=this.ws)||void 0===t||t.close()}catch(e){}}constructor(e){var t=this;this._log=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";t.client.logger(n,"connection:"+e,{...i})},this.setClient=e=>{this.client=e},this._buildUrl=()=>{let e=new URLSearchParams;return e.set("api_key",this.client.key),e.set("stream-auth-type",this.client.getAuthType()),e.set("X-Stream-Client",this.client.getUserAgent()),"".concat(this.client.wsBaseURL,"/connect?").concat(e.toString())},this.onlineStatusChanged=e=>{"offline"===e.type?(this._log("onlineStatusChanged() - Status changing to offline"),this._setHealth(!1,!0)):"online"!==e.type||(this._log("onlineStatusChanged() - Status changing to online. isHealthy: ".concat(this.isHealthy)),this.isHealthy||this._reconnect({interval:10}))},this.onopen=e=>{var t;if(this.wsID!==e)return;let i=this.client.user;if(!i){this.client.logger("error","User not set, can't connect to WS");return}let n=this.client._getToken();if(!n){this.client.logger("error","Token not set, can't connect authenticate");return}let a={token:n,user_details:{id:i.id,name:i.name,image:i.image,custom:i.custom}};this.authenticationSent=!0,null===(t=this.ws)||void 0===t||t.send(JSON.stringify(a)),this._log("onopen() - onopen callback",{wsID:e})},this.onmessage=(e,t)=>{if(this.wsID!==e)return;this._log("onmessage() - onmessage callback",{event:t,wsID:e});let i="string"==typeof t.data?JSON.parse(t.data):null;if(!this.isResolved&&i&&"connection.ok"===i.type){var n,a;if(this.isResolved=!0,i.error){null===(a=this.rejectPromise)||void 0===a||a.call(this,this._errorFromWSEvent(i,!1));return}null===(n=this.resolvePromise)||void 0===n||n.call(this,i),this._setHealth(!0)}if(this.lastEvent=new Date,i&&("health.check"===i.type||"connection.ok"===i.type)&&this.scheduleNextPing(),i&&i.error){let{code:e}=this._errorFromWSEvent(i,!0);this.isHealthy=!1,this.isConnecting=!1,this.consecutiveFailures+=1,e!==no.TOKEN_EXPIRED||this.client.tokenManager.isStatic()||(clearTimeout(this.connectionCheckTimeoutRef),this._log("connect() - WS failure due to expired token, so going to try to reload token and reconnect"),this._reconnect({refreshToken:!0}))}this.client.handleEvent(t),this.scheduleConnectionCheck()},this.onclose=(e,t)=>{var i,n;if(this.wsID===e){if(this._log("onclose() - onclose callback - "+t.code,{event:t,wsID:e}),t.code===no.WS_CLOSED_SUCCESS){let e=Error("WS connection reject with error ".concat(t.reason));e.reason=t.reason,e.code=t.code,e.wasClean=t.wasClean,e.target=t.target,null===(i=this.rejectPromise)||void 0===i||i.call(this,e),this._log("onclose() - WS connection reject with error ".concat(t.reason),{event:t})}else this.consecutiveFailures+=1,this.totalFailures+=1,this._setHealth(!1),this.isConnecting=!1,null===(n=this.rejectPromise)||void 0===n||n.call(this,this._errorFromWSEvent(t)),this._log("onclose() - WS connection closed. Calling reconnect ...",{event:t}),this._reconnect()}},this.onerror=(e,t)=>{var i;this.wsID===e&&(this.consecutiveFailures+=1,this.totalFailures+=1,this._setHealth(!1),this.isConnecting=!1,null===(i=this.rejectPromise)||void 0===i||i.call(this,this._errorFromWSEvent(t)),this._log("onerror() - WS connection resulted into error",{event:t}),this._reconnect())},this._setHealth=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e!==t.isHealthy){if(t.isHealthy=e,t.isHealthy||i){t.client.dispatchEvent({type:"connection.changed",online:t.isHealthy});return}setTimeout(()=>{t.isHealthy||t.client.dispatchEvent({type:"connection.changed",online:t.isHealthy})},5e3)}},this._errorFromWSEvent=function(e){let i,n,a,s=!(arguments.length>1)||void 0===arguments[1]||arguments[1];a2(e)&&(i=e.code,n="unknown",a=e.reason),a3(e)&&(i=e.error.code,n=e.error.StatusCode,a=e.error.message),t._log("_errorFromWSEvent() - WS failed with code ".concat(i),{event:e},"warn");let r=Error("WS failed with code ".concat(i," and reason - ").concat(a));return r.code=i,r.StatusCode=n,r.isWSFailure=s,r},this._setupConnectionPromise=()=>{this.isResolved=!1,this.connectionOpen=new Promise((e,t)=>{this.resolvePromise=e,this.rejectPromise=t})},this.scheduleNextPing=()=>{this.healthCheckTimeoutRef&&clearTimeout(this.healthCheckTimeoutRef),this.healthCheckTimeoutRef=setTimeout(()=>{let e=[{type:"health.check",client_id:this.client.clientID}];try{var t;null===(t=this.ws)||void 0===t||t.send(JSON.stringify(e))}catch(e){}},this.pingInterval)},this.scheduleConnectionCheck=()=>{this.connectionCheckTimeoutRef&&clearTimeout(this.connectionCheckTimeoutRef),this.connectionCheckTimeoutRef=setTimeout(()=>{let e=new Date;this.lastEvent&&e.getTime()-this.lastEvent.getTime()>this.connectionCheckTimeout&&(this._log("scheduleConnectionCheck - going to reconnect"),this._setHealth(!1),this._reconnect())},this.connectionCheckTimeout)},this.client=e,this.consecutiveFailures=0,this.totalFailures=0,this.isConnecting=!1,this.authenticationSent=!1,this.isDisconnected=!1,this.isResolved=!1,this.isHealthy=!1,this.wsID=1,this.lastEvent=null,this.pingInterval=25e3,this.connectionCheckTimeout=this.pingInterval+1e4,nu(this.onlineStatusChanged)}}function a4(e){return"string"==typeof e}let a5=e=>(0,em.JQ)(new Uint8Array(function(e,t){let i=[];if(a4(e)&&t&&a4(e)){for(let n=0,a=e.length;ne.charCodeAt(0)))),a6=e=>{let t={},i=String.fromCharCode,n=e.length,a,s=0,r,o=0,l,c="";for(a=0;a<64;a++)t["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a)]=a;for(r=0;r=8;)((l=s>>>(o-=8)&255)||r2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]&&arguments[3],"string"!=typeof t)throw TypeError("userId should be a string");throw Error("Unable to find jwt crypto, if you are getting this error is probably because you are trying to generate tokens on browser or React Native (or other environment where crypto functions are not available). Please Note: token should only be generated server-side.")}function a7(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object.assign({algorithm:"HS256",noTimestamp:!0},t);return null.sign({server:!0},e,i)}class se{constructor(e){this.setTokenOrProvider=async(e,t,i)=>{this.validateToken(e,t,i),this.user=t,nr(e)&&(this.tokenProvider=e,this.type="provider"),"string"==typeof e&&(this.token=e,this.type="static"),!e&&this.user&&this.secret&&(this.token=a8(this.secret,t.id,{},{}),this.type="static"),await this.loadToken()},this.reset=()=>{this.token=void 0,this.user=void 0,this.loadTokenPromise=null},this.validateToken=(e,t,i)=>{if(!t||!i||e){if(!this.secret&&!e)throw Error("UserWithId token can not be empty");if(e&&"string"!=typeof e&&!nr(e))throw Error("user token should either be a string or a function");if("string"==typeof e){if(i&&""===e)return;let n=function(e){let t=e.split(".");return 3!==t.length?"":JSON.parse(a6(t[1])).user_id}(e);if(null!=e&&(null==n||""===n||!i&&n!==t.id))throw Error("userToken does not have a user_id or is not matching with user.id")}}},this.tokenReady=()=>this.loadTokenPromise,this.loadToken=()=>(this.loadTokenPromise=new Promise(async(e,t)=>{if("static"===this.type)return e(this.token);if(this.tokenProvider&&"string"!=typeof this.tokenProvider){try{this.token=await this.tokenProvider()}catch(e){return t(Error("Call to tokenProvider failed with message: ".concat(e)))}e(this.token)}}),this.loadTokenPromise),this.getToken=()=>{if(this.token||this.user&&!this.token)return this.token;if(this.secret)return a7(this.secret);throw Error("Both secret and user tokens are not set. Either client.connectUser wasn't called or client.disconnect was called")},this.isStatic=()=>"static"===this.type,this.loadTokenPromise=null,e&&(this.secret=e),this.type="static",this.secret&&(this.token=a7(this.secret))}}let st={"-1":{name:"InternalSystemError",retryable:!0},2:{name:"AccessKeyError",retryable:!1},3:{name:"AuthenticationFailedError",retryable:!0},4:{name:"InputError",retryable:!1},6:{name:"DuplicateUsernameError",retryable:!1},9:{name:"RateLimitError",retryable:!0},16:{name:"DoesNotExistError",retryable:!1},17:{name:"NotAllowedError",retryable:!1},18:{name:"EventNotSupportedError",retryable:!1},19:{name:"ChannelFeatureNotSupportedError",retryable:!1},20:{name:"MessageTooLongError",retryable:!1},21:{name:"MultipleNestingLevelError",retryable:!1},22:{name:"PayloadTooBigError",retryable:!1},23:{name:"RequestTimeoutError",retryable:!0},24:{name:"MaxHeaderSizeExceededError",retryable:!1},40:{name:"AuthErrorTokenExpired",retryable:!1},41:{name:"AuthErrorTokenNotValidYet",retryable:!1},42:{name:"AuthErrorTokenUsedBeforeIssuedAt",retryable:!1},43:{name:"AuthErrorTokenSignatureInvalid",retryable:!1},44:{name:"CustomCommandEndpointMissingError",retryable:!1},45:{name:"CustomCommandEndpointCallError",retryable:!0},46:{name:"ConnectionIDNotFoundError",retryable:!1},60:{name:"CoolDownError",retryable:!0},69:{name:"ErrWrongRegion",retryable:!1},70:{name:"ErrQueryChannelPermissions",retryable:!1},71:{name:"ErrTooManyConnections",retryable:!0},99:{name:"AppSuspendedError",retryable:!1}};function si(e){if(!e.code)return!1;let t=st["".concat(e.code)];return!!t&&t.retryable}(w=L||(L={})).Closed="CLOSED",w.Connected="CONNECTED",w.Connecting="CONNECTING",w.Disconnected="DISCONNECTED",w.Init="INIT";class sn{_log(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";this.client.logger(i,"WSConnectionFallback:"+e,{...t})}_setState(e){this._log("_setState() - ".concat(e)),this.state===L.Connecting&&e===L.Connected&&this.client.dispatchEvent({type:"connection.changed",online:!0}),(e===L.Closed||e===L.Disconnected)&&this.client.dispatchEvent({type:"connection.changed",online:!1}),this.state=e}constructor(e){var t=this;this._onlineStatusChanged=e=>{if(this._log("_onlineStatusChanged() - ".concat(e.type)),"offline"===e.type){var t;this._setState(L.Closed),null===(t=this.cancelToken)||void 0===t||t.cancel("disconnect() is called"),this.cancelToken=void 0;return}"online"===e.type&&this.state===L.Closed&&this.connect(!0)},this._req=async(e,t,i)=>{this.cancelToken||e.close||(this.cancelToken=z.default.CancelToken.source());try{var n;let i=await this.client.doAxiosRequest("get",this.client.baseURL.replace(":3030",":8900")+"/longpoll",void 0,{config:{...t,cancelToken:null===(n=this.cancelToken)||void 0===n?void 0:n.token},params:e,publicEndpoint:!0});return this.consecutiveFailures=0,i}catch(n){if(this.consecutiveFailures+=1,i&&si(n))return this._log("_req() - Retryable error, retrying request"),await ns(nl(this.consecutiveFailures)),this._req(e,t,i);throw n}},this._poll=async()=>{for(;this.state===L.Connected;)try{var e;let t=await this._req({},{timeout:3e4},!0);if(null===(e=t.events)||void 0===e?void 0:e.length)for(let e=0;e0&&void 0!==arguments[0]&&arguments[0];if(t.state===L.Connecting){t._log("connect() - connecting already in progress",{reconnect:s},"warn");return}if(t.state===L.Connected){t._log("connect() - already connected and polling",{reconnect:s},"warn");return}t._setState(L.Connecting),t.connectionID=void 0;try{let{event:n}=await t._req({json:t.client._buildWSPayload()},{timeout:8e3},s);return t._setState(L.Connected),t.connectionID=n.connection_id,null===(e=(i=t.client).resolveConnectionId)||void 0===e||e.call(i),t.client.dispatchEvent(n),t._poll(),n}catch(e){throw t._setState(L.Closed),null===(n=(a=t.client).rejectConnectionId)||void 0===n||n.call(a),e}},this.isHealthy=()=>!!this.connectionID&&this.state===L.Connected,this.disconnect=async function(){var e;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2e3;np(t._onlineStatusChanged),t._setState(L.Disconnected),null===(e=t.cancelToken)||void 0===e||e.cancel("disconnect() is called"),t.cancelToken=void 0;let n=t.connectionID;t.connectionID=void 0;try{await t._req({close:!0,connection_id:n},{timeout:i},!1),t._log("disconnect() - Closed connectionID")}catch(e){t._log("disconnect() - Failed",{err:e},"error")}},this.client=e,this.state=L.Init,this.consecutiveFailures=0,nu(this._onlineStatusChanged)}}let sa=iL(["location"]),ss="https://hint.stream-io-video.com/",sr=async function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,t=new AbortController,i=setTimeout(()=>t.abort(),e);try{let e=(await fetch(ss,{method:"HEAD",signal:t.signal})).headers.get("x-amz-cf-pop")||"ERR";return sa("debug","Location header: ".concat(e)),e.substring(0,3)}catch(e){return sa("warn","Failed to get location hint from ".concat(ss),e),"ERR"}finally{clearTimeout(i)}};class so{constructor(e,t){var i,n=this;this.nextRequestAbortController=null,this.devToken=e=>["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",a5(JSON.stringify({user_id:e})),"devtoken"].join("."),this.getAuthType=()=>this.anonymous?"anonymous":"jwt",this.setBaseURL=e=>{this.baseURL=e,this.wsBaseURL=this.baseURL.replace("http","ws").replace(":3030",":8800")},this.getLocationHint=async(e,t)=>{let i=await this.locationHint;return i&&"ERR"!==i?i:(this.locationHint=sr(null!=e?e:this.options.locationHintUrl,null!=t?t:this.options.locationHintTimeout),this.locationHint)},this._getConnectionID=()=>{var e,t;return(null===(e=this.wsConnection)||void 0===e?void 0:e.connectionID)||(null===(t=this.wsFallback)||void 0===t?void 0:t.connectionID)},this._hasConnectionID=()=>!!this._getConnectionID(),this.connectUser=async(e,t)=>{if(!e.id)throw Error('The "id" field on the user is missing');if(this.userID===e.id&&this.setUserPromise)return this.logger("warn","Consecutive calls to connectUser is detected, ideally you should only call this function once in your app."),this.setUserPromise;if(this.userID)throw Error("Use client.disconnect() before trying to connect as a different user. connectUser was called twice.");(this._isUsingServerAuth()||this.node)&&!this.options.allowServerSideConnect&&this.logger("warn",'Please do not use connectUser server side. connectUser impacts MAU and concurrent connection usage and thus your bill. If you have a valid use-case, add "allowServerSideConnect: true" to the client options to disable this warning.'),this.userID=e.id,this.anonymous=!1;let i=this._setToken(e,t,this.anonymous);this._setUser(e);let n=this.openConnection();this.setUserPromise=Promise.all([i,n]).then(e=>e[1]);try{return await this.setUserPromise}catch(e){throw this.persistUserOnConnectionFailure?this.closeConnection():this.disconnectUser(),e}},this._setToken=(e,t,i)=>this.tokenManager.setTokenOrProvider(t,e,i),this._setUser=e=>{this.user=e,this.userID=e.id,this._user={...e}},this.closeConnection=async e=>{var t,i;return null!=this.cleaningIntervalRef&&(clearInterval(this.cleaningIntervalRef),this.cleaningIntervalRef=void 0),await Promise.all([null===(t=this.wsConnection)||void 0===t?void 0:t.disconnect(e),null===(i=this.wsFallback)||void 0===i?void 0:i.disconnect(e)]),Promise.resolve()},this.openConnection=async()=>{var e,t,i;if(!this.userID)throw Error("UserWithId is not set on client, use client.connectUser or client.connectAnonymousUser instead");return(null===(e=this.wsConnection)||void 0===e?void 0:e.isConnecting)&&this.wsPromise?(this.logger("info","client:openConnection() - connection already in progress"),this.wsPromise):((null===(t=this.wsConnection)||void 0===t?void 0:t.isHealthy)||(null===(i=this.wsFallback)||void 0===i?void 0:i.isHealthy()))&&this._hasConnectionID()?(this.logger("info","client:openConnection() - openConnection called twice, healthy connection already exists"),Promise.resolve()):(this.connectionIdPromise=new Promise((e,t)=>{this.resolveConnectionId=e,this.rejectConnectionId=t}),this.clientID="".concat(this.userID,"--").concat(nd()),this.wsPromise=this.connect(),this.wsPromise)},this._normalizeDate=e=>{if(e instanceof Date&&(e=e.toISOString()),""===e)throw Error("Don't pass blank string for since, use null instead if resetting the token revoke");return e},this.disconnectUser=async e=>{this.logger("info","client:disconnect() - Disconnecting the client"),delete this.user,delete this._user,delete this.userID,this.anonymous=!1,await this.closeConnection(e),this.tokenManager.reset(),this.connectionIdPromise=void 0,this.rejectConnectionId=void 0,this.resolveConnectionId=void 0},this.connectGuestUser=async e=>{this.guestUserCreatePromise=this.doAxiosRequest("post","/guest",{user:{...e,role:"guest"}},{publicEndpoint:!0});let t=await this.guestUserCreatePromise;return this.guestUserCreatePromise.finally(()=>this.guestUserCreatePromise=void 0),this.connectUser(t.user,t.access_token)},this.connectAnonymousUser=async(e,t)=>{var i;this.connectionIdPromise=new Promise((e,t)=>{this.resolveConnectionId=e,this.rejectConnectionId=t}),this.anonymous=!0,await this._setToken(e,t,this.anonymous),this._setUser(e),null===(i=this.resolveConnectionId)||void 0===i||i.call(this)},this.on=(e,t)=>{let i=t?e:"all",n=t||e;return i in this.listeners||(this.listeners[i]=[]),this.listeners[i].push(n),()=>{this.off(i,n)}},this.off=(e,t)=>{let i=t?e:"all",n=t||e;i in this.listeners||(this.listeners[i]=[]),this.logger("debug","Removing listener for ".concat(i," event")),this.listeners[i]=this.listeners[i].filter(e=>e!==n)},this._logApiRequest=(e,t,i,n)=>{this.logger("trace","client: ".concat(e," - Request - ").concat(t),{payload:i,config:n})},this._logApiResponse=(e,t,i)=>{this.logger("trace","client:".concat(e," - Response - url: ").concat(t," > status ").concat(i.status),{response:i})},this._logApiError=(e,t,i)=>{this.logger("error","client:".concat(e," - Error - url: ").concat(t),{url:t,error:i})},this.doAxiosRequest=async function(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};a.publicEndpoint||await Promise.all([n.tokenManager.tokenReady(),n.guestUserCreatePromise,n.connectionIdPromise]);let s=n._enrichAxiosOptions(a);try{let a;switch(n._logApiRequest(e,t,i,s),e){case"get":a=await n.axiosInstance.get(t,s);break;case"delete":a=await n.axiosInstance.delete(t,s);break;case"post":a=await n.axiosInstance.post(t,i,s);break;case"put":a=await n.axiosInstance.put(t,i,s);break;case"patch":a=await n.axiosInstance.patch(t,i,s);break;case"options":a=await n.axiosInstance.options(t,s);break;default:throw Error("Invalid request type")}return n._logApiResponse(e,t,a),n.consecutiveFailures=0,n.handleResponse(a)}catch(o){var r;if(o.client_request_id=null===(r=s.headers)||void 0===r?void 0:r["x-client-request-id"],n.consecutiveFailures+=1,o.response){if(n._logApiError(e,t,o.response),o.response.data.code===no.TOKEN_EXPIRED&&!n.tokenManager.isStatic())return n.consecutiveFailures>1&&await ns(nl(n.consecutiveFailures)),await n.tokenManager.loadToken(),await n.doAxiosRequest(e,t,i,a);return n.handleResponse(o.response)}throw n._logApiError(e,t,o),o}},this.get=(e,t)=>this.doAxiosRequest("get",e,null,{params:t}),this.put=(e,t,i)=>this.doAxiosRequest("put",e,t,{params:i}),this.post=(e,t,i)=>this.doAxiosRequest("post",e,t,{params:i}),this.patch=(e,t,i)=>this.doAxiosRequest("patch",e,t,{params:i}),this.delete=(e,t)=>this.doAxiosRequest("delete",e,null,{params:t}),this.errorFromResponse=e=>{let t;return t=new ev("Stream error HTTP code: ".concat(e.status)),e.data&&e.data.code&&((t=Error("Stream error code ".concat(e.data.code,": ").concat(e.data.message))).code=e.data.code),t.response=e,t.status=e.status,t},this.handleResponse=e=>{let t=e.data;if(!e.status||e.status<200||300<=e.status)throw this.errorFromResponse(e);return t},this.dispatchEvent=e=>{e.received_at||(e.received_at=new Date),this.logger("debug","Dispatching event: ".concat(e.type),e),this._callClientListeners(e)},this.handleEvent=e=>{let t=JSON.parse(e.data);this.dispatchEvent(t)},this._callClientListeners=e=>{let t=[];for(let i of(this.listeners.all&&t.push(...this.listeners.all),this.listeners[e.type]&&t.push(...this.listeners[e.type]),t))i(e)},this.connect=async()=>{if(!this.userID||!this._user)throw Error("Call connectUser or connectAnonymousUser before starting the connection");if(!this.wsBaseURL)throw Error("Websocket base url not set");if(!this.clientID)throw Error("clientID is not set");!this.wsConnection&&(this.options.warmUp||this.options.enableInsights)&&this._sayHi(),this.options.wsConnection&&this.node?(this.options.wsConnection.setClient(this),this.wsConnection=this.options.wsConnection):this.wsConnection=new a9(this);try{if(this.wsFallback)return await this.wsFallback.connect();return this.logger("info","StreamClient.connect: this.wsConnection.connect()"),await this.wsConnection.connect(this.options.enableWSFallback?this.defaultWSTimeoutWithFallback:this.defaultWSTimeout)}catch(e){if(this.options.enableWSFallback&&function(e){if("boolean"==typeof e.isWSFailure)return e.isWSFailure;try{return JSON.parse(e.message).isWSFailure}catch(e){return!1}}(e)&&function(e){let t="undefined"!=typeof navigator?navigator:"undefined"!=typeof window&&window.navigator?window.navigator:void 0;return t?"boolean"!=typeof t.onLine||t.onLine:(e("warn","isOnline failed to access window.navigator and assume browser is online"),!0)}(this.logger))return this.logger("warn","client:connect() - WS failed, fallback to longpoll"),this.dispatchEvent({type:"transport.changed",mode:"longpoll"}),this.wsConnection._destroyCurrentWSConnection(),this.wsConnection.disconnect().then(),this.wsFallback=new sn(this),await this.wsFallback.connect();throw e}},this._sayHi=()=>{let e=nd(),t={headers:q.uu.from({"x-client-request-id":e})};this.doAxiosRequest("get",this.baseURL+"/hi",null,t).catch(t=>{this.options.enableInsights&&a0("http_hi_failed",{api_key:this.key,err:t,client_request_id:e})})},this.getUserAgent=()=>this.userAgent||"stream-video-javascript-client-".concat(this.node?"node":"browser","-").concat("0.3.36"),this.setUserAgent=e=>{this.userAgent=e},this._isUsingServerAuth=()=>!!this.secret,this._enrichAxiosOptions=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{params:{},headers:{},config:{}},i=t.publicEndpoint&&!n.user?void 0:n._getToken(),a=null;return null!==n.nextRequestAbortController&&(a=n.nextRequestAbortController.signal,n.nextRequestAbortController=null),(null===(e=t.headers)||void 0===e?void 0:e["x-client-request-id"])||(t.headers={...t.headers,"x-client-request-id":nd()}),{params:{user_id:n.userID,connection_id:n._getConnectionID(),api_key:n.key,...t.params},headers:{...i?{Authorization:i}:void 0,"stream-auth-type":t.publicEndpoint&&!n.user?"anonymous":n.getAuthType(),"X-Stream-Client":n.getUserAgent(),...t.headers},...a?{signal:a}:{},...t.config,...n.options.axiosRequestConfig}},this._getToken=()=>this.tokenManager?this.tokenManager.getToken():null,this._buildWSPayload=e=>JSON.stringify({user_id:this.userID,user_details:this._user,client_request_id:e}),this.createAbortControllerForNextRequest=()=>this.nextRequestAbortController=new AbortController,this.createToken=(e,t,i,n)=>{if(null==this.secret)throw Error("tokens can only be created server-side using the API Secret");let a={};return t&&(a.exp=t),i&&(a.iat=i),n&&(a.call_cids=n),a8(this.secret,e,a,{})},this.key=e,this.listeners={},this.secret=null==t?void 0:t.secret;let a=t||{browser:"undefined"!=typeof window};this.browser=a.browser||"undefined"!=typeof window,this.node=!this.browser,this.browser&&(this.locationHint=sr(null==t?void 0:t.locationHintUrl,null==t?void 0:t.locationHintTimeout)),this.options={timeout:5e3,withCredentials:!1,warmUp:!1,...a},this.node&&!this.options.httpsAgent&&(this.options.httpsAgent=new null.Agent({keepAlive:!0,keepAliveMsecs:3e3})),this.setBaseURL(this.options.baseURL||"https://video.stream-io-api.com/video"),void 0!==ef&&ef.env.STREAM_LOCAL_TEST_RUN&&this.setBaseURL("http://localhost:3030/video"),void 0!==ef&&ef.env.STREAM_LOCAL_TEST_HOST&&this.setBaseURL("http://".concat(ef.env.STREAM_LOCAL_TEST_HOST,"/video")),this.axiosInstance=z.default.create({...this.options,baseURL:this.baseURL}),this.wsConnection=null,this.wsPromise=null,this.setUserPromise=null,this.anonymous=!1,this.persistUserOnConnectionFailure=null===(i=this.options)||void 0===i?void 0:i.persistUserOnConnectionFailure,this.tokenManager=new se(this.secret),this.consecutiveFailures=0,this.insightMetrics=new aZ,this.defaultWSTimeoutWithFallback=6e3,this.defaultWSTimeout=15e3,this.logger=nr(a.logger)?a.logger:()=>null}}class sl{get state(){return this.readOnlyStateStore}async connectUser(e,t){var i;if("anonymous"===e.type)return e.id="!anon",this.connectAnonymousUser(e,t);let n=()=>this.streamClient.connectUser(e,t);"guest"===e.type&&(n=async()=>this.streamClient.connectGuestUser(e)),this.connectionPromise=this.disconnectionPromise?this.disconnectionPromise.then(()=>n()):n(),null===(i=this.connectionPromise)||void 0===i||i.finally(()=>this.connectionPromise=void 0);let a=await this.connectionPromise;return(null==a?void 0:a.me)&&this.writeableStateStore.setConnectedUser(a.me),this.eventHandlersToUnregister.push(this.on("connection.changed",e=>{if(e.online){let e=this.writeableStateStore.calls.filter(e=>e.watching).map(e=>e.cid);this.logger("info","Rewatching calls after connection changed ".concat(e.join(", "))),e.length>0&&this.queryCalls({watch:!0,filter_conditions:{cid:{$in:e}},sort:[{field:"cid",direction:1}]}).catch(e=>{this.logger("error","Failed to re-watch calls",e)})}})),this.eventHandlersToUnregister.push(this.on("call.created",t=>{if("call.created"!==t.type)return;let{call:i,members:n}=t;if(e.id===i.created_by.id){this.logger("warn","Received `call.created` sent by the current user");return}this.logger("info","New call created and registered: ".concat(i.cid));let a=new aY({streamClient:this.streamClient,type:i.type,id:i.id,members:n,clientStore:this.writeableStateStore});a.state.updateFromCallResponse(i),this.writeableStateStore.registerCall(a)})),this.eventHandlersToUnregister.push(this.on("call.ring",async t=>{if("call.ring"!==t.type)return;let{call:i,members:n}=t;if(e.id===i.created_by.id){this.logger("debug","Received `call.ring` sent by the current user so ignoring the event");return}let a=this.writeableStateStore.findCall(i.type,i.id);await (null==a?void 0:a.leave());let s=new aY({streamClient:this.streamClient,type:i.type,id:i.id,members:n,clientStore:this.writeableStateStore,ringing:!0});s.state.updateFromCallResponse(i),await s.get(),this.writeableStateStore.registerCall(s)})),a}async addVoipDevice(e,t,i,n){return await this.addDevice(e,t,i,n,!0)}constructor(e,t){var i,n,a=this;this.logLevel="warn",this.eventHandlersToUnregister=[],this.disconnectUser=async e=>{if(!this.streamClient.user&&!this.connectionPromise)return;let t=()=>this.streamClient.disconnectUser(e);this.disconnectionPromise=this.connectionPromise?this.connectionPromise.then(()=>t()):t(),this.disconnectionPromise.finally(()=>this.disconnectionPromise=void 0),await this.disconnectionPromise,this.eventHandlersToUnregister.forEach(e=>e()),this.eventHandlersToUnregister=[],this.writeableStateStore.setConnectedUser(void 0)},this.on=(e,t)=>this.streamClient.on(e,t),this.off=(e,t)=>this.streamClient.off(e,t),this.call=(e,t)=>new aY({streamClient:this.streamClient,id:t,type:e,clientStore:this.writeableStateStore}),this.createGuestUser=async e=>this.streamClient.doAxiosRequest("post","/guest",e,{publicEndpoint:!0}),this.queryCalls=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=await a.streamClient.post("/calls",e),i=t.calls.map(t=>{let i=new aY({streamClient:a.streamClient,id:t.call.id,type:t.call.type,members:t.members,ownCapabilities:t.own_capabilities,watching:e.watch,clientStore:a.writeableStateStore});return i.state.updateFromCallResponse(t.call),e.watch&&a.writeableStateStore.registerCall(i),i});return{...t,calls:i}},this.edges=async()=>this.streamClient.get("/edges"),this.addDevice=async(e,t,i,n,a)=>await this.streamClient.post("/devices",{id:e,push_provider:t,voip_token:a,...null!=n?{user_id:n}:{},...null!=i?{push_provider_name:i}:{}}),this.getDevices=async e=>await this.streamClient.get("/devices",e?{user_id:e}:{}),this.removeDevice=async(e,t)=>await this.streamClient.delete("/devices",{id:e,...t?{user_id:t}:{}}),this.onRingingCall=async e=>{let t=this.readOnlyStateStore.calls.find(t=>t.cid===e&&t.ringing);if(!t){let[i,n]=e.split(":");t=new aY({streamClient:this.streamClient,type:i,id:n,clientStore:this.writeableStateStore,ringing:!0}),await t.get()}return t},this.connectAnonymousUser=async(e,t)=>{let i=()=>this.streamClient.connectAnonymousUser(e,t);return this.connectionPromise=this.disconnectionPromise?this.disconnectionPromise.then(()=>i()):i(),this.connectionPromise.finally(()=>this.connectionPromise=void 0),this.connectionPromise};let s=iN,r="warn";if("string"==typeof e?(r=(null==t?void 0:t.logLevel)||r,s=(null==t?void 0:t.logger)||s):(r=(null===(i=e.options)||void 0===i?void 0:i.logLevel)||r,s=(null===(n=e.options)||void 0===n?void 0:n.logger)||s),iA(s,r),this.logger=iL(["client"]),"string"==typeof e)this.streamClient=new so(e,{persistUserOnConnectionFailure:!0,...t,logLevel:r,logger:this.logger});else{this.streamClient=new so(e.apiKey,{persistUserOnConnectionFailure:!0,...e.options,logLevel:r,logger:this.logger});let t=iq();t&&this.streamClient.setUserAgent(this.streamClient.getUserAgent()+"-video-".concat(D[t.type].toLowerCase(),"-sdk-").concat(t.major,".").concat(t.minor,".").concat(t.patch))}if(this.writeableStateStore=new nw,this.readOnlyStateStore=new nT(this.writeableStateStore),"string"!=typeof e){let t=e.user,i=e.token||e.tokenProvider;t&&this.connectUser(t,i)}}}}}]); \ No newline at end of file diff --git a/static/chunks/d362c049.93b10acb34b885e3.js b/static/chunks/d362c049.93b10acb34b885e3.js new file mode 100644 index 0000000000000000000000000000000000000000..3810b5b198bb592c1e66de5bfcf042b83daec792 --- /dev/null +++ b/static/chunks/d362c049.93b10acb34b885e3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[833],{5682:function(t){var e,r,n,i,a;(e=t.exports).foldLength=75,e.newLineChar="\r\n",e.helpers={updateTimezones:function(t){var r,n,i,a,s,o;if(!t||"vcalendar"!==t.name)return t;for(s=0,r=t.getAllSubcomponents(),n=[],i={};s0)||"\\"!==t[r-1])return r;r+=1}return -1},binsearchInsert:function(t,e,r){if(!t.length)return 0;for(var n,i,a=0,s=t.length-1;a<=s;)if((i=r(e,t[n=a+Math.floor((s-a)/2)]))<0)s=n-1;else if(i>0)a=n+1;else break;return i<0?n:i>0?n+1:n},dumpn:function(){e.debug&&("undefined"!=typeof console&&"log"in console?e.helpers.dumpn=function(t){console.log(t)}:e.helpers.dumpn=function(t){dump(t+"\n")},e.helpers.dumpn(arguments[0]))},clone:function(t,r){if(!t||"object"!=typeof t)return t;if(t instanceof Date)return new Date(t.getTime());if("clone"in t)return t.clone();if(Array.isArray(t)){for(var n=[],i=0;i65535?2:1:(r+=e.newLineChar+" "+n.substring(0,i),n=n.substring(i),i=a=0)}return r.substr(e.newLineChar.length+1)},pad2:function(t){switch("string"!=typeof t&&("number"==typeof t&&(t=parseInt(t)),t=String(t)),t.length){case 0:return"00";case 1:return"0"+t;default:return t}},trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)},inherits:function(t,r,n){function i(){}i.prototype=t.prototype,r.prototype=new i,n&&e.helpers.extend(n,r.prototype)},extend:function(t,e){for(var r in t){var n=Object.getOwnPropertyDescriptor(t,r);n&&!Object.getOwnPropertyDescriptor(e,r)&&Object.defineProperty(e,r,n)}return e}},e.design=function(){"use strict";var t=/\\\\|\\,|\\[Nn]/g,r=/\\|,|\n/g;function n(t,e){return{matches:/.*/,fromICAL:function(e,r){var n;return n=t,-1===e.indexOf("\\")?e:(r&&(n=RegExp(n.source+"|\\\\"+r)),e.replace(n,m))},toICAL:function(t,r){var n=e;return r&&(n=RegExp(n.source+"|"+r)),t.replace(n,function(t){switch(t){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return t}})}}}var i={defaultType:"text"},a={defaultType:"text",multiValue:","},s={defaultType:"text",structuredValue:";"},o={defaultType:"integer"},u={defaultType:"date-time",allowedTypes:["date-time","date"]},h={defaultType:"date-time"},c={defaultType:"uri"},l={defaultType:"utc-offset"},d={defaultType:"recur"},f={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function m(t){switch(t){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return t}}var y={categories:a,url:c,version:i,uid:i},T={boolean:{values:["TRUE","FALSE"],fromICAL:function(t){return"TRUE"===t},toICAL:function(t){return t?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(t){var r=parseFloat(t);return e.helpers.isStrictlyNaN(r)?0:r},toICAL:function(t){return String(t)}},integer:{fromICAL:function(t){var r=parseInt(t);return e.helpers.isStrictlyNaN(r)?0:r},toICAL:function(t){return String(t)}},"utc-offset":{toICAL:function(t){return t.length<7?t.substr(0,3)+t.substr(4,2):t.substr(0,3)+t.substr(4,2)+t.substr(7,2)},fromICAL:function(t){return t.length<6?t.substr(0,3)+":"+t.substr(3,2):t.substr(0,3)+":"+t.substr(3,2)+":"+t.substr(5,2)},decorate:function(t){return e.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}},_=e.helpers.extend(T,{text:n(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(t){return e.Binary.fromString(t)},undecorate:function(t){return t.toString()}},"cal-address":{},date:{decorate:function(t,r){return E.strict?e.Time.fromDateString(t,r):e.Time.fromString(t,r)},undecorate:function(t){return t.toString()},fromICAL:function(t){return!E.strict&&t.length>=15?_["date-time"].fromICAL(t):t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2)},toICAL:function(t){var e=t.length;return 10==e?t.substr(0,4)+t.substr(5,2)+t.substr(8,2):e>=19?_["date-time"].toICAL(t):t}},"date-time":{fromICAL:function(t){if(!E.strict&&8==t.length)return _.date.fromICAL(t);var e=t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2)+"T"+t.substr(9,2)+":"+t.substr(11,2)+":"+t.substr(13,2);return t[15]&&"Z"===t[15]&&(e+="Z"),e},toICAL:function(t){var e=t.length;if(10==e&&!E.strict)return _.date.toICAL(t);if(!(e>=19))return t;var r=t.substr(0,4)+t.substr(5,2)+t.substr(8,5)+t.substr(14,2)+t.substr(17,2);return t[19]&&"Z"===t[19]&&(r+="Z"),r},decorate:function(t,r){return E.strict?e.Time.fromDateTimeString(t,r):e.Time.fromString(t,r)},undecorate:function(t){return t.toString()}},duration:{decorate:function(t){return e.Duration.fromString(t)},undecorate:function(t){return t.toString()}},period:{fromICAL:function(t){var r=t.split("/");return r[0]=_["date-time"].fromICAL(r[0]),e.Duration.isValueString(r[1])||(r[1]=_["date-time"].fromICAL(r[1])),r},toICAL:function(t){return E.strict||10!=t[0].length?t[0]=_["date-time"].toICAL(t[0]):t[0]=_.date.toICAL(t[0]),e.Duration.isValueString(t[1])||(E.strict||10!=t[1].length?t[1]=_["date-time"].toICAL(t[1]):t[1]=_.date.toICAL(t[1])),t.join("/")},decorate:function(t,r){return e.Period.fromJSON(t,r,!E.strict)},undecorate:function(t){return t.toJSON()}},recur:{fromICAL:function(t){return e.Recur._stringToData(t,!0)},toICAL:function(t){var r="";for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];"until"==n?i=i.length>10?_["date-time"].toICAL(i):_.date.toICAL(i):"wkst"==n?"number"==typeof i&&(i=e.Recur.numericDayToIcalDay(i)):Array.isArray(i)&&(i=i.join(",")),r+=n.toUpperCase()+"="+i+";"}return r.substr(0,r.length-1)},decorate:function(t){return e.Recur.fromData(t)},undecorate:function(t){return t.toJSON()}},time:{fromICAL:function(t){if(t.length<6)return t;var e=t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2);return"Z"===t[6]&&(e+="Z"),e},toICAL:function(t){if(t.length<8)return t;var e=t.substr(0,2)+t.substr(3,2)+t.substr(6,2);return"Z"===t[8]&&(e+="Z"),e}}}),v=e.helpers.extend(y,{action:i,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:i,class:i,comment:i,completed:h,contact:i,created:h,description:i,dtend:u,dtstamp:h,dtstart:u,due:u,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:d,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":h,location:i,method:i,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:i,"related-to":i,repeat:o,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(t){return -1!==t.indexOf("/")?"period":-1===t.indexOf("T")?"date":"date-time"}},"recurrence-id":u,resources:a,"request-status":s,rrule:d,sequence:o,status:i,summary:i,transp:i,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:l,tzoffsetto:l,tzurl:c,tzid:i,tzname:i}),g=e.helpers.extend(T,{text:n(t,r),uri:n(t,r),date:{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date")},undecorate:function(t){return t.toString()},fromICAL:function(t){return 8==t.length?_.date.fromICAL(t):"-"==t[0]&&6==t.length?t.substr(0,4)+"-"+t.substr(4):t},toICAL:function(t){return 10==t.length?_.date.toICAL(t):"-"==t[0]&&7==t.length?t.substr(0,4)+t.substr(5):t}},time:{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString("T"+t,"time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=g.time._splitZone(t,!0),r=e[0],n=e[1];return 6==n.length?n=n.substr(0,2)+":"+n.substr(2,2)+":"+n.substr(4,2):4==n.length&&"-"!=n[0]?n=n.substr(0,2)+":"+n.substr(2,2):5==n.length&&(n=n.substr(0,3)+":"+n.substr(3,2)),5==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+":"+r.substr(3)),n+r},toICAL:function(t){var e=g.time._splitZone(t),r=e[0],n=e[1];return 8==n.length?n=n.substr(0,2)+n.substr(3,2)+n.substr(6,2):5==n.length&&"-"!=n[0]?n=n.substr(0,2)+n.substr(3,2):6==n.length&&(n=n.substr(0,3)+n.substr(4,2)),6==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+r.substr(4)),n+r},_splitZone:function(t,e){var r,n,i=t.length-1,a=t.length-(e?5:6),s=t[a];return"Z"==t[i]?(r=t[i],n=t.substr(0,i)):t.length>6&&("-"==s||"+"==s)?(r=t.substr(a),n=t.substr(0,a)):(r="",n=t),[r,n]}},"date-time":{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date-time")},undecorate:function(t){return t.toString()},fromICAL:function(t){return g["date-and-or-time"].fromICAL(t)},toICAL:function(t){return g["date-and-or-time"].toICAL(t)}},"date-and-or-time":{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date-and-or-time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=t.split("T");return(e[0]?g.date.fromICAL(e[0]):"")+(e[1]?"T"+g.time.fromICAL(e[1]):"")},toICAL:function(t){var e=t.split("T");return g.date.toICAL(e[0])+(e[1]?"T"+g.time.toICAL(e[1]):"")}},timestamp:_["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/}}),D=e.helpers.extend(y,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:f,bday:f,caladruri:c,caluri:c,clientpidmap:s,email:i,fburl:c,fn:i,gender:s,geo:c,impp:c,key:c,kind:i,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:a,note:i,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:i,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:i,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:i}),Y=e.helpers.extend(T,{binary:_.binary,date:g.date,"date-time":g["date-time"],"phone-number":{},uri:_.uri,text:_.text,time:_.time,vcard:_.text,"utc-offset":{toICAL:function(t){return t.substr(0,7)},fromICAL:function(t){return t.substr(0,7)},decorate:function(t){return e.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}}),b=e.helpers.extend(y,{fn:i,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:a,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return -1===t.indexOf("T")?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:i,tel:{defaultType:"phone-number"},email:i,mailer:i,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:i,role:i,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:s,note:a,prodid:i,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return -1===t.indexOf("T")?"date":"date-time"}},"sort-string":i,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:i,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),O={value:_,param:{cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}},property:v},A={value:g,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},property:D},S={value:Y,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},property:b},E={strict:!0,defaultSet:O,defaultType:"unknown",components:{vcard:A,vcard3:S,vevent:O,vtodo:O,vjournal:O,valarm:O,vtimezone:O,daylight:O,standard:O},icalendar:O,vcard:A,vcard3:S,getDesignSet:function(t){return t&&t in E.components?E.components[t]:E.defaultSet}};return E}(),e.stringify=function(){"use strict";var t="unknown",r=e.design,n=e.helpers;function i(t){"string"==typeof t[0]&&(t=[t]);for(var e=0,r=t.length,n="";e0&&!("version"===t[1][0][0]&&"4.0"===t[1][0][3])&&(h="vcard3"),e=e||r.getDesignSet(h);o1)throw new i("invalid ical body. component began but did not end");return e=null,1==r.length?r[0]:r}i.prototype=Error.prototype,a.property=function(t,e){var n={component:[[],[]],designSet:e||r.defaultSet};return a._handleContentLine(t,n),n.component[1][0]},a.component=function(t){return a(t)},a.ParserError=i,a._handleContentLine=function(t,e){var n,s,o,u,h,c,l,d,f=t.indexOf(":"),m=t.indexOf(";"),y={};if(-1!==m&&-1!==f&&m>f&&(m=-1),-1!==m){if(o=t.substring(0,m).toLowerCase(),-1==(h=a._parseParameters(t.substring(m),0,e.designSet))[2])throw new i("Invalid parameters in '"+t+"'");if(y=h[0],n=h[1].length+h[2]+m,-1!==(s=t.substring(n).indexOf(":")))u=t.substring(n+s+1);else throw new i("Missing parameter value in '"+t+"'")}else if(-1!==f){if(o=t.substring(0,f).toLowerCase(),u=t.substring(f+1),"begin"===o){var T=[u.toLowerCase(),[],[]];1===e.stack.length?e.component.push(T):e.component[2].push(T),e.stack.push(e.component),e.component=T,e.designSet||(e.designSet=r.getDesignSet(e.component[0]));return}if("end"===o){e.component=e.stack.pop();return}}else throw new i('invalid line (no token ";" or ":") "'+t+'"');var _=!1,v=!1;o in e.designSet.property&&("multiValue"in(l=e.designSet.property[o])&&(_=l.multiValue),"structuredValue"in l&&(v=l.structuredValue),u&&"detectType"in l&&(c=l.detectType(u))),c||(c="value"in y?y.value.toLowerCase():l?l.defaultType:"unknown"),delete y.value,_&&v?(u=a._parseMultiValue(u,v,c,[],_,e.designSet,v),d=[o,y,c,u]):_?(d=[o,y,c],a._parseMultiValue(u,_,c,d,null,e.designSet,!1)):(u=v?a._parseMultiValue(u,v,c,[],null,e.designSet,v):a._parseValue(u,c,e.designSet,!1),d=[o,y,c,u]),"vcard"!==e.component[0]||0!==e.component[1].length||"version"===o&&"4.0"===u||(e.designSet=r.getDesignSet("vcard3")),e.component[1].push(d)},a._parseValue=function(t,e,r,n){return e in r.value&&"fromICAL"in r.value[e]?r.value[e].fromICAL(t,n):t},a._parseParameters=function(t,e,r){for(var s,o,u,h,c,l,d=e,f=0,m={},y=-1;!1!==f&&-1!==(f=n.unescapedIndexOf(t,"=",f+1));){if(0==(h=t.substr(d+1,f-d-1)).length)throw new i("Empty parameter name in '"+t+"'");if(c=h.toLowerCase(),u=!1,o=!1,s=c in r.param&&r.param[c].valueType?r.param[c].valueType:"text",c in r.param&&(o=r.param[c].multiValue,r.param[c].multiValueSeparateDQuote&&(u=a._rfc6868Escape('"'+o+'"'))),'"'===t[f+1]){if(y=f+2,f=n.unescapedIndexOf(t,'"',y),o&&-1!=f)for(var T=!0;T;)t[f+1]==o&&'"'==t[f+2]?f=n.unescapedIndexOf(t,'"',f+3):T=!1;if(-1===f)throw new i('invalid line (no matching double quote) "'+t+'"');l=t.substr(y,f-y),-1===(d=n.unescapedIndexOf(t,";",f))&&(f=!1)}else{y=f+1;var _=n.unescapedIndexOf(t,";",y),v=n.unescapedIndexOf(t,":",y);-1!==v&&_>v?(_=v,f=!1):-1===_?(_=-1===v?t.length:v,f=!1):(d=_,f=_),l=t.substr(y,_-y)}if(l=a._rfc6868Escape(l),o){var g=u||o;l=a._parseMultiValue(l,g,s,[],null,r)}else l=a._parseValue(l,s,r);o&&c in m?Array.isArray(m[c])?m[c].push(l):m[c]=[m[c],l]:m[c]=l}return[m,l,y]},a._rfc6868Escape=function(t){return t.replace(/\^['n^]/g,function(t){return s[t]})};var s={"^'":'"',"^n":"\n","^^":"^"};return a._parseMultiValue=function(t,e,r,i,s,o,u){var h,c=0,l=0;if(0===e.length)return t;for(;-1!==(c=n.unescapedIndexOf(t,e,l));)h=t.substr(l,c-l),h=s?a._parseMultiValue(h,s,r,[],null,o,u):a._parseValue(h,r,o,u),i.push(h),l=c+e.length;return h=t.substr(l),h=s?a._parseMultiValue(h,s,r,[],null,o,u):a._parseValue(h,r,o,u),i.push(h),1==i.length?i[0]:i},a._eachLine=function(e,r){var n,i,a,s=e.length,o=e.search(t),u=o;do a=(u=e.indexOf("\n",o)+1)>1&&"\r"===e[u-2]?2:1,0===u&&(u=s,a=0)," "===(i=e[o])||" "===i?n+=e.substr(o+1,u-o-(a+1)):(n&&r(null,n),n=e.substr(o,u-o-a)),o=u;while(u!==s);(n=n.trim()).length&&r(null,n)},a}(),e.Component=function(){"use strict";function t(t,e){"string"==typeof t&&(t=[t,[],[]]),this.jCal=t,this.parent=e||null}return t.prototype={_hydratedPropertyCount:0,_hydratedComponentCount:0,get name(){return this.jCal[0]},get _designSet(){return this.parent&&this.parent._designSet||e.design.getDesignSet(this.name)},_hydrateComponent:function(e){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[e])return this._components[e];var r=new t(this.jCal[2][e],this);return this._hydratedComponentCount++,this._components[e]=r},_hydrateProperty:function(t){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[t])return this._properties[t];var r=new e.Property(this.jCal[1][t],this);return this._hydratedPropertyCount++,this._properties[t]=r},getFirstSubcomponent:function(t){if(t){for(var e=0,r=this.jCal[2],n=r.length;e=0;a--)r&&i[a][0]!==r||this._removeObjectByIndex(t,n,a)},addSubcomponent:function(t){this._components||(this._components=[],this._hydratedComponentCount=0),t.parent&&t.parent.removeSubcomponent(t);var e=this.jCal[2].push(t.jCal);return this._components[e-1]=t,this._hydratedComponentCount++,t.parent=this,t},removeSubcomponent:function(t){var e=this._removeObject(2,"_components",t);return e&&this._hydratedComponentCount--,e},removeAllSubcomponents:function(t){var e=this._removeAllObjects(2,"_components",t);return this._hydratedComponentCount=0,e},addProperty:function(t){if(!(t instanceof e.Property))throw TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);var r=this.jCal[1].push(t.jCal);return this._properties[r-1]=t,this._hydratedPropertyCount++,t.parent=this,t},addPropertyWithValue:function(t,r){var n=new e.Property(t);return n.setValue(r),this.addProperty(n),n},updatePropertyWithValue:function(t,e){var r=this.getFirstProperty(t);return r?r.setValue(e):r=this.addPropertyWithValue(t,e),r},removeProperty:function(t){var e=this._removeObject(1,"_properties",t);return e&&this._hydratedPropertyCount--,e},removeAllProperties:function(t){var e=this._removeAllObjects(1,"_properties",t);return this._hydratedPropertyCount=0,e},toJSON:function(){return this.jCal},toString:function(){return e.stringify.component(this.jCal,this._designSet)}},t.fromString=function(r){return new t(e.parse.component(r))},t}(),e.Property=function(){"use strict";var t=e.design;function r(e,r){this._parent=r||null,"string"==typeof e?(this.jCal=[e,{},t.defaultType],this.jCal[2]=this.getDefaultType()):this.jCal=e,this._updateType()}return r.prototype={get type(){return this.jCal[2]},get name(){return this.jCal[0]},get parent(){return this._parent},set parent(p){var n=!this._parent||p&&p._designSet!=this._parent._designSet;return this._parent=p,this.type==t.defaultType&&n&&(this.jCal[2]=this.getDefaultType(),this._updateType()),p},get _designSet(){return this.parent?this.parent._designSet:t.defaultSet},_updateType:function(){var t=this._designSet;this.type in t.value&&(t.value[this.type],"decorate"in t.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in t.property&&(this.isMultiValue="multiValue"in t.property[this.name],this.isStructuredValue="structuredValue"in t.property[this.name]))},_hydrateValue:function(t){return this._values&&this._values[t]?this._values[t]:this.jCal.length<=3+t?null:this.isDecorated?(this._values||(this._values=[]),this._values[t]=this._decorate(this.jCal[3+t])):this.jCal[3+t]},_decorate:function(t){return this._designSet.value[this.type].decorate(t,this)},_undecorate:function(t){return this._designSet.value[this.type].undecorate(t,this)},_setDecoratedValue:function(t,e){this._values||(this._values=[]),"object"==typeof t&&"icaltype"in t?(this.jCal[3+e]=this._undecorate(t),this._values[e]=t):(this.jCal[3+e]=t,this._values[e]=this._decorate(t))},getParameter:function(t){return t in this.jCal[1]?this.jCal[1][t]:void 0},getFirstParameter:function(t){var e=this.getParameter(t);return Array.isArray(e)?e[0]:e},setParameter:function(t,e){var r=t.toLowerCase();"string"==typeof e&&r in this._designSet.param&&"multiValue"in this._designSet.param[r]&&(e=[e]),this.jCal[1][t]=e},removeParameter:function(t){delete this.jCal[1][t]},getDefaultType:function(){var e=this.jCal[0],r=this._designSet;if(e in r.property){var n=r.property[e];if("defaultType"in n)return n.defaultType}return t.defaultType},resetType:function(t){this.removeAllValues(),this.jCal[2]=t,this._updateType()},getFirstValue:function(){return this._hydrateValue(0)},getValues:function(){var t=this.jCal.length-3;if(t<1)return[];for(var e=0,r=[];e0&&"object"==typeof t[0]&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;rr)-(r>e)},_normalize:function(){for(var t=this.toSeconds(),e=this.factor;t<-43200;)t+=97200;for(;t>50400;)t-=97200;this.fromSeconds(t),0==t&&(this.factor=e)},toICALString:function(){return e.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+e.helpers.pad2(this.hours)+":"+e.helpers.pad2(this.minutes)}},t.fromString=function(t){var r={};return r.factor="+"===t[0]?1:-1,r.hours=e.helpers.strictParseInt(t.substr(1,2)),r.minutes=e.helpers.strictParseInt(t.substr(4,2)),new e.UtcOffset(r)},t.fromSeconds=function(e){var r=new t;return r.fromSeconds(e),r},t}(),e.Binary=function(){function t(t){this.value=t}return t.prototype={icaltype:"binary",decodeValue:function(){return this._b64_decode(this.value)},setEncodedValue:function(t){this.value=this._b64_encode(t)},_b64_encode:function(t){var e,r,n,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,u=0,h="",c=[];if(!t)return t;do e=(a=t.charCodeAt(o++)<<16|t.charCodeAt(o++)<<8|t.charCodeAt(o++))>>18&63,r=a>>12&63,n=a>>6&63,i=63&a,c[u++]=s.charAt(e)+s.charAt(r)+s.charAt(n)+s.charAt(i);while(o>16&255,r=o>>8&255,n=255&o,64==a?l[c++]=String.fromCharCode(e):64==s?l[c++]=String.fromCharCode(e,r):l[c++]=String.fromCharCode(e,r,n);while(hr)-(e=0?i=n:a=-1,-1==a&&-1!=i)break;if((n+=a)<0)return 0;if(n>=this.changes.length)break}var o=this.changes[i];if(o.utcOffset-o.prevUtcOffset<0&&i>0){var u=e.helpers.clone(o,!0);if(e.Timezone.adjust_change(u,0,0,0,u.prevUtcOffset),0>e.Timezone._compare_change_fn(r,u)){var h=this.changes[i-1];!1!=o.is_daylight&&!1==h.is_daylight&&(o=h)}}return o.utcOffset},_findNearbyChange:function(t){var r=e.helpers.binsearchInsert(this.changes,t,e.Timezone._compare_change_fn);return r>=this.changes.length?this.changes.length-1:r},_ensureCoverage:function(t){if(-1==e.Timezone._minimumExpansionYear){var r=e.Time.now();e.Timezone._minimumExpansionYear=r.year}var n=t;if(ne.Timezone.MAX_YEAR&&(n=e.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYearr)&&d);)l.year=d.year,l.month=d.month,l.day=d.day,l.hour=d.hour,l.minute=d.minute,l.second=d.second,l.isDate=d.isDate,e.Timezone.adjust_change(l,0,0,0,-l.prevUtcOffset),n.push(l)}}else(l=s()).year=i.year,l.month=i.month,l.day=i.day,l.hour=i.hour,l.minute=i.minute,l.second=i.second,e.Timezone.adjust_change(l,0,0,0,-l.prevUtcOffset),n.push(l);return n},toString:function(){return this.tznames?this.tznames:this.tzid}},e.Timezone._compare_change_fn=function(t,e){return t.yeare.year?1:t.monthe.month?1:t.daye.day?1:t.houre.hour?1:t.minutee.minute?1:t.seconde.second?1:0},e.Timezone.convert_time=function(t,r,n){if(t.isDate||r.tzid==n.tzid||r==e.Timezone.localTimezone||n==e.Timezone.localTimezone)return t.zone=n,t;var i=r.utcOffset(t);return t.adjust(0,0,0,-i),i=n.utcOffset(t),t.adjust(0,0,0,i),null},e.Timezone.fromData=function(t){return new e.Timezone().fromData(t)},e.Timezone.utcTimezone=e.Timezone.fromData({tzid:"UTC"}),e.Timezone.localTimezone=e.Timezone.fromData({tzid:"floating"}),e.Timezone.adjust_change=function(t,r,n,i,a){return e.Time.prototype.adjust.call(t,r,n,i,a,t)},e.Timezone._minimumExpansionYear=-1,e.Timezone.MAX_YEAR=2035,e.Timezone.EXTRA_COVERAGE=5,e.TimezoneService=((a={get count(){return Object.keys(i).length},reset:function(){i=Object.create(null);var t=e.Timezone.utcTimezone;i.Z=t,i.UTC=t,i.GMT=t},has:function(t){return!!i[t]},get:function(t){return i[t]},register:function(t,r){if(t instanceof e.Component&&"vtimezone"===t.name&&(t=(r=new e.Timezone(t)).tzid),r instanceof e.Timezone)i[t]=r;else throw TypeError("timezone must be ICAL.Timezone or ICAL.Component")},remove:function(t){return delete i[t]}}).reset(),a),e.Time=function(t,e){this.wrappedJSObject=this;var r=this._time=Object.create(null);r.year=0,r.month=1,r.day=1,r.hour=0,r.minute=0,r.second=0,r.isDate=!1,this.fromData(t,e)},e.Time._dowCache={},e.Time._wnCache={},e.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new e.Time(this._time,this.zone)},reset:function(){this.fromData(e.Time.epochTime),this.zone=e.Timezone.utcTimezone},resetTo:function(t,e,r,n,i,a,s){this.fromData({year:t,month:e,day:r,hour:n,minute:i,second:a,zone:s})},fromJSDate:function(t,r){return t?r?(this.zone=e.Timezone.utcTimezone,this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()):(this.zone=e.Timezone.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(t,r){if(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if("icaltype"===n)continue;this[n]=t[n]}}if(r&&(this.zone=r),!t||"isDate"in t?t&&"isDate"in t&&(this.isDate=t.isDate):this.isDate=!("hour"in t),t&&"timezone"in t){var i=e.TimezoneService.get(t.timezone);this.zone=i||e.Timezone.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=e.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var r=t||e.Time.SUNDAY,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+r;if(n in e.Time._dowCache)return e.Time._dowCache[n];var i=this.day,a=this.month+(this.month<3?12:0),s=this.year-(this.month<3?1:0),o=i+s+e.helpers.trunc((a+1)*26/10)+e.helpers.trunc(s/4);return o+=6*e.helpers.trunc(s/100)+e.helpers.trunc(s/400),o=(o+7-r)%7+1,e.Time._dowCache[n]=o,o},dayOfYear:function(){var t=e.Time.isLeapYear(this.year)?1:0;return e.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var r=t||e.Time.SUNDAY,n=this.clone();return n.day-=(this.dayOfWeek()+7-r)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},endOfWeek:function(t){var r=t||e.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+r-e.Time.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=e.Time.daysInMonth(t.month,t.year),t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startOfYear:function(){var t=this.clone();return t.day=1,t.month=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfYear:function(){var t=this.clone();return t.day=31,t.month=12,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startDoyWeek:function(t){var r=t||e.Time.SUNDAY,n=this.dayOfWeek()-r;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return e.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,r){var n,i=e.Time.daysInMonth(this.month,this.year),a=r,s=0,o=this.clone();if(a>=0){o.day=1,0!=a&&a--,s=o.day;var u=t-o.dayOfWeek();u<0&&(u+=7),s+=u,s-=t,n=t}else{o.day=i;var h=o.dayOfWeek();a++,(n=h-t)<0&&(n+=7),n=i-n}return s+(n+=7*a)},isNthWeekDay:function(t,e){var r=this.dayOfWeek();return 0===e&&r===t||this.nthWeekDay(t,e)===this.day},weekNumber:function(t){var r,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(n in e.Time._wnCache)return e.Time._wnCache[n];var i=this.clone();i.isDate=!0;var a=this.year;12==i.month&&i.day>25?(r=e.Time.weekOneStarts(a+1,t),0>i.compare(r)?r=e.Time.weekOneStarts(a,t):a++):(r=e.Time.weekOneStarts(a,t),0>i.compare(r)&&(r=e.Time.weekOneStarts(--a,t)));var s=i.subtractDate(r).toSeconds()/86400,o=e.helpers.trunc(s/7)+1;return e.Time._wnCache[n]=o,o},addDuration:function(t){var e=t.isNegative?-1:1,r=this.second,n=this.minute,i=this.hour,a=this.day;r+=e*t.seconds,n+=e*t.minutes,i+=e*t.hours,a+=e*t.days+7*e*t.weeks,this.second=r,this.minute=n,this.hour=i,this.day=a,this._cachedUnixTime=null},subtractDate:function(t){var r=this.toUnixTime()+this.utcOffset(),n=t.toUnixTime()+t.utcOffset();return e.Duration.fromSeconds(r-n)},subtractDateTz:function(t){var r=this.toUnixTime(),n=t.toUnixTime();return e.Duration.fromSeconds(r-n)},compare:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return e>r?1:r>e?-1:0},compareDateOnlyTz:function(t,r){function n(t){return e.Time._cmp_attr(i,a,t)}var i=this.convertToZone(r),a=t.convertToZone(r),s=0;return 0!=(s=n("year"))||0!=(s=n("month"))?s:s=n("day")},convertToZone:function(t){var r=this.clone(),n=this.zone.tzid==t.tzid;return this.isDate||n||e.Timezone.convert_time(r,this.zone,t),r.zone=t,r},utcOffset:function(){return this.zone==e.Timezone.localTimezone||this.zone==e.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var t=this.toString();return t.length>10?e.design.icalendar.value["date-time"].toICAL(t):e.design.icalendar.value.date.toICAL(t)},toString:function(){var t=this.year+"-"+e.helpers.pad2(this.month)+"-"+e.helpers.pad2(this.day);return this.isDate||(t+="T"+e.helpers.pad2(this.hour)+":"+e.helpers.pad2(this.minute)+":"+e.helpers.pad2(this.second),this.zone!==e.Timezone.utcTimezone||(t+="Z")),t},toJSDate:function(){return this.zone!=e.Timezone.localTimezone?new Date(1e3*this.toUnixTime()):this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0)},_normalize:function(){return this._time.isDate,this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this},adjust:function(t,r,n,i,a){var s,o,u,h,c,l,d,f=0,m=0,y=a||this._time;if(!y.isDate&&(s=y.second+i,y.second=s%60,l=e.helpers.trunc(s/60),y.second<0&&(y.second+=60,l--),o=y.minute+n+l,y.minute=o%60,d=e.helpers.trunc(o/60),y.minute<0&&(y.minute+=60,d--),u=y.hour+r+d,y.hour=u%24,f=e.helpers.trunc(u/24),y.hour<0&&(y.hour+=24,f--)),y.month>12?m=e.helpers.trunc((y.month-1)/12):y.month<1&&(m=e.helpers.trunc(y.month/12)-1),y.year+=m,y.month-=12*m,(h=y.day+t+f)>0)for(;!(h<=(c=e.Time.daysInMonth(y.month,y.year)));)y.month++,y.month>12&&(y.year++,y.month=1),h-=c;else for(;h<=0;)1==y.month?(y.year--,y.month=12):y.month--,h+=e.Time.daysInMonth(y.month,y.year);return y.day=h,this._cachedUnixTime=null,this},fromUnixTime:function(t){this.zone=e.Timezone.utcTimezone;var r=e.Time.epochTime.clone();r.adjust(0,0,0,t),this.year=r.year,this.month=r.month,this.day=r.day,this.hour=r.hour,this.minute=r.minute,this.second=Math.floor(r.second),this._cachedUnixTime=null},toUnixTime:function(){if(null!==this._cachedUnixTime)return this._cachedUnixTime;var t=this.utcOffset(),e=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-t);return this._cachedUnixTime=e/1e3,this._cachedUnixTime},toJSON:function(){for(var t,e=["year","month","day","hour","minute","second","isDate"],r=Object.create(null),n=0,i=e.length;n12||(n=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(n+=e.Time.isLeapYear(r))),n},e.Time.isLeapYear=function(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0},e.Time.fromDayOfYear=function(t,r){var n=r,i=t,a=new e.Time;a.auto_normalize=!1;var s=e.Time.isLeapYear(n)?1:0;if(i<1)return n--,s=e.Time.isLeapYear(n)?1:0,i+=e.Time.daysInYearPassedMonth[s][12],e.Time.fromDayOfYear(i,n);if(i>e.Time.daysInYearPassedMonth[s][12])return s=e.Time.isLeapYear(n)?1:0,i-=e.Time.daysInYearPassedMonth[s][12],n++,e.Time.fromDayOfYear(i,n);a.year=n,a.isDate=!0;for(var o=11;o>=0;o--)if(i>e.Time.daysInYearPassedMonth[s][o]){a.month=o+1,a.day=i-e.Time.daysInYearPassedMonth[s][o];break}return a.auto_normalize=!0,a},e.Time.fromStringv2=function(t){return new e.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},e.Time.fromDateString=function(t){return new e.Time({year:e.helpers.strictParseInt(t.substr(0,4)),month:e.helpers.strictParseInt(t.substr(5,2)),day:e.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},e.Time.fromDateTimeString=function(t,r){var n;if(t.length<19)throw Error('invalid date-time value: "'+t+'"');return t[19]&&"Z"===t[19]?n="Z":r&&(n=r.getParameter("tzid")),new e.Time({year:e.helpers.strictParseInt(t.substr(0,4)),month:e.helpers.strictParseInt(t.substr(5,2)),day:e.helpers.strictParseInt(t.substr(8,2)),hour:e.helpers.strictParseInt(t.substr(11,2)),minute:e.helpers.strictParseInt(t.substr(14,2)),second:e.helpers.strictParseInt(t.substr(17,2)),timezone:n})},e.Time.fromString=function(t,r){return t.length>10?e.Time.fromDateTimeString(t,r):e.Time.fromDateString(t)},e.Time.fromJSDate=function(t,r){return new e.Time().fromJSDate(t,r)},e.Time.fromData=function(t,r){return new e.Time().fromData(t,r)},e.Time.now=function(){return e.Time.fromJSDate(new Date,!1)},e.Time.weekOneStarts=function(t,r){var n=e.Time.fromData({year:t,month:1,day:1,isDate:!0}),i=n.dayOfWeek(),a=r||e.Time.DEFAULT_WEEK_START;return i>e.Time.THURSDAY&&(n.day+=7),a>e.Time.THURSDAY&&(n.day-=7),n.day-=i-a,n},e.Time.getDominicalLetter=function(t){var r="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return e.Time.isLeapYear(t)?r[(n+6)%7]+r[n]:r[n]},e.Time.epochTime=e.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),e.Time._cmp_attr=function(t,e,r){return t[r]>e[r]?1:t[r]4?n(h,f?1:3,2):null,second:4==l?n(h,2,2):6==l?n(h,4,2):8==l?n(h,6,2):null};return u="Z"==u?e.Timezone.utcTimezone:u&&":"==u[3]?e.UtcOffset.fromString(u):null,new e.VCardTime(m,u,r)},function(){var t={SU:e.Time.SUNDAY,MO:e.Time.MONDAY,TU:e.Time.TUESDAY,WE:e.Time.WEDNESDAY,TH:e.Time.THURSDAY,FR:e.Time.FRIDAY,SA:e.Time.SATURDAY},r={};for(var n in t)t.hasOwnProperty(n)&&(r[t[n]]=n);function i(t,r,n,i){var a=i;if("+"===i[0]&&(a=i.substr(1)),a=e.helpers.strictParseInt(a),void 0!==r&&i '+r);if(void 0!==n&&i>n)throw Error(t+': invalid value "'+i+'" must be < '+r);return a}e.Recur=function(t){this.wrappedJSObject=this,this.parts={},t&&"object"==typeof t&&this.fromData(t)},e.Recur.prototype={parts:null,interval:1,wkst:e.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(t){return new e.RecurIterator({rule:this,dtstart:t})},clone:function(){return new e.Recur(this.toJSON())},isFinite:function(){return!!(this.count||this.until)},isByCount:function(){return!!(this.count&&!this.until)},addComponent:function(t,e){var r=t.toUpperCase();r in this.parts?this.parts[r].push(e):this.parts[r]=[e]},setComponent:function(t,e){this.parts[t.toUpperCase()]=e.slice()},getComponent:function(t){var e=t.toUpperCase();return e in this.parts?this.parts[e].slice():[]},getNextOccurrence:function(t,e){var r,n=this.iterator(t);do r=n.next();while(r&&0>=r.compare(e));return r&&e.zone&&(r.zone=e.zone),r},fromData:function(t){for(var r in t){var n=r.toUpperCase();n in h?Array.isArray(t[r])?this.parts[n]=t[r]:this.parts[n]=[t[r]]:this[r]=t[r]}this.interval&&"number"!=typeof this.interval&&u.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=e.Recur.icalDayToNumericDay(this.wkst)),!this.until||this.until instanceof e.Time||(this.until=e.Time.fromString(this.until))},toJSON:function(){var t=Object.create(null);for(var r in t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval),this.parts)if(this.parts.hasOwnProperty(r)){var n=this.parts[r];Array.isArray(n)&&1==n.length?t[r.toLowerCase()]=n[0]:t[r.toLowerCase()]=e.helpers.clone(this.parts[r])}return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==e.Time.DEFAULT_WEEK_START&&(t.wkst=e.Recur.numericDayToIcalDay(this.wkst)),t},toString:function(){var t="FREQ="+this.freq;for(var r in this.count&&(t+=";COUNT="+this.count),this.interval>1&&(t+=";INTERVAL="+this.interval),this.parts)this.parts.hasOwnProperty(r)&&(t+=";"+r+"="+this.parts[r]);return this.until&&(t+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==e.Time.DEFAULT_WEEK_START&&(t+=";WKST="+e.Recur.numericDayToIcalDay(this.wkst)),t}},e.Recur.icalDayToNumericDay=function(r,n){var i=n||e.Time.SUNDAY;return(t[r]-i+7)%7+1},e.Recur.numericDayToIcalDay=function(t,n){var i=t+(n||e.Time.SUNDAY)-e.Time.SUNDAY;return i>7&&(i-=7),r[i]};var a=/^(SU|MO|TU|WE|TH|FR|SA)$/,s=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,o=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],u={FREQ:function(t,e,r){if(-1!==o.indexOf(t))e.freq=t;else throw Error('invalid frequency "'+t+'" expected: "'+o.join(", ")+'"')},COUNT:function(t,r,n){r.count=e.helpers.strictParseInt(t)},INTERVAL:function(t,r,n){r.interval=e.helpers.strictParseInt(t),r.interval<1&&(r.interval=1)},UNTIL:function(t,r,n){t.length>10?r.until=e.design.icalendar.value["date-time"].fromICAL(t):r.until=e.design.icalendar.value.date.fromICAL(t),n||(r.until=e.Time.fromString(r.until))},WKST:function(t,r,n){if(a.test(t))r.wkst=e.Recur.icalDayToNumericDay(t);else throw Error('invalid WKST value "'+t+'"')}},h={BYSECOND:i.bind(this,"BYSECOND",0,60),BYMINUTE:i.bind(this,"BYMINUTE",0,59),BYHOUR:i.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(s.test(t))return t;throw Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:i.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:i.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:i.bind(this,"BYWEEKNO",-53,53),BYMONTH:i.bind(this,"BYMONTH",1,12),BYSETPOS:i.bind(this,"BYSETPOS",-366,366)};e.Recur.fromString=function(t){var r=e.Recur._stringToData(t,!1);return new e.Recur(r)},e.Recur.fromData=function(t){return new e.Recur(t)},e.Recur._stringToData=function(t,e){for(var r=Object.create(null),n=t.split(";"),i=n.length,a=0;a=0||a<0)&&(this.last.day+=a)}else{var s=e.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[s]}}if("YEARLY"==this.rule.freq){for(;this.expand_year_days(this.last.year),!(this.days.length>0);)this.increment_year(this.rule.interval);this._nextByYearDay()}if("MONTHLY"==this.rule.freq&&this.has_by_data("BYDAY")){var o=null,u=this.last.clone(),h=e.Time.daysInMonth(this.last.month,this.last.year);for(var c in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(c)){this.last=u.clone();var r=this.ruleDayOfWeek(this.by_data.BYDAY[c]),n=r[0],i=r[1],l=this.last.nthWeekDay(i,n);if(n>=6||n<=-6)throw Error("Malformed values in BYDAY part");if(l>h||l<=0){if(o&&o.month==u.month)continue;for(;l>h||l<=0;)this.increment_month(),h=e.Time.daysInMonth(this.last.month,this.last.year),l=this.last.nthWeekDay(i,n)}this.last.day=l,(!o||0>this.last.compare(o))&&(o=this.last.clone())}if(this.last=o.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>h||0==this.last.day)throw Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")&&this.last.day<0){var h=e.Time.daysInMonth(this.last.month,this.last.year);this.last.day=h+this.last.day+1}},next:function(){var t,e=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)return this.completed=!0,null;if(0==this.occurrence_number&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;do switch(t=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":t=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}while(!this.check_contracting_rules()||0>this.last.compare(this.dtstart)||!t);if(0==this.last.compare(e))throw Error("Same occurrence found twice, protecting you from death by recursion");return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)},next_second:function(){return this.next_generic("BYSECOND","SECONDLY","second","minute")},increment_second:function(t){return this.increment_generic(t,"second",60,"minute")},next_minute:function(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")},increment_minute:function(t){return this.increment_generic(t,"minute",60,"hour")},next_hour:function(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")},increment_hour:function(t){this.increment_generic(t,"hour",24,"monthday")},next_day:function(){this.by_data;var t="DAILY"==this.rule.freq;return 0==this.next_hour()||(t?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0},next_week:function(){var t=0;if(0==this.next_weekday_by_week())return t;if(this.has_by_data("BYWEEKNO")){++this.by_indices.BYWEEKNO,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,t=1),this.last.month=1,this.last.day=1;var e=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*e,t&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return t},normalizeByMonthDayRules:function(t,r,n){for(var i,a=e.Time.daysInMonth(r,t),s=[],o=0,u=n.length;oa)){if(i<0)i=a+(i+1);else if(0===i)continue;-1===s.indexOf(i)&&s.push(i)}return s.sort(function(t,e){return t-e})},_byDayAndMonthDay:function(t){var r,n,i,a,s=this.by_data.BYDAY,o=0,u=s.length,h=0,c=this,l=this.last.day;function d(){for(a=e.Time.daysInMonth(c.last.month,c.last.year),i=(r=c.normalizeByMonthDayRules(c.last.year,c.last.month,c.by_data.BYMONTHDAY)).length;r[o]<=l&&!(t&&r[o]==l)&&oa){f();continue}var y=r[o++];if(y>=n)l=y;else{f();continue}for(var T=0;Tr&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(t=1):t=0)}else if(this.has_by_data("BYMONTHDAY")){this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month());var r=e.Time.daysInMonth(this.last.month,this.last.year),s=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];s<0&&(s=r+s+1),s>r?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=s}else{this.increment_month();var r=e.Time.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>r?t=0:this.last.day=this.by_data.BYMONTHDAY[0]}return t},next_weekday_by_week:function(){var t=0;if(0==this.next_hour())return t;if(!this.has_by_data("BYDAY"))return 1;for(;;){var r=new e.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);var n=this.by_data.BYDAY[this.by_indices.BYDAY],i=this.ruleDayOfWeek(n)[1];(i-=this.rule.wkst)<0&&(i+=7),r.year=this.last.year,r.month=this.last.month,r.day=this.last.day;var a=r.startDoyWeek(this.rule.wkst);if(!(i+a<1)||t){var s=e.Time.fromDayOfYear(a+i,this.last.year);return this.last.year=s.year,this.last.month=s.month,this.last.day=s.day,t}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length){this.days_index=0;do this.increment_year(this.rule.interval),this.expand_year_days(this.last.year);while(0==this.days.length)}return this._nextByYearDay(),1},_nextByYearDay:function(){var t=this.days[this.days_index],r=this.last.year;t<1&&(t+=1,r+=1);var n=e.Time.fromDayOfYear(t,r);this.last.day=n.day,this.last.month=n.month},ruleDayOfWeek:function(t,r){var n=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return n?[parseInt(n[1]||0,10),t=e.Recur.icalDayToNumericDay(n[2],r)]:[0,0]},next_generic:function(t,e,r,n,i){var a=t in this.by_data,s=this.rule.freq==e,o=0;if(i&&0==this[i]())return o;if(a){this.by_indices[t]++,this.by_indices[t];var u=this.by_data[t];this.by_indices[t]==u.length&&(this.by_indices[t]=0,o=1),this.last[r]=u[this.by_indices[t]]}else s&&this["increment_"+r](this.rule.interval);return a&&o&&s&&this["increment_"+n](1),o},increment_monthday:function(t){for(var r=0;rn&&(this.last.day-=n,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var t=e.helpers.trunc(this.last.month/12);this.last.month%=12,this.last.month++,0!=t&&this.increment_year(t)}},increment_year:function(t){this.last.year+=t},increment_generic:function(t,r,n,i){this.last[r]+=t;var a=e.helpers.trunc(this.last[r]/n);this.last[r]%=n,0!=a&&this["increment_"+i](a)},has_by_data:function(t){return t in this.rule.parts},expand_year_days:function(t){var r=new e.Time;this.days=[];var n={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];s in this.rule.parts&&(n[s]=this.rule.parts[s])}if("BYMONTH"in n&&"BYWEEKNO"in n){var o=1,u={};r.year=t,r.isDate=!0;for(var h=0;h0?(x=L+(P-1)*7)<=b&&this.days.push(S+x):(x=k+(P+1)*7)>0&&this.days.push(S+x)}}this.days.sort(function(t,e){return t-e})}else if(2==y&&"BYDAY"in n&&"BYMONTHDAY"in n){var U=this.expand_by_day(t);for(var R in U)if(U.hasOwnProperty(R)){var N=U[R],V=e.Time.fromDayOfYear(N,t);this.by_data.BYMONTHDAY.indexOf(V.day)>=0&&this.days.push(N)}}else if(3==y&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n){var U=this.expand_by_day(t);for(var R in U)if(U.hasOwnProperty(R)){var N=U[R],V=e.Time.fromDayOfYear(N,t);this.by_data.BYMONTH.indexOf(V.month)>=0&&this.by_data.BYMONTHDAY.indexOf(V.day)>=0&&this.days.push(N)}}else if(2==y&&"BYDAY"in n&&"BYWEEKNO"in n){var U=this.expand_by_day(t);for(var R in U)if(U.hasOwnProperty(R)){var N=U[R],V=e.Time.fromDayOfYear(N,t),m=V.weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(m)&&this.days.push(N)}}else 3==y&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n||(1==y&&"BYYEARDAY"in n?this.days=this.days.concat(this.by_data.BYYEARDAY):this.days=[]);return 0},expand_by_day:function(t){var e=[],r=this.last.clone();r.year=t,r.month=1,r.day=1,r.isDate=!0;var n=r.dayOfWeek();r.month=12,r.day=31,r.isDate=!0;var i=r.dayOfWeek(),a=r.dayOfYear();for(var s in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(s)){var o,u,h=this.by_data.BYDAY[s],c=this.ruleDayOfWeek(h),l=c[0],d=c[1];if(0==l)for(var f=(d+7-n)%7+1,m=f;m<=a;m+=7)e.push(m);else l>0?(o=d>=n?d-n+1:d-n+8,e.push(o+(l-1)*7)):(l=-l,u=d<=i?a-i+d:a-i+d-7,e.push(u-(l-1)*7))}return e},is_day_in_byday:function(t){for(var e in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(e)){var r=this.by_data.BYDAY[e],n=this.ruleDayOfWeek(r),i=n[0],a=n[1],s=t.dayOfWeek();if(0==i&&a==s||t.nthWeekDay(a,i)==t.day)return 1}return 0},check_set_position:function(t){return!!this.has_by_data("BYSETPOS")&&-1!==this.by_data.BYSETPOS.indexOf(t)},sort_byday_rules:function(t){for(var e=0;ethis.ruleDayOfWeek(t[e],this.rule.wkst)[1]){var n=t[e];t[e]=t[r],t[r]=n}},check_contract_restriction:function(e,r){var n=t._indexMap[e],i=t._expandMap[this.rule.freq][n],a=!1;if(e in this.by_data&&i==t.CONTRACT){var s=this.by_data[e];for(var o in s)if(s.hasOwnProperty(o)&&s[o]==r){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),r=this.last.weekNumber(this.rule.wkst),n=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",e.Recur.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",r)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",n)},setup_defaults:function(e,r,n){var i=t._indexMap[e];return t._expandMap[this.rule.freq][i]!=t.CONTRACT&&(e in this.by_data||(this.by_data[e]=[n]),this.rule.freq!=r)?this.by_data[e][0]:n},toJSON:function(){var t=Object.create(null);return t.initialized=this.initialized,t.rule=this.rule.toJSON(),t.dtstart=this.dtstart.toJSON(),t.by_data=this.by_data,t.days=this.days,t.last=this.last.toJSON(),t.by_indices=this.by_indices,t.occurrence_number=this.occurrence_number,t}},t._indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8},t._expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]},t.UNKNOWN=0,t.CONTRACT=1,t.EXPAND=2,t.ILLEGAL=3,t}(),e.RecurExpansion=function(){function t(t){return e.helpers.formatClassType(t,e.Time)}function r(t,e){return t.compare(e)}function n(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return n.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(r){var n=e.helpers.formatClassType(r.dtstart,e.Time);if(n)this.dtstart=n;else throw Error(".dtstart (ICAL.Time) must be given");if(r.component)this._init(r.component);else{if(this.last=t(r.last)||n.clone(),!r.ruleIterators)throw Error(".ruleIterators or .component must be given");this.ruleIterators=r.ruleIterators.map(function(t){return e.helpers.formatClassType(t,e.RecurIterator)}),this.ruleDateInc=r.ruleDateInc,this.exDateInc=r.exDateInc,r.ruleDates&&(this.ruleDates=r.ruleDates.map(t),this.ruleDate=this.ruleDates[this.ruleDateInc]),r.exDates&&(this.exDates=r.exDates.map(t),this.exDate=this.exDates[this.exDateInc]),void 0!==r.complete&&(this.complete=r.complete)}},next:function(){for(var t,e,r,n=0;;){if(n++>500)throw Error("max tries have occured, rule may be impossible to forfill.");if(e=this.ruleDate,t=this._nextRecurrenceIter(this.last),!e&&!t){this.complete=!0;break}if((!e||t&&e.compare(t.last)>0)&&(e=t.last.clone(),t.next()),this.ruleDate===e&&this._nextRuleDay(),this.last=e,this.exDate&&((r=this.exDate.compare(this.last))<0&&this._nextExDay(),0===r)){this._nextExDay();continue}return this.last}},toJSON:function(){function t(t){return t.toJSON()}var e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e},_extractDates:function(t,n){function i(t){a=e.helpers.binsearchInsert(s,t,r),s.splice(a,0,t)}for(var a,s=[],o=t.getAllProperties(n),u=o.length,h=0;hthis.ruleDates[0].compare(this.dtstart)?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=e.helpers.binsearchInsert(this.ruleDates,this.last,r),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule"))for(var n,i=t.getAllProperties("rrule"),a=0,s=i.length;a0)&&(r=t)}return r}},n}(),e.Event=function(){function t(t,r){t instanceof e.Component||(r=t,t=null),t?this.component=t:this.component=new e.Component("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],r&&r.strictExceptions&&(this.strictExceptions=r.strictExceptions),r&&r.exceptions?r.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach(function(t){t.hasProperty("recurrence-id")&&this.relateException(t)},this)}function r(t,e){return t[0]>e[0]?1:e[0]>t[0]?-1:0}return t.prototype={THISANDFUTURE:"THISANDFUTURE",exceptions:null,strictExceptions:!1,relateException:function(t){if(this.isRecurrenceException())throw Error("cannot relate exception to exceptions");if(t instanceof e.Component&&(t=new e.Event(t)),this.strictExceptions&&t.uid!==this.uid)throw Error("attempted to relate unrelated exception");var n=t.recurrenceId.toString();if(this.exceptions[n]=t,t.modifiesFuture()){var i=[t.recurrenceId.toUnixTime(),n],a=e.helpers.binsearchInsert(this.rangeExceptions,i,r);this.rangeExceptions.splice(a,0,i)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var n=t.toUnixTime(),i=e.helpers.binsearchInsert(this.rangeExceptions,[n],r);if((i-=1)<0)return null;var a=this.rangeExceptions[i];return np||(e.current=d[p],d[p]=null,p--)}function g(e,t){d[++p]=e.current,e.current=t}var y=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),C=Symbol.for("react.consumer"),E=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),L=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen"),F=Symbol.for("react.legacy_hidden"),M=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var O=Symbol.iterator;function R(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D=m(null),A=m(null),I=m(null),U=m(null),B={$$typeof:E,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null};function V(e,t){switch(g(I,t),g(A,e),g(D,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?s2(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=s3(e=s2(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}h(D),g(D,t)}function Q(){h(D),h(A),h(I)}function $(e){null!==e.memoizedState&&g(U,e);var t=D.current,n=s3(t,e.type);t!==n&&(g(A,e),g(D,n))}function j(e){A.current===e&&(h(D),h(A)),U.current===e&&(h(U),B._currentValue=null)}var W=a.unstable_scheduleCallback,H=a.unstable_cancelCallback,q=a.unstable_shouldYield,K=a.unstable_requestPaint,Y=a.unstable_now,X=a.unstable_getCurrentPriorityLevel,G=a.unstable_ImmediatePriority,Z=a.unstable_UserBlockingPriority,J=a.unstable_NormalPriority,ee=a.unstable_LowPriority,et=a.unstable_IdlePriority,en=a.log,er=a.unstable_setDisableYieldValue,el=null,ea=null;function eo(e){if("function"==typeof en&&er(e),ea&&"function"==typeof ea.setStrictMode)try{ea.setStrictMode(el,e)}catch(e){}}var ei=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eu(e)/es|0)|0},eu=Math.log,es=Math.LN2,ec=128,ef=4194304;function ed(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ep(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,l=e.suspendedLanes;e=e.pingedLanes;var a=134217727&n;return 0!==a?0!=(n=a&~l)?r=ed(n):0!=(e&=a)&&(r=ed(e)):0!=(n&=~l)?r=ed(n):0!==e&&(r=ed(e)),0===r?0:0!==t&&t!==r&&0==(t&l)&&((l=r&-r)>=(e=t&-t)||32===l&&0!=(4194176&e))?t:r}function em(e,t){return e.errorRecoveryDisabledLanes&t?0:0!=(e=-536870913&e.pendingLanes)?e:536870912&e?536870912:0}function eh(){var e=ec;return 0==(4194176&(ec<<=1))&&(ec=128),e}function eg(){var e=ef;return 0==(62914560&(ef<<=1))&&(ef=4194304),e}function ey(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ev(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ei(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function eb(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ei(n),l=1<l||u[r]!==s[l]){var c="\n"+u[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=r&&0<=l);break}}}finally{eG=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?eX(n):""}function eJ(e){try{var t="";do t+=function(e){switch(e.tag){case 26:case 27:case 5:return eX(e.type);case 16:return eX("Lazy");case 13:return eX("Suspense");case 19:return eX("SuspenseList");case 0:case 2:case 15:return e=eZ(e.type,!1);case 11:return e=eZ(e.type.render,!1);case 1:return e=eZ(e.type,!0);default:return""}}(e),e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var e0=Symbol.for("react.client.reference");function e1(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e2(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e3(e){e._valueTracker||(e._valueTracker=function(e){var t=e2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function e4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e2(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function e6(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var e8=/[\n"\\]/g;function e5(e){return e.replace(e8,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function e7(e,t,n,r,l,a,o,i){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e1(t)):e.value!==""+e1(t)&&(e.value=""+e1(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?te(e,o,e1(t)):null!=n?te(e,o,e1(n)):null!=r&&e.removeAttribute("value"),null==l&&null!=a&&(e.defaultChecked=!!a),null!=l&&(e.checked=l&&"function"!=typeof l&&"symbol"!=typeof l),null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.name=""+e1(i):e.removeAttribute("name")}function e9(e,t,n,r,l,a,o,i){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(!("submit"!==a&&"reset"!==a||null!=t))return;n=null!=n?""+e1(n):"",t=null!=t?""+e1(t):n,i||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:l)&&"symbol"!=typeof r&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o)}function te(e,t,n){"number"===t&&e6(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}var tt=Array.isArray;function tn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=iX.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}var to=ta;"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(to=function(e,t){return MSApp.execUnsafeLocalFunction(function(){return ta(e,t)})});var ti=to;function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var ts=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tc(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||ts.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tf(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var l in t)r=t[l],t.hasOwnProperty(l)&&n[l]!==r&&tc(e,l,r)}else for(var a in t)t.hasOwnProperty(a)&&tc(e,a,t[a])}function td(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tm=null;function th(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tg=null,ty=null;function tv(e){var t=eO(e);if(t&&(e=t.stateNode)){var n=eD(e);switch(e=t.stateNode,t.type){case"input":if(e7(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+e5(""+t)+'"][type="radio"]'),t=0;t>=o,l-=o,tj=1<<32-ei(t)+l|n<h?(g=f,f=null):g=f.sibling;var y=p(l,f,i[h],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(l,f),o=a(y,o,h),null===c?s=y:c.sibling=y,c=y,f=g}if(h===i.length)return n(l,f),tZ&&tH(l,h),s;if(null===f){for(;hg?(y=h,h=null):y=h.sibling;var b=p(l,h,v.value,s);if(null===b){null===h&&(h=y);break}e&&h&&null===b.alternate&&t(l,h),o=a(b,o,g),null===f?c=b:f.sibling=b,f=b,h=y}if(v.done)return n(l,h),tZ&&tH(l,g),c;if(null===h){for(;!v.done;g++,v=u.next())null!==(v=d(l,v.value,s))&&(o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return tZ&&tH(l,g),c}for(h=r(l,h);!v.done;g++,v=u.next())null!==(v=m(h,l,g,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return e&&h.forEach(function(e){return t(l,e)}),tZ&&tH(l,g),c}(s,c,f,h);if("function"==typeof f.then)return u(s,c,nJ(f),h);if(f.$$typeof===E)return u(s,c,ai(s,f,h),h);n1(s,f)}return"string"==typeof f&&""!==f||"number"==typeof f?(f=""+f,null!==c&&6===c.tag?(n(s,c.sibling),(c=l(c,f)).return=s):(n(s,c),(c=i_(f,s.mode,h)).return=s),o(s=c)):n(s,c)}(u,s,c,f),nG=null,u}}var n4=n3(!0),n6=n3(!1),n8=m(null),n5=m(0);function n7(e,t){g(n5,e=oz),g(n8,t),oz=e|t.baseLanes}function n9(){g(n5,oz),g(n8,n8.current)}function re(){oz=n5.current,h(n8),h(n5)}var rt=m(null),rn=null;function rr(e){var t=e.alternate;g(ri,1&ri.current),g(rt,e),null===rn&&(null===t||null!==n8.current?rn=e:null!==t.memoizedState&&(rn=e))}function rl(e){if(22===e.tag){if(g(ri,ri.current),g(rt,e),null===rn){var t=e.alternate;null!==t&&null!==t.memoizedState&&(rn=e)}}else ra(e)}function ra(){g(ri,ri.current),g(rt,rt.current)}function ro(e){h(rt),rn===e&&(rn=null),h(ri)}var ri=m(0);function ru(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rs=s.ReactCurrentDispatcher,rc=s.ReactCurrentBatchConfig,rf=0,rd=null,rp=null,rm=null,rh=!1,rg=!1,ry=!1,rv=0,rb=0,rk=null,rw=0;function rS(){throw Error(i(321))}function rC(e,t){if(null===t)return!1;for(var n=0;na?a:8;var o=rc.transition,i={_callbacks:new Set};rc.transition=i,lf(e,!1,t,n);try{var u=l();if(null!==u&&"object"==typeof u&&"function"==typeof u.then){av(i,u);var s,c,f=(s=[],c={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},u.then(function(){c.status="fulfilled",c.value=r;for(var e=0;e title"))),sG(l,n,r),l[eE]=e,eI(l),n=l;break e;case"link":var a=cE("link","href",t).get(n+(r.href||""));if(a){for(var o=0;o",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?l.createElement(n,{is:r.is}):l.createElement(n)}}e[eE]=t,e[ex]=r;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)e.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(t.stateNode=e,sG(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break;case"img":e=!0;break;default:e=!1}e&&aC(t)}}return aP(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&aC(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=I.current,t9(t)){e:{if(e=t.stateNode,n=t.memoizedProps,e[eE]=t,(r=e.nodeValue!==n)&&null!==(l=tX))switch(l.tag){case 3:if(l=0!=(1&l.mode),sq(e.nodeValue,n,l),l){e=!1;break e}break;case 27:case 5:var a=0!=(1&l.mode);if(!0!==l.memoizedProps.suppressHydrationWarning&&sq(e.nodeValue,n,a),a){e=!1;break e}}e=r}e&&aC(t)}else(e=s1(e).createTextNode(r))[eE]=t,t.stateNode=e}return aP(t),null;case 13:if(ro(t),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(tZ&&null!==tG&&0!=(1&t.mode)&&0==(128&t.flags))ne(),nt(),t.flags|=384,l=!1;else if(l=t9(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(i(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(i(317));l[eE]=t}else nt(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;aP(t),l=!1}else null!==tJ&&(o0(tJ),tJ=null),l=!0;if(!l)return 256&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,l=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(l=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==l&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ax(t,t.updateQueue),aP(t),null;case 4:return Q(),null===e&&sA(t.stateNode.containerInfo),aP(t),null;case 10:return an(t.type._context),aP(t),null;case 19:if(h(ri),null===(l=t.memoizedState))return aP(t),null;if(r=0!=(128&t.flags),null===(a=l.rendering)){if(r)az(l,!1);else{if(0!==oP||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=ru(e))){for(t.flags|=128,az(l,!1),e=a.updateQueue,t.updateQueue=e,ax(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)ix(n,e),n=n.sibling;return g(ri,1&ri.current|2),t.child}e=e.sibling}null!==l.tail&&Y()>oI&&(t.flags|=128,r=!0,az(l,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=ru(a))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,ax(t,e),az(l,!0),null===l.tail&&"hidden"===l.tailMode&&!a.alternate&&!tZ)return aP(t),null}else 2*Y()-l.renderingStartTime>oI&&536870912!==n&&(t.flags|=128,r=!0,az(l,!1),t.lanes=4194304)}l.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=l.last)?e.sibling=a:t.child=a,l.last=a)}if(null!==l.tail)return t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Y(),t.sibling=null,e=ri.current,g(ri,r?1&e|2:1&e),t;return aP(t),null;case 22:case 23:return ro(t),re(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(536870912&n)&&0==(128&t.flags)&&(aP(t),6&t.subtreeFlags&&(t.flags|=8192)):aP(t),null!==(n=t.updateQueue)&&ax(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&h(ab),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),an(ad),aP(t),null;case 25:return null}throw Error(i(156,t.tag))}(t.alternate,t,oz);if(null!==n){ow=n;return}if(null!==(t=t.sibling)){ow=t;return}ow=t=e}while(null!==t);0===oP&&(oP=5)}function is(e,t,n,r,l){var a=ek,o=ov.transition;try{ov.transition=null,ek=2,function(e,t,n,r,l,a){do id();while(null!==oj);if(0!=(6&ob))throw Error(i(327));var o,u=e.finishedWork,s=e.finishedLanes;if(null!==u){if(e.finishedWork=null,e.finishedLanes=0,u===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var c=u.lanes|u.childLanes;if(function(e,t,n){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0,t=e.entanglements;for(var l=e.expirationTimes,a=e.hiddenUpdates;0r&&(l=r,r=a,a=l),l=si(n,a);var o=si(n,r);l&&o&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;nn?32:n;n=ov.transition;var l=ek;try{if(ov.transition=null,ek=r,null===oj)var a=!1;else{r=oq,oq=null;var o=oj,u=oW;if(oj=null,oW=0,0!=(6&ob))throw Error(i(331));var s=ob;if(ob|=4,of(o.current),ol(o,o.current,u,r),ob=s,nb(!1),ea&&"function"==typeof ea.onPostCommitFiberRoot)try{ea.onPostCommitFiberRoot(el,o)}catch(e){}a=!0}return a}finally{ek=l,ov.transition=n,ic(e,t)}}return!1}function ip(e,t,n){t=lL(e,t=lP(n,t),2),null!==(e=nO(e,t,2))&&(o2(e,2),nv(e))}function im(e,t,n){if(3===e.tag)ip(e,e,n);else for(;null!==t;){if(3===t.tag){ip(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===oQ||!oQ.has(r))){e=lT(t,e=lP(n,e),2),null!==(t=nO(t,e,2))&&(o2(t,2),nv(t));break}}t=t.return}}function ih(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new om;var l=new Set;r.set(t,l)}else void 0===(l=r.get(t))&&(l=new Set,r.set(t,l));l.has(n)||(ox=!0,l.add(n),e=ig.bind(null,e,t,n),t.then(e,e))}function ig(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,2&ob?oR=!0:4&ob&&(oD=!0),ik(),ok===e&&(oS&n)===n&&(4===oP||3===oP&&(62914560&oS)===oS&&300>Y()-oA?0==(2&ob)&&o5(e,0):oT|=n),nv(e)}function iy(e,t){0===t&&(t=0==(1&e.mode)?2:eg()),null!==(e=ns(e,t))&&(o2(e,t),nv(e))}function iv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),iy(e,n)}function ib(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(n=l.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),iy(e,n)}function ik(){if(50=uH),uY=!1;function uX(e,t){switch(e){case"keyup":return -1!==uj.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uG(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var uZ=!1,uJ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function u0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!uJ[e.type]:"textarea"===t}function u1(e,t,n,r){tb(r),0<(t=sV(t,"onChange")).length&&(n=new i3("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var u2=null,u3=null;function u4(e){sM(e,0)}function u6(e){if(e4(eR(e)))return e}function u8(e,t){if("change"===e)return t}var u5=!1;if(e$){if(e$){var u7="oninput"in document;if(!u7){var u9=document.createElement("div");u9.setAttribute("oninput","return;"),u7="function"==typeof u9.oninput}r=u7}else r=!1;u5=r&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=so(r)}}function su(){for(var e=window,t=e6();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=e6(e.document)}return t}function ss(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var sc=e$&&"documentMode"in document&&11>=document.documentMode,sf=null,sd=null,sp=null,sm=!1;function sh(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;sm||null==sf||sf!==e6(r)||(r="selectionStart"in(r=sf)&&ss(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sp&&nQ(sp,r)||(sp=r,0<(r=sV(sd,"onSelect")).length&&(t=new i3("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=sf)))}function sg(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var sy={animationend:sg("Animation","AnimationEnd"),animationiteration:sg("Animation","AnimationIteration"),animationstart:sg("Animation","AnimationStart"),transitionend:sg("Transition","TransitionEnd")},sv={},sb={};function sk(e){if(sv[e])return sv[e];if(!sy[e])return e;var t,n=sy[e];for(t in n)if(n.hasOwnProperty(t)&&t in sb)return sv[e]=n[t];return e}e$&&(sb=document.createElement("div").style,"AnimationEvent"in window||(delete sy.animationend.animation,delete sy.animationiteration.animation,delete sy.animationstart.animation),"TransitionEvent"in window||delete sy.transitionend.transition);var sw=sk("animationend"),sS=sk("animationiteration"),sC=sk("animationstart"),sE=sk("transitionend"),sx=new Map,sz="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function sP(e,t){sx.set(e,t),eV(t,[e])}for(var sN=0;sN title"):null)}var cz=null;function cP(){}function cN(){if(this.count--,0===this.count){if(this.stylesheets)cL(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var c_=null;function cL(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,c_=new Map,t.forEach(cT,e),c_=null,cN.call(e))}function cT(e,t){if(!(4&t.state.loading)){var n=c_.get(e);if(n)var r=n.get(null);else{n=new Map,c_.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a